Check patentability & draft patents in minutes with Patsnap Eureka AI!

Process variable storage method and device

A technology of process variables and storage areas, applied in the field of communication, can solve the problems of increasing system analysis overhead and complexity

Inactive Publication Date: 2015-04-29
BEIJING HUAWEI DIGITAL TECH
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] There are at least the following problems in the prior art: since system analysis and performance collection are based on all corresponding information pairs (namely M1 and M2) collected at the entry and exit of the function during a single call, and if If multiple tasks call the same function under test in parallel or nestedly, when the function is called once, the information collected at the entry and exit of the function is likely to be recorded in the storage area far away. location, so that when performing offline analysis, it takes quite complex analysis to obtain all the collected information pairs with corresponding relationships, which increases the overhead of system analysis

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
  • Process variable storage method and device
  • Process variable storage method and device
  • Process variable storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0061] An embodiment of the present invention provides a method for storing process variables, such as figure 2 As shown, the method may include:

[0062] 101. Allocate intermediate frames for the target program.

[0063] Wherein, the target program includes the function to be tested. When users need to perform system analysis and performance collection for the function under test, they can implement system analysis and performance collection through instrumenta...

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 process variable storage method and device, and relates to the field of communication. The system analysis expenditure is reduced. The method adopts the following scheme that a middle frame is allocated for a target program, wherein the target program comprises a tested function; calling information when a tested function is called is obtained through executing an inlet pile function, the calling information is stored into a storage region, and in addition, a storage address of the calling information in the storage region is stored in the middle frame; return information when the tested function is called is obtained through executing an outlet pile function, in addition, the return information is stored into the storage region according to the storage address of the calling information stored in the middle frame in the storage region, and the calling information and the return information are stored in two sub units of the same storage unit in the storage region. The method and the device provided by the invention are used in the process variable storage process.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for storing process variables. Background technique [0002] With the continuous development of computer technology, software dynamic testing becomes more and more important. In software dynamic testing, instrumentation technology is a basic testing method. The instrumentation technology mainly inserts corresponding statements into the program under test to obtain the required information during program execution, so that system analysis and performance collection can be performed based on the obtained information. For example, if figure 1 As shown, in the process of calling function A (the function under test) by a certain task, after inserting the entry and exit of function A, by analyzing the stack corresponding to the task, the function A collected when executing the stub function A1 can be obtained. Parameters at the time of calling, time t1 and other related ...

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): G06F12/02
Inventor 谢江帆
Owner BEIJING HUAWEI DIGITAL TECH
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