CN109684148B - Airborne embedded software virtual bus communication construction method based on ARINC653 - Google Patents

Airborne embedded software virtual bus communication construction method based on ARINC653 Download PDF

Info

Publication number
CN109684148B
CN109684148B CN201811322049.3A CN201811322049A CN109684148B CN 109684148 B CN109684148 B CN 109684148B CN 201811322049 A CN201811322049 A CN 201811322049A CN 109684148 B CN109684148 B CN 109684148B
Authority
CN
China
Prior art keywords
communication
embedded software
partition
port
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811322049.3A
Other languages
Chinese (zh)
Other versions
CN109684148A (en
Inventor
刘祎理
谢前国
高向征
邢蔚明
丁争
陈冉
魏磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Luoyang Institute of Electro Optical Equipment AVIC
Original Assignee
Luoyang Institute of Electro Optical Equipment AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Luoyang Institute of Electro Optical Equipment AVIC filed Critical Luoyang Institute of Electro Optical Equipment AVIC
Priority to CN201811322049.3A priority Critical patent/CN109684148B/en
Publication of CN109684148A publication Critical patent/CN109684148A/en
Application granted granted Critical
Publication of CN109684148B publication Critical patent/CN109684148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators

Abstract

The invention provides an ARINC 653-based airborne embedded software virtual bus communication construction method, which comprises the steps of constructing a virtual bus communication module by using a hardware modeling language, integrating the virtual bus module required by airborne embedded software with a virtual operation environment to form a virtual operation environment, constructing a virtual communication bus driver and a dynamic management partition, establishing association between a pseudo partition communication port and a dynamic management partition communication port and association between the dynamic management partition communication port and a partition communication port where the airborne embedded software is located, compiling the airborne embedded software and an operating system, and forming a target file. The method and the device realize the communication between the airborne embedded software and the outside in the virtual environment, reduce the influence of the difference of communication buses in different environments on the airborne embedded software, provide a basis for the research and development of the airborne embedded software to get rid of the dependence on the hardware environment, provide a basis for the simulation and the test of the airborne embedded software, and promote the research and development efficiency of the airborne embedded software.

Description

Airborne embedded software virtual bus communication construction method based on ARINC653
Technical Field
The invention relates to the field of development and test of airborne embedded software, in particular to a virtual bus communication construction method of embedded software.
Background
When the airborne embedded software is developed and tested, the bus communication between the airborne embedded software and peripheral data excitation in the virtual operation environment is the premise of debugging and dynamic testing of the airborne embedded software, meanwhile, in order to ensure the consistency of the airborne embedded software in the virtual operation environment and the real hardware environment, seamless transplantation of the airborne embedded software in different environments is realized as much as possible, the influence of the difference of communication buses in different environments on the airborne embedded software is reduced, and a foundation is provided for the research and development of the airborne embedded software to get rid of dependence on the hardware environment.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a novel method for constructing the virtual bus communication of the airborne embedded software based on the ARINC 653.
The technical scheme adopted by the invention for solving the technical problem comprises the following steps:
step 1: according to the bus communication requirement required by airborne embedded software, a virtual bus communication module is constructed by using a hardware Modeling Language (DML) and stored in a hardware model library;
step 2: the method comprises the steps of integrating a virtual bus module required by airborne embedded software with a virtual running environment by configuring hardware composition information of the virtual running environment and allocating a data operation area to form the virtual running environment meeting communication requirements;
and step 3: on an operating system conforming to ARINC653 standard, a virtual communication bus driver is constructed by the following specific construction steps:
step 3.1: creating a pseudo partition communication port, interacting with the pseudo partition communication port by using an access interface of the pseudo partition communication port provided by an operating system, and receiving/transmitting data of all the pseudo partition ports;
step 3.2: using an access interface of the virtual operating environment to interact with a virtual communication bus module in the virtual operating environment and receive/transmit virtual bus data;
step 3.3: the method comprises the steps that bus types, bus communication configuration information and communication data contents are obtained from data received by a pseudo partition communication port, and the communication data contents are sent to corresponding virtual communication buses according to the bus types and the bus communication configuration information;
step 3.4: adding the type and communication configuration information of the virtual communication bus in the data received from the virtual communication bus on the basis of the received data, and sending the modified received data to a pseudo partition communication port;
the virtual communication bus driver can be integrated with a target operating system, is automatically started when the system is started, and waits for the processing of communication data in real time;
and 4, step 4: constructing a dynamic management partition on an operating system which accords with an ARINC653 standard;
according to the requirements of an airborne embedded software communication bus, the content of a partition communication port where the airborne embedded software is located and the content of a pseudo partition communication port, a dynamic management partition is constructed, the problem of limitation of the number of the pseudo partition communication ports of an operating system is solved, bridging between the pseudo partition communication port and the partition communication port where the airborne embedded software is located is established, and the method specifically comprises the following steps:
step 4.1: calling a port creating function provided by an operating system, constructing communication ports corresponding to the pseudo partition communication ports one to one, and setting the attributes of the created ports in a configuration file of the operating system;
step 4.2: calling a port creating function provided by an operating system, constructing communication ports which are in one-to-one correspondence with partition communication ports where airborne embedded software is located, and setting attributes of the created ports in a configuration file of the operating system;
step 4.3: when receiving data from a pseudo partition, acquiring a bus type, bus communication configuration information and communication data content, and sending the communication data content to a corresponding communication port cross-linked with a partition communication port where the airborne embedded software is located according to the bus type and the bus communication configuration information;
and 5: establishing the association between a pseudo partition communication port and a dynamic management partition communication port and the association between the dynamic management partition communication port and a partition communication port where the airborne embedded software is located;
step 6: compiling the airborne embedded software and the operating system to form a target file, and specifically comprising the following steps:
a) starting a virtual operating environment, loading a target file of the airborne embedded software into the virtual operating environment, and operating the airborne embedded software;
b) and starting peripheral data based on the bus communication interface, and establishing communication with the airborne embedded software through a communication network.
The step of establishing the association between the pseudo partition communication port and the dynamic management partition communication port is as follows:
adding configuration information of a pseudo partition communication port, configuration information of a dynamic management partition communication port and a connection relation between the pseudo partition communication port and the dynamic management partition communication port in a configuration file of an operating system, and determining the port property of each port on the attribute of the connection relation, namely determining whether the port property is a source port or a destination port;
the step of establishing the association between the communication port of the dynamic management zone and the communication port of the zone where the airborne embedded software is located is as follows:
adding configuration information of a dynamic management partition communication port, configuration information of a partition communication port where onboard embedded software is located and a connection relation between the dynamic management partition communication port and the partition communication port where the onboard embedded software is located in a configuration file of an operating system, and determining port properties of each port on the attributes of the connection relation, namely determining whether the port properties are source ports or target ports.
The method has the advantages that the virtual communication bus module, the virtual communication bus driver and the dynamic management partition are constructed, the association between the pseudo partition communication port and the dynamic management partition communication port and the association between the dynamic management partition communication port and the partition communication port where the airborne embedded software is located are established, and the bus communication of the airborne embedded software in the virtual environment is constructed, so that the communication of the airborne embedded software with the outside in the virtual environment is realized, the influence of the difference of the communication buses in different environments on the airborne embedded software is reduced, a foundation is provided for the research and development of the airborne embedded software to get rid of the dependence on the hardware environment, a foundation is provided for the simulation and the test of the airborne embedded software, and the research and development efficiency of the airborne embedded software is promoted.
Drawings
FIG. 1 is a schematic diagram of the virtual bus communication architecture of the present invention.
Detailed Description
The invention is further illustrated with reference to the following figures and examples.
The specific embodiment of the invention is as follows:
step 1: according to the bus communication requirement required by airborne embedded software, a virtual bus communication module is constructed by using a hardware Modeling Language (DML) and stored in a hardware model library;
step 2: the method comprises the steps of integrating a virtual bus module required by airborne embedded software with a virtual running environment by configuring hardware composition information of the virtual running environment and allocating a data operation area to form the virtual running environment meeting communication requirements;
and step 3: on an operating system conforming to ARINC653 standard, a virtual communication bus driver is constructed by the following specific construction steps:
step 3.1: creating a pseudo partition communication port, interacting with the pseudo partition communication port by using an access interface of the pseudo partition communication port provided by an operating system, and receiving/transmitting data of all the pseudo partition ports;
step 3.2: using an access interface of the virtual operating environment to interact with a virtual communication bus module in the virtual operating environment and receive/transmit virtual bus data;
step 3.3: the method comprises the steps that bus types, bus communication configuration information and communication data contents are obtained from data received by a pseudo partition communication port, and the communication data contents are sent to corresponding virtual communication buses according to the bus types and the bus communication configuration information;
step 3.4: adding the type and communication configuration information of the virtual communication bus in the data received from the virtual communication bus on the basis of the received data, and sending the modified received data to a pseudo partition communication port;
the virtual communication bus driver can be integrated with a target operating system, is automatically started when the system is started, and waits for the processing of communication data in real time;
and 4, step 4: constructing a dynamic management partition on an operating system which accords with an ARINC653 standard;
step 4.1: according to the requirements of an airborne embedded software communication bus, the content of a partition communication port where the airborne embedded software is located and the content of a pseudo partition communication port, a dynamic management partition is constructed, the problem of limitation of the number of the pseudo partition communication ports of an operating system is solved, bridging between the pseudo partition communication port and the partition communication port where the airborne embedded software is located is established, and the method specifically comprises the following steps:
step 4.2: calling a port creating function provided by an operating system, constructing communication ports corresponding to the pseudo partition communication ports one to one, and setting the attributes of the created ports in a configuration file of the operating system;
step 4.3: calling a port creating function provided by an operating system, constructing communication ports which are in one-to-one correspondence with partition communication ports where airborne embedded software is located, and setting attributes of the created ports in a configuration file of the operating system;
when receiving data from a pseudo partition, acquiring a bus type, bus communication configuration information and communication data content, and sending the communication data content to a corresponding communication port cross-linked with a partition communication port where the airborne embedded software is located according to the bus type and the bus communication configuration information;
and 5: establishing association between a pseudo partition communication port and a dynamic management partition communication port, and association between the dynamic management partition communication port and a partition communication port where airborne embedded software is located;
the method for establishing the association between the pseudo partition communication port and the dynamic management partition communication port comprises the following steps:
in the configuration file of the operating system, the configuration information of the pseudo partition communication port, the configuration information of the dynamic management partition communication port and the connection relationship between the pseudo partition communication port and the dynamic management partition communication port are added, and the port property of each port is determined on the attribute of the connection relationship, namely whether the port property is a source port or a destination port is determined.
The step of establishing the association between the communication port of the dynamic management zone and the communication port of the zone where the airborne embedded software is located comprises the following steps:
adding configuration information of a dynamic management partition communication port, configuration information of a partition communication port where onboard embedded software is located and a connection relation between the dynamic management partition communication port and the partition communication port where the onboard embedded software is located in a configuration file of an operating system, and determining port properties of each port on the attributes of the connection relation, namely determining whether the port properties are source ports or target ports.
Step 6: compiling the airborne embedded software and the operating system to form a target file, and specifically comprising the following steps:
a) starting a virtual operating environment, loading a target file of the airborne embedded software into the virtual operating environment, and operating the airborne embedded software;
b) and starting peripheral data based on the bus communication interface, and establishing communication with the airborne embedded software through a communication network.

