Federal learning-oriented arrangement method, arrangement system and storage medium

Through the registration request processing of the engine management module and the component management module, the job orchestration template is generated, which solves the problem of inconsistent orchestration interfaces, simplifies the job orchestration workload, and improves the job orchestration efficiency and user experience.

CN118796174APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410129635.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-30
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing federated learning business, inconsistent orchestration interfaces lead to the decoupling of management services and engines, increasing the transformation workload and reducing job orchestration efficiency.

Method used

Through the registration request processing of the engine management module and component management module, job orchestration templates are generated to achieve unified orchestration, reduce the transformation workload on the engine side, and improve job orchestration efficiency.

Benefits of technology

It simplifies the workload of job orchestration, improves the efficiency of job orchestration, reduces the workload of engine-side modification, and improves the flexibility of the orchestration system and the consistency of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796174A_ABST
    Figure CN118796174A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a federated learning-oriented arrangement method and system and a storage medium, the arrangement system comprises an arrangement module, an engine management module and a component management module, and the method comprises the following steps: the engine management module receives a first registration request sent by an engine, and performs engine registration based on the first registration request; wherein the first registration request carries first registration information; the component management module receives a second registration request sent by the engine, and performs component registration based on the second registration request; wherein the second registration request carries second registration information; and the arrangement module performs arrangement processing based on the first registration information and the second registration information to generate the job arrangement template, that is, unified arrangement processing can be performed through the arrangement module, the engine management module and the component management module in the arrangement system, so that the job arrangement workload can be simplified, and the job arrangement efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an orchestration method, an orchestration system and a storage medium for federated learning. Background Art

[0002] The current federated learning business execution includes two stages: computing orchestration and scheduling execution. The goal of job orchestration is to drag and drop components from the component library in the canvas to the canvas, and configure component parameters and outputs by combining component parameter templates and component output templates for rendering and display; the component flow relationship is represented by lines, and the lines can be used to configure component input parameters according to the input parameter template rendering and display; finally, the job parameters are displayed by rendering and displaying the job parameters through the job parameter template, and the job parameters can be configured. After the orchestration module generates the job configuration and submits it, the scheduling module performs job parsing and job / task scheduling execution. Combined with the implementation methods of the orchestration module and the scheduling module, the evolution of the Data Service Node (DSN) architecture is divided into three modes: Mode 1: Page jumps to the engine self-built orchestration; Mode 2: Management service system unified orchestration; Mode 3: Management service system unified orchestration and scheduling.

[0003] However, mode 1 uses page jumps, which results in poor user experience consistency; mode 2 has a unified orchestration interface and a relatively consistent user experience, but the existing engine side transformation workload is large and the engine provider's acceptance is low; mode 3 has a small transformation workload, but the engine provider only provides algorithms, the scheduling framework is fixed, the flexibility is low, and the engine provider's acceptance is low. In summary, the above three modes have inconsistent orchestration interfaces, decoupling of management services and engines, resulting in a large transformation workload, which in turn reduces the efficiency of job orchestration. Summary of the invention

[0004] The embodiments of the present application provide an orchestration method, an orchestration system, and a storage medium for federated learning, which can achieve unified orchestration, thereby simplifying the workload of job orchestration and improving the efficiency of job orchestration.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides an orchestration method for federated learning, the method being applied to an orchestration system, the orchestration system comprising an orchestration module, an engine management module, and a component management module, the method comprising:

[0007] The engine management module receives a first registration request sent by the engine, and performs engine registration based on the first registration request; wherein the first registration request carries first registration information;

[0008] The component management module receives the second registration request sent by the engine, and performs component registration based on the second registration request; wherein the second registration request carries second registration information;

[0009] The arrangement module performs arrangement processing based on the first registration information and the second registration information to generate a job arrangement template.

[0010] In a second aspect, an embodiment of the present application provides an orchestration system, the orchestration system comprising: an orchestration module, an engine management module, and a component management module;

[0011] The engine management module is configured to receive a first registration request sent by the engine, and perform engine registration based on the first registration request; wherein the first registration request carries first registration information;

[0012] The component management module is used to receive the second registration request sent by the engine, and perform component registration based on the second registration request; wherein the second registration request carries second registration information;

[0013] The arrangement module is used to perform arrangement processing based on the first registration information and the second registration information to generate a job arrangement template.

[0014] In a third aspect, an embodiment of the present application provides an orchestration system, the orchestration system comprising: a processor and a memory; wherein:

[0015] The memory is used to store a computer program that can be run on the processor;

