Supercharge Your Innovation With Domain-Expert AI Agents!

Program flow monitoring method, program flow monitoring system, CPU and chip

A monitoring system and program flow technology, applied in the CPU field, can solve the problem of not being able to confirm whether the program flow is executed as expected, and achieve the effect of enhancing reliability and improving accuracy

Active Publication Date: 2021-07-27
BEIJING SMARTCHIP MICROELECTRONICS TECH COMPANY +3
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a program flow monitoring method and a program flow monitoring system to at least solve the above-mentioned problem of not being able to confirm whether the program flow is executed as expected

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 flow monitoring method, program flow monitoring system, CPU and chip
  • Program flow monitoring method, program flow monitoring system, CPU and chip
  • Program flow monitoring method, program flow monitoring system, CPU and chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0042] Based on the call relationship of the program, the program is divided into the main program and the subroutine. The main program calls the subroutine to realize the function; jump program flow, etc.) to provide basic functional logic. The programs described below can be either main programs or subroutines.

[0043] An embodiment of the present invention provides a program flow monitoring method, the method comprising: recording the execution information of the program flow of the program through monitoring points set in the program, and determining the execution track of the program flow; according to the recorded The execution information of the progra...

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 relates to the technical field of CPUs, and provides a program flow monitoring method, a program flow monitoring system, a CPU and a chip. The program flow monitoring method comprises the following steps: recording execution information of a program flow of a program through a monitoring point set in the program, and determining an execution track of the program flow; determining expected execution time of the program flow according to the recorded execution information of the program flow; counting the actual execution time of the program flow; and according to a comparison result of the actual execution time of the program flow and the expected execution time of the program flow, determining whether the program flow is executed according to the expectation or not. According to the method, whether the program flow is executed according to the expectation or not is judged from the dimension of combining time and space, the accuracy of program flow monitoring is improved, the execution time and the execution track of the program flow can be monitored at the same time, and the execution reliability of the program flow is enhanced.

Description

technical field [0001] The invention relates to the technical field of CPUs, in particular to a program flow monitoring method, a program flow monitoring system, a CPU, a chip and a storage medium. Background technique [0002] CPU (Central Processing Unit, central processing unit), as the core device on the industrial control chip, has a wide range of applications in the power field. Due to the particularity of the power system environment, the CPU is extremely susceptible to hardware failures due to factors such as electromagnetic interference and line crosstalk. For example, the program counter in the CPU is abnormally rewritten, causing the execution order of the program flow to be disrupted and other faults. Such faults are random due to the influence of the external environment and cannot be solved by conventional software testing methods. Usually, the compiler compiles the software program into a series of binary instruction stream sequences, and the CPU sequentially...

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/30G06F11/07
CPCG06F11/0757G06F11/302
Inventor 刘俊赵东艳种挺原义栋张茜歌张海峰刘亮丁海丽马晓昉
Owner BEIJING SMARTCHIP MICROELECTRONICS TECH COMPANY
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