Claims (3)

1. An airborne embedded software virtual bus communication construction method based on ARINC653 is characterized by comprising the following steps:
step 1: according to the bus communication requirement required by airborne embedded software, a virtual bus communication module is constructed by using a hardware modeling language and is stored in a hardware model library;
step 2: the method comprises the steps of integrating a virtual bus module required by airborne embedded software with a virtual running environment by configuring hardware composition information of the virtual running environment and allocating a data operation area to form the virtual running environment meeting communication requirements;
and step 3: on an operating system conforming to ARINC653 standard, a virtual communication bus driver is constructed by the following specific construction steps:
step 3.1: creating a pseudo partition communication port, interacting with the pseudo partition communication port by using an access interface of the pseudo partition communication port provided by an operating system, and receiving/transmitting data of all the pseudo partition ports;
step 3.2: using an access interface of the virtual operating environment to interact with a virtual communication bus module in the virtual operating environment and receive/transmit virtual bus data;
step 3.3: the method comprises the steps that bus types, bus communication configuration information and communication data contents are obtained from data received by a pseudo partition communication port, and the communication data contents are sent to corresponding virtual communication buses according to the bus types and the bus communication configuration information;
step 3.4: adding the type and communication configuration information of the virtual communication bus in the data received from the virtual communication bus on the basis of the received data, and sending the modified received data to a pseudo partition communication port;
the virtual communication bus driver can be integrated with a target operating system, is automatically started when the system is started, and waits for the processing of communication data in real time;
and 4, step 4: constructing a dynamic management partition on an operating system which accords with an ARINC653 standard;
according to the requirements of an airborne embedded software communication bus, the content of a partition communication port where the airborne embedded software is located and the content of a pseudo partition communication port, a dynamic management partition is constructed, the problem of limitation of the number of the pseudo partition communication ports of an operating system is solved, bridging between the pseudo partition communication port and the partition communication port where the airborne embedded software is located is established, and the method specifically comprises the following steps:
step 4.1: calling a port creating function provided by an operating system, constructing communication ports corresponding to the pseudo partition communication ports one to one, and setting the attributes of the created ports in a configuration file of the operating system;
step 4.2: calling a port creating function provided by an operating system, constructing communication ports which are in one-to-one correspondence with partition communication ports where airborne embedded software is located, and setting attributes of the created ports in a configuration file of the operating system;
step 4.3: when receiving data from a pseudo partition, acquiring a bus type, bus communication configuration information and communication data content, and sending the communication data content to a corresponding communication port cross-linked with a partition communication port where the airborne embedded software is located according to the bus type and the bus communication configuration information;
and 5: establishing the association between a pseudo partition communication port and a dynamic management partition communication port and the association between the dynamic management partition communication port and a partition communication port where the airborne embedded software is located;
step 6: compiling the airborne embedded software and the operating system to form a target file, and specifically comprising the following steps:
a) starting a virtual operating environment, loading a target file of the airborne embedded software into the virtual operating environment, and operating the airborne embedded software;
b) and starting peripheral data based on the bus communication interface, and establishing communication with the airborne embedded software through a communication network.
2. The ARINC 653-based airborne embedded software virtual bus communication construction method according to claim 1, characterized in that:
the step of establishing the association between the pseudo partition communication port and the dynamic management partition communication port in the step 5 is as follows:
in the configuration file of the operating system, the configuration information of the pseudo partition communication port, the configuration information of the dynamic management partition communication port and the connection relationship between the pseudo partition communication port and the dynamic management partition communication port are added, and the port property of each port is determined on the attribute of the connection relationship, namely whether the port property is a source port or a destination port is determined.
3. The ARINC 653-based airborne embedded software virtual bus communication construction method according to claim 1, characterized in that:
the step of establishing the association between the communication port of the dynamic management partition and the communication port of the partition where the airborne embedded software is located in the step 5 is as follows:
adding configuration information of a dynamic management partition communication port, configuration information of a partition communication port where onboard embedded software is located and a connection relation between the dynamic management partition communication port and the partition communication port where the onboard embedded software is located in a configuration file of an operating system, and determining port properties of each port on the attributes of the connection relation, namely determining whether the port properties are source ports or target ports.
CN201811322049.3A 2018-11-08 2018-11-08 Airborne embedded software virtual bus communication construction method based on ARINC653 Active CN109684148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811322049.3A CN109684148B (en) 2018-11-08 2018-11-08 Airborne embedded software virtual bus communication construction method based on ARINC653

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811322049.3A CN109684148B (en) 2018-11-08 2018-11-08 Airborne embedded software virtual bus communication construction method based on ARINC653

