CN111694576A - Software deployment control method for integrated avionics system - Google Patents

Software deployment control method for integrated avionics system Download PDF

Info

Publication number
CN111694576A
CN111694576A CN202010443339.4A CN202010443339A CN111694576A CN 111694576 A CN111694576 A CN 111694576A CN 202010443339 A CN202010443339 A CN 202010443339A CN 111694576 A CN111694576 A CN 111694576A
Authority
CN
China
Prior art keywords
file
item
preloaded
deployment
configuration table
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.)
Granted
Application number
CN202010443339.4A
Other languages
Chinese (zh)
Other versions
CN111694576B (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.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of 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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN202010443339.4A priority Critical patent/CN111694576B/en
Publication of CN111694576A publication Critical patent/CN111694576A/en
Application granted granted Critical
Publication of CN111694576B publication Critical patent/CN111694576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding 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
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a software deployment control method for a comprehensive avionics system. The method can effectively avoid various software and hardware combination problems and repeated deployment of the same file which are possibly caused when software loading deployment is carried out in a laboratory or an external field at present, and improves the maintainability and the reliability of the comprehensive modular avionics system. The method mainly comprises the following steps: 1. counting all files needed by a target machine, and creating a deployment configuration table in the target machine; 2. embedding a CRC value and a file identification code into each preloaded item file; 3. loading and storing of preloaded item files; 4. and finishing the deployment of the preloaded item file according to the deployment configuration table.

Description

Software deployment control method for integrated avionics system
Technical Field
The invention relates to the technical field of airborne embedded software, in particular to a software deployment control method for a comprehensive avionics system.
Background
The comprehensive modular avionics system is rapidly developing towards the direction of structural integration, hardware sharing, functional software and information networking, the volume, power consumption and weight of 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. The software and hardware composition of the integrated modular avionics system is more and more complex, the quantity of software and configuration files to be loaded is large, the quantity of software configuration items to be loaded on a single module of some projects can be more than 10, and the quantity of software configuration items to be loaded on a whole aircraft is hundreds.
In the traditional loading method, no matter the preloading item is manually selected and the Flash solidification address is input, or the preloading item file name and the Flash loading address are pre-configured on the basis of the configuration table, the preloading item file and the Flash solidification address are not effectively verified, so that a series of problems such as loading item type error, version error and Flash solidification address error are easy to occur, other programs residing on hardware are damaged, or a series of problems such as compatibility and the like caused by software configuration item version error are caused, and further the aircraft development and test progress is influenced.
Disclosure of Invention
Aiming at the problems that the type, version and Flash solidification address of a preloaded item file are not effectively checked in the existing software loading method, other programs resident on hardware are easily damaged or system functions or performances are lost, and the like, the comprehensive modular 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 software deployment control method of a comprehensive avionics system, which comprises the following steps:
step 1: counting all files needed by a target machine, and creating a deployment configuration table in the target machine;
wherein, 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 (cyclic redundancy check) 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 the CRC value of each preloaded item file, allocating a file identification code to each preloaded item file, embedding the CRC value and the file identification code at the beginning of each preloaded item file, and occupying the word number with fixed length;
and step 3: loading and storing of preloaded item files;
loading the plurality of preloaded item files processed in the step 2 into the target machine and storing the preloaded item files into a file system of the target machine;
and 4, step 4: completing the deployment of a plurality of preloaded item files according to a deployment configuration table;
step 4.1: starting from a first file in the deployment configuration table, searching a corresponding preloading item file in a file system through a file name;
step 4.2: after a preloading item file with the same name as the first file in the deployment configuration table is searched, a file identification code and a CRC value are analyzed from the corresponding position of the preloading item file;
step 4.3: comparing the analyzed file identification code with a file identification code of a deployment configuration table; if the CRC values are consistent, recalculating the CRC values of the preloaded item files according to the same algorithm, and comparing the recalculated CRC values with the CRC values in the deployment configuration table; if the files are the same, inquiring the deployment state of the first file in a deployment configuration table; if the state is undeployed, deploying according to the Flash address in the deployment configuration table; otherwise, not deploying;
step 4.4: and repeating the step 4.1 to the step 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 supplier mark composed of capital letter and number;
BBB is the complete machine identification, composed of capital letters and numbers, if it is a single module, the value is assigned as 000;
CCC is a module mark and consists of capital letters and numbers;
DDD is the file type and the serial number of the preloading item, and consists of numbers, wherein the 1 st digit represents the type of the preloading item, and the 2 nd digit and the 3 rd digit represent the serial number;
when the 1 st digit is 1, the preloaded item file type is platform software, when the 1 st digit is 2, the preloaded item file type is application software, when the 1 st digit is 3, the preloaded item file type is a configuration file, and when the 1 st digit is 4, the preloaded item file type is a database;
EEE is the preloaded item version number, consisting of 3 digits.
Further, the step 3 is to load the preloaded item file into the target machine individually or in batch by using the serial port/ethernet/ARINC 664 network/1553B network.
Further, the format of the deployment configuration table is XML or TXT.
The invention has the advantages and effects that:
according to the invention, the file identification code and the CRC value are embedded in the preloaded file, and the preloaded file is ensured to be a file and a version required by the current hardware deployment by comparing the file identification code of the preloaded file with the file identification code in the deployment configuration table, and the data integrity of the preloaded file in the transmission and storage processes is ensured by comparing the CRC value of the preloaded file with the CRC value in the deployment configuration table; in addition, the deployed same file is identified by the file deployment state identifier in the deployment configuration table, so that repeated deployment is avoided, and time is saved.
Drawings
FIG. 1 is a flowchart of a particular deployment control process of an embodiment;
FIG. 2 is a flow chart of generating a file identification code;
fig. 3 is a flowchart of file deployment in the target machine.
Detailed Description
For a better understanding of the present invention, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
As shown in fig. 1, the embodiment provides a specific implementation process of a software deployment control method of a comprehensive avionics system:
1. assigning a file identification code to each preloaded item file
Each preloaded item file is assigned a file identification code either by a software program or manually. The file identification code generation flow is shown in fig. 2.
The format of the file identification code is as follows: AAA-BBB-CCC-DDD-EEE.
AAA is supplier mark composed of capital letter and number;
BBB is the complete machine identification, composed of capital letters and numbers, if it is a single module, the value is assigned as 000;
CCC is a module mark and consists of capital letters and numbers;
DDD is the file type and serial number of the preloading item, and is composed of numbers, wherein, the 1 st digit represents the preloading item type, and the last two digits are serial numbers, such as 01 and 02, which represent the files of the type;
when the 1 st digit is 1, the preloaded item file type is platform software, when the 1 st digit is 2, the preloaded item file type is application software, when the 1 st digit is 3, the preloaded item file type is a configuration file, and when the 1 st digit is 4, the preloaded item file type is a database;
EEE is the preloaded item version number, consisting of 3 digits.
For example: 666-ACP-CPM-108-212, which is the 8 th preloaded file of platform software for ACP complete machine CPM module developed by the supplier with the code number 666, the version number is 2.1.2.
2. Calculating a CRC value of each preloaded item file;
the CRC value of each preloaded item file is calculated because the preloaded files can be files from several K to several tens M, collectively using the CRC32 calculation method. For example, the file identifier is 666-ACP-CPM-108 and 212, and the calculated CRC32 value is 673EACD 1.
3. Embedding the file identification code and the CRC value into the file;
embedding the file identification code and the CRC value into the initial position of the preloaded file, and occupying the byte number with fixed length;
4. creating a deployment configuration table and loading and deploying the deployment configuration table to a target machine;
and counting all software and configuration files which need to be loaded and solidified by the whole machine or module hardware, and finishing the establishment 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
Figure BDA0002504750120000061
The deployment configuration table may be a file in XML, TXT, etc. format. The deployment configuration table belongs to a special file and is pre-deployed on the target machine hardware Flash in other loading modes. If some software or configuration file is changed, the deployment configuration table is updated.
5. Loading and storing of preloaded item files;
loading the preloaded item files to the target machine singly or in batch by adopting a loading tool through ways of serial port/Ethernet/ARINC 664 network/1553B network and the like, and storing the preloaded item files into a file system after data file integrity check;
6. completing the deployment of the preloaded item file according to a deployment configuration table;
the file deployment is to burn the file to a Flash specified address. As shown in fig. 3, first, according to the deployment configuration table, starting from the first file in the table, searching for the corresponding file in the file system by the file name; after files with the same name are searched, analyzing a file identification code and a CRC value from corresponding positions of the files; comparing the analyzed file identification code with a file identification code of a deployment configuration table; if the CRC values are consistent, recalculating the CRC value of the file according to the same algorithm, and comparing the recalculated CRC value with the CRC value in the deployment configuration table; if the file is the same as the deployment configuration table, inquiring the deployment state of the file in the deployment configuration table; if the state is undeployed, deploying according to the Flash address in the deployment configuration table; otherwise, deployment is not performed.

Claims (4)

1. A software deployment control method for a comprehensive avionics system is characterized by comprising the following steps:
step 1: counting all files needed by a target machine, and creating a deployment configuration table in the target machine;
wherein, 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 (cyclic redundancy check) 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 the CRC value of each preloaded item file, allocating a file identification code to each preloaded item file, embedding the CRC value and the file identification code at the beginning of each preloaded item file, and occupying the word number with fixed length;
and step 3: loading and storing of preloaded item files;
loading the plurality of preloaded item files processed in the step 2 into the target machine and storing the preloaded item files into a file system of the target machine;
and 4, step 4: completing the deployment of the preloaded item file according to a deployment configuration table;
step 4.1: starting from a first file in the deployment configuration table, searching a corresponding preloading item file in a file system through a file name;
step 4.2: after a preloading item file with the same name as the first file in the deployment configuration table is searched, a file identification code and a CRC value are analyzed from the corresponding position of the preloading item file;
step 4.3: comparing the analyzed file identification code with a file identification code of a deployment configuration table; if the CRC values are consistent, recalculating the CRC values of the preloaded item files according to the same algorithm, and comparing the recalculated CRC values with the CRC values in the deployment configuration table; if the files are the same, inquiring the deployment state of the first file in a deployment configuration table; if the state is undeployed, deploying according to the Flash address in the deployment configuration table; otherwise, not deploying;
step 4.4: and repeating the step 4.1 to the step 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 according to claim 1, characterized in that: the specific format of the file identification code is as follows: AAA-BBB-CCC-DDD-EEE;
AAA is supplier mark composed of capital letter and number;
BBB is the complete machine identification, composed of capital letters and numbers, if it is a single module, the value is assigned as 000;
CCC is a module mark and consists of capital letters and numbers;
DDD is the file type and the serial number of the preloading item, and consists of numbers, wherein the 1 st digit represents the type of the preloading item, and the 2 nd digit and the 3 rd digit represent the serial number;
when the 1 st digit is 1, the preloaded item file type is platform software, when the 1 st digit is 2, the preloaded item file type is application software, when the 1 st digit is 3, the preloaded item file type is a configuration file, and when the 1 st digit is 4, the preloaded item file type is a database;
EEE is the preloaded item version number, consisting of 3 digits.
3. The integrated avionics system software deployment control method according to claim 2, characterized in that: the step 3 is specifically to load the preloaded item files into the target machine singly or in batch by adopting a serial port/Ethernet/ARINC 664 network/1553B network.
4. A method for controlling software deployment in an integrated avionics system according to any one of claims 1 to 3, characterized by: the deployment configuration table is in the format of XML or TXT.
CN202010443339.4A 2020-05-22 2020-05-22 Comprehensive avionics system software deployment control method Active CN111694576B (en)

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 true CN111694576A (en) 2020-09-22
CN111694576B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882748A (en) * 2021-03-04 2021-06-01 中国航空工业集团公司西安航空计算技术研究所 Image file management and batch deployment tool of embedded system
CN114489831A (en) * 2021-12-29 2022-05-13 中国航空工业集团公司西安飞机设计研究所 Configurable airborne software batch processing and curing method

Citations (6)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
崔明明: "综合模块化航空电子系统远程加载技术研究及性能分析", 《航空电子技术》 *
攸阳 等: "软件配置管理在军用软件中的应用", 《软件》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882748A (en) * 2021-03-04 2021-06-01 中国航空工业集团公司西安航空计算技术研究所 Image file management and batch deployment tool of embedded system
CN112882748B (en) * 2021-03-04 2023-04-14 中国航空工业集团公司西安航空计算技术研究所 Image file management and batch deployment tool of embedded system
CN114489831A (en) * 2021-12-29 2022-05-13 中国航空工业集团公司西安飞机设计研究所 Configurable airborne software batch processing and curing method
CN114489831B (en) * 2021-12-29 2024-03-19 中国航空工业集团公司西安飞机设计研究所 Configurable airborne software batch processing and curing method

Also Published As

Publication number Publication date
CN111694576B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
CN111694576B (en) Comprehensive avionics system software deployment control method
CN110928802B (en) Test method, device, equipment and storage medium based on automatic generation use case
CN106843842B (en) Method and device for updating application program configuration file
CN110377454B (en) Data verification method and device, computer equipment and storage medium
US7174276B2 (en) System and method for tracking engineering changes relating to a circuit card
CN110442377B (en) Patch package generation method, application updating method, device and electronic equipment
CN107797823B (en) Business rule management method and device, storage medium and computer equipment
CN105550353A (en) Regular expression based form input method and system
CN111399898A (en) Management method and device for multi-module system code version and computer equipment
EP2887554A1 (en) Storage program, storage method, storage device, decompression program, decompression method, and decompression device
CN106445737B (en) Multi-backup starting method
CN116339703B (en) Bus interface code generation method and device, electronic equipment and medium
CN101017496A (en) Method and apparatus for automatically formatting data based on a best match test result type
WO2023231565A1 (en) Mirror image file processing method and apparatus, and storage medium and electronic apparatus
CN112540805A (en) Integrated item packaging method, device, equipment, storage medium and program product
CN113448764A (en) Check code generation method and device, electronic equipment and computer storage medium
CN115130043B (en) Database-based data processing method, device, equipment and storage medium
CN110222051B (en) Intelligent contract compression method for Ether house block chain
CN109117431A (en) System and method for the source data applied from source to be incorporated into the target data of target application
CN114860567A (en) Variable debugging method and system for embedded system
CN114201176A (en) Intelligent contract compiling and matching method, device, equipment and storage medium
CN112737831A (en) Firmware upgrade package processing method and device, electronic equipment and storage medium
CN112733210B (en) Equipment identifier obtaining method and device and computer readable storage medium
CN110825361A (en) Code modification method, device, equipment and readable storage medium
CN111291207A (en) Picture storage method and device and server

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