[0016] The processor is used to execute the above-mentioned orchestration method for federated learning when running the computer program.

[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that a computer program code is stored on the storage medium, and when the computer program code is executed by a computer, the above-mentioned orchestration method for federated learning is implemented.

[0018] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, it implements the above-mentioned orchestration method for federated learning.

[0019] The embodiment of the present application provides an orchestration method, an orchestration system and a storage medium for federated learning. The orchestration system includes an orchestration module, an engine management module and a component management module. The method includes: the engine management module receives a first registration request sent by the engine, and registers the engine based on the first registration request; wherein the first registration request carries the first registration information; the component management module receives a second registration request sent by the engine, and registers the component based on the second registration request; wherein the second registration request carries the second registration information; the orchestration module performs an orchestration process based on the first registration information and the second registration information to generate a job orchestration template. That is, the engine management module in the orchestration system can register the engine based on the first registration request, and the component management module in the orchestration system can register the component based on the second registration request, and the engine side only needs a small amount of transformation work, so that the orchestration module can perform an orchestration process based on the first registration information and the second registration information to generate a job orchestration template, that is, the present application can perform a unified orchestration process through the orchestration module, the engine management module and the component management module in the orchestration system to generate a job orchestration template, thereby simplifying the workload of job orchestration and improving the efficiency of job orchestration. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is a schematic diagram of the structure of Mode 1;

[0021] Figure 2 This is a schematic diagram of the structure of Mode 2;

[0022] Figure 3 This is a schematic diagram of the structure of Mode 3;

[0023] Figure 4 Schematic diagram of the arrangement method for federated learning proposed in the embodiment of the present application Figure 1 ;

[0024] Figure 5 Schematic diagram of the arrangement method for federated learning proposed in the embodiment of the present application Figure 2 ;

[0025] Figure 6 Schematic diagram of the arrangement method for federated learning proposed in the embodiment of the present application Figure 3 ;

[0026] Figure 7 Schematic diagram of the composition structure of the arrangement system proposed in the embodiment of the present application Figure 1 ;

[0027] Figure 8 Schematic diagram of the composition structure of the arrangement system proposed in the embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It is understood that the specific embodiments described herein are only used to explain the related applications, rather than to limit the applications. It should also be noted that, for ease of description, only the parts related to the related applications are shown in the drawings.

[0029] Currently, the execution of federated learning business includes two stages, computing orchestration and scheduling execution. The goal of job orchestration is to drag and drop components from the component library in the canvas to the canvas, and configure component parameters and outputs in combination with component parameter templates and component output templates. The connection represents the component flow relationship, and the connection can be configured according to the input parameter template rendering display. Finally, the job parameters can be configured by rendering the job parameter template. After the above types of information are configured, they can be encapsulated and generated into a directed acyclic graph (DAG) and a configuration file (conf) according to the engine's job interface configuration method. DAG is used to represent the component flow logic, and conf is used to represent the job or component configuration. After the orchestration module generates the job configuration and submits it, the scheduling module performs job parsing and job / task scheduling execution. Combined with the implementation methods of the orchestration module and the scheduling module, the evolution of the Data Service Node (DSN) architecture is divided into three modes: Mode 1: The page jumps to the engine's self-built orchestration; Figure 1 is a schematic diagram of the structure of mode 1, such as Figure 1 As shown, the management service system includes job creation and other management service functions, and the engine side includes an orchestration module, a scheduling module, an algorithm library, an operator library, and components; Mode 2: Unified orchestration of the management service system; Figure 2 is a schematic diagram of the structure of mode 2, such as Figure 2 As shown, the management service system includes job creation, orchestration modules and other management service functions, and the engine side includes scheduling modules, algorithm libraries, operator libraries and components; Mode 3: The management service system unifies orchestration and scheduling; Figure 3 is a schematic diagram of the structure of mode 3, such as Figure 3 As shown, the management service system includes job creation, orchestration module, scheduling module and other management service functions, and the engine side includes algorithm library, operator library and components.

[0030] However, mode 1 uses page jumps, which results in poor user experience consistency; mode 2 has a unified orchestration interface and a relatively consistent user experience, but the existing engine side transformation workload is large and the engine provider's acceptance is low; mode 3 has a small transformation workload, but the engine provider only provides algorithms, the scheduling framework is fixed, the flexibility is low, and the engine provider's acceptance is low. In summary, the above three modes have inconsistent orchestration interfaces, decoupling of management services and engines, resulting in a large transformation workload, which in turn reduces the efficiency of job orchestration.

[0031] In order to solve the current problems of inconsistent orchestration interfaces and decoupling of management services from engines, which leads to a large workload for transformation and reduces the efficiency of job orchestration, the embodiments of the present application provide an orchestration method, an orchestration system and a storage medium for federated learning. The orchestration system includes an orchestration module, an engine management module and a component management module. The method includes: the engine management module receives a first registration request sent by the engine, and registers the engine based on the first registration request; wherein the first registration request carries first registration information; the component management module receives a second registration request sent by the engine, and registers the component based on the second registration request; wherein the second registration request carries second registration information; the orchestration module performs orchestration processing based on the first registration information and the second registration information to generate a job orchestration template. That is to say, the engine management module in the orchestration system can register the engine based on the first registration request, and the component management module in the orchestration system can register the component based on the second registration request, and only a small amount of modification work is required on the engine side, so that the orchestration module can perform orchestration processing based on the first registration information and the second registration information to generate a job orchestration template. That is, the present application can perform unified orchestration processing through the orchestration module, engine management module and component management module in the orchestration system to generate a job orchestration template, thereby simplifying the job orchestration workload and improving the job orchestration efficiency.

[0032] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0033] Embodiment 1

