Method and device for realizing embedded type system function monitoring

An embedded system and function technology, applied in the direction of hardware monitoring, etc., can solve the problems of system occupation, flexibility and application range limitation, and affect system execution efficiency, etc., to achieve the effect of flexible use, saving system resources, and reducing system burden

Active Publication Date: 2010-07-28
ZTE CORP
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Adding debugging code is a means to realize function monitoring, but this method will inevitably occupy some extra resources of the system and affect the execution e

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
  • Method and device for realizing embedded type system function monitoring
  • Method and device for realizing embedded type system function monitoring
  • Method and device for realizing embedded type system function monitoring

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention realizes the method for embedded system function monitoring, with reference to figure 1 As shown, it mainly includes the following steps:

[0031] Step 101: Before invoking the monitored function, register a callback function for obtaining the call information of the monitored function in the breakpoint linked list of the current system;

[0032] Step 102: When calling the monitored function, call the registered callback function to obtain the call information when the monitored function is called this time;

[0033] Step 103: Save the obtained calling information into a preset monitoring linked list.

[0034] Here, the monitoring linked list is preset and is used to save the calling information of each monitored function.

[0035] Here, the calling information of the monitored function may specifically be any information generated when the monitored function is called.

[0036] Specifically, the call information at the beginning of calling the ...

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 method for realizing embedded type system function monitoring. A back invoked function is registered in a system break point link table, and the invoking information of a monitored function is obtained through invoking the back invoked function and is stored into a set monitoring link table when the monitored function is invoked. The invention also discloses a device for realizing embedded type system function monitoring. In the current system operation process, the invoking information of the monitored function can be checked in the monitoring link table at any time for judging whether the current function A is trapped into an endless loop or not and whether the execution result of the function A is correct or not, information such as invoking frequency and the like of the function A can be obtained, and the goal can be realized without adding debugging codes or modifying codes on the current system. The invention can effectively reduce the system load, and is favorable for saving the system resources, the execution can be carried out in the system operation process, and the use is flexible.

Description

technical field [0001] The invention relates to the monitoring field of an embedded system, in particular to a method and a device for realizing function monitoring of an embedded system. Background technique [0002] In embedded systems, especially for communication product systems, function, reliability and execution efficiency are important indicators to measure whether a product is good or not, but no matter how good a product is, there will inevitably be some faults, which are just faults. The performance is different. How to locate faults effectively is an important issue that embedded software developers need to face. [0003] Embedded systems are generally based on task scheduling. As the smallest unit of resource allocation and scheduling by the kernel, a task has a crucial impact on the entire system. An abnormality in one task may cause other tasks or even the entire system to be paralyzed. If the task is used as the object of fault diagnosis, the possible fault...

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/34
Inventor 朱明星
Owner ZTE CORP
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