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

A method and device for realizing process mutual exclusion

A process and target technology, applied in the field of process mutual exclusion, can solve problems such as the inability to apply multi-control distributed systems, and achieve the effect of meeting the needs of process mutual exclusion

Active Publication Date: 2018-02-23
上海浪潮云计算服务有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Semaphore technology needs to be implemented based on public memory, but in a multi-control distributed system, there is no public memory, so the traditional process mutual exclusion method based on semaphore technology cannot be applied to a multi-control distributed system

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 device for realizing process mutual exclusion
  • A method and device for realizing process mutual exclusion

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the process of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0029] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0030] First of all, it needs to be explained that all processes that need to process critical resources can use the method of the present invention to realize process mutual exclusion.

[0031] figure 1 The flow chart of the method for realiz...

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 method and device for realizing mutual exclusion of processes, which includes sequentially performing locking processing on the target locks on each controller according to the pre-set locking sequence of the controllers; The lock corresponding to the critical resource to be processed; after the critical resource is processed, the target lock on each controller is sequentially unlocked according to the reverse order of the controller locking sequence. Through the technical solution provided by the invention, mutual exclusion of processes is realized in the case of simultaneous processing of critical resources in a multi-control distributed system.

Description

technical field [0001] The invention relates to distributed system technology, in particular to a method and device for realizing mutual exclusion of processes in a multi-control distributed system. Background technique [0002] With the rapid development of information technology, multi-control distributed systems have been widely used. A multi-control distributed system is a distributed computer system formed by a group of controllers (for example, independent autonomous computers) interconnected through a network. In a multi-control distributed system, each controller has an equal status, and users can manage the multi-control distributed system through any controller. In this way, it is easy for processes in multiple controllers to simultaneously process the same critical resource in a multi-controller distributed system. [0003] A critical resource is a resource that only one process can handle at a time. At present, in a centralized system (that is, a single-node 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/52
Inventor 何中辰吴庆民袁鹏飞
Owner 上海浪潮云计算服务有限公司