[0034] The embodiment of the present application provides an orchestration method for federated learning, which is applied to an orchestration system, wherein the orchestration system includes an orchestration module, an engine management module, and a component management module. Figure 4 Schematic diagram of the arrangement method for federated learning proposed in the embodiment of the present application Figure 1 ,like Figure 4 As shown, the orchestration method for federated learning can include the following steps:

[0035] Step 101: The engine management module receives a first registration request sent by an engine, and registers the engine based on the first registration request; wherein the first registration request carries first registration information.

[0036] In an embodiment of the present application, the engine management module in the orchestration system may receive a first registration request sent by the engine, and register the engine based on the first registration request; wherein the first registration request carries first registration information.

[0037] It should be noted that, in the embodiments of the present application, the orchestration system may include an orchestration module, an engine management module, and a component management module. The present application does not specifically limit the number and type of modules included in the orchestration system.

[0038] It should be noted that, in an embodiment of the present application, the first registration information may include engine dimension information, and the engine dimension information includes at least an operation parameter template, an interface encapsulation format, a first connection event, and an operation parameter event. The present application does not specifically limit the type and quantity of information included in the first registration information.

[0039] It should be noted that, in the embodiment of the present application, the job parameter template is used to characterize the job parameter format, corresponding to the job configuration, and the job parameter template may include a job parameter list, and the job parameter list is shown in Table 1 below.

[0040] Table 1

[0041]

[0042] Among them, job_parameters represents job parameter information, param_key represents the key in the key:value structure in the parameter identifier, param_name represents the name of the parameter displayed on the front end, param_type represents the parameter rendering type, param_value_type represents the parameter value type, default_value represents the default value, string represents the string type, integer represents the data type of integer value, boolean represents a binary data type with two possible values: true and false, and number can represent different numerical forms, including integers (int), floating point numbers (float), and complex numbers (complex).

[0043] Step 102: The component management module receives a second registration request sent by the engine, and registers the component based on the second registration request; wherein the second registration request carries second registration information.

[0044] In an embodiment of the present application, after the engine management module in the orchestration system receives a first registration request sent by the engine and registers the engine based on the first registration request, the component management module in the orchestration system can receive a second registration request sent by the engine and register the component based on the second registration request; wherein the second registration request carries second registration information.

[0045] It should be noted that, in an embodiment of the present application, the second registration information includes component dimension information, and the component dimension information includes at least a component parameter template, a component input template, a component output template, and a first component parameter event. The present application does not specifically limit the type and quantity of information included in the second registration information.

[0046] It should be noted that in an embodiment of the present application, the component parameter template includes a component parameter list corresponding to the component. Depending on whether the component needs to distinguish parameters by role, the components are divided into two categories, general components and differentiated components. The component parameter list is shown in Table 2 below.

[0047] Table 2

[0048]

[0049]

[0050] Among them, Components represents components, Component_type represents component type, component_name represents component name, component_parameters represents component parameter information, param_key represents the key in the key:value structure in the parameter identifier, param_name represents the name of the parameter displayed on the front end, param_type represents the parameter rendering type, param_value_type represents the parameter value type, default_value represents the default value, string represents the string type, integer represents the data type of integer value, boolean represents a binary data type with two possible values: true and false, number can represent different numerical forms, including integers (int), floating point numbers (float) and complex numbers (complex).

