Program detection method and application based on OpenMP thread heartbeat detection technology

A technology of heartbeat detection and threading, applied in error detection/correction, software testing/debugging, instruments, etc., can solve problems such as loss and data deviation, and achieve the effect of improving detection ability

Active Publication Date: 2019-01-15
BEIJING UNIV OF TECH
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there is a downtime in the operation process that cannot be traced b...

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
  • Program detection method and application based on OpenMP thread heartbeat detection technology
  • Program detection method and application based on OpenMP thread heartbeat detection technology
  • Program detection method and application based on OpenMP thread heartbeat detection technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to illustrate the present invention more clearly, the present invention will be further described below in conjunction with preferred embodiments and accompanying drawings. Similar parts in the figures are denoted by the same reference numerals. Those skilled in the art should understand that the content specifically described below is illustrative rather than restrictive, and should not limit the protection scope of the present invention.

[0077] The present invention is based on the OpenMP parallel technology, and injects the API function realized by this method into the main test program to detect and record the heart rate, detect and prompt the working state of the thread generated by the main program, and complete the function of dynamically monitoring the running state of the thread , and then implement a method that can dynamically monitor the running heart rate of threads in the OpenMP parallel environment.

[0078] In the present invention, a thread ...

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 ring topology heartbeat detection method and application based on OpenMP thread, which solves the problems that the running state of each thread program in the OpenMP-based parallel technology can not be effectively detected under the prior art condition. When a thread initialization is detected, a thread structure is established based on the thread number of the thread.When the thread is started, the initial timestamp of the thread is recorded. If the thread meets the predefined time interval, the system records the heart rate value generated by the thread once, andjudges whether the current thread is in the normal running, suspended, busy, normal exit, abnormal exit and other states. In addition, the threaded heart rate curve can be drawn and the heart rate change can be monitored remotely. Compared with the traditional centralized detection method, this method does not need to generate additional central detection threads, optimizes the system efficiency,and improves the accuracy of detection.

Description

technical field [0001] The invention relates to the field of OpenMP parallel technology. More specifically, it relates to a ring topology heartbeat detection method and application based on threads under OpenMP parallel technology. Background technique [0002] With the wide application of computer technology, in the field of big data computing and feature analysis, hundreds or even thousands of processes or threads for parallel computing are usually involved between large-scale layered architectures and heterogeneous hardware. During the long-term running of these two programs, various abnormalities are likely to occur, which may lead to the failure of the running process or line program. These failures are most likely due to hardware errors or software errors, and they can be permanent or transient. Permanent faults are mainly caused by CPU, memory or other hardware, while transient faults usually cannot be traced back and usually subtly affect the correctness of program...

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): G06F11/36
CPCG06F11/3604G06F11/3612
Inventor 王伟东骆旺达
Owner BEIJING UNIV OF TECH
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