CN106972958A - Gateway device collocation method, apparatus and system - Google Patents

Gateway device collocation method, apparatus and system Download PDF

Info

Publication number
CN106972958A
CN106972958A CN201710146684.XA CN201710146684A CN106972958A CN 106972958 A CN106972958 A CN 106972958A CN 201710146684 A CN201710146684 A CN 201710146684A CN 106972958 A CN106972958 A CN 106972958A
Authority
CN
China
Prior art keywords
gateway
gateway device
configuration information
information
backup
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.)
Pending
Application number
CN201710146684.XA
Other languages
Chinese (zh)
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 CN201710146684.XA priority Critical patent/CN106972958A/en
Publication of CN106972958A publication Critical patent/CN106972958A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • 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/283Processing of data at an internetworking point of 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of gateway device collocation method, apparatus and system, belong to smart home field.Methods described includes:Second gateway device, which is received, recovers instruction, recovers the mark that instruction carries the first gateway device;Second gateway device recovers the gateway configuration information that the first gateway device is backed up in historical time according to recovering to instruct from backup server;Second gateway device carries out operational factor configuration according to gateway configuration information.The present invention is solved when intelligent home device is more, various operational factors is reconfigured in new gateway equipment, and re-establish the problem of binding relationship is compared numerous and diverse and high error rate with each intelligent home device;Reach that new gateway equipment obtains the configuration information backed up from backup server and carries out operational factor configuration, various operational factors need not be reconfigured, it can normally run and recover binding relationship with intelligent home device, reduce the operation complexity that user sets gateway, improve operating efficiency.

Description

Gateway device collocation method, apparatus and system
Technical field
The present embodiments relate to smart home field, more particularly to a kind of gateway device collocation method, apparatus and system.
Background technology
Include in intelligent domestic system:Gateway device and several intelligent home devices, each intelligent home device lead to Gateway device is crossed with internet to be connected.Gateway device is the core for realizing home intelligence, and gateway device supports various family's groups FidonetFido and related hardware are supported, and the equipment control to intelligent home device and scene management.
Gateway device will face the problem of model change and damage as a kind of electronic product.Facing this , it is necessary to be changed to gateway device during a little problems.A kind of current gateway device replacing options include:By each smart home Equipment and the unbinding relation of former gateway device;New gateway equipment is installed in configuration;Each intelligent home device is rejoined newly The network that gateway device is provided, and re-establish binding relationship with new gateway equipment.
When intelligent home device is more, reconfigure various operational factors in new gateway equipment, and with each intelligence It is the quite numerous and diverse and high work of error rate that home equipment, which re-establishes binding relationship, and domestic consumer is difficult to complete the configuration Work.
The content of the invention
In order to solve when intelligent home device is more, various operational factors are reconfigured in new gateway equipment, and with The problem of each intelligent home device re-establishes more numerous and diverse binding relationship and high error rate, the embodiments of the invention provide one Plant gateway device collocation method, apparatus and system.The technical scheme is as follows:
First aspect includes there is provided a kind of gateway device collocation method, methods described:
Second gateway device, which is received, recovers instruction, described to recover instruction and carry the mark of the first gateway device, and described the One gateway device is the gateway device before changing, and second gateway device is the gateway device after changing;
Second gateway device recovers to instruct according to described, recovers first gateway device from backup server and is going through The gateway configuration information of history time backup;
Second gateway device carries out operational factor configuration according to the gateway configuration information.
Second aspect includes there is provided a kind of gateway device collocation method, methods described:
The mark and gateway configuration information of first gateway device are backuped to backup server by the first gateway device, institute Stating gateway configuration information is used for after the second gateway device receives recovery instruction, and instruction is recovered from the backup services according to described Device recovers the gateway configuration information and carries out operational factor configuration according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is to change Preceding gateway device, second gateway device is the gateway device after changing.
The third aspect includes there is provided a kind of gateway device collocation method, methods described:
Backup server is backed up the mark and gateway configuration information of the first gateway device, first gateway device Mark and the gateway configuration information be that first gateway device is backuped in the backup server in historical time;
Backup server provides the gateway configuration information to the second gateway device, and the gateway configuration information is used in institute State the second gateway device and receive and recover after instruction, recovering the gateway from the backup server according to the recovery instruction configures Information simultaneously carries out operational factor configuration according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is to change Preceding gateway device, second gateway device is the gateway device after changing.
Fourth aspect is there is provided a kind of gateway device configuration device, in the second gateway device, described device to include:
Command reception module, instruction is recovered for receiving, described to recover the mark that instruction carries the first gateway device, institute It is the gateway device before changing to state the first gateway device, and second gateway device is the gateway device after changing;
Information recovery module, for recovering to instruct according to described, recovering first gateway device from backup server exists The gateway configuration information of historical time backup;
Parameter configuration module, for carrying out operational factor configuration according to the gateway configuration information.
5th aspect is there is provided a kind of gateway device configuration device, in the first gateway device, described device to include:
First backup module, for the mark and gateway configuration information of first gateway device to be backuped into backup services Device, the gateway configuration information according to described for after the second gateway device receives recovery instruction, recovering to instruct from described standby Part server recovers the gateway configuration information and carries out operational factor configuration according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is to change Preceding gateway device, second gateway device is the gateway device after changing.
6th aspect is there is provided a kind of gateway device configuration device, in backup server, described device to include:
3rd backup module, for the mark and gateway configuration information of the first gateway device to be backed up, described first The mark of gateway device and the gateway configuration information are that first gateway device backups to the backup clothes in historical time It is engaged in device;
Information providing module, for providing the gateway configuration information, the gateway configuration information to the second gateway device For after second gateway device receives recovery instruction, according to the recovery instruction recovers from the backup server Gateway configuration information simultaneously carries out operational factor configuration according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is to change Preceding gateway device, second gateway device is the gateway device after changing.
7th aspect configures system there is provided a kind of gateway device, and the system includes:First gateway device, the second net Close equipment and backup server;
The mark and gateway configuration information of first gateway device are backuped to the backup by first gateway device Server;
The backup server is backed up the mark and the gateway configuration information of first gateway device;
Second gateway device, which is received, recovers instruction, described to recover the mark that instruction carries first gateway device Know, first gateway device is the gateway device before changing, second gateway device is the gateway device after changing;
Second gateway device recovers to instruct according to described, and first gateway device is recovered from the backup server The gateway configuration information backed up in historical time;
Second gateway device carries out operational factor configuration according to the gateway configuration information.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The configuration information progress operation ginseng that old gateway device has been backed up is obtained from backup server by new gateway equipment Number configuration so that new gateway equipment need not reconfigure various operational factors, new gateway equipment can normally run and and each Intelligent home device recovers binding relationship, reduces operation complexity of the user when setting intelligent home gateway, improves use The operating efficiency at family.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is 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 the structural representation for the intelligent domestic system that one embodiment of the invention is provided;
Fig. 2 is the structural representation for the gateway device that one embodiment of the invention is provided;
Fig. 3 is the flow chart for the gateway device collocation method that one embodiment of the invention is provided;
Fig. 4 A are the flow charts for the gateway device collocation method that another embodiment of the present invention is provided;
Fig. 4 B are the schematic diagrames for the channel that another embodiment of the present invention is provided;
Fig. 5 is the flow chart for the gateway device collocation method that another embodiment of the present invention is provided;
Fig. 6 is the flow chart for the gateway device collocation method that another embodiment of the present invention is provided;
Fig. 7 is the flow chart for the gateway device collocation method that another embodiment of the present invention is provided;
Fig. 8 is the flow chart for the gateway device collocation method that another embodiment of the present invention is provided;
Fig. 9 is the flow chart for the gateway device collocation method that another embodiment of the present invention is provided;
Figure 10 is the flow chart for the gateway device collocation method that another embodiment of the present invention is provided;
Figure 11 is the block diagram for the gateway device configuration device that one embodiment of the invention is provided;
Figure 12 is the block diagram for the gateway device configuration device that one embodiment of the invention is provided;
Figure 13 is the block diagram for the gateway device configuration device that one embodiment of the invention is provided;
Figure 14 is the block diagram for the gateway device configuration device that one embodiment of the invention is provided;
Figure 15 is the structural representation for the backup server that one embodiment of the invention is provided.
Embodiment
To make 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.
Fig. 1 is refer to, the structural representation of the intelligent domestic system 100 provided it illustrates one embodiment of the invention. The intelligent domestic system 100 includes:First gateway device 120, the second gateway device 140, backup server 160 and smart home Equipment 180.
First gateway device 120 and the second gateway device 140 can be routers.Alternatively, the router also has intelligence (Network Attached Storage, network building-out is deposited by the energy management function of home equipment, the function of interchanger and/or NAS Storage) function.First gateway device 120 and the second gateway device 140 are to be used to finding, connect and managing intelligent home device 180 Gateway device.First gateway device 120 is the gateway device before changing, and the second gateway device 140 is that the gateway after changing is set It is standby.First gateway device 120 and the second gateway device 140 support purple honeybee Zigbee network, wireless networking specification Z-Wave and nothing At least one of line fidelity Wi-Fi.Alternatively, the second gateway device 140 and the first gateway device 120 are with for product, tool There is identical function;Or, second gateway device 140 be the first gateway device 120 regeneration product, with than the first gateway device 120 more and/or less functions.The gateway configuration information of compatible first gateway device 120 of second gateway device 140, that is, Second gateway device 140 can read and recognize the gateway configuration information of the first gateway device 120, and be set according to the first gateway Standby 120 gateway configuration information is operated.
It is connected between first gateway device 120 and backup server 160 by cable network or wireless network.Second gateway It is connected between equipment 140 and backup server 160 by cable network or wireless network.
Backup server 160 can be a server, multiple servers, virtual computing module or cloud computing center.It is standby Part server 160 is used for the gateway configuration information for storing each gateway device, to the first gateway device 120 and the second gateway device 140 provide Backup Data and synchronous (or recovery) data, services.
It is connected between first gateway device 120 and intelligent home device 180 by cable network or wireless network.Second net Close and be connected between equipment 140 and intelligent home device 180 by cable network or wireless network.Alternatively, the first gateway device 120 before replacing construction point, are connected with backup server 160 and intelligent home device 180;Second gateway device 140 is more Change after time point, be connected with backup server 160 and intelligent home device 180.
Intelligent home device 180 can be intelligent electric lamp, intelligent fan, intelligent curtain, intelligent video camera head, intelligent pet feed Feeder, smart jack, intelligent air condition, intelligent electric rice cooker, intelligent refrigerator, intelligent watch, intelligent glasses and intelligent shoe etc..With The raising of scientific and technological level, the species and application field of intelligent home device are also more and more.Intelligent home device 180 is adopted Procotol includes but is not limited at least one of following agreement:
Procotol based on Zigbee (Zigzag Flying of Bees, purple honeybee) agreement;
Procotol based on wireless networking specification Z-Wave;
Procotol based on Wi-Fi (Wireless Fidelity, Wireless Fidelity) agreement;
Procotol based on BLE (Bluetooth Low Energy, Bluetooth Low Energy) agreement;
Based on the procotol of RF (Radio Frequency, radio frequency) 433 agreements, the procotol uses 433Mhz frequencies Section;
Based on the procotol of RF2.4G agreements, the procotol uses 2.4Ghz frequency ranges;
Based on the procotol of radio frequency 5G agreements, the procotol uses 5Ghz frequency ranges.
In the following embodiments, the procotol used with intelligent home device 180 includes:Zigbee, Z-Wave and WiFi is illustrated.
Fig. 2 is refer to, the structural representation of the gateway device 200 provided it illustrates an illustrative embodiment of the invention Figure.The gateway device 200 includes:Processor 220, memory 240 and at least one network interface card component 260.
Processor 220 is the control centre of gateway device 200, utilizes various interfaces and the whole gateway device of connection 200 various pieces, software program and/or module in memory 240 are stored in by operation or execution, and call storage Data in memory 240, perform the various functions and processing data of gateway device 200, so as to be carried out to gateway device 200 Overall control.Optionally, processor 220 includes one or more processing cores.
Processor 220 is electrical connected with memory 240.
Memory 240 is used to store software program and module.Processor 220 is stored in memory 240 by operation Software program and module, so as to perform various function application and data processing.Memory 240 can be by any kind of easy The property lost or non-volatile memory device or combinations thereof realize that such as static RAM is (English:Static Random Access Memory, referred to as:SRAM), Electrically Erasable Read Only Memory (English:Electrically Erasable Programmable Read-Only Memory, referred to as:EEPROM), Erasable Programmable Read Only Memory EPROM (English Text:Erasable Programmable Read Only Memory, referred to as:EPROM), programmable read only memory (English: Programmable Read-Only Memory, referred to as:PROM), read-only storage (English:Read Only Memory, letter Claim:ROM), magnetic memory, flash memory, disk or CD.
Processor 220 is also electrical connected with least two network interface card components 260.
Network interface card component 260 includes:Zigbee network interface cards component 261, Z-Wave network interface cards component 262, Wi-Fi network interface cards component 263, At least one of network interface card component 264 with RJ45 interfaces.The present embodiment, includes all four kinds of network interface cards with the gateway device 200 Component is illustrated.For the network interface card component of each type, gateway device 200 can include one or more than one should The network interface card component 260 of type.Such as, gateway device 200 includes 5 network interface card component 264, a Wi-Fi with RJ45 interfaces Network interface card component 263 etc..
Because gateway device 200 supports different network interface card components, so using the intelligent home device 180 of different network protocol The network of the gateway device 200 can be accessed.But under different network protocol, method for discovering equipment and intelligent home device Adding method is possibly different from, and the embodiment of the present invention is not described in detail to this.
Fig. 3 is refer to, the flow chart of the gateway device collocation method provided it illustrates one embodiment of the invention.This reality Example is applied to be applied in the second gateway device 140 shown in Fig. 1 illustrate with the gateway device collocation method.This method bag Include:
Step 301, the second gateway device, which is received, recovers instruction, recovers the mark that instruction carries the first gateway device, the One gateway device is the gateway device before changing, and the second gateway device is the gateway device after changing.
Recover instruction to refer to for indicating that the second gateway device recovers the instruction of gateway configuration information, the gateway configuration information It is that the first gateway device is backed up in historical time.It is typically the operation institute that user's triggering recovers gateway configuration information to recover instruction Triggering.After recovery instruction is triggered, the second gateway device receives recovery instruction.
The mark of first gateway device is used for the identity for identifying the first gateway device.Alternatively, the mark of the first gateway device Know for the MAC Address of the first gateway device.Alternatively, on the premise of with identity ability, the mark includes:First net Close at least one of device type, equipment manufacturer's information and unit type information of equipment.Alternatively, first gateway device Mark can be any two or three in character, word, numeral, or character, word and numeral of combination.
Step 302, the second gateway device recovers the first gateway device in history according to recovering to instruct from backup server Between the gateway configuration information that backs up.
Gateway configuration information is that the first gateway device backs up the information in backup server, and gateway configuration information includes net The running parameter in normal operation is closed, such as gateway configuration information includes:Network type, Networking protocol, network connection parameter, In the running parameter of gate performance, the facility information for the intelligent home device for setting up binding relationship with the first gateway device at least It is a kind of.
The facility information of intelligent home device includes:Device management information and/or scene management information.Device management information Including:Device type, device name, room location information, equipment manufacturer's information and the unit type information of intelligent home device Deng.The facility information of intelligent home device can be used for the identity of mark intelligent home device.Scene management information refers to intelligent family Occupy management information of the equipment under different scenes.
Device type is the information for the species for representing intelligent home device.Alternatively, device type includes but is not limited to:Intelligence Can electric light, intelligent fan, intelligent curtain, intelligent video camera head, intelligent pet feeder, smart jack, air purifier, Intelligent air Tune, intelligent electric rice cooker, intelligent refrigerator, intelligent watch, intelligent glasses and intelligent shoe etc..Equipment manufacturer's information is to represent intelligence The information of the manufacturer of home equipment.Unit type information is the information for the model for representing intelligent home device.Unit type Information generally has manufacturer's formulation.Such as:Intelligent bulbs L-01.
Second gateway device recovers what the first gateway device was backed up in historical time according to recovering to instruct from backup server After gateway configuration information, alternatively, the second gateway device backups to the gateway configuration information after recovery in backup server.
Step 303, the second gateway device carries out operational factor configuration according to gateway configuration information.
Parameter configuration refers to that the second gateway device sets the running parameter of itself according to gateway configuration information, so as to the second net Close equipment and carry out normal work according to the history running parameter of the first gateway device.For example, the second gateway device is matched somebody with somebody according to gateway Confidence breath sets network type, Networking protocol, selection channel, setting cipher mode and storage gateway configuration information etc..
In summary, the gateway device collocation method that the present embodiment is provided, is solved when intelligent home device is more and needs When changing gateway device, reconfigure various operational factors on the second gateway device, and with each intelligent home device weight The problem of newly setting up more numerous and diverse binding relationship and high error rate.Reached need not be reconfigured on the second gateway device it is various Operational factor, the configuration information that the second gateway device obtains the backup of the first gateway device from backup server carries out operational factor Configuration, reduces operation complexity of the user when setting intelligent home gateway, improves the operating efficiency of user.
In an optional embodiment, the first gateway device and the second gateway device support purple honeybee Zigbee network, on Step 303a, step 303b and step 303c can be alternatively implemented as by stating step 303, as shown in Figure 4 A:
Gateway configuration information includes:PAN identifier, channel information and the neighbor table information of Zigbee network.Second gateway Equipment recovers the PAN for the Zigbee network that the first gateway device is backed up in historical time from backup server according to recovering to instruct Identifier, channel information and neighbor table information.
Channel information is configured to currently used channel by step 303a, the second gateway device;
Currently used channel refers to the channel that the second gateway device is used in normal work.
Channel information includes channel number, channel capacity, channel width, channel bands, transmission rate, channel gain and letter Make an uproar than etc..Frequency range refers to generally comprise one or more of channels in the frequency range of electromagnetic wave, a certain frequency range, and channel number is used Channel in differentiation frequency range.Alternatively, the information in the present embodiment refers to channel number.
For example, IEEE 802.15.4 (Zigbee) are operated in ISM band, define two frequency ranges, 2.4GHz frequency ranges and 896/915MHz frequency ranges.Define 27 channels altogether in IEEE 802.15.4:
ISM band channel profile is as shown in Figure 4 B.In 2.4GHz frequency ranges, 16 channels are had, are channel 11~26; 915MHz frequency ranges, have 10 channels, are channel 1~10;In 896MHz frequency ranges, 1 channel is had, is channel 0.If the first net Close equipment and channel 12 is used in historical time, then by " channel 12 " is backed up in gateway configuration information.
Second gateway device configures currently used channel according to channel information, that is, the second gateway device is used and the One gateway device identical channel information.For example, the channel of the first gateway device for " channel 12 ", then the second gateway device use With the first gateway device identical channel 12.
The network identity of Zigbee network is set to PAN identifier by step 303b, the second gateway device.
The PAN identifier of Zigbee network is used to identify Zigbee network, the different Zigbee network for distinguishing.Example Such as, PAN identifier ID1 identifies Zigbee network A, PAN identifier ID2 mark Zigbee networks B.
The network identity of the Zigbee network of itself is set to the PAN marks with the first gateway device by the second gateway device Accord with identical identifier.For example, the PAN identifier of the first gateway device is ID3, the second gateway device is by its Zigbee network Network identity is also configured as ID3.
Step 303c, the second gateway device storage neighbor table information, when neighbor table information is used to provide forwarding data packets Route Selection.
Neighbor table information includes nodal information, the network address and hardware address of adjacent node etc..Second gateway device is deposited Neighbor table information is stored up, so that the second gateway device is communicated according to neighbor table information with adjacent node.Such as, the second gateway is set The open command for controlling the intelligent television to open is transmitted to intelligent electricity by the standby network address and hardware address according to intelligent television Depending on so that intelligent television carries out unlatching operation according to the open command.
In summary, the gateway device collocation method that the present embodiment is provided, has reached in Zigbee network, the second gateway Equipment can from backup server obtain the first gateway device gateway configuration information, according to the PAN identifier of Zigbee network, Channel information and neighbor table information carry out operational factor configuration, without networking again and setting intelligent home device information, reduction Operation complexity of the user when setting intelligent home gateway, improves the operating efficiency of user.
In an optional embodiment, the first gateway device and the second gateway device support wireless networking specification Z- Wave;Above-mentioned steps 303 can be alternatively implemented as step 303d and step 303e, as shown in Figure 5:
Gateway configuration information includes:The network address of Z-Wave gateways, each node for being added in Z-Wave networks Nodal information, the node address of each node and network topology table.Second gateway device is according to recovering to instruct, from backup server Recover the first gateway device the network address for the Z-Wave gateways that historical time is backed up, be added in Z-Wave networks each The nodal information of node, the node address of each node and network topology table.
The network address of Z-Wave gateways is configured to the currently used network address by step 303d, the second gateway device;
The currently used network address refers to the network address that the second gateway device is used.
The network address (HOME ID) of Z-Wave gateways is used to identify Z-Wave networks, the different Z-Wave for distinguishing Network.
The network address of Z-Wave gateways is configured to the currently used network address by the second gateway device, that is, second Gateway device uses the network address with the first gateway device identical Z-Wave gateways.For example, the Z- of the first gateway device The network address of Wave gateways is network address C, then the network address of Z-Wave gateways is also set networking by the second gateway device Network address C.
Step 303e, the second gateway device stores the nodal information, node address and network topology table of each node.
Nodal information includes type, title, room location information, company-information and type information of node etc..
Node address (NODE ID) is the address of Z-Wave nodes.A usual Z-Wave network includes many Individual node, the different node address of different node correspondences.The information of network topology table record includes:Z-Wave nodes Node address, nodal information and control node etc..
Second gateway device stores the nodal information, node address and network topology table of each node, so as to the second gateway Equipment is to each node for data forwarding message, and the control node in Z-Wave networks is node distribution node address.
In summary, the gateway device collocation method that the present embodiment is provided, has reached in Z-Wave networks, the second gateway Equipment can from backup server obtain the first gateway device gateway configuration information, according to the network address of Z-Wave gateways, The nodal information for each node being added in Z-Wave networks, the node address of each node and network topology table are run Parameter configuration, without networking again, the nodal information for adding each node, node address and structure network topology table, is reduced Operation complexity of the user when setting intelligent home gateway, improves the operating efficiency of user.
In an optional embodiment, the first gateway device and the second gateway device support Wireless Fidelity Wi-Fi;It is above-mentioned Step 303 can be alternatively implemented as step 303f, step 303g and step 303h, as shown in Figure 6:
Now, gateway configuration information includes:Service set identifier, cipher mode and access pin.
Second gateway device recovers what the first gateway device was backed up in historical time according to recovering to instruct from backup server Service set identifier, cipher mode and access pin.
Service set identifier is set to currently used service set identifier by step 303f, the second gateway device.
Currently used service set identifier refers to the service set identifier that the second gateway device is used.
Service set identifier (Service Set Identifier, SSID) refers to for a string of unique name wireless network Character.Service set identifier is by the way that multiple wireless access point APs (Access Point) are set with different SSID.SSID skills One WLAN can be divided into several sub-networks for needing different identity to verify by art, and each sub-network is required for independence Authentication, corresponding sub-network can just only be entered by the user of authentication, prevent unauthorized user from entering Enter present networks.SSID is usually acquiescence or customized wireless network name.Service set identifier SSID is in Wi-Fi network Refer to Wi-Fi titles, such as, Wi-Fi titles:xiaoming.
The service set identifier of first gateway device is set to currently used service set identifier by the second gateway device, That is, the second gateway device and the first gateway device use identical service set identifier.
For example, the entitled admin123 of Wi-Fi in the first gateway device, the second gateway device is also by its Wi-Fi title It is set to admin123.
Cipher mode is set to currently used cipher mode by step 303g, the second gateway device.
Currently used cipher mode refers to the cipher mode that the second gateway device is used.
Wi-Fi cipher modes include Wired Equivalent Privacy WEP (Wired Equivalent Privacy), Wi-Fi network Secure accessing WPA (Wi-Fi Protected Access) and WPA2 etc..
The cipher mode of first gateway device is set to currently used cipher mode by the second gateway device, that is, the Two gateway devices and the first gateway device use identical cipher mode.
For example, the first gateway device uses cipher mode WPA2, the second gateway device also uses cipher mode WPA2.
Access pin is set to currently used access pin by step 303h, the second gateway device.
Currently used access pin refers to the access pin that the second gateway device is used.
Access pin is the password set for heterogeneous networks, for carrying out subscriber authentication, passes through the use of authentication Family can enter corresponding network.Access pin generally includes acquiescence access pin or user-defined access pin.
The access pin of first gateway device is set to currently used access pin by the second gateway device, that is, the Two gateway devices and the first gateway device use identical access pin.
For example, the entitled admin123 of Wi-Fi, the cipher mode in the first gateway device are WPA2, access pin is 000000, then the second gateway device Wi-Fi titles be arranged into admin123, cipher mode be arranged to WPA2, password to be arranged to 000000。
In summary, the gateway device collocation method that the present embodiment is provided, has reached in Wi-Fi network, the second gateway Equipment can obtain the gateway configuration information of the first gateway device from backup server, according to service set identifier, cipher mode Operational factor configuration is carried out with access pin, without networking again, definition Wi-Fi titles, sets cipher mode and Wi-Fi close Code, reduces operation complexity of the user when setting intelligent home gateway, improves the operating efficiency of user.
In an optional embodiment, for intelligent home device energy receive information, feedback information and communicated, Two gateway devices are matched somebody with somebody according to gateway configuration information progress operational factor to be postponed, in addition it is also necessary to is recovered binding with intelligent home device and is closed System, as shown in Figure 7:
Step 304, the second gateway device recovers binding relationship according to gateway configuration information with corresponding intelligent home device.
According to the difference of procotol, gateway configuration information also corresponds to difference.Procotol includes but is not limited to:Zigbee Agreement, Z-Wave agreements and Wi-Fi agreements.
When the first gateway device and the second gateway device support purple honeybee Zigbee network, the second gateway device is according to Zigbee PAN identifier, channel information and the neighbor table information of network recover binding relationship with corresponding intelligent home device.
For example, before gateway device is changed, intelligent electric lamp adds what the first gateway device was set up by Zigbee protocol In Zigbee network.After gateway device is changed, the channel information of the first gateway device is configured to currently make by the second gateway device Channel, PAN identifier is set to by the network identity of the Zigbee network of the first gateway device, stores neighbor table information, Second gateway device recovers the binding relationship between intelligent electric lamp.Second gateway device recovers binding relationship with intelligent electric lamp Afterwards, the two can carry out proper communication.
When the first gateway device and the second gateway device support wireless networking specification Z-Wave, the second gateway device is according to Z- The network address of Wave gateways, the nodal information for each node being added in the Z-Wave networks, each node Node address and network topology table recover binding relationship with corresponding intelligent home device.
For example, before gateway device is changed, intelligent air condition adds the Z- that the first gateway device is set up by Z-Wave agreements In Wave networks.After gateway device is changed, the second gateway device matches somebody with somebody the network address of the Z-Wave gateways of the first gateway device The currently used network address is set to, nodal information, node address and the network topology table of intelligent air condition is stored, the second gateway is set The standby binding relationship recovered between intelligent air condition.Second gateway device recovers after binding relationship with intelligent air condition, and the two can enter Row proper communication.
When the first gateway device and the second gateway device support Wireless Fidelity WiFi, the second gateway device is according to services set mark Know symbol, cipher mode and access pin and recover binding relationship with corresponding intelligent home device.
For example, before gateway device is changed, air purifier adds the Wi- that the first gateway device is set up by Wi-Fi agreements In Fi networks.After gateway device is changed, the service set identifier of the first gateway device is set to currently make by the second gateway device Service set identifier, the cipher mode of the first gateway device is set to currently used cipher mode, by air cleaning The access pin of device is set to currently used access pin.When air purifier is successfully accessed the second gateway device, second Gateway device recovers the binding relationship between air purifier.Second gateway device recovers binding relationship with air purifier Afterwards, the two can carry out proper communication.
Before gateway device is changed and after gateway device replacing, the facility information and network connecting mode of intelligent home device are not It can change.Second gateway device stores device type, device name, room location information, the equipment of intelligent home device Company-information, unit type information and scene information etc..
In summary, the gateway device collocation method that the present embodiment is provided, has reached that the second gateway device is matched somebody with somebody according to gateway Confidence ceases recovers binding relationship with corresponding intelligent home device, without adding and setting again intelligent home device information one by one Effect, reduce operation complexity of the user when configuring the binding relationship between intelligent home device and gateway device.
In an optional embodiment, when there is the situation of gateway configuration information synchronization failure in the second gateway device, Gateway configuration information progress of second gateway device to synchronization failure is subsynchronous again, as shown in Figure 7:
Step 305, when there is the gateway configuration information of synchronization failure, the second gateway device is according to preset strategy to synchronization The gateway configuration information re-synchronization of failure.
Preset strategy refers to processing mode of second gateway device to the gateway configuration information of synchronization failure.Preset strategy bag Include but be not limited to following three kinds of modes:
The first, the gateway configuration information progress that the second gateway device is spaced to synchronization failure at predetermined time intervals is again same Step.
Predetermined time interval refers to that the gateway configuration information to synchronization failure pre-set carries out the time of re-synchronization Interval.Such as, predetermined time interval is set to 10 minutes, then the second gateway device was matched somebody with somebody every 10 minutes gateways to synchronization failure Confidence breath carries out re-synchronization.
Second, when starting the second gateway device, the second gateway device is carried out to the gateway configuration information of synchronization failure Re-synchronization.
When generally starting the second gateway device, it can detect whether there is the gateway configuration information of synchronization failure, if there is The gateway configuration information of synchronization failure, the second gateway device carries out re-synchronization to the gateway configuration information of synchronization failure.It is optional Ground, the second gateway device starts a thread and carries out re-synchronization to the gateway configuration information of synchronization failure.
The third, when being communicated to external network, the second gateway device is weighed to the gateway configuration information of synchronization failure It is new synchronous.
Sometimes network failure can cause the second gateway device can not be connected with external network, so as to cause gateway to configure Synchronizing information fails, when being communicated to external network, and the second gateway device is carried out again to the gateway configuration information of synchronization failure It is synchronous.
Alternatively, network condition is not good sometimes, and message transmission rate causes gateway configuration information synchronization failure slowly excessively, works as net When network situation is preferable, the second gateway device carries out re-synchronization to the gateway configuration information of synchronization failure.
Above-mentioned three kinds of preset strategies can individualism, also can two-by-two simultaneously exist, or three kinds simultaneously presence.
In summary, the gateway device collocation method that the present embodiment is provided, has reached when gateway occurs in the second gateway device During the situation of configuration information synchronization failure, the second gateway device can carry out subsynchronous again to the gateway configuration information of synchronization failure Effect.
Fig. 8 is refer to, the flow chart of the gateway device collocation method provided it illustrates one embodiment of the invention.This reality Example is applied to be applied in the first gateway device 120 shown in Fig. 1 illustrate with the gateway device collocation method.This method bag Include:
Step 801, the mark and gateway configuration information of the first gateway device are backuped to backup services by the first gateway device Device.
The mark of first gateway device is used for the identity for identifying the first gateway device.Alternatively, the mark of the first gateway device Know for the MAC Address of the first gateway device.
Gateway configuration information is that the first gateway device backs up the information in backup server, and gateway configuration information includes net The running parameter in normal operation is closed, such as gateway configuration information includes:Network type, Networking protocol, network connection parameter, In the running parameter of gate performance, the facility information for the intelligent home device for setting up binding relationship with the first gateway device at least It is a kind of.The facility information of intelligent home device includes:Device management information and/or scene management information.
Gateway configuration information according to recovery for after the second gateway device receives recovery instruction, instructing from backup server Recover gateway configuration information and operational factor configuration is carried out according to gateway configuration information;Wherein, recover instruction and carry the first net The mark of equipment is closed, the first gateway device is the gateway device before changing, and the second gateway device is the gateway device after changing.
The procotol supported according to the first gateway device and the second gateway device, gateway configuration information includes but is not limited to Following three kinds:
The first, when the first gateway device and the second gateway device support purple honeybee Zigbee network, gateway configuration information bag Include the PAN identifier, channel signal and neighbor table information of Zigbee network.
The PAN identifier of Zigbee network is used to identify Zigbee network, the different Zigbee network for distinguishing.
Channel information includes channel number, channel capacity, channel width, channel bands, transmission rate, channel gain and letter Make an uproar than etc..Frequency range refers to generally comprise one or more of channels in the frequency range of electromagnetic wave, a certain frequency range, and channel number is used Channel in differentiation frequency range.Alternatively, the channel information in the present embodiment refers to channel number.
Neighbor table information includes nodal information, the network address and hardware address of adjacent node etc..Neighbor table information is used for Route Selection during forwarding data packets is provided.
Second, the first gateway device and the second gateway device support wireless networking specification Z-Wave, and configuration information includes The network address of Z-Wave gateways, the nodal information for each node being added in Z-Wave networks, the node of each node Location and network topology table.
The network address (HOME ID) of Z-Wave gateways is used to identify Z-Wave networks, the different Z-Wave for distinguishing Network.
Nodal information includes type, title, room location information, company-information and type information of node etc..
Node address (NODE ID) is the address of Z-Wave nodes.A usual Z-Wave network includes many Individual node, the different node address of different node correspondences.
The information of network topology table record includes:Node address, nodal information and the control section of Z-Wave nodes Point etc..
The third, the first gateway device and the second gateway device support Wireless Fidelity WiFi, and gateway configuration information includes clothes Business set identifier, cipher mode and access pin.
Service set identifier (Service Set Identifier, SSID) refers to for a string of unique name wireless network Character.Service set identifier is by the way that multiple wireless access point APs (Access Point) are set with different SSID.SSID leads to Often it is acquiescence or customized wireless network name.Service set identifier SSID is sent by router in Wi-Fi network Wi-Fi titles.
Wi-Fi cipher modes are including WEP, WPA and WPA2 etc..
Access pin is the password set for heterogeneous networks, for carrying out subscriber authentication, passes through the use of authentication Family can enter corresponding network.Access pin generally includes acquiescence access pin or user-defined access pin.
Above-mentioned three kinds of gateway configuration informations can individualism, also can two-by-two simultaneously exist, or three kinds simultaneously presence.
Step 802, when there is the gateway configuration information of backup failure, the first gateway device is according to preset strategy to backup The gateway configuration information of failure is backed up again.
Preset strategy refers to processing mode of first gateway device to the configuration information of backup failure.Preset strategy include but It is not limited to following three kinds of modes:
The first, the gateway configuration information progress that the first gateway device is spaced to backup failure at predetermined time intervals is again standby Part.
Predetermined time interval refers to the time backed up again to the gateway configuration information of backup failure pre-set Interval.Such as, predetermined time interval is set to 15 minutes, then the first gateway device was matched somebody with somebody every 15 minutes gateways to backup failure Confidence breath is backed up again.
Second, when starting the first gateway device, the first gateway device is carried out to the gateway configuration information of backup failure Again back up.
When generally starting the first gateway device, it can detect whether there is the gateway configuration information of backup failure, if there is The gateway configuration information of backup failure, the first gateway device is backed up again to the gateway configuration information of backup failure.It is optional Ground, the first gateway device starts a thread to be backed up again to the gateway configuration information of backup failure.
The third, when being communicated to external network, the first gateway device carries out again standby to the configuration information of backup failure Part.
Sometimes network failure can cause the first gateway device can not be connected with external network, so as to cause gateway to configure Information back-up fails, when being communicated to external network, and the first gateway device is carried out again to the gateway configuration information of backup failure Backup.
Alternatively, network condition is not good sometimes, and message transmission rate causes gateway configuration information backup failure slowly excessively, works as net When network situation is preferable, the first gateway device is backed up again to the gateway configuration information of backup failure.
Above-mentioned three kinds of preset strategies can individualism, also can two-by-two simultaneously exist, or three kinds simultaneously presence.
In summary, the gateway device collocation method that the present embodiment is provided, the first gateway device is by the first gateway device Mark and gateway configuration information backup to backup server, have reached that the second gateway device can recover to be somebody's turn to do from backup server Gateway configuration information, the second gateway device recovers the effect of binding relationship according to gateway configuration information and intelligent home device.
In addition, also having reached that the first gateway device is to backup failure when there is the gateway configuration information of backup failure The effect that gateway configuration information is backed up again.
Fig. 9 is refer to, the flow chart of the gateway device collocation method provided it illustrates one embodiment of the invention.This reality Example is applied to be applied in the backup server 160 shown in Fig. 1 illustrate with the gateway device collocation method.This method includes:
Step 901, backup server is backed up the mark and gateway configuration information of the first gateway device.
The mark and gateway configuration information of first gateway device are that the first gateway device backups to backup clothes in historical time It is engaged in device.
The mark of first gateway device is used for the identity for identifying the first gateway device.Alternatively, the mark of the first gateway device Know for the MAC Address of the first gateway device.
Gateway configuration information is that the first gateway device backs up the information in backup server, and gateway configuration information includes net The running parameter in normal operation is closed, such as gateway configuration information includes:Network type, Networking protocol, network connection parameter, In the running parameter of gate performance, the facility information for the intelligent home device for setting up binding relationship with the first gateway device at least It is a kind of.The facility information of intelligent home device includes:Device management information and/or scene management information.
The procotol supported according to the first gateway device and the second gateway device, gateway configuration information includes but is not limited to Following three kinds:
The first, when the first gateway device and the second gateway device support purple honeybee Zigbee network, gateway configuration information bag Include the PAN identifier, channel signal and neighbor table information of Zigbee network.
The PAN identifier of Zigbee network is used to identify Zigbee network, the different Zigbee network for distinguishing.
Channel information includes channel number, channel capacity, channel width, channel bands, transmission rate, channel gain and letter Make an uproar than etc..Frequency range refers to generally comprise one or more of channels in the frequency range of electromagnetic wave, a certain frequency range, and channel number is used Channel in differentiation frequency range.
Neighbor table information includes nodal information, the network address and hardware address of adjacent node etc..Neighbor table information is used for Route Selection during forwarding data packets is provided.
Second, the first gateway device and the second gateway device support wireless networking specification Z-Wave, gateway configuration information The network address including Z-Wave gateways, the nodal information for each node being added in Z-Wave networks, the section of each node Dot address and network topology table.
The network address (HOME ID) of Z-Wave gateways is used to identify Z-Wave networks, the different Z-Wave for distinguishing Network.
Nodal information includes type, title, room location information, company-information and type information of node etc..
Node address (NODE ID) is the address of Z-Wave nodes.A usual Z-Wave network includes many Individual node, the different node address of different node correspondences.
The information of network topology table record includes:Node address, nodal information and the control section of Z-Wave nodes Point etc..
The third, the first gateway device and the second gateway device support Wireless Fidelity WiFi, and gateway configuration information includes clothes Business set identifier, cipher mode and access pin.
Service set identifier SSID refers to for a string of characters of unique name wireless network.Service set identifier is by right Multiple wireless access point APs set different SSID.SSID is usually acquiescence or customized wireless network name.Wi-Fi nets Service set identifier SSID is the Wi-Fi titles sent by router in network.
Wi-Fi cipher modes are including WEP, WPA and WPA2 etc..
Access pin is the password set for heterogeneous networks, for carrying out subscriber authentication, passes through the use of authentication Family can enter corresponding network.Access pin generally includes acquiescence access pin or user-defined access pin.
Above-mentioned three kinds of gateway configuration informations can individualism, also can two-by-two simultaneously exist, or three kinds simultaneously presence.
Step 902, backup server provides gateway configuration information to the second gateway device.
Gateway configuration information according to recovery for after the second gateway device receives recovery instruction, instructing from backup server Recover gateway configuration information and operational factor configuration is carried out according to gateway configuration information;Wherein, recover instruction and carry the first net The mark of equipment is closed, the first gateway device is the gateway device before changing, and the second gateway device is the gateway device after changing.
Recover instruction to refer to for indicating that the second gateway device recovers the instruction of gateway configuration information.Recovering instruction is typically What the operation that user's triggering recovers gateway configuration information was triggered.
Parameter configuration refers to that the second gateway device sets the running parameter of itself according to gateway configuration information, so as to the second net Close equipment and carry out normal work according to the history running parameter of the first gateway device.
Sometimes network failure or network condition be not good, in gateway configuration information backup failure, backup server The service for backing up the first gateway configuration information again is provided to the first gateway device, the first gateway configuration information is backup failure Gateway configuration information, step is as follows:
Step 903, when there is the gateway configuration information of backup failure, backup server is with the first gateway device according to pre- If strategy is backed up again to the gateway configuration information of backup failure.
Again the preset strategy for backing up the first gateway configuration information includes but is not limited to following three kinds of modes:
The first, the gateway configuration information progress that the first gateway device is spaced to backup failure at predetermined time intervals is again standby Part.
Second, when starting the first gateway device, the first gateway device is carried out to the gateway configuration information of backup failure Again back up.
The third, when being communicated to external network, the first gateway device is weighed to the gateway configuration information of backup failure New backup.
In gateway configuration information synchronization failure, backup server provides the gateway of re-synchronization second to the second gateway device The service of configuration information, the second gateway configuration information is the gateway configuration information of synchronization failure, and step is as follows:
Step 904, when there is the gateway configuration information of synchronization failure, backup server is with the second gateway device according to pre- If strategy is to the gateway configuration information re-synchronization of synchronization failure.
The preset strategy of the gateway configuration information of re-synchronization second includes but is not limited to following three kinds of modes:
The first, the gateway configuration information progress that the second gateway device is spaced to synchronization failure at predetermined time intervals is again same Step.
Second, when starting the second gateway device, the second gateway device is carried out to the gateway configuration information of synchronization failure Re-synchronization.
The third, when being communicated to external network, the second gateway device is weighed to the gateway configuration information of synchronization failure It is new synchronous.
In summary, the gateway device collocation method that the present embodiment is provided, backup server is by the mark of the first gateway device Know and gateway configuration information is backed up, provide gateway configuration information to the second gateway device, reached the second gateway device energy Enough to recover gateway configuration information from backup server, the second gateway device is extensive with intelligent home device according to gateway configuration information The effect of multiple binding relationship.
In addition, also having reached that the first gateway device is to backup failure when there is the gateway configuration information of backup failure The effect that gateway configuration information is backed up again.
In addition, also having reached when the situation that gateway configuration information synchronization failure occurs in the second gateway device, the second gateway Equipment can carry out hyposynchronous effect again to the gateway configuration information of synchronization failure.
Figure 10 is refer to, the flow chart of the gateway device collocation method provided it illustrates one embodiment of the invention.This Embodiment is applied in the intelligent domestic system 100 shown in Fig. 1 illustrate with the gateway device collocation method.This method bag Include:
Step 1001, the mark and gateway configuration information of the first gateway device are backuped to backup services by the first gateway device Device.
The mark of first gateway device is used for the identity for identifying the first gateway device.Alternatively, the mark of the first gateway device Know for the MAC Address of the first gateway device.
Gateway configuration information is that the first gateway device backs up the information in backup server, and gateway configuration information includes net The running parameter in normal operation is closed, such as gateway configuration information includes:Network type, Networking protocol, network connection parameter, In the running parameter of gate performance, the facility information for the intelligent home device for setting up binding relationship with the first gateway device at least It is a kind of.The facility information of intelligent home device includes:Device management information and/or scene management information.
The procotol supported according to the first gateway device and the second gateway device, gateway configuration information includes but is not limited to Following three kinds:
The first, when the first gateway device and the second gateway device support purple honeybee Zigbee network, gateway configuration information bag Include the PAN identifier, channel signal and neighbor table information of Zigbee network.
The PAN identifier of Zigbee network is used to identify Zigbee network, the different Zigbee network for distinguishing.
Channel information includes channel number, channel capacity, channel width, channel bands, transmission rate, channel gain and letter Make an uproar than etc..Frequency range refers to generally comprise one or more of channels in the frequency range of electromagnetic wave, a certain frequency range, and channel number is used Channel in differentiation frequency range.
Neighbor table information includes nodal information, the network address and hardware address of adjacent node etc..Neighbor table information is used for Route Selection during forwarding data packets is provided.
Second, the first gateway device and the second gateway device support wireless networking specification Z-Wave, and configuration information includes The network address of Z-Wave gateways, the nodal information for each node being added in Z-Wave networks, the node of each node Location and network topology table.
The network address (HOME ID) of Z-Wave gateways is used to identify Z-Wave networks, the different Z-Wave for distinguishing Network.
Nodal information includes type, title, room location information, company-information and type information of node etc..
Node address (NODE ID) is the address of Z-Wave nodes.A usual Z-Wave network includes many Individual node, the different node address of different node correspondences.
The information of network topology table record includes:Node address, nodal information and the control section of Z-Wave nodes Point etc..
The third, the first gateway device and the second gateway device support Wireless Fidelity WiFi, and gateway configuration information includes clothes Business set identifier, cipher mode and access pin.
Service set identifier SSID refers to for a string of characters of unique name wireless network.Service set identifier is by right Multiple wireless access point APs set different SSID.SSID is usually acquiescence or customized wireless network name.Wi-Fi nets Service set identifier SSID is Wi-Fi titles in network.
Wi-Fi cipher modes are including WEP, WPA and WPA2 etc..
Access pin is the password set for heterogeneous networks, for carrying out subscriber authentication, passes through the use of authentication Family can enter corresponding network.Access pin generally includes acquiescence access pin or user-defined access pin.
Above-mentioned three kinds of gateway configuration informations can individualism, also can two-by-two simultaneously exist, or three kinds simultaneously presence.
Step 1002, backup server is backed up the mark and gateway configuration information of the first gateway device.
When the situation of gateway configuration information backup failure occurs in the first gateway device, the first gateway device is to backup failure Gateway configuration information backed up again, step is as follows:
Step 1003, when there is the gateway configuration information of backup failure, backup server and the first gateway device according to Preset strategy is backed up again to the gateway configuration information of backup failure.
Again the preset strategy for backing up the first gateway configuration information includes but is not limited to following three kinds of modes:
The first, the gateway configuration information progress that the first gateway device is spaced to backup failure at predetermined time intervals is again standby Part.
Second, when starting the first gateway device, the first gateway device is carried out to the gateway configuration information of backup failure Again back up.
The third, when being communicated to external network, the first gateway device is weighed to the gateway configuration information of backup failure New backup.
Step 1004, the second gateway device, which is received, recovers instruction, recovers the mark that instruction carries the first gateway device.
First gateway device is the gateway device before changing, and the second gateway device is the gateway device after changing.
Step 1005, the second gateway device is sent to backup server recovers instruction.
Step 1006, backup server, which is received, recovers instruction.
Step 1007, backup server provides gateway configuration information according to recovery instruction to the second gateway device.
Step 1008, the second gateway device recovers the first gateway device in history according to recovering to instruct from backup server The gateway configuration information of time backup.
Step 1009, the second gateway device carries out operational factor configuration according to gateway configuration information.
Different according to the procotol that the first gateway device and the second gateway device are supported, the second gateway device is according to net Close configuration information and carry out operational factor configuration including but not limited to following three kinds of situations:
The first, the first gateway device and the second gateway device support purple honeybee Zigbee network, and gateway configuration information includes PAN identifier, channel information and the neighbor table information of Zigbee network.
Step 1009 includes but is not limited to following sub-step:
Step one, channel information is configured to currently used channel by the second gateway device.
The network identity of Zigbee network is set to PAN identifier by step 2, the second gateway device.
Step 3, the second gateway device storage neighbor table information, neighbor table information is for providing during forwarding data packets Route Selection.
Second, the first gateway device and the second gateway device support wireless networking specification Z-Wave, gateway configuration information The network address including Z-Wave gateways, the nodal information for each node being added in Z-Wave networks, the section of each node Dot address and network topology table.
Step 1009 includes but is not limited to following sub-step:
Step one, the network address of Z-Wave gateways is configured to the currently used network address by the second gateway device.
Step 2, the second gateway device stores the nodal information, node address and network topology table of each node.
The third, the first gateway device and the second gateway device support Wireless Fidelity Wi-Fi, and gateway configuration information includes: Service set identifier, cipher mode and access pin.
Step 1009 includes but is not limited to following sub-step:
Step one, service set identifier is set to currently used service set identifier by the second gateway device.
Cipher mode is set to currently used cipher mode by step 2, the second gateway device.
Access pin is set to currently used access pin by step 3, the second gateway device.
When the situation of gateway configuration information synchronization failure occurs in the second gateway device, the second gateway device is to synchronization failure Gateway configuration information carry out it is subsynchronous again, step is as follows:
Step 1010, when there is the gateway configuration information of synchronization failure, backup server and the second gateway device according to Gateway configuration information re-synchronization of the preset strategy to synchronization failure.
The preset strategy of the gateway configuration information of re-synchronization second includes but is not limited to following three kinds of modes:
The first, the gateway configuration information progress that the second gateway device is spaced to synchronization failure at predetermined time intervals is again same Step.
Second, when starting the second gateway device, the second gateway device is carried out to the gateway configuration information of synchronization failure Re-synchronization.
The third, when being communicated to external network, the second gateway device is weighed to the gateway configuration information of synchronization failure It is new synchronous.
For intelligent home device energy receive information, feedback information and communicated, the second gateway device is matched somebody with somebody according to gateway Confidence breath progress operational factor, which is matched somebody with somebody, to be postponed, in addition it is also necessary to recover binding relationship with intelligent home device, step is as follows:
Step 1011, the second gateway device recovers binding pass according to gateway configuration information and corresponding intelligent home device System.
According to the difference of procotol, gateway configuration information also corresponds to difference.Procotol includes but is not limited to:Zigbee Agreement, Z-Wave agreements and Wi-Fi agreements.
When the first gateway device and the second gateway device support purple honeybee Zigbee network, the second gateway device is according to Zigbee PAN identifier, channel information and the neighbor table information of network recover binding relationship with corresponding intelligent home device.
When the first gateway device and the second gateway device support wireless networking specification Z-Wave, the second gateway device is according to Z- The network address of Wave gateways, the nodal information for each node being added in the Z-Wave networks, each node Node address and network topology table are recovered to determine relation with corresponding intelligent home device.
When the first gateway device and the second gateway device support Wireless Fidelity WiFi, the second gateway device is according to services set mark Know symbol, cipher mode and access pin and recover binding relationship with corresponding intelligent home device.
In the embodiment of the present invention embodiment of the first gateway device side, the second gateway device side and backup server side with it is upper Fig. 3 is stated to embodiment illustrated in fig. 9 correspondence, the details not being described in detail in the present embodiment may be referred to above-mentioned Fig. 3 to Fig. 9 institutes Show embodiment of the method.
In summary, the gateway device collocation method that the present embodiment is provided, is solved when intelligent home device is more and needs When changing gateway device, reconfigure various operational factors on the second gateway device, and with each intelligent home device weight The problem of newly setting up more numerous and diverse binding relationship and high error rate.Reached need not be reconfigured on the second gateway device it is various Operational factor, the configuration information that the second gateway device obtains the backup of the first gateway device from backup server carries out operational factor Configuration, the second gateway device recovers binding relationship according to gateway configuration information and intelligent home device, without adding one by one again With the information for setting intelligent home device, operation complexity of the user when setting intelligent home gateway is reduced, use is improved The operating efficiency at family.
In addition, also having reached in Zigbee network, the second gateway device can obtain the first gateway from backup server The gateway configuration information of equipment, operational factor is carried out according to the PAN identifier, channel information and neighbor table information of Zigbee network Configuration, without networking again and setting intelligent home device information.
Also reach in Z-Wave networks, the second gateway device can obtain the first gateway device from backup server Gateway configuration information, according to the network address of Z-Wave gateways, the nodal information for each node being added in Z-Wave networks, The node address and network topology table of each node carry out operational factor configuration, without networking again, add the section of each node Point information, node address and structure network topology table.
Also reach in Wi-Fi network, the second gateway device can obtain the first gateway device from backup server Gateway configuration information, carries out operational factor configuration, without group again according to service set identifier, cipher mode and access pin Net, definition Wi-Fi titles, setting cipher mode and Wi-Fi passwords.
In addition, also having reached when the situation that gateway configuration information synchronization failure occurs in the second gateway device, the second gateway Equipment can carry out hyposynchronous effect again to the gateway configuration information of synchronization failure.
Also reach that the first gateway device is matched somebody with somebody to the gateway of backup failure when there is the gateway configuration information of backup failure The effect that confidence breath is backed up again.
A kind of gateway device configures system, and the system includes:First gateway device, the second gateway device and backup services Device;
The mark and gateway configuration information of first gateway device are backuped to backup server by the first gateway device;
Backup server is backed up the mark and gateway configuration information of the first gateway device;
Second gateway device, which is received, recovers instruction, recovers the mark that instruction carries the first gateway device, and the first gateway is set Standby is the gateway device before changing, and the second gateway device is the gateway device after changing;
Second gateway device recovers what the first gateway device was backed up in historical time according to recovering to instruct from backup server Gateway configuration information;
Second gateway device carries out operational factor configuration according to gateway configuration information.
It is apparatus of the present invention embodiment below, device embodiment is corresponding with above-mentioned embodiment of the method.In device embodiment In the details be not described in detail, may be referred to above method embodiment.
Figure 11 is refer to, the structure square frame of the gateway device configuration device provided it illustrates one embodiment of the invention Figure.The gateway device configuration device can by special hardware circuit, or, the combination of software and hardware is implemented as in Fig. 1 Two gateway devices 140 all or part of.The device includes:
Command reception module 1120, instruction is recovered for receiving, and recovers the mark that instruction carries the first gateway device, the One gateway device is the gateway device before changing, and the second gateway device is the gateway device after changing;
Information recovery module 1140, for according to recovering to instruct, the first gateway device to be recovered in history from backup server The gateway configuration information of time backup;
Parameter configuration module 1160, for carrying out operational factor configuration according to gateway configuration information.
In summary, the present embodiment provide gateway device configuration device, solve when intelligent home device compared with and needs Change gateway device it is many when, reconfigure various operational factors on the second gateway device, and with each intelligent home device weight The problem of newly setting up more numerous and diverse binding relationship and high error rate.Reached need not be reconfigured on the second gateway device it is various Operational factor, the configuration information that the second gateway device obtains the backup of the first gateway device from backup server carries out operational factor Configuration, reduces operation complexity of the user when setting intelligent home gateway, improves the operating efficiency of user.
Figure 12 is refer to, the structure square frame of the gateway device configuration device provided it illustrates one embodiment of the invention Figure.The gateway device configuration device can by special hardware circuit, or, the combination of software and hardware is implemented as in Fig. 1 Two gateway devices 140 all or part of.The device includes:
Command reception module 1220, instruction is recovered for receiving, and recovers the mark that instruction carries the first gateway device, the One gateway device is the gateway device before changing, and the second gateway device is the gateway device after changing;
Information recovery module 1240, for according to recovering to instruct, the first gateway device to be recovered in history from backup server The gateway configuration information of time backup;
Parameter configuration module 1260, for carrying out operational factor configuration according to gateway configuration information.
Alternatively, the first gateway device and the second gateway device support purple honeybee Zigbee network;
Gateway configuration information includes PAN identifier, channel information and the neighbor table information of Zigbee network;
Parameter configuration module 1260, including:
Channel configuration unit 1261, for channel information to be configured to currently used channel;
First setting unit 1262, for the network identity of Zigbee network to be set into PAN identifier;
First memory cell 1263, for storing neighbor table information, when neighbor table information is used to provide forwarding data packets Route Selection.
Alternatively, the first gateway device and the second gateway device support wireless networking specification Z-Wave;
Gateway configuration information includes the network address of Z-Wave gateways, the section for each node being added in Z-Wave networks Point information, the node address of each node and network topology table;
Parameter configuration module 1260, including:
Address configuration unit 1264, for the network address of Z-Wave gateways to be configured to the currently used network address;
Second memory cell 1265, nodal information, node address and network topology table for storing each node.
Alternatively, the first gateway device and the second gateway device support Wireless Fidelity WiFi;
Gateway configuration information includes:Service set identifier, cipher mode and access pin;
Parameter configuration module 1260, including:
Second setting unit 1266, for service set identifier to be set to currently used service set identifier;
3rd setting unit 1267, for cipher mode to be set to currently used cipher mode;
4th setting unit 1268, for access pin to be set to currently used access pin.
Alternatively, the device also includes:
Recovery module 1280 is bound, is closed for recovering binding according to gateway configuration information and corresponding intelligent home device System.
Alternatively, the device also includes:
First synchronization module 1290, for according to gateway configuration information re-synchronization of the preset strategy to synchronization failure.
Alternatively, synchronizing information module 1290, including:
First synchronization unit 1291, the gateway configuration information for being spaced at predetermined time intervals to synchronization failure is carried out again It is synchronous;
Or,
Second synchronization unit 1292, for when starting the second gateway device, the gateway configuration information to synchronization failure to be entered Row re-synchronization;
Or,
3rd synchronization unit 1293, for when being communicated to external network, the gateway configuration information to synchronization failure to be carried out Re-synchronization.
In summary, the gateway device configuration device that the present embodiment is provided, is solved when intelligent home device is more and needs When changing gateway device, reconfigure various operational factors on the second gateway device, and with each intelligent home device weight The problem of newly setting up more numerous and diverse binding relationship and high error rate.Reached need not be reconfigured on the second gateway device it is various Operational factor, the configuration information that the second gateway device obtains the backup of the first gateway device from backup server carries out operational factor Configuration, the second gateway device recovers binding relationship according to gateway configuration information and intelligent home device, without adding one by one again With the information for setting intelligent home device, operation complexity of the user when setting intelligent home gateway is reduced, use is improved The operating efficiency at family.
In addition, also having reached in Zigbee network, the second gateway device can obtain the first gateway from backup server The gateway configuration information of equipment, operational factor is carried out according to the PAN identifier, channel information and neighbor table information of Zigbee network Configuration, without networking again and setting intelligent home device information.
Also reach in Z-Wave networks, the second gateway device can obtain the first gateway device from backup server Gateway configuration information, according to the network address of Z-Wave gateways, the nodal information for each node being added in Z-Wave networks, The node address and network topology table of each node carry out operational factor configuration, without networking again, add the section of each node Point information, node address and structure network topology table.
Also reach in Wi-Fi network, the second gateway device can obtain the first gateway device from backup server Gateway configuration information, carries out operational factor configuration, without group again according to service set identifier, cipher mode and access pin Net, definition Wi-Fi titles, setting cipher mode and Wi-Fi passwords.
In addition, also having reached when the situation that gateway configuration information synchronization failure occurs in the second gateway device, the second gateway Equipment can carry out hyposynchronous effect again to the gateway configuration information of synchronization failure.
Figure 13 is refer to, the structure square frame of the gateway device configuration device provided it illustrates one embodiment of the invention Figure.The gateway device configuration device can by special hardware circuit, or, the combination of software and hardware is implemented as in Fig. 1 One gateway device 120 all or part of.The device includes:
First backup module 1320, for the mark and gateway configuration information of the first gateway device to be backuped into backup services Device, gateway configuration information is used for after the second gateway device receives recovery instruction, recovers according to instruction is recovered from backup server Gateway configuration information simultaneously carries out operational factor configuration according to gateway configuration information;
Wherein, the mark that instruction carries the first gateway device is recovered, the first gateway device is the gateway device before changing, Second gateway device is the gateway device after changing.
Alternatively,
When the first gateway device and the second gateway device support purple honeybee Zigbee network, gateway configuration information includes Zigbee PAN identifier, channel signal and the neighbor table information of network;
And/or,
First gateway device and the second gateway device support wireless networking specification Z-Wave, and configuration information includes Z-Wave nets The network address of pass, the nodal information for each node being added in Z-Wave networks, the node address and network of each node Topology table;
And/or,
First gateway device and the second gateway device support Wireless Fidelity WiFi, and gateway configuration information includes service set Symbol, cipher mode and access pin.
Alternatively, the device also includes:
Second backup module 1340, for being backed up again to the gateway configuration information of backup failure according to preset strategy.
Alternatively, the second backup module 1340, including:
First backup units 1341, the gateway configuration information for being spaced at predetermined time intervals to backup failure is carried out again Backup;
Or,
Second backup units 1342, for when starting the first gateway device, the gateway configuration information to backup failure to be entered Row is backed up again;
Or,
3rd backup units 1343, for when being communicated to external network, being carried out again to the configuration information of backup failure Backup.
In summary, the gateway device configuration device that the present embodiment is provided, is solved when intelligent home device is more and needs When changing gateway device, reconfigure various operational factors on the second gateway device, and with each intelligent home device weight The problem of newly setting up more numerous and diverse binding relationship and high error rate.Reached need not be reconfigured on the second gateway device it is various Operational factor, the configuration information that the second gateway device obtains the backup of the first gateway device from backup server carries out operational factor Configuration, the second gateway device recovers binding relationship according to gateway configuration information and intelligent home device, without adding one by one again With the information for setting intelligent home device, operation complexity of the user when setting intelligent home gateway is reduced, use is improved The operating efficiency at family.
In addition, also having reached that the first gateway device is to backup failure when there is the gateway configuration information of backup failure The effect that gateway configuration information is backed up again.
Figure 14 is refer to, the structure square frame of the gateway device configuration device provided it illustrates one embodiment of the invention Figure.The gateway device configuration device can by special hardware circuit, or, the combination of software and hardware is implemented as standby in Fig. 1 Part server 160 all or part of.The device includes:
3rd backup module 1420, for the mark and gateway configuration information of the first gateway device to be backed up, first The mark and gateway configuration information of gateway device are that the first gateway device is backuped in backup server in historical time;
Information providing module 1440, for providing gateway configuration information to the second gateway device, gateway configuration information is used for After the second gateway device receives recovery instruction, gateway configuration information is recovered and according to net according to recovering to instruct from backup server Close configuration information and carry out operational factor configuration;
Wherein, the mark that instruction carries the first gateway device is recovered, the first gateway device is the gateway device before changing, Second gateway device is the gateway device after changing.
Alternatively,
First gateway device and the second gateway device support purple honeybee Zigbee network, and gateway configuration information includes Zigbee nets PAN identifier, channel signal and the neighbor table information of network;
And/or,
First gateway device and the second gateway device support wireless networking specification Z-Wave, and configuration information includes Z-Wave nets The network address of pass, the nodal information for each node being added in Z-Wave networks, the node address and network of each node Topology table;
And/or,
First gateway device and the second gateway device support Wireless Fidelity WiFi, and gateway configuration information includes service set Symbol, cipher mode and access pin.
Alternatively, the device also includes:
4th backup module 1460, for when there is the gateway configuration information of backup failure, being pressed with the first gateway device The gateway configuration information of backup failure is backed up again according to preset strategy.
Alternatively, the device also includes:
Second synchronization module 1480, for when there is the gateway configuration information of synchronization failure, being connect with the second gateway device Sync response is received, according to gateway configuration information re-synchronization of the preset strategy to synchronization failure.
In summary, the gateway device configuration device that the present embodiment is provided, is solved when intelligent home device is more and needs When changing gateway device, reconfigure various operational factors on the second gateway device, and with each intelligent home device weight The problem of newly setting up more numerous and diverse binding relationship and high error rate.Reached need not be reconfigured on the second gateway device it is various Operational factor, the configuration information that the second gateway device obtains the backup of the first gateway device from backup server carries out operational factor Configuration, the second gateway device recovers binding relationship according to gateway configuration information and intelligent home device, without adding one by one again With the information for setting intelligent home device, operation complexity of the user when setting intelligent home gateway is reduced, use is improved The operating efficiency at family.
In addition, also having reached when the situation that gateway configuration information synchronization failure occurs in the second gateway device, the second gateway Equipment can carry out hyposynchronous effect again to the gateway configuration information of synchronization failure.
In addition, also having reached that the first gateway device is to backup failure when there is the gateway configuration information of backup failure The effect that gateway configuration information is backed up again.
Figure 15 is refer to, the structural representation of the server provided it illustrates an illustrative embodiment of the invention.Should Server is the backup server in implementation environment shown in Fig. 1.Backup server is used to implement implementation shown in above-mentioned Fig. 9 and Figure 10 The gateway device collocation method for the backup server side that example is provided.
The backup server 1500 includes CPU (CPU) 1501, storage device 1502, NIU 1503, and connect the system bus of CPU (CPU) 1501, storage device 1502 and NIU 1503 1504。
Storage device 1502 is used for storage program area, application program and other program modules.The storage device 1502 CPU 1501 is connected to by the storage control (not shown) for being connected to system bus 1504.The storage device 1502 and its associated computer-readable medium provide non-volatile memories for backup server 1500.That is, described Storage device 1502 can include the computer-readable medium (not shown) of such as hard disk or CD-ROM drive etc.
Without loss of generality, the computer-readable medium can include computer-readable storage medium and communication media.Computer Storage medium is included for information such as storage computer-readable instruction, data structure, program module or other data Volatibility and non-volatile, removable and irremovable medium that any method or technique is realized.Computer-readable storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that the computer-readable storage medium It is not limited to above-mentioned several.According to various embodiments of the present invention, the backup server 1500 can also be by such as because of spy Remote computer operation in the network connections to network such as net.Namely backup server 1500 can be by being connected to the system NIU 1503 in bus 1504 is connected to network, in other words, and NIU 1503 can also be used to connect It is connected to other kinds of network or remote computer system (not shown).
The memory also include one or more than one program, one or more than one program storage in In memory, and it is configured to by one or more than one computing device.When the backup server 1500 is smart home During backup server in system, said one or more than one program bag, which contain to be used to perform shown in above-mentioned Fig. 9 and Figure 10, appoints The instruction of the gateway device collocation method for the backup server side that one embodiment is provided.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..It the foregoing is only the present invention Preferred embodiment, be not intended to limit the invention, within the spirit and principles of the invention, any modification for being made, etc. With replacement, improvement etc., it should be included in the scope of the protection.

Claims (31)

1. a kind of gateway device collocation method, it is characterised in that methods described includes:
Second gateway device, which is received, recovers instruction, described to recover the mark that instruction carries the first gateway device, first net It is the gateway device before changing to close equipment, and second gateway device is the gateway device after changing;
Second gateway device recovers to instruct according to described, and first gateway device is recovered in history from backup server Between the gateway configuration information that backs up;
Second gateway device carries out operational factor configuration according to the gateway configuration information.
2. according to the method described in claim 1, it is characterised in that first gateway device and the second gateway device branch Hold purple honeybee Zigbee network;
The gateway configuration information includes PAN identifier, channel information and the neighbor table information of the Zigbee network;
Second gateway device carries out operational factor configuration according to the gateway configuration information, including:
The channel information is configured to currently used channel by second gateway device;
The network identity of the Zigbee network is set to the PAN identifier by second gateway device;
Second gateway device stores the neighbor table information, and the neighbor table information is for providing during forwarding data packets Route Selection.
3. according to the method described in claim 1, it is characterised in that first gateway device and the second gateway device branch Hold wireless networking specification Z-Wave;
The network address of the gateway configuration information including the Z-Wave gateways, each being added in the Z-Wave networks The nodal information of node, the node address of each node and network topology table;
Second gateway device carries out operational factor configuration according to the gateway configuration information, including:
The network address of the Z-Wave gateways is configured to the currently used network address by second gateway device;
Second gateway device stores the nodal information, the node address and the network topology of each node Table.
4. according to the method described in claim 1, it is characterised in that first gateway device and the second gateway device branch Hold Wireless Fidelity WiFi;
The gateway configuration information includes:Service set identifier, cipher mode and access pin;
Second gateway device carries out operational factor configuration according to the gateway configuration information, including:
The service set identifier is set to currently used service set identifier by second gateway device;
The cipher mode is set to currently used cipher mode by second gateway device;
The access pin is set to currently used access pin by second gateway device.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
Second gateway device recovers binding relationship according to the gateway configuration information with corresponding intelligent home device.
6. according to any described method of claim 1 to 5, it is characterised in that described to recover to instruct according to described, from backup clothes Device recovery first gateway device be engaged in after the configuration information that historical time is backed up, in addition to:
When there is the gateway configuration information of synchronization failure, second gateway device is according to preset strategy to the synchronization The gateway configuration information re-synchronization of failure.
7. method according to claim 6, it is characterised in that second gateway device is according to preset strategy to described same The gateway configuration information re-synchronization of failure is walked, including:
Second gateway device is spaced at predetermined time intervals carries out re-synchronization to the gateway configuration information of the synchronization failure;
Or,
When starting second gateway device, second gateway device is carried out to the gateway configuration information of the synchronization failure Re-synchronization;
Or,
When being communicated to external network, second gateway device carries out again same to the gateway configuration information of the synchronization failure Step.
8. a kind of gateway device collocation method, it is characterised in that methods described includes:
The mark and gateway configuration information of first gateway device are backuped to backup server, the net by the first gateway device Pass configuration information is used for after the second gateway device receives recovery instruction, is instructed according to the recovery extensive from the backup server The multiple gateway configuration information simultaneously carries out operational factor configuration according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is before changing Gateway device, second gateway device is the gateway device after changing.
9. method according to claim 8, it is characterised in that
When first gateway device and second gateway device support purple honeybee Zigbee network, the gateway configuration information bag Include the PAN identifier, channel signal and neighbor table information of the Zigbee network;
And/or,
First gateway device and second gateway device support wireless networking specification Z-Wave, and the configuration information includes It is the network address of the Z-Wave gateways, the nodal information for each node being added in the Z-Wave networks, each described The node address and network topology table of node;
And/or,
First gateway device and second gateway device support Wireless Fidelity WiFi, and the gateway configuration information includes clothes Business set identifier, cipher mode and access pin.
10. method according to claim 8 or claim 9, it is characterised in that
When there is the gateway configuration information of backup failure, first gateway device is according to preset strategy to the backup The gateway configuration information of failure is backed up again.
11. method according to claim 10, it is characterised in that first gateway device is according to preset strategy to described The gateway configuration information of backup failure is backed up again, including:
First gateway device is spaced at predetermined time intervals to be backed up again to the gateway configuration information of the backup failure;
Or,
When starting first gateway device, first gateway device is carried out to the gateway configuration information of the backup failure Again back up;
Or,
When being communicated to external network, first gateway device is backed up again to the configuration information of the backup failure.
12. a kind of gateway device collocation method, it is characterised in that methods described includes:
Backup server is backed up the mark and gateway configuration information of the first gateway device, the mark of first gateway device Know and the gateway configuration information is that first gateway device is backuped in the backup server in historical time;
Backup server provides the gateway configuration information to the second gateway device, and the gateway configuration information is used for described the Two gateway devices, which are received, to be recovered after instruction, and the gateway configuration information is recovered from the backup server according to the recovery instruction And operational factor configuration is carried out according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is before changing Gateway device, second gateway device is the gateway device after changing.
13. method according to claim 12, it is characterised in that methods described also includes:
First gateway device and second gateway device support purple honeybee Zigbee network, and the gateway configuration information includes PAN identifier, channel signal and the neighbor table information of the Zigbee network;
And/or,
First gateway device and second gateway device support wireless networking specification Z-Wave, and the configuration information includes It is the network address of the Z-Wave gateways, the nodal information for each node being added in the Z-Wave networks, each described The node address and network topology table of node;
And/or,
First gateway device and second gateway device support Wireless Fidelity WiFi, and the gateway configuration information includes clothes Business set identifier, cipher mode and access pin.
14. the method according to claim 12 or 13, it is characterised in that methods described also includes:
When there is the gateway configuration information of backup failure, the backup server is with first gateway device according to pre- If strategy is backed up again to the gateway configuration information of the backup failure.
15. the method according to claim 12 or 13, it is characterised in that methods described also includes:
When there is the gateway configuration information of synchronization failure, the backup server is with second gateway device according to pre- If strategy is to the gateway configuration information re-synchronization of the synchronization failure.
16. a kind of gateway device configuration device, it is characterised in that in the second gateway device, described device to include:
Command reception module, instruction is recovered for receiving, described to recover instruction and carry the mark of the first gateway device, and described the One gateway device is the gateway device before changing, and second gateway device is the gateway device after changing;
Information recovery module, for recovering to instruct according to described, first gateway device is recovered in history from backup server The gateway configuration information of time backup;
Parameter configuration module, for carrying out operational factor configuration according to the gateway configuration information.
17. device according to claim 16, it is characterised in that first gateway device and second gateway device Support purple honeybee Zigbee network;
The gateway configuration information includes PAN identifier, channel information and the neighbor table information of the Zigbee network;
The parameter configuration module, including:
Channel configuration unit, for the channel information to be configured to currently used channel;
First setting unit, for the network identity of the Zigbee network to be set into the PAN identifier;
First memory cell, for storing the neighbor table information, when the neighbor table information is used to provide forwarding data packets Route Selection.
18. device according to claim 16, it is characterised in that first gateway device and second gateway device Support wireless networking specification Z-Wave;
The network address of the gateway configuration information including the Z-Wave gateways, each being added in the Z-Wave networks The nodal information of node, the node address of each node and network topology table;
The parameter configuration module, including:
Address configuration unit, for the network address of the Z-Wave gateways to be configured into the currently used network address;
Second memory cell, the nodal information, the node address and the network for storing each node are opened up Flutter table.
19. device according to claim 16, it is characterised in that first gateway device and second gateway device Support Wireless Fidelity WiFi;
The gateway configuration information includes:Service set identifier, cipher mode and access pin;
The parameter configuration module, including:
Second setting unit, for the service set identifier to be set to currently used service set identifier;
3rd setting unit, for the cipher mode to be set to currently used cipher mode;
4th setting unit, for the access pin to be set to currently used access pin.
20. device according to claim 16, it is characterised in that described device also includes:
Recovery module is bound, for recovering binding relationship with corresponding intelligent home device according to the gateway configuration information.
21. according to any described device of claim 16 to 20, it is characterised in that described device also includes:
First synchronization module, for when there is the gateway configuration information of synchronization failure, according to preset strategy to described same Walk the gateway configuration information re-synchronization of failure.
22. device according to claim 21, it is characterised in that first synchronization module, including:
First synchronization unit, the gateway configuration information for being spaced at predetermined time intervals to the synchronization failure carries out again same Step;
Or,
Second synchronization unit, for when starting second gateway device, the gateway configuration information to the synchronization failure to be entered Row re-synchronization;
Or,
3rd synchronization unit, for when being communicated to external network, the gateway configuration information to the synchronization failure to be carried out again It is synchronous.
23. a kind of gateway device configuration device, it is characterised in that in the first gateway device, described device to include:
First backup module, for the mark and gateway configuration information of first gateway device to be backuped into backup server, The gateway configuration information is used for after the second gateway device receives recovery instruction, and instruction is recovered from the backup clothes according to described The device recovery gateway configuration information of being engaged in simultaneously carries out operational factor configuration according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is before changing Gateway device, second gateway device is the gateway device after changing.
24. device according to claim 23, it is characterised in that
First gateway device and second gateway device support purple honeybee Zigbee network, and the gateway configuration information includes PAN identifier, channel signal and the neighbor table information of the Zigbee network;
And/or,
First gateway device and second gateway device support wireless networking specification Z-Wave, and the configuration information includes It is the network address of the Z-Wave gateways, the nodal information for each node being added in the Z-Wave networks, each described The node address and network topology table of node;
And/or,
First gateway device and second gateway device support Wireless Fidelity WiFi, and the gateway configuration information includes clothes Business set identifier, cipher mode and access pin.
25. the device according to claim 23 or 24, it is characterised in that described device also includes:
Second backup module, for when there is the gateway configuration information of backup failure, according to preset strategy to described standby The gateway configuration information of part failure is backed up again.
26. device according to claim 25, it is characterised in that second backup module, including:
First backup units, the gateway configuration information for being spaced at predetermined time intervals to the backup failure carries out again standby Part;
Or,
Second backup units, for when starting first gateway device, the gateway configuration information to the backup failure to be entered Row is backed up again;
Or,
3rd backup units, for when being communicated to external network, being backed up again to the configuration information of the backup failure.
27. a kind of gateway device configuration device, it is characterised in that in backup server, described device to include:
3rd backup module, for the mark and gateway configuration information of the first gateway device to be backed up, first gateway The mark of equipment and the gateway configuration information are that first gateway device backups to the backup server in historical time In;
Information providing module, for providing the gateway configuration information to the second gateway device, the gateway configuration information is used for After second gateway device receives recovery instruction, the gateway is recovered from the backup server according to the recovery instruction Configuration information simultaneously carries out operational factor configuration according to the gateway configuration information;
Wherein, described to recover the mark that instruction carries first gateway device, first gateway device is before changing Gateway device, second gateway device is the gateway device after changing.
28. device according to claim 27, it is characterised in that
First gateway device and second gateway device support purple honeybee Zigbee network, and the gateway configuration information includes PAN identifier, channel signal and the neighbor table information of the Zigbee network;
And/or,
First gateway device and second gateway device support wireless networking specification Z-Wave, and the configuration information includes It is the network address of the Z-Wave gateways, the nodal information for each node being added in the Z-Wave networks, each described The node address and network topology table of node;
And/or,
First gateway device and second gateway device support Wireless Fidelity WiFi, and the gateway configuration information includes clothes Business set identifier, cipher mode and access pin.
29. the device according to claim 27 or 28, it is characterised in that described device also includes:
4th backup module, for when there is the gateway configuration information of backup failure, being pressed with first gateway device The gateway configuration information of the backup failure is backed up again according to preset strategy.
30. the device according to claim 27 or 28, it is characterised in that described device also includes:
Second synchronization module, for when there is the gateway configuration information of synchronization failure, being connect with second gateway device The sync response is received, according to gateway configuration information re-synchronization of the preset strategy to the synchronization failure.
31. a kind of gateway device configures system, it is characterised in that the system includes:First gateway device, backup server and Second gateway device;
First gateway device, including the device as described in claim 23 to 26 is any;
The backup server, including the device as described in claim 27 to 30 is any;
Second gateway device, including the device as described in claim 16 to 22 is any.
CN201710146684.XA 2017-03-13 2017-03-13 Gateway device collocation method, apparatus and system Pending CN106972958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710146684.XA CN106972958A (en) 2017-03-13 2017-03-13 Gateway device collocation method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710146684.XA CN106972958A (en) 2017-03-13 2017-03-13 Gateway device collocation method, apparatus and system

Publications (1)

Publication Number Publication Date
CN106972958A true CN106972958A (en) 2017-07-21

Family

ID=59329158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710146684.XA Pending CN106972958A (en) 2017-03-13 2017-03-13 Gateway device collocation method, apparatus and system

Country Status (1)

Country Link
CN (1) CN106972958A (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device
CN107948027A (en) * 2017-11-02 2018-04-20 南京物联传感技术有限公司 One kind carries smart home data safety backup system and method for work
CN108512697A (en) * 2018-03-15 2018-09-07 上海康斐信息技术有限公司 A kind of method and system automatically configuring home gateway
CN108737228A (en) * 2018-05-02 2018-11-02 深圳市彬讯科技有限公司 Intelligent domestic system, intelligent gateway and its control method
CN108882268A (en) * 2018-05-08 2018-11-23 京信通信系统(中国)有限公司 A kind of method and apparatus of more new device configuration
CN109547306A (en) * 2018-12-06 2019-03-29 杭州涂鸦信息技术有限公司 A kind of smart home device management method, system, intelligent gateway and server
CN109660432A (en) * 2018-10-31 2019-04-19 无锡小天鹅股份有限公司 Household electrical appliance and its control system and binding method
CN110417582A (en) * 2019-07-03 2019-11-05 华为技术有限公司 A kind of method for configuring routers, terminal and router
CN110519366A (en) * 2019-08-26 2019-11-29 青岛海信智慧家居系统股份有限公司 A kind of method and device for replacing gateway
CN110855460A (en) * 2018-08-20 2020-02-28 Oppo广东移动通信有限公司 Scene recovery method, cloud platform and computer storage medium
CN111092774A (en) * 2019-12-25 2020-05-01 中国联合网络通信集团有限公司 Configuration method and equipment of acquisition gateway
CN111130869A (en) * 2019-12-17 2020-05-08 睿住科技有限公司 Intelligent gateway engineering installation data recovery method and device
CN111556119A (en) * 2020-04-23 2020-08-18 杭州涂鸦信息技术有限公司 Equipment information changing method and related equipment
CN111767167A (en) * 2020-04-30 2020-10-13 深圳市欧瑞博科技股份有限公司 Method, system, server and storage medium for migrating gateway data
CN111930082A (en) * 2020-07-22 2020-11-13 青岛海信智慧家居系统股份有限公司 Method and device for replacing intelligent household equipment
CN112039735A (en) * 2020-08-14 2020-12-04 深圳市欧瑞博科技股份有限公司 Configuration data importing method and device of intelligent household equipment, server and storage medium
CN112163125A (en) * 2020-09-22 2021-01-01 海尔优家智能科技(北京)有限公司 Device management method and apparatus, storage medium, and electronic device
CN112506704A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Configuration information backup method and device for gateway of Internet of things
CN112511345A (en) * 2020-11-18 2021-03-16 广州河东科技有限公司 Gateway replacement configuration system, method and device
CN112769760A (en) * 2020-12-22 2021-05-07 广州技象科技有限公司 Signal receiving and processing method and device
CN112910675A (en) * 2019-12-04 2021-06-04 云丁网络技术(北京)有限公司 Equipment management method, device and system
CN113014459A (en) * 2019-12-20 2021-06-22 西门子(中国)有限公司 Gateway recovery method and device of intelligent home system
CN113009835A (en) * 2019-12-20 2021-06-22 西门子(中国)有限公司 Automatic configuration method and device of intelligent home system
WO2021134562A1 (en) * 2019-12-31 2021-07-08 Oppo广东移动通信有限公司 Configuration device replacement method and apparatus, device, and storage medium
WO2021142788A1 (en) * 2020-01-17 2021-07-22 Oppo广东移动通信有限公司 Method and apparatus for migrating configuration capabilities, storage medium, and processor
CN114697053A (en) * 2020-12-25 2022-07-01 深圳Tcl新技术有限公司 Method and device for distributing network in batches for terminal equipment, routing equipment and storage medium
CN115225491A (en) * 2022-07-22 2022-10-21 上海庆科信息技术有限公司 Method, device, electronic device, storage medium and system for replacing equipment
EP4250687A1 (en) * 2022-03-21 2023-09-27 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for synchronizing data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196465A (en) * 2010-03-19 2011-09-21 中兴通讯股份有限公司 Management method and system for WSN (wireless sensor network)
CN102387514A (en) * 2010-08-27 2012-03-21 中兴通讯股份有限公司 Backup method and backup system of wireless sensor network gateway
CN102595353A (en) * 2011-01-18 2012-07-18 中兴通讯股份有限公司 Information process method in gateway failure, system and gateways
CN103124240A (en) * 2013-02-07 2013-05-29 北京华为数字技术有限公司 Gateway configuration method, gateway devices and network system
CN103973476A (en) * 2013-02-06 2014-08-06 上海杰之能信息科技有限公司 Gateway, and gateway hot backup system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196465A (en) * 2010-03-19 2011-09-21 中兴通讯股份有限公司 Management method and system for WSN (wireless sensor network)
CN102387514A (en) * 2010-08-27 2012-03-21 中兴通讯股份有限公司 Backup method and backup system of wireless sensor network gateway
CN102595353A (en) * 2011-01-18 2012-07-18 中兴通讯股份有限公司 Information process method in gateway failure, system and gateways
CN103973476A (en) * 2013-02-06 2014-08-06 上海杰之能信息科技有限公司 Gateway, and gateway hot backup system and method
CN103124240A (en) * 2013-02-07 2013-05-29 北京华为数字技术有限公司 Gateway configuration method, gateway devices and network system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
杜庆伟: "《无线通信中的移动计算》", 31 August 2016, 北京航空航天大学出版社 *
罗汉江: "《物联网应用技术导论》", 31 March 2013, 东软电子出版社 *
陈伟: "《大学计算机基础实践教程》", 30 September 2015, 东南大学出版社 *

Cited By (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device
CN107493212B (en) * 2017-08-30 2020-03-17 海信集团有限公司 Configuration processing method, terminal, server and system of intelligent household equipment
CN107948027A (en) * 2017-11-02 2018-04-20 南京物联传感技术有限公司 One kind carries smart home data safety backup system and method for work
CN108512697A (en) * 2018-03-15 2018-09-07 上海康斐信息技术有限公司 A kind of method and system automatically configuring home gateway
CN108737228B (en) * 2018-05-02 2021-08-13 深圳市彬讯科技有限公司 Intelligent home system, intelligent gateway and control method thereof
CN108737228A (en) * 2018-05-02 2018-11-02 深圳市彬讯科技有限公司 Intelligent domestic system, intelligent gateway and its control method
CN108882268A (en) * 2018-05-08 2018-11-23 京信通信系统(中国)有限公司 A kind of method and apparatus of more new device configuration
CN108882268B (en) * 2018-05-08 2021-09-24 京信网络系统股份有限公司 Method and device for updating device configuration
CN116055323A (en) * 2018-08-20 2023-05-02 Oppo广东移动通信有限公司 Scene recovery method, cloud platform and computer storage medium
CN110855460B (en) * 2018-08-20 2022-12-16 Oppo广东移动通信有限公司 Scene recovery method, cloud platform and computer storage medium
CN110855460A (en) * 2018-08-20 2020-02-28 Oppo广东移动通信有限公司 Scene recovery method, cloud platform and computer storage medium
CN109660432B (en) * 2018-10-31 2021-12-21 无锡小天鹅电器有限公司 Household appliance and control system and binding method thereof
CN109660432A (en) * 2018-10-31 2019-04-19 无锡小天鹅股份有限公司 Household electrical appliance and its control system and binding method
CN109547306A (en) * 2018-12-06 2019-03-29 杭州涂鸦信息技术有限公司 A kind of smart home device management method, system, intelligent gateway and server
CN109547306B (en) * 2018-12-06 2021-04-30 杭州涂鸦信息技术有限公司 Intelligent household equipment management method and system, intelligent gateway and server
CN110417582A (en) * 2019-07-03 2019-11-05 华为技术有限公司 A kind of method for configuring routers, terminal and router
CN110519366A (en) * 2019-08-26 2019-11-29 青岛海信智慧家居系统股份有限公司 A kind of method and device for replacing gateway
CN112910675A (en) * 2019-12-04 2021-06-04 云丁网络技术(北京)有限公司 Equipment management method, device and system
CN111130869A (en) * 2019-12-17 2020-05-08 睿住科技有限公司 Intelligent gateway engineering installation data recovery method and device
CN113009835A (en) * 2019-12-20 2021-06-22 西门子(中国)有限公司 Automatic configuration method and device of intelligent home system
CN113014459A (en) * 2019-12-20 2021-06-22 西门子(中国)有限公司 Gateway recovery method and device of intelligent home system
CN111092774A (en) * 2019-12-25 2020-05-01 中国联合网络通信集团有限公司 Configuration method and equipment of acquisition gateway
CN114667720A (en) * 2019-12-31 2022-06-24 Oppo广东移动通信有限公司 Method, device and equipment for replacing configuration equipment and storage medium
WO2021134562A1 (en) * 2019-12-31 2021-07-08 Oppo广东移动通信有限公司 Configuration device replacement method and apparatus, device, and storage medium
WO2021142788A1 (en) * 2020-01-17 2021-07-22 Oppo广东移动通信有限公司 Method and apparatus for migrating configuration capabilities, storage medium, and processor
CN114651429A (en) * 2020-01-17 2022-06-21 Oppo广东移动通信有限公司 Configuration capability migration method and device, storage medium and processor
CN114651429B (en) * 2020-01-17 2023-10-03 Oppo广东移动通信有限公司 Migration method and device for configuration capability, storage medium and processor
CN111556119A (en) * 2020-04-23 2020-08-18 杭州涂鸦信息技术有限公司 Equipment information changing method and related equipment
CN111767167B (en) * 2020-04-30 2024-03-12 深圳市欧瑞博科技股份有限公司 Gateway data migration method, system, server and storage medium
CN111767167A (en) * 2020-04-30 2020-10-13 深圳市欧瑞博科技股份有限公司 Method, system, server and storage medium for migrating gateway data
CN111930082B (en) * 2020-07-22 2021-11-23 青岛海信智慧生活科技股份有限公司 Method and device for replacing intelligent household equipment
CN111930082A (en) * 2020-07-22 2020-11-13 青岛海信智慧家居系统股份有限公司 Method and device for replacing intelligent household equipment
CN112039735A (en) * 2020-08-14 2020-12-04 深圳市欧瑞博科技股份有限公司 Configuration data importing method and device of intelligent household equipment, server and storage medium
CN112163125A (en) * 2020-09-22 2021-01-01 海尔优家智能科技(北京)有限公司 Device management method and apparatus, storage medium, and electronic device
CN112511345A (en) * 2020-11-18 2021-03-16 广州河东科技有限公司 Gateway replacement configuration system, method and device
CN112506704B (en) * 2020-12-05 2022-01-18 广州技象科技有限公司 Configuration information backup method and device for gateway of Internet of things
CN112506704A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Configuration information backup method and device for gateway of Internet of things
CN112769760A (en) * 2020-12-22 2021-05-07 广州技象科技有限公司 Signal receiving and processing method and device
CN114697053A (en) * 2020-12-25 2022-07-01 深圳Tcl新技术有限公司 Method and device for distributing network in batches for terminal equipment, routing equipment and storage medium
CN114697053B (en) * 2020-12-25 2024-07-09 深圳Tcl新技术有限公司 Terminal equipment batch network distribution method and device, routing equipment and storage medium
EP4250687A1 (en) * 2022-03-21 2023-09-27 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for synchronizing data
CN115225491A (en) * 2022-07-22 2022-10-21 上海庆科信息技术有限公司 Method, device, electronic device, storage medium and system for replacing equipment

Similar Documents

Publication Publication Date Title
CN106972958A (en) Gateway device collocation method, apparatus and system
CN103476023B (en) The collocation method of access point apparatus, access controller and communication system
CN102076024B (en) Base station, network system and implementation method
CN102137395B (en) Method, device and system for configuring access device
US20160044513A1 (en) Virtual wireless networking
CN104602289B (en) The method, apparatus and system and intelligent terminal of self- recoverage MPP nodes
CN111065116A (en) Automatic deployment method and system for end-to-end slicing
CN104704779A (en) Method and apparatus for accelerating forwarding in software-defined networks
CN108092893A (en) A kind of special line activating method and device
EP2547043B1 (en) Method, apparatus and system for deploying layer 2 network device
CN103812728A (en) Network diagnostic method, system and router
CN106992917A (en) Message forwarding method and device
CN103152282A (en) Single logical network interface for advanced load balancing and fail-over functionality
CN104468219A (en) Virtual networking network topology discovery method and device
CN108319357A (en) To the method and server system of the power supply of the multiple active members for the system of closing
CN105592483B (en) Method and device for transmitting configuration information
CN102742222B (en) Method and apparatus for maintaining connectivity of transmission lines
CN108370515A (en) Wireless mesh network management method, apparatus for the method and record are useful for executing the recording medium of the computer program of this method
CN108184260A (en) The network state identification method and device of Zigbee nodes
CN106059793A (en) Router information processing method and apparatus based on graceful restart
CN108809767A (en) MAC Address processing method, equipment and cascading networking system
CN104022972A (en) Ethernet switch configuration method and switch applying the same
CN106792821B (en) Access control method and device based on virtual gateway
CN103763676B (en) Communication means and equipment between AP and AC
EP4049427B1 (en) Distribution of stateless security functions

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721

RJ01 Rejection of invention patent application after publication