[0051] That is to say, in an embodiment of the present application, the engine management module in the orchestration system can register the engine based on the first registration request; the first registration request carries the first registration information, and the component management module in the orchestration system can register the component based on the second registration request; wherein the second registration request carries the second registration information, thereby facilitating the subsequent orchestration module in the orchestration system to perform orchestration processing based on the first registration information and the second registration information, thereby achieving unified orchestration.

[0052] Step 103: The arrangement module performs arrangement processing based on the first registration information and the second registration information to generate a job arrangement template.

[0053] In an embodiment of the present application, after the component management module in the orchestration system receives the second registration request sent by the engine and registers the component based on the second registration request, the orchestration module in the orchestration system can perform orchestration processing based on the first registration information and the second registration information to generate a job orchestration template.

[0054] It should be noted that, in an embodiment of the present application, when the orchestration module performs orchestration processing based on the first registration information and the second registration information to generate a job orchestration template, the orchestration module can render and display based on the job parameter template, the component parameter template, the component input template, and the component output template to obtain corresponding parameter configuration information; wherein the parameter configuration information includes component parameter configuration, job parameter configuration, component input parameter configuration, and component output parameter configuration; the orchestration module can then determine the second connection event and the second component parameter event based on the preset information and the parameter configuration information; the orchestration module can then generate a job orchestration template based on the parameter configuration information, the second connection event, and the second component parameter event.

[0055] It should be noted that, in an embodiment of the present application, before the orchestration module renders and displays based on the job parameter template, component parameter template, component input template and component output template, the orchestration module can move the components in the component parameter list to the canvas based on a preset method, and move the lines to the canvas based on a preset method; wherein the canvas is used to maintain the line list, the component list corresponding to the component parameter list, and the node list information.

[0056] It should be noted that, in the embodiments of the present application, the preset method may be a drag-and-drop method, and the present application does not specifically limit the type of the preset method.

[0057] It should be noted that, in the embodiments of the present application, the format corresponding to the job parameter configuration, the format corresponding to the component parameter configuration, the format corresponding to the component input parameter configuration, and the format corresponding to the component output parameter configuration may be in JsonSchema format.

[0058] It should be noted that, in the embodiments of the present application, the preset information may include a first connection event and a first component parameter event, and the present application does not specifically limit the parameter type and parameter quantity included in the preset information.

[0059] It should be noted that in an embodiment of the present application, when the orchestration module determines the second connection event and the second component parameter event based on preset information and parameter configuration information, the orchestration module can instantiate the first connection event and the first component parameter event based on the parameter configuration information to obtain the second connection event and the second component parameter event.

[0060] It should be noted that in an embodiment of the present application, after obtaining the second connection event and the second component parameter event, the orchestration module can generate a job orchestration template based on the parameter configuration information, the second connection event and the second component parameter event. When the component parameters and job parameters are modified, related events will be triggered, and then related scripts will be executed. That is, the present application designs a parameter and connection event response mechanism, which can automatically perform dynamic association of related parameters according to the engine registration information.

[0061] It should be noted that, in the embodiment of the present application, after the orchestration module generates the job orchestration template based on the parameter configuration information, the second connection event and the second component parameter event, the orchestration module may submit the job orchestration template to the engine.

[0062] It should be noted that in the embodiments of the present application, the orchestration system may include a job management module in addition to the orchestration module, the engine management module, and the component management module. The present application does not specifically limit the number and type of modules included in the orchestration system.

[0063] It should be noted that, in the embodiments of the present application, Figure 5 Schematic diagram of the arrangement method for federated learning proposed in the embodiment of the present application Figure 2 ,like Figure 5 As shown, after the arrangement module performs arrangement processing based on the first registration information and the second registration information to generate a job arrangement template, that is, after step 103, the following steps may also be included:

[0064] Step 104: The orchestration module creates a job based on the job orchestration template, and sends the created job to the job management module, so that the job management module submits the created job to the engine.

[0065] It should be noted that, in an embodiment of the present application, the orchestration system may further include a result presentation module, which may present a component report and a component execution log; wherein the component report and the component execution log are generated by executing the created job.

[0066] To summarize, the engine management module in the orchestration system can register the engine based on the first registration request; the first registration request carries the first registration information, and the component management module in the orchestration system can register the component based on the second registration request; wherein the second registration request carries the second registration information, so that the subsequent orchestration module in the orchestration system can perform orchestration processing based on the first registration information and the second registration information, generate a job orchestration template, and then achieve unified orchestration, and when the component parameters and job parameters are modified, related events will be triggered, and then related scripts will be executed. That is, the present application designs a parameter and connection event response mechanism, which can automatically and dynamically associate related parameters according to the engine registration information, thereby simplifying the workload of job orchestration.

