Large-scale blueprint parallel deployment method, device and medium

By adopting large-scale blueprint parallel deployment method and re-power-down and then power-up mechanism in integrated electronic systems, the problems of slow blueprint deployment and unstable SRIO links in traditional serial deployment methods are solved, and efficient and reliable multi-module remote loading is achieved.

CN115437648BActive Publication Date: 2025-04-2510TH RES INST OF CETC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211011950.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2025-04-25
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

Traditional serial blueprint deployment methods cause slow blueprint deployment in large integrated electronic systems and cannot meet the needs of users' fast deployment tasks. At the same time, domestic SRIO switching chips have poor link status during blueprint deployment, resulting in SRIO failure to access the network.

Method used

Using a large-scale blueprint parallel deployment method, remote loading tasks are created through unit control modules, task message queues and control buses are used to implement multiple modules to simultaneously execute remote loading tasks, and re-power off and then power-on processing is carried out when SRIO fails to access the network, and message queues are restored to continue remote loading.

Benefits of technology

It improves the efficiency and reliability of blueprint deployment, ensures the efficiency and success rate of multi-module remote loading, and solves the problems of slow blueprint deployment and unstable SRIO links in traditional serial deployment methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115437648B_ABST
    Figure CN115437648B_ABST
Patent Text Reader

Abstract

The invention discloses a large-scale blueprint parallel deployment method, device and medium, which belongs to the application field of domestic chips, and comprises the steps of: adopting a blueprint parallel deployment method for remote loading on a domestic resource module on an integrated electronic system, using multi-tasking in software to perform remote loading tasks of different modules, executing multiple tasks simultaneously, and when an SRIO network access exception occurs in a processor of a single module, sending the message in the task to the corresponding module through a backup message queue, and only processing the single module; real-time monitoring of the SRIO link status in the blueprint, and when an SRIO link instability occurs in a module during remote loading, performing a power-off recovery mechanism for the corresponding module, restoring the instructions sent by the system through the backup message queue, and performing the remote loading task again, and through three opportunities of re-executing the task, the invention improves the probability of successful remote loading of the user application program, and has the advantages of high efficiency and high reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the application field of domestic chips, and more specifically, to a large-scale blueprint parallel deployment method, device and medium. Background Art

[0002] The characteristic of integrated electronic systems is that most functions in the system are realized by adding different software to general hardware modules. Commonly used embedded processors for general hardware modules include field programmable gate arrays FPGA, digital signal processors DSP, and general purpose processors GPP. FPGA has abundant input and output pins and task parallel execution, DSP has efficient data processing capabilities and a convenient and flexible debugging and development environment, and GPP can effectively support these non-digital signal processing control-intensive applications. These three types of embedded processors have their own advantages and are used to run different programs in integrated systems to handle different types of tasks. Their powerful performance is brought into play by running the programs in them.

[0003] At present, the integrated electronic information system mainly includes resource modules such as general data processing module (DPM), DSP-intensive signal processing module and FPGA-type signal processing module, network switching module (RCM), system control module (SCM) and high-speed large-scale storage module (MMM). Among them, the system control module is responsible for blueprint analysis and deployment, network management and information control and reporting in the subsystem in the integrated processing subsystem. The FPGA-intensive general signal processing module is a high-efficiency, high-performance, dynamically configurable digital signal processing unit in the integrated processing subsystem. It mainly completes the digital down-conversion and DBF processing of high-speed multi-channel sampling signals in the system to realize digital multi-beam forming. The DSP-intensive general signal processing module is a high-efficiency, high-performance, dynamically configurable digital signal processing unit in the integrated processing subsystem. It mainly completes functions such as radar signal processing. The network switching module is the serial RapidIO network switching hub in the integrated processing subsystem, which mainly completes the high-speed data interaction between the processing modules in the integrated processing and application stand-alone.

[0004] As an open, integrated general processing platform, the integrated electronic system is particularly important for realizing different functions on this platform. The system control module remotely transmits the functional program to different chips of the resource module through the blueprint deployment and runs it to achieve the purpose of remote loading. To complete a large-scale function, dozens of resource modules in the system need to remotely load the program together, run in coordination, and cooperate to complete the goal. The traditional serial blueprint deployment process, that is, the system control module serially issues blueprint deployment instructions to the resource module, waits for a processor to remotely load the program, and then remotely loads the program to the next processor, and finally deploys the required functional program to the corresponding processor. This method is more practical for smaller systems, but it cannot meet the requirements on large-scale integrated electronic systems. It makes the blueprint deployment abnormally slow and cannot meet the user's need to quickly deploy tasks. People in this field are in urgent need of solving this technical problem.

