CN106453011A - Network connection method for intelligent home device and intelligent home gateway - Google Patents

Network connection method for intelligent home device and intelligent home gateway Download PDF

Info

Publication number
CN106453011A
CN106453011A CN201611086029.1A CN201611086029A CN106453011A CN 106453011 A CN106453011 A CN 106453011A CN 201611086029 A CN201611086029 A CN 201611086029A CN 106453011 A CN106453011 A CN 106453011A
Authority
CN
China
Prior art keywords
intelligent
home device
domestic gateway
intelligent home
intelligent domestic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611086029.1A
Other languages
Chinese (zh)
Other versions
CN106453011B (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.)
Hisense Group Co Ltd
Original Assignee
Hisense 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201611086029.1A priority Critical patent/CN106453011B/en
Publication of CN106453011A publication Critical patent/CN106453011A/en
Application granted granted Critical
Publication of CN106453011B publication Critical patent/CN106453011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a network connection method for an intelligent home device and an intelligent home gateway, and belongs to the field of intelligent home. The method comprises the steps of when detecting configuration information of the intelligent home gateway changes, sending a notification message to at least one intelligent home device which establishes a network connection with the intelligent home gateway currently; setting the configuration information of the intelligent home gateway into the changed configuration information; and according to the changed configuration information, reestablishing the network connection with the at least one intelligent home device. Because the notification message is used for notifying the at least one intelligent home device of that the configuration information of the intelligent home gateway changes, when the intelligent home device receives the notification message, the network connection with the intelligent home gateway can be automatically reestablished, and a user does not need to manually start the intelligent home device to establish the network connection with the intelligent home gateway; and thus, the efficiency of the intelligent home device for the network connection is improved.

Description

