Data synchronization method and device and terminal equipment
A data synchronization and data item technology, applied in the field of data processing, can solve the problems of time consumption, performance growth, limit the amount of data in a single synchronization, etc., and achieve the effect of less comparison times
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] The following describes a data synchronization method provided by Embodiment 1 of this application, please refer to the attached figure 1 , the data synchronization method in Embodiment 1 of the present application includes:
[0063] Step S101, acquiring the version ID of the update data in the first synchronization data;
[0064] The first synchronization data is the data that needs to be synchronized. The first data can include updated data, new data and deleted data. Among them, the new data and deleted data need to be fully synchronized, and there are a lot of redundant data in the updated data , need to filter and clean up these redundant data.
[0065] There are multiple data items in the database. Each data item can be used to describe and record one or more types of content. Whenever the content of these data items is updated, corresponding update data will be generated. The same data item may generate multiple update data , each piece of updated data has a co...
Embodiment 2
[0105] Embodiment 2 of the present application provides a data synchronization device. For the convenience of description, only the parts related to the present application are shown, such as figure 2 As shown, the data synchronization means include,
[0106] A data acquisition module 201, configured to acquire the version ID of the update data in the first synchronization data;
[0107] The redundancy deletion module 202 is used to use the update data with the largest version ID in the update data corresponding to each data item as the valid update data, delete the non-valid update data in the first synchronization data, and obtain the second synchronization data;
[0108] A data synchronization module, configured to perform a data synchronization operation on the second synchronization data.
[0109] Further, the device also includes:
[0110] The re-synchronization module is configured to perform a re-synchronization operation on the third synchronization data whose sync...
Embodiment 3
[0126] image 3 It is a schematic diagram of a terminal device provided in Embodiment 3 of the present application. Such as image 3 As shown, the terminal device 3 in this embodiment includes: a processor 30 , a memory 31 , and a computer program 32 stored in the memory 31 and operable on the processor 30 . When the processor 30 executes the computer program 32, the steps in the above-mentioned data synchronization method embodiment are implemented, for example figure 1 Steps S101 to S103 are shown. Alternatively, when the processor 30 executes the computer program 32, it realizes the functions of the modules / units in the above-mentioned device embodiments, for example figure 2 The functions of modules 201 to 203 are shown.
[0127] Exemplarily, the computer program 32 can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 31 and executed by the processor 30 to complete this application. The one or more modules / units m...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com