CN110908963B - DF file loading method of airborne display control library - Google Patents
- ️Fri Jul 15 2022
CN110908963B - DF file loading method of airborne display control library - Google Patents
DF file loading method of airborne display control library Download PDFInfo
-
Publication number
- CN110908963B CN110908963B CN201911192464.6A CN201911192464A CN110908963B CN 110908963 B CN110908963 B CN 110908963B CN 201911192464 A CN201911192464 A CN 201911192464A CN 110908963 B CN110908963 B CN 110908963B Authority
- CN
- China Prior art keywords
- file
- cds
- version number
- command
- version Prior art date
- 2019-11-28 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a DF file loading method of an airborne display control library, which designs DF file transmission conditions, transmission modes and abnormal handling means in the transmission process between a CDS (media gateway) end and a UA (user interface) end, ensures the effectiveness, timeliness, reliability and safety of DF file transmission between two systems, reduces the potential risk of avionic equipment operation caused by DF file loading errors and improves the maintainability of the avionic equipment.
Description
Technical Field
The invention relates to a DF file loading method of an airborne display control library, belonging to the technical field of DF file loading process realization methods of ARINIC 661.
Background
Currently, avionic device software generally adopts a human-computer interaction interface design mode based on ARINIC661, wherein a Cockpit Display System (CDS) is mainly used for various Display terminals, and can parse DF files and render and initialize human-computer interfaces, a User Application (UA) is mainly used for User applications running in a task System and driving human-computer interface switching and data Display, and a Define file (DF file) is an initialization data set defining an interface Display style, and is stored in a bin file in a binary form and used for defining basic elements displayed by a human-computer interface.
The DF file is generally stored in a storage module, and the storage module software, the user application program, and the display terminal software have data interaction capability between each two. In the using process, the DF file is frequently required to be updated online, and the scheme aims to update the DF file to the display terminal from the storage module, ensure that the display terminal analyzes and processes the DF file of the latest version and render a display picture after the system is electrified.
Disclosure of Invention
The invention aims to solve the defects of the prior art and provide a DF file loading method of an airborne display control library, aiming at the problem that the traditional DF file is easy to be abnormal in the loading process.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a DF file loading method of an airborne display control library is based on an ARINIC661 airborne display control library and comprises the following steps:
step S1, after the CDS judges the CDS to surf the Internet, the user application sends a DF file version number request command to the CDS, the command is sent at intervals of 100ms, and the user application clears the command after receiving the DF file version number reported by the CDS;
step S2, after receiving the DF file version number request command, the CDS reports the version number of each DF file to the user application;
step S3, after the storage module is electrified and initialized, the DF file version number is automatically reported to the user application once;
step S4, if the wheel-load signal is invalid, the user application directly sends a version consistent command to the CDS after receiving the file version number reported by the CDS, and the CDS analyzes the DF file and displays the picture;
step S5, if the load signal is valid, the user application starts timing after sending the version request command, if the DF file version number reported by the storage module is not received in 30S or the DF file version number reported by the CDS is not received in 30S, the comparison is finished and the versions are consistent, at this time, the CDS sends a version consistent command to the CDS to analyze the DF file and display the picture, and the next step is carried out;
step S6, comparing whether each version number reported by CDS is consistent with DF file version number reported by storage module, if not, user application sends DF file loading command to storage module, storage module sends all DF files to CDS after receiving command and carries out next step, if all DF file version numbers are consistent, jumping to the last step;
step S7, the CDS receives the DF file, the DF file is loaded in the picture display in the receiving process, after the receiving is completed, the version number of the received DF file is reported again, the picture display is started, the version is consistent, after the version consistent command of the user application is received, the CDS starts to analyze the DF file, the picture display is analyzing the DF file, if the DF file is analyzed correctly, the end command of the definition stage is reported; if the DF file is analyzed wrongly, setting the version number of the error-reported DF file as 0xff, reporting again, and simultaneously displaying XX DF file analysis errors;
step S8, the user application compares the version number reported by CDS with the DF file version number reported by the storage module, if they are consistent, then enters the next step, if they are not consistent, then turns back to step S7; when the DF file transmission process is more than 3 times, the CDS displays the DF file analysis error and needs to be restarted, at the moment, the DF file loading process can be restarted only by restarting the CDS terminal, otherwise, the subsequent operation can not be continued;
step S9, the user application sends a DF file loading version consistent command to each CDS, the CDS starts to analyze the DF file, if the DF file is analyzed correctly, the CDS sends a definition stage ending command to the user application, the DF file loading process is ended, and normal operation is switched to; if the DF file header is analyzed wrongly, setting the version number of the corresponding DF file to be 0xff, and reporting the version number.
The invention has the following beneficial effects:
the DF file transfer conditions, transfer modes and exception handling means in the transfer process between the CDS end and the UA end are designed, so that the effectiveness, timeliness, reliability and safety of DF file transfer between two systems are guaranteed, the potential risk of avionic equipment operation caused by DF file loading errors is reduced, and the maintainability of avionic equipment is improved.
Drawings
Fig. 1 is a schematic diagram of a CDS end process in a DF file loading method for an airborne display control library according to the present invention.
Fig. 2 is a schematic diagram of a UA end process in the DF file loading method for an airborne display control library according to the present invention.
Fig. 3 is a display content diagram of a display terminal of the DF file loading method for an airborne display control library according to the present invention.
Fig. 4 is a modular communication frame configuration according to the present invention.
Detailed Description
The invention provides a DF file loading method of an airborne display control library. The technical solution of the present invention is described in detail below with reference to the accompanying drawings so that it can be more easily understood and appreciated.
As shown in fig. 4, the module communication framework structure is that the user application, the CDS software and the electronic disk software are respectively run in the VxWorks operating system of the embedded processor of the task machine, the display and the electronic disk, and the devices communicate with each other through the FC-AE bus.
A DF file loading method of an airborne display control library as shown in figures 1 to 3,
step S1, after judging that the FC-AE bus of the CDS display terminal accesses the Internet by the user application software, sending a DF file version number request command to the CDS, wherein the command is sent at an interval period of 100ms until the DF file version number reported by the CDS is received, and then the command is cleared by the user application;
step S2, after receiving the DF file version number request command, the CDS reports a plurality of DF file (1-10) version numbers to the user application;
step S3, after the storage module is electrified and initialized, the version number of the DF file is automatically reported (1-10) to the user application once;
step S4, if the device is in the air, the user application directly sends a version consistent command to the CDS after receiving the file version number reported by the CDS, and the CDS analyzes the DF file and displays a human-computer interface;
step S5, if the device is on the ground, the user application starts timing after sending the version request command, if the DF file version number reported by the storage module is not received in 30S or the (1-10) DF file version number reported by the CDS is not received in 30S, the comparison is finished and the versions are consistent, and at the moment, the CDS sends a version consistent command to the CDS to analyze the DF file and display a human-computer interface;
step S6, the user application compares whether each version number reported by the CDS is consistent with the DF file version number reported by the storage module, if not, the user application sends a DF file loading command to the storage module, the storage module sends all DF files to the CDS after receiving the command, and the step S7 is carried out, and if all the DF file version numbers are consistent, the step S9 is carried out;
step S7, CDS receives (1-10) DF file, the DF file is loaded in the picture display in the receiving process, after the receiving is finished, the version number of the received DF file is reported again, the DF file header covers the version number information, if the DF file header is analyzed correctly, the analyzed version number is reported, if (1-10) DF has file header analysis error, the received data has error, the corresponding DF file version number is set to 0xff, then reporting is carried out, the picture display is started, the version is consistent, after the version consistent command applied by a user is received, CDS starts to analyze the DF file, the picture display is analyzing the DF file, if the DF file is analyzed correctly, the definition stage end command is reported; if the DF file is analyzed wrongly, the received data is wrong, the version number of the DF file with the error is set to be 0xff, the DF file is reported again, and the XX DF file analysis error is displayed at the same time;
and step S8, the user application compares the version number reported by each CDS with the DF file version number reported by the storage module again, and if the version numbers are consistent, the user application returns to step I). If not, repeating the DF file transmission process. When the DF file transmission process is more than 3 times, the CDS displays the DF file analysis error and needs to be restarted, at the moment, the DF file loading process can be restarted only by restarting the CDS terminal, otherwise, the subsequent operation can not be continued;
step S9, the user application sends a DF file loading version consistent command to each CDS, the CDS starts to analyze the DF file, if the DF file is analyzed correctly, the CDS sends a definition stage ending command to the user application, the DF file loading process is ended, and normal operation is switched to; and if the DF file header is analyzed wrongly, setting the version number of the corresponding DF file to be 0xff, and reporting the version number.
It should be noted that the device only allows DF file loading on the ground, and does not allow DF file loading in the air; after the CDS is electrified, before a DF file version number request command applied by a user is not received, the CDS is in a waiting state, and the condition that the optical fiber is on the Internet is displayed; after the storage module is powered on and initialized, the DF file version number is automatically reported to the user application once. When the DF file transmission process is more than 3 times, the CDS displays the DF file analysis error and needs to be restarted, at the moment, the DF file loading process can be restarted only by restarting the CDS terminal, otherwise, the subsequent operation can not be continued. In the DF file loading process, according to the difference of the current loading state, the display displays the current state prompt text in the middle, and the display information is as shown in fig. 3.
Through the above description, it can be found that the DF file loading method of the airborne display control library according to the present invention designs the DF file transfer condition, transfer mode, and exception handling means during the transfer between the CDS and UA, ensures the effectiveness, timeliness, reliability, and safety of the DF file transfer between the two systems, reduces the potential risk of avionic operation caused by a DF file loading error, and improves the maintainability of the avionic.
The technical solutions of the present invention are fully described above, it should be noted that the specific embodiments of the present invention are not limited by the above description, and all technical solutions formed by equivalent or equivalent changes in structure, method, or function according to the spirit of the present invention by those skilled in the art are within the scope of the present invention.
Claims (1)
1. A DF file loading method of an airborne display control library is based on an ARINIC661 airborne display control library, and is characterized by comprising the following steps:
step S1, after the CDS judges the CDS to surf the internet, the user application sends a DF file version number request command to the CDS, the command is sent at intervals of 100ms, and the user application clears the command after receiving the DF file version number reported by the CDS;
step S2, after receiving the DF file version number request command, the CDS reports the version number of each DF file to the user application;
step S3, after the storage module is electrified and initialized, the DF file version number is automatically reported to the user application once;
step S4, if the wheel-load signal is invalid, the user application directly sends a version consistent command to the CDS after receiving the file version number reported by the CDS, and the CDS analyzes the DF file and displays the picture;
step S5, if the load signal is valid, the user application starts timing after sending the version request command, if the DF file version number reported by the storage module is not received in 30S or the DF file version number reported by the CDS is not received in 30S, the comparison is considered to be finished and the versions are consistent, at this time, the version consistent command is sent to the CDS, the CDS analyzes the DF file and displays the picture, and the next step is carried out;
step S6, comparing whether each version number reported by CDS is consistent with DF file version number reported by storage module, if not, user application sends DF file loading command to storage module, storage module sends all DF files to CDS after receiving command and carries out next step, if all DF file version numbers are consistent, jumping to the last step;
step S7, the CDS receives the DF file, the DF file is loaded in the picture display in the receiving process, after the receiving is completed, the version number of the received DF file is reported again, the picture display is started, the version is consistent, after the version consistent command of the user application is received, the CDS starts to analyze the DF file, the picture display is analyzing the DF file, if the DF file is analyzed correctly, the end command of the definition stage is reported; if the DF file is analyzed wrongly, setting the version number of the DF file reporting the mistake as 0xff, reporting again and simultaneously displaying the DF file analysis mistake;
step S8, the user application compares the version number reported by each CDS with the version number of the DF file reported by the storage module again, if the version numbers are consistent, the next step is carried out, and if the version numbers are not consistent, the step S7 is returned to; when the DF file transmission process is more than 3 times, the CDS displays the DF file analysis error and needs to be restarted, at the moment, the DF file loading process can be restarted only by restarting the CDS terminal, otherwise, the subsequent operation can not be continued;
step S9, the user application sends a DF file loading version consistent command to each CDS, the CDS starts to analyze the DF file, if the DF file is analyzed correctly, the CDS sends a definition stage ending command to the user application, the DF file loading process is ended, and normal operation is switched to; if the DF file header is analyzed wrongly, setting the version number of the corresponding DF file to be 0xff, and reporting the version number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911192464.6A CN110908963B (en) | 2019-11-28 | 2019-11-28 | DF file loading method of airborne display control library |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911192464.6A CN110908963B (en) | 2019-11-28 | 2019-11-28 | DF file loading method of airborne display control library |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110908963A CN110908963A (en) | 2020-03-24 |
CN110908963B true CN110908963B (en) | 2022-07-15 |
Family
ID=69820286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911192464.6A Active CN110908963B (en) | 2019-11-28 | 2019-11-28 | DF file loading method of airborne display control library |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110908963B (en) |
Citations (1)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104299068A (en) * | 2014-08-27 | 2015-01-21 | 南京航空航天大学 | Cabin display control information management system and method based on ARINC 661 |
-
2019
- 2019-11-28 CN CN201911192464.6A patent/CN110908963B/en active Active
Patent Citations (1)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104299068A (en) * | 2014-08-27 | 2015-01-21 | 南京航空航天大学 | Cabin display control information management system and method based on ARINC 661 |
Non-Patent Citations (1)
* Cited by examiner, † Cited by third partyTitle |
---|
基于ARINC661协议的DF文件验证方法;崔诗娴;《计算机系统应用》;20181231;第27卷(第2期);第117页-第124页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110908963A (en) | 2020-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113064748B (en) | 2023-02-28 | Process succession method, device, electronic equipment and storage medium |
CN113094072A (en) | 2021-07-09 | Vehicle upgrading method and device, electronic device and storage medium |
CN114064091A (en) | 2022-02-18 | OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle |
CN110908963B (en) | 2022-07-15 | DF file loading method of airborne display control library |
CN114026537A (en) | 2022-02-08 | Method for carrying out a dialogue with a computer on a vehicle bus of a vehicle |
CN113064651B (en) | 2023-01-24 | Initialization control device, method and equipment applied to multistage interface series equipment |
CN112416394B (en) | 2023-10-10 | Service upgrading method and device, storage medium and electronic equipment |
CN115480884A (en) | 2022-12-16 | Chip, test monitoring method of chip and computer readable storage medium |
CN111309353A (en) | 2020-06-19 | Method and device for updating FPGA (field programmable Gate array) firmware of operation board based on server control board |
CN117215656A (en) | 2023-12-12 | Linux system-based self-adaptive vehicle chip method and device, electronic equipment and vehicle |
CN106933578B (en) | 2020-05-22 | USB drive loading method of QNX system |
CN115361263A (en) | 2022-11-18 | AT command processing system and method based on embedded system |
CN105791345A (en) | 2016-07-20 | Communication system of server and industrial personal computer in semiconductor technological device |
CN112667412B (en) | 2024-09-06 | Debugging device and method for core dump of embedded system |
CN115658152A (en) | 2023-01-31 | Firmware upgrading method, firmware, electronic device and computer readable storage medium |
CN1869929A (en) | 2006-11-29 | System and method for loading multi-operation system at remote control customer terminal |
CN108037942B (en) | 2021-04-09 | Adaptive data recovery and update method and device for embedded equipment |
CN107168837A (en) | 2017-09-15 | A kind of automatic switchover OS method of testing and test system |
CN113096269A (en) | 2021-07-09 | Information acquisition method and device, electronic equipment and storage medium |
CN112783535A (en) | 2021-05-11 | Firmware upgrading method, embedded device and storage medium |
CN113127001B (en) | 2024-03-08 | Method, device, equipment and medium for monitoring code compiling process |
CN116449810B (en) | 2023-08-29 | Fault detection method and device, electronic equipment and storage medium |
CN114566148B (en) | 2022-12-30 | Cluster voice recognition service, detection method and device thereof and electronic equipment |
CN119360936A (en) | 2025-01-24 | Storage chip consistency verification method, system, device and storage medium |
CN118626239A (en) | 2024-09-10 | Method, device, computer equipment and storage medium for resetting memory parameters of vehicle terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2020-03-24 | PB01 | Publication | |
2020-03-24 | PB01 | Publication | |
2021-03-09 | SE01 | Entry into force of request for substantive examination | |
2021-03-09 | SE01 | Entry into force of request for substantive examination | |
2022-07-15 | GR01 | Patent grant | |
2022-07-15 | GR01 | Patent grant |