The method for connecting network of intelligent home device and intelligent domestic gateway
Technical field
The present invention relates to smart home field, particularly to a kind of method for connecting network of intelligent home device and intelligent family Occupy gateway.
Background technology
With the fast development of smart home, increasing intelligent home device enters huge numbers of families, such as intelligence electricity Depending on, intelligent air condition, intelligent camera first-class.In order to play the function of intelligent home device to greatest extent, need smart home Equipment connects to network.
Because intelligent domestic gateway can connect as intelligent home device to the medium of network, therefore, work as smart home When equipment carries out network connection, intelligent home device sends network connecting request to intelligent domestic gateway, works as intelligent domestic gateway When receiving the network connecting request that intelligent home device sends, distribute the network of its place LAN for this intelligent home device Address, and this network address is sent to this intelligent home device.Intelligent home device after receiving this network address, according to This network address and intelligent domestic gateway set up network connection.
However, after intelligent home device sets up network connection with intelligent domestic gateway, when joining of intelligent domestic gateway When changing, the local net network address of such as this intelligent domestic gateway changes confidence breath, this intelligent home device with Network connection between intelligent domestic gateway may disconnect, at this time, it may be necessary to user manually boots this intelligent home device, to touch Send out this intelligent home device and again set up network connection with intelligent domestic gateway, that is, this intelligent home device needs manually to weigh Open the local net network address of the intelligent domestic gateway after obtaining change, thus reducing intelligent home device to carry out network connection Efficiency.
Content of the invention
In order to solve problem of the prior art, embodiments provide a kind of network connection side of intelligent home device Method and intelligent domestic gateway.Described technical scheme is as follows:
On the one hand, there is provided a kind of method for connecting network of intelligent home device, methods described includes:
When configuration information intelligent domestic gateway is detected changes, set up to current and described intelligent domestic gateway At least one intelligent home device of network connection sends a notification message, and described notification message is used for described intelligent domestic gateway The situation of change of configuration information notifies at least one intelligent home device described, so that at least one intelligent home device described Network connection is re-established with described intelligent domestic gateway according to the configuration information after change;
When at least one intelligent home device described all receives described notification message, by described intelligent domestic gateway Configuration information is set to the configuration information after changing, so that the configuration information after described change comes into force;
According to the configuration information after described change, re-establish the network and at least one intelligent home device described between Connect.
Alternatively, described at least one intelligent home device setting up network connection to current and described intelligent domestic gateway Before sending a notification message, also include:
Detect whether the dynamic host configuration protocol DHCP service of described intelligent domestic gateway is arranged to disable;
When described DHCP service is arranged to disabling, generate information, described information is used for prompting described DHCP service be arranged to disabling after, at least one intelligent home device described cannot set up with described intelligent domestic gateway it Between network connection;
When cancellation disabling setting instruction is received according to described information, cancel the disabling to described DHCP service and set Put, and execute described transmission to current at least one intelligent home device setting up network connection with described intelligent domestic gateway and lead to The step knowing message.
Alternatively, described at least one intelligent home device setting up network connection to current and described intelligent domestic gateway Before sending a notification message, also include:
Close the DHCP service of described intelligent domestic gateway;
Correspondingly, described according to described change after configuration information, re-establish and set with least one smart home described Network connection between standby, including:
Open the DHCP service of described intelligent domestic gateway;
When receiving the network connecting request that at least one intelligent home device described sends, after described change Configuration information, by the DHCP service of described intelligent domestic gateway, re-establish with least one intelligent home device described it Between network connection.
Alternatively, described according to described change after configuration information, re-establish and set with least one smart home described Network connection between standby, including:
Send the reconstruction message of network connection at least one intelligent home device described, make at least one intelligent family described The equipment that occupies sends network connecting request to re-start network connection to described intelligent domestic gateway;
When receiving the network connecting request that at least one intelligent home device described sends, after described change Configuration information, by the DHCP service of described intelligent domestic gateway, re-establish with least one intelligent home device described it Between network connection.
Alternatively, described at least one intelligent home device setting up network connection to current and described intelligent domestic gateway Send a notification message, including:
When the network address range of the DHCP service that the configuration information of described intelligent domestic gateway includes changes, from Network address range at least one intelligent home device described, after selecting the network address to be not belonging to described DHCP service change Intelligent home device;
Send described notification message to the intelligent home device selecting.
On the other hand, there is provided a kind of intelligent domestic gateway, described intelligent domestic gateway includes:
Sending module, during for changing when configuration information intelligent domestic gateway is detected, to current and described intelligence At least one intelligent home device that energy home gateway sets up network connection sends a notification message, and described notification message is used for institute The situation of change stating intelligent domestic gateway configuration information notifies to described intelligent home device, so that described intelligent home device root Re-establish network connection according to the configuration information after change with described intelligent domestic gateway;
Setup module, for when at least one intelligent home device described all receives described notification message, will be described The configuration information of intelligent domestic gateway is set to the configuration information after changing, so that the configuration information after described change comes into force;
Set up module, for according to the configuration information after described change, re-establishing and at least one smart home described Network connection between equipment.
Alternatively, described intelligent domestic gateway also includes:
Detection module, whether the dynamic host configuration protocol DHCP service for detecting described intelligent domestic gateway is set For disabling;
Generation module, for when described DHCP service is arranged to disabling, generating information, described information is used In prompting after described DHCP service is arranged to disabling, at least one intelligent home device described cannot be set up and described intelligence Network connection between energy home gateway;
Cancel module, for when cancellation disabling setting instruction is received according to described information, cancelling to described The disabling setting of DHCP service, and execute described at least one intelligence setting up network connection to current and described intelligent domestic gateway The step that energy home equipment sends a notification message.
Alternatively, described intelligent domestic gateway also includes:
Closedown module, for closing the DHCP service of described intelligent domestic gateway;
Correspondingly, described module of setting up includes:
Open unit, for opening the DHCP service of described intelligent domestic gateway;
First sets up unit, for when the network connecting request receiving described at least one intelligent home device transmission When, according to described change after configuration information, by the DHCP service of described intelligent domestic gateway, re-establish with described at least Network connection between one intelligent home device.
Alternatively, described module of setting up includes:
Transmitting element, for sending the reconstruction message of network connection at least one intelligent home device described, makes described At least one intelligent home device sends network connecting request to re-start network connection to described intelligent domestic gateway;
Second sets up unit, for when the network connecting request receiving described at least one intelligent home device transmission When, according to described change after configuration information, by the DHCP service of described intelligent domestic gateway, re-establish with described at least Network connection between one intelligent home device.
Alternatively, described sending module includes:
Select unit, the network address range of the DHCP service for including when the configuration information of described intelligent domestic gateway When changing, from least one intelligent home device described, after selecting the network address to be not belonging to described DHCP service change Network address range intelligent home device;
Transmitting element, for sending described notification message to the intelligent home device selecting.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:In embodiments of the present invention, when detecting When the configuration information of intelligent domestic gateway changes, before this configuration information comes into force, intelligent domestic gateway active is to current At least one intelligent home device setting up network connection with this intelligent domestic gateway sends a notification message.Due to this notification message For notifying the situation of change of intelligent domestic gateway configuration information to intelligent home device, therefore, at least one intelligence when this When home equipment receives this notification message, can be re-established according to the configuration information after the change of this intelligent domestic gateway and be somebody's turn to do Network connection between intelligent domestic gateway, manually boots this intelligent home device without user, to set up and smart home net Network connection between pass, thus improve the efficiency carrying out network connection between intelligent home device and intelligent domestic gateway.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of method for connecting network flow chart of intelligent home device provided in an embodiment of the present invention;
Fig. 2A is a kind of intelligent domestic gateway block diagram provided in an embodiment of the present invention;
Fig. 2 B is another kind intelligent domestic gateway block diagram provided in an embodiment of the present invention;
Fig. 2 C is another kind intelligent domestic gateway block diagram provided in an embodiment of the present invention;
Fig. 2 D is that one kind provided in an embodiment of the present invention sets up module frame chart;
Fig. 2 E is that another kind provided in an embodiment of the present invention sets up module frame chart;
Fig. 2 F is a kind of sending module block diagram provided in an embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiments provide a kind of method for connecting network of intelligent home device, the method is used for smart home net The Central Shanxi Plain, referring to Fig. 1, the method includes:
Step 101:Whether the configuration information of detection intelligent domestic gateway changes.
In embodiments of the present invention, the network address that intelligent home device is is its distribution by intelligent domestic gateway, with This intelligent domestic gateway sets up network connection, that is, intelligent home device is by the DHCP on intelligent domestic gateway (Dynamic Host Configuration Protocol, DHCP) service and intelligent domestic gateway are set up Network connection.For convenience of description, first the function of DHCP service is simply introduced:For the intelligent family based on DHCP service Occupy gateway, when receiving the network connecting request of intelligent home device transmission, intelligent domestic gateway is by the configuration according to itself Information is this intelligent home device dynamically distributes network address, to set up the network connection with this intelligent home device.Thus may be used Know, the network address that intelligent domestic gateway distributes for intelligent home device is related to the configuration information of this intelligent domestic gateway.Cause This, is in embodiments of the present invention, in order to keep the active block between intelligent home device and intelligent domestic gateway to connect, intelligence Home gateway needs to detect whether its configuration information changes, to adopt an effective measure, it is to avoid intelligent home device and intelligence Network connection between energy home gateway disconnects.
Wherein, the configuration information of intelligent domestic gateway includes but is not limited to local net network address, such as IP (Internet Protocol, Internet protocol) address, DNS (Domain Name System, the domain name system) server address of LAN and Network address range of DHCP service etc., and the network address range of DHCP service is the LAN net according to intelligent domestic gateway Network address determines.Intelligent domestic gateway is the network address range for DHCP service for the network address of this intelligent home device distribution The interior network address, intelligent domestic gateway can be IP (Internet for the network address that intelligent home device distributes Protocol, Internet protocol) address etc..
Specifically, intelligent domestic gateway detects whether its configuration information changes, can be real by following two modes Existing.
First kind of way:Whether its configuration information of intelligent domestic gateway real-time detection changes.That is, in smart home It is provided with preset duration, every the time of preset duration, execute its configuration information of one-time detection is intelligent domestic gateway in gateway The no operation changing.
It should be noted that in order that when the configuration information of intelligent domestic gateway changes, intelligent domestic gateway is permissible In time detection changes to its configuration information, and this preset duration should not be long, for example, this preset duration can for 1s, 2s or 5s etc..
The second way:When intelligent domestic gateway detects the modification instruction of the configuration information for intelligent domestic gateway When, judge whether the configuration information of this intelligent domestic gateway changes.
In the second way, whether intelligent domestic gateway changes without its configuration information of real-time detection, but works as When the modification instruction of configuration information for intelligent domestic gateway is detected, then judge whether this configuration information really becomes Change.That is, when user passes through the configuration information of the terminal modifications intelligent domestic gateways such as computer, intelligent domestic gateway will detect To the modification instruction for its configuration information, when intelligent domestic gateway detects this modification instruction, can be specified by running Shell script, judges whether the configuration information of intelligent domestic gateway changes.This specified shell script is used for judging intelligent family Whether the configuration information occupying gateway really changes.Whether the configuration information detecting intelligent domestic gateway by the second way Change, the efficiency that intelligent domestic gateway detects whether configuration information changes can be improved.
It should be noted that in embodiments of the present invention, intelligent domestic gateway is by DHCP service, sets with smart home Standby set up network connection.Therefore when intelligent domestic gateway detects its configuration information and changes, in order to ensure smart home Equipment can re-establish the network connection and this intelligent domestic gateway between, and intelligent domestic gateway also needs to detect DHCP service Whether it is arranged to disable.
Specifically, when intelligent domestic gateway detect this DHCP service be arranged to disabling when, generate information, this carries Show information be used for point out this DHCP service be arranged to disabling after, this at least one intelligent home device then cannot set up with Network connection between intelligent domestic gateway.When cancellation disabling setting instruction is received according to this prompting message, cancel to this The disabling setting of DHCP service, the then operation in execution step 102;When receiving continuation disabling setting instruction, ignore this Prompting message, makes this DHCP service be still set to disable.
In a kind of possible implementation, when generating prompting message, this prompting message also includes intelligent domestic gateway " cancelling disabling " and " continuing disabling " two options, when intelligent domestic gateway is according to this information, detect and are directed to and should " cancel The trigger action of disabling " option, namely when receiving cancellation disabling setting instruction, cancel the disabling to this DHCP service and arrange, Then the operation in execution step 102.When intelligent domestic gateway detects and is directed to the trigger action that should " continue to disable " option, Determine and receive continuation disabling setting instruction, then ignore this prompting message, make this DHCP service be still set to disable.
Step 102:When configuration information intelligent domestic gateway is detected changes, to current and this smart home net At least one intelligent home device that network connection is set up in pass sends a notification message, and this notification message is used for intelligent domestic gateway The situation of change of configuration information notifies to this at least one intelligent home device so that this at least one intelligent home device according to Configuration information after change and intelligent domestic gateway re-establish network connection.
When configuration information intelligent domestic gateway is detected changes, in order that the intelligence being connected with intelligent domestic gateway Can know that the configuration information of this intelligent domestic gateway changes by home equipment, intelligent domestic gateway needs to intelligent home device Send a notification message.That is, intelligent domestic gateway sends a notification message to this at least one intelligent home device, when this at least one When individual intelligent home device receives this notification message, determine that the configuration information of its intelligent domestic gateway accessing changes.
In embodiments of the present invention, intelligent domestic gateway can be set to this at least one smart home by way of broadcast Standby send a notification message it is also possible to be sent by way of multicast, or can be sent by way of unicast.Work as smart home When gateway sends this notification message by way of broadcast, this notification message also carries the DHCP service of this intelligent domestic gateway Network address range, when intelligent home device receives this notification message sending by broadcast mode, contrasts the net of itself The network address range of the DHCP service of network address and this intelligent domestic gateway, when the determination network address of itself is in this intelligence When in the network address range of the DHCP service of home gateway, according to the notification message receiving, determine its intelligent family accessing The configuration information occupying gateway changes, and is otherwise left intact.When intelligent domestic gateway sends this by way of multicast During notification message, intelligent domestic gateway predefines the network that intelligent domestic gateway is the distribution of this at least one intelligent home device Address, then sends a notification message to this at least one intelligent home device simultaneously.When intelligent domestic gateway passes through mode of unicast When sending this notification message, determine intelligent domestic gateway be this at least one intelligent home device distribution the network address it Afterwards, the network address according to this at least one intelligent home device, an intelligent home device thereto by way of unicast Send this notification message, when receiving the feedback message of this intelligent home device transmission, an intelligent home device still further below Send this notification message, until sent this notice to each intelligent home device in this at least one intelligent home device disappearing Breath.
Alternatively, the configuration information after intelligent domestic gateway change can also be carried in this notification message, work as smart home When equipment receives this notification message, according to the configuration information after the change of this intelligent domestic gateway, determine its intelligent family accessing The configuration information occupying gateway changes.
It should be noted that when intelligent domestic gateway is sent a notification message by multicast or mode of unicast, smart home Gateway needs first to determine the network address of this at least one intelligent home device, then according to this at least one intelligent home device The network address, send this notification message to this at least one intelligent home device.But, may be in intelligent domestic gateway Stored have the network address that intelligent domestic gateway is the distribution of this at least one intelligent home device it is also possible to not store this intelligence Can home gateway be the network address that at least one intelligent home device distributes.When the smart home that is stored with intelligent domestic gateway When gateway is the network address of this at least one intelligent home device distribution, intelligent domestic gateway can be according to this at least one intelligence The network address of energy home equipment, directly sends this to this at least one intelligent home device by way of multicast or unicast and leads to Know message.When do not store in intelligent domestic gateway intelligent domestic gateway be this at least one intelligent home device distribution network During address, intelligent domestic gateway can obtain the network address of this at least one intelligent home device by sending broadcast. That is, intelligent domestic gateway sends broadcast, this broadcast is used for obtaining the network of this at least one intelligent home device Carry the network address range of the DHCP service of this intelligent domestic gateway in address, and this broadcast, work as intelligent home device When receiving this broadcast, judge whether the network address of itself belongs to the network ground of the DHCP service of this intelligent domestic gateway The network address in the range of location, when the network address that intelligent home device determines itself belongs to the DHCP clothes of this intelligent domestic gateway During the network address in the network address range of business, send network address reporting information to this intelligent domestic gateway, this network ground Carry the network address of this intelligent home device in the reporting information of location, and this network address reporting information is used for pointing out smart home This intelligent home device of gateway is one in this at least one intelligent home device.When intelligent domestic gateway receives this network ground During the reporting information of location, determine the network address of this intelligent home device.
Especially, when intelligent domestic gateway is sent a notification message to intelligent home device by way of unicast, in order to Guarantee that this intelligent home device receives this notification message, intelligent domestic gateway is sending a notification message it to intelligent home device Afterwards, can also timing time be set, and start timing.When timing time reaches, intelligent domestic gateway is also not received by this intelligence During the feedback message that energy home equipment is sent to, resend this notification message, and record transmission times, continue executing with timing Operation, and circulate the above feedback message operating, receiving intelligent home device transmission up to intelligent domestic gateway of execution, or send out Number of times is sent to reach default transmission times.When transmission times reaches default transmission times, if intelligent domestic gateway is still without reception To feedback message, then ignore this intelligent home device.
Wherein, feedback message has been received by this notification message, in advance for this intelligent home device of indicating intelligent home gateway If transmission times is the transmission times pre-setting in intelligent domestic gateway, this default transmission times can be 3 times, 5 times or 10 Secondary etc..Timing time is the timing time of setting in intelligent domestic gateway, and this timing time can be 10s, 30s or 50s etc. Deng.
For example, default transmission times is 3 times, and timing time is 10s, when intelligent domestic gateway passes through mode of unicast to intelligence After home equipment sends this notification message, start timing, when timing time 10s reaches, intelligent domestic gateway does not also receive To feedback message, then again send this notification message to this intelligent home device, circulation executes this operation, until transmission times surpasses Cross 3 times or intelligent domestic gateway receives feedback message.
In embodiments of the present invention, the network address range of the DHCP service including when the configuration information of intelligent domestic gateway When changing, the network address range of the DHCP service after this change may be with the network address model of the DHCP service before change Enclose presence to occur simultaneously, accordingly, it is possible to there is the network address of the network address of the intelligent home device still DHCP service after change In the range of, namely this intelligent home device need not re-establish network connection with intelligent domestic gateway.In embodiments of the present invention, In order to avoid sending a notification message to the unnecessary intelligent home device re-establishing network connection, intelligent domestic gateway can be from In this at least one intelligent home device, the network address is selected to be not belonging to the intelligence of the network address range after DHCP service change Home equipment, and send this notification message to the intelligent home device selecting.That is, when intelligent domestic gateway determine this at least one After individual intelligent home device, determine the network address that intelligent domestic gateway is the distribution of this at least one intelligent home device, so Contrast the network address range after the network address of this at least one intelligent home device and DHCP service change afterwards, if there is The network address of intelligent home device is not belonging to the network address range after DHCP service change, then send out to this intelligent home device Send notification message, accordingly for those network address still intelligence in the network address range of the DHCP service after change Home equipment, need not be sent to this notification message.
Step 103:When this at least one intelligent home device all receives this notification message, by this intelligent domestic gateway Configuration information be set to change after configuration information so that the configuration information after this change comes into force.
When intelligent domestic gateway sends this notification message by broadcast or multicast mode, intelligent domestic gateway should in transmission After notification message, give tacit consent to this at least one intelligent home device and all receive this notification message.When intelligent domestic gateway passes through The mode of unicast to each intelligent home device in this at least one intelligent home device send this notification message when, work as intelligence When home equipment receives this notification message, this intelligent home device will send feedback message to intelligent domestic gateway.Work as intelligence When home gateway receives the feedback message that all intelligent home devices in this at least one intelligent home device send, determine This at least one intelligent home device all receives this notification message.
Therefore, no matter this notification message is sent by broadcast mode or this notification message sent by mode of unicast, intelligence Home gateway can determine that this at least one intelligent home device all receives this notification message.When intelligent domestic gateway determines When this at least one intelligent home device all receives this notification message, the configuration information of this intelligent domestic gateway is set to become Configuration information after change so that the configuration information after this change comes into force, that is, when intelligent home device again with smart home net When network connection is set up in pass, intelligent domestic gateway will distribute the network address for it again according to the configuration information after change.
It should be noted that in embodiments of the present invention, when intelligent home device receives notification message, determine that it connects The configuration information of the intelligent domestic gateway entering changes, and now, intelligent home device can send net to intelligent domestic gateway Network connection request, to re-establish the network connection and intelligent domestic gateway between.But, when intelligent domestic gateway receives this During network connecting request, the process that intelligent domestic gateway sends a notification message to this at least one intelligent home device may also not have Process.For example, when intelligent home device sends this notification message by way of broadcast or multicast, due to each intelligence The distance between home equipment and intelligent domestic gateway difference, when one of intelligent home device receives this notification message, And during to intelligent domestic gateway transmission network connecting request, it is understood that there may be other intelligent home devices are also not received by this notice Message;Or, when intelligent domestic gateway is sent a notification message, first receive the smart home of notification message by mode of unicast If equipment directly sends network connecting request to intelligent domestic gateway, intelligent domestic gateway may be also in execution to other intelligence Home equipment sends the operation of this notification message.That is, when intelligent domestic gateway receives network connecting request, smart home Gateway also not by its configuration information be set to change after configuration information, now, if intelligent domestic gateway re-establish with Network connection between intelligent home device, this network connection is still the network connection set up according to the configuration information before changing, After configuration information after change comes into force, this network connection is still invalid.In embodiments of the present invention, can be by following two plans Slightly avoid the occurrence of above-mentioned.
The first strategy, before intelligent domestic gateway sends a notification message to this at least one intelligent home device, closes The DHCP service of this intelligent domestic gateway, intelligent domestic gateway its configuration information is set to change after configuration information it Afterwards, open the DHCP service of intelligent domestic gateway.
In the first strategy, before the configuration information after its configuration information is set to change by intelligent domestic gateway, Namely before the configuration information after change comes into force, the DHCP service of intelligent domestic gateway is to close, and now, smart home sets Standby cannot re-establish network connection with intelligent domestic gateway.After configuration information after change comes into force, open DHCP Service, now execution step 104 is it is ensured that it is after change that intelligent home device and intelligent domestic gateway re-establish network connection Configuration information come into force after execution.
Second strategy, after the configuration information after its configuration information is set to change by intelligent domestic gateway, to extremely A few intelligent home device sends the reconstruction message of network connection, makes at least one intelligent home device to intelligent domestic gateway Send network connecting request to re-start network connection.
In second strategy, when intelligent home device receives notification message, intelligent home device is not first to intelligence Home gateway sends network connecting request, but when receiving the reconstruction message of network connection of intelligent domestic gateway transmission, Send network connecting request to intelligent domestic gateway again.The reconstruction message of this network connection determines this at least for intelligent domestic gateway One intelligent home device all receives notification message, and after the configuration information after being set to change by its configuration information, Send to this intelligent home device.Therefore, by second strategy it is also possible to guarantee intelligent home device and intelligent domestic gateway Re-establishing network connection is execution after the configuration information after change comes into force.
Step 104:According to the configuration information after this change, re-establish and this at least one intelligent home device between Network connection.
In embodiments of the present invention, when this at least one intelligent home device receives this notification message, determine that it connects The configuration information of the intelligent domestic gateway entering changes, and in order to continue to set up network connection with this intelligent domestic gateway, this is extremely A few intelligent home device needs to send network connecting request to intelligent domestic gateway, to obtain intelligent domestic gateway according to change Configuration information after change is the network address of its distribution, and re-establishes the network connection and intelligent domestic gateway between.
Specifically, for two kinds of strategies of step 103, after intelligent domestic gateway opens DHCP service or in intelligence After home gateway sends the reconstruction message of network connection, when receiving the network connecting request of intelligent home device, intelligence Home gateway, according to the configuration information after change, distributes the network address for this intelligent home device, when this intelligent home device connects After receiving this network address, re-establish the network connection and intelligent domestic gateway between according to this network address.Due to opening DHCP service or the reconstruction message sending network connection are to be that configuration information after change comes into force and executes afterwards, therefore, The network address that intelligent home device receives is the network address according to the configuration information distribution after changing, namely effective net Network address.Guarantee after the configuration information after change comes into force, intelligent home device can successfully be set up with intelligent domestic gateway Network connection.
In embodiments of the present invention, when configuration information intelligent domestic gateway is detected changes, in this configuration letter Before breath comes into force, intelligent domestic gateway active sets up at least one intelligent family of network connection to current and this intelligent domestic gateway Occupy equipment dispatch order message.Because this notification message is used for notifying the situation of change of intelligent domestic gateway configuration information to intelligence Energy home equipment, therefore, when this at least one intelligent home device receives this notification message, can be according to this smart home Configuration information after gateway change re-establishes the network connection and this intelligent domestic gateway between, manually boots this without user Intelligent home device, to set up the network connection and intelligent domestic gateway between, thus improving intelligent home device and intelligent family Occupy the efficiency carrying out network connection between gateway.
Referring to Fig. 2A, embodiments provide a kind of intelligent domestic gateway 200, this intelligent domestic gateway 200 includes Sending module 201, setup module 202 and set up module 203:
Sending module 201, during for changing when configuration information intelligent domestic gateway is detected, to current and this intelligence At least one intelligent home device that energy home gateway sets up network connection sends a notification message, and this notification message is used for will intelligence The situation of change of home gateway configuration information notifies to this at least one intelligent home device, so that this at least one smart home Equipment re-establishes network connection according to the configuration information after change and intelligent domestic gateway;
Setup module 202, for when at least one intelligent home device all receives this notification message, by this intelligent family The configuration information occupying gateway is set to the configuration information after changing, so that the configuration information after change comes into force;
Set up module 203, for according to the configuration information after change, re-establishing and this at least one intelligent home device Between network connection.
Alternatively, referring to Fig. 2 B, this intelligent domestic gateway 200 also includes detection module 204, generation module 205 and cancels Module 206:
Detection module 204, whether the dynamic host configuration protocol DHCP service for detecting intelligent domestic gateway is set For disabling;
Generation module 205, for when DHCP service is arranged to disabling, generating information, this information is used for Prompting this DHCP service be arranged to disabling after, at least one intelligent home device cannot set up with intelligent domestic gateway it Between network connection;
Cancel module 206, for when cancellation disabling setting instruction is received according to this information, cancelling to this DHCP The disabling setting of service, and execute and send out at least one intelligent home device currently setting up network connection with intelligent domestic gateway The step sending notification message.
Alternatively, referring to Fig. 2 C, this intelligent domestic gateway also includes closedown module 207:
Closedown module 207, for closing the DHCP service of intelligent domestic gateway;
Correspondingly, referring to Fig. 2 D, this set up module 203 include open unit 2031 and first set up unit 2032:
Open unit 2031, for opening the DHCP service of this intelligent domestic gateway;
First sets up unit 2032, for when the network connecting request receiving the transmission of this at least one intelligent home device When, according to the configuration information after change, by the DHCP service of intelligent domestic gateway, re-establish and at least one smart home Network connection between equipment.
Alternatively, referring to Fig. 2 E, this is set up module 203 and includes transmitting element 2033 and second and sets up unit 2034:
Transmitting element 2033, for sending the reconstruction message of network connection at least one intelligent home device, makes at least One intelligent home device sends network connecting request to re-start network connection to intelligent domestic gateway;
Second sets up unit 2034, for when the network connecting request receiving the transmission of at least one intelligent home device When, according to the configuration information after change, by the DHCP service of intelligent domestic gateway, re-establish and at least one smart home Network connection between equipment.
Alternatively, referring to Fig. 2 F, this sending module 201 includes select unit 2011 and transmitting element 2012:
Select unit 2011, the network address range of the DHCP service for including when the configuration information of intelligent domestic gateway Network when changing, from least one intelligent home device, after selecting the network address to be not belonging to the change of this DHCP service The intelligent home device of address realm;
Transmitting element 2012, for sending this notification message to the intelligent home device selecting.
In embodiments of the present invention, when configuration information intelligent domestic gateway is detected changes, in this configuration letter Before breath comes into force, intelligent domestic gateway active sets up at least one intelligent family of network connection to current and this intelligent domestic gateway Occupy equipment dispatch order message.Because this notification message is used for notifying the situation of change of intelligent domestic gateway configuration information to intelligence Energy home equipment, therefore, when this at least one intelligent home device receives this notification message, can be according to this smart home Configuration information after gateway change re-establishes the network connection and this intelligent domestic gateway between, manually boots this without user Intelligent home device, to set up the network connection and intelligent domestic gateway between, thus improving intelligent home device and intelligent family Occupy the efficiency carrying out network connection between gateway.
It should be noted that:The intelligent domestic gateway that above-described embodiment provides carries out network connection in intelligent home device When, only it is illustrated with the division of above-mentioned each functional module, in practical application, can as desired above-mentioned functions be divided Join and completed by different functional modules, the internal structure of equipment will be divided into different functional modules, to complete above description All or part of function.In addition, the network connection of the intelligent domestic gateway of above-described embodiment offer and intelligent home device Embodiment of the method belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of method for connecting network of intelligent home device, is applied in intelligent domestic gateway it is characterised in that methods described Including:
When configuration information intelligent domestic gateway is detected changes, set up network to current with described intelligent domestic gateway At least one intelligent home device connecting sends a notification message, and described notification message is used for configuring described intelligent domestic gateway The situation of change of information notifies at least one intelligent home device described so that at least one intelligent home device described according to Configuration information after change and described intelligent domestic gateway re-establish network connection;
When at least one intelligent home device described all receives described notification message, by the configuration of described intelligent domestic gateway Information is set to the configuration information after changing, so that the configuration information after described change comes into force;
According to the configuration information after described change, the network re-establishing and at least one intelligent home device described between connects Connect.
2. the method for claim 1 is it is characterised in that described set up network even to current with described intelligent domestic gateway Before at least one intelligent home device connecing sends a notification message, also include:
Detect whether the dynamic host configuration protocol DHCP service of described intelligent domestic gateway is arranged to disable;
When described DHCP service is arranged to disabling, generate information, described information is used for prompting in described DHCP After service is arranged to disabling, at least one intelligent home device described cannot be set up and described intelligent domestic gateway between Network connection;
When cancellation disabling setting instruction is received according to described information, cancel the disabling to described DHCP service and arrange, And execute described at least one intelligent home device transmission notice setting up network connection to current and described intelligent domestic gateway The step of message.
3. the method for claim 1 is it is characterised in that described set up network even to current with described intelligent domestic gateway Before at least one intelligent home device connecing sends a notification message, also include:
Close the DHCP service of described intelligent domestic gateway;
Correspondingly, described according to described change after configuration information, re-establish with least one intelligent home device described it Between network connection, including:
Open the DHCP service of described intelligent domestic gateway;
When receiving the network connecting request that at least one intelligent home device described sends, according to the configuration after described change Information, by the DHCP service of described intelligent domestic gateway, re-establishes and at least one intelligent home device described between Network connection.
4. the method for claim 1 it is characterised in that described according to described change after configuration information, re-establish Network connection and at least one intelligent home device described between, including:
Send the reconstruction message of network connection at least one intelligent home device described, so that at least one smart home described is set Send network connecting request for described intelligent domestic gateway to re-start network connection;
When receiving the network connecting request that at least one intelligent home device described sends, according to the configuration after described change Information, by the DHCP service of described intelligent domestic gateway, re-establishes and at least one intelligent home device described between Network connection.
5. described method as arbitrary in claim 1-4 is it is characterised in that described set up to current and described intelligent domestic gateway At least one intelligent home device of network connection sends a notification message, including:
When the network address range of the DHCP service that the configuration information of described intelligent domestic gateway includes changes, from described In at least one intelligent home device, the network address is selected to be not belonging to the intelligence of the network address range after described DHCP service change Can home equipment;
Send described notification message to the intelligent home device selecting.
6. a kind of intelligent domestic gateway is it is characterised in that described intelligent domestic gateway includes:
Sending module, during for changing when configuration information intelligent domestic gateway is detected, to current and described intelligent family Occupy gateway and set up at least one intelligent home device of network connection and send a notification message, described notification message is used for described intelligence The situation of change of energy home gateway configuration information notifies at least one intelligent home device described, so that at least one intelligence described Home equipment network connection can be re-established according to the configuration information after change and described intelligent domestic gateway;
Setup module, for when at least one intelligent home device described all receives described notification message, by described intelligence The configuration information of home gateway is set to the configuration information after changing, so that the configuration information after described change comes into force;
Set up module, for according to the configuration information after described change, re-establishing and at least one intelligent home device described Between network connection.
7. intelligent domestic gateway as claimed in claim 6 is it is characterised in that described intelligent domestic gateway also includes:
Detection module, whether the dynamic host configuration protocol DHCP service for detecting described intelligent domestic gateway is arranged to prohibit With;
Generation module, for when described DHCP service is arranged to disabling, generating information, described information is used for carrying Show that at least one intelligent home device described cannot be set up and described intelligent family after described DHCP service is arranged to disabling Occupy the network connection between gateway;
Cancel module, for when cancellation disabling setting instruction is received according to described information, cancelling and described DHCP being taken The disabling setting of business, and execute described at least one smart home setting up network connection to current and described intelligent domestic gateway The step of equipment dispatch order message.
8. intelligent domestic gateway as claimed in claim 6 is it is characterised in that described intelligent domestic gateway also includes:
Closedown module, for closing the DHCP service of described intelligent domestic gateway;
Correspondingly, described module of setting up includes:
Open unit, for opening the DHCP service of described intelligent domestic gateway;
First sets up unit, for when receiving the network connecting request that at least one intelligent home device described sends, root According to described change after configuration information, by the DHCP service of described intelligent domestic gateway, re-establish with described at least one Network connection between intelligent home device.
9. intelligent domestic gateway as claimed in claim 6 is it is characterised in that described module of setting up includes:
Transmitting element, at least one intelligent home device described send network connection reconstruction message, make described at least One intelligent home device sends network connecting request to re-start network connection to described intelligent domestic gateway;
Second sets up unit, for when receiving the network connecting request that at least one intelligent home device described sends, root According to described change after configuration information, by the DHCP service of described intelligent domestic gateway, re-establish with described at least one Network connection between intelligent home device.
10. described intelligent domestic gateway as arbitrary in claim 6-9 is it is characterised in that described sending module includes:
Select unit, the network address range of the DHCP service for including when the configuration information of described intelligent domestic gateway occurs Net during change, from least one intelligent home device described, after selecting the network address to be not belonging to described DHCP service change The intelligent home device of network address realm;
Transmitting element, for sending described notification message to the intelligent home device selecting.
CN201611086029.1A 2016-11-30 2016-11-30 network connection method of intelligent household equipment and intelligent household gateway Active CN106453011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611086029.1A CN106453011B (en) 2016-11-30 2016-11-30 network connection method of intelligent household equipment and intelligent household gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611086029.1A CN106453011B (en) 2016-11-30 2016-11-30 network connection method of intelligent household equipment and intelligent household gateway

