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

Task hung-state monitoring method in realtime operation system

A real-time operating system and state monitoring technology, applied in instruments, multi-programming devices, electrical digital data processing, etc., can solve problems such as task suspension and cannot be known in real time, and achieve the effect of ensuring normal work.

Inactive Publication Date: 2006-11-01
HUAWEI TECH CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] The present invention provides a method for monitoring task suspension status in a real-time operating system, which is used to solve the problem in the prior art that the task cannot be known in real time when the task is suspended

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
  • Task hung-state monitoring method in realtime operation system
  • Task hung-state monitoring method in realtime operation system
  • Task hung-state monitoring method in realtime operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0056] Embodiment 2: The system time and dog clearing operations are used to monitor the task suspension status.

[0057] In the second embodiment, a "task overtime schedule" needs to be set in the system in advance, and the startup task and its corresponding overtime time are stored in the "task overtime schedule", Figure 4 The flow chart of task execution in Embodiment 2 includes the following steps:

[0058] Step S41, the operating system schedules the task and starts the operation of the task;

[0059] Step S42, if the task is an important task or it is necessary to monitor the running status of the task, then set the running status of the task as "start monitoring"; the specific setting method is as described above;

[0060] Step S43, if you choose to monitor the task, then calculate the overtime of the task; the specific calculation method is: task overtime = current system time + task execution time + reserved time margin; and store the calculation result in In the "...

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

A method for monitoring suspended state of task in real time operation system includes confirming overtime period of task according to starting up time and execution time of task when task to be monitored is started up, confirming that abnormality is occurred on the task and it is suspended by system if overtime of task to be monitored is judged out when dog-clear operation is executed on system.

Description

technical field [0001] The invention relates to a real-time system, in particular to the monitoring and processing of task running status in a real-time multi-task operating system. Background technique [0002] A real-time system refers to a computer system that can perform its functions within a certain time and respond to external asynchronous events. Real-time systems are generally used in communication, industrial control and other fields. A real-time operating system (RTOS) is the most critical component of a real-time system. It usually forms a real-time system together with a specific central processing unit (CPU) and peripherals. [0003] Currently widely used real-time operating systems are multi-task operating systems, which allow multiple real-time applications to run as a series of independent tasks. From the perspective of the system, a task is the smallest operating unit that competes for system resources. A task can use or wait for system resources such as 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/36G06F9/46G06F11/00
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