[0067] The embodiment of the present application provides an orchestration method for federated learning, which is applied to an orchestration system, wherein the orchestration system includes an orchestration module, an engine management module, and a component management module, and the method includes: the engine management module receives a first registration request sent by the engine, and registers the engine based on the first registration request; wherein the first registration request carries the first registration information; the component management module receives a second registration request sent by the engine, and registers the component based on the second registration request; wherein the second registration request carries the second registration information; the orchestration module performs an orchestration process based on the first registration information and the second registration information, and generates a job orchestration template. That is, the engine management module in the orchestration system can register the engine based on the first registration request, and the component management module in the orchestration system can register the component based on the second registration request, and the engine side only needs a small amount of transformation work, so that the orchestration module can perform an orchestration process based on the first registration information and the second registration information, and generate a job orchestration template, that is, the present application can perform unified orchestration processing through the orchestration module, the engine management module, and the component management module in the orchestration system, and generate a job orchestration template, thereby simplifying the workload of job orchestration and improving the efficiency of job orchestration.

[0068] Embodiment 2

[0069] Based on the above embodiments, another embodiment of the present application provides an orchestration method for federated learning, which is a unified job orchestration method for federated learning based on JSON Schema. The main idea is that the management service system defines a set of standard parameter definition methods, registers the engine job interface parameter mode in the form of JSON Schema when registering the engine, and registers the component parameter mode at the same time when registering the component. The orchestration interface parses and displays the components in a unified manner, performs job orchestration by dragging and dropping (preset method), and configures relevant parameters (parameter configuration information). In the job configuration generation link, the job configuration (job orchestration template) is generated according to the engine job interface parameter mode (first registration information) and the component parameter mode (second registration information) and submitted to the engine.

[0070] It should be noted that in the embodiments of the present application, for ease of configuration, it is necessary to configure parameter response events and dependencies, and dynamically modify component configurations in combination with parameter value conditions or job information, thereby simplifying the workload of job scheduling.

[0071] It should be noted that, in the embodiments of the present application, Figure 6 Schematic diagram of the arrangement method for federated learning proposed in the embodiment of the present application Figure 3 ,like Figure 6 As shown in FIG, the unified orchestration verification system (orchestration system) adapted to FATE includes an orchestration module, an engine management module, a component management module, a job management module, and a job presentation module. Figure 6 The key links in the design are as follows: Engine registration: The engine registers the engine dimension information (first registration information) (job parameter template, interface encapsulation format, connection event (first connection event), job parameter event), component dimension information (second registration information) (component parameter template, component input and output template, component parameter event (first component parameter event)) to the management service system (orchestration system), and then the orchestration module can render and orchestrate according to the job parameters, directed acyclic graph (DAG) format, and component format in the engine interface; Among them, the privacy computing engine side includes job scheduling, model management, application programming interface (API) management, component algorithm management, federated learning algorithm components, security protocols, and encryption operators.

[0072] It should be noted that in the embodiment of the present application, the job parameter template is as shown in Table 1 above: it is used to characterize the job parameter format, corresponds to the job configuration, and is rendered and displayed on the canvas after the job is created. It should comply with the JSON-Schema format and require the parameters to provide a standard field name (title) and a default value (default). The parameters should be sorted according to parameter criticality and operated through job.job_parameters.

[0073] It should be noted that in the embodiment of the present application, the component parameter template is as shown in Table 2 above: including a component parameter list corresponding to the component. Depending on whether the component needs to distinguish parameters by role, components are divided into two categories, general components and difference components. After clicking the component, it is rendered and displayed on the canvas. It should conform to the JSON-Schema format, requiring parameters to provide standard field names (title, refer to the recommended value for mobile) and default values ​​(default), and parameters should be sorted according to parameter criticality. Operate through component.component_parameters.

[0074] It should be noted that in the embodiment of the present application, the component output template includes the component output format, which corresponds to the component. After clicking the component, it is rendered and displayed on the canvas, which should comply with the JSON-Schema format, and the component output is operated through Component.output.

[0075] It should be noted that in the embodiment of the present application, the component input template includes a component input format, which corresponds to a line. After clicking the line, the canvas is rendered and displayed according to the component input template, and the component input can be operated through Component.input.

[0076] It should be noted that, in the embodiment of the present application, the connection event (first connection event) can provide a post-connection line event definition, and can process the input and output JavaScript Object Notation (JSON).

