A software architecture for an electromechanical core processor based on the ARINC653 specification

Through the electromechanical core processor software architecture based on the ARINC653 specification, decoupled partition design and standardized interfaces, the problem of strong coupling between traditional electromechanical system software and hardware is solved, achieving software scalability, ease of portability and ease of maintenance, and reducing development and maintenance costs.

CN114489584BActive Publication Date: 2024-09-06XIAN AIRCRAFT DESIGN INST OF AVIATION IND OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111672735.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-06
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Traditional electromechanical system software lacks a unified software architecture, resulting in strong coupling between software and hardware, large impact of changes, and high maintenance costs. In addition, due to differences in hardware equipment and operating systems, software lacks inheritance, increasing development costs and cycles.

Method used

Adopting the electromechanical core processor software architecture based on the ARINC653 specification, through the decoupling design of the functional application layer, IO data service layer, operating system layer and driver support layer, the independence and standardized interfaces between each partition are achieved, and configuration files are used for Data exchange and communication support modularity, network independence and platform independence, improving software scalability, portability and maintenance.

Benefits of technology

It achieves effective isolation of application software and hardware systems, reduces the workload of software designers, improves the reusability and portability of the system, reduces maintenance costs, supports independent development, loading and testing of software, and enhances the system adaptability and freedom.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114489584B
    Figure CN114489584B
Patent Text Reader

Abstract

The present application belongs to the technical field of software architecture design, and is a software architecture of an electromechanical core processor based on the ARINC653 specification, including a functional application layer, an IO data service layer, an operating system layer and a driver support layer. Through this decoupling method, the functions of each partition are independent of each other, supporting the effective isolation of application software and hardware systems, and realizing the network independence and platform independence of the application function layer through a standard operation interface; standard interfaces are defined between different levels of the software system to realize software extensibility, easy transplantation and easy maintenance; configuration files and software components supporting configuration are used to realize the reception and transmission of bus data, and all internal and external data exchanges are maintained through configuration files to realize the decoupling of bus data reception and transmission software and interface control files; the application layer is partitioned according to function, and the partitions are independent of each other. The software of each partition is independently developed, loaded and tested, and can be expanded as needed, with high freedom and strong adaptability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of software architecture design, and in particular, relates to a software architecture of an electromechanical core processor based on the ARINC653 specification. Background Art

[0002] The aircraft electromechanical system includes dozens of subsystems such as power system, fuel system, hydraulic system, landing gear system, environmental control system, etc. Modern aircraft adopts distributed architecture combined with electromechanical system integrated control management technology, and realizes the integrated control of electromechanical systems through regional controllers combined with large closed-loop core control. The electromechanical core processor is the electromechanical integrated control core, responsible for realizing the integrated control, display, alarm, integrated management, bus service, status monitoring and other functions of the electromechanical system.

[0003] Traditional electromechanical system software does not have a unified software architecture. There is a very strong coupling relationship between application software and hardware, operating system and underlying software. Software changes and upgrades have a wide impact and high maintenance costs. In addition, due to the different selection of hardware devices and operating systems between different models, electromechanical core processing software often has no inheritance and needs to be developed from scratch, which greatly increases the workload of software designers. With the highly integrated design requirements of electromechanical system management, the scale of electromechanical core processor software is increasing. It is very necessary to design an open and modular software architecture to reduce the development cost and cycle of system software by improving the reusability and portability of system software. Summary of the invention

[0004] The purpose of this application is to provide a mechatronic core processor software architecture based on the ARINC653 specification to solve the problems in the prior art of strong coupling between software and hardware, large impact of changes, and high maintenance costs.

[0005] The technical solution of the present application is: a software architecture of an electromechanical core processor based on the ARINC653 specification, including a functional application layer residing in the application layer, which is used to realize the control, alarm and display function logic solution of each electromechanical system; an IO data service layer residing in the application layer, which is provided with a configuration file module, which is used to realize inter-partition communication and external data communication based on a configuration table-driven software development method; an operating system layer including a core operating system and a partition operating system; the core operating system resides in the core layer, which is used to manage hardware resource access, partition resource management and partition scheduling; the partition operation resides in each partition, which is used to provide an operating system functional structure to the upper layer, realize task scheduling, memory management, synchronization and mutual exclusion operations; a driver support layer resides in the core operating system, which is used to adapt the underlying hardware driver, provide a unified external data communication interface to the IO data service layer, and provide interface definition software to the IO data service layer; the functions between any two partitions in the functional application layer, IO data service layer, operating system layer and driver support layer are decoupled.

