A method for realizing inter-partition communication of an embedded partition operation system

A partitioned operating system and inter-partition communication technology, applied in the direction of inter-program communication, multi-program device, etc., can solve the problems of large memory overhead and low communication efficiency, reduce space overhead, ensure safety redundancy, and improve real-time performance effect on safety

Active Publication Date: 2019-05-28
NORTHWESTERN POLYTECHNICAL UNIV
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the deficiencies of the prior art, the lock or critical section implementation of the traditional channel-port communication mechanism and the literature "A partition based on an embedded operating system The method proposed in "Communication Method and Device" has the shortcomings of large memory overhead and low communication efficiency. The present invention proposes a lock-free and configurable partition communication implementation method, based on a lock-free ring channel cache, and using conditional compilation to configure partitions communication

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
  • A method for realizing inter-partition communication of an embedded partition operation system
  • A method for realizing inter-partition communication of an embedded partition operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0054] The channel buffer based on the ring queue can realize the lock-free communication of one writer / one reader without relying on hardware, or realize the lock-free communication of multiple writers / multiple readers on the hardware platform that supports Compare And Swap atomic operation, referred to as CAS operation. lock communication. Using a lock-free channel cache optimizes real-time operating system performance, improves security, and simplifies testing and verification of partitioned operating systems.

[0055] When configuring the user channel cache, the channel cache is defined in the user partition space. If a task wants to construct and send a message, it can operate on the channel cache in the user partition space without switching the kernel state, eliminating the need for the user partition space to channel cache one copy.

[0056] W...

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 realizing inter-partition communication of an embedded partition operation system. The method is based on lock-free annular channel caching. By means of conditionalcompilation, partition communication is configured, when a user channel cache is configured and used, the channel cache is defined in the user partition space, if a task needs to construct and send amessage, the channel cache operation in the user partition space can be carried out without switching a kernel mode, and one-time copying of the user partition space to the channel cache is omitted.According to the invention, channel buffering based on the annular queue is adopted; the lockless communication of one writer / at least one reader can be realized without relying on hardware; or lock-free communication of a plurality of writers / readers is realized on a hardware platform supporting CAS operation; the real-time performance and safety of the operating system are improved, the verification and test expenditure of the operating system is optimized, meanwhile, two memory optimized conditional compilation configuration options are provided, two times of copying are reduced compared with a traditional implementation mode after starting, and the space expenditure of communication is greatly reduced.

Description

technical field [0001] The invention relates to the field of embedded operation, in particular to a realization method of inter-partition communication conforming to the ARINC-653 standard. Background technique [0002] The inter-partition communication conforming to the ARINC-653 standard is different from the traditional inter-process communication. The inter-partition mainly relies on the communication mechanism of channels and ports, and the operating system is responsible for managing the receiving and sending of messages. A channel is a map of partitions to partitions. Channels and ports are defined during system configuration, and all partition communication is carried by messages via channels and ports. [0003] The traditional channel-port implementation needs to lock or enter the critical section when the operating system reads and writes the channel cache to ensure that there will be no concurrent security issues. However, using locks or critical sections will af...

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
CPCY02D10/00
Inventor 朱怡安欧阳湘臻史先琛
Owner NORTHWESTERN POLYTECHNICAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products