[0077] Exemplarily, in an embodiment of the present application, the creation of a line event (first line event) is as follows: line.onCreate() {

[0078] line.nextNode.input[“input”][0]=line.lastNode.name

[0079] line.lastNode.output[“output”][0]=line.nextNode.name

[0080] } / / Connect automatically to configure component input and output information.

[0081] It should be noted that, in the embodiments of the present application, the parameter response event may provide a response event for a component parameter or a job parameter, such as init (initialization), changed (modification completed), and refresh (refresh, re-rendering).

[0082] For example, in an embodiment of the present application, it is assumed that the parameter response event is a changed response event, as shown below, job.job_parameters["nodes"].item["ip"].setAction(changed){

[0083] job.job_parameters["nodes"].item["file"].setEnum(api(getNodeDataSet,this.text))

[0084] }.

[0085] It should be noted that, in the embodiment of the present application, the interface encapsulation script: when saved, an interface access request is generated according to the script encapsulation.

[0086] It should be noted that, in an embodiment of the present application, in the orchestration link: the orchestration module drags (in a preset manner) components and lines to the canvas, and the canvas correspondingly configures and maintains a line list (corresponding to input), a component list (corresponding to component parameters and output), and a node (partner) list information. The canvas is rendered and displayed according to the component parameter template, the job parameter template, and the component input and output template, and the connection event (second connection event), component parameter event (second component parameter event), etc. are set according to the preset information. Users can modify the component parameters and job parameters. If relevant events are triggered, relevant scripts will be executed.

[0087] It should be noted that, in the embodiments of the present application, the preset method may be a drag-and-drop method, and the present application does not specifically limit the type of the preset method.

[0088] That is to say, in an embodiment of the present application, the orchestration module can render and display based on the job parameter template, the component parameter template, the component input template and the component output template to obtain the corresponding parameter configuration information; wherein the parameter configuration information includes the component parameter configuration, the job parameter configuration, the component input parameter configuration and the component output parameter configuration; the orchestration module can then determine the second connection event and the second component parameter event based on the preset information and the parameter configuration information; the orchestration module can then generate a job orchestration template based on the parameter configuration information, the second connection event and the second component parameter event.

[0089] It should be noted that in an embodiment of the present application, when the orchestration module determines the second connection event and the second component parameter event based on preset information and parameter configuration information, the orchestration module can instantiate the first connection event and the first component parameter event based on the parameter configuration information to obtain the second connection event and the second component parameter event.

[0090] It should be noted that in an embodiment of the present application, after obtaining the second connection event and the second component parameter event, the orchestration module can generate a job orchestration template based on the parameter configuration information, the second connection event and the second component parameter event. When the component parameters and job parameters are modified, related events will be triggered, and then related scripts will be executed. That is, the present application designs a parameter and connection event response mechanism, which can automatically perform dynamic association of related parameters according to the engine registration information.

[0091] It should be noted that, in the embodiment of the present application, after the orchestration module generates the job orchestration template based on the parameter configuration information, the second connection event and the second component parameter event, the orchestration module may submit the job orchestration template to the engine.

[0092] It should be noted that in the embodiments of the present application, in addition to the orchestration module, engine management module, and component management module, the orchestration system may also include a job management module and a job result presentation module. The present application does not specifically limit the number and type of modules included in the orchestration system.

[0093] It should be noted that, in an embodiment of the present application, after the orchestration module performs orchestration processing based on the first registration information and the second registration information to generate a job orchestration template, the orchestration module can create a job based on the job orchestration template and send the created job to the job management module; so that the job management module submits the created job to the engine.

[0094] It should be noted that, in an embodiment of the present application, the orchestration system may further include a result presentation module, which may present a component report and a component execution log; wherein the component report and the component execution log are generated by executing the created job.

[0095] To summarize, the engine management module in the orchestration system can register the engine based on the first registration request; the first registration request carries the first registration information, and the component management module in the orchestration system can register the component based on the second registration request; wherein the second registration request carries the second registration information, so that the subsequent orchestration module in the orchestration system can perform orchestration processing based on the first registration information and the second registration information, generate a job orchestration template, and then achieve unified orchestration, and when the component parameters and job parameters are modified, related events will be triggered, and then related scripts will be executed. That is, the present application designs a parameter and connection event response mechanism, which can automatically and dynamically associate related parameters according to the engine registration information, thereby simplifying the workload of job orchestration.

