CN104168625B - Smart machine and its method and wireless routing device for being connected to wireless routing device - Google Patents

Smart machine and its method and wireless routing device for being connected to wireless routing device Download PDF

Info

Publication number
CN104168625B
CN104168625B CN201410415278.5A CN201410415278A CN104168625B CN 104168625 B CN104168625 B CN 104168625B CN 201410415278 A CN201410415278 A CN 201410415278A CN 104168625 B CN104168625 B CN 104168625B
Authority
CN
China
Prior art keywords
smart machine
wireless routing
wps
vendor information
time delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410415278.5A
Other languages
Chinese (zh)
Other versions
CN104168625A (en
Inventor
谭子阳
杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201410415278.5A priority Critical patent/CN104168625B/en
Publication of CN104168625A publication Critical patent/CN104168625A/en
Application granted granted Critical
Publication of CN104168625B publication Critical patent/CN104168625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is applied to the communications field, there is provided a kind of smart machine and its method and wireless routing device for being connected to wireless routing device.Methods described includes:Wireless routing device receives the configuration request message that mobile terminal is sent;Wireless routing device broadcasts the beacon frame for carrying Vendor information elements to smart machine, and the Vendor information elements encapsulate search message;The Vendor information elements that wireless routing device is carried using probe request and probing response frame consult wireless routing device and the smart machine to be added such as current and start the time delay that WPS consults;Wireless routing device is after time delay arrival, WPS is triggered to consult, complete WPS negotiations jointly with smart machine, the wireless network name of wireless routing device and password are sent to smart machine by wireless routing device, to connect wireless routing device with password using the wireless network name by smart machine.The configuration process of the present invention is simple to operate, and smart machine batch can be allowed to access wireless routing device.

Description

Smart machine and its method and wireless routing device for being connected to wireless routing device
Technical field
The invention belongs to the communications field, more particularly to a kind of smart machine and its be connected to wireless routing device method and Wireless routing device.
Background technology
With the development of mobile network and mobile terminal, in family expenses intelligent network, mobile terminal application has been gradually formed (APP) general layout for being communicated and being controlled by wireless routing device and smart machine, as shown in Figure 1.In the intelligent network In network, mobile terminal and smart machine are all necessarily connected to wireless routing device, and then mobile terminal is applied and made with smart machine Communicated and controlled with the agreement consulted.Because smart machine does not have input-output equipment, therefore intelligence how is allowed to set The standby wireless routing device that is conveniently connected to becomes the focus of current Internet of Things research.
The most frequently used prior art is that smart machine is set one by one using mobile terminal, needs to make during this The Soft-AP of smart machine oneself establishment is used, therefore is properly termed as Soft-AP patterns.Its concrete configuration step is described as follows:
1) the Reset keys of smart machine are pressed, it is returned to Default Value, now smart machine can enter Soft-AP Pattern, create a Soft-AP;
2) the Soft-AP networks of smart machine are connected to using mobile terminal, and will be mobile whole using supporting APP applications End and smart machine need the wireless routing device network name connected and password to be sent to smart machine;
3) after smart machine gets network name and the password of wireless routing device, Soft-AP is closed, exits Soft- Ap mode, wireless routing device is connected to using the network name and password that get;
4) 2) 3) step is repeated 1), all smart machines is all connected to wireless routing device.
Finally, it is also necessary to mobile terminal is connected to wireless routing device, is then turned on managing APP to smart machine progress Management and control.
Then, the problem of Soft-AP modes are present is as follows:
1) configuration process is complicated.In Soft-AP modes, user needs that mobile terminal first is connected into smart machine establishment Soft-AP, restart mobile terminal APP, input the wireless network name and password of wireless routing device, and be sent to intelligence and set It is standby.Smart machine just can connect to wireless routing device afterwards.End user, which also needs mobile terminal being connected to wireless routing, to be set It is standby, management APP could be used to be controlled smart machine.In whole process, user needs repeatedly switching wireless network, process It is more complicated.
2) can not batch configuration.Because mobile terminal can only connect a wireless network every time, therefore for multiple intelligence Equipment, it can only be attached and configure successively.
The content of the invention
It is an object of the invention to provide a kind of smart machine and its it is connected to the method for wireless routing device and without circuit By equipment, it is intended to which the smart machine for solving prior art is connected to the configuration process complexity of wireless routing device and can not matched somebody with somebody in batches The problem of putting.
In a first aspect, the invention provides a kind of method that smart machine is connected to wireless routing device, methods described bag Include:
Wireless routing device receives the configuration request message that mobile terminal is sent, and the configuration request message is used to notify nothing Line routing device starts the pattern of configuration smart machine;
Wireless routing device broadcasts the beacon frame for carrying Vendor information elements, the Vendor information words to smart machine Element encapsulates search message, and the search message is used for the smart machines to be added such as search;
The Vendor information elements that wireless routing device is carried using probe request and probing response frame are consulted without circuit The time delay that WPS consults is started by equipment and the smart machine to be added such as current;
After time delay arrival, triggering WPS consults wireless routing device, completes WPS negotiations, nothing jointly with smart machine The wireless network name of wireless routing device and password are sent to smart machine by line routing device, to utilize institute by smart machine State wireless network name and connect wireless routing device with password.
Second aspect, the invention provides a kind of method that smart machine is connected to wireless routing device, methods described bag Include:
What smart machine reception wireless routing device was broadcasted after the configuration request message of mobile terminal transmission is received takes Beacon frame with Vendor information elements, the Vendor information elements encapsulate search message, and the search message is used to search The smart machine to be added such as rope;
The Vendor information elements that smart machine is carried using probe request and probing response frame are consulted wireless routing and set The standby time delay for starting WPS negotiations with smart machine;
After time delay arrival, triggering WPS consults smart machine, completes WPS negotiations, intelligence jointly with wireless routing device Energy equipment obtains the wireless network name and password for the wireless routing device that wireless routing device is sent;
Smart machine connects wireless routing device using the wireless network name with password.
The third aspect, the invention provides a kind of wireless routing device, the wireless routing device includes:
First receiving module, for receiving the configuration request message of mobile terminal transmission, the configuration request message is used for Wireless routing device is notified to start the pattern of configuration smart machine;
Broadcast module, the beacon frame of Vendor information elements, the Vendor information are carried for being broadcasted to smart machine Element encapsulates search message, and the search message is used for the smart machines to be added such as search;
First consults time delay module, for the Vendor information elements association carried using probe request and probing response frame Business's wireless routing device and the smart machine to be added such as current start the time delay that WPS consults;
First WPS negotiation modules, for after time delay arrival, triggering WPS to consult, and is completed jointly with smart machine WPS consults, and the wireless network name of wireless routing device and password is sent into smart machine, described in being utilized as smart machine Wireless network name connects wireless routing device with password.
Fourth aspect, the invention provides a kind of smart machine, the smart machine includes:
3rd receiving module, for receiving wireless routing device after the configuration request message of mobile terminal transmission is received The beacon frame of the carrying Vendor information elements of broadcast, the Vendor information elements encapsulate search message, and the search disappears Cease for smart machines to be added such as search;
Second consults time delay module, for the Vendor information elements association carried using probe request and probing response frame Business's wireless routing device starts the time delay of WPS negotiations with smart machine;
2nd WPS negotiation modules, for after time delay arrival, triggering WPS to consult, jointly complete with wireless routing device Consult into WPS, obtain the wireless network name and password of the wireless routing device that wireless routing device is sent;
Link block, for connecting wireless routing device with password using the wireless network name.
In the present invention, because whole configuration process only needs user's control mobile terminal send configuration request message, notice Wireless routing device starts the pattern of configuration smart machine, you can when completing WPS triggerings by wireless routing device and smart machine Between consult and WPS consults, smart machine is accessed wireless network, therefore the operation of whole configuration process becomes simple.In addition, nothing Line routing device can control each smart machine to start the time that WPS consults, and so as to control smart machine sequentially to access, allow Smart machine batch accesses.
In addition, in whole configuration process, smart machine need not capture packet radio all in air, allocative efficiency It is high.As common wireless terminal, smart machine has just proceeded by all channel scanning, collects beacon frame and in beacon frame Vendor information elements are parsed.If parsing search message from the Vendor information elements of beacon frame, fix herein Channel indicated by beacon frame, by equipment of itself Information encapsulation in the Vendor information elements of probe request, and this is visited Survey claim frame is sent to the wireless routing device indicated by this beacon frame.Afterwards, wireless routing device calculates and smart machine The time delay of WPS negotiations is carried out, this time delay is encapsulated in the Vendor information elements of probing response frame, replies to intelligence Can equipment.After delaying to reach the time, wireless routing device and smart machine trigger WPS negotiations simultaneously, until smart machine connects Connect wireless routing device.It can be seen that in whole process, in addition to just starting to need smart machine progress all channel scanning, other Process is carried out in a certain channel unicast, and efficiency will height more than the configuration mode collected all packet radios of all channel and parsed.
Furthermore the wireless network name and password of the safety of WPS negotiations processes wireless routing device are not let out Dew.Because WPS is simple, the safe configuration protocol by Wi-Fi authentication, wireless routing device is transmitted using WPS negotiations Wireless network name and password possess preferable security.
Brief description of the drawings
Fig. 1 is the schematic diagram of the domestic intelligent network of prior art.
Fig. 2 is the method flow diagram that the smart machine that the embodiment of the present invention one provides is connected to wireless routing device.
Fig. 3 is the method flow diagram that the smart machine that the embodiment of the present invention two provides is connected to wireless routing device.
Fig. 4 is the communication between devices for the method that the smart machine that the embodiment of the present invention three provides is connected to wireless routing device Schematic diagram.
Fig. 5-1 and 5-2 is the method flow that the smart machine that the embodiment of the present invention three provides is connected to wireless routing device Figure.
Fig. 6 is the structural representation for the wireless routing device that the embodiment of the present invention four provides.
Fig. 7 is the structural representation for the smart machine that the embodiment of the present invention five provides.
Embodiment
In order that the purpose of the present invention, technical scheme and beneficial effect are more clearly understood, below in conjunction with accompanying drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only explaining this hair It is bright, it is not intended to limit the present invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Referring to Fig. 2, the embodiment of the present invention one provide smart machine be connected to wireless routing device method include with Lower step:
S101, wireless routing device receive the configuration request message that mobile terminal is sent, and the configuration request message is used for Wireless routing device is notified to start the pattern of configuration smart machine;
S102, wireless routing device broadcast the beacon frame for carrying Vendor information elements, the Vendor to smart machine Information element encapsulates search message, and the search message is used for the smart machines to be added such as search;
The Vendor information elements that S103, wireless routing device are carried using probe request and probing response frame consult nothing Line routing device and the smart machine to be added such as current start the time delay that WPS consults;
After time delay arrival, triggering WPS consults for S104, wireless routing device, completes WPS associations jointly with smart machine Business, the wireless network name of wireless routing device and password are sent to smart machine by wireless routing device, with by smart machine Using the wireless network name wireless routing device is connected with password.
In the embodiment of the present invention one, because whole configuration process only needs the request of user's control mobile terminal send configuration to disappear Breath, notice wireless routing device start the pattern of configuration smart machine, you can complete WPS by wireless routing device and smart machine Triggered time consults and WPS consults, and smart machine is accessed wireless network, therefore the operation of whole configuration process becomes simple. In addition, wireless routing device can control each smart machine to start the time that WPS consults, so as to control smart machine sequentially Access, smart machine batch is allowed to access.
In addition, in whole configuration process, smart machine need not capture packet radio all in air, allocative efficiency It is high.As common wireless terminal, smart machine has just proceeded by all channel scanning, collects beacon frame and in beacon frame Vendor information elements are parsed.If parsing search message from the Vendor information elements of beacon frame, fix herein Channel indicated by beacon frame, by equipment of itself Information encapsulation in the Vendor information elements of probe request, and this is visited Survey claim frame is sent to the wireless routing device indicated by this beacon frame.Afterwards, wireless routing device calculates and smart machine The time delay of WPS negotiations is carried out, this time delay is encapsulated in the Vendor information elements of probing response frame, replies to intelligence Can equipment.After delaying to reach the time, wireless routing device and smart machine trigger WPS negotiations simultaneously, until smart machine connects Connect wireless routing device.It can be seen that in whole process, in addition to just starting to need smart machine progress all channel scanning, other Process is carried out in a certain channel unicast, and efficiency will height more than the configuration mode collected all packet radios of all channel and parsed.
Furthermore the wireless network name and password of the safety of WPS negotiations processes wireless routing device are not let out Dew.Because WPS is simple, the safe configuration protocol by Wi-Fi authentication, wireless routing device is transmitted using WPS negotiations Wireless network name and password possess preferable security.
Embodiment two:
Referring to Fig. 3, the embodiment of the present invention two provide smart machine be connected to wireless routing device method include with Lower step:
S201, smart machine receive wireless routing device and broadcasted after the configuration request message of mobile terminal transmission is received Carrying Vendor information elements beacon frame, the Vendor information elements encapsulate search message, and the search message is used In smart machines to be added such as search;
The Vendor information elements that S202, smart machine are carried using probe request and probing response frame are consulted without circuit Start the time delay of WPS negotiations by equipment and smart machine;
After time delay arrival, triggering WPS consults for S203, smart machine, completes WPS associations jointly with wireless routing device Business, smart machine obtain the wireless network name and password for the wireless routing device that wireless routing device is sent;
S204, smart machine connect wireless routing device using the wireless network name with password.
In the embodiment of the present invention two, because whole configuration process only needs the request of user's control mobile terminal send configuration to disappear Breath, notice wireless routing device start the pattern of configuration smart machine, you can complete WPS by wireless routing device and smart machine Triggered time consults and WPS consults, and smart machine is accessed wireless network, therefore the operation of whole configuration process becomes simple. In addition, wireless routing device can control each smart machine to start the time that WPS consults, so as to control smart machine sequentially Access, smart machine batch is allowed to access.
In addition, in whole configuration process, smart machine need not capture packet radio all in air, allocative efficiency It is high.As common wireless terminal, smart machine has just proceeded by all channel scanning, collects beacon frame and in beacon frame Vendor information elements are parsed.If parsing search message from the Vendor information elements of beacon frame, fix herein Channel indicated by beacon frame, by equipment of itself Information encapsulation in the Vendor information elements of probe request, and this is visited Survey claim frame is sent to the wireless routing device indicated by this beacon frame.Afterwards, wireless routing device calculates and smart machine The time delay of WPS negotiations is carried out, this time delay is encapsulated in the Vendor information elements of probing response frame, replies to intelligence Can equipment.After delaying to reach the time, wireless routing device and smart machine trigger WPS negotiations simultaneously, until smart machine connects Connect wireless routing device.It can be seen that in whole process, in addition to just starting to need smart machine progress all channel scanning, other Process is carried out in a certain channel unicast, and efficiency will height more than the configuration mode collected all packet radios of all channel and parsed.
Furthermore the wireless network name and password of the safety of WPS negotiations processes wireless routing device are not let out Dew.Because WPS is simple, the safe configuration protocol by Wi-Fi authentication, wireless routing device is transmitted using WPS negotiations Wireless network name and password possess preferable security.
Embodiment three:
Fig. 4 and Fig. 5 are referred to, the smart machine that the embodiment of the present invention three provides is connected to the method bag of wireless routing device Include following steps:
To wireless routing device, the configuration request message is used to notify for S301, mobile terminal send configuration request message Wireless routing device starts the pattern of configuration smart machine.
S302, wireless routing device receive the configuration request message that mobile terminal is sent;
S303, wireless routing device reply confirmation message to mobile terminal.
S304, wireless routing device broadcast the beacon frame for carrying Vendor information elements, the Vendor to smart machine Information element encapsulates search message, and the search message is used for the smart machines to be added such as search.
S305, smart machine receive the beacon frame of the carrying Vendor information elements of wireless routing device broadcast.
S306, smart machine parse to the Vendor information elements of each beacon frame received.
If S307, parsing obtains search message from the Vendor information elements of the beacon frame received, intelligence is set It is standby that the facility information of oneself is encapsulated in the Vendor information elements of probe request, it is sent to carrying search in beacon frame and disappears The wireless routing device of breath.
S308, wireless routing device receive the probe request for the carrying Vendor information elements that smart machine is sent, institute State in Vendor information elements and encapsulate facility information.
S309, wireless routing device parse to the Vendor information elements of each probe request received.
S310, if parsing obtains facility information, nothing from the Vendor information elements of the probe request received Line routing device records the facility information of the smart machine, and the smart machine is verified.
In the embodiment of the present invention three, the mode that wireless routing device is verified to smart machine has two kinds:First, it is wireless The facility information of smart machine is sent to mobile terminal by routing device, is verified by user;2nd, wireless routing device connects Cloud Server, facility information and the checking of smart machine are inquired about on Cloud Server.
S311, after being verified, residing WPS states and set by the intelligence of checking at present according to wireless routing device Note number, wireless routing device calculate the time delay for starting and WPS negotiations being carried out with current smart machine, and by the time delay It is encapsulated in the Vendor information elements of probing response frame, is sent to smart machine, notice smart machine touches long afterwards more in delay WPS is sent out, meanwhile, wireless routing device also records the time delay.
S312, smart machine receive the probing response frame for the carrying Vendor information elements that wireless routing device is sent, institute State and the time delay that wireless routing device startup carries out WPS negotiations with current smart machine is encapsulated in Vendor information elements.
The Vendor information elements of the probing response frame of S313, smart machine to receiving parse, when obtaining described Prolong;
After time delay arrival, triggering WPS consults for S314, wireless routing device, completes WPS associations jointly with smart machine The wireless network name of wireless routing device and password are sent to smart machine by business, wireless routing device.
In the embodiment of the present invention three, because the triggering WPS time delays consulted are controlled by wireless routing device, if multiple Smart machine etc. is to be accessed, and wireless routing device will distribute different time delays to each smart machine, make smart machine one One, access wireless network sequentially are connect, reaches the purpose of a key batch configuration.
After time delay arrival, triggering WPS consults for S315, smart machine, completes WPS associations jointly with wireless routing device Business, smart machine obtain the wireless network name and password for the wireless routing device that wireless routing device is sent;
S316, smart machine connect wireless routing device using the wireless network name with password.
S317, after smart machine is connected to wireless routing device, its facility information and the message connected are sent to Mobile terminal.
S318, mobile terminal receive the facility information that smart machine is sent and the message connected;
S319, mobile terminal parsing smart machine facility information, and reply confirmation message to smart machine.
S320, after all smart machines all connect upper wireless routing device, mobile terminal send exit configuration message to Wireless routing device, notice wireless routing device exit configuration mode.
What S321, wireless routing device reception mobile terminal were sent exits configuration message.
S322, wireless routing device terminate to configure smart machine, and reply confirmation message to mobile terminal.
S323, mobile terminal directly and smart device communication, and are controlled by wireless routing device to smart machine And operation.
In the embodiment of the present invention three, because whole configuration process only needs the request of user's control mobile terminal send configuration to disappear Breath, notice wireless routing device start the pattern of configuration smart machine, you can complete WPS by wireless routing device and smart machine Triggered time consults and WPS consults, and smart machine is accessed wireless network, therefore the operation of whole configuration process becomes simple. In addition, wireless routing device can control each smart machine to start the time that WPS consults, so as to control smart machine sequentially Access, smart machine batch is allowed to access.
In addition, in whole configuration process, smart machine need not capture packet radio all in air, allocative efficiency It is high.As common wireless terminal, smart machine has just proceeded by all channel scanning, collects beacon frame and in beacon frame Vendor information elements are parsed.If parsing search message from the Vendor information elements of beacon frame, fix herein Channel indicated by beacon frame, by equipment of itself Information encapsulation in the Vendor information elements of probe request, and this is visited Survey claim frame is sent to the wireless routing device indicated by this beacon frame.Afterwards, wireless routing device calculates and smart machine The time delay of WPS negotiations is carried out, this time delay is encapsulated in the Vendor information elements of probing response frame, replies to intelligence Can equipment.After delaying to reach the time, wireless routing device and smart machine trigger WPS negotiations simultaneously, until smart machine connects Connect wireless routing device.It can be seen that in whole process, in addition to just starting to need smart machine progress all channel scanning, other Process is carried out in a certain channel unicast, and efficiency will height more than the configuration mode collected all packet radios of all channel and parsed.
Furthermore the wireless network name and password of the safety of WPS negotiations processes wireless routing device are not let out Dew.Because WPS is simple, the safe configuration protocol by Wi-Fi authentication, wireless routing device is transmitted using WPS negotiations Wireless network name and password possess preferable security.
Example IV:
Referring to Fig. 6, the wireless routing device that the embodiment of the present invention four provides includes:First receiving module 11, broadcast mould Block 12, first consults time delay module 13 and the first WPS negotiation modules 14, wherein,
First receiving module 11, for receiving the configuration request message of mobile terminal transmission, the configuration request message is used Start the pattern of configuration smart machine in notice wireless routing device;
Broadcast module 12, the beacon frame of Vendor information elements, the Vendor letters are carried for being broadcasted to smart machine Breath element encapsulates search message, and the search message is used for the smart machines to be added such as search;
First consults time delay module 13, for the Vendor information elements carried using probe request and probing response frame Consult wireless routing device and the smart machine to be added such as current and start the time delay that WPS consults;
First WPS negotiation modules 14, for after time delay arrival, triggering WPS to consult, and is completed jointly with smart machine WPS consults, and the wireless network name of wireless routing device and password is sent into smart machine, described in being utilized as smart machine Wireless network name connects wireless routing device with password.
In the embodiment of the present invention four, the first negotiation time delay module 13 can specifically include:
Second receiving module, the probe request of the carrying Vendor information elements for receiving smart machine transmission, institute State in Vendor information elements and encapsulate facility information;
First parsing module, for being parsed to the Vendor information elements of each probe request received;
Authentication module, if obtaining equipment letter for being parsed from the Vendor information elements of the probe request received Breath, then record the facility information of the smart machine, and the smart machine is verified;
First consults time delay submodule, for when be verified after, according to wireless routing device at present residing WPS states with By the smart machine record count of checking, the time delay for starting and WPS negotiations being carried out with current smart machine is calculated, and by institute State time delay to be encapsulated in the Vendor information elements of probing response frame, be sent to smart machine, notice smart machine is more in delay WPS is triggered long afterwards, meanwhile, wireless routing device also records the time delay.
In the embodiment of the present invention four, the mode that wireless routing device is verified to smart machine has two kinds:First, it is wireless The facility information of smart machine is sent to mobile terminal by routing device, is verified by user;2nd, wireless routing device connects Cloud Server, facility information and the checking of smart machine are inquired about on Cloud Server.
In the embodiment of the present invention four, the wireless routing device can also include:
5th receiving module, for receive mobile terminal transmission exit configuration message;
Terminate module, for terminating to configure smart machine.
Embodiment five:
Referring to Fig. 7, the smart machine that the embodiment of the present invention five provides includes:When 3rd receiving module 21, second is consulted Prolong module 22, the 2nd WPS negotiation modules 23 and link block 24, wherein,
3rd receiving module 21, the configuration request message of mobile terminal transmission is being received for receiving wireless routing device The beacon frame for the carrying Vendor information elements broadcasted afterwards, the Vendor information elements encapsulate search message, the search Message is used for the smart machines to be added such as search;
Second consults time delay module 22, for the Vendor information elements carried using probe request and probing response frame Consult the time delay that wireless routing device starts WPS negotiations with smart machine;
2nd WPS negotiation modules 23, for after time delay arrival, triggering WPS to consult, common with wireless routing device Complete WPS to consult, obtain the wireless network name and password for the wireless routing device that wireless routing device is sent;
Link block 24, for connecting wireless routing device with password using the wireless network name.
In the embodiment of the present invention five, the second negotiation time delay module 22 can specifically include:
Second parsing module, for being parsed to the Vendor information elements of each beacon frame received;
Encapsulation and sending module, if searched for for being parsed from the Vendor information elements of the beacon frame received Message, then the facility information of oneself is encapsulated in the Vendor information elements of probe request, is sent in beacon frame and carries The wireless routing device of search message;
4th receiving module, the probe response of the carrying Vendor information elements for receiving wireless routing device transmission Frame, wireless routing device is encapsulated in the Vendor information elements and starts the time delay that WPS negotiations are carried out with current smart machine;
3rd parsing module, the Vendor information elements for the probing response frame to receiving parse, and obtain institute State time delay.
In the embodiment of the present invention five, the smart machine can also include:
Sending module, for its facility information and the message connected to be sent into mobile terminal.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is The hardware of correlation is instructed to complete by program, described program can be stored in a computer read/write memory medium, Described storage medium, such as ROM/RAM, disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of method that smart machine is connected to wireless routing device, it is characterised in that methods described includes:
Wireless routing device receives the configuration request message that mobile terminal is sent, and the configuration request message is used to notify without circuit Start the pattern of configuration smart machine by equipment;
Wireless routing device broadcasts the beacon frame for carrying Vendor information elements to smart machine, so as to receive the beacon frame Smart machine be fixed on channel indicated by the beacon frame, the Vendor information elements encapsulate search message, described Search message is used for the smart machines to be added such as search;
The Vendor information elements that wireless routing device is carried using probe request and probing response frame are consulted wireless routing and set The standby time delay for starting WPS with the smart machine to be added such as current and consulting;
After time delay arrival, triggering WPS consults wireless routing device, completes WPS negotiations, no circuit jointly with smart machine The wireless network name of wireless routing device and password are sent to smart machine by equipment, to utilize the nothing by smart machine Line network name connects wireless routing device with password.
2. the method as described in claim 1, it is characterised in that the wireless routing device is rung using probe request and detection The Vendor information elements for answering frame to carry consult wireless routing device and start what WPS consulted with the smart machine to be added such as current Time delay specifically includes:
Wireless routing device receives the probe request for the carrying Vendor information elements that smart machine is sent, the Vendor letters Facility information is encapsulated in breath element;
Wireless routing device parses to the Vendor information elements of each probe request received;
If parsing obtains facility information, wireless routing device from the Vendor information elements of the probe request received The facility information of the smart machine is recorded, and the smart machine is verified;
After being verified, number residing WPS states and has been recorded by the smart machine of checking according to wireless routing device at present Mesh, wireless routing device calculates the time delay for starting and WPS negotiations being carried out with current smart machine, and the time delay is encapsulated in into spy Survey in the Vendor information elements of response frame, be sent to smart machine, notice smart machine triggers WPS long afterwards more in delay, together When, wireless routing device also records the time delay.
3. the method as described in claim 1, it is characterised in that the smart machine utilizes the wireless network name and password After connecting wireless routing device, methods described also includes:
What wireless routing device reception mobile terminal was sent exits configuration message;
Wireless routing device terminates to configure smart machine.
4. a kind of method that smart machine is connected to wireless routing device, it is characterised in that methods described includes:
Smart machine receives the carrying that wireless routing device is broadcasted after the configuration request message of mobile terminal transmission is received The beacon frame of Vendor information elements, the Vendor information elements encapsulate search message, and the search message is used to search for Etc. smart machine to be added;
Smart machine is fixed on the channel indicated by the beacon frame received;
The Vendor information elements that smart machine is carried using probe request and probing response frame consult wireless routing device with Smart machine starts the time delay that WPS consults;
After time delay arrival, triggering WPS consults smart machine, completes WPS negotiations jointly with wireless routing device, intelligently sets The standby wireless network name and password for obtaining the wireless routing device that wireless routing device is sent;
Smart machine connects wireless routing device using the wireless network name with password.
5. method as claimed in claim 4, it is characterised in that the smart machine utilizes probe request and probing response frame The Vendor information elements of carrying are consulted wireless routing device and specifically included with the smart machine startup WPS time delays consulted:
Smart machine parses to the Vendor information elements of each beacon frame received;
If parsing obtains search message from the Vendor information elements of the beacon frame received, smart machine by oneself Facility information is encapsulated in the Vendor information elements of probe request, be sent in beacon frame carry search message without circuit By equipment;
Smart machine receives the probing response frame for the carrying Vendor information elements that wireless routing device is sent, the Vendor letters Wireless routing device, which is encapsulated, in breath element starts the time delay that WPS negotiations are carried out with current smart machine;
The Vendor information elements of probing response frame of the smart machine to receiving parse, and obtain the time delay.
6. method as claimed in claim 4, it is characterised in that the smart machine utilizes the wireless network name and password After connecting wireless routing device, methods described also includes:
Its facility information and the message connected are sent to mobile terminal by smart machine.
7. a kind of wireless routing device, it is characterised in that the wireless routing device includes:
First receiving module, for receiving the configuration request message of mobile terminal transmission, the configuration request message is used to notify Wireless routing device starts the pattern of configuration smart machine;
Broadcast module, the beacon frame of Vendor information elements, the Vendor information elements are carried for being broadcasted to smart machine Search message is encapsulated, the search message is used for the smart machines to be added such as search;
First consults time delay module, and the Vendor information elements for being carried using probe request and probing response frame consult nothing Line routing device and the smart machine to be added such as current start the time delay that WPS consults;
First WPS negotiation modules, for after time delay arrival, triggering WPS negotiations, completing WPS associations jointly with smart machine Business, the wireless network name of wireless routing device and password are sent to smart machine, it is described wireless to be utilized by smart machine Network name connects wireless routing device with password.
8. wireless routing device as claimed in claim 7, it is characterised in that the first negotiation time delay module specifically includes:
Second receiving module, the probe request of the carrying Vendor information elements for receiving smart machine transmission are described Facility information is encapsulated in Vendor information elements;
First parsing module, for being parsed to the Vendor information elements of each probe request received;
Authentication module, if obtaining facility information for being parsed from the Vendor information elements of the probe request received, The facility information of the smart machine is then recorded, and the smart machine is verified;
First consults time delay submodule, for after being verified, residing WPS states and has been led at present according to wireless routing device Cross checking smart machine record count, calculate start with current smart machine carry out WPS negotiations time delay, and will be described when Prolong and be encapsulated in the Vendor information elements of probing response frame, be sent to smart machine, notice smart machine is more long afterwards in delay WPS is triggered, meanwhile, wireless routing device also records the time delay.
9. a kind of smart machine, it is characterised in that the smart machine includes:
3rd receiving module, broadcasted for receiving wireless routing device after the configuration request message of mobile terminal transmission is received Carrying Vendor information elements beacon frame, the Vendor information elements encapsulate search message, and the search message is used In smart machines to be added such as search;
Second consults time delay module, and the Vendor information elements for being carried using probe request and probing response frame consult nothing Line routing device starts the time delay of WPS negotiations with smart machine;
2nd WPS negotiation modules, for after time delay arrival, triggering WPS to consult, and is completed jointly with wireless routing device WPS consults, and obtains the wireless network name and password of the wireless routing device that wireless routing device is sent;
Link block, for connecting wireless routing device with password using the wireless network name.
10. smart machine as claimed in claim 9, it is characterised in that the second negotiation time delay module specifically includes:
Second parsing module, for being parsed to the Vendor information elements of each beacon frame received;
Encapsulation and sending module, if for from the Vendor information elements of the beacon frame received parsing obtain search and disappear The facility information of oneself, then be encapsulated in the Vendor information elements of probe request by breath, is sent to carry in beacon frame and searches The wireless routing device of rope message;
4th receiving module, the probing response frame of the carrying Vendor information elements for receiving wireless routing device transmission, institute State and the time delay that wireless routing device startup carries out WPS negotiations with current smart machine is encapsulated in Vendor information elements;
3rd parsing module, the Vendor information elements for the probing response frame to receiving parse, when obtaining described Prolong.
CN201410415278.5A 2014-08-20 2014-08-20 Smart machine and its method and wireless routing device for being connected to wireless routing device Active CN104168625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410415278.5A CN104168625B (en) 2014-08-20 2014-08-20 Smart machine and its method and wireless routing device for being connected to wireless routing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410415278.5A CN104168625B (en) 2014-08-20 2014-08-20 Smart machine and its method and wireless routing device for being connected to wireless routing device

