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

Method and device for viewing code information in system abnormality

A time code, exception technology, applied in the field of communication, can solve the problem of difficult to obtain system code information

Inactive Publication Date: 2012-05-30
ZTE CORP
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method and device for viewing code information when the system is abnormal, so as to solve the problem in the prior art that it is difficult to obtain code information when the system is abnormal

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 viewing code information in system abnormality
  • Method and device for viewing code information in system abnormality
  • Method and device for viewing code information in system abnormality

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to solve the problem in the prior art that it is difficult to obtain code information when the system is abnormal, the present invention provides a method and device for viewing code information when the system is abnormal. The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] Such as figure 1 As shown, the embodiment of the present invention relates to a method for viewing code information when the system is abnormal, including the following steps:

[0046] Step S101, setting a reserved memory area in the physical memory that is not used and allocated by the system, wherein the reserved memory area includes a real-time recording area and a backup recording area;

[0047] In this step, when the system is started, a piece of memor...

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 and device for viewing code information in system abnormality. The method comprises the following steps of: setting a reserved memory area in a physical memory, wherein the reserved memory area is not used and allocated by a system and comprises a real-time recording area and a backup recording area; recording code information in the real-time recording area in real time when the system is in operation; and when the system is in abnormality and is restarted, copying the code information of the real-time recording area to the backup recording area, and viewing the code information when the system is in abnormality through acquiring the code information in the backup recording area. According to the method, the code information is recorded in real time when the system is in operation, the code information which is recorded in real time is copied to the backup recording area for viewing when the system is in abnormality and is restarted, and then, the site code information in system failure is obtained, and a basis is provided for an analyst to analyze the system failure and contributes to the quick solution of the failure.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for viewing code information when a system is abnormal. Background technique [0002] System software failure has always been one of the main failures in the field of communication technology. When the system software fails, developers often need to analyze the code information before the system error to determine the cause of the failure. Therefore, obtaining the code information before the system error becomes one of the very important steps. [0003] For embedded devices, for example, embedded gateways; limited by the limited resources of embedded gateway devices, it is difficult to transplant some powerful debugging tools, such as GDB and other tools, to embedded devices. Moreover, many codes are optimized by the compiler so that the program size can be reduced as much as possible. The result of optimization makes it difficult to diagnose the soft...

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/14
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