CN112882748B - Image file management and batch deployment tool of embedded system - Google Patents
Image file management and batch deployment tool of embedded system Download PDFInfo
- Publication number
- CN112882748B CN112882748B CN202110242625.9A CN202110242625A CN112882748B CN 112882748 B CN112882748 B CN 112882748B CN 202110242625 A CN202110242625 A CN 202110242625A CN 112882748 B CN112882748 B CN 112882748B
- Authority
- CN
- China
- Prior art keywords
- mapping file
- information
- file
- mapping
- image
- 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/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- 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
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a mapping file management and batch deployment tool of an embedded system, which comprises a mapping file information import module, a mapping file management module and a batch deployment module, wherein the mapping file information import module is used for reading all mapping file information from a working space of a development environment on a host terminal or extracting the mapping file information from a mapping file set provided by a user; the mapping file management module is used for generating version information of the mapping file and performing iterative management on the mapping file through the version information; extracting the dependency relationship among the components or applications from the working space or the mapping file set provided by the user, and controlling the compatibility among the components or applications through the dependency relationship; the batch deployment module is used for providing a graphical interface, grouping and configuring the image files and realizing the function of simultaneously deploying a plurality of image files on the multi-target machine end. The invention provides great convenience for system integration personnel to manage the mapping files and deploy in batches.
Description
Technical Field
The invention belongs to the technical field of computer system software, and particularly relates to a mapping file management and batch deployment tool of an embedded system.
Background
In a comprehensive avionics system, the roles of developers can be divided into system integrators, application developers, platform providers. The platform vendors include operating system platform vendors and hardware platform vendors. Because the integrated avionics system has a large number of functional modules, the versions of the modules are quickly changed, and the modules are provided by a plurality of different developers, the data of the modules are easily confused in management, which brings challenges to the system integrator in image management and deployment management of the modules. The mode of manually recording the versions of the mapping files sent by each developer and sequentially deploying the single files exposes the defects of low production efficiency, high possibility of errors, difficulty in positioning errors, high modification difficulty, high repeated workload and the like, and cannot meet the requirements of project development.
At present, no relevant mature theoretical method or product is found in the field.
Disclosure of Invention
The invention aims to provide an image file management and batch deployment tool of an embedded system, which is used for reducing the workload of a system integrator in the image file iterative management and batch deployment work of a multi-application complex system.
The invention provides a method for managing and deploying image files in batches, which comprises the following steps:
a mapping file management and batch deployment tool of an embedded system comprises a mapping file information import module, a mapping file management module and a batch deployment module, wherein the mapping file information import module and the mapping file management module are positioned at a host end and the batch deployment module is positioned at a target end according to positions of functions;
the mapping file information importing module is used for reading all mapping file information from a working space of a development environment on a host computer end or extracting the mapping file information from a mapping file set provided by a user;
the mapping file management module is used for generating version information of the mapping file and performing iterative management on the mapping file through the version information; extracting the dependency relationship among the components or the applications from the working space or the image file set provided by the user, and controlling the compatibility among the components or the applications through the dependency relationship;
the batch deployment module is used for providing a graphical interface, performing grouping configuration on the image files and realizing the function of simultaneously deploying a plurality of image files on the multi-target terminal.
Further, reading all image file information from the working space of the development environment on the host side, wherein the image file information comprises:
mapping files, mapping file types, mapping file deployment addresses, mapping file compatible operating system information, mapping file compatible other application information working space information, operating system information and target machine end information; the mapping file is a binary file and comprises an ELF file and a BIN file;
wherein the workspace information comprises: a workspace path, a workspace composition, a workspace compilation toolchain; the operating system information includes: operating system type, operating system version; the target terminal information comprises: the IP address of the target machine, the starting type of the target machine, a transmission protocol, a port number and a port baud rate.
Further, the types of the image file comprise an operating system, an application, configuration data, a partition operating system and a board-level program; the transmission protocol comprises a serial port protocol and a network protocol.
Further, the operating system information and the target machine side information can be obtained from the current version of the tool cache or can be generated by the system integrator through reediting.
Further, the generating version information of the image file includes:
the mapping file management module calculates mapping file check according to the mapping file information, compares the mapping file check with file check values of all previous versions, and if the mapping file check values are the same as the file check values of the previous versions, assigns the same version number to the mapping file; meanwhile, if the version number is lower than the version number of the image file used latest at present, report information is given to remind a system integrator; if the version number is different from the current file, the latest version number is given.
Further, the iterative management of the image file by version includes:
the mapping file management module reads the compatibility dependency relationship of each mapping file from a compatibility dependency list provided in the working space or the mapping file set, traverses other components or applications for each mapping file, and detects whether the version of each mapping file is more than or equal to the version required in the compatibility list; if not, an error is reported to the system integrator.
Further, the grouping configuration of the image files to implement the function of deploying a plurality of image files on the multi-target terminal simultaneously includes:
the batch deployment module provides a tree configuration structure for storing various data of the image file; the tree configuration structure is predefined by using XML Schema, and is grouped to configure mapping files; the image files on the same target terminal need to be configured under the same tree node.
Further, when all the image files need to be deployed, a plurality of target terminals are deployed in parallel, and the image files on a single target terminal are sequentially deployed in series according to the generated deployment list.
Compared with the prior art, the invention has the following technical characteristics:
the invention provides a mapping file management and batch deployment tool, which can help a system integrator to complete mapping file management and multi-target machine mapping file batch deployment functions, can complete mapping file fast iterative management and batch deployment work of a multi-application complex system, provides graphical display and editing functions, and greatly reduces the workload of the system integrator. The method realizes the change management of the mapping file through automatic version generation, and realizes the management of the files needing to be deployed on a plurality of target machines through grouping configuration. Therefore, the tool can simultaneously carry out parallel deployment operation on a plurality of target machines.
Drawings
FIG. 1 is a flow of image file management and bulk deployment;
FIG. 2 is a diagram of a target machine information configurable interface;
FIG. 3 is a flow chart illustrating image management version control;
fig. 4 is a diagram illustrating a grouping configuration of image files.
Detailed Description
The invention provides a mapping file management and batch deployment tool of an embedded system, wherein a user interacts through a user interface of the tool, can edit a mapping file configuration template according to requirements, and can manage mapping files according to the configuration template after editing is completed. When the working space is imported, all the configuration information can be acquired by the tool, manual input is not needed, and errors possibly introduced by manual input are greatly reduced. When only the image file set is input, the user also only needs to edit the configuration for the first time. And the image files can be grouped and configured, so that the function of simultaneously deploying a plurality of image files on a multi-target machine is realized.
In the present example, the user of the invention is a system integrator for integrating avionics systems. The development of the whole system is jointly completed by a plurality of suppliers. Each supplier only completes the generation of the relevant object code, namely the generation of the mapping file. The vendor may submit the workspace directly to the system integrator, but most situations provide only a collection of image files. The system integrator obtains a series of working spaces or image file collections, and a tool is needed to manage the image files and deploy the image files to the designated target machine without errors. Meanwhile, as the project progresses, multiple applications may have multiple versions, and the system integrator needs to know which applications correspond to which versions and the compatibility between versions. These are solved by the solution of the invention.
The invention has three major functions:
1. information import like files
FIG. 1 is a schematic diagram illustrating a framework for implementing image file management and batch deployment according to the present invention. As shown in fig. 1, when a system integrator imports a project workspace, it is first determined whether a record of the workspace already exists, and if the project workspace is imported for the first time, information of the workspace, image file information, operating system information, and target machine information need to be read; wherein the workspace information comprises: a workspace path, a workspace composition, a workspace compilation toolchain; the mapping file information includes: image file, image file version, image file type (operating system, application, configuration data, partition operating system, board level program), image file deployment address, image file compatible operating system information, image file compatible other applications or component information; the operating system information includes: operating system type, operating system version; the target machine information includes: target machine IP address, target machine start type, transmission protocol (serial port, network), port number and port baud rate. After the information is acquired, the tool stores the information into an XML file.
When the system integrator imports the image set, the image file information is read. If the information is input for the first time, the system integrator manually configures required information, including engineering information, target machine information, operating system information and the like. Wherein the target machine information configurable interface is shown in figure 2.
And the other method is to import the mapping file set, and the tool generates configuration data by analyzing the mapping file and extracting the engineering information cached in the tool. If the image file set is imported for the first time, the system integrator is required to manually complete the configuration.
2. Management of mapping files
The invention adopts a version control-based method to manage the mapping files. The image file is stored in the repository according to the name of the project. When an image file is newly input, as shown in fig. 3, it is first determined whether a record already exists in the library, and if not, the image file is first assigned with a version number and is backed up in the library. If the version number of the image file is different from the version number of the historical record, the latest version number is distributed to the image file. If this image file is lower than the latest version, a problem is reported to the system integrator. Next, it is necessary to rely on the dependencies and constraints provided in the image file information (a list of dependencies is usually given by the developer). And judging whether the constraint condition is met in the target integration system, and reporting an error to a system integrator if the constraint condition is not met.
3. Image file bulk deployment
The invention realizes the grouping configuration of the mapping files through graphical editing. As shown in fig. 4, a plurality of target machine node configurations may be configured under a tree structure. A plurality of image file information can be configured under each target machine node. The whole tree structure adopts XML tree for data storage. And the content format of the tree is predefined by adopting XML Schema. And reporting errors of illegal data input by the system integrator.
When a user needs to deploy all image files, the tool generates a plurality of deployment lists according to the form of a configuration tree structure, wherein each deployment list corresponds to one target machine node. These operations are all done in the host-side graphical interface. After the deployment list is generated, the host program calls the communication module to interact with the target machine, the state of the target machine end is inquired, and if the state of the target machine end is good, the mapping file deployment is started. And independently starting a thread every time one target machine host end is provided, wherein the thread finishes the whole-process interaction with the target machine end until all the mapping files under the target machine node are completely deployed. The tool thus enables multiple target machines to perform deployment operations in parallel. And the image files under a certain target machine are deployed in sequence according to the sequence of the deployment list.
When a user deploys only one mapping file, the tool firstly calls the communication module to establish an interactive relation with the target machine. And querying the compatibility relation between other components which are currently deployed at the target terminal and the components which need to be deployed, if the compatibility relation is between the other components, starting a deployment thread to perform deployment operation, and otherwise, reporting errors. The target machine end deployment operation supports two modes, namely RAM deployment and ROM deployment, wherein the RAM deployment deploys the image file to a volatile memory space and the image file is lost when power is cut off. The ROM deployment deploys the image file to a FLASH space, and the image file can still normally run when the target machine is started next time.
The invention has the characteristics that the version number can be automatically identified and distributed, the version control of the deployed mapping files is realized, simultaneously, the configuration information is graphically displayed, the mapping files can be configured in groups, and further, the function of deploying a plurality of mapping files on a plurality of target machines simultaneously is realized. The method realizes the change management of the mapping file through automatic version generation, and realizes the management of the files needing to be deployed on a plurality of target machines through grouping configuration. Therefore, the tool can simultaneously carry out parallel deployment operation on a plurality of target machines.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equally replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application, and are intended to be included within the scope of the present application.
Claims (7)
1. A mapping file management and batch deployment tool of an embedded system is characterized by comprising a mapping file information import module, a mapping file management module and a batch deployment module, wherein the mapping file information import module, the mapping file management module and the batch deployment module are positioned at a host end according to positions of functions;
the mapping file information import module is used for reading all mapping file information from a working space of a development environment on a host terminal or extracting the mapping file information from a mapping file set provided by a user;
the mapping file management module is used for generating version information of the mapping file and performing iterative management on the mapping file through the version information; extracting the dependency relationship among the components or the applications from the working space or the image file set provided by the user, and controlling the compatibility among the components or the applications through the dependency relationship;
the batch deployment module is used for providing a graphical interface, grouping and configuring the image files and realizing the function of simultaneously deploying a plurality of image files on a multi-target machine end, and comprises the following functions:
the batch deployment module provides a tree configuration structure for storing various data of the image file; the tree configuration structure is predefined by using XML Schema, and is grouped to configure mapping files; the image files on the same target machine end need to be configured under the same tree node.
2. The embedded system image file management and bulk deployment tool of claim 1, wherein all image file information is read from a workspace of the development environment on the host side, wherein the image file information comprises:
mapping files, mapping file types, mapping file deployment addresses, mapping file compatible operating system information, mapping file compatible other application information working space information, operating system information and target machine end information; the mapping file is a binary file and comprises an ELF file and a BIN file;
wherein the workspace information comprises: a workspace path, a workspace composition, a workspace compilation toolchain; the operating system information includes: operating system type, operating system version; the target terminal information comprises: the IP address of the target machine, the starting type of the target machine, a transmission protocol, a port number and a port baud rate.
3. The embedded system image file management and bulk deployment tool of claim 2, wherein the categories of image file types include operating system, applications, configuration data, partition operating system, board level programs; the transmission protocol comprises a serial port protocol and a network protocol.
4. The embedded system image file management and batch deployment tool of claim 2, wherein the operating system information and target side information can be obtained from an outdated version of a tool cache or re-edited by a system integrator.
5. The embedded system image file management and batch deployment tool of claim 1, wherein the generating version information of the image file comprises:
the mapping file management module calculates mapping file check according to the mapping file information, compares the mapping file check with file check values of all previous versions, and if the mapping file check values are the same as file check values of previous versions, the mapping file management module gives the same version number to the mapping file; meanwhile, if the version number is lower than the version number of the image file used latest at present, report information is given to remind a system integrator; if the version number is different from the past file, the latest version number is given.
6. The embedded system image file management and bulk deployment tool of claim 1, wherein the iterative management of image files by version comprises:
the mapping file management module reads the compatibility dependency relationship of each mapping file from a compatibility dependency list provided in the working space or the mapping file set, traverses other components or applications for each mapping file, and detects whether the version of each mapping file is more than or equal to the version required in the compatibility list; if not, an error is reported to the system integrator.
7. The embedded system image file management and batch deployment tool of claim 1, wherein when all image files need to be deployed, multiple target terminals are deployed in parallel, and multiple image files on a single target terminal are deployed in sequence according to the generated deployment list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110242625.9A CN112882748B (en) | 2021-03-04 | 2021-03-04 | Image file management and batch deployment tool of embedded system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110242625.9A CN112882748B (en) | 2021-03-04 | 2021-03-04 | Image file management and batch deployment tool of embedded system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112882748A CN112882748A (en) | 2021-06-01 |
CN112882748B true CN112882748B (en) | 2023-04-14 |
Family
ID=76055443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110242625.9A Active CN112882748B (en) | 2021-03-04 | 2021-03-04 | Image file management and batch deployment tool of embedded system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112882748B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113282423B (en) * | 2021-07-14 | 2021-11-16 | 中电金信软件有限公司 | Deployment method, system and computer readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848787A (en) * | 2006-04-30 | 2006-10-18 | 西安交通大学 | Automatic fast dispositioning method for aggregated server system node |
CN101159611A (en) * | 2007-11-12 | 2008-04-09 | 中国科学院计算技术研究所 | Batch system disposing method and device |
CN105187252A (en) * | 2015-09-28 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Method and system for batch deployment of customized systems |
CN108255938A (en) * | 2017-12-07 | 2018-07-06 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of airborne Embedded Main Memory Database image generation and loading method |
CN109062583A (en) * | 2018-07-24 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of calculator room equipment total management system and method |
CN109871221A (en) * | 2019-02-01 | 2019-06-11 | 中国电子科技集团公司第二十八研究所 | A kind of system for deployment mobile application software of quickly installing for mobile terminal device |
CN110392096A (en) * | 2019-06-21 | 2019-10-29 | 深圳市金锐显数码科技有限公司 | A kind of method, apparatus of file distributing, master controller and storage medium |
WO2020010906A1 (en) * | 2018-07-13 | 2020-01-16 | 华为技术有限公司 | Method and device for operating system (os) batch installation, and network device |
CN111427624A (en) * | 2020-03-20 | 2020-07-17 | 苏州浪潮智能科技有限公司 | Method, device and system for batch automatic deployment and configuration of servers |
CN111694576A (en) * | 2020-05-22 | 2020-09-22 | 中国航空工业集团公司西安航空计算技术研究所 | Software deployment control method for integrated avionics system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180067462A1 (en) * | 2016-09-08 | 2018-03-08 | Honeywell International Inc. | Modular batch design tool for batch engineering systems |
-
2021
- 2021-03-04 CN CN202110242625.9A patent/CN112882748B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848787A (en) * | 2006-04-30 | 2006-10-18 | 西安交通大学 | Automatic fast dispositioning method for aggregated server system node |
CN101159611A (en) * | 2007-11-12 | 2008-04-09 | 中国科学院计算技术研究所 | Batch system disposing method and device |
CN105187252A (en) * | 2015-09-28 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Method and system for batch deployment of customized systems |
CN108255938A (en) * | 2017-12-07 | 2018-07-06 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of airborne Embedded Main Memory Database image generation and loading method |
WO2020010906A1 (en) * | 2018-07-13 | 2020-01-16 | 华为技术有限公司 | Method and device for operating system (os) batch installation, and network device |
CN109062583A (en) * | 2018-07-24 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of calculator room equipment total management system and method |
CN109871221A (en) * | 2019-02-01 | 2019-06-11 | 中国电子科技集团公司第二十八研究所 | A kind of system for deployment mobile application software of quickly installing for mobile terminal device |
CN110392096A (en) * | 2019-06-21 | 2019-10-29 | 深圳市金锐显数码科技有限公司 | A kind of method, apparatus of file distributing, master controller and storage medium |
CN111427624A (en) * | 2020-03-20 | 2020-07-17 | 苏州浪潮智能科技有限公司 | Method, device and system for batch automatic deployment and configuration of servers |
CN111694576A (en) * | 2020-05-22 | 2020-09-22 | 中国航空工业集团公司西安航空计算技术研究所 | Software deployment control method for integrated avionics system |
Non-Patent Citations (2)
Title |
---|
自动化运维工具SaltStack的研究与自动化运维平台建设;赵新等;《信息通信技术》;20170215(第01期);全文 * |
自动化部署服务器系统;曾兰;《网络安全和信息化》;20180605(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112882748A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5745897A (en) | Method and system for compiling management information base specifications | |
US7275236B1 (en) | Method for programming a multiple device control system using object sharing | |
CN100481001C (en) | Interface automatic forming method and interface automatic forming system | |
US6493594B1 (en) | System and method for improved software configuration and control management in multi-module systems | |
US9557725B2 (en) | Apparatus and method for determining replacement compatibility of field devices in industrial process control systems | |
US20140310622A1 (en) | Tool for creating customized user interface definitions for a generic utility supporting on-demand creation of field device editor graphical user interfaces | |
US20070075916A1 (en) | Generic utility supporting on-demand creation of customizable graphical user interfaces for viewing and specifying field device parameters | |
US20070079250A1 (en) | Device home page for use in a device type manager providing graphical user interfaces for viewing and specifying field device parameters | |
WO2008005062A2 (en) | Rapidly developing sensor device-enabling software applications | |
US20220179642A1 (en) | Software code change method and apparatus | |
CN1577192A (en) | Configurable plc and scada-based control system | |
CN108897547B (en) | Software automation deployment method and device | |
CN1327341C (en) | Firmware automatic configuration system and method for substrate management controller | |
CN112882748B (en) | Image file management and batch deployment tool of embedded system | |
CN115061717A (en) | Application management method, application subscription method and related equipment | |
CN111399828A (en) | Model-driven logic device modeling method and terminal | |
US9038058B2 (en) | Configuration of software for a wind turbine | |
CN115098156A (en) | Network mode management system and management method | |
CN101729286B (en) | Method, device and system for modifying variables in management information base of agent terminal | |
US20090241075A1 (en) | Test chip validation and development system | |
CN112866049A (en) | Server host index acquisition method and system | |
JP3326713B2 (en) | Graphical programming method | |
CN113031977A (en) | Software batch installation method and related device | |
CN113254004A (en) | Data statistics platform based on WF4.0 framework | |
CN102521133A (en) | TCL (tool command language)-based white-box testing automation method and TCL-based white-box testing automation system |
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 |