Smart home gateway non-perception backup restoration method

Through the master-slave gateway distributed backup and restoration method, the data loss and complex operation problems of smart home gateways during spare parts replacement and data migration are solved, and the convenience and data continuity of the automated backup and rapid recovery system are achieved.

CN118573497APending Publication Date: 2024-08-30XIAMEN DNAKE INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410643566.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing smart home gateways cannot adapt to spare parts replacement and data migration, resulting in data loss, incomplete backup, poor restoration effect, manual participation, high cost, users need to repeatedly set up the environment, and physical damage making data difficult to recover.

Method used

It adopts the master-slave gateway distributed backup and restore method and interacts with the cloud server through the App to realize automated backup and restoration in the external and internal network environments, separate data and hardware, provide two backup file transmission paths, simplify backup operations, and support old data Migrate to a new gateway to avoid repeated activations and environment rebuilds.

Benefits of technology

It achieves the decoupling of data and hardware, makes backup data more complete and reliable, makes backup operations automated and easy to use, supports quick system recovery, reduces installation and setup costs, avoids data loss and repeated operations, and ensures data continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573497A
    Figure CN118573497A
Patent Text Reader

Abstract

The invention discloses a smart home gateway non-perception backup restoration method. The backup restoration of a smart home gateway can be divided into backup restoration in an external network environment and backup restoration in an internal network environment. According to the invention, distributed backup restoration is carried out based on the master gateway and the slave gateway, data backup and gateway equipment are separated, decoupling of data and hardware is realized, gateway replacement is more convenient, backup data is more complete and reliable, and the backup path is more flexible by considering internal and external network environments and setting technical means of two backup file transmission paths. The method is suitable for different network conditions, automatic in backup operation, capable of being initiated through an App in a one-key mode, free of manual participation, convenient to use, capable of supporting migration of old data to a new gateway, capable of guaranteeing data continuity, capable of rapidly recovering a system through a replaced gateway, avoiding long-time downtime, free of repeated establishment of a gateway environment, small in installation workload and low in setting cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart home gateways, and in particular to a smart home gateway imperceptible backup and restoration method. Background Art

[0002] The existing smart home gateways cannot adapt to the technical problems of spare parts replacement and data migration, which are mainly reflected in the following points: 1. Existing home gateways generally do not support data backup function. After the device is damaged, data cannot be restored. Users need to reconfigure the environment. Although some gateways support backup, they do not distinguish between master and slave devices, and the probability of key data loss is relatively high; 2. Gateway backup requires manual participation, which is relatively complicated, and the backup data is incomplete, and the restoration effect is poor; 3. After the gateway is replaced, the new gateway cannot recognize the old device, and the user needs to reactivate and connect all smart devices; 4. The restoration operation requires on-site participation of professionals, which takes a long time and is costly; 5. Ordinary users can only choose to repurchase the gateway when it fails, and cannot quickly restore the system; 6. The gateway is highly coupled with the data, and physical damage makes it difficult to restore the data, wasting the data configured by the user; 7. After the user replaces the gateway, he needs to repeatedly set up the home environment, and the installation and activation work is repetitive and the operation is relatively laborious; Based on the above situation, we propose a non-perceptual backup and restoration method for smart home gateways. Summary of the invention

[0003] Based on the technical problems existing in the background technology, the present invention proposes a smart home gateway imperceptible backup and restoration method.

[0004] The present invention proposes a method for imperceptible backup and restoration of a smart home gateway, wherein the backup and restoration of the smart home gateway can be divided into two types: backup and restoration in an external network environment and backup and restoration in an internal network environment;

[0005] The backup and restore in the extranet environment includes the following steps:

[0006] S1: Perform backup in an external network environment:

[0007] S101: First, the App initiates a backup request to the cloud server;

[0008] S102: After receiving the backup request initiated by the APP, the cloud server sends a backup instruction to the primary gateway;

[0009] S103: The master gateway sends the received backup instruction to all slave gateways;

[0010] S104: After receiving the instruction, the master gateway and the slave gateway each provide a backup file download interface and perform a backup operation;

[0011] S105: The master gateway and the slave gateway upload the files backed up in S104 to the cloud server;

[0012] S106: The cloud server receives all the backup files, stores them, and notifies the App that the backup is complete;

[0013] S2: Restore in an external network environment:

[0014] S201: App initiates a restore request to the cloud server;

[0015] S202: The cloud server sends a restore instruction and a backup file to the primary gateway;

[0016] S203: The master gateway sends the received restore instruction and backup file to the slave gateway;

[0017] S204: The master gateway and the slave gateway each perform a restore operation;

[0018] S205: After the restore operation is completed, the slave gateway notifies the master gateway; after the restore operation is completed, the master gateway notifies the App that the restore operation is completed;

[0019] S206: After receiving the notification, the App updates the data and synchronizes it to the cloud server;

[0020] S207: After receiving the data, the cloud server notifies the APP that the data synchronization is complete;

[0021] Backup and restore in an intranet environment includes the following steps:

[0022] S3: Perform backup in the intranet environment:

[0023] S301: First, the App initiates a backup request to the primary gateway;