Publications (2)

Publication Number Publication Date
CN104168625A CN104168625A (en) 2014-11-26
CN104168625B true CN104168625B (en) 2018-01-16

Family

ID=51912211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410415278.5A Active CN104168625B (en) 2014-08-20 2014-08-20 Smart machine and its method and wireless routing device for being connected to wireless routing device

Country Status (1)

Country Link
CN (1) CN104168625B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540237B (en) * 2014-11-28 2018-09-25 普联技术有限公司 Smart machine accesses the method and system of network
CN105848301A (en) * 2015-01-13 2016-08-10 上海庆科信息技术有限公司 Method and device for entering WPS (Wi-Fi Protected Setup)
CN104618900B (en) * 2015-02-02 2019-01-11 青岛海尔智能家电科技有限公司 A kind of method for network access of smart machine, smart machine and mobile terminal
CN104597890B (en) * 2015-02-13 2017-11-28 联想(北京)有限公司 Information processing method and electronic equipment
CN104837132A (en) * 2015-04-17 2015-08-12 北京奇艺世纪科技有限公司 Wi-Fi (Wireless-Fidelity) network sharing method and device
CN104869612B (en) * 2015-04-30 2019-05-10 小米科技有限责任公司 Access the method and device of network
CN106550360B (en) * 2015-09-23 2020-06-23 中国电信股份有限公司 WiFi connection method and system
CN105656739A (en) * 2016-03-23 2016-06-08 浙江风向标科技有限公司 Method and device for batch configuration of Internet of things devices
CN106060809A (en) * 2016-05-30 2016-10-26 上海斐讯数据通信技术有限公司 Method for rapidly access wireless network, wireless route device and smart device
CN105898840A (en) * 2016-06-29 2016-08-24 广东美的制冷设备有限公司 Network configuration method and router
CN106358265B (en) * 2016-11-15 2020-06-09 贝斯拓欧洲控股有限公司 Method and device for accessing intelligent terminal equipment to Internet
CN106658659B (en) * 2016-11-15 2021-03-05 贝斯拓欧洲控股有限公司 Method and device for accessing intelligent terminal equipment to Internet
CN106535316A (en) * 2016-11-29 2017-03-22 海尔优家智能科技(北京)有限公司 Method for connecting internet-of-things module to network, router and internet-of-things module
CN109246690A (en) * 2017-04-27 2019-01-18 中兴通讯股份有限公司 Method for network access, device, storage medium and processor
CN109429243A (en) * 2017-08-22 2019-03-05 阿里巴巴集团控股有限公司 Monitor the methods, devices and systems of the network insertion state of distribution net equipment
CN110324213B (en) * 2018-03-31 2021-04-09 神盾网络安全信息化中心股份有限公司 Data transmission method for smart home
CN111866997A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 WPS connection-based network distribution method, network to be distributed equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379477A (en) * 2012-04-18 2013-10-30 深圳紫煌网络科技有限公司 Method for network configuration of wireless device, apparatus, wireless device and terminal
CN103430485A (en) * 2012-08-24 2013-12-04 华为终端有限公司 Configuration method of wireless local area network device, relative device and system
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN103781074A (en) * 2014-02-08 2014-05-07 北京极科极客科技有限公司 Security access method and equipment of wireless local area network
CN103856302A (en) * 2014-03-11 2014-06-11 广州天通智能技术有限公司 Intelligent-equipment control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379477A (en) * 2012-04-18 2013-10-30 深圳紫煌网络科技有限公司 Method for network configuration of wireless device, apparatus, wireless device and terminal
CN103430485A (en) * 2012-08-24 2013-12-04 华为终端有限公司 Configuration method of wireless local area network device, relative device and system
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN103781074A (en) * 2014-02-08 2014-05-07 北京极科极客科技有限公司 Security access method and equipment of wireless local area network
CN103856302A (en) * 2014-03-11 2014-06-11 广州天通智能技术有限公司 Intelligent-equipment control method

