CN112882770A - Distributed processing system data loading and upgrading framework and method - Google Patents
Distributed processing system data loading and upgrading framework and method Download PDFInfo
- Publication number
- CN112882770A CN112882770A CN202110243657.0A CN202110243657A CN112882770A CN 112882770 A CN112882770 A CN 112882770A CN 202110243657 A CN202110243657 A CN 202110243657A CN 112882770 A CN112882770 A CN 112882770A
- Authority
- CN
- China
- Prior art keywords
- loading
- data
- equipment
- configuration
- data loading
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000007711 solidification Methods 0.000 claims abstract description 4
- 230000008023 solidification Effects 0.000 claims abstract description 4
- 238000005245 sintering Methods 0.000 claims description 17
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000002360 preparation method Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 abstract description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- 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/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- 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/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a distributed processing system data loading and upgrading framework and a method, wherein the framework comprises a software loading configuration tool, data loading equipment and a distributed processing system to be upgraded, and the method comprises the following steps: the software loading configuration tool is used for generating a loading control file according to an upgrading requirement, copying the upgradable configuration item and the loading control file into a data loading card and connecting the upgradable configuration item and the loading control file to data loading equipment; the data loading equipment is used for analyzing the loading control file after receiving the control management command from the software loading configuration tool, transmitting and storing the configuration item which needs to be loaded with the upgradable and the loading control file in the electronic disk, and finally distributing the configuration item and the loading control file to a processor corresponding to the distributed processing system to be upgraded; and after receiving the upgrading command of the software loading configuration tool, the processor carries out the solidification upgrading of the upgradable configuration items according to the loading control file. The invention makes the upgrade and maintenance of the distributed processing system become simple and efficient, and improves the maintainability of the system.
Description
Technical Field
The invention relates to the field of embedded computer system design, in particular to a distributed processing system data loading and upgrading framework and a method.
Background
With the increasing complexity of embedded systems, the functional performance of the processing system is required to be improved, the distributed processing system becomes a multifunctional and multitask complex computer system, and a set of uniform process is required for data loading and upgrading of the complex processing system.
In the prior art, data upgrading of a distributed processing system needs to be burnt into hardware in the development process in advance, and the upgrading program change process is difficult.
Disclosure of Invention
The invention aims to provide a data loading and upgrading framework and a method for a distributed processing system, so that upgrading and maintenance of the distributed processing system become simple and efficient, and the maintainability of the system is greatly improved.
In order to realize the task, the invention adopts the following technical scheme:
a distributed processing system data loading upgrade framework comprises a software loading configuration tool, data loading equipment and a distributed processing system to be upgraded, wherein:
the software loading configuration tool is used for generating a loading control file according to an upgrading requirement, copying loadable data comprising an upgradable configuration item and the loading control file into a data loading card, and connecting the data loading card to data loading equipment;
the data loading equipment is used for reading the file in the data loading card after receiving the control management command from the software loading configuration tool, and transmitting and storing the upgradable configuration item to be loaded and the loading control file in the electronic disk by analyzing and loading the control file; after receiving a distribution command of a software loading configuration tool, the data loading equipment distributes the upgradable configuration items and the loading control files in the electronic disk to a processor corresponding to the distributed processing system to be upgraded;
and after receiving the upgrading command of the software loading configuration tool, the processor carries out the solidification upgrading of the upgradable configuration items according to the loading control file.
Further, the upgradable configuration items comprise an operating system, a configuration file, FPGA logic, application software, a database and a driver file.
Further, the upgrade order includes which upgradable configuration items in which processing machines need to be upgraded.
A data loading and upgrading method for a distributed processing system comprises the following steps:
the upper computer running the software loading configuration tool enters a software loading management function, sends a loading environment preparation command to the data loading equipment and inquires whether the processor is online, whether a loadable file exists or not and file information can be loaded;
the data loading equipment searches whether loadable data exist in the data loading card according to a preset file management mode and sends an equipment searching command to the processor;
after receiving the command of searching the equipment, the processor sends equipment information to the data loading equipment, wherein the equipment information comprises a processor name and a unique identifier;
if the processor is online and loadable data corresponding to the processor exists on the data loading card, the data loading equipment sends the information to the upper computer so that the upper computer displays the name of the processor and the loadable data corresponding to the name;
analyzing the loading control file and storing the upgradable configuration item and the loading control file in the electronic disk; the operator selects the upgradable configuration items and the processors of the distributed processing system needing to be upgraded through the upper computer, and then submits an upgrading command to the data loading equipment.
Further, the load upgrade method further includes:
the data loading equipment transmits data to the processor by using the electronic disk according to a loading protocol, and after the processor reports the state to the data loading manager, the data loading equipment replies the transmission progress and the state to the upper computer;
the processor performs data integrity check after receiving the loadable data, replies the state to the data loading equipment, and the data loading equipment sends the transmission completion and the check state to the upper computer after receiving the state command;
after the processing machine checks the loadable data correctly, the processing machine carries out file block sintering according to preset configuration information, sends sintering progress to the data loading equipment, and the data loading equipment transmits the sintering progress to the upper computer after receiving the status command;
and after the processor finishes sintering, modifying the starting mark, transmitting sintering finishing state information to the upper computer after the data loading equipment receives the state command.
Further, the files transmitted in the whole loading and upgrading process include two major types, namely protocol files and data files, wherein the protocol files are dynamically created in the loading process, and the data files are the loadable data.
Further, the protocol file is used for carrying out loading initialization, uploading a loading list, and monitoring the loading process and state.
Further, the data file comprises a header file, an image and a configuration table; wherein, the header file is a configuration file necessary for one-time loading operation and is used for describing the information of the loadable image and the configuration table; the header file is transmitted to the handler prior to the mapping and configuration table to inform the handler of the data information to be loaded.
Compared with the prior art, the invention has the following technical characteristics:
the loading and upgrading method provided by the invention defines a data loading and upgrading framework, data loading and upgrading contents, a data loading and upgrading process and a data loading file format; according to the method, the data of the distributed processing system is upgraded, the data loading and upgrading operation is simple and efficient, and the maintainability of the system is greatly improved.
Drawings
FIG. 1 is a distributed processing system data load upgrade framework;
FIG. 2 is a flow of a distributed processing system data load upgrade.
Detailed Description
The data loading and upgrading mainly realizes that the data files to be upgraded of the distributed processing system are loaded and solidified from the data loading card of the data loading equipment to the processing nodes of the distributed processing system. The invention provides a data loading and upgrading framework and a method for a distributed processing system, and provides the data loading and upgrading framework, data loading and upgrading contents, a data loading and upgrading process and a data loading file format.
As shown in fig. 1, the data loading and upgrading framework includes a software loading configuration tool, a data loading device, and a distributed processing system to be upgraded; the upgradable configuration items comprise an operating system, driving software, application software, configuration data, FPGA logic and the like. As shown in fig. 2, the data loading and upgrading process mainly includes that the upper computer sends an upgrading command to the data loading device, and the data loading device controls the processing nodes of the distributed processing system to perform data upgrading. The data loading file format gives files related to the loading upgrading process according to table 1, and the files transmitted in the whole loading process comprise two major types, namely protocol files and data files.
As shown in fig. 1, a distributed processing system data loading and upgrading framework includes a software loading configuration tool, a data loading device, and a distributed processing system to be upgraded, where:
the software loading configuration tool is used for generating a loading control file according to an upgrading requirement, copying loadable data comprising an upgradable configuration item and the loading control file into a data loading card, and connecting the data loading card to data loading equipment; the configuration items which can be upgraded comprise an operating system, a configuration file, FPGA logic, application software, a database and a drive file;
the data loading equipment is used for reading the file in the data loading card after receiving the control management command from the software loading configuration tool, and transmitting and storing the upgradable configuration item to be loaded and the loading control file in the electronic disk by analyzing and loading the control file; after receiving a distribution command of a software loading configuration tool, the data loading equipment distributes the upgradable configuration items and the loading control files in the electronic disk to a processor corresponding to the distributed processing system to be upgraded;
after receiving an upgrading command of the software loading configuration tool, the processor carries out solidification upgrading of the upgradable configuration items according to the loading control file; wherein, the upgrading command includes which upgradable configuration items in which processing machines need to be upgraded.
The invention also discloses a data loading upgrade method of the distributed processing system, which comprises the following steps:
(1) the upper computer running the software loading configuration tool enters a software loading management function, sends a loading environment preparation command to the data loading equipment and inquires whether the processor is online, whether a loadable file exists, file information can be loaded and the like; the upper computer can be a portable notebook computer.
(2) And the data loading equipment searches whether loadable data exists in the data loading card according to a preset file management mode and sends an equipment searching command to the processor.
(3) And after receiving the command of searching the equipment, the processor sends equipment information to the data loading equipment, wherein the equipment information comprises a processor name, a unique identifier and the like.
(4) If the processor is online and loadable data (a loading control file and a scalable configuration item) corresponding to the processor exists on the data loading card, the data loading equipment sends the information to the upper computer so that the upper computer displays the name of the processor and the loadable data corresponding to the name.
(5) Analyzing the loading control file and storing the upgradable configuration item and the loading control file in the electronic disk; the operator selects the upgradable configuration items and the processors of the distributed processing system needing to be upgraded through the upper computer, and then submits an upgrading command to the data loading equipment.
(6) The data loading equipment transmits data to the processor by using the electronic disk according to a loading protocol, after the processor reports the state to the data loading manager, the data loading equipment replies the transmission progress and the state to the upper computer, and the upper computer displays the transmission progress and the state;
(7) the processor performs data integrity check after receiving the loadable data, replies the state to the data loading equipment, the data loading equipment sends the transmission completion and check state to the upper computer after receiving the state command, and the upper computer displays the transmission completion and check state;
(8) after the processing machine checks the loadable data correctly, the processing machine carries out file block sintering according to preset configuration information and sends sintering progress to the data loading equipment, the data loading equipment transmits the sintering progress to the upper computer after receiving the status command, and the upper computer displays the sintering progress;
(9) and after the processor finishes sintering, modifying the starting mark, transmitting sintering finishing state information to the data loading equipment, transmitting the sintering finishing state information to the upper computer after the data loading equipment receives the state command, and displaying and upgrading the completion by the upper computer.
The files transmitted in the whole loading and upgrading process comprise two major types of protocol files and data files;
protocol files are LUI, LUS and LUR, and are dynamically created in the loading process; the data file is loadable data, including: header files (. LUH), images, and configuration tables; the header file is a configuration file necessary for one-time loading operation, is used for describing the information of the loadable image and configuration table, and is transmitted to the processor before the image and configuration table so as to inform the processor of the data information to be loaded.
TABLE 1 Loading files involved in the upgrade flow
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 (8)
1. A distributed processing system data loading upgrade framework is characterized by comprising a software loading configuration tool, data loading equipment and a distributed processing system to be upgraded, wherein:
the software loading configuration tool is used for generating a loading control file according to an upgrading requirement, copying loadable data comprising an upgradable configuration item and the loading control file into a data loading card, and connecting the data loading card to data loading equipment;
the data loading equipment is used for reading the file in the data loading card after receiving the control management command from the software loading configuration tool, and transmitting and storing the upgradable configuration item to be loaded and the loading control file in the electronic disk by analyzing and loading the control file; after receiving a distribution command of a software loading configuration tool, the data loading equipment distributes the upgradable configuration items and the loading control files in the electronic disk to a processor corresponding to the distributed processing system to be upgraded;
and after receiving the upgrading command of the software loading configuration tool, the processor carries out the solidification upgrading of the upgradable configuration items according to the loading control file.
2. The distributed processing system data loading upgrade framework of claim 1, wherein the upgradeable configuration items comprise operating systems, configuration files, FPGA logic, application software, databases, and driver files.
3. The distributed processing system data loading upgrade framework of claim 1, wherein the upgrade commands include which of the upgradeable configuration items in which processors require upgrading.
4. A data loading and upgrading method for a distributed processing system is characterized by comprising the following steps:
the upper computer running the software loading configuration tool enters a software loading management function, sends a loading environment preparation command to the data loading equipment and inquires whether the processor is online, whether a loadable file exists or not and file information can be loaded;
the data loading equipment searches whether loadable data exist in the data loading card according to a preset file management mode and sends an equipment searching command to the processor;
after receiving the command of searching the equipment, the processor sends equipment information to the data loading equipment, wherein the equipment information comprises a processor name and a unique identifier;
if the processor is online and loadable data corresponding to the processor exists on the data loading card, the data loading equipment sends the information to the upper computer so that the upper computer displays the name of the processor and the loadable data corresponding to the name;
analyzing the loading control file and storing the upgradable configuration item and the loading control file in the electronic disk; the operator selects the upgradable configuration items and the processors of the distributed processing system needing to be upgraded through the upper computer, and then submits an upgrading command to the data loading equipment.
5. The distributed processing system data load upgrade method according to claim 4, wherein the load upgrade method further comprises:
the data loading equipment transmits data to the processor by using the electronic disk according to a loading protocol, and after the processor reports the state to the data loading manager, the data loading equipment replies the transmission progress and the state to the upper computer;
the processor performs data integrity check after receiving the loadable data, replies the state to the data loading equipment, and the data loading equipment sends the transmission completion and the check state to the upper computer after receiving the state command;
after the processing machine checks the loadable data correctly, the processing machine carries out file block sintering according to preset configuration information, sends sintering progress to the data loading equipment, and the data loading equipment transmits the sintering progress to the upper computer after receiving the status command;
and after the processor finishes sintering, modifying the starting mark, transmitting sintering finishing state information to the upper computer after the data loading equipment receives the state command.
6. The method for loading and upgrading data of a distributed processing system according to claim 4, wherein the files transmitted in the whole loading and upgrading process include two major types, namely protocol files and data files, wherein the protocol files are dynamically created in the loading process, and the data files are the loadable data.
7. The method for upgrading data loading of a distributed processing system according to claim 6, wherein the protocol file is used for performing loading initialization, uploading a loading list, and monitoring the loading process and status.
8. The distributed processing system data loading upgrade method of claim 6, wherein the data files comprise header files, images, and configuration tables; wherein, the header file is a configuration file necessary for one-time loading operation and is used for describing the information of the loadable image and the configuration table; the header file is transmitted to the handler prior to the mapping and configuration table to inform the handler of the data information to be loaded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110243657.0A CN112882770B (en) | 2021-03-04 | 2021-03-04 | Data loading and upgrading framework and method for distributed processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110243657.0A CN112882770B (en) | 2021-03-04 | 2021-03-04 | Data loading and upgrading framework and method for distributed processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112882770A true CN112882770A (en) | 2021-06-01 |
CN112882770B CN112882770B (en) | 2024-01-12 |
Family
ID=76055460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110243657.0A Active CN112882770B (en) | 2021-03-04 | 2021-03-04 | Data loading and upgrading framework and method for distributed processing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112882770B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030093688A1 (en) * | 2000-06-28 | 2003-05-15 | Helgesen Jan Ingvard | Method for automation of software upgrade |
US20060184930A1 (en) * | 2005-02-11 | 2006-08-17 | Fuente Carlos F | Coordinating software upgrades in distributed systems |
CN102662701A (en) * | 2012-03-28 | 2012-09-12 | 中兴通讯股份有限公司 | Online CPLD (Complex Programmable Logic Devices) upgrading method, device and business veneer |
CN103513997A (en) * | 2012-06-21 | 2014-01-15 | 比亚迪股份有限公司 | Program recording method and system used for bus network |
CN106446168A (en) * | 2016-09-26 | 2017-02-22 | 北京赛思信安技术股份有限公司 | Oriented distribution data warehouse high efficiency load client end realization method |
CN108170490A (en) * | 2017-12-07 | 2018-06-15 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of IMA system datas loading framework and loading method |
US20200012488A1 (en) * | 2013-03-15 | 2020-01-09 | Electro Industries/Gauge Tech | Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices |
-
2021
- 2021-03-04 CN CN202110243657.0A patent/CN112882770B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030093688A1 (en) * | 2000-06-28 | 2003-05-15 | Helgesen Jan Ingvard | Method for automation of software upgrade |
US20060184930A1 (en) * | 2005-02-11 | 2006-08-17 | Fuente Carlos F | Coordinating software upgrades in distributed systems |
CN102662701A (en) * | 2012-03-28 | 2012-09-12 | 中兴通讯股份有限公司 | Online CPLD (Complex Programmable Logic Devices) upgrading method, device and business veneer |
CN103513997A (en) * | 2012-06-21 | 2014-01-15 | 比亚迪股份有限公司 | Program recording method and system used for bus network |
US20200012488A1 (en) * | 2013-03-15 | 2020-01-09 | Electro Industries/Gauge Tech | Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices |
CN106446168A (en) * | 2016-09-26 | 2017-02-22 | 北京赛思信安技术股份有限公司 | Oriented distribution data warehouse high efficiency load client end realization method |
CN108170490A (en) * | 2017-12-07 | 2018-06-15 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of IMA system datas loading framework and loading method |
Non-Patent Citations (1)
Title |
---|
戴小氐 等: "机载分布式中间件技术研究", 《航空计算技术》, vol. 51, no. 10, pages 75 - 79 * |
Also Published As
Publication number | Publication date |
---|---|
CN112882770B (en) | 2024-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2019327C (en) | User inquiry facility for data processing systems | |
CN102197364B (en) | Systems and methods for managing printer settings in a networked computing environment | |
CN101395569B (en) | Method for changing printer drivers in information processing apparatus | |
US7711523B2 (en) | System for remote monitoring and control of an instrument | |
JPH08161250A (en) | Information processor | |
US9594606B2 (en) | Runtime extension framework | |
CN103874984A (en) | Virtualizable and forward-compatible hardware-software interface | |
CN101727340A (en) | Printer upgrade mechanism | |
US6275866B1 (en) | Manipulation and coupling of object oriented components | |
US20060167886A1 (en) | System and method for transmitting data from a storage medium to a user-defined cluster of local and remote server blades | |
CN113590146A (en) | Server and container upgrading method | |
CN112882770B (en) | Data loading and upgrading framework and method for distributed processing system | |
JP7073654B2 (en) | Information processing systems, information processing equipment and programs | |
KR100759816B1 (en) | Web-Based Development Environment Providing System and Method for Integrated Configuration of Embedded Linux Kernel and Application | |
US7202961B2 (en) | Method for dynamically creating a printer driver | |
JPH11272471A (en) | Software distribution system and recording medium stored with program used for the same | |
US7240348B2 (en) | Suspending scenario generation method, server device, and program therefor | |
JP2004341707A (en) | Maintenance work support system and method for computer | |
JP2999516B2 (en) | Character output control method and device for terminal device | |
CN117632569B (en) | Method and device for remedying PCI equipment information loss at BMC webpage end | |
US11360787B2 (en) | Information processing system and control method | |
JP2002007082A (en) | Input/output controller, input/output control system, input/output control method and computer readable recording medium having input/output control program recorded thereon | |
JP2002342043A (en) | Network printer system | |
JP2008046669A (en) | Operation management program, operation management method and device for executing the method | |
US8169636B2 (en) | Method, computer and computer program modules to transfer data in a computer network, and such a computer network |
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 |