CN112511345A - Gateway replacement configuration system, method and device - Google Patents

Gateway replacement configuration system, method and device Download PDF

Info

Publication number
CN112511345A
CN112511345A CN202011295814.4A CN202011295814A CN112511345A CN 112511345 A CN112511345 A CN 112511345A CN 202011295814 A CN202011295814 A CN 202011295814A CN 112511345 A CN112511345 A CN 112511345A
Authority
CN
China
Prior art keywords
gateway
configuration
configuration file
cloud
replacement
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
CN202011295814.4A
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.)
Guangzhou Hedong Technology Co ltd
Jinmao Green Building Technology Co Ltd
Original Assignee
Guangzhou Hedong Technology Co ltd
Jinmao Green Building Technology 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 Guangzhou Hedong Technology Co ltd, Jinmao Green Building Technology Co Ltd filed Critical Guangzhou Hedong Technology Co ltd
Priority to CN202011295814.4A priority Critical patent/CN112511345A/en
Publication of CN112511345A publication Critical patent/CN112511345A/en
Pending legal-status Critical Current

Links

Images

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a gateway replacement configuration system, method and device. According to the technical scheme, the configuration file is backed up at the time point selected by the first gateway and uploaded to the cloud, the control terminal sends the configuration downloading instruction to the second gateway when the second gateway replaces the first gateway to access the network, the configuration downloading instruction is responded by the second gateway, the configuration file is downloaded from the cloud, and the working parameters of the second gateway are configured based on the configuration file. By adopting the technical means, the new gateway and the old gateway can be quickly replaced, the consistency of the configuration data of the new gateway and the old gateway can be ensured based on the backup of the configuration data, the complex process of manually configuring the working parameters of the gateways is omitted, the network access operation is not required to be carried out one by one, the gateway replacement efficiency is improved, and the normal operation of the network is ensured.

Description

