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

Packaging method based on VxWorks real-time operating system

A technology of real-time operating system and encapsulation method, which is applied in the direction of multi-program device, inter-program communication, instrument, etc., can solve the problems of low processing efficiency of processing functions, low efficiency of message transmission between tasks, unfavorable message integrity, etc., to improve Convenience, saving memory space, and improving transmission efficiency

Pending Publication Date: 2021-11-05
TIANJIN JINHANG COMP TECH RES INST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Disadvantages of the traditional design method: the waste of memory space is relatively large, and the efficiency of message transmission between tasks is relatively low. When multiple types of data are transmitted between two tasks, the content of the message type needs to be added to the data content, which is not conducive to Guarantees the integrity of the entire message
, at the same time, when the types of messages received increase, the processing efficiency of the processing functions decreases with the increase of message processing functions

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
  • Packaging method based on VxWorks real-time operating system
  • Packaging method based on VxWorks real-time operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The present invention will be further elaborated below in conjunction with the accompanying drawings.

[0048] In order to solve the problem of developing programs more efficiently under the real-time operating system VxWorks, the present invention further encapsulates the tasks and message queues of the real-time operating system, allowing the two to be more tightly coupled, so that development on the real-time operating system does not need to call the system The underlying operation configuration function performs cumbersome configuration. After the VxWorks real-time operating system is packaged according to the method of the present invention, the packaged framework is directly called for subsequent development, which improves efficiency and ensures the safety of the operating system.

[0049] combine figure 1 , the concrete realization method of the present invention is as follows:

[0050] S1: Design the message queue management structure Queue_STRU to manage th...

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 discloses a packaging method based on a VxWorks real-time operating system. The packaging method comprises the following steps: firstly, designing a message queue management structural body; then defining a global array management message, wherein an array element is a message queue management structural body; in a message queue sending function, applying a pointer variable for a message queue management structural body, so that a space is applied for message content to be transmitted; assigning a value to a pointer variable of the message queue management structural body; sending out the message queue management structural body through an operation system message queue sending function, and releasing the space of a pointer variable of the message queue management structural body; and associating the sending thread and the receiving thread of the message, obtaining the received message queue management structural body in the receiving thread, analyzing and processing the content of the message queue management structural body, and completing packaging. According to the method, the task and the message queue of the real-time operating system are further packaged, and the packaged framework is directly called subsequently for development, so that the efficiency is improved, and the safety of the operating system is ensured.

Description

technical field [0001] The invention belongs to the field of computer operating systems, and relates to a packaging method based on a VxWorks real-time operating system. Background technique [0002] A real-time operating system is an operating system based on task priority. Tasks and message queues are two core features of real-time operating systems. Data transmission between tasks is usually completed using operating system message queues, and the two are usually closely combined. [0003] The real-time operating system is an operating system based on task priority. During the operation of the system, message transmission between tasks is often required, and the length of the message is generally not fixed. The traditional method is to create the message queue message The length value is set to be very large. In addition, apply for a large enough array variable to temporarily store the message to be sent, or define message queues of different lengths in different tasks, a...

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/546G06F2209/548
Inventor 王雨龙
Owner TIANJIN JINHANG COMP TECH RES INST
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