Mobile Data Synchronization Framework Using Queue
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies face challenges in efficiently synchronizing large enterprise databases with mobile devices, leading to prolonged download times and data inconsistencies.
Innovation Solution
The implementation of a mobile data synchronization framework that utilizes a synchronization queue to enable fast downloads of enterprise database portions. This framework allows the server to populate the queue with records responsive to user requests while continuing to identify additional records, and then provides these records to the user device as they become available.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the server waits to identify all records before providing them to the user device, then data completeness is improved, but download time increases significantly
Solution Approach 1:
The server begins retrieving and placing records into the synchronization queue before all records are fully identified. This preliminary action allows the download process to start earlier, reducing overall download time while maintaining data completeness through continuous identification and retrieval operations.
Solution Approach 2:
The server continues to identify additional records and transfer them to the synchronization queue while simultaneously providing records to the user device. This continuous parallel operation ensures both data completeness and minimized download time by eliminating idle waiting periods.
2Productivity
If the server provides records immediately when identified, then download speed is improved, but data consistency may be compromised
Solution Approach 1:
The synchronization queue serves as an intermediary buffer between record identification and delivery to the user device. Records are placed in the queue when identified and then provided to the user device in a controlled manner, ensuring both fast download speed and data consistency through centralized management of the transfer process.
3Loss of time
If the server retrieves all records before user request, then response time is improved, but resource consumption increases
Solution Approach 1:
The server dynamically adjusts its retrieval operations based on user requests. When a user requests data, the server initiates retrieval of relevant records into the synchronization queue. This dynamic approach ensures fast response time for actual user needs while avoiding unnecessary resource consumption by not pre-retrieving all possible records.
Data Source
AI summary
Methods, systems, apparatus, including computer programs encoded on computer storage media, for fast download of a portion of an enterprise database. In one aspect, the method includes actions of receiving an enterprise database access request, determining a portion of the enterprise database that is accessible to a user that originated the access request, and determining that the received request is a first occurrence of a request for access. Responsive to the first request for access, the operations may also include (i) retrieving each record of the portion of the enterprise database for storage in a synchronization queue, (ii) receiving a download request based on a determination that a first record of the portion of the enterprise database has been placed in the synchronization queue, and (iii) providing the first record to a user device while the server continues to transfer other records of the enterprise database to the synchronization queue.


