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

Changing process method based on database logical lock

A change processing and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of database access efficiency and computer real-time processing speed to be improved, so as to improve access efficiency and computer real-time processing speed, Simplify the judgment and solve the effect of excessive system resource occupation

Active Publication Date: 2010-04-14
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the above method appropriately reduces the processing time of exclusive locking, there is still room for improvement in terms of database access efficiency and computer real-time processing speed

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
  • Changing process method based on database logical lock
  • Changing process method based on database logical lock
  • Changing process method based on database logical lock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer and easier to understand, the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0026] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.

[0027] Such as figure 1 Shown is a transaction processing device 1 adopting the change processing method based on the database logic lock of the present invention. The transaction processing device 1 includes a table data query control unit 2 , a transaction logic processing unit 3 , and a table data update processing unit 4 .

[0028] The data query control unit 2 is responsible for the query and acquisition of transaction data, and uses database que...

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 change treatment method on the basis of a data base logical lock, which comprises: inquiring a data base to obtain corresponding record data and a logical lock serial number when a transaction request need updating data, checking, judging and calculating transaction request data and the record data which is obtained through inquiring the data base, starting the data updating processing when the transaction conditions are satisfied, using an exclusive lock to lock corresponding data base resources, obtaining the logical lock serial number and the record data, comparingwhether the logical lock serial number is corresponding with the logical lock serial number which is obtained through inquiring the data base, updating the record data according to a processing resultof a transaction logical processing unit and adding one to the logical lock serial number if the logical lock serial number is corresponding with the logical lock serial number which is obtained through inquiring the data base, thereby, the data change processing succeeds, and otherwise the data change processing fails. The method of the invention which centralizes the updating processing with the lock in the last through modifying the applicable process effectively solves the problems that system resources are greatly occupied and the efficiency is lower when a large amount of transactions occur.

Description

technical field [0001] The invention relates to a computer data processing method, in particular to a change processing method for online transaction processing based on database logic locks. Background technique [0002] In the process of computer data processing, it is often necessary to query and update data, especially in business data processing systems with large data volumes and large business volumes, such as bank computer systems. When a large number of online transactions are concurrent, due to the information stored in the database It is extremely huge and requires very high efficiency in database access processing. [0003] At present, most of the core business systems of banks and other financial institutions use special database software systems. When accessing databases in online transactions, the general method used is: when the online needs to update data, first use an exclusive lock to lock the data resources (such as table lock or row lock), before the en...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 王向荣梁敏蔡凌玮翟习文
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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