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

A concurrent operation control method and device

A control method and post-trigger technology, applied in the field of data processing, can solve problems such as inability to obtain shared data, disordered concurrent operations, and failure of concurrent operations of multiple threads to run normally, so as to improve accuracy and avoid data processing errors Effect

Active Publication Date: 2019-04-02
BEIJING GRIDSUM TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the concurrent operations are mainly controlled by issuing tokens, that is, threads that have obtained tokens can obtain and use shared data, while threads that have not obtained tokens will not be able to obtain shared data
However, the way of issuing tokens needs to set up a token issuing center, and control the concurrent operations of each thread through this control, so that when the token issuing center fails, the concurrent operations of multiple threads will become chaotic Out of order, which leads to the problem that the concurrent operations of multiple threads cannot run normally

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 concurrent operation control method and device
  • A concurrent operation control method and device
  • A concurrent operation control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052]Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0053] In order to control the concurrent operations of multiple threads in an orderly manner, the embodiment of the present invention provides a method for controlling concurrent operations, such as figure 1 As shown, the method includes:

[0054] 101. Receive multiple data processing requests.

[0055] Wherein, the multiple data processing requests are sent by multiple threads simultaneously, and each of the data processing reque...

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 discloses a concurrent operation control method and device, relates to the technical field of data processing, and aims to solve the problem that the concurrent operation is disordered when a token sending control center breaks down when the concurrent operation of a plurality of threads is controlled in a token sending mode in the prior art. The method comprises the following stepsof receiving a plurality of data processing requests; adding all the threads into a waiting queue; extracting first identification information from a plurality of pieces of identification informationcarried in the plurality of data processing requests; and after a preset time interval, triggering a thread corresponding to the first identification information to process the data. The method and the device are suitable for being applied to the control of the concurrent operations.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method and device for controlling concurrent operations. Background technique [0002] With the gradual development of big data technology, data has become critical. In order to facilitate data sharing, the shared data can usually be stored in a database, so each thread can process the data in the database, etc. In order to avoid data processing conflicts between threads, it is necessary to take certain control measures for concurrently executed operations. [0003] At present, concurrent operations are mainly controlled by issuing tokens, that is, threads that have obtained tokens can obtain and use shared data, while threads that have not obtained tokens will not be able to obtain shared data. However, the way of issuing tokens needs to set up a token issuing center, and control the concurrent operations of each thread through this control, so that when the ...

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): G06F9/52
CPCG06F9/52G06F9/524
Inventor 李亚东
Owner BEIJING GRIDSUM TECH CO LTD
Features
  • R&D
  • 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