Gateway replacement configuration system, method and device
Technical Field
The embodiment of the application relates to the technical field of gateways, in particular to a system, a method and a device for replacing and configuring a gateway.
Background
At present, with the rapid development of smart homes, a zigbee wireless control system is very colorful in the field of smart home control. In the zigbee system, the gateway is particularly important as a control center. If the gateway works abnormally, the normal work of the system can be influenced, when the gateway breaks down, the replacement work of a new gateway can be completed in a short time, the user experience can be greatly improved, and the normal operation of the system can be guaranteed.
However, in the case that the gateway cannot be normally used due to some unexpected reason (such as brick change or crash), in order to complete the replacement operation of the gateway, a field maintenance person needs to reconfigure working parameters with a new gateway, and each device quits the network one by one and then enters the network again. The whole gateway replacing process has multiple and tedious operation steps, the network re-accessing speed is low, the configuration data is easy to lose, and the configuration consistency of the new gateway and the old gateway can not be ensured.
Disclosure of Invention
The embodiment of the application provides a gateway replacement configuration system, method and device, which can realize the quick replacement of new and old gateways and ensure the consistency of configuration data of the new and old gateways.
In a first aspect, an embodiment of the present application provides a gateway replacement configuration system, including:
the system comprises a control terminal, a first gateway and a second gateway, wherein the first gateway and the second gateway are controlled by the control terminal;
the first gateway is used for selecting a time point backup configuration file and uploading the configuration file to a cloud end;
the control terminal is used for sending a configuration downloading instruction to the second gateway when the second gateway replaces the first gateway to access the network;
the second gateway is used for responding to the configuration downloading instruction, downloading the configuration file from a cloud end, and configuring the working parameters of the second gateway based on the configuration file.
In a second aspect, an embodiment of the present application provides a gateway replacement configuration method, which is applied to the gateway replacement configuration system in the first aspect of the embodiment of the present application, and includes:
the first gateway selects a time point backup configuration file and uploads the configuration file to a cloud end;
the method comprises the steps that when a second gateway replaces a first gateway to access a network, a control terminal sends a configuration downloading instruction to the second gateway;
and the second gateway responds to the configuration downloading instruction, downloads the configuration file from a cloud end, and configures the working parameters of the second gateway based on the configuration file.
Further, the first gateway selects a time point backup configuration file, including:
receiving a preset designated time period of the control terminal;
and randomly selecting a time point from the designated time period, and triggering automatic backup of the configuration file at the time point.
Further, before the first gateway selects the time point backup configuration file, the method further includes:
and triggering the backup process of the configuration file when the update of the modification time of the configuration file is detected.
Further, uploading the configuration file to a cloud, including:
compressing and encrypting the configuration file, and sending the compressed and encrypted configuration file to a cloud end;
correspondingly, after the configuration file is downloaded from the cloud, the method further comprises the following steps:
and carrying out decompression and decryption operations on the configuration file.
Further, before performing compression encryption on the configuration file, the method further includes:
and detecting the current network state, and triggering the compression and encryption process of the configuration file after the network state detection is passed.
Further, the configuration file comprises id information of the first gateway;
correspondingly, the second gateway is configured to respond to the configuration downloading instruction, and download the configuration file from a cloud, including:
extracting the id information from the configuration downloading instruction, wherein the id information is added to the configuration downloading instruction in advance by the control equipment;
requesting the corresponding configuration file from a cloud based on the id information;
and receiving the configuration file containing the id information returned by the cloud.
Further, configuring the operating parameters of the second gateway based on the configuration file includes:
configuring a coordinator channel, a Mac address, and key parameters of the second gateway based on the configuration file.
In a third aspect, an embodiment of the present application provides a gateway replacement configuration apparatus, including:
the backup module is used for selecting a time point backup configuration file through the first gateway and uploading the configuration file to the cloud end;
the replacing module is used for sending a configuration downloading instruction to a second gateway when the second gateway replaces the first gateway to access the network through the control terminal;
and the configuration module is used for responding to the configuration downloading instruction through the second gateway, downloading the configuration file from a cloud end, and configuring the working parameters of the second gateway based on the configuration file.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the gateway replacement configuration method according to the first aspect when executed by a computer processor.
According to the embodiment of the application, the configuration file is backed up at a time point selected by the first gateway and uploaded to the cloud, the control terminal sends a configuration downloading instruction to the second gateway when the second gateway replaces the first gateway to access the network, the configuration downloading instruction is responded by the second gateway, the configuration file is downloaded from the cloud, and the working parameters of the second gateway are configured based on the configuration file. By adopting the technical means, the new gateway and the old gateway can be quickly replaced, the consistency of the configuration data of the new gateway and the old gateway can be ensured based on the backup of the configuration data, the complex process of manually configuring the working parameters of the gateways is omitted, the network access operation is not required to be carried out one by one, the gateway replacement efficiency is improved, and the normal operation of the network is ensured.
Drawings
Fig. 1 is a schematic structural diagram of a gateway replacement configuration system according to an embodiment of the present application;
fig. 2 is a flowchart of a gateway replacement configuration method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a configuration file backup process according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating configuration file downloading configuration according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a gateway replacement configuration apparatus according to a second embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The application provides a gateway replacement configuration system and a gateway replacement configuration method, which aim to upload a corresponding configuration file to a cloud storage by backing up configuration data of a gateway in a network in advance. And subsequently, when the new gateway and the old gateway are replaced, requesting the configuration file of the old gateway from the cloud end through the new gateway, and configuring the working parameters of the new gateway based on the configuration file. Therefore, the consistency of the working parameters of the new gateway and the old gateway can be ensured, and the new gateway and the old gateway can be quickly replaced. Compared with the traditional zigbee gateway, the function of full-house automatic control is basically realized in the intelligent home system. The gateway needs to be connected with each household device to control each device. However, when a zigbee gateway cannot be used due to some unexpected reason (brick change or crash), due to the network access/network exit operation requirement of the zigbee protocol, the devices need to exit the network one by one and then enter the network, and the operation of replacing the old gateway with the new gateway cannot be quickly realized. If the replacement operation of the gateway is required to be completed, only the field maintenance personnel can reconfigure the working parameters by using the new gateway, and the equipment is retreated from the network one by one and then enters the network again. Obviously, the traditional gateway replacement mode has the defects of complicated operation steps, low re-network access speed, easy loss of configuration data, incapability of ensuring the configuration consistency of new and old gateways and the like. Therefore, the gateway replacement configuration system and method provided by the embodiment of the application can easily and quickly realize replacement operation of the new gateway and the old gateway and ensure the consistency of the configuration data of the new gateway and the old gateway. The intelligent household system creates a more comfortable, safe and natural use environment for the intelligent household users.
The first embodiment is as follows:
fig. 1 shows a gateway replacement configuration system provided in an embodiment of the present application, and referring to fig. 1, the gateway replacement configuration system includes: the system comprises a control terminal, a first gateway and a second gateway, wherein the first gateway and the second gateway are controlled by the control terminal; the first gateway is used for selecting a time point backup configuration file and uploading the configuration file to a cloud end; the control terminal is used for sending a configuration downloading instruction to the second gateway when the second gateway replaces the first gateway to access the network; the second gateway is used for responding to the configuration downloading instruction, downloading the configuration file from a cloud end, and configuring the working parameters of the second gateway based on the configuration file.
Illustratively, in the smart home system, the zigbee gateway is in signal connection with the smart home device and the control terminal, and the gateway forwards the control instruction of the control terminal, so as to implement the corresponding smart control operation. The control terminal can be an intelligent terminal device such as a mobile phone and a tablet. Further, in the scenario of replacing the old gateway with the new gateway, referring to fig. 1, the old gateway 12 (i.e. the first gateway) is connected to the cloud 14 and the mobile phone 11 of the user through a signal, and the new gateway 13 (i.e. the second gateway) is also connected to the cloud 14 and the mobile phone 11 when replacing the old gateway. In the operation process, the old gateway 12 uploads the configuration file to the cloud 14 for storage by backing up the configuration file of the old gateway. Subsequently, when the old gateway 12 needs to be replaced, the new gateway 13 is first accessed into the network, and a communication link between the new gateway 13 and the mobile phone 11 and the cloud 14 is established. After the new gateway 13 accesses the network, the user sends a configuration downloading instruction to the new gateway 13 through the corresponding application on the mobile phone 11, and the new gateway 13 downloads and configures the configuration file upon receiving the configuration downloading instruction. Wherein, based on the id information of the old gateway 12, the new gateway 13 requests the configuration file originally backed up by the old gateway 12 to the cloud. The configuration file of the old gateway 12 is extracted from the cloud 14, and the working parameters of the new gateway are configured based on the configuration file, so that the configuration of the working parameters of the new gateway can be completed, the complicated process of replacing the new gateway and the old gateway is omitted, and the configuration data of the new gateway and the old gateway are ensured to be consistent.
Further, fig. 2 is a flowchart of a gateway replacement configuration method according to an embodiment of the present application, where the gateway replacement configuration method provided in this embodiment may be executed by the gateway replacement configuration system.
The following description will be given by taking a gateway replacement configuration system as an example of a main body for executing the gateway replacement configuration method. Referring to fig. 2, the gateway replacement configuration method specifically includes:
s110, the first gateway selects a time point backup configuration file and uploads the configuration file to the cloud.
Specifically, the first gateway adaptively selects a certain time point to perform backup of the configuration file during the operation process. The configuration file is used for configuring working parameters of the first gateway and mainly comprises an equipment management table file, an automation list configuration file, a scene list configuration file and the like. Referring to fig. 3, the configuration file backup process includes:
s1101, receiving a preset designated time period of the control terminal;
s1102, randomly selecting a time point from the designated time period, and triggering automatic backup of the configuration file at the time point.
In the embodiment of the application, the first gateway automatically backs up the configuration file based on the automatic backup function of the first gateway. The automatic backup function is mainly used for compressing, encrypting and uploading a locally stored configuration file (such as an equipment management list file, an automation list configuration file, a scene list configuration file and the like) to the cloud end at a discrete time point of a certain specified time period. The configuration files are uploaded at discrete time points, so that the problem that the cloud server runs due to the fact that a plurality of gateways perform configuration file backup in parallel can be effectively solved.
Specifically, the automatic backup function mainly comprises five function modules, including an execution module, an uploading cloud detection module, a discrete time point generation module, a detection database module and a database module. The database module is mainly used for storing the configuration file of the first gateway. And modifying the configuration file according to the modification or change of the working parameters in the real-time operation process of the first gateway. And each modification of the configuration file is marked with corresponding modification time, so that whether the configuration file is modified or not is detected based on the change of the modification time. The detection database module is used for detecting the database module in real time and determining whether the configuration file of the database module changes. And when the update of the modification time of the configuration file is detected, determining that the configuration file is changed, and further triggering the backup process of the configuration file. It should be noted that, the detection database module may set a detection period, and in a detection period, if it is detected that the modification time of the configuration file is changed relative to the modification time detected in the previous detection period, it is determined that the configuration file is changed, and then a backup process of the configuration file is triggered to backup the configuration file. The discrete time point generating module is used for randomly selecting a time point in a specified time period preset by the control terminal after the configuration file backup process is triggered, and taking the time point as an action time point of automatic backup of the configuration file. After the configuration file backup is completed, the configuration file is uploaded through the uploading cloud detection module and the execution module. The uploading cloud detection module is used for detecting the uploading condition of the configuration file. And triggering the compression and encryption process of the configuration file after the network state detection is passed by detecting the current network state. In addition, the uploading cloud detection module further determines whether the current token value (session token) is not null, and determines whether the current time point is greater than or equal to a preselected time point. When the network state detection is passed, the token value is not null and the current time point is greater than or equal to the preselected time point, it indicates that the configuration file can be uploaded currently. The configuration file is uploaded at an execution module, and the execution module is used for compressing and encrypting the configuration file and sending the compressed and encrypted configuration file to a cloud. The execution module first performs configuration file compression on the configuration files backed up from the database module. The configuration file is compressed into a compressed package in xxx. And then, encrypting the compressed configuration file, and finally uploading the encrypted configuration file to a cloud. The configuration file can be encrypted by adopting various different encryption algorithms such as an asymmetric encryption algorithm and the like. The embodiment of the present application does not make fixed restrictions on a specific encryption algorithm, and is not described herein in detail.
It should be noted that, in this embodiment of the application, the configuration file uploaded to the cloud includes id information of the first gateway. It can be understood that the id information of the first gateway is added to the configuration file, so that the cloud server can determine the attribution of the configuration file, and the configuration file is correspondingly stored by using the id information as a data index. It can be understood that, if the cloud stores the configuration file of the id information in advance, the cloud updates the configuration file stored corresponding to the id information according to the newly received configuration file id information. Therefore, the configuration file stored in the cloud can be ensured to be the latest configuration file of the first gateway, and the configuration file version is prevented from occupying the internal memory of the cloud server too much.
And S120, when the second gateway replaces the first gateway to access the network, the control terminal sends a configuration downloading instruction to the second gateway.
Further, based on the above configuration file backup operation in the daily operation process of the first gateway, when a new gateway needs to be replaced, the new gateway is defined as the second gateway. And the user replaces the first gateway with the second gateway to access the network, and the second gateway replaces the first gateway to be connected with each device in the network. Further, in order to ensure that the system can operate as usual after the new gateway and the old gateway are replaced, it is necessary to ensure that the operating parameters between the new gateway and the old gateway are consistent. At this time, after the gateway is replaced, the user issues a configuration downloading instruction to the second gateway through the relevant application on the terminal device. The configuration downloading instruction is used for instructing the second gateway to download the configuration file which is backed up to the cloud end by the first gateway, and the working parameter configuration of the second gateway is carried out based on the acquired configuration file. Therefore, the working parameters of the second gateway and the first gateway after the configuration are kept consistent.
It should be noted that the configuration downloading instruction sent by the control terminal to the second gateway needs to include the id information of the first gateway. So that the subsequent second gateway requests the backup configuration file of the first gateway from the cloud based on the id information.
S130, the second gateway responds to the configuration downloading instruction, downloads the configuration file from a cloud end, and configures the working parameters of the second gateway based on the configuration file.
And the second gateway responds to the configuration downloading instruction after receiving the configuration downloading instruction issued by the control terminal, requests the configuration file backed up by the first gateway from the cloud end, and configures the working parameters according to the acquired configuration file.
Specifically, referring to fig. 4, the configuration file downloading configuration process includes:
s1301, extracting the id information from the configuration downloading instruction, wherein the id information is added to the configuration downloading instruction in advance by the control equipment;
s1302, requesting the corresponding configuration file from the cloud based on the id information;
and S1303, receiving the configuration file containing the id information returned by the cloud.
Before requesting the configuration file from the cloud, the second gateway obtains the id information of the first gateway by analyzing the configuration downloading instruction. And further sending a configuration file downloading request to the cloud, and adding the id information of the first gateway in the request. And after receiving the configuration file downloading request, the cloud extracts the corresponding configuration file and returns the configuration file to the second gateway based on the id information contained in the configuration file downloading request.
Further, after downloading the configuration file from the cloud, the second gateway decompresses and decrypts the configuration file. The configuration file downloaded from the cloud is compressed and encrypted by the first gateway before being transmitted to the cloud. Therefore, for the configuration file downloaded by the second gateway (for example, in base64 encoding format), a decoding operation is required. After decoding is completed, a compressed packet in tar.gz format is obtained, and then the compressed packet is further subjected to decompression operation.
And after the decompression and decoding of the configuration file are completed, the configuration of the configuration parameters of the second gateway can be carried out based on the configuration file. Wherein the coordinator channel, Mac address and key parameters of the second gateway are configured primarily based on the configuration file. In practical application, according to the specific content of the configuration file backup, various different working parameters of the second gateway can be configured correspondingly.
It should be noted that, in the subsequent operation process, the second gateway also backups its own configuration data at the relevant event point based on its own automatic backup function and generates a configuration file, and uploads the configuration file to the cloud for storage, so that when the second gateway is subsequently replaced, it can be ensured that the newly replaced gateway uses the working parameters of the second gateway, and the uninterrupted service of the gateway is ensured.
The configuration file is backed up at a time point selected by the first gateway and uploaded to the cloud, the control terminal sends a configuration downloading instruction to the second gateway when the second gateway replaces the first gateway to access the network, the configuration downloading instruction is responded by the second gateway, the configuration file is downloaded from the cloud, and the working parameters of the second gateway are configured based on the configuration file. By adopting the technical means, the new gateway and the old gateway can be quickly replaced, the consistency of the configuration data of the new gateway and the old gateway can be ensured based on the backup of the configuration data, the complex process of manually configuring the working parameters of the gateways is omitted, the network access operation is not required to be carried out one by one, the gateway replacement efficiency is improved, and the normal operation of the network is ensured.
Example two:
on the basis of the foregoing embodiment, fig. 5 is a schematic structural diagram of a gateway replacement configuration apparatus according to a second embodiment of the present application. Referring to fig. 5, the gateway replacement configuration apparatus provided in this embodiment specifically includes: a backup module 21, a replacement module 22 and a configuration module 23.
The backup module 21 is configured to select a time point backup configuration file through the first gateway, and upload the configuration file to the cloud;
the replacing module 22 is configured to send a configuration downloading instruction to a second gateway when the second gateway replaces the first gateway to access the network through the control terminal;
the configuration module 23 is configured to respond to the configuration downloading instruction through the second gateway, download the configuration file from a cloud, and configure the working parameters of the second gateway based on the configuration file.
The configuration file is backed up at a time point selected by the first gateway and uploaded to the cloud, the control terminal sends a configuration downloading instruction to the second gateway when the second gateway replaces the first gateway to access the network, the configuration downloading instruction is responded by the second gateway, the configuration file is downloaded from the cloud, and the working parameters of the second gateway are configured based on the configuration file. By adopting the technical means, the new gateway and the old gateway can be quickly replaced, the consistency of the configuration data of the new gateway and the old gateway can be ensured based on the backup of the configuration data, the complex process of manually configuring the working parameters of the gateways is omitted, the network access operation is not required to be carried out one by one, the gateway replacement efficiency is improved, and the normal operation of the network is ensured. .
The gateway replacement and configuration device provided in the second embodiment of the present application can be used to execute the gateway replacement and configuration method provided in the first embodiment, and has corresponding functions and beneficial effects.
Example three:
embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a gateway replacement configuration method, where the gateway replacement configuration method includes: the first gateway selects a time point backup configuration file and uploads the configuration file to a cloud end; the method comprises the steps that when a second gateway replaces a first gateway to access a network, a control terminal sends a configuration downloading instruction to the second gateway; and the second gateway responds to the configuration downloading instruction, downloads the configuration file from a cloud end, and configures the working parameters of the second gateway based on the configuration file.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application and containing computer-executable instructions is not limited to the gateway replacement configuration method described above, and may also perform related operations in the gateway replacement configuration method provided in any embodiment of the present application.
The gateway replacement configuration system, the gateway replacement configuration device, and the storage medium provided in the above embodiments may execute the gateway replacement configuration method provided in any embodiment of the present application, and refer to the gateway replacement configuration method provided in any embodiment of the present application without detailed technical details described in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A gateway replacement configuration system, comprising: the system comprises a control terminal, a first gateway and a second gateway, wherein the first gateway and the second gateway are controlled by the control terminal;
the first gateway is used for selecting a time point backup configuration file and uploading the configuration file to a cloud end;
the control terminal is used for sending a configuration downloading instruction to the second gateway when the second gateway replaces the first gateway to access the network;
the second gateway is used for responding to the configuration downloading instruction, downloading the configuration file from a cloud end, and configuring the working parameters of the second gateway based on the configuration file.
2. A gateway replacement configuration method applied to the gateway replacement configuration system according to claim 1, comprising:
the first gateway selects a time point backup configuration file and uploads the configuration file to a cloud end;
the method comprises the steps that when a second gateway replaces a first gateway to access a network, a control terminal sends a configuration downloading instruction to the second gateway;
and the second gateway responds to the configuration downloading instruction, downloads the configuration file from a cloud end, and configures the working parameters of the second gateway based on the configuration file.
3. The gateway replacement configuration method according to claim 2, wherein the first gateway selects a point-in-time backup configuration file, comprising:
receiving a preset designated time period of the control terminal;
and randomly selecting a time point from the designated time period, and triggering automatic backup of the configuration file at the time point.
4. The gateway replacement configuration method according to claim 3, wherein before the first gateway selects the point-in-time backup configuration file, the method further comprises:
and triggering the backup process of the configuration file when the update of the modification time of the configuration file is detected.
5. The gateway replacement configuration method according to claim 2, wherein uploading the configuration file to a cloud comprises:
compressing and encrypting the configuration file, and sending the compressed and encrypted configuration file to a cloud end;
correspondingly, after the configuration file is downloaded from the cloud, the method further comprises the following steps:
and carrying out decompression and decryption operations on the configuration file.
6. The gateway replacement configuration method according to claim 5, wherein before performing the compression encryption on the configuration file, the method further comprises:
and detecting the current network state, and triggering the compression and encryption process of the configuration file after the network state detection is passed.
7. The gateway replacement configuration method according to claim 2, wherein the configuration file includes id information of the first gateway;
correspondingly, the second gateway is configured to respond to the configuration downloading instruction, and download the configuration file from a cloud, including:
extracting the id information from the configuration downloading instruction, wherein the id information is added to the configuration downloading instruction in advance by the control equipment;
requesting the corresponding configuration file from a cloud based on the id information;
and receiving the configuration file containing the id information returned by the cloud.
8. The gateway replacement configuration method according to claim 2, wherein configuring the operating parameters of the second gateway based on the configuration file comprises:
configuring a coordinator channel, a Mac address, and key parameters of the second gateway based on the configuration file.
9. A gateway replacement configuration apparatus, comprising:
the backup module is used for selecting a time point backup configuration file through the first gateway and uploading the configuration file to the cloud end;
the replacing module is used for sending a configuration downloading instruction to a second gateway when the second gateway replaces the first gateway to access the network through the control terminal;
and the configuration module is used for responding to the configuration downloading instruction through the second gateway, downloading the configuration file from a cloud end, and configuring the working parameters of the second gateway based on the configuration file.
10. A storage medium containing computer-executable instructions for performing the gateway replacement configuration method of any one of claims 2-8 when executed by a computer processor.
CN202011295814.4A 2020-11-18 2020-11-18 Gateway replacement configuration system, method and device Pending CN112511345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011295814.4A CN112511345A (en) 2020-11-18 2020-11-18 Gateway replacement configuration system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011295814.4A CN112511345A (en) 2020-11-18 2020-11-18 Gateway replacement configuration system, method and device