[0024] S302: The master gateway sends the received backup instruction to all slave gateways;

[0025] S303: Execute the backup operation after receiving the instruction from the gateway;

[0026] S304: Generate a backup file from the gateway and provide a file download interface for the main gateway to use;

[0027] S305: The primary gateway downloads the files backed up by the secondary gateway and notifies the App that the backup is complete;

[0028] S306: The App downloads the gateway backup file through the primary gateway. After downloading, the App caches the backup file and uploads it to the cloud server.

[0029] S307: The cloud server receives and stores the backup file, and notifies the App that the backup is complete;

[0030] S4: Restore in the intranet environment:

[0031] S401: App initiates a restore request to the primary gateway;

[0032] S402: The App obtains the backup file from the local or cloud server and sends it to the main gateway;

[0033] S403: The master gateway issues a restore instruction and sends the backup file to the slave gateway;

[0034] S404: After receiving the backup file and instructions from the gateway, perform a restore operation;

[0035] S405: After the restoration of the slave gateway is completed, the master gateway is notified that the restoration is complete;

[0036] S406: The main gateway notifies the App that the restore operation is complete;

[0037] S407: The App updates local data and synchronizes it to the cloud server;

[0038] S408: After receiving the data, the cloud server notifies the APP that the data synchronization is complete.

[0039] Preferably, there are multiple slave gateways.

[0040] Preferably, the gateway replaced by the smart home gateway may be a master gateway or a slave gateway.

[0041] Preferably, the interactions between the App and the gateway are all interactions with the main gateway, and the App interacts with the slave gateway indirectly through the main gateway.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] The present invention performs distributed backup and restoration based on master-slave gateways, separates data backup and gateway devices, realizes the decoupling of data and hardware, makes it more convenient to replace gateways, makes the backup data more complete and reliable, and takes the internal and external network environments into consideration at the same time. The technical means of setting two backup file transmission paths makes the backup path more flexible and adaptable to different network conditions. The backup operation is automated and can be initiated with one click through the App without manual participation. It is easy to use and supports the migration of old data to the new gateway, thus ensuring data continuity. The system can be quickly restored through the replaced gateway to avoid long-term downtime. There is no need to repeatedly build the gateway environment, the installation workload is small, the setting cost is low, and there is no need to reconnect all smart devices after restoration, thus avoiding the complicated operation of repeated activation. Therefore, the full life cycle data backup, restoration and migration of the smart home gateway are realized, and the problem of data loss after device aging and damage is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A backup and restoration flow chart of a smart home gateway imperceptible backup and restoration method in an external network environment proposed by the present invention;

[0045] Figure 2 This is a backup and restoration flow chart in an intranet environment of a smart home gateway imperceptible backup and restoration method proposed by the present invention. DETAILED DESCRIPTION

[0046] The present invention will be further explained below in conjunction with specific embodiments.

[0047] Example

[0048] Reference Figure 1-2 , This embodiment proposes a smart home gateway imperceptible backup and restoration method, the smart home gateway backup and restoration can be divided into two types: backup and restoration in an external network environment and backup and restoration in an internal network environment;

[0049] The backup and restore in the extranet environment includes the following steps:

[0050] S1: Perform backup in an external network environment:

[0051] S101: First, the App initiates a backup request to the cloud server;

[0052] S102: After receiving the backup request initiated by the APP, the cloud server sends a backup instruction to the primary gateway;

[0053] S103: The master gateway sends the received backup instruction to all slave gateways;

[0054] S104: After receiving the instruction, the master gateway and the slave gateway each provide a backup file download interface and perform a backup operation;

[0055] S105: The master gateway and the slave gateway upload the files backed up in S104 to the cloud server;

[0056] S106: The cloud server receives all the backup files, stores them, and notifies the App that the backup is complete;

[0057] S2: Restore in an external network environment:

[0058] S201: App initiates a restore request to the cloud server;

[0059] S202: The cloud server sends a restore instruction and a backup file to the primary gateway;

[0060] S203: The master gateway sends the received restore instruction and backup file to the slave gateway;

[0061] S204: The master gateway and the slave gateway each perform a restore operation;

[0062] S205: After the restore operation is completed, the slave gateway notifies the master gateway; after the restore operation is completed, the master gateway notifies the App that the restore operation is completed;

[0063] S206: After receiving the notification, the App updates the data and synchronizes it to the cloud server;

[0064] S207: After receiving the data, the cloud server notifies the APP that the data synchronization is complete;

[0065] Backup and restore in an intranet environment includes the following steps:

[0066] S3: Perform backup in the intranet environment:

[0067] S301: First, the App initiates a backup request to the primary gateway;

[0068] S302: The master gateway sends the received backup instruction to all slave gateways;

[0069] S303: Execute the backup operation after receiving the instruction from the gateway;

[0070] S304: Generate a backup file from the gateway and provide a file download interface for the main gateway to use;

[0071] S305: The primary gateway downloads the files backed up by the secondary gateway and notifies the App that the backup is complete;

[0072] S306: The App downloads the gateway backup file through the primary gateway. After downloading, the App caches the backup file and uploads it to the cloud server.

