摘要 |
<p>A method for implementing a virtual network interface, which is applicable for the embedded device without a physical network interface equipped, including that: the embedded device encapsulates the to-be-transmitted IP data packet as the data frame which is able to be identified by the universal interface on the device and carries a virtual network port identifier, transmits the data frame through the universal interface; after the embedded device receives the data frame from the universal interface, the embedded device delivers the IP data packet parsed from the received data frames to the application layer when determining that the received data frame carries a virtual network port identifier. An embedded device for implementing a virtual network interface is also provided, the device includes a universal interface, a determining module, an encapsulating/decapsulating module, and a sending/receiving module. The present invention can provide great optimization capability for miniaturization, low cost and low power consumption of a device, in virtue of adopting the technique of a virtual network interface.</p> |