Publications (2)

Publication Number Publication Date
CN106453011A true CN106453011A (en) 2017-02-22
CN106453011B CN106453011B (en) 2019-12-10

Family

ID=58222924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611086029.1A Active CN106453011B (en) 2016-11-30 2016-11-30 network connection method of intelligent household equipment and intelligent household gateway

Country Status (1)

Country Link
CN (1) CN106453011B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105014A (en) * 2017-03-30 2017-08-29 联想(北京)有限公司 Communication means and the first equipment and the second equipment
CN108093097A (en) * 2017-12-28 2018-05-29 深圳市双翼科技股份有限公司 The connection method of camera and home gateway and home gateway
CN111414208A (en) * 2020-03-13 2020-07-14 百度在线网络技术(北京)有限公司 Application program starting method, device and equipment
WO2023024216A1 (en) * 2021-08-24 2023-03-02 青岛海信日立空调系统有限公司 Air conditioning control system
CN118175605A (en) * 2024-03-13 2024-06-11 广州视声智能股份有限公司 Network connection method of intelligent home equipment and intelligent home gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450495A (en) * 2014-09-18 2016-03-30 中国电信股份有限公司 Method, device and system for re-establishing secure communication channel
CN105847022A (en) * 2015-01-14 2016-08-10 海信集团有限公司 Network configuration methods and system of local area network of power line communication (PLC)
KR20160118813A (en) * 2015-04-03 2016-10-12 한국전자통신연구원 Gateway device being connected to remote server through mobile network and ip management method thereof
CN106034299A (en) * 2015-03-09 2016-10-19 中兴通讯股份有限公司 SCTP connection reestablishment method and SCTP connection reestablishment device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450495A (en) * 2014-09-18 2016-03-30 中国电信股份有限公司 Method, device and system for re-establishing secure communication channel
CN105847022A (en) * 2015-01-14 2016-08-10 海信集团有限公司 Network configuration methods and system of local area network of power line communication (PLC)
CN106034299A (en) * 2015-03-09 2016-10-19 中兴通讯股份有限公司 SCTP connection reestablishment method and SCTP connection reestablishment device
KR20160118813A (en) * 2015-04-03 2016-10-12 한국전자통신연구원 Gateway device being connected to remote server through mobile network and ip management method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105014A (en) * 2017-03-30 2017-08-29 联想(北京)有限公司 Communication means and the first equipment and the second equipment
CN108093097A (en) * 2017-12-28 2018-05-29 深圳市双翼科技股份有限公司 The connection method of camera and home gateway and home gateway
CN111414208A (en) * 2020-03-13 2020-07-14 百度在线网络技术(北京)有限公司 Application program starting method, device and equipment
CN111414208B (en) * 2020-03-13 2023-08-01 百度在线网络技术(北京)有限公司 Application program starting method, device and equipment
WO2023024216A1 (en) * 2021-08-24 2023-03-02 青岛海信日立空调系统有限公司 Air conditioning control system
CN118175605A (en) * 2024-03-13 2024-06-11 广州视声智能股份有限公司 Network connection method of intelligent home equipment and intelligent home gateway
CN118175605B (en) * 2024-03-13 2024-09-13 广州视声智能股份有限公司 Network connection method of intelligent home equipment and intelligent home gateway