Publications (2)

Publication Number Publication Date
CN109684148A CN109684148A (en) 2019-04-26
CN109684148B true CN109684148B (en) 2022-03-15

Family

ID=66185370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811322049.3A Active CN109684148B (en) 2018-11-08 2018-11-08 Airborne embedded software virtual bus communication construction method based on ARINC653

Country Status (1)

Country Link
CN (1) CN109684148B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515595B (en) * 2019-08-02 2024-02-02 中国航空无线电电子研究所 Resource modeling and management method of avionics distributed management system
CN111131520B (en) * 2020-01-09 2021-06-01 山东超越数控电子股份有限公司 Method for realizing virtual can mouth multiplexing technology based on edge cloud environment
CN112363799B (en) * 2020-10-23 2024-04-12 中国航空无线电电子研究所 Avionics simulator based on layered decoupling architecture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235756A (en) * 2013-04-22 2013-08-07 北京航空航天大学 Simulation testing method for partition application software of embedded system
CN103827882A (en) * 2011-06-08 2014-05-28 迈可菲公司 System and method for virtual partition monitoring
CN107678946A (en) * 2017-09-12 2018-02-09 中国航空工业集团公司洛阳电光设备研究所 A kind of airborne embedded software test environment construction method based on model

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6692278B2 (en) * 2016-11-15 2020-05-13 ルネサスエレクトロニクス株式会社 Arithmetic device and virtual development environment device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103827882A (en) * 2011-06-08 2014-05-28 迈可菲公司 System and method for virtual partition monitoring
CN103235756A (en) * 2013-04-22 2013-08-07 北京航空航天大学 Simulation testing method for partition application software of embedded system
CN107678946A (en) * 2017-09-12 2018-02-09 中国航空工业集团公司洛阳电光设备研究所 A kind of airborne embedded software test environment construction method based on model