Also Published As

Publication number Publication date
CN104168625A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
US9578511B2 (en) Systems and techniques for wireless device configuration
US9678693B2 (en) Method of setting wireless connection via near field communication function and image forming apparatus for performing the method
US9985938B2 (en) User control over WIFI network access
CN106165341B (en) Household appliance, network connection system of household appliance and network connection method of household appliance
USRE45363E1 (en) Method and apparatus for network access
US10165446B2 (en) Methods and systems for enabling communication with a receiver device in a network
CN103828412B (en) Method and system for Remote configuration wireless device
CN103458399B (en) Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
JP5844004B2 (en) Use a mobile device to allow another device to connect to a wireless network
KR101697414B1 (en) Shared network access via a peer-to-peer link
CN103679448B (en) Password inputting method and password inputting system
US10430568B2 (en) Device security utilizing continually changing QR codes
CN102461288B (en) The enhanced debugging of Radio Network System
US20190029059A1 (en) System and method of connecting devices via wi-fi network
EP2070345B1 (en) Wireless device registration, such as automatic registration of a wi-fi enabled device
EP2615869B1 (en) Systems for facilitating wireless communication and related methods
CN103731810B (en) access point sharing method and device
EP2753108B1 (en) Wireless local area network authentication method and mobile terminal
CN105432103B (en) Access network assistance guidance bootstrapping
EP3016419A1 (en) Method of changing profile using identification module and electronic device implementing same
US9420461B2 (en) Access authentication method and device for wireless local area network hotspot
EP2671398B1 (en) Subscriber identity module provisioning
CN103458057B (en) Resource acquiring method, device and server
CN105072611A (en) Verification method and terminal
TWI498034B (en) Determining parameters of an access point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant