CN111580838A - Zigbee network recovery and backup method and system - Google Patents

Zigbee network recovery and backup method and system Download PDF

Info

Publication number
CN111580838A
CN111580838A CN201910120554.8A CN201910120554A CN111580838A CN 111580838 A CN111580838 A CN 111580838A CN 201910120554 A CN201910120554 A CN 201910120554A CN 111580838 A CN111580838 A CN 111580838A
Authority
CN
China
Prior art keywords
information
setting data
module
recovery
setting
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
CN201910120554.8A
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.)
Shenzhen Zhiqu Technology Ltd
Original Assignee
Shenzhen Zhiqu Technology 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 Shenzhen Zhiqu Technology Ltd filed Critical Shenzhen Zhiqu Technology Ltd
Priority to CN201910120554.8A priority Critical patent/CN111580838A/en
Publication of CN111580838A publication Critical patent/CN111580838A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • 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
    • 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
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a zigbee network recovery and backup method, which comprises the steps of obtaining equipment setting data information, marking the equipment setting data information by using a binary format, recording the equipment setting data information as setting data storage information, storing the setting data storage information, performing formatting setting on a system, sending recovery application information according to the data storage information, and obtaining the setting data storage information when recovery confirmation information is obtained; restoring system settings according to the setting data storage information; according to the method, the saved equipment setting data is marked as the binary system before the zigbee gateway clears the data, and then is saved, and the corresponding equipment setting is restored according to the equipment setting data correspondingly marked with the binary system information after the data is cleared, so that the storage and restoration of the zigbee network information are realized, the operation that a user needs to repeatedly add a plurality of zigbee equipment to enter a network after the zigbee network information is upgraded and reset is avoided, the user time is saved, and the humanized experience is enhanced.

Description

