Unlock instant, AI-driven research and patent intelligence for your innovation.

Abnormality processing method and apparatus

An exception handling and exception technology, applied in the field of communication, to achieve the effect of reducing capacity requirements and improving efficiency

Active Publication Date: 2018-01-19
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides an exception handling method and device to at least solve the problem in the related art that the memory dump information requires a large-capacity non-volatile memory in the way of memory dump 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
  • Abnormality processing method and apparatus
  • Abnormality processing method and apparatus
  • Abnormality processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] The method embodiment provided in Embodiment 1 of the present application may be executed in an embedded device or a similar computing device. Taking running on an embedded device as an example, figure 1 It is a block diagram of the hardware structure of an embedded device of an exception handling method in the embodiment of the present invention. Such as figure 1 As shown, the embedded device 10 may include one or more (only one is shown in the figure) processors 102 (the processors 102 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA, etc.), A memory 104 for storing data, and a transmission device 106 for communication functions. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and it does not limit the structure of the above-mentioned electronic device. For example, embedded device 10 may also include figure 1 more or fewer components than ...

Embodiment 2

[0072] In this embodiment, an exception processing device is also provided, which is used to implement the above embodiments and preferred implementation modes, and those that have been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0073] Figure 5 is the structural frame of the exception handling device according to the embodiment of the present invention Figure 1 ,Such as Figure 5 As shown, the device includes: a first determining module 52 , a reading module 54 , a first sending module 56 and / or a saving module 58 . The device will be described below.

[0074] The first determining module 52 is used to determine the memory address range that needs to b...

Embodiment 3

[0087] The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

[0088] S1, according to the exception context information of the system exception, determine the memory address range that needs to be dumped in the system memory;

[0089] S2, reading the memory data corresponding to the determined memory address range;

[0090] S3. Send the read memory data to one or more non-volatile memories, and / or save the read memory data to the reserved memory of the single board or processing unit where the exception is located.

[0091] Optionally, the storage medium is also configured to store program codes for performing the following steps:

[0092] According to the exception context information of the system exception, determine the memory address range that the system memory needs to dump includes:

[0093] S1, judging whether th...

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 provides an abnormality processing method and apparatus. The method comprises: according to abnormal context information of a system, determining a memory address range that needs to be dumped in the memory of the system; reading memory data corresponding to the determined memory address range; and sending the read memory data to one or more non-volatile memories, and / or saving the read memory data to a reserved memory of a board or of a processing unit where the abnormality is located. According to the method and apparatus provided by the present invention, the problem that when the system is abnormal, in the memory dumping method in the related art, a large-capacity non-volatile memory is required for the memory dumping information is solved, and the effect of improving the efficiency of memory dump in case of abnormality is achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular, to an exception handling method and device. Background technique [0002] In the field of embedded systems, exception handling is an important supporting module. Since embedded devices have very high requirements for performance and timeliness of fault recovery, exception handling must be rapid and accurate, so that the normal state of the device can be restored in time. [0003] In the exception handling of the operating system, an important part is to save the information of the exception site, especially the context information of the process or thread. When locating an exception, sometimes more exception-related memory information is needed, but when a single board or a processing unit restarts due to an exception, other required memory information cannot be obtained. [0004] The operating system generally provides the function of memory dump when an exception occurs. The c...

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/07
CPCG06F11/34
Inventor 王刚宿安心周祥娟
Owner ZTE CORP