CN105099839B - Intelligent socket and method for connecting network and system, radio network gateway and matching method - Google Patents

Intelligent socket and method for connecting network and system, radio network gateway and matching method Download PDF

Info

Publication number
CN105099839B
CN105099839B CN201510429211.1A CN201510429211A CN105099839B CN 105099839 B CN105099839 B CN 105099839B CN 201510429211 A CN201510429211 A CN 201510429211A CN 105099839 B CN105099839 B CN 105099839B
Authority
CN
China
Prior art keywords
intelligent socket
wireless network
configuration information
intelligent
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.)
Active
Application number
CN201510429211.1A
Other languages
Chinese (zh)
Other versions
CN105099839A (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.)
Jiangsu Huitong Group Co Ltd
Original Assignee
Jiangsu Huitong Group 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 Jiangsu Huitong Group Co Ltd filed Critical Jiangsu Huitong Group Co Ltd
Priority to CN201510429211.1A priority Critical patent/CN105099839B/en
Publication of CN105099839A publication Critical patent/CN105099839A/en
Application granted granted Critical
Publication of CN105099839B publication Critical patent/CN105099839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

Intelligent socket and method for connecting network and system, radio network gateway and matching method, the method for connecting network of the intelligent socket include: to switch to wireless access dot pattern when detecting that intelligent socket enters pairing mode;When switching to the wireless access dot pattern, connection is established with the first equipment;When establishing successful connection with first equipment, the configuration information for the wireless network that first equipment is sent is received;When receiving the configuration information for the wireless network that first equipment is sent, wireless network node mode is switched to;Using the configuration information of the received wireless network connect the wireless network.The success rate of the network connection of intelligent socket can be improved in above-mentioned scheme, promotes the usage experience of user.

Description

