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

Compatible method, module and channel system of VxWorks system

A technology of road system and interactive modules, applied in the field of embedded operating systems, can solve problems such as different results, different input parameters and output parameters, and software failure

Active Publication Date: 2018-06-29
KYLAND TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the field of embedded operating systems, although developers develop operating systems based on the POSIX (Portable Operating System Interface of UNIX) standard, due to differences in the interpretation of the POSIX standard, even if the software is written according to the POSIX standard However, there may still be problems with different input parameters and output parameters set for different operating systems, resulting in different results displayed by the operating system
[0003] Therefore, the software developed for the VxWorks system at this stage cannot run on the Tao system. If users who use the software developed based on the VxWorks system are to be smoothly migrated to the Tao system, it is urgent to solve the problem between the Tao system and the software developed based on the VxWorks system. Compatibility problems

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
  • Compatible method, module and channel system of VxWorks system
  • Compatible method, module and channel system of VxWorks system
  • Compatible method, module and channel system of VxWorks system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] see figure 1 , a compatible method of VxWorks system is provided in the first embodiment of the present invention, which is applied to the Dao system, and the method includes:

[0066] S110, receiving the first parameter sent by the Vxworks system; wherein, the first parameter is generated according to a user trigger operation received by the software based on the VxWorks system.

[0067] S120. Convert the received first parameter into a second parameter required by calling an interface in the channel system for performing user-triggered operations.

[0068] S130. According to the second parameter, call an interface in the system kernel for performing the user-triggered operation.

[0069] Before step S110, the method also includes:

[0070] Determine whether it is currently in the interrupt context; if not, create a control block structure for storing the first parameter.

[0071] After step S110, the method also includes:

[0072] Store the received first paramete...

Embodiment 2

[0088] Embodiment 2 of the present invention provides an interaction method between the VxWorks compatibility layer and the task management module of the Tao system, wherein the interaction method specifically includes: a method for creating and starting a task, a method for deleting a task, a method for restarting a task, and applying protection to a task And the method of releasing the protection, the method of modifying the priority of the task, and the method of delaying the task.

[0089] Specifically, see Figure 2a , the VxWorks compatibility layer creates and starts the task method in the system, including:

[0090] S210, judging whether it is currently in the interrupt context; if not, creating a task control block structure and allocating the stack space required to execute the task; wherein, the task control block structure is required for storing the creation task generated by the VxWorks system parameters.

[0091] S211. Receive the parameters generated by the V...

Embodiment 3

[0119] Embodiment 3 of the present invention provides a method for interacting between the VxWorks compatibility layer and the inter-task communication module of the channel system through a semaphore, wherein the interaction method specifically includes: creating a semaphore, deleting a semaphore, acquiring a semaphore, releasing a semaphore, and releasing a semaphore. A task that blocks on a semaphore.

[0120] Specifically, see Figure 3a , the VxWorks compatibility layer creates a semaphore method in the channel system, including:

[0121] S310, judging whether it is currently in the interrupt context; if not, receiving the parameters for creating the semaphore generated by the VxWorks system, i.e. the first semaphore parameter.

[0122] S311. Convert the first semaphore parameter into a second semaphore parameter required by an interface for creating a semaphore in the channel system.

[0123] S312. Call the interface for creating the semaphore of the system kernel, and...

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 compatible method, module and channel system of a VxWorks system. The compatible method, module and channel system of the VxWorks system are used for achieving that software developed based on the VxWorks system can also be run on the channel system, the difficulty when the VxWorks system is migrated to the channel system is reduced, and the learning cost of migration users is also reduced. The compatible method includes the steps that a first parameter generated by the VxWorks system is received, wherein the first parameter is generated according to user triggering operation received based on the software of the VxWorks system; the received first parameter is converted into a second parameter required by an interface for carrying out the user triggering operationand called in the channel system; according to the second parameter, the interface for carrying out the user triggering operation in a kernel of the channel system is called.

Description

technical field [0001] The invention relates to the technical field of embedded operating systems, in particular to a compatible method, module and system of a VxWorks system. Background technique [0002] In the field of embedded operating systems, although developers develop operating systems based on the POSIX (Portable Operating System Interface of UNIX) standard, due to differences in the interpretation of the POSIX standard, even if the software is written according to the POSIX standard However, there may still be a problem that the input parameters and output parameters set for different operating systems are different, resulting in different results displayed by the operating system. [0003] Therefore, the software developed for the VxWorks system cannot run on the Dao system at this stage. If users who use the software developed based on the VxWorks system are to be smoothly migrated to the Dao system, it is urgent to solve the problem between the Dao system and t...

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): G06F9/54
CPCG06F9/541G06F9/545G06F9/546
Inventor 陈辉戴凯
Owner KYLAND 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