Summary of the invention
In view of this, it is an object of the invention to provide method, Apparatus and system that a kind of WIFI is dynamically connected certainly,In order to improve WIFI joint efficiency.
To achieve these goals, the present invention provides following technical scheme:
On the one hand, the invention provides a kind of method that WIFI is dynamically connected certainly, including:
When wireless access points AP is to support from the equipment being dynamically connected, described AP receives described wirelessThe connection request data of device broadcasts, described connection request data carry certification message, and described certification is believedBreath is the first attribute information of described wireless device;
The described certification message received is transmitted to Cloud Server, by described Cloud Server school by described APTesting described certification message the most consistent with default check information, described default check information is for being pre-set atThe second attribute information in described wireless device, described second attribute information carries described wireless deviceUnique organization identification symbol;
When described first attribute information is consistent with described second attribute information, described AP by described uniquelyOrganization identification symbol and described wireless device are from being dynamically connected;
When described first attribute information and described second attribute information are inconsistent, described AP is wireless with describedEquipment is not connected to.
Preferably, described method bag before the connection request data of the described broadcast by wireless devices of described AP receptionInclude:
Judge whether described AP is the equipment supporting autoconnect function.
Preferably, described judge that whether described AP is that the equipment supporting autoconnect function includes:
Described AP receives the request data of described broadcast by wireless devices, and described request data carries described nothingFirst attribute information of line equipment;
Described AP sends the response message carrying described attribute to described wireless device;
The described response message of described AP feedback sends to described wireless device, and described AP is confirmed asThere is the equipment supporting autoconnect function.
Preferably, described in described AP, unique organization identification symbol includes from being dynamically connected with described wireless device:
Password is sent to described wireless device by described AP by described unique organization identification symbol, it is achieved with instituteState certainly being dynamically connected of wireless device.
On the other hand, the invention provides the device that a kind of WIFI is dynamically connected certainly, including:
Receiver module, for when wireless access points AP is to support from the equipment being dynamically connected, describedAP receives the connection request data of described broadcast by wireless devices, and described connection request data carry certification and disappearBreath, described authentication information is the first attribute information of described wireless device;
Transport module, transmits the described certification message received to Cloud Server for described AP, passes throughIt is the most consistent with default check information that described Cloud Server verifies described certification message, described default verification letterBreath is the second attribute information being pre-set in described wireless device, and described second attribute information carriesUnique organization identification symbol of described wireless device;
Link block, for when described first attribute information is consistent with described second attribute information, describedAP is dynamically connected with described wireless device certainly by described unique organization identification symbol;
Disconnect module, be used for when described first attribute information and described second attribute information are inconsistent, instituteState AP to be not connected to described wireless device.
Preferably, described device also includes:
Judge module, for judging whether described AP is the equipment supporting autoconnect function.
Preferably, described transport module includes:
First receive unit, for described AP receive described broadcast by wireless devices request data, described pleaseData are asked to carry the first attribute information of described wireless device;
Transmitting element, the response carrying described attribute to the transmission of described wireless device for described AP disappearsBreath;
Determining unit, the described response message fed back for described AP sends to described wireless device, instituteState AP and be confirmed as that there is the equipment supporting autoconnect function.
Preferably, described link block includes:
First transmitting element, is sent password to described by described unique organization identification symbol for described APWireless device, it is achieved with being certainly dynamically connected of described wireless device.
Another further aspect, the invention provides the system that a kind of WIFI is dynamically connected certainly, and described system includes:
Wireless device, wireless access points AP and Cloud Server.
Preferably, the number of described wireless device is at least one.
Compared with prior art, advantages of the present invention is as follows:
A kind of WIFI that the present invention provides is from the method being dynamically connected, wide by Cloud Server verification wireless deviceThe certification message carried in the connection request packet broadcast and default check information, if both are identical, then APAccorded with by unique organization identification in default check information and being connected with wireless device foundation, and in prior artComparing by the way of input password, in the present invention, wireless device and AP are by managing the data interaction side of frameFormula, it is achieved that the automatic online of wireless device, improves the joint efficiency of wireless device and AP.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried outClearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, andIt is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doingGo out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
For the application of some wireless professional fields, user wishes that wireless device is in various wireless environmentsCan automatically surf the Net, without the artificial configuration carrying out wireless device.The embodiment of the present invention is led to exactlyCross the interaction of amendment wireless management frame, it is achieved the automatic interaction of AP password.
Refer to Fig. 1, the method that a kind of WIFI that it illustrates the embodiment of the present invention provides is dynamically connected certainlyA kind of flow chart, may comprise steps of:
Step 101: when wireless access points AP is to support from the equipment being dynamically connected, AP receives nothingThe connection request data of line device broadcasts.
Wireless device described in embodiments of the present invention can be the wireless device with WIFI equipment, alsoCan be that other have the equipment of radio function.
It should be noted that connection request data carry certification message, authentication information is wireless deviceFirst attribute information.
Certification message is that unique MAC Address based on WIFI equipment carries out HASH computations acquisitionThe encryption data of 16 byte lengths out.Wherein, HASH AES is to useMD5 (Message-Digest Algorithm 5, Message-Digest Algorithm 5) adds AES (AdvancedEncryption Standard, Advanced Encryption Standard) mode calculate the one group of data obtained out, and in nothingLine equipment has been saved in the non-one piece of data lost in memory block when producing.
The certification message received is transmitted to Cloud Server by step 102:AP, is verified by Cloud ServerCertification message is the most consistent with default check information, if it is, perform step 103;If it is not, then holdRow step 104.
It should be noted that presetting check information is the second attribute information being pre-set in wireless device.Second attribute information carries unique organization identification symbol of wireless device.
Step 103: when the first attribute information and the second attribute information are consistent, AP is by uniquely organizing markKnow symbol with wireless device from being dynamically connected.
Step 104: when the first attribute information and the second attribute information are inconsistent, AP is with wireless device notConnect.
A kind of WIFI that the present invention provides is from the method being dynamically connected, wide by Cloud Server verification wireless deviceThe certification message carried in the connection request packet broadcast and default check information, in the situation that both are identicalUnder, AP accords with setting up with wireless device by the unique organization identification in default check information and is connected, with existingComparing by the way of input password in technology, in the present invention, wireless device and AP are by managing the data of frameInteractive mode, it is achieved that the automatic online of wireless device, improves the joint efficiency of wireless device and AP.
Refer to Fig. 2, the method that a kind of WIFI that it illustrates the embodiment of the present invention provides is dynamically connected certainlyAnother kind of flow chart, may comprise steps of:
Step 201: judge whether AP is the equipment supporting autoconnect function.
Wherein, it is judged that AP is that the equipment supporting autoconnect function can be accomplished by right,Wherein, refer to Fig. 3, the method that a kind of WIFI that it illustrates the embodiment of the present invention provides is dynamically connected certainlyAnother flow chart, may comprise steps of:
Step 301:AP receives the request data of broadcast by wireless devices, and request data carries wireless deviceThe first attribute information.
Step 302:AP sends the response message carrying attribute to wireless device.
The response message of step 303:AP feedback sends to wireless device, and AP is confirmed as having supportThe equipment of autoconnect function.
In a kind of WIFI automatic connection method that the embodiment of the present invention provides, predefined a kind of specialCustom IE is used for identifying WIFI equipment and AP supports this function, the Probe Request that equipment sendsThe Probe Response (response frame) that (claim frame) and AP reply is required for this Custom IEInformation.
According to IEEE802.11 agreement, WIFI management frame comprises a lot of IE (InformationElements), general purpose I E of its Plays there is also many, such as SSID (Service Set Identifier)Element, Supported Rates element etc.;Some user-defined IE can also be comprised, asThe ID of Custom IE can be 0xDD.It should be noted that the data form of a Custom IE is such asShown in table 1:
Table 1
| 0xDD(ID) | Length | OUI | OUI Type | Data |
OUI is made up of 3 bytes, referred to as organization unique identifier (Organizationally uniqueIdentifier), it is to be issued by the unified mechanism in the whole world.Wherein, the OUI used in the embodiment of the present inventionIt is C8-93-46.For representing that this Custom IE is by user-defined.OUI Type is oneByte, it can be defined as all kinds.
The definition of OUI Type is as shown in table 2 at present.
Table 2
| OUI Type | Implication | Data |
| 1 | Automatically network scan request | Nothing |
| 2 | Automatically networking scanning is replied | Nothing |
| 3 | Automatically networking certification request | Authentication information |
| 4 | Automatically networking certification is replied | Authentication result, AP password |
Wherein, before wireless device needs networking, send broadcast scan Probe Request bag, bag carriesThere are special IE, OUI Type to be defined as 1, represent scan request.Support device A P of autoconnect functionReceive the Probe Request bag with this OUI IE, feed back Probe Response bag, and ProbeAlso carrying this OUI, OUI Type in Response bag is 2, represents that scanning is replied.
After wireless device receives scanning reply, wireless device received according to the transmission of request data packageJourney determines the AP supporting autoconnect function.
Step 202: when wireless access points AP is to support from the equipment being dynamically connected, AP receives nothingThe connection request data of line device broadcasts.
After choosing the AP supporting autoconnect function, wireless device initiates Assoc Request to AP.It should be noted that the Assoc Request information that wireless device sends needs to be present in wireless device OUIIE in, as certification message.Simultaneously for safety, it is also possible to this authentication information is needed same nothingThe MAC Address of line equipment does an encryption together, to ensure the safety of data frame transfer.
The certification message received is sent to Cloud Server by step 203:AP, is verified by Cloud ServerCertification message is the most consistent with default check information, if it is, perform step 204;If it is not, then holdRow step 205.
The certification message carried in Assoc Request bag, after receiving Assoc Request, is adjusted by APTake out, and certification message sent to Cloud Server, and by the certification message received with preset schoolThe information of testing is compared, and sends comparison result to AP.
Wherein, Cloud Server has saved default check information.Preset check information for pre-settingThe second attribute information in wireless device and unique organization identification symbol of wireless device.It should be noted thatDefault check information is WIFI equipment one section of check information of write when producing, and it can be wireless deviceMAC Address and the title etc. of wireless device.
Step 204: when the first attribute information and the second attribute information are consistent, AP is by uniquely organizing markKnow symbol to send password to wireless device, it is achieved with being certainly dynamically connected of wireless device.
The comparison result that AP feeds back according to Cloud Server, sends Assoc Response bag to wireless device,When as the certification message of the first attribute information identical with the second attribute information in default check information time,AP is accorded with by the unique organization identification in default check information and sends password to wireless device, wireless deviceAfter receiving password, just automatically it is attached with AP, it is achieved that radio communication between the two.
Step 205: when the first attribute information and the second attribute information are inconsistent, AP is with wireless device notConnect.
And when the first attribute information and the second attribute information differ, AP is then directly at AssocIn Response bag, the request of communication connection set up by refusal and wireless device.
A kind of WIFI that the embodiment of the present invention provides is from the method being dynamically connected, by wireless device and AP phaseThe AP being attached with wireless device is screened by the mode of coupling, then by contrast at Cloud ServerOn the check information of equipment in advance compare with the certification message needing the wireless device being attached with AP,And then realize the connection of wireless device and AP, effectively raise the automatic joint efficiency of wireless device.
Corresponding with the embodiment of said method, the embodiment of the present invention additionally provides a kind of WIFI from being dynamically connectedDevice, as shown in Figure 4, may include that receiver module 11, transport module 12, link block 13With disconnect module 14, wherein:
Receiver module 11, is used for when wireless access points AP is to support from the equipment being dynamically connected, APReceive the connection request data of broadcast by wireless devices.
Transport module 12, is transmitted the certification message received to Cloud Server for AP, is taken by cloudBusiness device verification certification message is the most consistent with default check information, presets check information for being pre-set at nothingThe second attribute information in line equipment, carries unique organization identification of wireless device in the second attribute informationSymbol.
Refer to Fig. 5, the device that a kind of WIFI that it illustrates the embodiment of the present invention provides is dynamically connected certainlyOne kernel texture schematic diagram, wherein, transport module 12 can also include: first receives unit 21, transmissionUnit 22 and determine unit 23, wherein:
First receives unit 21, receives the request data of broadcast by wireless devices for AP.
Transmitting element 22, carries the response message of attribute for AP to wireless device transmission.
Determining unit 23, the response message for AP feedback sends to wireless device, and AP is confirmed asThere is the equipment supporting autoconnect function.
Support the equipment of autoconnect function it is understood that only have just can to realize WIFI automaticConnect, therefore in the device that a kind of WIFI of embodiment of the present invention offer is dynamically connected certainly, need AP is doneFunctional judgement.
Link block 13, for when the first attribute information and the second attribute information are consistent, AP is by uniqueOrganization identification symbol and wireless device are from being dynamically connected.
Wherein, link block 13 can also include: the first transmitting element 31, wherein:
First transmitting element 31, is sent password to wireless device by unique organization identification symbol for AP,Realization is dynamically connected certainly with wireless device.
Disconnecting module 14, for when the first attribute information and the second attribute information are inconsistent, AP is with wirelessEquipment is not connected to.
A kind of WIFI that the present invention provides is from the method being dynamically connected, wide by Cloud Server verification wireless deviceThe certification message carried in the connection request packet broadcast and default check information, if both are identical, then APAccorded with by unique organization identification in default check information and being connected with wireless device foundation, and in prior artComparing by the way of input password, in the present invention, wireless device and AP are by managing the data interaction side of frameFormula, it is achieved that the automatic online of wireless device, improves the joint efficiency of wireless device and AP.
Refer to Fig. 6, the device that a kind of WIFI that it illustrates the embodiment of the present invention provides is dynamically connected certainlyAnother kind of structural representation, on the basis of Fig. 4, it is also possible to including: judge module 15, wherein:
Judge module 15, for judging whether AP is the equipment supporting autoconnect function.
A kind of WIFI that the embodiment of the present invention provides is from the method being dynamically connected, by wireless device and AP phaseThe AP being attached with wireless device is screened by the mode of coupling, then by contrast at Cloud ServerOn the check information of equipment in advance compare with the certification message needing the wireless device being attached with AP,And then realize the connection of wireless device and AP, effectively raise the automatic joint efficiency of wireless device.
The embodiment of the present invention additionally provides a kind of WIFI from the system that is dynamically connected, can include wireless device,Wireless access points AP and Cloud Server, wherein, Fig. 7 shows the one that the embodiment of the present invention providesWIFI is from a kind of work process schematic diagram of the system being dynamically connected.
It should be noted that in the system that a kind of WIFI of embodiment of the present invention offer is dynamically connected certainly, canTo realize certainly being dynamically connected of a wireless device, it is also possible to realize certainly being dynamically connected of multiple wireless device simultaneously,That is, the embodiment of the present invention provide system in, the number of wireless device be one or more than one.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the likeIt is used merely to separate an entity or operation with another entity or operating space, and not necessarily requiresOr imply relation or the order that there is any this reality between these entities or operation.And, artLanguage " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that bagInclude the process of a series of key element, method, article or equipment and not only include those key elements, but also includeOther key elements being not expressly set out, or also include for this process, method, article or equipmentIntrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited,It is not precluded from there is also in including the process of described key element, method, article or equipment other identicalKey element.
Described above to the disclosed embodiments, makes those skilled in the art be capable of or uses thisBright.Multiple amendment to these embodiments will be apparent from, herein for a person skilled in the artDefined in General Principle can be real at other without departing from the spirit or scope of the present inventionExecute in example and realize.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is intended toMeet the widest scope consistent with principles disclosed herein and features of novelty.