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

Deadlock detection method, system and device and readable storage medium

A deadlock detection and deadlock technology, applied in the field of deadlock detection, can solve problems such as deadlock, affecting the efficiency of problem repair, and deadlock of the operating system, so as to achieve the effect of improving efficiency and quality

Pending Publication Date: 2020-10-30
GUANGDONG INSPUR BIG DATA RES CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the introduction of the lock mechanism also leads to the risk of deadlock in the operating system. Due to the uncertainty of running programs on multi-core processors, deadlocks often occur, and when deadlocks occur, it often takes a long time for operation and maintenance personnel to solve the problem. The location where the deadlock occurs is detected, which greatly affects the efficiency of problem repair

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
  • Deadlock detection method, system and device and readable storage medium
  • Deadlock detection method, system and device and readable storage medium
  • Deadlock detection method, system and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The core of the present application is to provide a method, system, device and readable storage medium for deadlock detection, which are used to quickly detect the position where the deadlock occurs when the deadlock occurs.

[0042] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0043] Please refer to figure 1 , figure 1 It is a flow chart of a method for deadlock detection provided by the embo...

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 deadlock detection method. The method comprises the following steps: after locking operation is conducted, obtaining address information of a lock; performing hash operationon the address information to obtain a corresponding hash value; judging whether a hash value exists in a preset record table or not; and if so, determining a deadlock occurrence position according tothe address information corresponding to the hash value. According to the invention, the generated deadlock is detected by using the hash algorithm; when the hash value exists in the preset record table, it is indicated that the lock is already locked before, and deadlock is caused by locking again; the deadlock occurrence position is determined according to the address information correspondingto the hash value at the moment, the problem repairing efficiency is improved, and the product quality and the stability of an operating system are improved. The invention further provides a deadlockdetection system and device and a readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of deadlock detection, in particular to a deadlock detection method, system, device and readable storage medium. Background technique [0002] In modern operating systems and software development, multi-core concurrent programs have been widely used in practical applications due to their high resource utilization and fast computing speed. However, due to the uncertainty and complexity of multi-core concurrent behavior, its development and maintenance are more difficult than single-core. Therefore, in multi-core programming, in order to ensure the consistency of data operations, the operating system introduces a lock mechanism to ensure the safety of critical section codes. [0003] However, the introduction of the lock mechanism also leads to the risk of deadlock in the operating system. Due to the uncertainty of running programs on multi-core processors, deadlocks often occur, and when deadlocks occur, it ...

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/524
Inventor 刘欢
Owner GUANGDONG INSPUR BIG DATA RES CO LTD