Intelligent socket and method for connecting network and system, radio network gateway and matching method
Technical field
The present invention relates to intelligent socket technical fields, more particularly to the method for connecting network and dress of a kind of intelligent socket It sets.
Background technique
Intelligent domestic is to be set using house as platform using comprehensive wiring technology, network communication technology, smart home-system Meter Scheme Security precautionary technology, automatic control technology, audio and video technology integrate the related facility of home life, and building is efficient The management system of housing facilities and family's schedule affairs promotes house security, convenience, comfort, artistry, and realizes ring Protect energy-efficient living environment.Smart home is that instrumentation embodies under the influence of internet.Smart home passes through Internet of Things skill Art is by various equipment (such as audio & video equipment, lighting system, curtain control, the airconditioning control, security system, digital camera in family System, network home appliance and three tables are made a copy for) it connects together, home wiring control, Lighting control, curtain control, telephone remote are provided Process control, indoor and outdoor remote control, burglar alarm, environmental monitoring, HVAC control, infrared forwarding and programmable Timer control etc. are a variety of Function and means.
Intelligent socket is used cooperatively with indoor control panel, to realize the functions such as time switch.Existing intelligent wireless is inserted Network signal after seat needs to establish successful connection with wireless network, needed for just available data are transmitted.But the prior art In intelligent socket may be influenced by various factors, and wireless network connection can not be successfully established, therefore, existing intelligence There is the low success rate of problems of wireless network connection for socket.
Summary of the invention
What the embodiment of the present invention solved is how to improve the success rate of the wireless network connection of intelligent socket.
To solve the above problems, the embodiment of the invention provides a kind of method for connecting network of intelligent socket, the method Include:
When detecting that intelligent socket enters pairing mode, wireless access dot pattern is switched to;
When switching to the wireless access dot pattern, connection is established with the first equipment;
When establishing successful connection with first equipment, receive the wireless network that first equipment is sent matches confidence Breath;
When receiving the configuration information for the wireless network that first equipment is sent, wireless network node mould is switched to Formula;
Using the configuration information of the received wireless network connect the wireless network.
Optionally, the method also includes:
Store the configuration information of the wireless network;
When detecting the request of the configuration information of the acquisition wireless network of other intelligent sockets transmission, institute is switched to It states wireless access dot pattern and other described intelligent sockets establishes connection;
The configuration information of the wireless network is sent to other described intelligent sockets, other described intelligent sockets are suitable for adopting The wireless network is connected with the configuration information of the wireless network.
Optionally, first equipment is mobile terminal.
Optionally, the detection intelligent socket enters pairing mode, including any one of following:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
The embodiment of the invention also provides a kind of method for connecting network of intelligent socket, which comprises
When detecting that intelligent socket enters pairing mode, the pairing of wireless network node mode and radio network gateway is switched to Designated lane establishes connection;
When the pairing designated lane with the radio network gateway establishes successful connection, the pairing for receiving the radio network gateway is special With the configuration information for the wireless network that channel is sent;
Using the configuration information of the received wireless network connect the wireless network.
Optionally, further includes:
Store the configuration information of the wireless network;
When detecting the request of the configuration information of the acquisition wireless network of other intelligent sockets transmission, institute is switched to It states wireless access dot pattern and other described intelligent sockets establishes connection;
The configuration information of the wireless network is sent to other described intelligent sockets, other described intelligent sockets are suitable for adopting The wireless network is connected with the configuration information of the wireless network.
Optionally, after the pairing designated lane with the radio network gateway establishes connection, further includes: send out identity information It send to the radio network gateway, and receives the wireless network that the radio network gateway is sent when being verified to the identity information The configuration information of network.
Optionally, the detection intelligent socket enters pairing mode, including any one of following:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
The embodiment of the invention also provides a kind of matching methods of radio network gateway, which comprises
Connection is established with intelligent socket;
Receive the configuration information for the pairing designated lane that the intelligent socket is sent;
By it is received pairing designated lane configuration information and itself storage pairing designated lane configuration information into Row comparison;
When the configuration information for determining the received pairing designated lane of institute is correct, by the configuration information of Wi-Fi hair It send to the intelligent socket, the intelligent socket is suitable for connecting the wireless network using the configuration information of the wireless network obtained Network.
Optionally, after the pairing designated lane of the intelligent socket and the radio network gateway establishes connection, further includes:
The identity information sent to the intelligent socket authenticates;
When the identity information certification to the intelligent socket passes through, the configuration information of the wireless network is sent to institute State intelligent socket.
The embodiment of the invention also provides a kind of intelligent socket, the intelligent socket includes:
First detection unit, is adapted to detect for whether intelligent socket enters pairing mode;
First connection unit, suitable for when detecting that intelligent socket enters pairing mode, switching to wireless access dot pattern;
First mode switch unit, suitable for being established with first equipment when switching to the wireless access dot pattern Connection;
First wireless transmit/receive units, suitable for receiving first equipment when establishing successful connection with first equipment The configuration information of the wireless network of transmission;
The first mode switch unit is further adapted for when the wireless network for receiving the first equipment transmission is with confidence When breath, wireless network node mode is switched to;
Second connection unit, it is received described wireless using institute suitable for when switching to the wireless network node mode The configuration information of network connects the wireless network.
Optionally, the intelligent socket further include:
First storage unit, suitable for storing the configuration information of the wireless network;
The first mode switch unit is further adapted for when the acquisition wireless network for detecting that other intelligent sockets are sent Configuration information request when, switch to the wireless access dot pattern;
Third connection unit establishes connection with other described intelligent sockets when switching to the wireless access dot pattern;
First wireless transmit/receive units are further adapted for when establishing connection with other described intelligent sockets, will be described wireless The configuration information of network is sent to other described intelligent sockets, other described intelligent sockets are suitable for matching using the wireless network Confidence breath connects the wireless network.
Optionally, first equipment is mobile terminal.
Optionally, the first detection unit is suitable for determining that the intelligent socket enters matched dies by any one of following Formula:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
The embodiment of the invention also provides a kind of intelligent socket, the intelligent socket includes:
Second detection unit, is adapted to detect for whether the intelligent socket enters pairing mode;
Second mode switch unit, suitable for switching to wireless network when detecting that the intelligent socket enters pairing mode Network node mode;
4th connection unit, it is dedicated with the pairing of radio network gateway suitable for when switching to the wireless network node mode Path Setup connection;
Second wireless transmit/receive units, suitable for connecing when the pairing designated lane with the radio network gateway establishes successful connection Receive the configuration information of the wireless network of the pairing designated lane transmission of the radio network gateway;
5th connection unit, suitable for the configuration information connection wireless network using the received wireless network of institute.
Optionally, the intelligent socket further include:
Second storage unit, suitable for storing the configuration information of the wireless network;
The second mode switch unit is further adapted for when the acquisition wireless network for detecting that other intelligent sockets are sent Configuration information request when, switch to the wireless access dot pattern;
6th connection unit, suitable for being established with other described intelligent sockets when switching to the wireless access dot pattern Connection;
Second wireless transmit/receive units are further adapted for when establishing connection with other described intelligent sockets, will be described wireless The configuration information of network is sent to other described intelligent sockets, other described intelligent sockets are suitable for matching using the wireless network Confidence breath connects the wireless network.
Optionally, the intelligent socket further include:
Second wireless transmit/receive units, be further adapted for the pairing designated lane with the radio network gateway establish connection it Afterwards, identity information is sent to the radio network gateway;Receive radio network gateway hair when being verified to the identity information The configuration information of the wireless network sent.
Optionally, the second detection unit is suitable for determining that the intelligent socket enters matched dies by any one of following Formula:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
The embodiment of the invention also provides a kind of radio network gateway, the radio network gateway includes:
7th connection unit, suitable for establishing connection with intelligent socket when receiving the connection request of intelligent socket;
Third wireless transmit/receive units, suitable for receiving the configuration information for the pairing designated lane that the intelligent socket is sent;
First storage unit, suitable for storing the configuration information of the pairing designated lane;
Comparing unit, suitable for by it is received pairing designated lane configuration information and itself storage pairing designated lane Configuration information compare;
Second storage unit, suitable for storing the configuration information of the wireless network;
The third wireless transmit/receive units, be further adapted for when determine institute it is received match designated lane configuration information it is correct When, the configuration information of the Wi-Fi is sent to the intelligent socket, the intelligent socket is suitable for wireless using what is obtained The configuration information of network connects the wireless network.
Optionally, the radio network gateway further include:
Identity authenticating unit is authenticated suitable for the identity information to the intelligent socket;
The third wireless transmit/receive units are further adapted for the pairing designated lane in the intelligent socket and the radio network gateway It establishes after connection, receives the identity information that the intelligent socket is sent;And when certification passes through, by matching for the wireless network Confidence breath is sent to the intelligent socket.
The embodiment of the present invention also provides a kind of network connection system of intelligent socket, and the system comprises above-mentioned intelligence to insert Seat and the first equipment.
Optionally, first equipment is mobile terminal.
The embodiment of the present invention also provides a kind of network connection system of intelligent socket, including above-mentioned intelligent socket and above-mentioned Radio network gateway.
Compared with prior art, the technical solution of the embodiment of the present invention has the advantage that
Above-mentioned scheme connect acquisition with the first equipment and is stored in institute when detecting that intelligent socket enters pairing state The configuration information of the wireless network in the first equipment is stated, and passes through the configuration information and establishing wireless network of acquired wireless network Vertical connection, allows intelligent socket reliably to obtain the configuration information of wireless network, and establish connection with wireless network, can be with It improves intelligent socket and wireless network establishes the success rate of connection, promote the usage experience of user.
Further, when intelligent socket and wireless network are successfully established connection, can store wireless network matches confidence Breath, and when the request of the configuration information in the acquisition wireless network for detecting the transmission of other intelligent sockets, by the wireless network of storage The configuration information of network is sent to other intelligent sockets, can establish connection in order to other intelligent sockets and wireless network.
Further, when the dedicated pairing Path Setup successful connection of intelligent socket and radio network gateway, intelligent socket will The identity information of itself is sent to radio network gateway, and radio network gateway, will when the identity information to the intelligent socket is proved to be successful The configuration information of the wireless network of preservation is sent to intelligent socket, it is thus possible to improve what intelligent socket and radio network gateway matched Safety.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the network connection system of one of embodiment of the present invention intelligent socket;
Fig. 2 is the structural schematic diagram of one of embodiment of the present invention intelligent socket;
Fig. 3 is the flow chart of the method for connecting network of one of embodiment of the present invention intelligent socket;
Fig. 4 is the structural schematic diagram of the network connection system of another intelligent socket in the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another intelligent socket in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another radio network gateway in the embodiment of the present invention;
Fig. 7 is the flow chart of the method for connecting network of another intelligent socket in the embodiment of the present invention.
Specific embodiment
To solve the above problems, technical solution used in the embodiment of the present invention is by detecting that intelligent socket enters pairing When state, by the configuration information of wireless access point pattern acquiring wireless network, and pass through the configuration of acquired wireless network Information and wireless network establish connection, allow intelligent socket reliably to obtain the configuration information of wireless network, with wireless network Network establishes connection, and intelligent socket can be improved and wireless network establishes the success rate of connection.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention Specific embodiment be described in detail.
Fig. 1 shows the structural schematic diagram of the network connection system of one of embodiment of the present invention intelligent socket.Such as Fig. 1 Shown in intelligent socket network connection system, may include: intelligent socket 101 and mobile terminal 102, wherein intelligent socket 101 and mobile terminal 102 be wirelessly connected.
As shown in Fig. 2, the intelligent socket 101, may include first detection unit 1011, the first connection unit 1012, First mode switch unit 1013, the first wireless transmit/receive units 1014 and the second connection unit 1015, in which:
First detection unit 1011, is adapted to detect for whether intelligent socket enters pairing mode.
In specific implementation, the first detection unit 1011 is suitable for by detecting whether intelligent socket is powered, Huo Zheshu Whether the time that the pairing button of intelligent socket is pressed reaches the pairing in preset time threshold or the intelligent socket Whether the numerical value stored in register be preset numerical value, and any one of three judges whether intelligent socket enters matched dies Formula.
First mode switch unit 1012 wirelessly connects suitable for switching to when detecting that intelligent socket enters pairing mode Enter dot pattern;When receiving the configuration information for the wireless network that first equipment is sent, wireless network node mould is switched to Formula.
First connection unit 1013, suitable for being established with first equipment when switching to the wireless access dot pattern Connection.
First wireless transmit/receive units 1014, suitable for receiving described first when establishing successful connection with first equipment The configuration information for the wireless network that equipment is sent.
Second connection unit 1015, it is received described using institute suitable for when switching to the wireless network node mode The configuration information of wireless network connects the wireless network.
In specific implementation, intelligent socket 101 as shown in Figure 2 can also include that the first storage unit 1016 is connected with third Unit 1017, in which:
First storage unit 1016, suitable for storing the configuration information of the wireless network.
The first mode switch unit 1013 is further adapted for when the acquisition for detecting the transmission of other intelligent sockets is described wireless When the request of the configuration information of network, the wireless access dot pattern is switched to.
Third connection unit 1017 is established when switching to the wireless access dot pattern with other described intelligent sockets Connection.
First wireless transmit/receive units 1014 are further adapted for when establishing connection with other described intelligent sockets, will be described The configuration information of wireless network is sent to other described intelligent sockets, other described intelligent sockets are suitable for using the wireless network Configuration information connect the wireless network.
It is to be herein pointed out above-mentioned mobile terminal is only the network connection of the intelligent socket in the embodiment of the present invention A specific embodiment of the first equipment in method.It will be appreciated by those skilled in the art that the first equipment can also be Other can store the configuration information of wireless network, and in intelligent socket request, can matching the wireless network stored Confidence ceases the equipment for being sent to intelligent socket, and those skilled in the art can convert according to the actual needs, herein not It repeats again.
Make below in conjunction with working principle of the Fig. 3 to the network connection system of the intelligent socket in the embodiment of the present invention into one Walk detailed introduction.
Fig. 3 shows the flow chart of the method for connecting network of one of embodiment of the present invention intelligent socket.As shown in Figure 3 Intelligent socket method for connecting network, may include:
Step S301: whether detection intelligent socket enters pairing mode, when the test results is yes, can execute step S302, conversely, not executing any operation then.
In specific implementation, detect whether intelligent socket 101 enters by the first detection unit 1011 in intelligent socket 101 Pairing mode.
In an embodiment of the present invention, first detection unit 1011 is detecting that it is determining intelligent slotting that intelligent socket 101 is powered Seat 101 enters pairing mode.
In an alternative embodiment of the invention, first detection unit 1011 is detecting the pairing on detection intelligent socket 101 The time that button is pressed reaches preset time threshold, determines that intelligent socket enters pairing mode.Wherein, preset time threshold Value can be configured according to the actual needs, such as 5s.
In still another embodiment of the process, first detection unit 1011 is detecting the pairing deposit in intelligent socket 101 Device is preset numerical value, to determine whether intelligent socket 101 enters pairing mode.
Step S302: the intelligent socket switches to wireless access point network mode, and establishes and connect with the mobile terminal It connects.
In specific implementation, when entering pairing mode, intelligent socket 101 switches to wireless access point (AP) mode and moves Dynamic terminal 102 establishes connection.
Specifically, intelligent socket 101 is cut into described wireless by the first mode switch unit 1012 in intelligent socket 101 Access point mode, the first connection unit 1013 is when intelligent socket 101 is cut into the wireless access dot pattern, by intelligent socket 101 connect with mobile terminal 102.
Step S303: when the intelligent socket and the mobile terminal establish successful connection, the mobile terminal will be certainly The configuration information of the wireless network of body storage is sent to the intelligent socket.
In specific implementation, it is stored with the configuration information of wireless network in mobile terminal 102, when intelligent socket 101 and moves When dynamic terminal 102 establishes successful connection, the configuration information of the wireless network itself stored is sent to intelligence and inserted by mobile terminal 102 Seat 101.
In specific implementation, the configuration information of the wireless network includes the service set (Service of wireless network Set Identifier, SSID) and password.
Step S304: the intelligent socket receives the configuration information for the wireless network that the mobile terminal is sent, and switches to The wireless network node mode, and connection is established using configuration information and the wireless network of the received wireless network of institute.
In specific implementation, when intelligent socket receives the configuration information of the wireless network of mobile terminal transmission, intelligence Socket switches to wireless network node mode from ap mode, and passes through the configuration information and wireless network of acquired wireless network Establish connection.
Specifically, the first wireless transmit/receive units 1014 in intelligent socket 101 receive the wireless network that mobile terminal 102 is sent The configuration information of network, first mode switch unit 1012 receive mobile terminal 102 in the first wireless transmit/receive units 1014 and send Wireless network configuration information when, intelligent socket 101 is switched into radio node mode, the second connection unit 1015 is described When intelligent socket 101 switches to wireless network node mode, the nothing is connected using the configuration information of acquired wireless network Gauze network.
In specific implementation, the method for connecting network of the intelligent socket, can further include:
Step S305: the intelligent socket stores the configuration information of the wireless network.
In specific implementation, when intelligent socket 101 and wireless network connection success, it can store the configuration of wireless network Information.
Specifically, intelligent socket 101 stores the configuration information of the wireless network when with wireless network connection success.
Step S306: the intelligent socket detect the acquisition wireless network that other intelligent sockets are sent with confidence When the request of breath, connection is established by wireless network access point mode and other described intelligent sockets.
In specific implementation, when other intelligent sockets connect wireless network, it can detecte intelligence located around it and insert Seat, and asking for the configuration information for obtaining wireless network is sent to the intelligent socket for being successfully connected wireless network detected It asks.Intelligent socket is in the request of the configuration information for the acquisition wireless network for receiving the transmission of other intelligent sockets, intelligent socket Wireless access dot pattern is switched to, establishes connection with other intelligent sockets.
Specifically, the first wireless transmit/receive units 1014 in intelligent socket 101 receive obtaining for other intelligent sockets transmission Take the request of the configuration information of wireless network.The first mode switch unit 1013 is receiving the transmission of other intelligent sockets When obtaining the request of the configuration information of the wireless network, intelligent socket 101 is back switched into wireless access dot pattern, and lead to Wireless network node mode is crossed to connect with other intelligent sockets.
Step S307: the configuration information of the wireless network is sent to other described intelligent sockets by the intelligent socket.
In specific implementation, intelligent socket 101 is when with other intelligent socket successful connections, by the wireless network of itself storage The configuration information of network is sent to other described intelligent sockets.
Specifically, the first wireless transmit/receive units 1014 in intelligent socket 101 will store in first storage unit 1016 The configuration information of wireless network is sent to other intelligent sockets.
Other described intelligent sockets are when receiving the configuration information for the wireless network that the intelligent socket is sent, using obtaining The configuration information of the wireless network taken connects the wireless network.
Fig. 4 shows the structural schematic diagram of the network connection system of one of embodiment of the present invention intelligent socket.Such as Fig. 4 Shown in intelligent socket network connection system, may include intelligent socket 401 and radio network gateway 402, wherein intelligent socket 401 It is wirelessly connected with radio network gateway 402.
Fig. 5 is referred to, intelligent socket 401 may include second detection unit 4011, second mode switch unit 4012, Four connection units 4013, the second wireless transmit/receive units 4014 and the 5th connection unit 4015, in which:
Second detection unit 4011, is adapted to detect for whether the intelligent socket enters pairing mode.
In specific implementation, the first detection unit 1011 is suitable for by detecting whether intelligent socket is powered, Huo Zheshu Whether the time that the pairing button of intelligent socket is pressed reaches the pairing in preset time threshold or the intelligent socket Whether the numerical value stored in register be preset numerical value, and any one of three judges whether intelligent socket enters matched dies Formula.
Second mode switch unit 4012, suitable for switching to nothing when detecting that the intelligent socket enters pairing mode Gauze network node mode.
4th connection unit 4013, suitable for the pairing when switching to the wireless network node mode, with radio network gateway Designated lane establishes connection.
Second wireless transmit/receive units 4014, suitable for establishing successful connection when the pairing designated lane with the radio network gateway When, receive the configuration information of the wireless network of the pairing designated lane transmission of the radio network gateway.
5th connection unit 4015, suitable for the configuration information connection wireless network using the received wireless network of institute Network.
In specific implementation, the intelligent socket 401 can further include the second storage unit 4016 and the 6th and connect Order member 4017, in which:
Second storage unit 4016, suitable for storing the configuration information of the wireless network.
The second mode switch unit 4012 is further adapted for when the acquisition for detecting the transmission of other intelligent sockets is described wireless When the request of the configuration information of network, the wireless access dot pattern is switched to.
6th connection unit 4017, suitable for when switching to the wireless access dot pattern, with other described intelligent sockets Establish connection.
Second wireless transmit/receive units 4014 are further adapted for when establishing connection with other described intelligent sockets, will be described The configuration information of wireless network is sent to other described intelligent sockets, other described intelligent sockets are suitable for using the wireless network Configuration information connect the wireless network.
In specific implementation, the second wireless transmit/receive units 4014 in the intelligent socket 401, be further adapted for the nothing The pairing designated lane that gauze closes is established after connection, and identity information is sent to the radio network gateway;Receive the wireless network Close the configuration information of the wireless network sent when being verified to the identity information.
Shown in Figure 6, the radio network gateway in the embodiment of the present invention may include:
7th connection unit 4021, suitable for establishing connection with intelligent socket when receiving the connection request of intelligent socket.
Third wireless transmit/receive units 4022 match confidence suitable for receive pairing designated lane that the intelligent socket is sent Breath;When determine institute it is received match designated lane configuration information it is correct when, the configuration information of the Wi-Fi is sent to The intelligent socket, the intelligent socket are suitable for connecting the wireless network using the configuration information of the wireless network obtained.
First storage unit 4023, suitable for storing the configuration information of the pairing designated lane.
Comparing unit 4024, suitable for by received pairing designated lane configuration information and the pairing that itself stores it is dedicated The configuration information in channel compares.
Second storage unit 4025, suitable for storing the configuration information of the wireless network.
In specific implementation, the radio network gateway 402 can further include identity authenticating unit 4026, in which:
Identity authenticating unit 4026 is authenticated suitable for the identity information to the intelligent socket.
The third wireless transmit/receive units 4022 are further adapted for dedicated in the pairing of the intelligent socket and the radio network gateway After Path Setup connection, the identity information that the intelligent socket is sent is received;And when certification passes through, by the wireless network Configuration information be sent to the intelligent socket.
It is done below in conjunction with working principle of the Fig. 7 to the network connection system of intelligent socket shown in Fig. 4 further details of It introduces.
Fig. 7 shows the flow chart of the method for connecting network of one of embodiment of the present invention intelligent socket.As shown in Figure 7 Intelligent socket method for connecting network, may include:
Step S701: whether detection intelligent socket enters pairing mode.
In specific implementation, detect whether intelligent socket 401 enters by the second detection unit 4011 in intelligent socket 401 Pairing mode.
In an embodiment of the present invention, second detection unit 4011 is detecting that it is determining intelligent slotting that intelligent socket 401 is powered Seat 401 enters pairing mode.
In an alternative embodiment of the invention, second detection unit 4011 is detecting the pairing on detection intelligent socket 401 The time that button is pressed reaches preset time threshold, determines that intelligent socket enters pairing mode.Wherein, preset time threshold Value can be configured according to the actual needs, such as 5s.
In still another embodiment of the process, second detection unit 4011 is detecting the pairing deposit in intelligent socket 401 Device is preset numerical value, sentences whether determining intelligent socket 401 enters pairing mode.
Step S702: the intelligent socket switches to wireless network node mode, dedicated with the pairing of the radio network gateway Path Setup connection.
In specific implementation, radio network gateway 402 has pairing designated lane, and radio network gateway 402 will broadcast designated lane Pairing signal enters pairing mode in intelligent socket 401 and detects the designated lane pairing signal of the broadcast of radio network gateway 402 When, intelligent socket 401 is connect into wireless network node mode with the pairing designated lane of radio network gateway 402.Intelligent socket 401 When the pairing designated lane with radio network gateway is connect, intelligent socket 401 submits the pairing designated lane of radio network gateway 402 first SSID and password, radio network gateway 402 receive intelligent socket 401 submission pairing designated lane SSID and password when, By the SSID for the pairing designated lane that intelligent socket 401 is submitted and password the pairing SSID of designated lane stored with itself and close Code compares, when comparison passes through, radio network gateway 402 by the configuration information of wireless network, SSID including wireless network and Password is sent to intelligent socket 401.
Specifically, the second mode switch unit 4012 in intelligent socket 401 enters pairing mode in intelligent socket 401 When, intelligent socket 401 is switched into wireless network node mode.The 4th connection unit 4013 of 4th connection unit passes through the nothing The pairing designated lane of intelligent socket 401 and radio network gateway 402 is established connection by gauze network node mode.Wherein, intelligent socket 401 when the pairing designated lane with radio network gateway 402 is connect, the second matching radio network gateway 402 of wireless transmit/receive units 4014 To the configuration information of designated lane, SSID and password including the pairing designated lane are sent to radio network gateway 402.Wireless network Third wireless transmit/receive units 4022 in 402 are closed in the pairing SSID of designated lane that receives the transmission of intelligent socket 401 and close When code, the SSID and password of the pairing designated lane that comparing unit 4024 sends intelligent socket 401 and the first storage unit Only property compares the SSID and password that the pairing designated lane is stored in 4023, when the comparison of comparing unit 4024 passes through, institute It states third wireless transmit/receive units 4022 and the configuration information of the wireless network stored in second storage unit 4025 is sent to intelligence Socket 401.The 5th connection unit 4015 in intelligent socket 401 is receiving radio network gateway in the second wireless transmit/receive units 4014 When the configuration information of 402 wireless networks sent, wireless network is connected using the configuration information for receiving wireless network.
In an embodiment of the present invention, when the pairing designated lane successful connection of intelligent socket 401 and radio network gateway 402 When, the identity information of intelligent socket 401 is sent to wireless network first by the second wireless transmit/receive units 4014 in intelligent socket 401 402 are closed, the identity authenticating unit 4026 of radio network gateway 402 authenticates the identity information of intelligent socket 401, and logical in certification It is out-of-date, the configuration information of 4025 wireless network of the second storage unit is sent to intelligent socket 401, to improve the peace of network connection Quan Xing.
Step S703: the radio network gateway is sent the configuration information of the wireless network by the pairing designated lane To the intelligent socket.
In specific implementation, after the pairing designated lane successful connection of intelligent socket 401 and radio network gateway 402, nothing The third wireless transmit/receive units 4022 that gauze closes 402 can be by the configuration of the wireless network stored in the second storage unit 4025 Information is sent to intelligent socket 401.
Step S704: the configuration information and wireless network foundation of the intelligent socket using the received wireless network of institute Connection.
In specific implementation, the second wireless transmit/receive units 4014 of intelligent socket 401 receive wireless network with confidence Breath, the 6th connection unit 4017 receive the configuration information and wireless network of wireless network using the second wireless transmit/receive units 4014 Establish connection.
In specific implementation, the method for connecting network of the intelligent socket in the embodiment of the present invention can also include:
Step S705: the intelligent socket stores the configuration information of the wireless network.
In specific implementation, when intelligent socket 401 and wireless network connection success, it can store the configuration of wireless network Information.
Step S706: the intelligent socket detect the acquisition wireless network that other intelligent sockets are sent with confidence When the request of breath, connection is established by wireless network access point mode and other described intelligent sockets.
In specific implementation, when other intelligent sockets connect wireless network, it can detecte intelligence located around it and insert Seat 401, and the configuration information for obtaining wireless network is sent to the intelligent socket 401 for being successfully connected wireless network detected Request.Intelligent socket 401 is cut in the request of the configuration information for the acquisition wireless network for receiving the transmission of other intelligent sockets It shifts to wireless access dot pattern and other intelligent sockets establishes connection.
Specifically, the second wireless transmit/receive units 4014 in intelligent socket 401 are receiving the transmission of other intelligent sockets When obtaining the request of the configuration information of wireless network, intelligent socket 401 is switched to nothing by the second mode switch unit 4012 Line access point mode, the 6th connection unit 4017 is when intelligent socket 401 switches to wireless access dot pattern, with other described intelligence Energy socket establishes connection.
Step S707: the configuration information of the wireless network is sent to other described intelligent sockets by the intelligent socket.
In specific implementation, intelligent socket 401 is when with other intelligent socket successful connections, by the wireless network of itself storage The configuration information of network is sent to other described intelligent sockets.
Specifically, the second wireless transmit/receive units 4014 in intelligent socket 401 will store in second storage unit 4016 The configuration information of wireless network is sent to other intelligent sockets.
Other described intelligent sockets are when receiving the configuration information for the wireless network that the intelligent socket is sent, using obtaining The configuration information of the wireless network taken connects the wireless network.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in computer readable storage medium, and storage is situated between Matter may include: ROM, RAM, disk or CD etc..
The method and system of the embodiment of the present invention are had been described in detail above, the present invention is not limited thereto.Any Field technical staff can make various changes or modifications without departing from the spirit and scope of the present invention, therefore guarantor of the invention Shield range should be defined by the scope defined by the claims..

