Primary-Backup Gateway Sync Using Incremental Data Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Intelligent home systems face high pressure on cloud servers due to the large number of gateways downloading and uploading data, leading to inefficient data synchronization among multiple gateways for the same user.
Innovation Solution
Implementing a method where a primary gateway determines incremental data changes relative to a backup gateway's stored data and sends this incremental data for synchronization, reducing the need for direct interaction with the cloud server and improving data synchronization efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all gateways download and upload data from the cloud server, then data consistency is maintained, but the cloud server experiences huge pressure and data synchronization efficiency is low
Solution Approach 1:
The patent introduces a gateway cluster as an intermediary layer between gateways and the cloud server. When a gateway needs to synchronize data, it first checks the gateway cluster cache. The gateway cluster acts as a mediator that can directly provide data to other gateways without cloud server involvement, reducing cloud server pressure while maintaining data consistency through the caching mechanism.
Solution Approach 2:
The gateway cluster pre-loads and caches data from the cloud server in advance. This preliminary action allows the cluster to have data readily available for quick distribution to multiple gateways simultaneously, eliminating the need for each gateway to individually download from the cloud server, thus improving synchronization efficiency while maintaining data consistency.
2Measurement precision
If all gateways interact directly with the cloud server for data operations, then data accuracy is ensured, but traffic consumption and processing pressure on the cloud server increase significantly
Solution Approach 1:
The gateway cluster serves as an intermediary that caches data from the cloud server. Gateways obtain data from the cluster cache rather than directly from the cloud server, reducing traffic consumption. The cluster ensures data accuracy by maintaining synchronized copies of cloud server data and updating the cache when cloud server data changes.
Solution Approach 2:
The gateway cluster creates and maintains copies of cloud server data in its cache. These copies allow multiple gateways to access data without generating additional traffic to the cloud server. The cluster periodically updates its copies to maintain data accuracy, significantly reducing overall traffic consumption while ensuring gateways access accurate data.
3Productivity
If incremental data synchronization is implemented among gateways, then data synchronization efficiency improves, but the complexity of tracking and determining incremental changes increases
Solution Approach 1:
The gateway cluster acts as an intermediary that manages incremental data tracking centrally. Instead of each gateway independently tracking changes with other gateways, the cluster maintains a unified view of data changes and distributes only incremental updates to relevant gateways. This centralization improves synchronization efficiency while managing the complexity of incremental tracking at the cluster level rather than distributing it across all gateways.
Data Source
AI summary
Aspects of the disclosure are directed to a method and device for synchronizing data, and a storage medium. The method can be applied to an intelligent home system, the intelligent home system including a primary gateway and a backup gateway. The method can include determining, in response to first stored data on the primary gateway being monitored to change, incremental data of changed first stored data relative to second stored data, the second stored data including currently stored data on the backup gateway, and sending the incremental data to the backup gateway for the backup gateway to synchronize the second stored data.


