CN111694576B - Comprehensive avionics system software deployment control method - Google Patents
Comprehensive avionics system software deployment control method Download PDFInfo
- Publication number
- CN111694576B CN111694576B CN202010443339.4A CN202010443339A CN111694576B CN 111694576 B CN111694576 B CN 111694576B CN 202010443339 A CN202010443339 A CN 202010443339A CN 111694576 B CN111694576 B CN 111694576B
- Authority
- CN
- China
- Prior art keywords
- file
- deployment
- item
- configuration table
- identification code
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a comprehensive avionics system software deployment control method. The method can effectively avoid various software and hardware combination problems and repeated deployment of the same file which can occur when software loading and deployment are carried out in a laboratory or an external field, and improves maintainability and reliability of the comprehensive modularized avionic system. The method mainly comprises the following implementation steps: 1. counting all files required by the target machine, and creating a deployment configuration table in the target machine; 2. embedding a CRC value and a file identification code into each preload item file; 3. loading and storing a preload item file; 4. and completing the deployment of the preloaded item file according to the deployment configuration table.
Description
Technical Field
The invention relates to the technical field of onboard embedded software, in particular to a comprehensive avionics system software deployment control method.
Background
The comprehensive modularized avionics system is rapidly developed towards the directions of structure integration, hardware sharing, function software and information networking, the volume power consumption and weight of the equipment are continuously reduced, a plurality of functions realized by hardware are realized by software in the past, and the status and the function of airborne software are greatly improved. With the complex software and hardware composition of the integrated modularized avionics system, the number of software and configuration files to be loaded is large, and the number of software configuration items to be loaded on a single module of some projects can be up to 10, and the number of software configuration items to be loaded on a whole machine can be up to hundreds.
The traditional loading method is characterized in that whether the pre-loading item is manually selected and the Flash solidification address is input, or the pre-loading item file name and the Flash loading address are pre-configured based on a configuration table, the pre-loading item file and the Flash solidification address are not effectively checked, a series of problems such as loading item type errors, version errors, flash solidification address errors and the like are easy to occur, a series of problems such as compatibility caused by other programs resident on hardware or software configuration item version errors are caused, and further the development and test progress of an airplane are influenced.
Disclosure of Invention
Aiming at the problems that the existing software loading method does not effectively check the type, version and Flash curing address of a file of a preload item, other programs resident on hardware are easily damaged or system functions or performances are lost, and the like, the comprehensive modularized avionics system software deployment control method based on the file identification code and the CRC value is provided.
The specific technical scheme of the invention is as follows:
the invention provides a comprehensive avionics system software deployment control method, which comprises the following steps:
step 1: counting all files required by the target machine, and creating a deployment configuration table in the target machine;
all files comprise all software and configuration files which need to be loaded and solidified by the target machine;
the deployment configuration table comprises a file name, a file identification code, a CRC value, a Flash deployment address and a deployment state corresponding to each file;
the file identification code comprises a supplier identification, a complete machine identification, a module identification, a file type, a serial number and a version number;
step 2: calculating a CRC value of each preloading item file, distributing a file identification code to each preloading item file, embedding the CRC value and the file identification code into the beginning of the preloading item file, and occupying the word number with a fixed length;
step 3: loading and storing a preload item file;
loading the plurality of preloading item files processed in the step 2 into a target machine and storing the preloading item files into a file system of the target machine;
step 4: completing the deployment of a plurality of preloaded item files according to the deployment configuration table;
step 4.1: starting from the first file in the deployment configuration table, searching the file system for a corresponding preloaded item file through a file name;
step 4.2: after searching a preloading item file with the same name as the first file in the deployment configuration table, analyzing a file identification code and a CRC value from the corresponding position of the preloading item file;
step 4.3: comparing the analyzed file identification code with the file identification code of the deployment configuration table; if the two values are consistent, recalculating the CRC value of the preloading item file according to the same algorithm, and comparing the CRC value with the CRC value in the deployment configuration table; if the files are the same, inquiring the deployment state of the first file in the deployment configuration table; if the state is undeployed, deploying according to the Flash address in the deployment configuration table; otherwise, the deployment is not performed;
step 4.4: and repeatedly executing the steps 4.1-4.3 until the deployment states corresponding to all the files in the deployment configuration table are deployed, and ending.
Further, the specific format of the file identification code is as follows: AAA-BBB-CCC-DDD-EEE;
AAA is a provider identifier, consisting of capital letters and numbers;
the BBB is a complete machine identifier, consists of capital letters and numbers, and is assigned to be 000 if the BBB is a single module;
CCC is a module mark and consists of capital letters and numbers;
the DDD is a file type and a serial number of the preloaded item, and consists of numbers, wherein the 1 st digit represents the type of the preloaded item, and the 2 nd digit and the 3 rd digit represent the serial number;
when the 1 st digit is 1, the type of the pre-loading item file is platform software, when the 1 st digit is 2, the type of the pre-loading item file is application software, when the 1 st digit is 3, the type of the pre-loading item file is configuration file, and when the 1 st digit is 4, the type of the pre-loading item file is database;
EEEs are preload version numbers, consisting of 3-bit digits.
Further, the step 3 specifically uses serial port/ethernet/ARINC 664 network/1553B network to load the preloaded item files into the target machine singly or in batches.
Further, the format of the deployment configuration table is XML or TXT.
The invention has the advantages that:
according to the invention, the file identification code and the CRC value are embedded in the preloaded file, the preloaded file is ensured to be the file and version required by the current hardware deployment through the comparison of the file identification code of the preloaded file and the file identification code in the deployment configuration table, and the data integrity of the preloaded file in the transmission and storage process is ensured through the comparison of the CRC value of the preloaded file and the CRC value in the deployment configuration table; in addition, through the file deployment state identifier in the deployment configuration table, the same deployed files are identified, repeated deployment is avoided, and time is saved.
Drawings
FIG. 1 is a flowchart of a specific deployment control process of an embodiment;
FIG. 2 is a file identification code generation flow;
FIG. 3 is a flow chart of file deployment in a target machine.
Detailed Description
For a better understanding of the present invention, the present invention is further described below with reference to the drawings and specific examples.
As shown in fig. 1, the embodiment provides a specific implementation process of a comprehensive avionics system software deployment control method:
1. assigning a file identification code to each preload item file
Each preloaded item file is assigned a file identification code by a software program or manually. The file identification code generation flow is shown in fig. 2.
The file identification code format is: AAA-BBB-CCC-DDD-EEE.
AAA is a provider identifier, consisting of capital letters and numbers;
the BBB is a complete machine identifier, consists of capital letters and numbers, and is assigned to be 000 if the BBB is a single module;
CCC is a module mark and consists of capital letters and numbers;
DDD is the type and serial number of the file of the pre-load item, wherein, the 1 st digit represents the type of the pre-load item, and the last two digits are serial numbers, such as 01, 02, represent the files of the type;
when the 1 st digit is 1, the type of the pre-loading item file is platform software, when the 1 st digit is 2, the type of the pre-loading item file is application software, when the 1 st digit is 3, the type of the pre-loading item file is configuration file, and when the 1 st digit is 4, the type of the pre-loading item file is database;
EEEs are preload version numbers, consisting of 3-bit digits.
For example: 666-ACP-CPM-108-212, the 8 th item of preloaded file of platform software for the CPM module of the ACP complete machine developed by the supplier with the code 666 has a version number of 2.1.2.
2. Calculating a CRC value of each preload item file;
the CRC value of each preload item file is calculated because the preload file may be a file ranging from several K to several tens M, uniformly using the CRC32 calculation scheme. For example, a preloaded file with a file identification code 666-ACP-CPM-108-212, the calculated CRC32 value is 673EACD1.
3. Embedding a file identification code and a CRC value into the file;
embedding a file identification code and a CRC value into the beginning of the preloaded file, wherein the number of bytes with fixed length is occupied;
4. creating a deployment configuration table and loading deployment to a target machine;
and counting all software and configuration files which need to be loaded and solidified by the hardware of the complete machine or the module, and completing the creation of the deployment configuration table. The content of the deployment configuration table comprises a file name, a file identification code, a CRC value, a Flash deployment address and a deployment state. The deployment configuration table is shown in table 1.
Table 1 deployment configuration table
The deployment configuration table may be a file in XML, TXT, or the like. The deployment configuration table belongs to a special file and is pre-deployed on the hardware Flash of the target machine in other loading modes. If there is a change to some item of software or configuration file, the deployment configuration table is updated.
5. Loading and storing a preload item file;
the method comprises the steps of adopting a loading tool, singly or in batches loading a preloading item file to a target machine through a serial port/Ethernet/ARINC 664 network/1553B network and other approaches, and storing the preloading item file into a file system after data file integrity check;
6. completing the deployment of the preloaded item file according to the deployment configuration table;
file deployment is to burn the file to the Flash designated address. As shown in fig. 3, firstly, according to the deployment configuration table, starting from the first file in the table, searching the corresponding file in the file system through the file name; after searching the same name file, analyzing the file identification code and CRC value from the corresponding position of the file; comparing the analyzed file identification code with the file identification code of the deployment configuration table; if the CRC values are consistent, recalculating the CRC values of the files according to the same algorithm, and comparing the CRC values with the CRC values in the deployment configuration table; if the file is the same, inquiring the deployment state of the file in a deployment configuration table; if the state is undeployed, deploying according to the Flash address in the deployment configuration table; otherwise, no deployment is performed.
Claims (3)
1. The comprehensive avionics system software deployment control method is characterized by comprising the following steps of:
step 1: a file identification code is allocated to each pre-load item file, the CRC value of each pre-load item file is calculated, the CRC value and the file identification code are embedded into the beginning of the pre-load item file, and the number of words with fixed length is occupied;
the file identification code comprises a supplier identification, a complete machine identification, a module identification, a file type, a serial number and a version number;
the specific format of the file identification code is as follows: AAA-BBB-CCC-DDD-EEE;
AAA is a provider identifier, consisting of capital letters and numbers;
the BBB is a complete machine identifier, consists of capital letters and numbers, and is assigned to be 000 if the BBB is a single module;
CCC is a module mark and consists of capital letters and numbers;
the DDD is a file type and a serial number of the preloaded item, and consists of numbers, wherein the 1 st digit represents the type of the preloaded item, and the 2 nd digit and the 3 rd digit represent the serial number;
when the 1 st digit is 1, the type of the pre-loading item file is platform software, when the 1 st digit is 2, the type of the pre-loading item file is application software, when the 1 st digit is 3, the type of the pre-loading item file is configuration file, and when the 1 st digit is 4, the type of the pre-loading item file is database;
EEE is a preload version number consisting of 3-bit digits;
step 2: counting all software and configuration files to be loaded and solidified by the hardware of the whole machine or the module, and completing the creation of a deployment configuration table;
the deployment configuration table comprises a file name, a file identification code, a CRC value, a Flash deployment address and a deployment state corresponding to each file;
step 3: loading and storing a preload item file;
loading the plurality of preloading item files processed in the step 1 into a target machine and storing the preloading item files into a file system of the target machine;
step 4: completing the deployment of the preloaded item file according to the deployment configuration table;
step 4.1: starting from the first file in the deployment configuration table, searching the file system for a corresponding preloaded item file through a file name;
step 4.2: after searching a preloading item file with the same name as the first file in the deployment configuration table, analyzing a file identification code and a CRC value from the corresponding position of the preloading item file;
step 4.3: comparing the analyzed file identification code with the file identification code of the deployment configuration table; if the two values are consistent, recalculating the CRC value of the preloading item file according to the same algorithm, and comparing the CRC value with the CRC value in the deployment configuration table; if the files are the same, inquiring the deployment state of the first file in the deployment configuration table; if the state is undeployed, deploying according to the Flash address in the deployment configuration table; otherwise, the deployment is not performed;
step 4.4: and repeatedly executing the steps 4.1-4.3 until the deployment states corresponding to all the files in the deployment configuration table are deployed, and ending.
2. The integrated avionics system software deployment control method of claim 1, wherein the method comprises the steps of: the step 3 is specifically to load the preloaded item files into the target machine singly or in batches by adopting a serial port/Ethernet/ARINC 664 network/1553B network.
3. The integrated avionics system software deployment control method of claim 1 or 2, wherein: the deployment configuration table is in XML or TXT format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010443339.4A CN111694576B (en) | 2020-05-22 | 2020-05-22 | Comprehensive avionics system software deployment control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010443339.4A CN111694576B (en) | 2020-05-22 | 2020-05-22 | Comprehensive avionics system software deployment control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111694576A CN111694576A (en) | 2020-09-22 |
CN111694576B true CN111694576B (en) | 2023-06-13 |
Family
ID=72477240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010443339.4A Active CN111694576B (en) | 2020-05-22 | 2020-05-22 | Comprehensive avionics system software deployment control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111694576B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112882748B (en) * | 2021-03-04 | 2023-04-14 | 中国航空工业集团公司西安航空计算技术研究所 | Image file management and batch deployment tool of embedded system |
CN114489831B (en) * | 2021-12-29 | 2024-03-19 | 中国航空工业集团公司西安飞机设计研究所 | Configurable airborne software batch processing and curing method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571370A (en) * | 2003-07-18 | 2005-01-26 | 华为技术有限公司 | A data loading method for communication equipment |
CN1979415A (en) * | 2005-12-09 | 2007-06-13 | 中兴通讯股份有限公司 | Method for automatically configurating programmable device by inlaid CPU |
CN101277199A (en) * | 2008-02-22 | 2008-10-01 | 东南大学 | Automatic disposition built-in IP-PBX as well as communication method thereof |
CN101819602A (en) * | 2010-05-07 | 2010-09-01 | 北京飞天诚信科技有限公司 | Method for implementing data file engine |
WO2017206897A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | File identification method and related device |
CN110032387A (en) * | 2019-03-25 | 2019-07-19 | 中国航空无线电电子研究所 | General purpose processing block with high reliability airborne equipment image loading processing function |
-
2020
- 2020-05-22 CN CN202010443339.4A patent/CN111694576B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571370A (en) * | 2003-07-18 | 2005-01-26 | 华为技术有限公司 | A data loading method for communication equipment |
CN1979415A (en) * | 2005-12-09 | 2007-06-13 | 中兴通讯股份有限公司 | Method for automatically configurating programmable device by inlaid CPU |
CN101277199A (en) * | 2008-02-22 | 2008-10-01 | 东南大学 | Automatic disposition built-in IP-PBX as well as communication method thereof |
CN101819602A (en) * | 2010-05-07 | 2010-09-01 | 北京飞天诚信科技有限公司 | Method for implementing data file engine |
WO2017206897A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | File identification method and related device |
CN110032387A (en) * | 2019-03-25 | 2019-07-19 | 中国航空无线电电子研究所 | General purpose processing block with high reliability airborne equipment image loading processing function |
Non-Patent Citations (2)
Title |
---|
综合模块化航空电子系统远程加载技术研究及性能分析;崔明明;《航空电子技术》;20161215(第04期);全文 * |
软件配置管理在军用软件中的应用;攸阳 等;《软件》;20180630;第39卷(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111694576A (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111694576B (en) | Comprehensive avionics system software deployment control method | |
CN107203658B (en) | Ship system schematic diagram rapid design method based on CAD and PDM | |
US20050283342A1 (en) | System and method for tracking engineering changes relating to a circuit card | |
CN110502243B (en) | Method for generating personalized profile package data in an integrated circuit card | |
CN108629052B (en) | Kettle task scheduling method, system, computer equipment and storage medium | |
CN111831920A (en) | User demand analysis method and device, computer equipment and storage medium | |
US8539048B2 (en) | Electronic device and method for loading configuration files using the same | |
CN108108478B (en) | Data format conversion method and system and electronic equipment | |
CN112131719B (en) | Method and device for acquiring fan load result and computer readable storage medium | |
CN106445737B (en) | Multi-backup starting method | |
CN112148387A (en) | Method and device for preloading feedback information, computer equipment and storage medium | |
CN106843925B (en) | Dynamic loading method for functional module of DSP | |
CN114237982A (en) | System disaster recovery switching method, device, equipment and storage medium | |
US20170090820A1 (en) | Method and device for operating a many-core system | |
CN112733210B (en) | Equipment identifier obtaining method and device and computer readable storage medium | |
CN109815197A (en) | Integrated file operation method, system, computer equipment and storage medium | |
US9117059B2 (en) | Methods for administering an autonomous rights component, autonomous rights administration systems and devices carrying out the methods | |
CN111694596A (en) | Packing method and packing device for entry paths in webpack environment | |
CN114489831B (en) | Configurable airborne software batch processing and curing method | |
CN110825361A (en) | Code modification method, device, equipment and readable storage medium | |
CN111538750A (en) | Information restoration method and device, computer system and readable storage medium | |
CN111831349A (en) | Mobile device and data sharing method thereof | |
CN107026888B (en) | Large-capacity data transmission device and method | |
WO2023231565A1 (en) | Mirror image file processing method and apparatus, and storage medium and electronic apparatus | |
CN113204394B (en) | Processing method, device and equipment of on-satellite program control data and storage medium |
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 |