[0096] The embodiment of the present application provides an orchestration method for federated learning, which is applied to an orchestration system, wherein the orchestration system includes an orchestration module, an engine management module, and a component management module, and the method includes: the engine management module receives a first registration request sent by the engine, and registers the engine based on the first registration request; wherein the first registration request carries the first registration information; the component management module receives a second registration request sent by the engine, and registers the component based on the second registration request; wherein the second registration request carries the second registration information; the orchestration module performs an orchestration process based on the first registration information and the second registration information, and generates a job orchestration template. That is, the engine management module in the orchestration system can register the engine based on the first registration request, and the component management module in the orchestration system can register the component based on the second registration request, and the engine side only needs a small amount of transformation work, so that the orchestration module can perform an orchestration process based on the first registration information and the second registration information, and generate a job orchestration template, that is, the present application can perform unified orchestration processing through the orchestration module, the engine management module, and the component management module in the orchestration system, and generate a job orchestration template, thereby simplifying the workload of job orchestration and improving the efficiency of job orchestration.

[0097] Embodiment 3

[0098] Based on the above embodiments, the present application provides an orchestration system. Figure 7 Schematic diagram of the composition structure of the orchestration system Figure 1 ,like Figure 7 As shown, the orchestration system 10 includes: an orchestration module 11, an engine management module 12, and a component management module 13;

[0099] The engine management module 12 is used to receive a first registration request sent by the engine, and perform engine registration based on the first registration request; wherein the first registration request carries first registration information;

[0100] The component management module 13 is used to receive the second registration request sent by the engine, and perform component registration based on the second registration request; wherein the second registration request carries second registration information;

[0101] The arrangement module 11 is used to perform arrangement processing based on the first registration information and the second registration information to generate a job arrangement template.

[0102] In the embodiments of the present application, further, Figure 8 Schematic diagram of the composition structure of the orchestration system Figure 2 ,like Figure 8As shown, the orchestration system 10 proposed in the embodiment of the present application may also include a processor 14, a memory 15 storing executable instructions of the processor 14, and further, the orchestration system 10 may also include a communication interface 16, and a bus 17 for connecting the processor 14, the memory 15 and the communication interface 16.

[0103] In an embodiment of the present application, the processor 14 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understandable that for different devices, the electronic device used to implement the above-mentioned processor function may also be other, and the embodiment of the present application is not specifically limited. The orchestration system 10 may also include a memory 15, which may be connected to the processor 14, wherein the memory 15 is used to store executable program code, the program code including computer operation instructions, and the memory 15 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least two disk memories.

[0104] In the embodiment of the present application, the bus 17 is used to connect the communication interface 16, the processor 14 and the memory 15, and the mutual communication between these devices.

[0105] In the embodiment of the present application, the memory 15 is used to store instructions and data.

[0106] Furthermore, in an embodiment of the present application, the above-mentioned processor 14 is used for the engine management module to receive a first registration request sent by the engine, and to register the engine based on the first registration request; wherein the first registration request carries first registration information; the component management module receives a second registration request sent by the engine, and to register the component based on the second registration request; wherein the second registration request carries second registration information; the orchestration module performs orchestration processing based on the first registration information and the second registration information to generate a job orchestration template.

[0107] In practical applications, the memory 15 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 14.

[0108] The embodiment of the present application provides an orchestration system, which includes an orchestration module, an engine management module, and a component management module. The engine management module receives a first registration request sent by the engine, and registers the engine based on the first registration request; wherein the first registration request carries the first registration information; the component management module receives a second registration request sent by the engine, and registers the component based on the second registration request; wherein the second registration request carries the second registration information; the orchestration module performs orchestration processing based on the first registration information and the second registration information to generate a job orchestration template. That is, the engine management module in the orchestration system can register the engine based on the first registration request, and the component management module in the orchestration system can register the component based on the second registration request, and the engine side only needs a small amount of transformation work, so that the orchestration module can perform orchestration processing based on the first registration information and the second registration information to generate a job orchestration template, that is, the present application can perform unified orchestration processing through the orchestration module, the engine management module, and the component management module in the orchestration system to generate a job orchestration template, thereby simplifying the workload of job orchestration and improving the efficiency of job orchestration.

[0109] An embodiment of the present application provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the above-described orchestration method for federated learning.

[0110] Specifically, the program instructions corresponding to the arrangement method for federated learning in this embodiment can be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the program instructions corresponding to the arrangement method for federated learning in the storage medium are read or executed by an electronic device, the following steps are included:

[0111] The engine management module receives a first registration request sent by the engine, and performs engine registration based on the first registration request; wherein the first registration request carries first registration information;

[0112] The component management module receives the second registration request sent by the engine, and performs component registration based on the second registration request; wherein the second registration request carries second registration information;