Publications (1)

Publication Number Publication Date
CN112511345A true CN112511345A (en) 2021-03-16

Family

ID=74956925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011295814.4A Pending CN112511345A (en) 2020-11-18 2020-11-18 Gateway replacement configuration system, method and device

Country Status (1)

Country Link
CN (1) CN112511345A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745262A (en) * 2022-03-30 2022-07-12 深电能科技集团有限公司 Parameter configuration method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106972958A (en) * 2017-03-13 2017-07-21 海信集团有限公司 Gateway device collocation method, apparatus and system
CN110061885A (en) * 2019-04-29 2019-07-26 新华三技术有限公司 Gateway discharging method, device, gateway and medium
CN110519366A (en) * 2019-08-26 2019-11-29 青岛海信智慧家居系统股份有限公司 A kind of method and device for replacing gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106972958A (en) * 2017-03-13 2017-07-21 海信集团有限公司 Gateway device collocation method, apparatus and system
CN110061885A (en) * 2019-04-29 2019-07-26 新华三技术有限公司 Gateway discharging method, device, gateway and medium
CN110519366A (en) * 2019-08-26 2019-11-29 青岛海信智慧家居系统股份有限公司 A kind of method and device for replacing gateway

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745262A (en) * 2022-03-30 2022-07-12 深电能科技集团有限公司 Parameter configuration method, terminal and computer readable storage medium
CN114745262B (en) * 2022-03-30 2023-07-14 深电能科技集团有限公司 Parameter configuration method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN102571940B (en) Application program remote installation system, method, intelligent terminal, application server
CN110336871A (en) A kind of document handling method, device, storage medium and electronic equipment
CN103064391B (en) Based on the long-range DNC control method of digital control system of ICP/IP protocol and Linux network programming
US10305729B2 (en) Systems and methods of providing an edge cloud storage and caching system operating over a local area network
CN109561054B (en) Data transmission method, controller and access device
CN112769761B (en) Signal transmission mode selection method and device based on service classification, electronic equipment and storage medium
CN107995247B (en) File transmission method, server and system
CN109739690B (en) Backup method and related products
CN111064626B (en) Configuration updating method, device, server and readable storage medium
US11983522B2 (en) Edge-based intelligence for over the air update
CN105917613A (en) Software upgrading method and device
CN112423322B (en) Model information sending method, device, storage medium and electronic device
CN108664799A (en) The authority setting method and device of device management application
CN112511345A (en) Gateway replacement configuration system, method and device
WO2020043006A1 (en) Terminal connection restoration method and apparatus
CN111427860B (en) Distributed storage system and data processing method thereof
CN111787093B (en) Application management method, application management device, related equipment and medium
CN112732775A (en) Method and device for processing block node data, computer equipment and storage medium
JP4592694B2 (en) Database synchronization
CN104954223B (en) Data processing method and device based on Virtual Private Network
WO2018010448A1 (en) File transmission method and apparatus
WO2021207191A1 (en) Method and apparatus to implement a home computing cloud
CN104253725A (en) Intelligent home system and communication method thereof
CN112559251A (en) Configuration data management method and device for power Internet of things
CN112506704B (en) Configuration information backup method and device for gateway of Internet of things

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210316

RJ01 Rejection of invention patent application after publication