摘要 |
A method for implementing virtual network port, which is applicable for embedded device equipped without physical network port, involves: the embedded device encapsulates the IP data packet to be transmitted into the data frame, which is able to be identified by the universal interface on the device and is accompanied with 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 an IP data packet parsed from the received data frames to the application layer when determining that the received data frame is accompanied with a virtual network port identifier. An embedded device for implementing virtual network port is also provide, the device comprises a universal interface, a determination module, an encapsulation/decapsulation module, and a transmitter/receiver module. The present invention provides great optimization capability for miniaturization, low cost and low power consumption of a device, in virtue of adopting the technique of virtual network port. |