Client data updating method and system and medium

A client and data technology, applied in the field of database update, can solve problems such as waste of resources and efficiency, and achieve the effect of ensuring efficiency, ensuring accuracy, and high availability

Inactive Publication Date: 2022-01-28
SHANGHAI XINGRONG AUTOMOBILE TECH CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the serious waste of existing database update resources and slow efficiency, the present invention provides a client database update method

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
  • Client data updating method and system and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Such as figure 1 As shown, a method for updating a client database includes the following steps:

[0038] S1: The server receives the database version number in the client and makes a judgment: if the database version number in the client is consistent with the database version number in the server, it will not update, if not, proceed to the next step; what is explained here is that the client After the database is connected to the Internet, it will automatically send the database version number of the client to the server, and compare the latest data version number of the server with the data version number of the client. If there is no difference between the two version numbers, the server does not need to send an update command ; When the version numbers are inconsistent, the server sends an update statement to the client;

[0039]S2: The server compares the data of the current version of the server with the data of the current version of the client to obtain the da...

Embodiment 2

[0049] A system using the method for updating the client database as described in the foregoing embodiments, comprising:

[0050] The networking module is used for communication between the server and the client; the client sends its version number to the server through the networking module; the server sends corresponding instructions to the client through the networking module;

[0051] The judging module is used to judge the database version numbers of both the server and the client according to the results of the networking module. If the database version number in the client is consistent with the database version number of the server, it will not be updated; The results of the module are sent to the computing module;

[0052] The calculation module is used to compare the data of the current version of the server and the data of the current version of the client according to the result of the judgment module, and calculate the data threshold;

[0053] The comparison modu...

Embodiment 3

[0057] A storage medium, the storage medium has a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the method for updating a client database described in any one of the above. The storage medium in this embodiment may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. A computer readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a progr...

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 client database updating method and system and a medium, and belongs to the field of database updating. Aiming at the problems of serious resource waste and low efficiency of the existing database updating, the invention provides the client database updating method which comprises the following steps of S1, receiving a database version number in a client by a server; S2, using the server to compare the data of the current version of the server with the data of the current version of the client to obtain a data threshold value, and comparing the data threshold value with a standard threshold value; S3, if the standard threshold value is exceeded, carrying out full-amount updating; and S4, if the standard threshold value is not exceeded, carrying out incremental updating. According to the method, the updating mode of a database is selected by comparing the data threshold value with the standard threshold value, the accuracy of the data is improved while the updating efficiency of the database is ensured, and the data recovery time is shortened under the condition that the data is lost. The system is clear in division of labor and simple in composition, and has the advantages of a full-amount updating mode and an incremental updating mode at the same time.

Description

technical field [0001] The invention belongs to the technical field of database update, and more specifically relates to a method, system and medium for client database update. Background technique [0002] In the information society, fully and effectively managing and utilizing various information resources is a prerequisite for scientific research and decision-making management, so data is becoming an important resource, and more and more applications will call or store a large amount of data for use Therefore, the database is the core part of various information systems such as management information systems, office automation systems, and decision support systems, and is an important technical means for scientific research and decision-making management. With the continuous increase of information, how to efficiently update the data in the database has become a concern of the industry. At present, in the prior art, after new data is generated, the data in the database w...

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): G06F16/23
CPCG06F16/235G06F16/2365
Inventor 刘义雷于龙
Owner SHANGHAI XINGRONG AUTOMOBILE 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