Intelligent domestic gateway network collocating method and intelligent domestic systemTechnical field
The present invention relates to Smart Home technical field, be specifically related to a kind of intelligent domestic gateway network collocating method and intelligent domestic system.
Background technology
Smart Home technology is the product that technology of Internet of things incorporates Home Fashion & Design Shanghai, based on Internet of Things thought, Smart Home technology tries hard to activate the various equipment (such as video signal and sound system, illuminator, air-conditioning system, safety-protection system, computer equipment, security system, heating installation and cold gas system etc.) of life staying idle at home, this kind equipment is also referred to as intelligent home device, be equipped with sensor and intelligent home device connects by communication network, thus intelligent home device and domestic environment are combined into intelligent domestic system behave used.
Along with the development of Smart Home technology, the kind of intelligent home device gets more and more.Owing to lacking relevant industry standard and technical standard, the scheme that the manufacturer of many manufacturing intelligence home equipments adopts intelligent home device directly to connect Wireless Fidelity (Wi-Fi, Wireless-Fidelity) network allows intelligent home device accessing Internet.But wireless router is not the equipment being specifically designed to intelligent home device access, its major function is on-premise network environment, therefore network environment can be caused by intelligent home device carry simply under wireless router unstable, and intelligent domestic system also can be unstable.
Therefore, current use intelligent domestic gateway carrys out concrete management intelligent home device, intelligent home device only need be connected with intelligent domestic gateway, intelligent domestic gateway only as a network equipment carry under wireless router, thus significantly reduce service quality (QoS, the QualityofService) burden of wireless router.Intelligent domestic gateway needs first connecting Internet to complete network configuration can provide service for intelligent home device.
At present, intelligent domestic gateway network configuration scheme is as follows:
S1. after intelligent domestic gateway powers on, as a Wi-Fi Hotspot broadcast wireless networks signal;
S2. user uses mobile terminal to access this Wi-Fi Hotspot, establishes a communications link with this intelligent domestic gateway;
S3. user uses mounted application-specific (i.e. App) on mobile terminal, search for available wireless network, select a target radio network, if this target radio network needs to connect password, then user is by the connection password of this target radio network of prompting input;
S4. restart intelligent domestic gateway, access this target radio network to make intelligent domestic gateway;
In above-mentioned intelligent home network configuration flow, because user needs first to use mobile terminal to connect the focus of intelligent domestic gateway as Wi-Fi source, therefore, if this mobile terminal has accessed certain wireless network before this, after then user needs first to disconnect the wireless network that this mobile terminal connects, the Wi-Fi Hotspot that intelligent domestic gateway provides can be accessed, in addition, user by mobile terminal after the Wi-Fi Hotspot that provides of access intelligent domestic gateway, also needing to operate this intelligent domestic gateway by this mobile terminal selects an available wireless network as target radio network, last indicating intelligent home gateway restarts this Target Wireless focus of rear access, whole intelligent home network configuration flow operation is complicated, add user and use difficulty.
Summary of the invention
The invention provides a kind of intelligent domestic gateway network collocating method and intelligent domestic system, for simplified intelligent household network configuration flow, reduce the use difficulty of user.
First aspect present invention provides a kind of intelligent domestic gateway network collocating method, comprising:
The service set (SSID, ServiceSetIdentifier) of the current wireless router accessed of the above-mentioned mobile terminal of acquisition for mobile terminal;
The wireless network of the above-mentioned wireless router of above-mentioned acquisition for mobile terminal connects password (i.e. Wi-Fi password);
Above-mentioned mobile terminal sends broadcasting instructions to above-mentioned wireless router, and the above-mentioned SSID that above-mentioned broadcasting instructions comprises acquisition is connected password with above-mentioned wireless network;
Above-mentioned wireless router is radio network connection message under the instruction of above-mentioned broadcasting instructions, and wherein, above-mentioned network connection information comprises: above-mentioned SSID is connected password with above-mentioned wireless network;
Intelligent domestic gateway receives and identifies above-mentioned network connection information, obtains above-mentioned SSID and be connected password with above-mentioned wireless network from above-mentioned network connection information;
Above-mentioned intelligent domestic gateway is connected password based on the above-mentioned SSID obtained with above-mentioned wireless network, accesses above-mentioned wireless router.
Based on first aspect present invention, in the implementation that the first is possible, the wireless network of the above-mentioned wireless router of above-mentioned acquisition for mobile terminal connects password, also comprises before:
Above-mentioned mobile terminal shows above-mentioned SSID, Password Input frame and confirms to add control on same interface;
The wireless network of the above-mentioned wireless router of above-mentioned acquisition for mobile terminal connects password and is specially:
When control triggering is added in above-mentioned confirmation, the wireless network that above-mentioned mobile terminal obtains above-mentioned wireless router from above-mentioned Password Input frame connects password.
Based on the first possible implementation of first aspect present invention, in the implementation that the second is possible, above-mentioned intelligent domestic gateway is connected password based on the above-mentioned SSID obtained with above-mentioned wireless network, accesses above-mentioned wireless router, comprising:
If above-mentioned intelligent domestic gateway cannot successfully access above-mentioned wireless router, then above-mentioned intelligent domestic gateway exports the warning information of instruction access failure.
Based on first aspect present invention, or the first possible implementation of first aspect present invention, or the implementation that the second of first aspect present invention is possible, in the implementation that the third is possible, above-mentioned network connection information also comprises following information: the length information of lead code, Indication message content total length, initial code, space code and end code;
Above-mentioned wireless router is radio network connection message under the instruction of above-mentioned broadcasting instructions, comprising:
Under the instruction of above-mentioned broadcasting instructions, broadcast them lead code, above-mentioned length information, above-mentioned initial code, above-mentioned SSID, above-mentioned space code, above-mentioned wireless network connect password and above-mentioned end code to above-mentioned wireless router successively;
Above-mentioned intelligent domestic gateway receives and identifies above-mentioned network connection information, obtains above-mentioned SSID and is connected password with above-mentioned wireless network, comprising from above-mentioned network connection information:
Above-mentioned intelligent domestic gateway receives and identifies the above-mentioned lead code of above-mentioned network connection information, enters the preparation receiving above-mentioned SSID and be connected password with above-mentioned wireless network;
Above-mentioned intelligent domestic gateway receives and identifies the above-mentioned length information of above-mentioned network connection information, and receives the remaining information of above-mentioned network connection information based on above-mentioned length information;
Information between above-mentioned initial code and above-mentioned space code is identified as above-mentioned SSID by above-mentioned intelligent domestic gateway, and the information between above-mentioned space code and above-mentioned end code is identified as above-mentioned wireless network connection password.
Based on the third possible implementation of first aspect present invention, in the 4th kind of possible implementation, above-mentioned wireless router is radio network connection message under the instruction of above-mentioned broadcasting instructions, comprising:
In the process of broadcast them network connection information, a high position for 16 system numbers corresponding to each character and low level are sent at twice by first high rear low order.
Second aspect present invention provides a kind of intelligent domestic system, comprising:
The wireless router that mobile terminal, above-mentioned mobile terminal be current have been accessed and intelligent domestic gateway;
Above-mentioned mobile terminal is used for: the SSID obtaining above-mentioned wireless router; The wireless network obtaining above-mentioned wireless router connects password; Send broadcasting instructions to above-mentioned wireless router, the above-mentioned SSID that above-mentioned broadcasting instructions comprises acquisition is connected password with above-mentioned wireless network;
Above-mentioned wireless router is used for: radio network connection message under the instruction of above-mentioned broadcasting instructions, and wherein, above-mentioned network connection information comprises: above-mentioned SSID is connected password with above-mentioned wireless network;
Above-mentioned intelligent domestic gateway is used for: receive and identify above-mentioned network connection information, obtains above-mentioned SSID and be connected password with above-mentioned wireless network from above-mentioned network connection information; Be connected password based on the above-mentioned SSID obtained with above-mentioned wireless network, access above-mentioned wireless router.
Based on second aspect present invention, in the implementation that the first is possible, above-mentioned mobile terminal also for: show on same interface above-mentioned SSID, Password Input frame and confirm add control;
Above-mentioned mobile terminal specifically for: when above-mentioned confirmation add control trigger time, the wireless network obtaining above-mentioned wireless router from above-mentioned Password Input frame connects password.
Based on the first possible implementation of second aspect present invention, in the implementation that the second is possible, above-mentioned intelligent domestic gateway also for: when above-mentioned intelligent domestic gateway successfully cannot access above-mentioned wireless router, export instruction access failure warning information.
Based on second aspect present invention, or the first possible implementation of second aspect present invention, or the implementation that the second of second aspect present invention is possible, in the implementation that the third is possible, above-mentioned network connection information also comprises following information: the length information of lead code, Indication message content total length, initial code, space code and end code;
Above-mentioned wireless router specifically for: under the instruction of above-mentioned broadcasting instructions, broadcast them lead code, above-mentioned length information, above-mentioned initial code, above-mentioned SSID, above-mentioned space code, above-mentioned wireless network connect password and above-mentioned end code successively;
Above-mentioned intelligent domestic gateway, specifically for the above-mentioned lead code receiving and identifying above-mentioned network connection information, enters the preparation receiving above-mentioned SSID and to be connected password with above-mentioned wireless network; Receive and identify the above-mentioned length information of above-mentioned network connection information, and receive the remaining information of above-mentioned network connection information based on above-mentioned length information; Information between above-mentioned initial code and above-mentioned space code is identified as above-mentioned SSID, and the information between above-mentioned space code and above-mentioned end code is identified as above-mentioned wireless network connection password.
Based on the third possible implementation of second aspect present invention, in the 4th kind of possible implementation, above-mentioned wireless router specifically for: in the process of broadcast them network connection information, a high position for 16 system numbers corresponding to each character and low level are sent at twice by low order after first high.
Therefore, the present invention is connected password by the SSID of the current wireless router accessed of acquisition for mobile terminal with wireless network, and trigger this wireless router radio network connection message, make intelligent domestic gateway can automatic reception identify this network connection information, and be connected password based on the SSID comprised in this network connection information with wireless network and access this wireless router, the network configuration of this intelligent domestic gateway is completed with this, on the one hand, user removes to access without the need to the wireless network disconnecting mobile terminal and connected the Wi-Fi Hotspot that intelligent domestic gateway provides, on the other hand, user is also without the need to restarting to access an available wireless network by mobile terminal operative intelligence home gateway, relative to traditional intelligent domestic gateway allocation plan, intelligent home network configuration flow of the present invention more simplifies, significantly reduce the use difficulty of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is intelligent domestic gateway network collocating method one embodiment schematic flow sheet provided by the invention;
Fig. 2 is another embodiment schematic flow sheet of intelligent domestic gateway network collocating method provided by the invention;
Fig. 3 is intelligent domestic system one example structure schematic diagram provided by the invention.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, and not all embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Refer to Fig. 1, the intelligent domestic gateway network collocating method in the embodiment of the present invention comprises:
101, the SSID of the current wireless router accessed of this mobile terminal of acquisition for mobile terminal;
In the embodiment of the present invention, mobile terminal is accessed a wireless router by user in advance, makes this mobile terminal can connect upper available wireless network by this wireless router.When user triggers the intelligent domestic gateway network configuration flow process of the embodiment of the present invention by this mobile terminal, the SSID of the current wireless router accessed of this mobile terminal of this acquisition for mobile terminal, because this mobile terminal current has accessed this wireless router, and the SSID of wireless router is the title of current the connected wireless network of this mobile terminal, therefore, mobile terminal can according to the SSID of the current wireless router accessed of this mobile terminal of wireless network connection state automatic acquisition of current this locality.
In the embodiment of the present invention, the intelligent domestic gateway network configuration flow process of the embodiment of the present invention can be triggered by starting mounted related application on this mobile terminal.
102, the wireless network of the above-mentioned wireless router of above-mentioned acquisition for mobile terminal connects password;
In a kind of application scenarios, because mobile terminal has accessed this wireless router, therefore, this mobile terminal can obtain the wireless network connection password of the current wireless router accessed of this mobile terminal according to the wireless network connection state of current this locality.
In another kind of application scenarios, this mobile terminal SSID that step display 101 gets on same interface, control (such as " confirming to add " button) is added in Password Input frame and confirmation, so that user can view the SSID of current the connected wireless network of this mobile terminal on the surface, and connect password by this Password Input frame input wireless network, and the execution of control triggered step 102 is added by this confirmation, step 102 is specially: when control triggering is added in above-mentioned confirmation, the wireless network that above-mentioned mobile terminal obtains above-mentioned wireless router from above-mentioned Password Input frame connects password.Illustrate, control is added in this mobile terminal SSID that step display 101 gets on same interface, Password Input frame and confirmation, user inputs known wireless network and connects password (such as 123456) in this Password Input frame, when user triggers this confirmation interpolation control (when such as clicking " confirming to add " button), this mobile terminal obtains wireless network connection password (such as 123456) of user's input from above-mentioned Password Input frame.
Certainly, in the embodiment of the present invention, mobile terminal also can obtain the wireless network connection password of above-mentioned wireless router by alternate manner, is not construed as limiting herein.
103, above-mentioned mobile terminal sends broadcasting instructions to above-mentioned wireless router;
Wherein, the SSID that above-mentioned broadcasting instructions comprises step 101 acquisition is connected password with the wireless network that step 102 obtains.
In step 103, mobile terminal sends above-mentioned broadcasting instructions to above-mentioned wireless router, to indicate the action in above-mentioned wireless router execution step 104 by this broadcasting instructions.
104, above-mentioned wireless router radio network connection message under the instruction of above-mentioned broadcasting instructions;
Wherein, above-mentioned network connection information comprises: the SSID that step 101 obtains is connected password with the wireless network that step 102 obtains.
In the embodiment of the present invention, when above-mentioned wireless router receives the broadcasting instructions from above-mentioned mobile terminal, above-mentioned wireless router under the instruction of above-mentioned broadcasting instructions with preset broadcast mode radio network connection message.Particularly, above-mentioned wireless router broadcasts this network connection information by User Datagram Protoco (UDP) (UDP, UserDatagramProtocol).
105, intelligent domestic gateway receives and identifies above-mentioned network connection information, and the SSID obtaining above-mentioned wireless router from above-mentioned network connection information is connected password with wireless network;
In the embodiment of the present invention, the broadcast mode of the known above-mentioned wireless router broadcast them network connection information of intelligent domestic gateway, by receiving and identifying the network connection information of above-mentioned wireless router broadcast, the SSID (i.e. the SSID of step 101 acquisition) therefrom obtaining above-mentioned wireless router is connected password (wireless network that namely step 102 obtains connects password) with wireless network.
106, above-mentioned intelligent domestic gateway is connected password based on the above-mentioned SSID obtained with above-mentioned wireless network, accesses above-mentioned wireless router.
In the embodiment of the present invention, when above-mentioned intelligent domestic gateway obtains after SSID is connected password with wireless network from above-mentioned network connection information, above-mentioned intelligent domestic gateway uses the wireless network got to connect the wireless network that password accesses above-mentioned SSID instruction, to access above-mentioned wireless router.When above-mentioned intelligent domestic gateway successfully accesses above-mentioned wireless router, also namely complete the network configuration of above-mentioned intelligent domestic gateway, and now above-mentioned intelligent domestic gateway and above-mentioned mobile terminal are also in same wireless network.
In order to improve Information Security, alternatively, at step 104, above-mentioned wireless router is encrypted with the network connection information of the cipher mode preset to broadcast, in step 105, above-mentioned intelligent domestic gateway is decrypted the network connection information received with corresponding manner of decryption.
Optionally, in step 106, if intelligent domestic gateway successfully cannot access above-mentioned wireless router, (such as because of above-mentioned intelligent domestic gateway, to connect password at the wireless network that uses of the above-mentioned wireless router of access wrong, and cause above-mentioned intelligent domestic gateway cannot successfully access above-mentioned wireless router), then above-mentioned intelligent domestic gateway can export the warning information of instruction access failure, so that user triggers the intelligent domestic gateway network configuration flow process of the embodiment of the present invention again.Further, in step 106, if intelligent domestic gateway successfully accesses above-mentioned wireless router, then above-mentioned intelligent domestic gateway also can export the successful feedback information of instruction access, knows that above-mentioned intelligent domestic gateway successfully accesses above-mentioned wireless router to make user.
It should be noted that, the mobile terminal in the embodiment of the present invention is specifically as follows the intelligent terminals such as smart mobile phone, panel computer, palm PC.
Therefore, the present invention is connected password by the SSID of the current wireless router accessed of acquisition for mobile terminal with wireless network, and trigger this wireless router radio network connection message, make intelligent domestic gateway can automatic reception identify this network connection information, and be connected password based on the SSID comprised in this network connection information with wireless network and access this wireless router, the network configuration of this intelligent domestic gateway is completed with this, on the one hand, user removes to access without the need to the wireless network disconnecting mobile terminal and connected the Wi-Fi Hotspot that intelligent domestic gateway provides, on the other hand, user is also without the need to restarting to access an available wireless network by mobile terminal operative intelligence home gateway, relative to traditional intelligent domestic gateway allocation plan, intelligent home network configuration flow of the present invention more simplifies, significantly reduce the use difficulty of user.
Embodiment two
The difference of the embodiment of the present invention and embodiment one is, describe the concrete mode of one of wireless router radio network connection message in the embodiment of the present invention, refer to Fig. 2, the intelligent domestic gateway network collocating method in the embodiment of the present invention comprises:
201, the SSID of the current wireless router accessed of this mobile terminal of acquisition for mobile terminal;
In the embodiment of the present invention, mobile terminal is accessed a wireless router by user in advance, makes this mobile terminal can connect upper available wireless network by this wireless router.When user triggers the intelligent domestic gateway network configuration flow process of the embodiment of the present invention by this mobile terminal, the SSID of the current wireless router accessed of this mobile terminal of this acquisition for mobile terminal, because this mobile terminal current has accessed this wireless router, and the SSID of wireless router is the title of current the connected wireless network of this mobile terminal, therefore, mobile terminal can according to the SSID of the current wireless router accessed of this mobile terminal of wireless network connection state automatic acquisition of current this locality.
In the embodiment of the present invention, the intelligent domestic gateway network configuration flow process of the embodiment of the present invention can be triggered by starting mounted related application on this mobile terminal.
202, the wireless network of the above-mentioned wireless router of above-mentioned acquisition for mobile terminal connects password;
In a kind of application scenarios, because mobile terminal has accessed this wireless router, therefore, this mobile terminal can obtain the wireless network connection password of the current wireless router accessed of this mobile terminal according to the wireless network connection state of current this locality.
In another kind of application scenarios, this mobile terminal SSID that step display 201 gets on same interface, control (such as " confirming to add " button) is added in Password Input frame and confirmation, so that user can view the SSID of current the connected wireless network of this mobile terminal on the surface, and connect password by this Password Input frame input wireless network, and the execution of control triggered step 202 is added by this confirmation, step 202 is specially: when control triggering is added in above-mentioned confirmation, the wireless network that above-mentioned mobile terminal obtains above-mentioned wireless router from above-mentioned Password Input frame connects password.Illustrate, control is added in this mobile terminal SSID that step display 201 gets on same interface, Password Input frame and confirmation, user inputs known wireless network and connects password (such as 123456) in this Password Input frame, when user triggers this confirmation interpolation control (when such as clicking " confirming to add " button), this mobile terminal obtains wireless network connection password (such as 123456) of user's input from above-mentioned Password Input frame.
Certainly, in the embodiment of the present invention, mobile terminal also can obtain the wireless network connection password of above-mentioned wireless router by alternate manner, is not construed as limiting herein.
203, above-mentioned mobile terminal sends broadcasting instructions to above-mentioned wireless router;
Wherein, the SSID that above-mentioned broadcasting instructions comprises step 201 acquisition is connected password with the wireless network that step 202 obtains.
In step 203, mobile terminal sends above-mentioned broadcasting instructions to above-mentioned wireless router, to indicate the action in above-mentioned wireless router execution step 204 by this broadcasting instructions.
204, the length information of the lead code of above-mentioned wireless router under the instruction of above-mentioned broadcasting instructions successively in radio network connection message, Indication message content total length, initial code, above-mentioned SSID, space code, above-mentioned wireless network connect password and end code;
In the embodiment of the present invention, above-mentioned wireless router is radio network connection message under the instruction of above-mentioned broadcasting instructions, this network connection information, except after the SSID comprising step 201 and obtain is connected password with the wireless network that step 202 obtains, also comprises following information: the length information of lead code, Indication message content total length, initial code, space code and end code.
Optionally, in the process of broadcast them network connection information, a high position for 16 system numbers corresponding to each character and low level send by first high rear low order by above-mentioned wireless router at twice, such as, and carriage return/r==0x0D, a high position is 0, low level is D, adds sequence number to show differentiation, first sends out a high position and sends out low level again, namely be first 0x10 in example, then send out 0x2D.
Particularly, the message content total length indicated by above-mentioned length information equals the length of above-mentioned SSID, above-mentioned wireless network connects the length of password and the length summation in M space, and wherein, M is preset value, and such as M can be set to 3; Certainly, the length that the message content total length indicated by above-mentioned length information also only can equal above-mentioned SSID is connected the length summation of password with above-mentioned wireless network.
Optionally, above-mentioned wireless router can broadcast preamble code in the following way: each data sending a byte, send out N time altogether, wherein, N is preset value, and such as N can be set to 5.
Optionally, using the carriage return character (i.e. "/r ") as above-mentioned initial code, above-mentioned space code and above-mentioned end code.Certainly, in the embodiment of the present invention also can using other symbol as above-mentioned initial code, above-mentioned space code and above-mentioned end code, and above-mentioned initial code, above-mentioned space code and above-mentioned end code can be same-sign, also can be different, are not construed as limiting herein.
205, intelligent domestic gateway receives and identifies the above-mentioned lead code of above-mentioned network connection information, enters the preparation receiving above-mentioned SSID and be connected password with above-mentioned wireless network.
206, above-mentioned intelligent domestic gateway receives and identifies the above-mentioned length information of above-mentioned network connection information, and receives the remaining information of above-mentioned network connection information based on above-mentioned length information;
The remaining information of above-mentioned network connection information comprises: above-mentioned initial code, above-mentioned SSID, above-mentioned space code, above-mentioned wireless network connect password and above-mentioned end code.
207, the information between above-mentioned initial code and above-mentioned space code is identified as SSID by above-mentioned intelligent domestic gateway, and the information between above-mentioned space code and above-mentioned end code is identified as wireless network connection password;
Illustrate, if using the carriage return character (i.e. "/r ") as above-mentioned initial code, above-mentioned space code and above-mentioned end code, then the information between recognize first carriage return character and second carriage return character is identified as SSID by above-mentioned intelligent domestic gateway, the information between recognize second carriage return character and the 3rd carriage return character is identified as wireless network and connects password.
208, above-mentioned intelligent domestic gateway is connected password based on the above-mentioned SSID obtained with above-mentioned wireless network, accesses above-mentioned wireless router;
In the embodiment of the present invention, above-mentioned intelligent domestic gateway is connected password based on the SSID that step 207 gets with wireless network and accesses above-mentioned wireless router.
In the embodiment of the present invention, when above-mentioned intelligent domestic gateway obtains after SSID is connected password with wireless network from above-mentioned network connection information, above-mentioned intelligent domestic gateway uses the wireless network got to connect the wireless network that password accesses above-mentioned SSID instruction, to access above-mentioned wireless router.When above-mentioned intelligent domestic gateway successfully accesses above-mentioned wireless router, also namely complete the network configuration of above-mentioned intelligent domestic gateway, and now above-mentioned intelligent domestic gateway and above-mentioned mobile terminal are also in same wireless network.
Optionally, in a step 208, if intelligent domestic gateway successfully cannot access above-mentioned wireless router, (such as because of above-mentioned intelligent domestic gateway, to connect password at the wireless network that uses of the above-mentioned wireless router of access wrong, and cause above-mentioned intelligent domestic gateway cannot successfully access above-mentioned wireless router), then above-mentioned intelligent domestic gateway can export the warning information of instruction access failure, so that user triggers the intelligent domestic gateway network configuration flow process of the embodiment of the present invention again.Further, in a step 208, if intelligent domestic gateway successfully accesses above-mentioned wireless router, then above-mentioned intelligent domestic gateway also can export the successful feedback information of instruction access, knows that above-mentioned intelligent domestic gateway successfully accesses above-mentioned wireless router to make user.
It should be noted that, the mobile terminal in the embodiment of the present invention is specifically as follows the intelligent terminals such as smart mobile phone, panel computer, palm PC.
Therefore, the present invention is connected password by the SSID of the current wireless router accessed of acquisition for mobile terminal with wireless network, and trigger this wireless router radio network connection message, make intelligent domestic gateway can automatic reception identify this network connection information, and be connected password based on the SSID comprised in this network connection information with wireless network and access this wireless router, the network configuration of this intelligent domestic gateway is completed with this, on the one hand, user removes to access without the need to the wireless network disconnecting mobile terminal and connected the Wi-Fi Hotspot that intelligent domestic gateway provides, on the other hand, user is also without the need to restarting to access an available wireless network by mobile terminal operative intelligence home gateway, relative to traditional intelligent domestic gateway allocation plan, intelligent home network configuration flow of the present invention more simplifies, significantly reduce the use difficulty of user.
Embodiment three
The embodiment of the present invention provides a kind of intelligent domestic system, refers to Fig. 3, and the intelligent domestic system in the embodiment of the present invention comprises: the wireless router 302 that mobile terminal 301, mobile terminal 301 be current have been accessed and intelligent domestic gateway 303.
Mobile terminal 301 for: obtain the SSID of wireless router 302; The wireless network obtaining wireless router 302 connects password; Send broadcasting instructions to wireless router 302, the above-mentioned SSID that above-mentioned broadcasting instructions comprises acquisition is connected password with above-mentioned wireless network;
Wireless router 302 is under the instruction of above-mentioned broadcasting instructions radio network connection message, and wherein, above-mentioned network connection information comprises: above-mentioned SSID is connected password with above-mentioned wireless network;
Intelligent domestic gateway 303 for: receive and identify above-mentioned network connection information, from above-mentioned network connection information, obtain above-mentioned SSID be connected password with above-mentioned wireless network; Password is connected with above-mentioned wireless network, access wireless router 302 based on the above-mentioned SSID obtained.
Optionally, mobile terminal 301 also for: show on same interface above-mentioned SSID, Password Input frame and confirm add control; Mobile terminal 301 specifically for: when above-mentioned confirmation add control trigger time, the wireless network obtaining wireless router 302 from above-mentioned Password Input frame connects password.
Optionally, intelligent domestic gateway 303 also for: when intelligent domestic gateway 303 successfully cannot access wireless router 302, export instruction access failure warning information.
Optionally, above-mentioned network connection information also comprises following information: the length information of lead code, Indication message content total length, initial code, space code and end code; Wireless router 302 specifically for: under the instruction of above-mentioned broadcasting instructions, broadcast them lead code, the length information of above-mentioned Indication message content total length, above-mentioned initial code, above-mentioned SSID, above-mentioned space code, above-mentioned wireless network connect password and above-mentioned end code successively; Intelligent domestic gateway 303, specifically for the above-mentioned lead code receiving and identifying above-mentioned network connection information, enters the preparation receiving above-mentioned SSID and to be connected password with above-mentioned wireless network; Receive and identify the above-mentioned length information of above-mentioned network connection information, and receive the remaining information of above-mentioned network connection information based on above-mentioned length information; Information between above-mentioned initial code and above-mentioned space code is identified as institute SSID, and the information between above-mentioned space code and above-mentioned end code is identified as above-mentioned wireless network connection password.
Optionally, wireless router 302 specifically for: in the process of broadcast them network connection information, a high position for 16 system numbers corresponding to each character and low level are sent at twice by low order after first high.
It should be noted that, the mobile terminal 301 in the embodiment of the present invention, wireless router 302 and intelligent domestic gateway 303 can respectively as embodiment one or above-mentioned mobile terminal, wireless router and the intelligent domestic gateways of embodiment two.May be used for realizing the whole technical schemes in above-described embodiment one or embodiment two, the function of its each functional module can according to the method specific implementation in above-described embodiment one, its specific implementation process can refer to the associated description in above-described embodiment one, repeats no more herein.
Therefore, the present invention is connected password by the SSID of the current wireless router accessed of acquisition for mobile terminal with wireless network, and trigger this wireless router radio network connection message, make intelligent domestic gateway can automatic reception identify this network connection information, and be connected password based on the SSID comprised in this network connection information with wireless network and access this wireless router, the network configuration of this intelligent domestic gateway is completed with this, on the one hand, user removes to access without the need to the wireless network disconnecting mobile terminal and connected the Wi-Fi Hotspot that intelligent domestic gateway provides, on the other hand, user is also without the need to restarting to access an available wireless network by mobile terminal operative intelligence home gateway, relative to traditional intelligent domestic gateway allocation plan, intelligent home network configuration flow of the present invention more simplifies, significantly reduce the use difficulty of user.
In several embodiments that the application provides, should be understood that disclosed system and method can realize by another way.It should be noted that, for aforesaid embodiment one and embodiment two, in order to easy description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be all that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiment.
It is more than the description to a kind of intelligent domestic gateway network collocating method provided by the present invention and intelligent domestic system, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.