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

Method for recording function for leading to system abnormity

A function and recording area technology, applied in the field of data communication, can solve problems affecting system function operation, system performance degradation, etc., and achieve the effects of easy location of system problems, improvement of stability, and narrowing of the scope of fault finding

Active Publication Date: 2009-08-19
ZTE CORP
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since function calls are very frequent in a real-time system, if the monitoring method adopted takes up too much system resources, it will inevitably lead to a decline in system performance, which in turn will affect the operation of the main functions of the system

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 for recording function for leading to system abnormity
  • Method for recording function for leading to system abnormity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0020] In order to realize the purpose of the present invention, it is necessary to utilize certain characteristics of the software and hardware of the data communication product to capture the function that causes the system to reset or crash and the task to run the function. In data communication products, it usually has the following hardware and software characteristics:

[0021] (1) When the memory of data communication products is reset or crashes without power failure, the memory has the characteristic that the content will not be lost without power failure.

[0022] The memory used by the product device will not lose the information recorded in the memory after the device is reset without power failure and restarted, and will still maintain the original va...

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 recording functions that cause system crashes or resets. First, a function pointer array element for recording function addresses is allocated to each task in the memory recording area, and a global function that tracks the current running task is defined. pointer, add a function call hook function in the file to be run by the system; when the task is switched, assign the global function pointer to the address of the function pointer array element corresponding to the newly cut-in task in the task switch hook function; The function place records the address of the function currently called by the current task into the global function pointer. The application of the present invention can capture the function that causes the system to reset or crash, and capture the task of running the function, thereby providing effective record information for locating system faults afterwards, narrowing the scope of fault finding, and locating system problems.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a method for recording functions that cause system abnormalities. Background technique [0002] In the field of data communication, the application of the product may cause system abnormality for some reason, such as causing the system to reset or crash. Since the system has been restarted or crashed, it is not possible to use the usual positioning methods to locate the cause after restarting, such as memory variables, task status, or CPU usage, which makes it difficult to find out the cause of the system failure afterwards. , It is not easy to locate product problems, thereby improving product stability. [0003] Data communication products are generally real-time embedded systems, which are scheduled based on tasks or processes. In other words, tasks or processes are the smallest operating units that gather various system resources to achieve specific functions. Wh...

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 Patents(China)
IPC IPC(8): G06F11/14G06F11/36
Inventor 石江涛
Owner ZTE CORP
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