Claims (22)

1. a kind of method for connecting network of intelligent socket characterized by comprising
When detecting that intelligent socket enters pairing mode, wireless access dot pattern is switched to;
When switching to the wireless access dot pattern, connection is established with the first equipment;
When establishing successful connection with first equipment, the configuration information for the wireless network that first equipment is sent is received;
When receiving the configuration information for the wireless network that first equipment is sent, wireless network node mode is switched to;
Using the configuration information of the received wireless network connect the wireless network;
It is wherein, described that detect that intelligent socket enters pairing mode include any one of following:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
2. the method for connecting network of intelligent socket according to claim 1, which is characterized in that further include:
Store the configuration information of the wireless network;
When detecting the request of the configuration information of the acquisition wireless network of other intelligent sockets transmission, the nothing is switched to Line access point mode and other described intelligent sockets establish connection;
The configuration information of the wireless network is sent to other described intelligent sockets, other described intelligent sockets are suitable for using institute The configuration information for stating wireless network connects the wireless network.
3. the method for connecting network of intelligent socket according to claim 1, which is characterized in that first equipment is movement Terminal.
4. a kind of method for connecting network of intelligent socket characterized by comprising
When detecting that intelligent socket enters pairing mode, wireless network node mode is switched to, sends and matches to radio network gateway The configuration information of designated lane is dedicated logical with the pairing of radio network gateway when the configuration information of the pairing designated lane is correct Connection is established in road;
When the pairing designated lane with the radio network gateway establishes successful connection, the pairing for receiving the radio network gateway is dedicated logical The configuration information for the wireless network that road is sent;
Using the configuration information of the received wireless network connect the wireless network.
5. the method for connecting network of intelligent socket according to claim 4, which is characterized in that further include:
Store the configuration information of the wireless network;
When detecting the request of the configuration information of the acquisition wireless network of other intelligent sockets transmission, the nothing is switched to Line access point mode and other described intelligent sockets establish connection;
The configuration information of the wireless network is sent to other described intelligent sockets, other described intelligent sockets are suitable for using institute The configuration information for stating wireless network connects the wireless network.
6. the method for connecting network of intelligent socket according to claim 4, which is characterized in that with the radio network gateway Pairing designated lane is established after connection, further includes: identity information is sent to the radio network gateway, and receives the wireless network Close the configuration information of the wireless network sent when being verified to the identity information.
7. the method for connecting network of intelligent socket according to claim 4, which is characterized in that the detection intelligent socket into Enter pairing mode, including any one of following:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
8. a kind of matching method of radio network gateway characterized by comprising
Connection is established with intelligent socket;
Receive the configuration information for the pairing designated lane that the intelligent socket is sent;
By the configuration information of received pairing designated lane and the configuration information of pairing designated lane of itself storage carry out pair Than;
When determine institute it is received match designated lane configuration information it is correct when, the configuration information of the Wi-Fi is sent to The intelligent socket, the intelligent socket are suitable for connecting the wireless network using the configuration information of the wireless network obtained.
9. the matching method of radio network gateway according to claim 8, which is characterized in that in the intelligent socket and the nothing The pairing designated lane that gauze closes is established after connection, further includes:
The identity information sent to the intelligent socket authenticates;
When the identity information certification to the intelligent socket passes through, the configuration information of the wireless network is sent to the intelligence It can socket.
10. a kind of intelligent socket characterized by comprising
First detection unit, is adapted to detect for whether intelligent socket enters pairing mode;
First connection unit, suitable for when detecting that intelligent socket enters pairing mode, switching to wireless access dot pattern;
First mode switch unit, suitable for establishing connection with the first equipment when switching to the wireless access dot pattern;
First wireless transmit/receive units are sent suitable for when establishing successful connection with first equipment, receiving first equipment Wireless network configuration information;
The first mode switch unit is further adapted for when the configuration information for receiving the wireless network that first equipment is sent When, switch to wireless network node mode;
Second connection unit, suitable for when switching to the wireless network node mode, using the received wireless network of institute Configuration information connect the wireless network.
11. intelligent socket according to claim 10, which is characterized in that further include:
First storage unit, suitable for storing the configuration information of the wireless network;
The first mode switch unit is further adapted for matching when the acquisition wireless network for detecting the transmission of other intelligent sockets When the request of confidence breath, the wireless access dot pattern is switched to;
Third connection unit establishes connection with other described intelligent sockets when switching to the wireless access dot pattern;
First wireless transmit/receive units are further adapted for when establishing connection with other described intelligent sockets, by the wireless network Configuration information be sent to other described intelligent sockets, other described intelligent sockets are suitable for matching confidence using the wireless network Breath connects the wireless network.
12. intelligent socket according to claim 10, which is characterized in that first equipment is mobile terminal.
13. intelligent socket according to claim 10, which is characterized in that the first detection unit is suitable for passing through following One determination intelligent socket enters pairing mode:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
14. a kind of intelligent socket characterized by comprising
Second detection unit, is adapted to detect for whether the intelligent socket enters pairing mode;
Second mode switch unit, suitable for switching to wireless network section when detecting that the intelligent socket enters pairing mode Dot pattern;
4th connection unit, suitable for it is dedicated logical to send pairing to radio network gateway when switching to the wireless network node mode The configuration information in road is established when the configuration information of the pairing designated lane is correct with the pairing designated lane of radio network gateway Connection;
Second wireless transmit/receive units, suitable for receiving institute when the pairing designated lane with the radio network gateway establishes successful connection State the configuration information of the wireless network of the pairing designated lane transmission of radio network gateway;
5th connection unit, suitable for the configuration information connection wireless network using the received wireless network of institute.
15. intelligent socket according to claim 14, which is characterized in that further include:
Second storage unit, suitable for storing the configuration information of the wireless network;
The second mode switch unit is further adapted for matching when the acquisition wireless network for detecting the transmission of other intelligent sockets When the request of confidence breath, the wireless access dot pattern is switched to;
6th connection unit, suitable for establishing connection with other described intelligent sockets when switching to the wireless access dot pattern;
Second wireless transmit/receive units are further adapted for when establishing connection with other described intelligent sockets, by the wireless network Configuration information be sent to other described intelligent sockets, other described intelligent sockets are suitable for matching confidence using the wireless network Breath connects the wireless network.
16. intelligent socket according to claim 14, which is characterized in that
Second wireless transmit/receive units are further adapted for after the pairing designated lane with the radio network gateway establishes connection, will Identity information is sent to the radio network gateway;Receive the institute that the radio network gateway is sent when being verified to the identity information State the configuration information of wireless network.
17. intelligent socket according to claim 14, which is characterized in that the second detection unit is suitable for passing through following One determination intelligent socket enters pairing mode:
Detect that the intelligent socket is powered;
Detect that the time that the pairing button of the intelligent socket is pressed reaches preset time threshold;
Detect that the numerical value stored in the paring registers in the intelligent socket is preset numerical value.
18. a kind of radio network gateway characterized by comprising
7th connection unit, suitable for establishing connection with intelligent socket when receiving the connection request of intelligent socket;
Third wireless transmit/receive units, suitable for receiving the configuration information for the pairing designated lane that the intelligent socket is sent;
First storage unit, suitable for storing the configuration information of the pairing designated lane;
Comparing unit, suitable for by the pairing designated lane that is stored with itself of configuration information of received pairing designated lane match Confidence breath compares;
Second storage unit, suitable for storing the configuration information of the wireless network;
The third wireless transmit/receive units, be further adapted for when determine institute it is received pairing designated lane configuration information it is correct when, general The configuration information of the Wi-Fi is sent to the intelligent socket, and the intelligent socket is suitable for using the wireless network obtained Configuration information connects the wireless network.
19. radio network gateway according to claim 18, which is characterized in that further include:
Identity authenticating unit is authenticated suitable for the identity information to the intelligent socket;
The third wireless transmit/receive units are further adapted for establishing in the pairing designated lane of the intelligent socket and the radio network gateway After connection, the identity information that the intelligent socket is sent is received;And when certification passes through, the wireless network is matched into confidence Breath is sent to the intelligent socket.
20. a kind of network connection system of intelligent socket, which is characterized in that including the described in any item intelligence of claim 10-13 It can socket and the first equipment.
21. the network connection system of intelligent socket according to claim 20, which is characterized in that first equipment is to move Dynamic terminal.
22. a kind of network connection system of intelligent socket, which is characterized in that including the described in any item intelligence of claim 14-17 It can radio network gateway described in socket and claim 18-19.
CN201510429211.1A 2015-07-20 2015-07-20 Intelligent socket and method for connecting network and system, radio network gateway and matching method Active CN105099839B (en)

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 CN105099839A (en) 2015-11-25
CN105099839B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
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
CN106211264B (en) * 2016-07-11 2018-07-31 九阳股份有限公司 A kind of household electrical appliances distribution method and device
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
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
US11963282B2 (en) * 2022-07-03 2024-04-16 Aeki Intellectual Holdings, Llc Ad-hoc lighting network and method of deployment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010519787A (en) * 2007-01-19 2010-06-03 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Smart installation
JP5970547B2 (en) * 2011-07-14 2016-08-17 ジョンソン コントロールズ テクノロジー カンパニーJohnson Controls Technology Company System and method for providing network-based content to an in-vehicle telematics system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105099839A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105099839B (en) Intelligent socket and method for connecting network and system, radio network gateway and matching method
US9699789B2 (en) Mobile apparatus for generating beacon signal and service method using the same
CN107110965B (en) Method, digital tool, device and system for detecting movement of an object
US9928670B2 (en) Method and system for access control monitoring
CN106878933B (en) Bluetooth device networking method and system
US11361060B1 (en) Home automation system supporting dual-authentication
TWI628972B (en) Method and apparatus for matching a wireless device
CN105306318B (en) intelligent scene configuration method, device and server
CN106412803A (en) Terminal, ZigBee device, gateway, ZigBee device network configuration system and method
CN105144023A (en) Waking other devices for additional data
CN104301891A (en) Method and system for interconnecting intelligent device and WiFi router
US20180224812A1 (en) Household appliance control method and device, and central processing device
CN105721422A (en) Method And Apparatus For Supporting Facility Control Of Terminal
CN205067996U (en) Intelligence house management device
CN105392182B (en) The setting method and system of the network configuration information of WIFI equipment
CN104320479B (en) The control method of controlled plant and the control system of controlled plant
CN105960027A (en) ZigBee network networking method and ZigBee coordinator
CN107592246A (en) A kind of data processing method and device
CN105049599B (en) A kind of intelligent call method and apparatus
CN106772249A (en) A kind of intelligent home control system based on acoustic location
CN105916187B (en) Intelligent appliance equipment, terminal and intelligent appliance equipment distribution network systems
US10964200B2 (en) Anti-theft method and apparatus
CN112352408A (en) Intruder detection method and device
CN104918338A (en) Pairing method, pairing device, pairing system and terminal equipment
CN105792237B (en) A kind of SOT state of termination monitoring method and device

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