[0073] S307: The cloud server receives and stores the backup file, and notifies the App that the backup is complete;

[0074] S4: Restore in the intranet environment:

[0075] S401: App initiates a restore request to the primary gateway;

[0076] S402: The App obtains the backup file from the local or cloud server and sends it to the main gateway;

[0077] S403: The master gateway issues a restore instruction and sends the backup file to the slave gateway;

[0078] S404: After receiving the backup file and instructions from the gateway, perform a restore operation;

[0079] S405: After the restoration of the slave gateway is completed, the master gateway is notified that the restoration is complete;

[0080] S406: The main gateway notifies the App that the restore operation is complete;

[0081] S407: The App updates local data and synchronizes it to the cloud server;

[0082] S408: After receiving the data, the cloud server notifies the APP that the data synchronization is complete.

[0083] There are multiple slave gateways, and the gateway replaced by the smart home gateway can be the main gateway or the slave gateway, and the interaction between the App and the gateway is to interact with the main gateway, and indirectly interact with the slave gateway through the main gateway;

[0084] This embodiment performs distributed backup and restore based on the master-slave gateway, separates data backup and gateway devices, realizes the decoupling of data and hardware, makes it more convenient to replace the gateway, makes the backup data more complete and reliable, and takes the internal and external network environments into consideration at the same time. The technical means of setting two backup file transmission paths makes the backup path more flexible and adaptable to different network conditions. The backup operation is automated and can be initiated with one click through the App without manual participation. It is easy to use and supports the migration of old data to the new gateway, ensuring data continuity. The system can be quickly restored through the replaced gateway to avoid long-term downtime. There is no need to repeatedly build the gateway environment, the installation workload is small, the setup cost is low, and there is no need to reconnect all smart devices after restoration, avoiding the complex operation of repeated activation, thereby realizing the full life cycle data backup, restoration and migration of the smart home gateway and solving the problem of data loss after device aging and damage.

[0085] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for backup and restore of a smart home gateway without perception, characterized in that: The backup and restoration of the smart home gateway can be divided into two types: backup and restoration in an external network environment and backup and restoration in an internal network environment; The backup and restore in the extranet environment includes the following steps: S1: Backup in an extranet environment: S101: First, the App initiates a backup request to the cloud server; S102: After receiving the backup request initiated by the APP, the cloud server sends a backup instruction to the primary gateway; S103: The master gateway sends the received backup instruction to all slave gateways; S104: After receiving the instruction, the master gateway and the slave gateway each provide a backup file download interface and perform a backup operation; S105: The master gateway and the slave gateway upload the files backed up in S104 to the cloud server; S106: The cloud server receives all the backup files, stores them, and notifies the App that the backup is complete; S2: Restore in an external network environment: S201: App initiates a restore request to the cloud server; S202: The cloud server sends a restore instruction and a backup file to the primary gateway; S203: The master gateway sends the received restore instruction and backup file to the slave gateway; S204: The master gateway and the slave gateway each perform a restore operation; S205: After the restore operation is completed, the slave gateway notifies the master gateway; after the restore operation is completed, the master gateway notifies the App that the restore operation is completed; S206: After receiving the notification, the App updates the data and synchronizes it to the cloud server; S207: After receiving the data, the cloud server notifies the APP that the data synchronization is complete; Backup and restore in an intranet environment includes the following steps: S3: Perform backup in the intranet environment: S301: First, the App initiates a backup request to the primary gateway; S302: The master gateway sends the received backup instruction to all slave gateways; S303: Execute the backup operation after receiving the instruction from the gateway; S304: Generate a backup file from the gateway and provide a file download interface for the main gateway to use; S305: The primary gateway downloads the files backed up by the secondary gateway and notifies the App that the backup is complete; S306: The App downloads the gateway backup file through the primary gateway. After downloading, the App caches the backup file and uploads it to the cloud server. S307: The cloud server receives and stores the backup file, and notifies the App that the backup is complete; S4: Restore in the intranet environment: S401: App initiates a restore request to the primary gateway; S402: The App obtains the backup file from the local or cloud server and sends it to the main gateway; S403: The master gateway issues a restore instruction and sends the backup file to the slave gateway; S404: After receiving the backup file and instructions from the gateway, perform a restore operation; S405: After the restoration of the slave gateway is completed, the master gateway is notified that the restoration is complete; S406: The main gateway notifies the App that the restore operation is complete; S407: The App updates local data and synchronizes it to the cloud server; S408: After receiving the data, the cloud server notifies the APP that the data synchronization is complete.

2. According to claim 1, a method for imperceptible backup and restoration of a smart home gateway is characterized in that: The number of the slave gateways is multiple.

3. According to claim 1, a method for imperceptible backup and restoration of a smart home gateway is characterized in that: The gateway replaced by the smart home gateway may be a master gateway or a slave gateway.

4. The method for imperceptible backup and restoration of a smart home gateway according to claim 1, characterized in that: The interactions between the App and the gateway are all with the main gateway, and the App interacts with the slave gateway indirectly through the main gateway.