An offline verification platform for electromechanical management software under a general architecture
By designing an offline verification platform for electromechanical management software under a general architecture, the problem of close coupling between electromechanical system software development and hardware is solved, independent design and verification of software and hardware is realized, R&D efficiency is improved and costs are reduced.
Patent Information
- Application Number
- CN202211250132.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-12
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2042-10-12
AI Technical Summary
In the prior art, the development of electromechanical system software is closely coupled with the hardware of onboard equipment, and it cannot be developed without the hardware, resulting in limited software development progress and low work efficiency.
Design an offline verification platform for electromechanical management software under a general architecture, including simulation excitation systems and operating systems, and isolate software from hardware through Ethernet communication, allowing software to be verified and developed under hardware-free conditions.
It realizes independent design and verification of software and hardware, shortens the software R&D cycle, improves system R&D and integration efficiency, and reduces development costs.
Smart Images

Figure CN115495378B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of software verification platform design, and in particular, relates to an offline verification platform for electromechanical management software under a general architecture. Background Art
[0002] The electromechanical integrated management system uses data bus and distributed multi-processor technology to physically and functionally integrate the electromechanical system. The distributed remote interface unit collects the data of each electromechanical electronic system and transmits it to the core processor through the bus to realize logical solution and output. The multi-function display of the avionics system is used to display the data of each electromechanical system, fault alarm and management functions. The information between each electromechanical system can be transmitted through its system bus, and the information exchange between electromechanical management and other systems such as avionics and flight control can be realized through the aircraft bus network. The electromechanical system software realizes the functions of integrated control, display, alarm, integrated management, bus service, status monitoring, etc. of the electromechanical system.
[0003] As airborne software residing in airborne equipment, the mechatronic system software development process is deeply coupled with the airborne equipment development process, which brings many difficulties to the development of mechatronic system software. Since airborne software and hardware are closely bound, the main coding, debugging, testing and other work in the development of mechatronic system software can only be carried out after the airborne equipment hardware products are mature. Under this design system, the workload of the software project team is seriously uneven during the development cycle of the project. In the early stage of the project, only demand analysis can be carried out and no in-depth involvement can be made. In the later stage, the workload is huge and the utilization rate of working time is low, which seriously affects the progress of the development of mechatronic system software.
[0004] Under the circumstance of urgent model development nodes, how to use tools and methods to establish a universal software design and operation verification platform and improve software development efficiency is an important part of improving the design quality of electromechanical systems. Summary of the invention
[0005] The purpose of this application is to provide an offline verification platform for electromechanical management software under a general architecture to solve the problem in the prior art that the electromechanical system software is closely coordinated with the airborne equipment hardware and cannot be developed independently of the hardware.
[0006] The technical solution of the present application is: an offline verification platform for electromechanical management software under a general architecture, including a simulation excitation system and an operating system, wherein the input end of the simulation excitation system is provided with an interface configuration file, and the simulation excitation system can access different interface configuration files according to different interface requirements, and the excitation simulation system and the operating system communicate via Ethernet; the simulation excitation system includes a software access module, an input device module and an output device module; the software access module is provided with multiple interfaces and can access a variety of different electromechanical management software; the input device module is provided with multiple input devices, and the input device module can receive input signals generated when the electromechanical management software is working and send them to the operating system; The output device module is provided with a plurality of output devices, which can receive the operation data generated by the operation system and send it to the output device to form an output signal; the operation system includes an IO data service module and a function partition module, the IO data service module is used to receive the excitation signal issued by the input device module and send the operation data value generated by the function partition module to the output device module; the function partition module has a plurality of function partitions, each function partition can receive and process different excitation signals, generate different operation data, and send it to the IO data service module through the Ethernet communication interface.
[0007] Preferably, the simulation excitation system also includes a signal excitation display module, an output signal display module and an input module. The signal excitation display module is provided with a plurality of first display areas, each of which is connected to at least one input device, and the excitation signal of the corresponding input device can be displayed in the first display area; the output signal display module is provided with a plurality of second display areas, each of which is connected to at least one output device, and the output signal of the corresponding output device can be displayed in the second display area; the input module is connected to the input device, and the input module can dynamically excite and change the excitation signal and display it in the corresponding first display area.
[0008] Preferably, the operating system also includes a clock synchronization module and a storage management module. The clock synchronization module is provided with a standard time, and the standard time is broadcast to other modules in the operating system at regular intervals; the storage management module is provided with multiple storage units corresponding to different functional partitions, and the operating data of each functional partition is received at regular intervals and marked and stored.
[0009] Preferably, the operating system also includes a partition management module and a process management module. The partition management module is connected to the functional partitions of the functional partition module and is used to control the opening and closing of each functional partition, and at the same time controls the closing of other functional partitions when one functional partition is running; the process management module is used to monitor the operation status of each functional partition in the functional partition module in real time, and feedback the operation status of each functional partition to the partition management module at regular intervals.
[0010] Preferably, the operating system also includes an intra-partition communication module and an inter-partition communication module, the intra-partition communication module is used to control the internal communication of each functional partition in the partition management module, and the inter-partition communication module is used to control the communication between each functional partition and other modules in the operating system.
[0011] The present application discloses an offline verification platform for electromechanical management software under a general architecture, including a simulation excitation system and an operating system, wherein the simulation excitation system includes a software access module, an input device module and an output device module; the operating system includes an IO data service module and a functional partitioning module; when verifying the electromechanical management software, the software access module determines the interface requirements according to the software type, imports the interface configuration file, the electromechanical management software runs, forms input data, and an excitation signal is sent to the IO data service module through an Ethernet communication port. The excitation signal on the IO data service module is sequentially sent to each functional partition of each functional partitioning module, and after processing, it is sent back to the simulation excitation system, the simulation excitation system receives the data to be echoed, sends it to the output device, forms an output signal, and performs software verification by observing the data result of the output signal; shortens the software development cycle, improves the system development and integration efficiency, and reduces development costs. 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. DETAILED DESCRIPTION
[0014] 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.
[0015] An offline verification platform for electromechanical management software under a general architecture, such as Figure 1As shown, it includes a simulation excitation system and an operating system. The input end of the simulation excitation system is provided with an interface configuration file. The simulation excitation system can access different interface configuration files according to different interface requirements. The excitation simulation system and the operating system communicate via Ethernet.
[0016] The simulation excitation system includes a software access module, an input device module and an output device module; the software access module is provided with multiple interfaces and can be connected to a variety of different electromechanical management software; the input device module is provided with multiple input devices, the input device module can receive the input signal generated by the electromechanical management software when it is working and send it to the input device, generate a corresponding excitation signal, and send it to the operating system through the Ethernet communication port; the output device module is provided with multiple output devices, which can receive the operating data generated by the operating system and send it to the output device to form an output signal.
[0017] The operating system includes an IO data service module and a functional partition module. The IO data service module is used to receive the excitation signal issued by the input device module and send the operating data value generated by the functional partition module to the output device module; the functional partition module has multiple functional partitions, each functional partition can receive and process different excitation signals, generate different operating data, and send it to the IO data service module through the Ethernet communication interface.
[0018] When verifying the electromechanical management software, the software access module determines the interface requirements according to the software type, imports the interface configuration file, runs the electromechanical management software, forms input data, and sends the input data to the required input device for execution. The input device is a virtual physical device that generates virtual physical quantities and forms an excitation signal.
[0019] Different electromechanical management software needs to be run in different electromechanical devices. Preferably, different input devices are the same or different physical models. The electromechanical management software can control one or more electromechanical devices to work at the same time to form an excitation signal.
[0020] The excitation signal is sent to the IO data service module through the Ethernet communication port. The IO data service module uses different ports to receive or send according to different excitation signals, and then sends the excitation signal to each functional partition of each functional partition module in turn.
[0021] Each functional partition is used to process different functional data in the excitation signal. When one functional partition is running, other functional partitions are not working. When one functional partition is finished, the next functional partition is run. Each functional partition can match the excitation signal. When the excitation signal is sent to a functional partition, if the excitation signal does not match the function of the functional partition, the functional partition will not process the excitation signal and send the excitation signal to the next functional partition.
[0022] After each functional partition completes the processing of the excitation signal, it is sent to the IO data service module, and the IO data service module sends it back to the simulation excitation system through the Ethernet communication port. The simulation excitation system receives the data to be echoed and sends it to the corresponding output device to form an output signal. By observing the data results of the output signal, it is determined whether a certain content of the electromechanical management software has passed the verification. If it has passed, the next item is verified until the verification of the electromechanical management software is completed.
[0023] Compared with traditional software development methods, the use of an offline verification platform for electromechanical management software for software development can isolate application layer software from hardware resources and bus data management, and independently carry out software design and hardware design, thereby removing the strong coupling relationship between software development and product hardware development. It provides development, operation and simulation verification capabilities for electromechanical management software, and supports rapid incremental development and verification of electromechanical software without a hardware platform. It allows software functions to focus on core business areas and achieve portability between different platforms, so that airborne software design can be performed before the delivery of airborne equipment hardware, shortening the software development cycle, improving system development and integration efficiency, and reducing development costs. When the system design encounters multiple demand change decision-making methods, the use of an offline verification platform allows software to intervene in advance. The software design results can provide feedback to the system design, expose possible problems in the system design in advance, provide a basis for system solution optimization, and improve the quality of electromechanical system design.
[0024] Preferably, software designers can develop functional partitioning software in the Microsoft Visual Studio integrated development environment, in which the operating system configuration files and I / O data service software serve as supporting running software, and the input and output data required by the functional partitioning software interact with the simulation stimulus software through the inter-partition communication port via the IO data service software.
[0025] This application provides users with an APEX interface that meets the requirements of the ARINC653 specification.
[0026] Preferably, the simulation excitation system also includes a signal excitation display module, an output signal display module and an input module. The signal excitation display module is provided with a plurality of first display areas, each of which is connected to at least one input device, and the excitation signal of the corresponding input device can be displayed in the first display area; the output signal display module is provided with a plurality of second display areas, each of which is connected to at least one output device, and the output signal of the corresponding output device can be displayed in the second display area; the input module is connected to the input device, and the input module can dynamically excite and change the excitation signal and display it in the corresponding first display area. The signal excitation display module and the output signal display module are generated by binding the interface data with the controllable controls of the software interface by the configuration file, so as to facilitate the staff to directly obtain the operating status. By setting the input module, the required excitation signal can be changed as needed to meet the verification requirements.
[0027] Preferably, the operating system also includes a clock synchronization module and a storage management module. The clock synchronization module is provided with a standard time, and the standard time is broadcast to other modules in the operating system at regular intervals. The storage management module is provided with multiple storage units corresponding to different functional partitions, and receives the operating data of each functional partition at regular intervals, marks it, and stores it. By setting the clock synchronization module, the clocks of each module in the operating system are synchronized, and signal deviations due to time differences are prevented. The storage management module can store the operating status data of each functional partition, and can accurately find the fault area through the storage records when a fault occurs.
[0028] Preferably, the operation system also includes a partition management module and a process management module. The partition management module is connected to each functional partition of the functional partition module and is used to control the opening and closing of each functional partition, and at the same time controls that when one functional partition is running, other functional partitions are closed; the process management module is used to monitor the operation of each functional partition in the functional partition module in real time, and feed back the operation status of each functional partition to the partition management module at regular intervals. By setting the partition management module and the process management module, the operation status of each functional partition can be effectively controlled to ensure the stable progress of software verification.
[0029] Preferably, the operating system also includes an intra-partition communication module and an inter-partition communication module. The intra-partition communication module is used to control the internal communication of each functional partition within the partition management module, and the inter-partition communication module is used to control the communication between each functional partition and other modules in the operating system to achieve stable communication between modules.
[0030] 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. An offline verification platform for electromechanical management software under a general architecture. Features: It includes a simulation excitation system and a running system, wherein the input end of the simulation excitation system is provided with an interface configuration file, the simulation excitation system can access different interface configuration files according to different interface requirements, and the simulation excitation system and the running system communicate via Ethernet; The simulation excitation system includes a software access module, an input device module and an output device module; the software access module is provided with multiple interfaces and can access a variety of different electromechanical management software; the input device module is provided with multiple input devices, the input device module can receive the input signal generated by the electromechanical management software when it is working and send it to the input device, generate a corresponding excitation signal, and send it to the operating system through the Ethernet communication port; the output device module is provided with multiple output devices, which can receive the operating data generated by the operating system and send it to the output device to form an output signal; The operation system includes an IO data service module and a function partition module, wherein the IO data service module is used to receive an excitation signal from the input device module and to output the operation data value generated by the function partition module to the output device module; The functional partition module has multiple functional partitions, each of which can receive and process different excitation signals, generate different operating data, and send them to the IO data service module through the Ethernet communication interface.
2. The electromechanical management software offline verification platform under the general architecture as claimed in claim 1, Features: The simulation excitation system also includes a signal excitation display module, an output signal display module and an input module. The signal excitation display module is provided with a plurality of first display areas, each of which is connected to at least one input device, and the first display area can display the excitation signal of the corresponding input device; the output signal display module is provided with a plurality of second display areas, each of which is connected to at least one output device, and the second display area can display the output signal of the corresponding output device; the input module is connected to the input device, and the input module can dynamically excite and change the excitation signal and display it in the corresponding first display area.
3. The electromechanical management software offline verification platform under the general architecture as claimed in claim 1, Features: The operating system also includes a clock synchronization module and a storage management module. The clock synchronization module is provided with a standard time, and the standard time is broadcast to other modules in the operating system at regular intervals; the storage management module is provided with a plurality of storage units corresponding to different functional partitions, and the operating data of each functional partition is received at regular intervals and marked and stored.
4. The electromechanical management software offline verification platform under the general architecture as claimed in claim 1, Features: The operating system also includes a partition management module and a process management module. The partition management module is connected to each functional partition of the functional partition module and is used to control the opening and closing of each functional partition, and at the same time controls the closing of other functional partitions when one functional partition is running; the process management module is used to monitor the operation status of each functional partition in the functional partition module in real time, and feedback the operation status of each functional partition to the partition management module at regular intervals.
5. The electromechanical management software offline verification platform under the general architecture as claimed in claim 1, Features: The operating system also includes an intra-partition communication module and an inter-partition communication module. The intra-partition communication module is used to control the internal communication of each functional partition in the partition management module, and the inter-partition communication module is used to control the communication between each functional partition and other modules in the operating system.
Citation Information
Patent Citations
Simulation test system and method
CN111610726A
Platform and method for vehicle expected function safety simulation test and storage medium
CN113515105A