Also Published As

Publication number Publication date
CN109684148A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN110909460B (en) V2X simulation test method, device, equipment and storage medium for Internet of vehicles
CN109684148B (en) Airborne embedded software virtual bus communication construction method based on ARINC653
CN110457045B (en) Component combining and compiling method, device, equipment and storage medium
CN110515366A (en) A kind of method for diagnosing faults and device
WO2021098212A1 (en) Software upgrade method, apparatus and system
CN103178996A (en) Distributed packet-switching chip model verification system and method
WO2021027700A1 (en) Application program starting method and apparatus, terminal device and readable storage medium
CN114416630A (en) Communication method and device based on PCIE, computer equipment and readable storage medium
CN102594685B (en) Communication method between ECUs (Electronic Control Units) based on message forwarding
CN116056126A (en) Simulation test method, simulation test device, computer equipment and computer readable storage medium
CN110221867A (en) Pulse I/O function cartoon letters drive system and method under a kind of XP system
CN113448690A (en) Monitoring method and device
CN103514074A (en) MVB network card development method and platform
CN113791792A (en) Application calling information acquisition method and device and storage medium
CN113342457A (en) Kubernetes scheduling method based on registration and discovery of Eureka service
CN107579871B (en) Method and system for generating distributed test script based on model detection
CN106789449A (en) A kind of CAN exploitation and method of testing and system
CN114640614B (en) RPC interface automatic test method, system, electronic equipment, medium and product
CN110955602A (en) Distributed embedded software testing system based on resource sharing
CN108337300B (en) Man-machine interface communication method and system applied to narrow-band Internet of things
CN109814871B (en) Node management method and system based on DDS bus
CN112968812A (en) Network performance testing method, device, equipment and storage medium
CN103729215A (en) Ethernet board data input/output method
CN111026505B (en) Network equipment virtualization method and device
CN109947407A (en) A kind of data capture method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant