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

Method for recording function for leading to system abnormity

A technology of recording area and global function, which is applied in the field of data communication, can solve problems affecting system function operation, system performance degradation, etc., and achieve the effect of conveniently locating system problems, improving stability, and narrowing the scope of fault finding

Active Publication Date: 2008-04-30
ZTE CORP
View PDF0 Cites 11 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

[0020] 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.

[0021] 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:

[0022] (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.

[0023] 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 a function causing a system to halt or reset. The method comprises firstly allocating a function pointer array element for recording a function address for each task in a memory recording area, defining a global function pointer for tracking the currently operating task, and adding a hook function calling function in a file to be operated by the system; when switching a task, assigning the global function pointer to the address of the function pointer array element corresponding to the newly switched task in a task switch hook function; and recording the address of the currently called function in the current task in the global function pointer in the hook function calling function. The invention can capture the function causing system to halt or reset and capture the task operating the function, so as to provide effective recorded information for locating system failure afterwards, and shorten trouble shooting range, thereby facilitating to locate the system.

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 Applications(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