Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data synchronous transmission method based on sqlite

A data synchronization and transmission method technology, applied in the field of data transmission, can solve problems such as data conflicts, data communication failures, data loss, etc., and achieve the effects of preventing data conflicts, improving response speed, and improving timeliness

Active Publication Date: 2014-07-09
HEFEI YINGYUN INFORMATION TECH
View PDF3 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Online C / S communication method, which provides instant communication between the client and the server through the network. The advantage of this method is that the data is synchronized in real time, and there is no problem of synchronous data conflicts. The disadvantage is that it requires network stability. Higher, a network failure during the communication process will cause data communication failure, users cannot continue to use or even data loss;
[0006] 2. The traditional offline synchronization method. The basic principle of this method is that the data processed by the user on the terminal first exists locally. When there is a network, the user manually selects the synchronization data to the server. The degree of dependence on the network also reduces the real-time performance of data synchronization between the client and the server, and this type of synchronization method generally works better when used on a single terminal. Once multiple terminals are used under the same account at the same time, it is easy to cause data conflict
[0007] However, if the above two methods are combined, the problem of data conflict will arise again, and the current data synchronization method will also cause its response speed to become slower and slower as the amount of data transmission increases.

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
  • Data synchronous transmission method based on sqlite
  • Data synchronous transmission method based on sqlite
  • Data synchronous transmission method based on sqlite

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to have a further understanding and understanding of the structural features of the present invention and the achieved effects, the preferred embodiments and accompanying drawings are used for a detailed description, as follows:

[0056] Such as figure 2 As shown, a kind of data synchronous transmission method based on sqlite of the present invention, comprises the following steps:

[0057] The first step is to initialize the local database, copy the sqlite database template to the local database as the carrier for the data storage of the smart terminal 1, and add the user ID number to the database file name, and divide the business data table and the local update data version in the database surface. Such as figure 1 As shown, data transmission is performed between the smart terminal 1 and the server 2 through the data synchronization module 3 .

[0058] Use the sqlite small database as the storage data carrier. When the program is packaged, the local dat...

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 relates to a data synchronous transmission method based on the sqlite. Compared with the prior art, the data synchronous transmission method overcomes the defect that a reliable and quick data transmission method does not exist. The method includes the following steps that a local database is initialized; local data are stored and updated; a network is monitored through a data synchronizing module; data are received through a server; the data are fed back through the server; versions are compared. According to the data synchronous transmission method based on the sqlite, data transmission in a network disconnection environment and a networking environment is achieved, and the data cannot conflict with one another.

Description

[0001] technical field [0002] The invention relates to the technical field of data transmission, in particular to a method for synchronous data transmission based on sqlite. [0003] Background technique [0004] The rapid development of the mobile Internet, the improvement of network transmission technology and the popularization of smart terminals have led to the emergence of various smart terminal application products, bringing great convenience to people's daily life and office work. These products often need to interact with the server-side program in the process of using the network to achieve the purpose of uploading, obtaining and synchronizing data. There are generally two types of traditional interaction methods: [0005] 1. Online C / S communication method, which provides instant communication between the client and the server through the network. The advantage of this method is that the data is synchronized in real time, and there is no problem of synchronous ...

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): H04L29/08G06F17/30
Inventor 王胜吴现兵李建刘康宁
Owner HEFEI YINGYUN INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products