Also Published As

Publication number Publication date
CN106453011B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN106453011A (en) Network connection method for intelligent home device and intelligent home gateway
US9401874B2 (en) Minimizing coverage holes in a communication network
CN106789468A (en) A kind of appliances equipment control method and system based on intelligent terminal
CN105981459B (en) Method and apparatus for making the primary resource backoff delay for D2D operation in a wireless communication system
JP2020524448A (en) Service quality control method and related apparatus
US8971238B2 (en) Method for controlling wireless router and wireless router
CN102833268B (en) Method, equipment and system for resisting wireless network flooding attack
CN103856436B (en) Method, home gateway and the Internet of selecting network by user equipment layer protocol
CN112672360B (en) Self-adaptive WiFi communication module network distribution method, device, equipment and storage medium
CN103338488B (en) Method for switching network, terminal, controller, gateway and system
CN103024462B (en) Method for network detection and digital terminal
CN103891321A (en) Data transmission method, device and system
CN102137073B (en) Method and access equipment for preventing imitating internet protocol (IP) address to attack
WO2011144127A2 (en) Stand-by method for access point and access point
CN105959906A (en) Inter-network device communication method and inter-network device communication method
CN103036729A (en) System and method for opening network capability, and relevant network element
CN107567107A (en) A kind of method and device for transmitting data
US20230020443A1 (en) Message forwarding method and apparatus
CN111917451A (en) Data transmission method and device, satellite module and storage medium
CN106412999A (en) Load balancing method and load balancing system
CN112583875B (en) Asset scanning method and device
CN104770001A (en) Service distribution method, device and system
WO2015062014A1 (en) Wireless communication method and device
CN108983627A (en) Household appliance and its data sharing method, device and computer readable storage medium
CN105245695A (en) Method and system for improving WeChat AirKiss compatibility

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