Database synchronization method, device and system

A technology for synchronizing devices and databases, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problem of consuming a large amount of extra storage space, reduce storage space, reduce costs, and solve the problem of consuming a large amount of extra storage space. Effect

Inactive Publication Date: 2011-04-20
BEIJING WATCH DATA SYST
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Embodiments of the present invention provide a database synchronization method, device and system for solving th...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Database synchronization method, device and system
  • Database synchronization method, device and system
  • Database synchronization method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to solve the problem in the prior art that embedded database synchronization needs to consume a large amount of additional storage space, embodiments of the present invention provide a database synchronization method, device and system.

[0046] Such as figure 1 As shown, the database synchronization method provided by the embodiment of the present invention includes:

[0047] Step 101, when updating the embedded database, store the updated data and a synchronization status identifier corresponding to the updated data in the embedded database, where the synchronization status identifier is generated according to an update action of the updated data.

[0048] In this embodiment, when the client updates the embedded database, it first needs to obtain an update request, the update request includes update data and an update action, and the update action can be deleting data in the embedded database, Insert or modify.

[0049] Step 102, when receiving the synchron...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a database synchronization method, a database synchronization device and a database synchronization system, which relate to the field of embedded systems and aim to solve the problem that a large additional memory space is required by the synchronization of an embedded database in the prior art. The technical scheme provided by the invention comprises the following steps of: when the embedded database is updated, storing update data and a synchronization state identifier corresponding to the update data in the embedded database, wherein the synchronization state identifier is generated according to the updating operation of the update data; and when a synchronization request is received from a background server, transmitting the synchronization state identifier and the update data corresponding to the synchronization state identifier in the embedded database to the background server. The database synchronization method, the database synchronization device and the database synchronization system provided by the embodiment of the invention can be applied to the database synchronization of the embedded system, such as the synchronization of the embedded database in a smart card.

Description

technical field [0001] The invention relates to the field of embedded systems, in particular to a database synchronization method, device and system. Background technique [0002] After the embedded database changes, the backup database used to back up the embedded database also needs to be changed accordingly. At this time, the embedded database synchronization system needs to be used to realize data synchronization between the embedded database and the backup database. The existing embedded database synchronization system usually extracts the changed data from the embedded database, and then stores the changed data in the synchronization database. When receiving the synchronization instruction sent by the backup server, the data in the synchronization database is obtained, and the data is sent to the backup server, and the backup server synchronizes the backup database according to the received data. For example, when data synchronization is implemented between the smart ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 曾林
Owner BEIJING WATCH DATA SYST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products