Zigbee network recovery and backup method and system
Technical Field
The invention relates to the field of networks, in particular to a zigbee network recovery and backup method and system.
Background
At present, a traditional zigbee gateway does not have the capability of storing relevant information of existing equipment in a network, if the traditional zigbee gateway has errors in operation and needs to restore factory settings or upgrade software, processing modes are to clear network information, reset relevant chips, start a new network to add existing zigbee equipment (such as a temperature sensor) again to the network, the equipment in the network cannot communicate again, and as the equipment needs to be added one by one again to enter the network every time the traditional zigbee gateway has errors in operation or upgrade software, after more and more zigbee equipment are purchased by a user, the operation becomes very complicated, and a lot of time is wasted by the user.
Disclosure of Invention
In order to solve the technical problems, the invention provides a zigbee network recovery and backup method and system, which can realize that a zigbee gateway can store the information of connected equipment in advance when the factory setting needs to be recovered or software needs to be upgraded, and can still quickly connect the equipment which is connected before after reset, so that a user does not need to frequently operate the zigbee equipment to access the network for connection, and the use experience of the user is improved.
In a first aspect, the present invention includes a zigbee network restoration and backup method, comprising;
acquiring at least one piece of equipment setting data information;
marking the equipment setting data information by using a binary format, and recording the equipment setting data information as setting data storage information;
storing the setting data storage information;
formatting the system;
sending recovery application information according to the data storage information;
when the confirmation recovery information is acquired;
acquiring the setting data storage information;
and restoring the system setting according to the setting data storage information.
Further, after the pair of devices obtains at least one device setting data, the method further comprises the following steps;
when the device setting data cannot be acquired,
formatting the system;
the system is set to an initial state.
Further, after sending the recovery application information according to the data saving information, the method further comprises the following steps;
when the recovery canceling information is acquired;
the system is set to an initial state.
In a second aspect, the present invention further includes a zigbee network recovery and backup system, including a control module, a data acquisition module, a storage module, a formatting module, and a data recovery module;
the data acquisition module, the storage module, the formatting module and the data recovery module are connected with the control module, and the control module is connected with an external user terminal;
the data acquisition module is used for acquiring at least one piece of equipment setting data information;
the storage module is used for marking the equipment setting data information by using a binary format and recording the equipment setting data information as setting data storage information;
the formatting module is used for formatting the system;
the control module is also used for sending recovery application information according to the data storage information;
the control module is also used for acquiring the recovery confirmation information;
the data acquisition module is also used for acquiring the setting data storage information;
and the data recovery module is used for recovering the system setting according to the setting data storage information.
Further, the formatting module is used for setting the formatting of the system, and further comprises;
the data acquisition module is further configured to, when the setting data saving information cannot be acquired,
the formatting module is also used for formatting the system;
the control module is also used for setting the system to an initial state.
Further, the control module is further configured to send recovery application information according to the data saving information, and then further includes;
the control module is also used for acquiring the recovery canceling information;
the control module is also used for setting the system to an initial state.
By adopting the technical scheme, the saved equipment setting data is marked as the binary system before the zigbee gateway clears the data, and then is saved, and the corresponding equipment setting is restored according to the equipment setting data correspondingly marked with the binary information after the data is cleared, so that the storage and restoration of the zigbee network information are realized, the speed of searching the equipment setting data by the system is increased by setting the binary information mark, the operation that a user needs to repeatedly add a plurality of zigbee equipment to enter the network after the zigbee network information is upgraded and reset is avoided, the time of the user is saved, and the humanized experience is enhanced.
Drawings
FIG. 1 is a flowchart illustrating a zigbee network restoration and backup method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a zigbee network restoration and backup method according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a zigbee network restoration and backup method according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a zigbee network restoration and backup system according to an embodiment of the present invention;
the number designations in the figures are: 10-a control module, 20-a data acquisition module, 30-a storage module, 40-a formatting module and 50-a data recovery module.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
In a first aspect, as shown in fig. 1, the present invention includes a zigbee network restoration and backup method, including;
s100, acquiring at least one piece of equipment setting data information;
s200, marking the equipment setting data information by using a binary format, and recording the equipment setting data information as setting data storage information;
s300, storing the setting data storage information;
s400, formatting the system;
s500, sending recovery application information according to the data storage information;
s600, when the recovery confirmation information is acquired;
s700, acquiring the setting data storage information;
and S800, restoring the system setting according to the setting data storage information.
Further, as shown in fig. 2, after the step S100, the method further includes;
s101, when the equipment setting data information cannot be acquired;
s102, formatting the system;
s103, setting the system to be in an initial state.
Further, as shown in fig. 3, after the step S500, the method further includes;
s601, when recovery canceling information is acquired;
and S602, setting the system to be in an initial state.
In a specific application scenario of the invention, a television and a washing machine are connected to the zigbee network, the system marks the connection setting information of the television and the zigbee network as 01 and stores the connection setting information into the system, and the connection setting information of the washing machine and the zigbee network is marked as 02 and stores the connection setting information into the system
When the zigbee network needs to be upgraded, the system inquires whether the mobile phone of the user needs to be upgraded, after the user clicks to confirm the upgrade, the system firstly carries out formatting setting, after the formatting is finished, the system starts to check binary information in the stored connection setting information, at the moment, the system acquires the television connection setting marked as 01 and the washing machine connection setting marked as 02, at the moment, the system sends two pieces of system recovery information to the mobile phone of the user to inquire whether the connection setting of the television marked as 01 and the washing machine connection setting marked as 02 are recovered, and after the confirmation recovery information of the user is acquired, the system recovers the connection between the zigbee network in the system and the television and the connection between the zigbee network and the washing machine in the system according to the television connection setting and the washing machine connection setting.
In a second aspect, the present invention further includes a zigbee network restoration and backup system, as shown in fig. 4, including a control module 10, a data acquisition module 20, a storage module 30, a formatting module 40, and a data restoration module 50;
the data acquisition module 20, the storage module 30, the formatting module 40 and the data recovery module 50 are connected with the control module 10, and the control module 10 is connected with an external user terminal;
the data obtaining module 20 is configured to obtain at least one device setting data information;
the storage module 30 is configured to mark the device setting data information in a binary format, and record the device setting data information as setting data storage information;
the formatting module 40 is used for formatting the system;
the control module 10 is further configured to send recovery application information according to the data storage information;
the control module 10 is further configured to, when the recovery confirmation information is acquired;
the data obtaining module 20 is further configured to obtain the setting data saving information;
the data recovery module 50 is configured to recover the system settings according to the setting data saving information.
Further, the formatting module 40 is configured to perform formatting setting on the system, and further includes;
the data acquisition module 20 is also configured to when the setting data saving information cannot be acquired,
the formatting module 40 is also used for formatting the system;
the control module 10 is also used to set the system to an initial state.
Further, the control module 10 is further configured to send the resume application information according to the data saving information, and then further include;
the control module 10 is further configured to, when the recovery cancellation information is acquired;
the control module 10 is also used to set the system to an initial state.
In another specific application scenario of the present invention, a television and a vacuum cleaner are connected to the zigbee network, the data obtaining module 20 marks the connection setting information of the television and the zigbee network as 01 and stores the connection setting information into the system through the storage module 30, and the data obtaining module 20 marks the connection setting information of the vacuum cleaner and the zigbee network as 02 and stores the connection setting information into the system through the storage module 30;
when the zigbee network needs to be upgraded, the control module 10 inquires whether the zigbee network needs to be upgraded or not from the mobile phone of the user, after the user clicks to confirm the upgrade, the formatting module 40 performs formatting setting on the system, after the formatting is completed, the control module 10 starts to check binary information in the stored connection setting information, at this time, the control module 10 acquires the television connection setting marked as 01 and the dust collector connection setting marked as 02, at this time, the control module 10 sends two pieces of system recovery information to the mobile phone of the user to inquire whether the television connection setting marked as 01 and the dust collector connection setting marked as 02 are recovered or not, and after the confirmation recovery information of the user is acquired, the data acquisition module 20 recovers the connection between the zigbee network in the system, the television and the dust collector according to the television connection setting and the washing machine connection setting.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, and the scope of protection is still within the scope of the invention.