[0006] Preferably, a plurality of system function partitions are arranged in the functional application layer, and the functions executed in each system function partition are different. The control, alarm and display function logic solving functions of each electromechanical system are arranged in different system function partitions respectively.

[0007] Preferably, the partition operating system arranged in the functional application layer is provided with a time isolation module and a space isolation module. The time isolation module can perform time isolation on different system functional partitions, and the space isolation module can perform space isolation on different system functional partitions. The functional application layer is provided with a function expansion unit, and the function expansion unit can add new system functional partitions.

[0008] Preferably, the IO data service layer includes an interface configuration module and a message encapsulation module. Different types of interface configuration files are stored in the interface configuration module. The software located in the IO data service layer calls the corresponding configuration file into the corresponding interface according to the information contained in different messages, so as to realize the connection between the IO data service layer and the corresponding one; the message encapsulation module can encapsulate the message format defined in the bus interface control file and convert it into an application layer data structure, establish the software interface data structure definition of each functional partition according to the partition attributes of the message in the configuration file, and distribute the data to the corresponding system functional partition through the inter-partition communication interface.

[0009] Preferably, the core operating system includes a partition management module, a process management module, a time management module, a communication management module and a health management module; the partition management module is used for the management and scheduling of each partition, the process management module is used for the message process management of each partition, the time management module is used for the time synchronization of the functional application layer, the IO data service layer, the operating system layer and the driver support layer, the communication management module is used for the management and retrieval of communications of each partition, and the health management module is used for the health monitoring of each partition.

[0010] Preferably, the driver support layer includes a bus driver module and a hardware driver module; the bus driver module is used to provide bus driver and device driver management interface functions to achieve external communication of the device; the hardware driver module is used to adapt the underlying hardware driver for use by the software of the functional application layer.

[0011] The present application discloses an electromechanical core processor software architecture based on ARINC653 specification, including a functional application layer, an IO data service layer, an operating system layer and a driver support layer. Through this decoupling method, the functions of each partition are independent of each other, supporting the effective isolation of application software and hardware system, and realizing the network independence and platform independence of the application function layer through a standard operation interface; standard interfaces are defined between different layers of the software system to maximize the module reusability and realize the software extensibility, easy transplantation and easy maintenance; bus data reception and transmission are realized by using configuration files and software components supporting configuration, and all internal and external data exchanges are maintained through configuration files based on interface control files, realizing the decoupling of bus data reception and transmission software and interface control files; the application layer is partitioned according to function, and the partitions are independent of each other. The software of each partition is independently developed, loaded and tested, and can be expanded as needed, with high degree of freedom and strong adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solution provided by the present application, the following is a brief introduction to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present application.

[0013] Figure 1 This is a schematic diagram of the overall structure of this application.

[0014] 1. Functional application layer; 2. IO data service layer; 3. Operating system layer; 4. Driver support layer. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solutions and advantages of the implementation of this application clearer, the technical solutions in the embodiments of this application will be described in more detail below in conjunction with the drawings in the embodiments of this application.

[0016] A software architecture of an electromechanical core processor based on ARINC653 specification includes four functional partitions, namely, a functional application layer 1, an IO data service layer 2, an operating system layer 3 and a driver support layer 4. The four functional partitions are decoupled, and communication between any two partitions is achieved by calling corresponding configuration files, so that the functional partitions do not interfere with each other during operation, thereby improving the operation efficiency.

[0017] Functional application layer 1 resides in the application layer, and is used to implement the control, alarm, and display function logic solutions of each electromechanical system; IO data service layer 2 resides in the application layer, and is provided with a configuration file module, which is used to implement inter-partition communication and external data communication based on a configuration table-driven software development method; the operating system layer 3 operating system adopts the domestic Tianmai 2 operating system with time and space partitioning function based on ARINC653, including a care operating system and a partition operating system; the core operating system resides in the core layer, and is used to manage hardware resource access, partition resource management, and partition scheduling; the partition operation resides in each partition, and is used to provide the operating system functional structure to the upper layer to implement task scheduling, memory management, synchronization, and mutual exclusion operations; the driver support layer 4 resides in the core operating system, and is used to adapt the underlying hardware driver, provide a unified external data communication interface to the IO data service layer 2, and provide interface definition software to the IO data service layer 2.