[0005] At present, the integrated electronic system uses domestically produced modules. During the use of domestically produced SRIO switching chips, there is a poor link status. This causes some processors in the blueprint deployment project to fail to access the SRIO network after remotely loading the program. It needs to be powered on and off again and then reloaded to recover. The processors on the resource module (such as Feiteng 6678) use a unified power supply mode and cannot be powered on and off separately. People in this field are in urgent need of solving this technical problem. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a large-scale blueprint parallel deployment method, device and medium, which solves the problem of insufficient serial blueprint deployment in the domestic module mode adopted in the integrated electronic system, and has the advantages of high efficiency and high reliability.

[0007] The object of the present invention is achieved through the following solutions:

[0008] A large-scale blueprint parallel deployment method includes the following steps:

[0009] S1, the unit control module creates remote loading tasks based on blueprint deployment according to different domestic modules;

[0010] S2, the unit control module puts the command in the task message queue of the corresponding module according to the module ID and backs it up. If a module needs to execute the program remote loading instruction, it proceeds to step S3, otherwise it proceeds to S4;

[0011] S3, placing the program remote loading instructions of different nodes of the same module in a queue, and proceeding to step S5;

[0012] S4, the currently received program remote loading instruction of other module IDs is placed in another message queue, and step S5 is performed;

[0013] S5, sending the remote loading instructions of the programs of different modules to different modules through the control bus, returning the execution result, and proceeding to step S6 if successful, otherwise proceeding to step S7;

[0014] S6, query whether the queue messages corresponding to different module IDs have been sent. If all are sent, proceed to step S9, otherwise return to step S5;

[0015] S7, if a processor in the same module fails to access the SRIO network during remote loading execution within the set number of times, proceed to step S8, otherwise it is determined to be a failure and returns to step S6;

[0016] S8, the unit control module performs power-off and power-on processing on the module, restores the backed-up message queue, continues to perform remote loading processing on the module, returns the execution result and returns to step S6 if successful, otherwise returns to step S7;

[0017] S9, reporting the multi-module remote loading blueprint deployment processing results to the system.

[0018] Further, in step S7, the set number of times includes three times.

[0019] Further, in step S8, the module is a module in which a processor in the same module fails to access the SRIO network during remote loading and execution within a set number of times.

[0020] Further, in step S8, the module is a module in which a processor in the same module fails to access the SRIO network during remote loading and execution within a set number of times.

[0021] Furthermore, the unit control module performs SRIO communication with each module through a network switching chip, and the SRIO communication links between the modules do not interfere with each other.

[0022] Furthermore, there are multiple processors on the domestically produced module, and the MSU of the domestically produced module is uniformly used for remote loading processing.

[0023] Furthermore, the MSU of the domestically produced module includes a 95T model.

[0024] Furthermore, the same domestically produced module needs to be processed serially.

[0025] A computer device comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is loaded by the processor, the method described in any one of the above items is executed.

[0026] A readable storage medium stores a computer program, wherein the computer program is loaded by a processor and executes any of the above methods.

[0027] The beneficial effects of the present invention include:

[0028] (1) The present invention has a highly efficient technical effect: a blueprint parallel deployment method is used for remote loading on domestic resource modules on integrated electronic systems, so that multiple modules can execute remote loading task processing at the same time. By using multi-tasking in the software, remote loading tasks of different modules are executed simultaneously, which shortens the waiting time. When an SRIO network access exception occurs in the processor of a single module, the message is sent to the corresponding module in the task through the backup message queue, and only the single module is processed, which does not affect the module tasks being processed in other task threads. The above two aspects ensure the high efficiency of subsequent remote loading of user applications.

[0029] (2) The present invention has a highly reliable technical effect: for the integrated electronic system, steps S6 to S8 are executed, and the link status of SRIO is monitored in real time in the blueprint. If the SRIO link of a module is unstable during remote loading, the power-off recovery mechanism of the corresponding module is implemented, and the instructions sent by the backup message queue recovery system are restored, and the remote loading task is performed again. By having three opportunities to re-execute the task, the probability of successful remote loading of the user application is also increased. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0031] Figure 1 A schematic diagram of a blueprint parallel deployment method according to an embodiment of the present invention;

