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

Version-based APP low-flow data updating system and method

A data update, low-traffic technology, applied in electrical digital data processing, special data processing applications, instruments, etc., to avoid unnecessary data transmission

Active Publication Date: 2017-07-21
CHEZHI HULIAN BEIJING SCI & TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to provide a version-based APP low-flow data update system and method, thereby solving the aforementioned problems in the prior art

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
  • Version-based APP low-flow data updating system and method
  • Version-based APP low-flow data updating system and method
  • Version-based APP low-flow data updating system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] like figure 1 As shown, the embodiment of the present invention provides a version-based APP low-flow data update system, including: a database, a Push server, a distributed cache server, and a WEB server;

[0035] The database includes data table A, data table B, routing table and change record table, the routing table is used to record the current data table and the latest update time, the current data table is data table A or data table B, if The current data table is data table A, then data table B is in an idle state, otherwise, if the current data table is data table B, then data table A is in an idle state; said data table A and data table B are used to record data information, The change record table is used to record the data added and deleted for each version change;

[0036] The Push server is used to regularly scan data and store the read data in the free data table, and is also used to compare data table A and data table B, and if the data changes, the upd...

Embodiment 2

[0040] An embodiment of the present invention provides a version-based APP low-flow data update method, including a method for Push service update data and an APP request data method. The method for Push service update data is as follows: figure 2 shown, including the following steps:

[0041] Sa1, the Push server reads data, and judges whether the current data table identified in the routing table is data table A, if yes, stores the updated data in data table B, otherwise, stores the updated data in data table A;

[0042] Sa2, compare the data in data table A and data table B, and obtain new data and deleted data;

[0043] Sa3, recording the obtained new data and deleted data in the table change record table to obtain an updated change record table;

[0044]Sa4, push the updated latest data into the distributed cache server, and update the version, so that the number of the latest versions recorded in the cache server does not exceed the set number;

[0045] Sa5, update th...

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 version-based APP low-flow data updating system and method, and relates to the technical field of data updating. According to the method, a database adopts an A / B data table and route table combination form; by recording incremental data and updating the data and a data version, seamless data updating is realized; when an APP end requests for the data, a server returns incremental information and the updated data in the server to the APP end by judging a version number carried by the server and a latest version number, and non updated data which is unchanged is not returned to the APP end; and compared with the prior art in which unnecessary data transmission is caused due to total data updating, the scheme has the advantages that a small amount of changed data is updated and most unchanged data is no longer updated, so that transmission of a large amount of unnecessary data is avoided.

Description

technical field [0001] The invention relates to the technical field of data updating, in particular to a version-based APP low-flow data updating system and method. Background technique [0002] At present, most APPs need to update data through the network. There are various forms of data, and currently the main data transmission is through JSON or XML. APP data update generally adopts the following two methods: one is to update all data each time, which will cause a lot of unnecessary data transmission; the other is to obtain updated data every time the APP end, Bring the local existing data version number (APP version), the server will compare the version number with the latest data version (the latest version of the server), if the versions are consistent (ie: APP version = the latest version of the server), then Notify the APP that no data update is required, otherwise, provide full data update. Although this method is improved compared with the first method, that is,...

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
CPCG06F16/2379
Inventor 谢海峰
Owner CHEZHI HULIAN BEIJING SCI & TECH CO LTD