Method and device for client side and server side data synchronization

A server-side and client-side technology, applied in the database field, can solve problems such as complex implementation methods, large amount of interactive transmission data, and many times of interaction between the client and the server, so as to reduce complexity, reduce the number of interactions, and reduce storage costs. Effect

Inactive Publication Date: 2014-03-26
BEIJING QIHOO TECH CO LTD +1
View PDF4 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] It can be seen that according to the existing implementation method, the client needs to obtain the event record and the data record corresponding to the event record from the server, which makes the number of interactions between the client and the server more, and the amount of interactively transmitted data is also larger; in addition , the client also needs additional overhead for storing event records; moreover, the server needs to ensure that the modification of the database is consistent with these event records.

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 and device for client side and server side data synchronization
  • Method and device for client side and server side data synchronization
  • Method and device for client side and server side data synchronization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0066] figure 1 A flow chart of a method for synchronizing server data by a client according to an embodiment of the present invention is shown. refer to figure 1 , the method includes:

[0067] Step 102, obtaining the full amount of data of the data object at the server end at the first moment;

[0068] The data object may be a database stored at the server. In this case, the client needs to obtain all data records of the datab...

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 and device for client side and server side data synchronization and belongs to the field of database technologies. The method includes the steps that total data of a data object of a server side at a first moment are obtained; according to version numbers of data records, incremental data, changing relative to the first moment, of the data object of the server side at a second moment are obtained, wherein the second moment is later than the first moment; the total data and the incremental data are merged, so that total data of the data object at the second moment are obtained. According to the method and device, the number of times of interaction and the data size of interaction transmission between the client side and the server side can be reduced, and storage consumption of the client side can be reduced.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method and a device for synchronizing server data at a client. Background technique [0002] In the application system based on client / server, the client needs to obtain the database records stored on the server, and when the database records on the server are updated, it is necessary to ensure that the database records on the client are consistent with those on the server. That is, the client needs to synchronize the data records of the server. [0003] An existing method for the client to synchronize data on the server is based on the mechanism of event playback, that is, when a certain data on the server changes, it is necessary to record the change process of the data, and then based on this change process, the client gets For the data in this change process, redo this process to ensure that the data records of the client and the server are consistent. [0004] If the o...

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/30H04L29/06
CPCG06F16/2329G06F16/275H04L67/1095
Inventor 陈斌陈超杨银波艾忠元
Owner BEIJING QIHOO TECH CO LTD
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