A method and system for concurrent access control

An access control and resource access request technology, applied in the computer field, can solve problems such as increasing program design and reducing debugging efficiency, and achieve the effect of easy implementation

Active Publication Date: 2018-02-09
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it is necessary to clarify the calling environment of the shared interface in the test scenario at design time to locate the exact location where parallel access conflicts will occur in the use case, and it is necessary to modify the maintenance program of the data accessed by the shared interface, which will be unavoidable Increase the complexity of program design and scheduling, reduce debugging efficiency and require necessary changes to existing data resources and programs

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
  • A method and system for concurrent access control
  • A method and system for concurrent access control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, 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 specific embodiments.

[0021] The core idea of ​​the present invention is: use the lock information server to save the locking information of the public resources that need to be called in parallel, and the locking information will include the test case information of the currently accepted request call, the identification information of the public resource, and the time when the call is requested stamp. In this way, concurrent programs can learn the usage status of the currently accessed public resources based on the lock information, and lock them when they are not in use, so that concurrent access to public resources by different parallel programs in all cases can be realized without It is limited by the concurrent access of multiple threads belonging to the...

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 application discloses a concurrent access control method and system. A lock information server is utilized for storing locking information of public resources required to be concurrently called, wherein the locking information contains currently received test case information requested to be called, identifier information of the public resources and a timestamp during requesting for calling. With the adoption of the concurrent access control method and system, a concurrent program can, based on the lock information, obtain a use state of currently accessed public resources and lock the public resources when the public resources are not used, so that the problem of concurrent access conflicts of different concurrent programs can be effectively solved, concurrent access of the different concurrent programs to the public resources in all conditions is realized, and realization is easy.

Description

technical field [0001] The invention relates to computer technology, in particular to a concurrent access control method and system. Background technique [0002] At present, in the field of computer applications, multiple programs often need to be executed in parallel, and when multiple parallel programs are executed, the same call interface is usually used at the same time, and the call interface generally performs read and write operations on storage systems such as background databases. In this way, there will be a situation where multiple parallel programs access the same data resource concurrently. For example, in the process of software testing, there are often situations where multiple test cases use the same call interface to access the same data at the same time. At this time, in order to ensure the security of the system data, it is necessary to control the concurrent access to avoid damage to the system data caused by multiple concurrent programs accessing the s...

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/38
Inventor 樊宇
Owner BEIJING JINGDONG SHANGKE INFORMATION 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