[0032] Figure 2 It is a schematic diagram of the connection principle of various modules in the integrated electronic system of an embodiment of the present invention. DETAILED DESCRIPTION

[0033] All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and / or steps, can be combined and / or expanded or replaced in any manner.

[0034] like Figure 1As shown, the present invention aims at the shortcomings of serial blueprint deployment in the above-mentioned integrated electronic system using the domestic module mode, and proposes a large-scale blueprint parallel deployment method, including the steps of:

[0035] S1, the unit control module creates remote loading tasks based on blueprint deployment according to different domestic modules;

[0036] S2, the unit control module puts the command in the task message queue of the corresponding module according to the module ID and backs it up. If a module needs to execute the program remote loading instruction, it proceeds to step S3, otherwise it proceeds to S4;

[0037] S3, placing the program remote loading instructions of different nodes of the same module in a queue, and proceeding to step S5;

[0038] S4, the currently received program remote loading instruction of other module IDs is placed in another message queue, and step S5 is performed;

[0039] S5, sending the remote loading instructions of the programs of different modules to different modules through the control bus, returning the execution result, and proceeding to step S6 if successful, otherwise proceeding to step S7;

[0040] S6, query whether the queue messages corresponding to different module IDs have been sent. If all messages have been sent, proceed to step S9, otherwise proceed to step S5;

[0041] S7, if a processor in the same module fails to access the SRIO network during remote loading execution within three times, proceed to step S8, otherwise it is determined to be a failure and proceed to step S6;

[0042] S8, the unit control module performs power-off and power-on processing on the module, restores the backed-up message queue, continues to perform remote loading processing on the module, returns the execution result successfully and proceeds to step S6, otherwise proceeds to step S7;

[0043] S9, reporting the multi-module remote loading blueprint deployment processing results to the system.

[0044] The technical solution of the present invention powers off the selected modules uniformly after remote loading fails, and then reloads multiple processors of the modules remotely, thereby solving the technical problem that the processors on the resource module (such as Feiteng 6678) adopt a unified power supply mode and cannot be powered on and off individually.

[0045] In an optional solution, in an integrated electronic system, the unit control module performs SRIO communication with each module through a network switching chip, and the SRIO communication links between the modules do not interfere with each other.

[0046] In an optional solution, there are multiple processors on the domestically produced module used in the integrated electronic system, and the MSU (95T model) of the module is used uniformly for remote loading processing, and the same module needs to be processed serially.

[0047] Example 1

[0048] A large-scale blueprint parallel deployment method includes the following steps:

[0049] S1, the unit control module creates remote loading tasks based on blueprint deployment according to different domestic modules;

[0050] S2, the unit control module puts the command in the task message queue of the corresponding module according to the module ID and backs it up. If a module needs to execute the program remote loading instruction, it proceeds to step S3, otherwise it proceeds to S4;

[0051] S3, placing the program remote loading instructions of different nodes of the same module in a queue, and proceeding to step S5;

[0052] S4, the currently received program remote loading instruction of other module IDs is placed in another message queue, and step S5 is performed;

[0053] S5, sending the remote loading instructions of the programs of different modules to different modules through the control bus, returning the execution result, and proceeding to step S6 if successful, otherwise proceeding to step S7;

[0054] S6, query whether the queue messages corresponding to different module IDs have been sent. If all are sent, proceed to step S9, otherwise return to step S5;

[0055] S7, if a processor in the same module fails to access the SRIO network during remote loading execution within the set number of times, proceed to step S8, otherwise it is determined to be a failure and returns to step S6;

[0056] S8, the unit control module performs power-off and power-on processing on the module, restores the backed-up message queue, continues to perform remote loading processing on the module, returns the execution result and returns to step S6 if successful, otherwise returns to step S7;

[0057] S9, reporting the multi-module remote loading blueprint deployment processing results to the system.

[0058] Example 2

[0059] Based on Embodiment 1, in step S7, the set number of times includes three times.

[0060] Example 3

[0061] Based on the embodiment 1, in step S8, the module is a module in which a processor in the same module fails to access the SRIO network during remote loading and execution within a set number of times.

[0062] Example 4

[0063] Based on the embodiment 1, in step S8, the module is a module in which a processor in the same module fails to access the SRIO network during remote loading and execution within a set number of times.

[0064] Example 5

