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

High-real-time concurrent testing method based on multi-task mechanism of VxWorks system

A test method and multi-task technology, applied in the field of high real-time concurrent testing, to achieve the effect of ensuring accuracy, ensuring concurrency, and reducing the running cycle

Active Publication Date: 2014-06-25
BEIHANG UNIV
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] At present, there are no relevant reports in domestic and foreign literature

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
  • High-real-time concurrent testing method based on multi-task mechanism of VxWorks system
  • High-real-time concurrent testing method based on multi-task mechanism of VxWorks system
  • High-real-time concurrent testing method based on multi-task mechanism of VxWorks system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034]In order to better introduce the method of the present invention, at first a brief introduction is made to the multitasking mechanism of the VxWorks system.

[0035] The basic program unit of the VxWorks system is a task, and multiple tasks can be executed simultaneously to complete program functions together. Each task can have multiple states, and there are four basic states: Ready, Pend, Sleep, and Delay. The present invention mainly relates to two states: ready state and suspended state. After calling the VxWorks system function taskSpawn() to create a task, the task is in the ready state. If the task needs to wait for some unavailable resources, such as semaphores, it is in the suspended state.

[0036] The scheduling mechanism of the VxWorks system is based on priority preemption. Under this mechanism, each task in the system has a priority, from 0 to 255, with 0 being the highest and 255 being the lowest. For application layer tasks, generally use a priority be...

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 relates to a high-real-time concurrent testing method based on a multi-task mechanism of VxWorks system. The method comprises the following achieving steps that test tasks are planed according to a test case, a task attribute is configured for each test task, the task attribute comprises a task name, a task period, a task priority, starting time and finishing time; the tasks and semaphores corresponding to the tasks are established; a timer is registered for multi-task dispatching, and a task information table is established. According to the high-real-time concurrent testing method based on the multi-task mechanism of the VxWorks system, calculation, logic processing and interaction with the tested system can be completed in determined time, and the multiple concurrent test tasks can be completed in the same time period, so that high-real-time concurrent test requirement of embedded software is met.

Description

technical field [0001] The invention relates to a high real-time concurrent testing method based on the multitasking mechanism of a VxWorks system, belonging to the field of embedded software testing. Background technique [0002] Embedded software is more and more widely used in national defense, industrial control, medical and other fields because of its features such as tailoring, high reliability, and good confidentiality. With the deepening of applications, embedded software is increasingly showing the characteristics of high real-time and high concurrency, and usually embedded software has relatively high requirements for reliability and must be fully tested. [0003] Embedded software testing is generally divided into the following types: functional testing, performance testing, security testing, interface testing and so on. Among them, the core is functional and performance testing. Functional testing requires verifying whether the software under test implements th...

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/36
Inventor 杨顺昆刘斌司维
Owner BEIHANG UNIV
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