Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Shared memory based real-time monitoring and control method and system for software running process

A technology of shared memory and running process, which is applied in hardware monitoring, software testing/debugging, etc. It can solve problems such as running performance impact, affecting service reliability, and user loss, so as to facilitate error location and save time for error debugging.

Active Publication Date: 2016-07-06
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These operations affect the reliability of the service, and even bring unnecessary losses to users
In some specific cases, because the Debug version of the executable program adds a large amount of auxiliary debugging information, its running performance is greatly affected. Therefore, the Debug version may not have errors, but the Release version may have errors or even crashes.
In addition, a large amount of auxiliary debugging information may also lead to the destruction of debugging data that does not affect program execution when an error occurs, resulting in no software-related errors in the Debug version, but errors or even crashes in the Release version

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
  • Shared memory based real-time monitoring and control method and system for software running process
  • Shared memory based real-time monitoring and control method and system for software running process
  • Shared memory based real-time monitoring and control method and system for software running process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the above objects, features and advantages of the present invention more obvious and comprehensible, the present invention will be further described through specific examples below.

[0025] 1. Variable structure to be monitored and controlled

[0026] The variable structures to be monitored and controlled are defined as follows:

[0027]

[0028]Among them, intValue, charValue, floatValue, etc. are all self-defined variables. These variables can include local or global variables in software codes, statistical variables customized by developers, control variables used to perform process control, and other possible used variables. Auxiliary variable. R&D personnel can add, modify and delete variables in the structure according to requirements.

[0029] 2. Implementation of shared memory management interface method

[0030] The shared memory management interface implements the creation and acquisition of shared memory, and maps the shared memory to ...

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 a shared memory based real-time monitoring and control method and system for software running process, which can be used for dynamically acquiring a variable value, a software running state and various parameters in a software program during the software running process and supporting real-time control of software execution flow. By the method and the system, the variable value, the software running state and various parameters in the software program can be periodically collected, and the execution flow is controlled in real time; during real-time data collection, a shared memory is only needed to be periodically read, the corresponding data in the shared memory is acquired, the related software running state can be acquired, the running of a current program is not needed to be stopped, and the influence on the program is reduced; and during real-time control of the execution flow, the real-time control of the execution flow is achieved by changing the control variable value of the shared memory. The invention provides a simple shared memory management interface easy to use, and the collection of the soft running state and the control of the execution flow can be supported better.

Description

technical field [0001] The invention belongs to the field of information technology, and in particular relates to a method for real-time monitoring and control of a software running process, which can be applied to the development technology field of various monitoring software and the field of software error debugging. Background technique [0002] In the process of software development and operation, it is usually necessary to understand the operation of the software, and when an error occurs, quickly locate and repair the error, so as to provide reliable services. However, in reality, software often only outputs the results required by users, and most global or local variables are completely transparent to users. Therefore, if you encounter an error during the development process, you need to stop the program and debug it; if you encounter a problem during the running process, you need to suspend the service to troubleshoot and locate the error. During this process, deve...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06F11/36
Inventor 王永炎王盖姚化壮纪文杰李昕龙罗雄飞
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products