Claims (6)

1. A zigbee network recovery and backup method is characterized by comprising the following steps;
acquiring at least one piece of equipment setting data information;
marking the equipment setting data information by using a binary format, and recording the equipment setting data information as setting data storage information;
storing the setting data storage information;
formatting the system;
sending recovery application information according to the data storage information;
when the confirmation recovery information is acquired;
acquiring the setting data storage information;
and restoring the system setting according to the setting data storage information.
2. The zigbee network restoration and backup method according to claim 1, wherein the pair further comprises, after acquiring at least one device setting data;
when the device setting data cannot be acquired,
formatting the system;
the system is set to an initial state.
3. The zigbee network recovery and backup method according to claim 1, wherein after the sending of the recovery application information according to the data saving information, further comprising;
when the recovery canceling information is acquired;
the system is set to an initial state.
4. A zigbee network recovery and backup system is characterized by comprising a control module, a data acquisition module, a storage module, a formatting module and a data recovery module;
the data acquisition module, the storage module, the formatting module and the data recovery module are connected with the control module, and the control module is connected with an external user terminal;
the data acquisition module is used for acquiring at least one piece of equipment setting data information;
the storage module is used for marking the equipment setting data information by using a binary format and recording the equipment setting data information as setting data storage information;
the formatting module is used for formatting the system;
the control module is also used for sending recovery application information according to the data storage information;
the control module is also used for acquiring the recovery confirmation information;
the data acquisition module is also used for acquiring the setting data storage information;
and the data recovery module is used for recovering the system setting according to the setting data storage information.
5. The zigbee network recovery and backup system according to claim 5, wherein the formatting module is configured to format the system, and further comprising;
the data acquisition module is further configured to, when the setting data saving information cannot be acquired,
the formatting module is also used for formatting the system;
the control module is also used for setting the system to an initial state.
6. The zigbee network recovery and backup system according to claim 5, wherein the control module is further configured to send recovery application information according to the data saving information, and further comprises;
the control module is also used for acquiring the recovery canceling information;
the control module is also used for setting the system to an initial state.
CN201910120554.8A 2019-02-18 2019-02-18 Zigbee network recovery and backup method and system Pending CN111580838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910120554.8A CN111580838A (en) 2019-02-18 2019-02-18 Zigbee network recovery and backup method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910120554.8A CN111580838A (en) 2019-02-18 2019-02-18 Zigbee network recovery and backup method and system

