Unlock instant, AI-driven research and patent intelligence for your innovation.

Data incrementally pulling method and device, storage medium, terminal device and server

A technology for incremental data and data storage, applied in the computer field, can solve problems such as low data delivery rate, data loss, and large amount of data update, and achieve the effect of reducing the amount of data update and improving efficiency

Inactive Publication Date: 2018-03-20
GUANGZHOU SHIRUI ELECTRONICS +1
View PDF11 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when synchronizing data, the data is generally pulled in full on a regular basis, and the amount of data updates is large; or, the data is directly pushed to the client through the socket, but there will also be data loss in this way, and the data delivery rate is not high.

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 incrementally pulling method and device, storage medium, terminal device and server
  • Data incrementally pulling method and device, storage medium, terminal device and server
  • Data incrementally pulling method and device, storage medium, terminal device and server

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0035] see figure 1 , figure 1 It is a schematic flowchart of the method for incrementally pulling data provided by the first embodiment of the present invention; the embodiment of the present invention provides a method for incrementally pulling data, which is executed by the client, and specifically includes:

[0036] S11. Receive an incremental data push request from the server; the incremental data push request includes a reference version number, and the reference version number is the version number of the latest data currently stored by the server; each time a new piece of data is stored by the server A version number generated according to the time sequence of data storage is set for the data.

[0037]In the embodiment of the present invention, the client may refer to an interface program set on a portable electronic device such as a mobile phone, a tablet; a computer, etc., such as a browser, instant messaging software (QQ, WeChat, etc.), and the data stored in the s...

no. 2 example

[0047] refer to figure 2 , figure 2 It is a schematic flowchart of the method for incrementally pulling data provided in the second embodiment of the present invention; on the basis that the incremental data in the above embodiment is the first page of incremental data generated according to the paging rules and the data version number, The data version number sent by the client to the server in the embodiment of the present invention can also be used to trigger the server to generate the remaining pages according to the paging rule and the data version number, then the embodiment of the present invention is based on the previous embodiment , also includes the following steps:

[0048] S140, receiving the number of remaining pages returned by the server;

[0049] In the embodiment of the present invention, the data corresponding to all version numbers sorted from the data version number to the reference version number can be divided into N pages of incremental data accordi...

no. 3 example

[0054] refer to image 3 , image 3 It is a schematic flowchart of the method for incrementally pulling data provided in the second embodiment of the present invention; the embodiment of the present invention provides a method for incrementally pulling data, which is executed by the server, and specifically includes:

[0055] S210. Send an incremental data push request to the client; the incremental data push request includes a reference version number, and the reference version number is the version number of the latest data currently stored by the server; each time the server stores a new For the data, a version number generated according to the time sequence of data storage is set for the data; wherein, the incremental data push request is used to trigger the client to judge the version number of the data locally stored by the client and the reference version number is consistent, and when the data version number is inconsistent with the reference version number, send the ...

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

Embodiments of the invention disclose a data incrementally pulling method and device, a storage medium, a terminal device and a server. The method comprises the steps of receiving an incremental datapushing request of the server, wherein the incremental data pushing request comprises a reference version number of a version number of latest data stored by the server at present, and the server setsa version number generated according to data storage time sequence when storing a piece of new data; when it is determined that the local data version number of the client is inconsistent with the reference version number, sending the data version number to the server so as to generate incremental data comprising data corresponding to version numbers starting with the data version number from front to back; and receiving incremental data and a version number of a last piece of data of the incremental data, and updating the data version number. Through adoption of the method, data update quantity is reduced, and if the data pushed by the server fails to reach, data is pushed continuously after the data is lost permanently.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, storage medium, terminal equipment and server for incrementally pulling data. Background technique [0002] Two programs on the network, such as a client and a server, exchange data through a two-way communication connection, and one end of this connection is called a socket. Establishing a network communication connection requires at least a pair of port numbers (sockets). The essence of socket is a programming interface (API), which encapsulates TCP / IP. TCP / IP also provides an interface for programmers to do network development. This is the socket programming interface; The specific form; socket is the engine, which provides the ability of network communication. [0003] For the pulling of communication data, it is specifically the following process: the data edited or updated by the webpage is stored on the server side or in the cloud, and the cli...

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): H04L29/08
CPCH04L67/06H04L67/55
Inventor 曹桐军
Owner GUANGZHOU SHIRUI ELECTRONICS