Method and system for processing abnormal task in computer application system adopting embedded operating system

A technology of application system and operating system, which is applied in the field of abnormal task processing, can solve the problems that the system loses working ability and cannot meet the processing of abnormal tasks well, so as to improve the efficiency of R&D work, provide error correction capabilities, and shorten the R&D cycle Effect

Active Publication Date: 2011-08-03
EASTERN COMM
View PDF13 Cites 44 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] For the two methods of infinite loop detection and abnormal task function under the restart of the recording system, the simple superimposed use cannot satisfy the processing of abnormal tasks under the embedded operating system, because in many important software application systems, such as In communication systems, power applications and testing, and software systems involving safety and control, in order to avoid system incapacity due to program errors, the exception handling method must not only be able to ensure the detection of abnormal tasks in the event of an infinite loop or system restart , positioning, and when a serious abnormal task is detected, it must be able to actively trigger the system to restart and output an alarm message. At the same time, it must also ensure that the original services provided by the system must be able to continue to operate without interruption

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 system for processing abnormal task in computer application system adopting embedded operating system
  • Method and system for processing abnormal task in computer application system adopting embedded operating system
  • Method and system for processing abnormal task in computer application system adopting embedded operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] In order to fully understand the technical content of the present invention, specific embodiments are given below, and the technical solutions of the present invention are introduced and explained in detail in conjunction with the accompanying drawings.

[0064] The composition of the exception task processing system is as follows: figure 1 As shown, it consists of a task status table 101, a capture module 102, a detection module 103, an abnormal information memory area 104, a record query module 105 and a processing module 106, wherein the detection module 103 includes a global counter 1031, and the processing module 106 includes a gatekeeper Dog Timer 1061.

[0065] The task status table 101 includes all tasks currently created and executed by the computer application system, including task number, task name, task priority, task status and task execution flag. With the creation and execution of tasks, the task status table receives system task information for regular...

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 provides a method for processing an abnormal task in a computer application system adopting an embedded operating system; and an application system based on main and standby redundancy configuration of a hardware platform is adopted. The method comprises steps executed by a process of initializing the computer application system, a process of updating a task state table, a process of capturing the abnormal task, a process of detecting a closed loop, a process of processing the abnormal task and a process of checking system restart. The invention also provides a system for processing the abnormal task in the computer application system adopting the embedded operating system; and the system comprises a detecting module, a capturing module, a record inquiring module, a task state table, an abnormal information memory region and a processing module. By the method and the system, the stable working capability of the computer application system is guaranteed, the abnormal taskof a closed loop or automatic restart can be detected and recorded, the error correcting capability of the computer application system is provided in large scale, and the controllability of a development process of the computer application system can be improved.

Description

technical field [0001] The invention belongs to the technical field of task management of computer operating systems, and mainly relates to a method and system for realizing abnormal task processing of an embedded operating system. Background technique [0002] In the process of developing embedded software, task tracking and monitoring have always been the focus and difficulty of embedded operating system task management, and it is also a key factor affecting an embedded software development cycle. [0003] During the entire software development process, sometimes when a task is processing a message, due to various reasons, such as array subscript out of bounds, access to null pointer, etc., illegal instructions will be executed, causing the operating system to fail to run normally. For such tasks that go wrong, we call them abnormal tasks. The most common manifestation of abnormal tasks is an infinite loop, that is, an error occurs when a task processes a message, and the...

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 EASTERN COMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products