CN105099839A - Intelligent socket and networking method and system, wireless gateway and pairing method - Google Patents
Intelligent socket and networking method and system, wireless gateway and pairing method Download PDFInfo
- Publication number
- CN105099839A CN105099839A CN201510429211.1A CN201510429211A CN105099839A CN 105099839 A CN105099839 A CN 105099839A CN 201510429211 A CN201510429211 A CN 201510429211A CN 105099839 A CN105099839 A CN 105099839A
- Authority
- CN
- China
- Prior art keywords
- wireless network
- configuration information
- smart jack
- smart
- pairing
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000006855 networking Effects 0.000 title abstract description 5
- 238000001514 detection method Methods 0.000 claims description 6
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 241001654412 Corchorus hirsutus Species 0.000 description 4
- 235000007261 jackswitch Nutrition 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
An intelligent socket and a networking method and system, a wireless gateway and a pairing method are disclosed. An intelligent socket networking method includes switching to a wireless access point mode when the intelligent socket is detected to enter in a pairing mode, establishing connection with a first device when switched to the wireless access point mode, receiving configuration information of the wireless network sent by the first device when connection with the first device is successfully established, switching to a wireless network node mode when the configuration information of the wireless network sent by the first device is received, and connecting with the wireless network based on the received configuration information of the wireless network. The success rate of intelligent socket networking is increased, and user experience is improved.
Description
Technical field
The present invention relates to smart jack technical field, particularly relate to a kind of method for connecting network and device of smart jack.
Background technology
Intelligent domestic take house as platform, utilize comprehensive wiring technology, the network communications technology, Smart Home-system design scheme security precautions technology, automatic control technology, audio frequency and video technology by integrated for facility relevant for life staying idle at home, build the management system of efficient housing facilities and family's schedule affairs, promote house security, convenience, comfortableness, artistry, and realize the living environment of environmental protection and energy saving.Smart Home is that thing connectionization embodies under the impact of the Internet.Various equipment (as audio & video equipment, illuminator, curtain control, airconditioning control, safety-protection system, Digital Theater System, network home appliance and three tables are made a copy for) in family are connected together by technology of Internet of things by Smart Home, provide several functions and the means such as the control of home wiring control, Lighting control, curtain, remote control using telephone, indoor and outdoor remote control, burglar alarm, environmental monitoring, HVAC control, infrared forwarding and programmable Timer control.
Smart jack, with indoor control panel with the use of, to realize the functions such as timing switch.Existing wireless intelligent socket just can obtain the network signal needed for transfer of data after needing to set up successful connection with wireless network.But smart jack of the prior art may be subject to the impact of various factors, and successfully cannot set up wireless network connection, therefore, existing smart jack also exists wireless network and connects into the low problem of power.
Summary of the invention
What the embodiment of the present invention solved is the success rate that the wireless network how improving smart jack connects.
For solving the problem, embodiments provide a kind of method for connecting network of smart jack, described method comprises:
When detecting that smart jack enters pairing mode, switch to wireless access dot pattern;
When switching to described wireless access dot pattern, connect with the first equipment;
When connecting successful with described first equipment, receive the configuration information of the wireless network that described first equipment sends;
When receiving the configuration information of the wireless network that described first equipment sends, switch to wireless network node pattern;
The configuration information of the described wireless network received is adopted to connect described wireless network.
Alternatively, described method also comprises:
Store the configuration information of described wireless network;
When the request of configuration information of the described wireless network of acquisition that other smart jacks send being detected, switch to described wireless access dot pattern and other smart jacks described connect;
The configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
Alternatively, described first equipment is mobile terminal.
Alternatively, described detection smart jack enters pairing mode, comprises following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
The embodiment of the present invention additionally provides a kind of method for connecting network of smart jack, and described method comprises:
When detecting that smart jack enters pairing mode, the pairing designated lane switching to wireless network node pattern and radio network gateway connects;
When the pairing designated lane with described radio network gateway connects successful, the configuration information of the wireless network that the pairing designated lane receiving described radio network gateway sends;
The configuration information of the described wireless network received is adopted to connect described wireless network.
Alternatively, also comprise:
Store the configuration information of described wireless network;
When the request of configuration information of the described wireless network of acquisition that other smart jacks send being detected, switch to described wireless access dot pattern and other smart jacks described connect;
The configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
Alternatively, after the pairing designated lane with described radio network gateway connects, also comprise: identity information is sent to described radio network gateway, and receive the configuration information of the described wireless network that described radio network gateway sends when being verified described identity information.
Alternatively, described detection smart jack enters pairing mode, comprises following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
The embodiment of the present invention additionally provides a kind of matching method of radio network gateway, and described method comprises:
Connect with smart jack;
Receive the configuration information of the pairing designated lane that described smart jack sends;
The configuration information of received pairing designated lane and the configuration information of pairing designated lane that self stores are contrasted;
When determining that the configuration information of received pairing designated lane is correct, the configuration information of described Wi-Fi is sent to described smart jack, described smart jack is suitable for adopting the configuration information of the wireless network obtained to connect described wireless network.
Alternatively, after the pairing designated lane of described smart jack and described radio network gateway connects, also comprise:
Certification is carried out to the identity information that described smart jack sends;
When passing through the identity information certification of described smart jack, the configuration information of described wireless network is sent to described smart jack.
The embodiment of the present invention additionally provides a kind of smart jack, and described smart jack comprises:
First detecting unit, is suitable for detecting smart jack and whether enters pairing mode;
First linkage unit, is suitable for when detecting that smart jack enters pairing mode, switches to wireless access dot pattern;
First mode switch unit, is suitable for when switching to described wireless access dot pattern, connects with described first equipment;
First wireless transmit/receive units, is suitable for when connecting successful with described first equipment, receives the configuration information of the wireless network that described first equipment sends;
Described first mode switch unit, is also suitable for, when receiving the configuration information of the wireless network that described first equipment sends, switching to wireless network node pattern;
Second linkage unit, is suitable for when switching to described wireless network node pattern, adopts the configuration information of the described wireless network received to connect described wireless network.
Alternatively, described smart jack also comprises:
First memory cell, is suitable for the configuration information storing described wireless network;
Described first mode switch unit, when being also suitable for the request when the configuration information described wireless network of acquisition that other smart jacks send being detected, switches to described wireless access dot pattern;
3rd linkage unit, when switching to described wireless access dot pattern, connects with other smart jacks described;
Described first wireless transmit/receive units, also be suitable for when connecting with other smart jacks described, the configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
Alternatively, described first equipment is mobile terminal.
Alternatively, described first detecting unit is suitable for determining that described smart jack enters pairing mode by following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
The embodiment of the present invention additionally provides a kind of smart jack, and described smart jack comprises:
Second detecting unit, is suitable for detecting described smart jack and whether enters pairing mode;
Second mode switch element, is suitable for, when detecting that described smart jack enters pairing mode, switching to wireless network node pattern;
4th linkage unit, is suitable for when switching to described wireless network node pattern, connects with the pairing designated lane of radio network gateway;
Second wireless transmit/receive units, is suitable for when the pairing designated lane with described radio network gateway connects successful, the configuration information of the wireless network that the pairing designated lane receiving described radio network gateway sends;
5th linkage unit, is suitable for adopting the configuration information of the described wireless network received to connect described wireless network.
Alternatively, described smart jack also comprises:
Second memory cell, is suitable for the configuration information storing described wireless network;
Described second mode switch element, when being also suitable for the request when the configuration information described wireless network of acquisition that other smart jacks send being detected, switches to described wireless access dot pattern;
6th linkage unit, is suitable for when switching to described wireless access dot pattern, connects with other smart jacks described;
Described second wireless transmit/receive units, also be suitable for when connecting with other smart jacks described, the configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
Alternatively, described smart jack also comprises:
Described second wireless transmit/receive units, is also suitable for, after the pairing designated lane with described radio network gateway connects, identity information being sent to described radio network gateway; Receive the configuration information of the described wireless network that described radio network gateway sends when being verified described identity information.
Alternatively, described second detecting unit is suitable for determining that described smart jack enters pairing mode by following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
The embodiment of the present invention additionally provides a kind of radio network gateway, and described radio network gateway comprises:
7th linkage unit, is suitable for, when receiving the connection request of smart jack, connecting with smart jack;
3rd wireless transmit/receive units, is suitable for the configuration information receiving the pairing designated lane that described smart jack sends;
First memory cell, is suitable for the configuration information storing described pairing designated lane;
Comparing unit, is suitable for the configuration information of received pairing designated lane and the configuration information of pairing designated lane that self stores to contrast;
Second memory cell, is suitable for the configuration information storing described wireless network;
Described 3rd wireless transmit/receive units, also be suitable for when determining that the configuration information of received pairing designated lane is correct, the configuration information of described Wi-Fi is sent to described smart jack, and described smart jack is suitable for adopting the configuration information of the wireless network obtained to connect described wireless network.
Alternatively, described radio network gateway also comprises:
Identity authenticating unit, is suitable for carrying out certification to the identity information of described smart jack;
Described 3rd wireless transmit/receive units, is also suitable for, after the pairing designated lane of described smart jack and described radio network gateway connects, receiving the identity information that described smart jack sends; And when certification is passed through, the configuration information of described wireless network is sent to described smart jack.
The embodiment of the present invention also provides a kind of network connection system of smart jack, and described system comprises above-mentioned smart jack and the first equipment.
Alternatively, described first equipment is mobile terminal.
The embodiment of the present invention also provides a kind of network connection system of smart jack, comprises above-mentioned smart jack and above-mentioned radio network gateway.
Compared with prior art, the technical scheme of the embodiment of the present invention has following advantage:
Above-mentioned scheme, when detecting that smart jack enters pairing state, the configuration information of the wireless network be stored in described first equipment is obtained with the first equipment connection, and the configuration information passing through obtained wireless network is set up with wireless network and is connected, make smart jack reliably can obtain the configuration information of wireless network, and set up with wireless network and be connected, smart jack can be improved and set up with wireless network the success rate be connected, promote the experience of user.
Further, when smart jack and wireless network successfully connect, the configuration information of wireless network can be stored, and when the request of configuration information acquisition wireless network that other smart jacks send being detected, the configuration information of the wireless network of storage is sent to other smart jacks, can so that other smart jacks be set up with wireless network is connected.
Further, when the special pairing Path Setup successful connection of smart jack and radio network gateway, the identity information of self is sent to radio network gateway by smart jack, radio network gateway is when being proved to be successful the identity information of described smart jack, the configuration information of the wireless network of preservation is sent to smart jack, therefore, the fail safe of smart jack and radio network gateway pairing can be improved.
Accompanying drawing explanation
Fig. 1 is the structural representation of the network connection system of a kind of smart jack in the embodiment of the present invention;
Fig. 2 is the structural representation of a kind of smart jack in the embodiment of the present invention;
Fig. 3 is the flow chart of the method for connecting network of a kind of smart jack in the embodiment of the present invention;
Fig. 4 is the structural representation of the network connection system of another kind of smart jack in the embodiment of the present invention;
Fig. 5 is the structural representation of the another kind of smart jack in the embodiment of the present invention;
Fig. 6 is the structural representation of the another kind of radio network gateway in the embodiment of the present invention;
Fig. 7 is the flow chart of the method for connecting network of another kind of smart jack in the embodiment of the present invention.
Embodiment
For solving the problem, the technical scheme that the embodiment of the present invention adopts is by when detecting that smart jack enters pairing state, by the configuration information of WAP (wireless access point) pattern acquiring wireless network, and the configuration information passing through obtained wireless network is set up with wireless network and is connected, make smart jack reliably can obtain the configuration information of wireless network, set up with wireless network and be connected, smart jack can be improved and set up with wireless network the success rate be connected.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
Fig. 1 shows the structural representation of the network connection system of a kind of smart jack in the embodiment of the present invention.The network connection system of smart jack as shown in Figure 1, can comprise: smart jack 101 and mobile terminal 102, wherein, and smart jack 101 and mobile terminal 102 wireless connections.
As shown in Figure 2, described smart jack 101, can comprise the first detecting unit 1011, first linkage unit 1012, first mode switch unit 1013, first wireless transmit/receive units 1014 and the second linkage unit 1015, wherein:
First detecting unit 1011, is suitable for detecting smart jack and whether enters pairing mode.
In concrete enforcement, whether described first detecting unit 1011 is suitable for being energized by detecting smart jack, or whether the time that the pairing button stating smart jack is pressed reaches default time threshold, or whether the numerical value stored in the paring registers in described smart jack is default numerical value, judges whether smart jack enters pairing mode any one of three.
First mode switch unit 1012, is suitable for when detecting that smart jack enters pairing mode, switches to wireless access dot pattern; When receiving the configuration information of the wireless network that described first equipment sends, switch to wireless network node pattern.
First linkage unit 1013, is suitable for when switching to described wireless access dot pattern, connects with described first equipment.
First wireless transmit/receive units 1014, is suitable for when connecting successful with described first equipment, receives the configuration information of the wireless network that described first equipment sends.
Second linkage unit 1015, is suitable for when switching to described wireless network node pattern, adopts the configuration information of the described wireless network received to connect described wireless network.
In concrete enforcement, smart jack 101 can also comprise the first memory cell 1016 and the 3rd linkage unit 1017 as shown in Figure 2, wherein:
First memory cell 1016, is suitable for the configuration information storing described wireless network.
Described first mode switch unit 1013, when being also suitable for the request when the configuration information described wireless network of acquisition that other smart jacks send being detected, switches to described wireless access dot pattern.
3rd linkage unit 1017, when switching to described wireless access dot pattern, connects with other smart jacks described.
Described first wireless transmit/receive units 1014, also be suitable for when connecting with other smart jacks described, the configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
Here it is pointed out that above-mentioned mobile terminal is only a specific embodiment of the first equipment in the method for connecting network of smart jack in the embodiment of the present invention.What it will be appreciated by those skilled in the art that is, first equipment can also be that other can store the configuration information of wireless network, and when smart jack request, the configuration information of stored wireless network can be sent to the equipment of smart jack, those skilled in the art can convert according to the actual needs, does not repeat them here.
Below in conjunction with Fig. 3, introduction detailed is further done to the operation principle of the network connection system of the smart jack in the embodiment of the present invention.
Fig. 3 shows the flow chart of the method for connecting network of a kind of smart jack in the embodiment of the present invention.The method for connecting network of smart jack as shown in Figure 3, can comprise:
Step S301: detect smart jack and whether enter pairing mode, when the test results is yes, can step S302 be performed, otherwise, then do not perform any operation.
In concrete enforcement, detect smart jack 101 by the first detecting unit 1011 in smart jack 101 and whether enter pairing mode.
In an embodiment of the present invention, the first detecting unit 1011 is detecting that smart jack 101 energising determines that smart jack 101 enters pairing mode.
In an alternative embodiment of the invention, the time that the first detecting unit 1011 is pressed in the pairing button detected on detection smart jack 101 reaches default time threshold, determines that smart jack enters pairing mode.Wherein, the time threshold preset can be arranged, according to the actual needs as 5s etc.
In still another embodiment of the process, the first detecting unit 1011 detecting that the paring registers in smart jack 101 is default numerical value, to determine whether smart jack 101 enters pairing mode.
Step S302: described smart jack switches to wireless access point network pattern, and connect with described mobile terminal.
In concrete enforcement, when entering pairing mode, smart jack 101 switches to WAP (wireless access point) (AP) pattern and mobile terminal 102 connects.
Particularly, smart jack 101 is cut to described wireless access dot pattern by the first mode switch unit 1012 in smart jack 101, smart jack 101, when smart jack 101 is cut to described wireless access dot pattern, is connected with mobile terminal 102 by the first linkage unit 1013.
Step S303: when described smart jack and described mobile terminal connect successful, the configuration information of the wireless network that self stores by described mobile terminal is sent to described smart jack.
In concrete enforcement, store the configuration information of wireless network in mobile terminal 102, when smart jack 101 connects successful with mobile terminal 102, the configuration information of the wireless network that self stores is sent to smart jack 101 by mobile terminal 102.
In concrete enforcement, the configuration information of described wireless network comprises service set (ServiceSetIdentifier, SSID) and the password of wireless network.
Step S304: described smart jack receives the configuration information of wireless network that described mobile terminal sends, and switches to described wireless network node pattern, and adopt the configuration information of the described wireless network received to set up with wireless network to be connected.
In concrete enforcement, when smart jack receives the configuration information of the wireless network that mobile terminal sends, smart jack switches to wireless network node pattern from ap mode, and the configuration information passing through obtained wireless network is set up with wireless network and is connected.
Particularly, the configuration information of the wireless network that the first wireless transmit/receive units 1014 mobile terminal receive 102 in smart jack 101 sends, first mode switch unit 1012 is when the first wireless transmit/receive units 1014 receives the configuration information of the wireless network that mobile terminal 102 sends, smart jack 101 is switched to radio node pattern, second linkage unit 1015, when described smart jack 101 switches to wireless network node pattern, adopts the configuration information of the wireless network obtained to connect described wireless network.
In concrete enforcement, the method for connecting network of described smart jack, can further include:
Step S305: described smart jack stores the configuration information of described wireless network.
In concrete enforcement, when smart jack 101 and wireless network successful connection, the configuration information of wireless network can be stored.
Particularly, smart jack 101, when with wireless network successful connection, stores the configuration information of described wireless network.
Step S306: when described smart jack detects the request of the configuration information of the acquisition described wireless network that other smart jacks send, is connected by wireless network access point pattern and other smart jacks described.
In concrete enforcement, when other smart jack connecting wireless networks, the smart jack be positioned at around it can be detected, and send the request of the configuration information obtaining wireless network to the smart jack of the successful connecting wireless network detected.Smart jack is when the request of configuration information receiving the acquisition wireless network that other smart jacks send, and smart jack switches to wireless access dot pattern, connects with other smart jacks.
Particularly, the first wireless transmit/receive units 1014 in smart jack 101 receives the request of the configuration information of the acquisition wireless network that other smart jacks send.Described first mode switch unit 1013 is when the request of configuration information receiving the described wireless network of acquisition that other smart jacks send, smart jack 101 is switched to wireless access dot pattern again, and is connected with other smart jacks by wireless network node pattern.
Step S307: the configuration information of described wireless network is sent to other smart jacks described by described smart jack.
In concrete enforcement, the configuration information of the wireless network self stored, when with other smart jack successful connections, is sent to other smart jacks described by smart jack 101.
Particularly, the configuration information of the wireless network stored in the first memory cell 1016 is sent to other smart jacks by the first wireless transmit/receive units 1014 in smart jack 101.
Other smart jacks described, when receiving the configuration information of the wireless network that described smart jack sends, adopt the configuration information of the wireless network obtained to connect described wireless network.
Fig. 4 shows the structural representation of the network connection system of a kind of smart jack in the embodiment of the present invention.The network connection system of smart jack as shown in Figure 4, can comprise smart jack 401 and radio network gateway 402, wherein smart jack 401 and radio network gateway 402 wireless connections.
Refer to Fig. 5, smart jack 401 can comprise the second detecting unit 4011, second mode switch element 4012, the 4th linkage unit 4013, second wireless transmit/receive units 4014 and the 5th linkage unit 4015, wherein:
Second detecting unit 4011, is suitable for detecting described smart jack and whether enters pairing mode.
In concrete enforcement, whether described first detecting unit 1011 is suitable for being energized by detecting smart jack, or whether the time that the pairing button stating smart jack is pressed reaches default time threshold, or whether the numerical value stored in the paring registers in described smart jack is default numerical value, judges whether smart jack enters pairing mode any one of three.
Second mode switch element 4012, is suitable for, when detecting that described smart jack enters pairing mode, switching to wireless network node pattern.
4th linkage unit 4013, is suitable for when switching to described wireless network node pattern, connects with the pairing designated lane of radio network gateway.
Second wireless transmit/receive units 4014, is suitable for when the pairing designated lane with described radio network gateway connects successful, the configuration information of the wireless network that the pairing designated lane receiving described radio network gateway sends.
5th linkage unit 4015, is suitable for adopting the configuration information of the described wireless network received to connect described wireless network.
In concrete enforcement, described smart jack 401 can further include the second memory cell 4016 and the 6th linkage unit 4017, wherein:
Second memory cell 4016, is suitable for the configuration information storing described wireless network.
Described second mode switch element 4012, when being also suitable for the request when the configuration information described wireless network of acquisition that other smart jacks send being detected, switches to described wireless access dot pattern.
6th linkage unit 4017, is suitable for when switching to described wireless access dot pattern, connects with other smart jacks described.
Described second wireless transmit/receive units 4014, also be suitable for when connecting with other smart jacks described, the configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
In concrete enforcement, the second wireless transmit/receive units 4014 in described smart jack 401, is also suitable for, after the pairing designated lane with described radio network gateway connects, identity information being sent to described radio network gateway; Receive the configuration information of the described wireless network that described radio network gateway sends when being verified described identity information.
Shown in Figure 6, the radio network gateway in the embodiment of the present invention, can comprise:
7th linkage unit 4021, is suitable for, when receiving the connection request of smart jack, connecting with smart jack.
3rd wireless transmit/receive units 4022, is suitable for the configuration information receiving the pairing designated lane that described smart jack sends; When determining that the configuration information of received pairing designated lane is correct, the configuration information of described Wi-Fi is sent to described smart jack, described smart jack is suitable for adopting the configuration information of the wireless network obtained to connect described wireless network.
First memory cell 4023, is suitable for the configuration information storing described pairing designated lane.
Comparing unit 4024, is suitable for the configuration information of received pairing designated lane and the configuration information of pairing designated lane that self stores to contrast.
Second memory cell 4025, is suitable for the configuration information storing described wireless network.
In concrete enforcement, described radio network gateway 402 can further include identity authenticating unit 4026, wherein:
Identity authenticating unit 4026, is suitable for carrying out certification to the identity information of described smart jack.
Described 3rd wireless transmit/receive units 4022, is also suitable for, after the pairing designated lane of described smart jack and described radio network gateway connects, receiving the identity information that described smart jack sends; And when certification is passed through, the configuration information of described wireless network is sent to described smart jack.
Below in conjunction with Fig. 7, the operation principle of the network connection system of smart jack shown in Fig. 4 is further described in detail.
Fig. 7 shows the flow chart of the method for connecting network of a kind of smart jack in the embodiment of the present invention.The method for connecting network of smart jack as shown in Figure 7, can comprise:
Step S701: detect smart jack and whether enter pairing mode.
In concrete enforcement, detect smart jack 401 by the second detecting unit 4011 in smart jack 401 and whether enter pairing mode.
In an embodiment of the present invention, the second detecting unit 4011 is detecting that smart jack 401 energising determines that smart jack 401 enters pairing mode.
In an alternative embodiment of the invention, the time that the second detecting unit 4011 is pressed in the pairing button detected on detection smart jack 401 reaches default time threshold, determines that smart jack enters pairing mode.Wherein, the time threshold preset can be arranged, according to the actual needs as 5s etc.
In still another embodiment of the process, the second detecting unit 4011, detecting that the paring registers in smart jack 401 is default numerical value, is sentenced and is determined whether smart jack 401 enters pairing mode.
Step S702: described smart jack switches to wireless network node pattern, connects with the pairing designated lane of described radio network gateway.
In concrete enforcement, radio network gateway 402 has pairing designated lane, and radio network gateway 402 will broadcast designated lane pairing signal, when smart jack 401 enters pairing mode and the designated lane pairing signal that radio network gateway 402 broadcasts detected, smart jack 401 enters wireless network node pattern and is connected with the pairing designated lane of radio network gateway 402.Smart jack 401 is when being connected with the pairing designated lane of radio network gateway, first smart jack 401 submits SSID and the password of the pairing designated lane of radio network gateway 402 to, radio network gateway 402 is when receiving SSID and the password of the pairing designated lane that smart jack 401 is submitted to, the SSID of the pairing designated lane submitted to by smart jack 401 and password and the SSID of pairing designated lane self stored and password contrast, when comparison is passed through, radio network gateway 402 is by the configuration information of wireless network, comprise SSID and the password of wireless network, be sent to smart jack 401.
Specifically, smart jack 401, when smart jack 401 enters pairing mode, is switched to wireless network node pattern by the second mode switch element 4012 in smart jack 401.The pairing designated lane of smart jack 401 with radio network gateway 402 is connected by described wireless network node pattern by the 4th linkage unit the 4th linkage unit 4013.Wherein, smart jack 401 is when being connected with the pairing designated lane of radio network gateway 402, second wireless transmit/receive units 4014 is by the configuration information of the pairing designated lane of radio network gateway 402, and the SSID and the password that comprise described pairing designated lane are sent to radio network gateway 402.The 3rd wireless transmit/receive units 4022 in radio network gateway 402 is when receiving SSID and the password of the pairing designated lane that smart jack 401 sends, store in the SSID of the pairing designated lane that smart jack 401 sends by comparing unit 4024 and password and the first memory cell 4023 SSID of described pairing designated lane and password only property contrast, when the comparison of comparing unit 4024 is passed through, the configuration information of the wireless network stored in the second memory cell 4025 is sent to smart jack 401 by described 3rd wireless transmit/receive units 4022.The 5th linkage unit 4015 in smart jack 401 when receiving the configuration information of the wireless network that radio network gateway 402 sends, adopts the configuration information connecting wireless network receiving wireless network at the second wireless transmit/receive units 4014.
In an embodiment of the present invention, when pairing designated lane successful connection with radio network gateway 402 of smart jack 401, first the identity information of smart jack 401 is sent to radio network gateway 402 by the second wireless transmit/receive units 4014 in smart jack 401, the identity information of identity authenticating unit 4026 pairs of smart jacks 401 of radio network gateway 402 carries out certification, and when certification is passed through, the configuration information of the second memory cell 4025 wireless network is sent to smart jack 401, to improve the fail safe that networking connects.
Step S703: the configuration information of described wireless network is sent to described smart jack by described pairing designated lane by described radio network gateway.
In concrete enforcement, after the pairing designated lane successful connection of smart jack 401 and radio network gateway 402, the configuration information of the wireless network stored in the second memory cell 4025 just can be sent to smart jack 401 by the 3rd wireless transmit/receive units 4022 of radio network gateway 402.
Step S704: described smart jack adopts the configuration information of the described wireless network received to set up with wireless network to be connected.
In concrete enforcement, the second wireless transmit/receive units 4014 of smart jack 401 receives the configuration information of wireless network, and the configuration information that the 6th linkage unit 4017 adopts the second wireless transmit/receive units 4014 to receive wireless network is set up with wireless network and is connected.
In concrete enforcement, the method for connecting network of the smart jack in the embodiment of the present invention, can also comprise:
Step S705: described smart jack stores the configuration information of described wireless network.
In concrete enforcement, when smart jack 401 and wireless network successful connection, the configuration information of wireless network can be stored.
Step S706: when described smart jack detects the request of the configuration information of the acquisition described wireless network that other smart jacks send, is connected by wireless network access point pattern and other smart jacks described.
In concrete enforcement, when other smart jack connecting wireless networks, the smart jack 401 be positioned at around it can be detected, and send the request of the configuration information obtaining wireless network to the smart jack 401 of the successful connecting wireless network detected.Smart jack 401, when receiving the request of configuration information of the acquisition wireless network that other smart jacks send, switches to wireless access dot pattern and other smart jacks connect.
Particularly, the second wireless transmit/receive units 4014 in smart jack 401 is when the request of configuration information receiving the acquisition wireless network that other smart jacks send, smart jack 401 is switched to wireless access dot pattern by described second mode switch element 4012,6th linkage unit 4017, when smart jack 401 switches to wireless access dot pattern, connects with other smart jacks described.。
Step S707: the configuration information of described wireless network is sent to other smart jacks described by described smart jack.
In concrete enforcement, the configuration information of the wireless network self stored, when with other smart jack successful connections, is sent to other smart jacks described by smart jack 401.
Particularly, the configuration information of the wireless network stored in the second memory cell 4016 is sent to other smart jacks by the second wireless transmit/receive units 4014 in smart jack 401.
Other smart jacks described, when receiving the configuration information of the wireless network that described smart jack sends, adopt the configuration information of the wireless network obtained to connect described wireless network.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Done detailed introduction to the method and system of the embodiment of the present invention above, the present invention is not limited to this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.
Claims (23)
1. a method for connecting network for smart jack, is characterized in that, comprising:
When detecting that smart jack enters pairing mode, switch to wireless access dot pattern;
When switching to described wireless access dot pattern, connect with the first equipment;
When connecting successful with described first equipment, receive the configuration information of the wireless network that described first equipment sends;
When receiving the configuration information of the wireless network that described first equipment sends, switch to wireless network node pattern;
The configuration information of the described wireless network received is adopted to connect described wireless network.
2. the method for connecting network of smart jack according to claim 1, is characterized in that, also comprises:
Store the configuration information of described wireless network;
When the request of configuration information of the described wireless network of acquisition that other smart jacks send being detected, switch to described wireless access dot pattern and other smart jacks described connect;
The configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
3. the method for connecting network of smart jack according to claim 1, is characterized in that, described first equipment is mobile terminal.
4. the method for connecting network of smart jack according to claim 1, is characterized in that, described detection smart jack enters pairing mode, comprises following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
5. a method for connecting network for smart jack, is characterized in that, comprising:
When detecting that smart jack enters pairing mode, the pairing designated lane switching to wireless network node pattern and radio network gateway connects;
When the pairing designated lane with described radio network gateway connects successful, the configuration information of the wireless network that the pairing designated lane receiving described radio network gateway sends;
The configuration information of the described wireless network received is adopted to connect described wireless network.
6. the method for connecting network of smart jack according to claim 5, is characterized in that, also comprises: the configuration information storing described wireless network;
When the request of configuration information of the described wireless network of acquisition that other smart jacks send being detected, switch to described wireless access dot pattern and other smart jacks described connect;
The configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
7. the method for connecting network of smart jack according to claim 5, it is characterized in that, after the pairing designated lane with described radio network gateway connects, also comprise: identity information is sent to described radio network gateway, and receive the configuration information of the described wireless network that described radio network gateway sends when being verified described identity information.
8. the method for connecting network of smart jack according to claim 5, is characterized in that, described detection smart jack enters pairing mode, comprises following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
9. a matching method for radio network gateway, is characterized in that, comprising:
Connect with smart jack;
Receive the configuration information of the pairing designated lane that described smart jack sends;
The configuration information of received pairing designated lane and the configuration information of pairing designated lane that self stores are contrasted;
When determining that the configuration information of received pairing designated lane is correct, the configuration information of described Wi-Fi is sent to described smart jack, described smart jack is suitable for adopting the configuration information of the wireless network obtained to connect described wireless network.
10. the matching method of radio network gateway according to claim 9, is characterized in that, after the pairing designated lane of described smart jack and described radio network gateway connects, also comprises:
Certification is carried out to the identity information that described smart jack sends;
When passing through the identity information certification of described smart jack, the configuration information of described wireless network is sent to described smart jack.
11. 1 kinds of smart jacks, is characterized in that, comprising:
First detecting unit, is suitable for detecting smart jack and whether enters pairing mode;
First linkage unit, is suitable for when detecting that smart jack enters pairing mode, switches to wireless access dot pattern;
First mode switch unit, is suitable for when switching to described wireless access dot pattern, connects with described first equipment;
First wireless transmit/receive units, is suitable for when connecting successful with described first equipment, receives the configuration information of the wireless network that described first equipment sends;
Described first mode switch unit, is also suitable for, when receiving the configuration information of the wireless network that described first equipment sends, switching to wireless network node pattern;
Second linkage unit, is suitable for when switching to described wireless network node pattern, adopts the configuration information of the described wireless network received to connect described wireless network.
12. smart jacks according to claim 11, is characterized in that, also comprise:
First memory cell, is suitable for the configuration information storing described wireless network;
Described first mode switch unit, when being also suitable for the request when the configuration information described wireless network of acquisition that other smart jacks send being detected, switches to described wireless access dot pattern;
3rd linkage unit, when switching to described wireless access dot pattern, connects with other smart jacks described;
Described first wireless transmit/receive units, also be suitable for when connecting with other smart jacks described, the configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
13. smart jacks according to claim 11, is characterized in that, described first equipment is mobile terminal.
14. smart jacks according to claim 11, is characterized in that, described first detecting unit is suitable for determining that described smart jack enters pairing mode by following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
15. 1 kinds of smart jacks, is characterized in that, comprising:
Second detecting unit, is suitable for detecting described smart jack and whether enters pairing mode;
Second mode switch element, is suitable for, when detecting that described smart jack enters pairing mode, switching to wireless network node pattern;
4th linkage unit, is suitable for when switching to described wireless network node pattern, connects with the pairing designated lane of radio network gateway;
Second wireless transmit/receive units, is suitable for when the pairing designated lane with described radio network gateway connects successful, the configuration information of the wireless network that the pairing designated lane receiving described radio network gateway sends;
5th linkage unit, is suitable for adopting the configuration information of the described wireless network received to connect described wireless network.
16. smart jacks according to claim 15, is characterized in that, also comprise:
Second memory cell, is suitable for the configuration information storing described wireless network;
Described second mode switch element, when being also suitable for the request when the configuration information described wireless network of acquisition that other smart jacks send being detected, switches to described wireless access dot pattern;
6th linkage unit, is suitable for when switching to described wireless access dot pattern, connects with other smart jacks described;
Described second wireless transmit/receive units, also be suitable for when connecting with other smart jacks described, the configuration information of described wireless network is sent to other smart jacks described, other smart jacks described are suitable for adopting the configuration information of described wireless network to connect described wireless network.
17. smart jacks according to claim 15, is characterized in that,
Described second wireless transmit/receive units, is also suitable for, after the pairing designated lane with described radio network gateway connects, identity information being sent to described radio network gateway; Receive the configuration information of the described wireless network that described radio network gateway sends when being verified described identity information.
18. smart jacks according to claim 15, is characterized in that, described second detecting unit is suitable for determining that described smart jack enters pairing mode by following any one:
Detect that described smart jack is energized;
Detect that the time that the pairing button of described smart jack is pressed reaches default time threshold;
Detect that the numerical value stored in the paring registers in described smart jack is default numerical value.
19. 1 kinds of radio network gateways, is characterized in that, comprising:
7th linkage unit, is suitable for, when receiving the connection request of smart jack, connecting with smart jack;
3rd wireless transmit/receive units, is suitable for the configuration information receiving the pairing designated lane that described smart jack sends;
First memory cell, is suitable for the configuration information storing described pairing designated lane;
Comparing unit, is suitable for the configuration information of received pairing designated lane and the configuration information of pairing designated lane that self stores to contrast;
Second memory cell, is suitable for the configuration information storing described wireless network;
Described 3rd wireless transmit/receive units, also be suitable for when determining that the configuration information of received pairing designated lane is correct, the configuration information of described Wi-Fi is sent to described smart jack, and described smart jack is suitable for adopting the configuration information of the wireless network obtained to connect described wireless network.
20. radio network gateways according to claim 19, is characterized in that, also comprise:
Identity authenticating unit, is suitable for carrying out certification to the identity information of described smart jack;
Described 3rd wireless transmit/receive units, is also suitable for, after the pairing designated lane of described smart jack and described radio network gateway connects, receiving the identity information that described smart jack sends; And when certification is passed through, the configuration information of described wireless network is sent to described smart jack.
The network connection system of 21. 1 kinds of smart jacks, is characterized in that, comprises the smart jack described in any one of claim 11-14 and the first equipment.
The network connection system of 22. smart jacks according to claim 21, is characterized in that, described first equipment is mobile terminal.
The network connection system of 23. 1 kinds of smart jacks, is characterized in that, comprises the smart jack described in any one of claim 15-18 and the radio network gateway described in claim 19-20.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510429211.1A CN105099839B (en) | 2015-07-20 | 2015-07-20 | Intelligent socket and method for connecting network and system, radio network gateway and matching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510429211.1A CN105099839B (en) | 2015-07-20 | 2015-07-20 | Intelligent socket and method for connecting network and system, radio network gateway and matching method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105099839A true CN105099839A (en) | 2015-11-25 |
CN105099839B CN105099839B (en) | 2019-10-22 |
Family
ID=54579449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510429211.1A Active CN105099839B (en) | 2015-07-20 | 2015-07-20 | Intelligent socket and method for connecting network and system, radio network gateway and matching method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105099839B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105915413A (en) * | 2015-12-16 | 2016-08-31 | 美的集团股份有限公司 | Household electrical appliance control method and system and household electrical appliance |
CN106100952A (en) * | 2016-08-24 | 2016-11-09 | 杭州索浪信息技术有限公司 | A kind of intelligent switch of changeable network |
CN106211264A (en) * | 2016-07-11 | 2016-12-07 | 九阳股份有限公司 | A kind of household electrical appliances distribution method and device |
CN106483863A (en) * | 2016-08-01 | 2017-03-08 | 广东美的制冷设备有限公司 | Distribution mode switching method, distribution mode-changeover device and smart jack |
CN112073276A (en) * | 2020-09-21 | 2020-12-11 | 国家电网有限公司 | Power Internet of Things communication method and system based on smart socket |
CN113433833A (en) * | 2021-07-20 | 2021-09-24 | 海信家电集团股份有限公司 | Configuration method and device of household equipment |
US20240008158A1 (en) * | 2022-07-03 | 2024-01-04 | Aeki Intellectual Holdings, Llc | Ad-hoc lighting network and method of deployment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008087571A3 (en) * | 2007-01-19 | 2008-09-12 | Koninkl Philips Electronics Nv | Smart install |
CN103648181A (en) * | 2013-12-24 | 2014-03-19 | 广州爱的信息科技有限公司 | Wireless network connection method for wireless network audio equipment |
US20140164579A1 (en) * | 2011-07-14 | 2014-06-12 | Johnson Controls Technology Company | Systems and methods for providing network-based content to an in-vehicle telematics system |
CN104159219A (en) * | 2014-08-04 | 2014-11-19 | 深圳市晶讯软件通讯技术有限公司 | WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP |
CN104301891A (en) * | 2014-09-18 | 2015-01-21 | 深圳市螺光科技有限公司 | Method and system for interconnecting intelligent device and WiFi router |
CN104317257A (en) * | 2014-08-27 | 2015-01-28 | 深圳市星盘科技有限公司 | System and method for controlling multiple sockets based on wireless internet control |
-
2015
- 2015-07-20 CN CN201510429211.1A patent/CN105099839B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008087571A3 (en) * | 2007-01-19 | 2008-09-12 | Koninkl Philips Electronics Nv | Smart install |
US20140164579A1 (en) * | 2011-07-14 | 2014-06-12 | Johnson Controls Technology Company | Systems and methods for providing network-based content to an in-vehicle telematics system |
CN103648181A (en) * | 2013-12-24 | 2014-03-19 | 广州爱的信息科技有限公司 | Wireless network connection method for wireless network audio equipment |
CN104159219A (en) * | 2014-08-04 | 2014-11-19 | 深圳市晶讯软件通讯技术有限公司 | WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP |
CN104317257A (en) * | 2014-08-27 | 2015-01-28 | 深圳市星盘科技有限公司 | System and method for controlling multiple sockets based on wireless internet control |
CN104301891A (en) * | 2014-09-18 | 2015-01-21 | 深圳市螺光科技有限公司 | Method and system for interconnecting intelligent device and WiFi router |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105915413A (en) * | 2015-12-16 | 2016-08-31 | 美的集团股份有限公司 | Household electrical appliance control method and system and household electrical appliance |
CN106211264A (en) * | 2016-07-11 | 2016-12-07 | 九阳股份有限公司 | A kind of household electrical appliances distribution method and device |
CN106211264B (en) * | 2016-07-11 | 2018-07-31 | 九阳股份有限公司 | A kind of household electrical appliances distribution method and device |
CN106483863A (en) * | 2016-08-01 | 2017-03-08 | 广东美的制冷设备有限公司 | Distribution mode switching method, distribution mode-changeover device and smart jack |
CN106483863B (en) * | 2016-08-01 | 2019-10-15 | 广东美的制冷设备有限公司 | Distribution mode switching method, distribution mode-changeover device and intelligent socket |
CN106100952A (en) * | 2016-08-24 | 2016-11-09 | 杭州索浪信息技术有限公司 | A kind of intelligent switch of changeable network |
CN112073276A (en) * | 2020-09-21 | 2020-12-11 | 国家电网有限公司 | Power Internet of Things communication method and system based on smart socket |
CN112073276B (en) * | 2020-09-21 | 2022-02-25 | 国家电网有限公司 | Power Internet of things communication method and system based on intelligent socket |
CN113433833A (en) * | 2021-07-20 | 2021-09-24 | 海信家电集团股份有限公司 | Configuration method and device of household equipment |
US20240008158A1 (en) * | 2022-07-03 | 2024-01-04 | Aeki Intellectual Holdings, Llc | Ad-hoc lighting network and method of deployment |
US11963282B2 (en) * | 2022-07-03 | 2024-04-16 | Aeki Intellectual Holdings, Llc | Ad-hoc lighting network and method of deployment |
Also Published As
Publication number | Publication date |
---|---|
CN105099839B (en) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105099839A (en) | Intelligent socket and networking method and system, wireless gateway and pairing method | |
CN104574899B (en) | A kind of intelligent control method and its terminal | |
CN107465584A (en) | Method for network access and device, the intelligent appliance of intelligent appliance | |
CN105208583B (en) | A method, device and smart device for configuring smart home appliances to access the network | |
KR101648434B1 (en) | Method and apparatus for controlling signal transmission, electronic device, program and recording medium | |
CN103916475A (en) | Network remote control method | |
TWI797274B (en) | Communication method and device based on relay equipment, terminal and base station | |
CN108702313A (en) | Intelligent home voice control method, device, equipment and system | |
CN105306318B (en) | intelligent scene configuration method, device and server | |
CN105068433B (en) | The method for connecting network and device of smart jack, intelligent socket system | |
CN103529782A (en) | Smart Home Wireless Control System | |
CN104348524A (en) | Binding method, center equipment and peripheral equipment | |
CN107545631B (en) | Entrance guard unlocking method and device and entrance guard unlocking implementation device | |
CN104009898A (en) | Household appliance and control method and device thereof | |
CN105005291A (en) | Smart home control method, smart home control device and smart home control system | |
CN111064552B (en) | Intelligent device control method and device, electronic device and storage medium | |
CN108713173B (en) | Intelligent home early warning system and method | |
CN105323824A (en) | WIFI equipment, electronic device and method for assisting WIFI equipment access to network | |
CN104869699A (en) | Lighting control method, lighting device and lighting system | |
CN105392182B (en) | The setting method and system of the network configuration information of WIFI equipment | |
CN104460633A (en) | Intelligent home control system and method based on special power wireless communication network | |
CN204440151U (en) | A kind of intelligent home control device | |
CN105764117A (en) | Method and device for accessing network | |
CN105915416B (en) | Information processing method and terminal equipment | |
CN106781388A (en) | Control system, remote controller, air conditioner remote controller and control method |
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 |