[0018] When not running, the partitions are not connected to each other. When processing an external message, the driver support layer 4 receives external information through the internal bus. The core operating system receives the message content and controls the partition operating system in the IO data service layer 2 to call the corresponding configuration file according to the distinguishing attributes of the message to achieve the connection between the IO data service layer 2 and the driver support layer 4. The bus in the driver support layer 4 sends the data to the IO data service layer 2. The partition operating system calls the configuration file again to achieve the connection between the IO data service layer 2 and the functional application layer 1. The IO data service layer 2 sends the data to the functional application layer 1. The functional application layer 1 receives the message and calls the corresponding software. The operating system layer 3 calls the corresponding hardware to process the information. After the information is processed, it is sent out through the bus. After the information is processed, the partitions are separated again until the next message is processed.

[0019] For data that needs to be sent to the external bus: after completing the functional solution, each system functional partition will update the data to the output interface data structure and send it to the IO data service partition. After receiving the data, the IO data service partition software will complete the message encapsulation according to the interface control file, update the data to the final data structure to be sent and complete the data sending.

[0020] Through this decoupling approach, the functions of each partition are independent of each other, which means modularization is achieved, supporting effective isolation of application software and hardware systems, and achieving network independence and platform independence of the application function layer through standard operating interfaces; standard interfaces are defined between different levels of the software system to maximize module reusability and achieve software scalability, easy portability and easy maintenance; configuration files and software components that support configuration are used to realize bus data reception and transmission, and all internal and external data exchanges are maintained through configuration files based on interface control files, thereby achieving decoupling of bus data reception and transmission software from interface control files; the application layer is partitioned by function, and the partitions are independent of each other. The software of each partition is independently developed, loaded and tested, and can be expanded as needed, with high freedom and strong adaptability.

[0021] At the same time, when a fault occurs in any partition, since the modules do not interfere with each other, it will not affect other partitions, thus achieving fault isolation and convenience of maintenance.

[0022] Preferably, a plurality of system function partitions are arranged in the functional application layer 1, and the functions executed in each system function partition are different. The control, alarm and display function logic solving functions of each electromechanical system are arranged in different system function partitions respectively.

[0023] When processing multiple different messages at the same time, the operating system layer 3 sends different messages to different system functional partitions, and each functional partition runs simultaneously, effectively improving the efficiency of system operation.

[0024] Preferably, the partition operating system arranged in the functional application layer 1 is provided with a time isolation module and a space isolation module. The time isolation module can perform time isolation on different system functional partitions, and the space isolation module can perform space isolation on different system functional partitions. The functional application layer 1 is provided with a function expansion unit, and the function expansion unit can add new system functional partitions.

[0025] By setting up the time isolation module and the space isolation module, it can effectively ensure that each system functional partition will not be disturbed when running simultaneously or separately, and the operation is stable. By setting up the functional expansion unit, the system can be expanded on demand with greater freedom.

[0026] Preferably, the IO data service layer 2 includes an interface configuration module and a message encapsulation module. Different types of interface configuration files are stored in the interface configuration module. The software in the IO data service layer 2 calls the corresponding configuration file into the corresponding interface according to the information contained in different messages, so as to realize the connection between the IO data service layer 2 and the corresponding one.

[0027] The message encapsulation module can encapsulate the message format defined in the bus interface control file and convert it into an application layer data structure. It establishes the software interface data structure definition of each functional partition based on the partition attributes of the message in the configuration file, and distributes the data to the corresponding system functional partition through the inter-partition communication interface.

[0028] By setting up the interface configuration module, for different types of interfaces, the connectivity of the corresponding partitions can be achieved by calling the configuration files, and fast connectivity of multiple communication methods can be achieved through limited interfaces; by setting up the message encapsulation module, the messages only need to be parsed in the system functional partition, and other areas only transmit the encapsulated messages, which greatly improves the efficiency of message transmission.

