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

Shared data updating device and shared data updating method

A technology for sharing data and updating methods, applied in the computer field, can solve problems such as the decline of the system's ability to support concurrency, and achieve the effects of improving access performance, optimizing concurrency performance, and eliminating the locking process

Active Publication Date: 2013-04-03
YONYOU NETWORK TECH
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be clearly seen that an update transaction caused by a user operation may cause two lock waits
In the case of high concurrency, the system's ability to support concurrency is reduced

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
  • Shared data updating device and shared data updating method
  • Shared data updating device and shared data updating method
  • Shared data updating device and shared data updating method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] 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.

[0032] 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.

[0033] image 3 A block diagram of an apparatus for updating shared data according to an embodiment of the present invention is shown.

[0034] Such as image 3 As shown, the shared data update device 300 according to the embodiment of the present invention includes: a storage unit 302 for storing a basic database table and a cache database table, the basic database table is used for storing summary...

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 shared data updating device. The device comprises a storage unit, a discrepant data computing unit, a data persistence unit and a data verification unit, wherein the storage unit is used for saving a basic data base table and a cache data base table; the basic data base table is used for saving summarized data of shared data; the cache data base table is used for saving discrepant data of the shared data; the discrepant data calculating unit is used for computing discrepant data of the shared data caused by updating operation; the data persistence unit adopts isolated transaction to insert the discrepant data into the cache data base table; and the data verification unit is used for inquiring the discrepant data of the basic data base table and the cache data base table and determining whether to submit isolated transaction according to a verification result. The invention further provides a shared data updating method. According to the technical scheme, locking process can be eliminated during data updating and verification processes on the basis that the data updating correctness is guaranteed, so that the concurrency supported by a system is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a shared data update device and a shared data update method. Background technique [0002] In a business system, many shared data face high concurrent user access, and shared data is often the core business model of the system. Therefore, the correctness of shared data must be guaranteed. If you want to ensure the correctness of data, it will inevitably involve competition and waiting when transactions update shared data, such as figure 1 As shown, user 1 is updating the data table records to increase the number by 20, and at the same time, user 2 needs to reduce the number of the same record by 40 through operations, and there may still be other users who are updating the same record at this time. How to support users' concurrent access and maximize the concurrency supported by the system is a problem that must be solved. [0003] In order to ensure the accuracy of b...

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/30
Inventor 陈倪娜
Owner YONYOU NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products