Method for data synchronization between embedded device and database

An embedded device, data synchronization technology, applied in electrical digital data processing, special data processing applications, instruments, etc.

Active Publication Date: 2012-05-16
JIANGSU UNIV
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method does not solve the problem of data loss caused by the inability to operate the remote database in time when the embedded device is disconnected from the network

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
  • Method for data synchronization between embedded device and database
  • Method for data synchronization between embedded device and database
  • Method for data synchronization between embedded device and database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] In order to make the purpose, technical solution and advantages of the present invention more clear, the following examples mainly apply to embedded devices, and in conjunction with the accompanying drawings, further describe the present invention in detail.

[0044] like figure 1 As shown, the hardware environment of this embodiment mainly includes an embedded device 110 and a database server 120 connected with it by wireless communication. The embedded device 110 includes an application program 111 for accessing the database, a mode converter 112 , a local data temporary storage area 113 and a communication client 114 ; the database server 120 includes a communication server 121 , a data processing module 122 and a database 123 .

[0045] The communication server 121 and the communication client 114 are connected wirelessly. The mode converter 112 and the data processing module 122 complete the core synchronization function of the system.

[0046]The communication ...

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 invention discloses a method for data synchronization between an embedded device and a database, belonging to the field of computer data processing. In the method, network connection state of the embedded device is judged, when the network is not connected, the data to be operated is stored in a new data document, and a data operating instruction log is added. When the network is connected, the records of the operating instruction log and the content of the new data document are transmitted to a database server one by one, thus, the database server can realize data synchronization according to corresponding instructions. Moreover, interruption of network connection in the data transmission process can be remedied by retransmission, so that the synchronization between the embedded device and a remote database, namely the data consistency between the embedded device and the remote database, is guaranteed.

Description

technical field [0001] The invention relates to a method for synchronizing data between an embedded device and a database, in particular to a method for synchronizing data between an embedded device and a database when it is offline, and belongs to the field of embedded databases. Background technique [0002] At present, mainstream database management systems, such as Oracle, MS-SQL Server, Sybase, DB2, MySQL, etc., have added more components to the original data replication function, provided many data replication tools, proposed and Various data synchronous replication methods have been studied, and more powerful technical support has been added. [0003] In the distributed database application environment, different application fields have different requirements for data replication, and it is impossible to have a replication method that can suit the application needs in all fields. To this end, the following three replication types meet application needs in different e...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 宋余庆陈健美严振
Owner JIANGSU UNIV
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