[0029] Preferably, the core operating system includes a partition management module, a process management module, a time management module, a communication management module and a health management module; the partition management module is used for the management and scheduling of each partition, the process management module is used for the message process management of each partition, the time management module is used for the time synchronization of the functional application layer 1, the IO data service layer 2, the operating system layer 3 and the driver support layer 4, the communication management module is used for the management and retrieval of the communication of each partition, and the health management module is used for the health monitoring of each partition, so that multiple functions are concentrated in the core operating system for centralized management and efficient operation.

[0030] The core operating system, as the manager of the partition, is responsible for the partition management and scheduling, resource allocation and management within the core operating system. Configurable components are functions that can be tailored by the operating system, and users can expand their functions through configuration; the partition operating system resides in each partition, runs in user mode, and provides task scheduling and resource management within the partition. Task scheduling within the partition supports periodic task scheduling and priority-based preemptive task scheduling.

[0031] Preferably, the driver support layer 4 includes a bus driver module and a hardware driver module; the bus driver module is used to provide bus driver and device driver management interface functions, realize external communication of the device, and realize basic functional interfaces including bus initialization, bus data reception, and bus data transmission; the hardware driver module is used to adapt the underlying hardware driver for use by the software of the functional application layer 1, and provide a standard external data communication interface to the IO data service layer 2.

[0032] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A software architecture for electromechanical core processor based on ARINC653 specification, characterized by: include Functional application layer (1) resides in the application layer and is used to implement the control, alarm, and display function logic solutions of various electromechanical systems; The IO data service layer (2) resides in the application layer and is provided with a configuration file module for realizing inter-partition communication and external data communication based on a configuration table driven software development method; The operating system layer (3) includes a core operating system and a partition operating system; the core operating system resides in the core layer and is used to manage hardware resource access, partition resource management and partition scheduling; the partition operation resides in each partition and is used to provide an operating system functional structure to the upper layer to implement task scheduling, memory management, synchronization and mutual exclusion operations; The driver support layer (4) resides in the core operating system and is used to adapt the underlying hardware driver, provide a unified external data communication interface to the IO data service layer (2), and provide interface definition software to the IO data service layer (2); Functional decoupling between any two partitions in the functional application layer (1), IO data service layer (2), operating system layer (3) and driver support layer (4); The IO data service layer (2) comprises an interface configuration module and a message encapsulation module. Different types of interface configuration files are stored in the interface configuration module. The software in the IO data service layer (2) calls the corresponding configuration file into the corresponding interface according to the information contained in different messages, so as to realize the connection between the IO data service layer (2) and the corresponding interface. The message encapsulation module can encapsulate the message format defined in the bus interface control file and convert it into an application layer data structure, establish the software interface data structure definition of each functional partition according to the partition attribute of the message in the configuration file, and distribute the data to the corresponding system functional partition through the inter-partition communication interface; The core operating system includes a partition management module, a process management module, a time management module, a communication management module and a health management module; the partition management module is used for the management and scheduling of each partition, the process management module is used for the message process management of each partition, the time management module is used for the time synchronization of the functional application layer (1), the IO data service layer (2), the operating system layer (3) and the driver support layer (4), the communication management module is used for the management and retrieval of the communication of each partition, and the health management module is used for the health monitoring of each partition; The driver support layer (4) includes a bus driver module and a hardware driver module; The bus driver module is used to provide bus driver and device driver management interface functions to achieve external communication of the device; The hardware driver module is used to adapt the underlying hardware driver for use by the software of the functional application layer (1).

2. The electromechanical core processor software architecture based on the ARINC653 specification as claimed in claim 1, characterized in that: The functional application layer (1) is provided with a plurality of system functional partitions, each of which performs different functions, and the control, alarm and display function logic solving functions of each electromechanical system are respectively arranged in different system functional partitions.

3. The electromechanical core processor software architecture based on the ARINC653 specification as claimed in claim 2, characterized in that: The partition operating system arranged in the functional application layer (1) is provided with a time isolation module and a space isolation module, wherein the time isolation module can perform time isolation on different system functional partitions, and the space isolation module can perform space isolation on different system functional partitions; The functional application layer (1) is provided with a functional expansion unit, and the functional expansion unit is capable of adding a new system functional partition.