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

Shared resource access method and device

A technology for sharing resources and access methods, applied in multi-program devices, program control design, instruments, etc., can solve problems such as inability to effectively reduce lock waits, difficult optimization of transactions, etc., and achieve the effect of reducing lock waits and occupation.

Active Publication Date: 2019-12-10
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the transaction itself is relatively difficult to optimize, and it takes a certain amount of time to process and complete
Therefore, the traditional technology cannot effectively reduce the lock waiting and reduce the occupation of system resources

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 resource access method and device
  • Shared resource access method and device
  • Shared resource access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0040] Such as figure 1 As shown, in one embodiment, a method for accessing shared resources is provided, including:

[0041] Step 102, acquire a business processing request, and start business processing.

[0042] In this embodiment, business processing is a very broad concept, including all matters that can be processed by a software system, so business processing is not limited to a specific processing. For example, business processing can be document submission or transfer and remittance.

[0043] Step 104, when the business process uses the shared resource, create an independent internal tr...

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 relates to a shared resource access method and device. The method comprises the following steps: obtaining a business processing request to start with business processing; when shared resources are used in the business processing, creating independent internal affairs to invoke the shared resources; executing the internal affairs and releasing a resource lock for the shared resources after the internal affairs are finished; executing external affairs corresponding to the internal affairs, wherein the external affairs use internal affair processing results. Through the method provided by the invention, the shared resources can be timely used, so that lock waiting is reduced, and the occupation of system resources is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a shared resource access method and device. Background technique [0002] In the software system, there are usually some shared resources, such as: obtaining the maximum number of the document code, obtaining the current budget amount, obtaining the current account balance, etc. These shared resources have a characteristic that they must be queued for execution. After the last call is completed, the next call must rely on the result of the previous call for processing to ensure the timeliness and correctness of the data. If these shared resources are placed in a transaction environment, the time consumed by a shared resource call depends on the time required for the transaction to complete. If the transaction that occupies the shared resource takes a long time, it will cause a lot of locks to wait, so it will Occupy a lot of system resources, and even cause server downtime. ...

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): G06F9/52
CPCG06F9/526
Inventor 涂克东
Owner KINGDEE SOFTWARE(CHINA) CO LTD