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

Method for positioning fault of software

A software failure and related information technology, applied in the computer and information fields, can solve problems such as difficulty in locating single-board software, and achieve the effect of improving efficiency

Inactive Publication Date: 2007-10-03
HUAWEI TECH CO LTD
View PDF0 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the above-mentioned situation in the prior art, the purpose of the present invention is to provide a simple and effective method for locating software faults on a single board, so as to solve the problem that the software faults on a single board are difficult to locate

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 positioning fault of software
  • Method for positioning fault of software
  • Method for positioning fault of software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, characteristics and advantages of the technical solution of the present invention clearer, the present invention will be described in detail below by taking single-board software as an example.

[0023] The memory used by the board software is generally allocated by the system according to the needs. The memory used by a typical board software is divided into a reserved area, a management memory area, an application program storage area, a patch storage area, and a free area, as shown in Figure 1. Show. The space size of each storage area is allocated according to specific conditions, or through dynamic allocation.

[0024] Because the software is running (including initialization), if the variable or memory cannot be initialized correctly, the value in the variable or memory may be a random value, resulting in unpredictable system output. Due to the randomness of the problem, the code where the problem occurs and the initialization code t...

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 present invention discloses a method for locating software fault. Said method includes the following steps: (a), in internal memory prereserving a zone for storing information related to the system operation state; (b), in the course of system operation recording the current newest related information and storing said current newest related information and storing said current newest related information in the described prereserved zone; (c), in the initialization process when the software is again started after fault reserving the information stored in the described prereserved zone; and (d), fetching and analyzing the described information stored in the prereserved zone and reproducing instantaneous system state before fault.

Description

technical field [0001] The invention relates to the field of computer and information technology, in particular to a method for locating software faults. technical background [0002] With the development of network communication technology, the functions of system equipment are becoming more and more powerful, which makes the system program tend to be large and complex. Therefore, during the operation of the system, some abnormal situations often occur, sometimes causing the system or functional unit (single board) reset. But locating the fault that caused the abnormal condition is more complicated. For example, using a real-time operating system, set a breakpoint in the program to track the running of the program. Every time the program is executed to a breakpoint, the state of the program, the status of the stack, the contents of each register, and the variables set by the user can be obtained to locate the fault. , this method is very effective in the process of progra...

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/36
Inventor 邱霖
Owner HUAWEI TECH CO LTD
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