Code process tracking method and system

A code and process technology, applied in the direction of code compilation, program code conversion, platform integrity maintenance, etc., can solve the problem of reducing the visualization degree of computer program operation monitoring, computer program operation safety and stability, inability to track computer program operation in real time, and inability to accurately It can accurately determine the function code and other problems that have unexpected failures, so as to improve the controllability and safety.

CN114816996APending Publication Date: 2022-07-29慧之安信息技术股份有限公司
0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2022-07-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a code process tracking method and system, and the method comprises the steps: analyzing a program to obtain all function codes contained in the program, and recognizing a source code part and a trigger code part of each group of function codes to obtain a code trigger relation information set; according to the running state information of all the function codes in the test running process of the program, a calling logic relation information set among different function codes is determined, and therefore a calling relation structure model about all the function codes is constructed; finally, according to the code triggering relation information set, secondary expansion is conducted on the calling relation structure model, the expanded calling relation structure model is displayed in a visual tracking flow chart mode, the corresponding visual tracking flow chart is dynamically and synchronously displayed, and therefore the program running condition is tracked in real time. And the program running controllability and safety are improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of code data management, in particular to a code flow tracking method and system. Background technique

[0002] A computer program is usually formed by a combination of a large number of function codes, and each function code acts as a function unit to perform calculation processing on the input information and output corresponding calculation results. In a computer program, there may be a logical relationship between calling and being called between different function codes. When the computer program is edited, designed and tested, it will be packaged and handed over to the user directly. In the process of using the computer program, the user cannot visualize the real-time operation of different function codes inside the computer program. When a computer program encounters an unexpected failure during the running process, the user cannot accurately determine the corresponding link of the function ...

Examples

Embodiment Construction

[0045] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0046] see figure 1 , is a schematic flowchart of a code flow tracking method provided by an embodiment of the present invention. The code flow tracking method includes the following steps:

[0047] Step S1, scan and analyze the program, identify all function codes contained in the program, and assign corresponding identification marks to each group of function codes; extract the corresponding source code part and trigger code part ...