Specific implementation mode
In the following detailed description, a large amount of specific details are proposed, in order to provide a thorough understanding of the present invention.But
It will be understood by those within the art that the present invention can be implemented without these specific details.In other cases, without detailed
Well-known method, process, component and circuit are carefully described, in order to avoid influence the understanding of the present invention.
Term as used herein " AP " is wireless access points(Access Point), it is defined as that there is station(STA)
Wireless medium functional and for being associated STA(WM)To provide any entity of the access to distribution service;
Term as used herein " Soft-AP " is defined as having the wireless of the 2nd Wi-Fi terminals foundation of Wi-Fi functions
The accessing points of LAN(Soft-Access Point);
Term as used herein " Soft-AP patterns " is defined as hotspot, specially second with Wi-Fi functions
Wi-Fi terminals provide Soft-AP to allow other intelligent terminals with Wi-Fi functions to be connected thereto, and data between permission
Interactive state;
Term as used herein " STA mode " be defined as having the 2nd Wi-Fi terminals of Wi-Fi functions as STA with
Allow the 2nd Wi-Fi terminals to be connect with AP, and allow between data interaction state;
" virtual wi-fi unit " used herein is defined as virtual network interface card(VNIC), and connect with virtual network
Mouth blocks associated equipment.
" network interface card used herein(NIC), it is defined as network interface card itself and network interface card is related
The equipment of connection.
Referring now to fig. 1, Fig. 1 shows the terminal for sending Wi-Fi configuration informations according to some illustrative embodiments
100 block diagram.
As shown in Figure 1, in some illustrative embodiments, the first Wi-Fi terminals 100 are configured with multiple virtual wi-fi lists
Member, the terminal may include:Partial virtual Wi-Fi units in the multiple virtual wi-fi unit are controlled to the 2nd Wi-Fi terminals
Send the sending module of configuration information(Such as sending module 102)Above-mentioned partial virtual Wi-Fi is controlled in the sending module
During unit sends configuration information to the 2nd Wi-Fi terminals, at least one virtual wi-fi unit holding and wireless network are controlled
Between established connection in wire module,(Such as in wire module 103);Wherein, the portion in the multiple virtual wi-fi unit
Divide " part " in virtual wi-fi unit to be construed as one or more, but does not include all;Such as:First Wi-Fi
Terminal be configured with m virtual wi-fi unit, respectively first to m-th, first to n-th(1≤n < m)A virtual Wi-
Fi units send configuration information, at least one of (n+1)th to m-th virtual wi-fi unit to the 2nd Wi-Fi terminals
Virtual wi-fi unit keeps the established connection between wireless network.
In some illustrative embodiments, match to access the network of wireless network for the 2nd Wi-Fi terminals in configuration information
Confidence ceases or Wi-Fi configuration informations.
In some illustrative embodiments, terminal 100 is defined as the intelligent terminal with Wi-Fi functions, such as PC, desk-top
Computer, mobile computer, laptop computer, notebook computer, tablet computer (tablet computer), service
Device computer, handheld computer, hand-held device, PDA device(Personal digital assistant), hand-held PDA device, onboard device, outside plate
Device, mixing arrangement (such as by cellular telephone functionality and PDA device functional combination), consumption device, car-mounted device, non-vehicle
It carries and sets, moves or mancarried device, non-moving or non-portable device, cellular phone, PCS device(Person-to-person communication service fills
It sets), combining wireless communication device PDA device, movement or Portable GPS device(GPS device), DVB devices
(Digital television broadcasting device), it is smaller computing device, non-desktop computer, " smaller performance higher " (CSLL) device, super
Mobile device (UMD), super mobile PC (UMPC), mobile Internet device (MID), " Origami " device or computing device, support
The device or miscellaneous equipment of meter (Dynamically Composable Computing, DCC) can be dynamically composed.
In some illustrative embodiments, wireless network 110 can be according to the standard/or IEEE802.11b of IEEE802.11a
The standard/of the standard/or IEEE802.11n of standard/or IEEE802.11g or the standard of IEEE802.11ac are operated.
In some illustrative embodiments, the first Wi-Fi terminals may also include:Configure matching for multiple virtual wi-fi units
Set module(Such as configuration module 101).
In some illustrative embodiments, configuration module 101 includes:Network interface card NIC configurations based on terminal 100
Multiple virtual wi-fi unit VNIC configuration submodule(Such as configuration submodule 1014), create multiple and different MAC Address
The port submodule of port(Such as port submodule 1011);A MAC of each VNIC and port submodule in will be multiple
Address port is associated with submodule correspondingly(Such as association submodule 1012);And it provides Wi-Fi to association submodule and sets
The driving submodule of standby driving(Such as driving submodule 1013), the Wi-Fi equipment driving multiplexing of driving submodule offer
Connection between VNIC and NIC is to allow direct communication between VNIC and NIC.
In some illustrative embodiments, allow a network interface card with the associated MAC Address of VNIC for terminal 100
MAC Address port.
In some illustrative embodiments, the first Wi-Fi terminals 100 further include:Establish and be arranged to Soft-AP patterns
Connection between 2nd Wi-Fi terminals 200, and that triggers sending module establishes module(Such as establish module 105);
In some illustrative embodiments, sending module controls the configuration information sent to the 2nd Wi-Fi terminals and includes:
The password of wireless network;For example, for the first Wi-Fi terminal searchings to the quantity of wireless network be only one in the case of.
Wait for the 2nd Wi-Fi terminals using the title of the wireless network searched, and the password of the wireless network received connects
Enter wireless network.
In some illustrative embodiments, sending module controls the network into the configuration information that the 2nd Wi-Fi terminals are sent
Or Wi-Fi configuration informations include:The title and password of wireless network;For example, the wireless network for being arrived in the first Wi-Fi terminal searchings
Quantity be it is multiple in the case of, with ensure the 2nd Wi-Fi terminals using wireless network title and password access without protect gauze(It should
Wireless network is the wireless network for keeping connecting with the first Wi-Fi terminals).
In some illustrative embodiments, the first Wi-Fi terminals may also include:Control the partial virtual Wi-Fi units
The address sending module of the IP address of the first Wi-Fi terminals is sent to the 2nd Wi-Fi terminals(Such as address sends mould
Block 106);
In some illustrative embodiments, the first Wi-Fi terminals 100 further include:It is used in the 2nd Wi-Fi terminals and matches confidence
After breath access wireless network, the reception for the confirmation message replied according to the IP address of terminal 100 from the 2nd Wi-Fi terminals is received
Module(Such as receiving module 104);
In some illustrative embodiments, the first Wi-Fi terminals may also include:Control holding is connect with the wireless network
Virtual wi-fi unit obtains the configuration information receiving module of the configuration information by being connect with the wireless network(Such as it configures
Information receiving module 107).
Referring now to Fig. 2, Fig. 2 is schematically illustrated according to some illustrative embodiments for receiving Wi-Fi configuration informations
The block diagram of terminal 200;
As shown in Fig. 2, in some illustrative embodiments, the 2nd Wi-Fi terminals 200 may include:Sending configuration information
At least one virtual wi-fi units of the first Wi-Fi terminals keep, with the connection procedure of wireless network, receiving described first
The receiving module for the configuration information that at least one of Wi-Fi terminals virtual wi-fi unit is sent(Such as receiving module 201);
In some illustrative embodiments, the 2nd Wi-Fi terminals 200 are the intelligent electric appliance with Wi-Fi functions, such as:
Wi-Fi household electrical appliances, PC, desktop computer, mobile computer, laptop computer, notebook computer, tablet computer
(tablet computer), server computer, handheld computer, hand-held device, PDA device(Personal digital assistant), it is hand-held
The outer device of PDA device, onboard device, plate, mixing arrangement (such as by cellular telephone functionality and PDA device functional combination),
Consumption device, car-mounted device, off-board device, movement or mancarried device, non-moving or non-portable device, cellular phone,
PCS device(Person-to-person communication service unit), combining wireless communication device PDA device, movement or Portable GPS device(The whole world
Satellite positioning device), DVB devices(Digital television broadcasting device), smaller computing device, non-desktop computer, " smaller property
Can higher " (CSLL) device, super mobile device (UMD), super mobile PC (UMPC), mobile Internet device (MID),
" Origami " device or computing device, support can be dynamically composed meter (Dynamically Composable Computing,
DCC device) or miscellaneous equipment.Wherein, Wi-Fi household electrical appliances are for example:Wi-Fi air-conditionings, Wi-Fi refrigerators, Wi-Fi TVs, Wi-Fi
Washing machine, Wi-Fi video disc players, Wi-Fi lamps and lanterns or miscellaneous equipment.
Receiving module 201 includes:Under Soft-AP patterns, foundation and the Soft- being connect between the first Wi-Fi terminals
AP modules(Such as Soft-AP modules 2011);And receive the configuration for its access wireless network that the first Wi-Fi terminals are sent
The receiving submodule of information(Such as receiving submodule 2012);
2nd Wi-Fi terminals 200 automatically create WLAN and the WLAN under Soft-AP patterns
Soft-AP, to allow other terminals to establish and connect by connecting Soft-AP and the 2nd Wi-Fi terminals.
2nd Wi-Fi terminals 200 further include:After receiving submodule receives configuration information, by the 2nd Wi-Fi terminals from
Soft-AP pattern switchings access the network module of wireless network using the SSID and KEY of wireless network to STA mode(Such as network mould
Block 202).
In some illustrative embodiments, the 2nd Wi-Fi terminals obtain the title of wireless network by way of searching for automatically.
Receiving module 201 receive configuration information include:The KEY of wireless network;2nd Wi-Fi terminals pass through the wireless user name that searches
The password for the wireless network for claiming and receiving accesses wireless network.For example, near the 2nd Wi-Fi terminals(2nd Wi-Fi
In terminal searching range of signal)Wireless network quantity be only one in the case of.Or with the title of wireless network that searches with
The password of the wireless network received matches the access wireless network one by one, for example, for in the wireless of the 2nd Wi-Fi terminals
In the case that the quantity of net is multiple.
In some illustrative embodiments, the configuration information of the reception of receiving module 201 includes:The SSID of wireless network and
KEY, the 2nd Wi-Fi terminals access wireless network by the wireless network title and password received.For example, for for second
In the case that the quantity of the wireless network of Wi-Fi terminals is multiple.
In some illustrative embodiments, the receiving module of the 2nd Wi-Fi terminals also can receive the IP of the first Wi-Fi terminals
Address;
2nd Wi-Fi terminals 200 may also include:After the 2nd Wi-Fi terminals access wireless network, according to the first Wi-Fi
The IP address of terminal sends the feedback module of confirmation message to the first Wi-Fi terminals(Such as feedback module 203).Wherein, this is true
It is for having accessed wireless network to the 2nd Wi-Fi terminals of the first Wi-Fi terminal notifications to recognize message.Or in the 2nd Wi-Fi terminals
In the case of not accessing wireless network in specified time, the feedback module is according to the IP address of the first Wi-Fi terminals to the first Wi-Fi
Terminal sends failed message.Wherein, which is for not accessed to the 2nd Wi-Fi terminals of the first Wi-Fi terminal notifications
Wireless network.
It is schematically illustrated according to some illustrative embodiments referring now to Fig. 3, Fig. 3 for sending Wi-Fi configuration informations
The flow chart of method;
As shown in figure 3, in some illustrative embodiments, the method for sending Wi-Fi configuration informations is used for the first Wi-Fi
Terminal 100, wherein multiple virtual wi-fi units are configured in the first Wi-Fi terminals,
It is preserved on wherein at least one virtual wi-fi unit by connecting accessed configuration information with AP;
For example, being configured with X virtual wi-fi unit in the first Wi-Fi terminals 100;There are n in X virtual wi-fi unit
(1≤n < X)A virtual wi-fi unit with AP for connecting, at least one of n virtual wi-fi unit virtual wi-fi list
It is preserved in member by establishing the accessed configuration information of connection with AP.Configuration information is to be accessed for the 2nd Wi-Fi terminals
The network configuration information or Wi-Fi configuration informations of wireless network.
The above method includes:
S11, virtual wi-fi unit is kept(The virtual wi-fi unit currently being connect with AP)With the established connections of AP
While, at least one of other virtual wi-fi units virtual wi-fi unit and be arranged under Soft-AP patterns second
Wi-Fi terminals establish connection;
For example, other than keeping n virtual wi-fi unit of established connection with AP, remaining X subtracts n virtually
At least one of wifi units virtual wi-fi unit with the 2nd Wi-Fi terminals being arranged under Soft-AP patterns by establishing
Connection;
S12, above-mentioned at least one virtual wi-fi unit for connecting of being had been established with the 2nd Wi-Fi terminals are to the 2nd Wi-
Fi terminals send configuration information for accessing wireless network, the configuration information be from described with the 2nd Wi-Fi terminals
Establish what the virtual wi-fi unit connected was got from the virtual wi-fi unit for preserving the configuration information.
As shown in figure 4, in some illustrative embodiments, the first Wi-Fi terminals configure multiple virtual wi-fi units, tool
Body includes:
S111, the network interface card NIC based on the first Wi-Fi terminals 100 configure multiple virtual wi-fi unit VNIC;
S112, multiple and different MAC Address ports are created;
Each VNIC and MAC Address port corresponds;
S113, Wi-Fi equipment driving is provided, the connection between Wi-Fi equipment driving multiplexing VNIC and NIC is to allow
Direct communication between VNIC and NIC.
In some illustrative embodiments, configuration information includes:The password KEY of wireless network;Or the SSID of wireless network and
KEY。
In some illustrative implementations, the VNIC that is connect with the second terminal under Soft-Ap patterns is to the 2nd Wi-Fi terminals
Send the IP address of the first Wi-Fi terminals.This method further includes:
S13, the confirmation message replied according to the IP address of the first Wi-Fi terminals from the 2nd Wi-Fi terminals is received, with true
Recognize the 2nd Wi-Fi terminals and accessed the wireless network, or receives from the 2nd Wi-Fi terminals according to the first Wi-Fi terminals
The failed message that IP address is replied, to confirm that the 2nd Wi-Fi terminals do not access the wireless network.
It is schematically illustrated according to some illustrative embodiments referring now to Fig. 5, Fig. 5 for receiving Wi-Fi configuration informations
The flow chart of method;
As shown in figure 5, in some illustrative embodiments, the method for sending Wi-Fi configuration informations is used for second
Wi-Fi terminals 200, flow include:
The configuration information that S22, the partial virtual Wi-Fi units for receiving the first Wi-Fi terminals are sent.
In some illustrative embodiments, before the 2nd Wi-Fi terminals receive configuration information, further include:
S21, connection is established between Soft-AP patterns, and the partial virtual unit of the first Wi-Fi terminals.
In some illustrative embodiments, configuration information includes:The KEY of wireless network;This method further includes:
Wireless network near 2nd Wi-Fi terminal searchings obtains the title of wireless network;Alternatively, in configuration information network or
Wi-Fi configuration informations include:The SSID and KEY of wireless network;
S23, it after receiving configuration information, from Soft-AP pattern switching to STA mode, is connect using obtained SSID and KEY
Enter wireless network.
In some illustrative embodiments, the 2nd Wi-Fi terminals also can receive the IP address of the first Wi-Fi terminals;The party
Method further includes:
S24, after accessing wireless network, sent to the first Wi-Fi terminals according to the IP address of the first Wi-Fi terminals
Confirmation message has accessed wireless network to the 2nd Wi-Fi terminals of the first Wi-Fi terminal notifications, alternatively,
In the case of do not access wireless network within the 2nd Wi-Fi terminal specified times, according to the IP of the first Wi-Fi terminals
Location sends failed message to the first Wi-Fi terminals, is not accessed to the 2nd Wi-Fi terminals of the first Wi-Fi terminal notifications described
Wireless network.
The stream of the method for the configuration Wi-Fi network according to some illustrative embodiments is schematically illustrated referring now to Fig. 6, Fig. 6
Cheng Tu;
As shown in fig. 6, in some illustrative embodiments, the method for configuring Wi-Fi network, for configuring one or more
2nd Wi-Fi terminals, flow include:
Process by first the second Wi-Fi equipment of Wi-Fi equipment Remote configuration with Wi-Fi virtual units is as follows:
S31, the first Wi-Fi terminals are connect by the first virtual wi-fi unit with AP, and the configuration information of wireless network is obtained;
S32, keep the first virtual wi-fi unit connect with AP in the state of, the first Wi-Fi terminals by second virtually
Wi-Fi units are connect with the 2nd Wi-Fi terminals under Soft-AP patterns;
The configuration information for the wireless network that S33, the first Wi-Fi terminals get the first virtual wi-fi unit is by second
Virtual wi-fi terminal is sent to the 2nd Wi-Fi terminals;
After S34, the 2nd Wi-Fi terminals receive configuration information, it is switched to STA mode, is accessed according to configuration information wireless
Net;
In some illustrative embodiments, the network in configuration information or Wi-Fi configuration informations include the password of wireless network,
This method further includes:
Wireless network near 2nd Wi-Fi terminal searchings, obtains the title of wireless network;Alternatively,
Configuration information includes the title and password of wireless network.
In some illustrative embodiments, the virtual wi-fi unit being connect with the 2nd Wi-Fi terminals is whole to the 2nd Wi-Fi
End sends the IP address of the first Wi-Fi terminals;
S35, the 2nd Wi-Fi terminals are matched after accessing wireless network according to the transmission of the IP address of the first Wi-Fi terminals of acquisition
Set confirmation message;Alternatively, wireless network is not accessed in the 2nd Wi-Fi terminals at the appointed time range, according to the first Wi- of acquisition
The IP address of Fi terminals sends failed message.
In some illustrative embodiments, this method may also include:
S36, the first Wi-Fi terminals receive the confirmation message or failed message that the 2nd Wi-Fi terminals are sent.
First Wi-Fi terminals receive be confirmation message after, under the operation of user, the first Wi-Fi terminals can be with
Control the working condition of the 2nd Wi-Fi terminals in a wireless network by application program.
The explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile for this
The those skilled in the art in field, according to the thought of the present invention, there will be changes in the specific implementation manner and application range,
In conclusion the content of the present specification should not be construed as limiting the invention.