Patent ID: 9706571
Date: 2017-07-11
CPC Classifications: H04B,H04L,H04W

Claim:
1. A method for transmitting data via Wifi, the method comprising: receiving, by a wireless network interface card of a master device, data related to a module device, the data comprising a media access control (MAC) address of a virtual wireless network interface card; determining, by the master device, a MAC address of an Ethernet interface card corresponding to the MAC address of the virtual wireless network interface card in the data comprising the MAC address of the virtual wireless network interface card according to a mapping relationship between the MAC address of the virtual wireless network interface card and the MAC address of the Ethernet interface card, encapsulating, by the master device, the data comprising the MAC address of the virtual wireless network interface card according to the determined MAC address of the Ethernet interface card, sending the encapsulated data to an Ethernet bridge of the master device, and sending, by the Ethernet bridge, the encapsulated data to each Ethernet interface card of the module device connected with the Ethernet bridge; or encapsulating, by the master device, the data comprising the MAC address of the virtual wireless network interface card according to a corresponding MAC address of each respective Ethernet interface card connected with the Ethernet bridge, and sending each encapsulated data to the corresponding Ethernet interface card via the Ethernet bridge according to the MAC address of the corresponding Ethernet interface card in the each encapsulated data; receiving, by the Ethernet bridge of the master device, data sent from the module device; sending the data received by the Ethernet bridge to the wireless network interface card; and sending out, by the wireless network interface card, the data received by the wireless network interface card.