[0113] The arrangement module performs arrangement processing based on the first registration information and the second registration information to generate a job arrangement template.

[0114] The embodiment of the present application further provides a computer program product, including a computer program, which can be executed by the processor 14 of the orchestration system 10 to complete the steps of any of the aforementioned methods.

[0115] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0116] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0117] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0119] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. An orchestration method for federated learning, characterized in that: The method is applied to an orchestration system, the orchestration system includes an orchestration module, an engine management module, and a component management module, and the method includes: The engine management module receives a first registration request sent by the engine, and performs engine registration based on the first registration request; wherein the first registration request carries first registration information; The component management module receives the second registration request sent by the engine, and performs component registration based on the second registration request; wherein the second registration request carries second registration information; The arrangement module performs arrangement processing based on the first registration information and the second registration information to generate a job arrangement template.

2. The method according to claim 1, characterized in that The first registration information includes engine dimension information, which includes at least a job parameter template, an interface encapsulation format, a first connection event, and a job parameter event; the second registration information includes component dimension information, which includes at least a component parameter template, a component input template, a component output template, and a first component parameter event.

3. The method according to claim 2, characterized in that The job parameter template includes a job parameter list, the component parameter template includes a component parameter list, and the component parameter list includes common components and differential components.

4. The method according to claim 3, characterized in that: The arrangement module performs arrangement processing based on the first registration information and the second registration information to generate a job arrangement template, including: The orchestration module renders and displays based on the job parameter template, the component parameter template, the component input template, and the component output template to obtain corresponding parameter configuration information; wherein the parameter configuration information includes component parameter configuration, job parameter configuration, component input parameter configuration, and component output parameter configuration; The arrangement module determines a second connection event and a second component parameter event based on the preset information and the parameter configuration information; The orchestration module generates the job orchestration template based on the parameter configuration information, the second connection event, and the second component parameter event.

5. The method according to claim 4, characterized in that Before the arrangement module performs rendering and display based on the job parameter template, the component parameter template, the component input template, and the component output template, the method further includes: The arrangement module moves the components in the component parameter list to the canvas based on a preset method, and moves the lines to the canvas based on the preset method; wherein the canvas is used to maintain the line list, the component list corresponding to the component parameter list, and the node list information.

6. The method according to claim 4, characterized in that The format corresponding to the job parameter configuration, the format corresponding to the component parameter configuration, the format corresponding to the component input parameter configuration, and the format corresponding to the component output parameter configuration are Json Schema format.

7. The method according to claim 4, characterized in that The preset information includes the first connection event and the first component parameter event, and the arrangement module determines the second connection event and the second component parameter event based on the preset information and the parameter configuration information, including: The orchestration module instantiates the first connection event and the first component parameter event based on the parameter configuration information to obtain the second connection event and the second component parameter event.

8. The method according to claim 4, characterized in that After the orchestration module generates the job orchestration template based on the parameter configuration information, the second connection event, and the second component parameter event, the method further includes: The orchestration module submits the job orchestration template to the engine.

9. The method according to claim 1, characterized in that: The arrangement system further includes a job management module. After the arrangement module performs arrangement processing based on the first registration information and the second registration information to generate a job arrangement template, the method further includes: The orchestration module creates a job based on the job orchestration template, and sends the created job to the job management module, so that the job management module submits the created job to the engine.

10. The method according to claim 9, characterized in that The arrangement system further includes a result presentation module, and the method further includes: The result presentation module presents a component report and a component execution log; wherein the component report and the component execution log are generated by executing the created job.

11. A scheduling system, characterized in that: The orchestration system includes: an orchestration module, an engine management module, and a component management module; The engine management module is configured to receive a first registration request sent by the engine, and register the engine based on the first registration request; wherein the first registration request carries first registration information; The component management module is used to receive the second registration request sent by the engine, and perform component registration based on the second registration request; wherein the second registration request carries second registration information; The arrangement module is used to perform arrangement processing based on the first registration information and the second registration information to generate a job arrangement template.

12. A scheduling system, characterized in that: The arrangement system comprises: a processor and a memory; wherein, The memory is used to store a computer program that can be run on the processor; The processor is configured to execute the method according to any one of claims 1 to 10 when running the computer program.

13. A computer-readable storage medium, characterized in that: The storage medium stores computer program codes, and when the computer program codes are executed by a computer, the method according to any one of claims 1 to 10 is executed.

14. A computer program product comprising a computer program, characterized in that The computer program implements the method according to any one of claims 1 to 10 when executed by a processor.