[0065] On the basis of Example 1, the unit control module performs SRIO communication with each module through the network switching chip, and the SRIO communication links between the modules do not interfere with each other.

[0066] Example 6

[0067] Based on Example 1, there are multiple processors on the domestic module, and the MSU of the domestic module is uniformly used to perform remote loading processing.

[0068] Example 7

[0069] Based on implementation 6, the MSU of the domestically produced module includes a 95T model.

[0070] Example 8

[0071] Based on Example 6, the same domestically produced module needs to be processed serially.

[0072] Example 9

[0073] A computer device comprises a processor and a memory, wherein a computer program is stored in the memory. When the computer program is loaded by the processor and executed, the method described in any one of Embodiments 1 to 8 is performed.

[0074] Example 10

[0075] A readable storage medium stores a computer program, wherein the computer program is loaded by a processor and executes the method described in any one of Embodiments 1 to 8.

[0076] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.

[0077] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.

[0078] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0079] The parts not involved in the present invention are the same as the prior art or can be implemented by using the prior art.

[0080] The above technical solution is only one implementation mode of the present invention. For those skilled in the art, it is easy to make various types of improvements or modifications based on the application methods and principles disclosed in the present invention, and it is not limited to the method described in the above specific implementation mode of the present invention. Therefore, the method described above is only preferred and does not have a restrictive meaning.

[0081] In addition to the above examples, those skilled in the art may obtain other embodiments based on the above disclosure or by using the knowledge or technology in the relevant field to make changes. The features of each embodiment may be interchangeable or replaced. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A large-scale blueprint parallel deployment method, characterized in that: Includes steps: S1, the unit control module creates remote loading tasks based on blueprint deployment according to different domestic modules; S2, the unit control module puts the command in the task message queue of the corresponding module according to the module ID and backs it up. If a module needs to execute the program remote loading instruction, it proceeds to step S3, otherwise it proceeds to S4; S3, placing the program remote loading instructions of different nodes of the same module in a queue, and proceeding to step S5; S4, the currently received program remote loading instruction of other module IDs is placed in another message queue, and step S5 is performed; S5, sending the remote loading instructions of the programs of different modules to different modules through the control bus, returning the execution result, and proceeding to step S6 if successful, otherwise proceeding to step S7; S6, query whether the queue messages corresponding to different module IDs have been sent. If all are sent, proceed to step S9, otherwise return to step S5; S7, if a processor in the same module fails to access the SRIO network during remote loading execution within the set number of times, proceed to step S8, otherwise it is determined to be a failure and returns to step S6; S8, the unit control module performs power-off and power-on processing on the module, restores the backed-up message queue, continues to perform remote loading processing on the module, returns the execution result and returns to step S6 if successful, otherwise returns to step S7; S9, reporting the multi-module remote loading blueprint deployment processing results to the system.

2. The large-scale blueprint parallel deployment method according to claim 1, characterized in that: In step S7, the set number of times includes three times.

3. The large-scale blueprint parallel deployment method according to claim 1, characterized in that: In step S8, the module is a module in which a processor in the same module fails to access the SRIO network during remote loading and execution within a set number of times.

4. The large-scale blueprint parallel deployment method according to claim 1, characterized in that: In step S8, the module is a module in which a processor in the same module fails to access the SRIO network during remote loading and execution within a set number of times.

5. The large-scale blueprint parallel deployment method according to claim 1, characterized in that: The unit control module performs SRIO communication with each module through a network switching chip, and the SRIO communication links between the modules do not interfere with each other.

6. The large-scale blueprint parallel deployment method according to claim 1, characterized in that: There are multiple processors on the domestically produced module, and the MSU of the domestically produced module is used uniformly for remote loading processing.

7. The large-scale blueprint parallel deployment method according to claim 6, characterized in that: The MSU of the domestically produced module includes the 95T model.

8. The large-scale blueprint parallel deployment method according to claim 6, characterized in that: The same domestically produced module needs to be processed serially.

9. A computer device, characterized in that: The computer device comprises a processor and a memory, wherein a computer program is stored in the memory. When the computer program is loaded by the processor, the method according to any one of claims 1 to 8 is executed.

10. A readable storage medium, characterized in that: A computer program is stored in a readable storage medium, and the computer program is loaded by a processor to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Service scheduling method and device, server and computer readable storage medium

    CN113434283A

  • Code deployment method and device and multi-tenant distributed system

    CN113821215A