Publications (1)

Publication Number Publication Date
CN111580838A true CN111580838A (en) 2020-08-25

Family

ID=72112938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910120554.8A Pending CN111580838A (en) 2019-02-18 2019-02-18 Zigbee network recovery and backup method and system

Country Status (1)

Country Link
CN (1) CN111580838A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794654A (en) * 2005-12-22 2006-06-28 中山大学 Equipment failure restoring device and method for digital household network
CN102624545A (en) * 2012-02-22 2012-08-01 中兴通讯股份有限公司 Data backup method, data backup device, data recovery method and data recovery device of network management system
CN106534364A (en) * 2016-12-15 2017-03-22 新奥科技发展有限公司 Method for restoring factory settings of gateway and gateway
CN107249208A (en) * 2017-05-15 2017-10-13 华东交通大学 Non-volatile network node data storage method
CN107360034A (en) * 2017-07-25 2017-11-17 美的智慧家居科技有限公司 Gateway restoration methods, device and its equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794654A (en) * 2005-12-22 2006-06-28 中山大学 Equipment failure restoring device and method for digital household network
CN102624545A (en) * 2012-02-22 2012-08-01 中兴通讯股份有限公司 Data backup method, data backup device, data recovery method and data recovery device of network management system
CN106534364A (en) * 2016-12-15 2017-03-22 新奥科技发展有限公司 Method for restoring factory settings of gateway and gateway
CN107249208A (en) * 2017-05-15 2017-10-13 华东交通大学 Non-volatile network node data storage method
CN107360034A (en) * 2017-07-25 2017-11-17 美的智慧家居科技有限公司 Gateway restoration methods, device and its equipment

Similar Documents

Publication Publication Date Title
EP3082353A1 (en) Method and terminal device for sending and receiving user data
CN105682126B (en) Configuration processing method and device for APN (access point name) parameter
CN1169395C (en) Software reconfiguration of communication apparatus
CN105681420A (en) Method for realizing backup of switch operating system based on Docker
CN104732329A (en) Device tracking method and system
CN102301760A (en) Method and apparatus for tracking device management data changes
CN101247568A (en) Data fault-tolerance system and method and intermediate equipment
EP3474143A1 (en) Method and apparatus for incremental recovery of data
KR100782850B1 (en) Method of performing handover using subnet information and apparatus therefor
CN111580838A (en) Zigbee network recovery and backup method and system
CN101364250B (en) Copyright information processing method and device
KR102037556B1 (en) Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade
CN104426644A (en) Equipment time synchronization method and device
CN103500129A (en) Back-up object sending and back-up method, production end, backup-for-disaster-recovery end and system
CN102075279B (en) Configuration method and equipment for auto protocol switch (APS) working mode
CN101835067A (en) ASON (Automatic Switch Optical Network) automatic backup method, reduction method and device
CN114945002A (en) AMF selection method, device, network equipment and storage medium
CN102111783A (en) Primary subcommand rollback method and terminal
CN101577900A (en) Method for copying phone directories of mobile phones based on network
JP3061045B1 (en) Method for restoring contract information of mobile communication system
CN100413261C (en) Method and system of data recovering
JP2007088811A (en) Radio base station apparatus
JP2002077197A (en) Exchange method for slave station unit
EP1805935B1 (en) Persistent confirmed configuration method
CN103220420B (en) Method and device for permanently storing call record

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination