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

Data updating method and device

A technology for updating data and specifying data, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as data loss, operation impact of reading hot data, and pressure of updating hot data without relieving the pressure, so as to improve Operating efficiency, ensuring consistency, and ensuring the effect of timely updates

Inactive Publication Date: 2011-05-04
YONYOU
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method can improve the efficiency of execution, but the pressure to update hot data is not reduced. The update of hot data is still hot, and the operation of reading hot data will be affected, and the data will not be completed in time if the concurrency is high. update
In addition, the asynchronous calling method may cause data loss problems when the server crashes

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 updating method and device
  • Data updating method and device
  • Data updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0028] In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the present invention is not limited to the specific embodiments disclosed below limit.

[0029] figure 1 A flow chart of a data updating method according to an embodiment of the present invention is shown.

[0030] like figure 1 As shown, the present invention provides a method for updating data, comprising: step 102, storing the increment data generated by each operation on the specified data in the original table in the temporary storage table; step 104, according to the increment Da...

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 provides a data updating method, which comprises the following steps of: 102, storing increment data generated by operating specified data in an original table in a temporary storage table respectively; and 104, updating values of the specified data in the original table according to the increment data. The invention also provides a data updating device. By the technical scheme of the invention, data can be updated in time under the condition of generating high concurrent operation, the running efficiency of a system is improved, and the data of the system is consistent and safe and is not lost.

Description

technical field [0001] The invention relates to a data update method in an application system, in particular to a data update method and device. Background technique [0002] There is a type of data in the application system that is obtained by summarizing other data, such as the account balance in the enterprise, the number of remaining commodities in the inventory, etc. In high-concurrency network applications, this data is often modified due to the transaction. [0003] The current application system mainly has the following methods to solve this problem: [0004] 1) Use database transactions to maintain data update consistency. Each transaction updates the hotspot data through SQL directly according to the incremental update, using the database transaction characteristics to ensure the mutual exclusion of updates and the consistency of data updates. The problem with this method is that if a large number of concurrent businesses request to update the same piece of data ...

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
Inventor 宋涛
Owner YONYOU
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More