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

Method for detecting task exception in VxWorks starting process

A technology of vxworks and start-up process, which is applied in error detection/correction, error detection of redundant data in operation, generation of response error, etc. It can solve problems such as prone to abnormality, strong randomness, and poor reproducibility , to achieve the effect of convenient and fast positioning, simple method and accelerated progress

Active Publication Date: 2016-05-18
NANJING GUODIAN NANZI POWER GRID AUTOMATION
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is precisely because of these characteristics that any task in the system can access any address in the entire memory linear space without any constraints and protection. If the code is not well written during the development process, exceptions are prone to occur
Moreover, these systems are relatively complex, and some even have as many as dozens of tasks running at the same time, and basically they are all collaboratively developed by multiple people. the greater the cost
At present, the emergence of abnormal tasks is not predictable. It has the characteristics of less debugging information, strong randomness, poor reproducibility, and difficulty in locating problems. system crash

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 for detecting task exception in VxWorks starting process
  • Method for detecting task exception in VxWorks starting process
  • Method for detecting task exception in VxWorks starting process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further described below in conjunction with the drawings. The following embodiments are only used to explain the technical solutions of the present invention more clearly, and cannot be used to limit the protection scope of the present invention.

[0024] Such as Figure 2-5 As shown, a VxWorks startup process task abnormality detection method includes the following steps:

[0025] Step 1: Define a global variable M as the status word, and initialize the status word M;

[0026] Such as figure 2 As shown, define a 4-byte unsigned integer global variable M as the status word, 32 bits, the value corresponding to each bit of the status word M is "1" or "0" to indicate that each task is "normal" or " Abnormal", the status word M is initialized to 0.

[0027] Step 2: Define a unique digital identifier for each task according to the digits of the status word M, so that each of the status words M corresponds to a task, and each value represents the stat...

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 detecting the task exception in a VxWorks starting process and belongs to the technical field of embedded operating systems. The method comprises the following steps: firstly, defining a global variable M as a status word, initializing the status word M, defining a unique digital identifier for each task to enable each bit of the status word M to correspond to a task, wherein the numerical value of each bit represents status information of the task; starting a VxWorks and initializing each task, starting timing while starting and updating the numerical values of corresponding bits of the status word M according to the executive situation in the task initializing process; and detecting the numerical values of the status word M after the starting is completed and judging whether the task is exceptional or not according to the status information. The method provided by the invention is simple and has the advantages that exceptional tasks in the VxWorks starting process can be conveniently and rapidly positioned to provide help for the positioning and the solving of problems, so that the product development process is sped up.

Description

Technical field [0001] The invention relates to a task abnormality detection method of an embedded operating system, in particular to a task abnormality detection method of a VxWorks startup process, and belongs to the technical field of embedded operating systems. Background technique [0002] VxWorks is an embedded real-time operating system (RTOS) launched in 1983 by WindRiverSystem of the United States (WRS company, referred to as Wind River). It is a key component of the embedded development environment and has good sustainable development capabilities and high performance. The kernel and friendly user development environment occupy a place in the field of embedded real-time operating systems. With its good reliability and excellent real-time performance, VxWorks is widely used in high-precision technology and real-time requirements such as communications, military, aviation, aerospace, etc., such as satellite communications, military exercises, ballistic guidance, aircraft ...

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
IPC IPC(8): G06F11/14
CPCG06F11/1417
Inventor 梁志宝
Owner NANJING GUODIAN NANZI POWER GRID AUTOMATION