Dead halt processing method and system, intelligent equipment and storage medium
A processing method and storage medium technology, which is applied in the field of system debugging, can solve problems such as RTOS systems cannot package abnormal data, and achieve the effect of improving repair efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0057] Example 1
[0058] An embodiment of the invention, such as figure 1 As shown, a crash processing method, including the steps:
[0059] S100 presets an exception information storage area in the system.
[0060] Specifically, the RTOS system includes a Threadx RTOS system, which uses a memory space in each process. When running, each process is assigned a different memory space, and the thread is not the CPU, the system does not assign threads. Memory, resources used by thread come from the resources of its process, and only resources can only be shared between thread groups. In Threadx RTOS, only one program is running, you can see only one process, this process contains multiple threads.
[0061] Due to the characteristics of the hierarchical classification in the Threadx RTOS system, making the system-based function smart device unable to deposit the abnormal data to the Logger log system, and upload it to the background person after compression.
[0062] When the S200 is cra
Example Embodiment
[0069] Example 2
[0070] Based on a crash treatment method based on the foregoing Example 1, such as figure 2 As shown in step S200, the abnormal field information is stored to the abnormal information storage area when the system occurs during the system, and includes:
[0071] When the data is detected in the system, the S500 extracts the abnormal field information.
[0072] Specifically, data abnormality includes a stack overflow problem, the application crashes in the interrupt function, and some of these issues can result in functional smart devices into the dead state, and some will be based on the software or hardware of the intelligent device for the RTOS system.
[0073] Among them, when the functional smart device is run, multiple data exceptions may occur, and the abnormal live information is extracted each time the data exception occurs.
[0074] After the data exception occurs, it is determined whether the system enters the dead state, and if the dead state is entered,
Example Embodiment
[0076] Example 3
[0077] A crash treatment method based on any of the preceding embodiments 1 to 2, such as image 3 As shown, after the system is dead, the S300 detects whether there is abnormal field information in the abnormal information storage area when the system is started.
[0078] The S600 saves the data head of the abnormal field information to the abnormal field information to the exception information store.
[0079] Specifically, the data header of the abnormal field information includes data length, data exception type, and data length of abnormal field information.
[0080] The data exception type includes underlying data exception, application data exception, other data abnormal problems, and more.
[0081] Preferably, after the data head and abnormal field information of the abnormal field information are stored to the preset abnormal information storage area and transmitted to the server, the background person can initially determine the cause of the crash accordin
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap