[go: up one dir, main page]

CN118642746A - Template generation method, device, electronic device and storage medium - Google Patents

Template generation method, device, electronic device and storage medium Download PDF

Info

Publication number
CN118642746A
CN118642746A CN202410674611.8A CN202410674611A CN118642746A CN 118642746 A CN118642746 A CN 118642746A CN 202410674611 A CN202410674611 A CN 202410674611A CN 118642746 A CN118642746 A CN 118642746A
Authority
CN
China
Prior art keywords
component
continuous delivery
target
target components
execution
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.)
Pending
Application number
CN202410674611.8A
Other languages
Chinese (zh)
Inventor
李阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongdian Jinxin Software Co Ltd
Original Assignee
Zhongdian Jinxin Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongdian Jinxin Software Co Ltd filed Critical Zhongdian Jinxin Software Co Ltd
Priority to CN202410674611.8A priority Critical patent/CN118642746A/en
Publication of CN118642746A publication Critical patent/CN118642746A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

本申请提出一种模板生成方法、装置、电子设备及存储介质,其中,方法包括:根据持续交付需求,从预先定义组件任务的多个候选组件中,选取多个目标组件;确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件;根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。本申请定义了基于持续交付需求选取所需的目标组件,基于目标组件生成持续交付流水线模板的标准化创建流程,流程简单,便于管理。

The present application proposes a template generation method, device, electronic device and storage medium, wherein the method includes: selecting multiple target components from multiple candidate components of predefined component tasks according to continuous delivery requirements; determining the dependencies between the target components, and the execution order and execution conditions of the component tasks corresponding to the target components; generating a continuous delivery pipeline template according to the target components, dependencies, execution order and execution conditions. The present application defines a standardized creation process for selecting the required target components based on continuous delivery requirements and generating a continuous delivery pipeline template based on the target components, and the process is simple and easy to manage.

Description

模板生成方法、装置、电子设备及存储介质Template generation method, device, electronic device and storage medium

技术领域Technical Field

本申请涉及计算机技术技术领域,尤其涉及一种模板生成方法、装置、电子设备及存储介质。The present application relates to the field of computer technology, and in particular to a template generation method, device, electronic device and storage medium.

背景技术Background Art

在软件开发过程中,持续交付是一种提高开发效率和软件质量的重要方法。然而,传统的持续交付流水线编排方法存在流程复杂、难以管理和扩展、缺乏标准化等问题。In the software development process, continuous delivery is an important method to improve development efficiency and software quality. However, the traditional continuous delivery pipeline orchestration method has problems such as complex process, difficult management and expansion, and lack of standardization.

发明内容Summary of the invention

本申请旨在至少在一定程度上解决相关技术中的技术问题之一。The present application aims to solve one of the technical problems in the related art at least to some extent.

为此,本申请的第一个目的在于提出一种模板生成方法。To this end, the first objective of this application is to propose a template generation method.

本申请的第二个目的在于提出一种模板生成装置。The second objective of the present application is to provide a template generating device.

本申请的第三个目的在于提出一种电子设备。The third objective of the present application is to provide an electronic device.

本申请的第四个目的在于提出一种计算机可读存储介质。A fourth objective of the present application is to provide a computer-readable storage medium.

本申请的第五个目的在于提出一种计算机程序产品。A fifth object of the present application is to provide a computer program product.

为达上述目的,本申请第一方面实施例提出了一种模板生成方法,包括:To achieve the above-mentioned purpose, the first embodiment of the present application proposes a template generation method, comprising:

根据持续交付需求,从预先定义组件任务的多个所述候选组件中,选取多个目标组件;According to the continuous delivery requirement, multiple target components are selected from the multiple candidate components of the predefined component tasks;

确定各所述目标组件之间的依赖关系,以及各所述目标组件对应的组件任务的执行顺序和执行条件;Determine the dependency relationship between the target components, and the execution order and execution conditions of the component tasks corresponding to the target components;

根据所述目标组件、所述依赖关系、所述执行顺序以及所述执行条件,生成持续交付流水线模板。A continuous delivery pipeline template is generated according to the target component, the dependency, the execution order, and the execution condition.

为达上述目的,本申请第二方面实施例提出了一种模板生成装置,包括:To achieve the above-mentioned purpose, the second embodiment of the present application proposes a template generation device, including:

组件选取模块,用于根据持续交付需求,从预先定义组件任务的多个所述候选组件中,选取多个目标组件;A component selection module, used for selecting multiple target components from multiple candidate components of predefined component tasks according to continuous delivery requirements;

确定模块,用于确定各所述目标组件之间的依赖关系,以及各所述目标组件对应的组件任务的执行顺序和执行条件;A determination module, used to determine the dependency relationship between the target components, and the execution order and execution conditions of the component tasks corresponding to the target components;

模板生成模块,用于根据所述目标组件、所述依赖关系、所述执行顺序以及所述执行条件,生成持续交付流水线模板。A template generation module is used to generate a continuous delivery pipeline template according to the target component, the dependency, the execution order and the execution condition.

为达上述目的,本申请第三方面实施例提出了一种电子设备,包括:处理器,以及与处理器通信连接的存储器;存储器存储计算机执行指令;处理器执行存储器存储的计算机执行指令,以实现如本申请实施例第一方面所述的一种模板生成方法。To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement a template generation method as described in the first aspect embodiment of the present application.

为达上述目的,本申请第四方面实施例提出了一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现如本申请实施例第一方面所述的一种模板生成方法。To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed by the processor, they are used to implement a template generation method as described in the first aspect embodiment of the present application.

为达上述目的,本申请第五方面实施例提出了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如本申请实施例第一方面所述的一种模板生成方法。To achieve the above-mentioned purpose, the fifth aspect of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements a template generation method as described in the first aspect of the embodiment of the present application.

本申请提供的技术方案至少带来以下有益效果:The technical solution provided by this application brings at least the following beneficial effects:

本申请执行与持续交付需求相匹配的第一脚本,根据第一脚本中的组件标识,从预先定义组件任务的多个候选组件中,选取多个目标组件;执行与持续交付需求相匹配的第二脚本,确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件;根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。本申请定义了基于持续交付需求选取所需的目标组件,基于目标组件生成持续交付流水线模板的标准化创建流程,流程简单,便于管理,且可以提高开发效率和软件质量。此外,通过第一脚本选取目标组件,通过第二脚本确定依赖关系、执行顺序以及执行条件,提高了持续交付流水线模板创建过程的自动化程度。This application executes a first script that matches the continuous delivery requirements, and selects multiple target components from multiple candidate components that predefine component tasks based on component identifiers in the first script; executes a second script that matches the continuous delivery requirements to determine the dependencies between the target components, as well as the execution order and execution conditions of the component tasks corresponding to the target components; generates a continuous delivery pipeline template based on the target components, dependencies, execution order, and execution conditions. This application defines a standardized creation process for selecting the required target components based on continuous delivery requirements and generating a continuous delivery pipeline template based on the target components. The process is simple, easy to manage, and can improve development efficiency and software quality. In addition, the target components are selected through the first script, and the dependencies, execution order, and execution conditions are determined through the second script, which improves the automation level of the continuous delivery pipeline template creation process.

本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

图1为本申请一实施例所提供的一种模板生成方法的流程示意图;FIG1 is a schematic diagram of a flow chart of a template generation method provided in an embodiment of the present application;

图2为本申请另一实施例所提供的一种模板生成方法的流程示意图;FIG2 is a schematic diagram of a flow chart of a template generation method provided in another embodiment of the present application;

图3A为本申请另一实施例所提供的一种模板生成方法的流程示意图;FIG3A is a schematic diagram of a flow chart of a template generation method provided in another embodiment of the present application;

图3B为本申请一实施例所提供的执行第二脚本的流程示意图;FIG3B is a schematic diagram of a flow chart of executing a second script provided by an embodiment of the present application;

图4为本申请另一实施例所提供的一种模板生成方法的流程示意图;FIG4 is a schematic diagram of a flow chart of a template generation method provided in another embodiment of the present application;

图5为本申请一实施例所提供的一种模板生成装置的结构示意图;FIG5 is a schematic diagram of the structure of a template generating device provided in an embodiment of the present application;

图6是本申请一实施例所提供的电子设备的框图。FIG6 is a block diagram of an electronic device provided in accordance with an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

下面参考附图描述本申请实施例的一种模板生成方法、装置、电子设备及存储介质。A template generation method, device, electronic device, and storage medium according to an embodiment of the present application are described below with reference to the accompanying drawings.

图1为本申请实施例所提供的一种模板生成方法的流程示意图,该方法可以应用于电子设备。FIG1 is a schematic flow chart of a template generation method provided in an embodiment of the present application, which method can be applied to electronic devices.

如图1所示,该模板生成方法包括以下步骤:As shown in FIG1 , the template generation method includes the following steps:

步骤101,根据持续交付需求,从预先定义组件任务的多个候选组件中,选取多个目标组件。Step 101 , according to the continuous delivery requirement, multiple target components are selected from multiple candidate components of predefined component tasks.

在从候选组件中选取目标组件之前,需要预先进行组件定义,得到多个候选组件,其中,每个候选组件对应一个或多个组件任务。需要说明的是,若候选组件对应多个组件任务,则在进行组件定义时还需定义多个组件任务之间的执行顺序。Before selecting a target component from the candidate components, it is necessary to predefine the component to obtain multiple candidate components, where each candidate component corresponds to one or more component tasks. It should be noted that if a candidate component corresponds to multiple component tasks, the execution order between the multiple component tasks must also be defined when defining the component.

作为示例而非限定,组件任务包括代码编译、单元测试以及部署应用程序等任务。By way of example and not limitation, component tasks include tasks such as compiling code, unit testing, and deploying applications.

持续交付需求是指某一软件的持续交付需求。Continuous delivery requirements refer to the continuous delivery requirements of a certain software.

持续交付需求中包括预期的持续交付流水线所涉及的环节以及各个环节的先后执行顺序等信息,其中,各个环节对应不同的环节任务,每个环节的环节任务通过一个或多个组件实现。作为示例而非限定,预期的持续交付流水线所涉及的环节包括代码编译、单元测试、集成测试以及部署等环节。The continuous delivery requirements include the expected links involved in the continuous delivery pipeline and the order in which each link is executed, among which each link corresponds to a different link task, and each link task is implemented by one or more components. As an example but not a limitation, the expected continuous delivery pipeline involves code compilation, unit testing, integration testing, and deployment.

从候选组件中选取目标组件是指,从候选组件中选取能够实现预期的持续交付流水线中各个环节对应的环节任务的组件。持续交付需求不同,所需的目标组件不同。Selecting target components from candidate components means selecting components that can achieve the tasks corresponding to each link in the expected continuous delivery pipeline from candidate components. Different continuous delivery requirements require different target components.

在一种可能的实现方式中,在从候选组件中未选取到所需的目标组件的情况下,可以直接对候选组件进行修改得到所需的目标组件,也可以由模板创建人员根据需求进行组件定义得到所需的目标组件。基于此,本申请可以支持灵活的组件和任务定义,进而得到所需的目标组件。In a possible implementation, when the desired target component is not selected from the candidate components, the candidate components can be directly modified to obtain the desired target component, or the template creator can define the components according to the requirements to obtain the desired target component. Based on this, the present application can support flexible component and task definitions to obtain the desired target component.

步骤102,确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件。Step 102, determining the dependency relationship between target components, and the execution order and execution conditions of component tasks corresponding to each target component.

确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件,是为了确保持续交付流水线的顺序和逻辑正确。Determining the dependencies between target components, as well as the execution order and conditions of component tasks corresponding to each target component, is to ensure the correct sequence and logic of the continuous delivery pipeline.

各目标组件之间的依赖关系用于指示某一目标组件的任务执行是否依赖于另一目标组件的任务执行结果,例如,某个目标组件的输出是另一个目标组件的输入。The dependency relationship between target components is used to indicate whether the task execution of a certain target component depends on the task execution result of another target component. For example, the output of a certain target component is the input of another target component.

各目标组件对应的组件任务之间的执行顺序是指各个目标组件对应的组件任务的先后执行顺序,例如,假设三个目标组件对应的组件任务分别为a、b、c,则三个目标组件对应的组件任务的执行顺序可以是先执行a,再同时执行b和c,即b和c是并行的执行关系。The execution order between the component tasks corresponding to each target component refers to the order in which the component tasks corresponding to each target component are executed. For example, assuming that the component tasks corresponding to the three target components are a, b, and c, respectively, the execution order of the component tasks corresponding to the three target components can be to execute a first, and then execute b and c at the same time, that is, b and c are in a parallel execution relationship.

各目标组件对应的组件任务的执行条件是指执行目标组件对应的组件任务的前提条件,例如,某个目标组件的组件任务只有在另一个目标组件的组件任务成功执行后才能执行,或者,某个目标组件的组件任务需要在另一个目标组件的组件任务执行完成后等待设定时长再执行。The execution conditions of the component tasks corresponding to each target component refer to the prerequisites for executing the component tasks corresponding to the target components. For example, the component task of a target component can be executed only after the component task of another target component is successfully executed, or the component task of a target component needs to wait for a set time after the component task of another target component is completed before it can be executed.

步骤103,根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。Step 103, generating a continuous delivery pipeline template according to the target components, dependencies, execution order, and execution conditions.

在选取目标组件,确定目标组件之间的依赖关系,以及各目标组件的组件任务的执行顺序和执行条件之后,可以自动生成持续交付流水线模板,也可以响应于模板生成指令,生成持续交付流水线模板。After selecting target components, determining the dependencies between target components, and the execution order and execution conditions of component tasks of each target component, a continuous delivery pipeline template can be automatically generated, or generated in response to a template generation instruction.

在一种可能的实现方式中,可以依照上述方法建立多个持续交付流水线模板。In a possible implementation, multiple continuous delivery pipeline templates may be established according to the above method.

在一种可能的实现方式中,还可以对已生成的持续交付流水线模板进行修改,得到新的持续交付流水线模板。In a possible implementation, the generated continuous delivery pipeline template may also be modified to obtain a new continuous delivery pipeline template.

本实施例中,根据持续交付需求,从预先定义组件任务的多个候选组件中,选取多个目标组件;确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件;根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。基于此,本申请定义了基于持续交付需求选取所需的目标组件,基于目标组件生成持续交付流水线模板的标准化创建流程,流程简单,便于管理,且可以提高开发效率和软件质量。In this embodiment, according to the continuous delivery requirements, multiple target components are selected from multiple candidate components of predefined component tasks; the dependencies between the target components, as well as the execution order and execution conditions of the component tasks corresponding to the target components are determined; and a continuous delivery pipeline template is generated according to the target components, dependencies, execution order, and execution conditions. Based on this, this application defines a standardized creation process for selecting the required target components based on the continuous delivery requirements and generating a continuous delivery pipeline template based on the target components. The process is simple, easy to manage, and can improve development efficiency and software quality.

本实施例提供了另一种模板生成方法,图2为本申请实施例所提供的一种模板生成方法的流程示意图。This embodiment provides another template generation method. FIG2 is a flow chart of a template generation method provided in an embodiment of the present application.

如图2所示,该模板生成方法可以包括以下步骤:As shown in FIG2 , the template generation method may include the following steps:

步骤201,接收根据持续交付请求触发的组件拖拽指令或组件选取指令,基于组件拖拽指令或组件选取指令,从多个候选组件中选取目标组件。Step 201: receiving a component dragging instruction or a component selecting instruction triggered by a continuous delivery request, and selecting a target component from a plurality of candidate components based on the component dragging instruction or the component selecting instruction.

组件拖拽指令或组件选取指令可以由模板创建人员根据持续交付需求触发,也可以由电子设备根据持续交付需求自动触发。The component dragging instruction or the component selecting instruction can be triggered by the template creator according to the continuous delivery requirement, or can be automatically triggered by the electronic device according to the continuous delivery requirement.

根据持续交付请求触发的组件拖拽指令或组件选取指令用于指示从候选组件中选取一个或多个目标组件。The component dragging instruction or component selection instruction triggered by the continuous delivery request is used to instruct the selection of one or more target components from the candidate components.

步骤202,获取与持续交付需求相匹配的第一脚本。Step 202: Obtain a first script that matches the continuous delivery requirement.

第一脚本用于指示从多个候选组件中选取持续交付需求所需的目标组件。其中,可以由模板创建人员编写第一脚本,也可以根据持续交付需求自动生成第一脚本。The first script is used to instruct the selection of a target component required for continuous delivery requirements from a plurality of candidate components. The first script may be written by a template creator or may be automatically generated according to the continuous delivery requirements.

步骤203,执行第一脚本,以基于第一标识符,从第一脚本中提取目标组件标识,第一标识符用于命名组件标识。Step 203: execute the first script to extract the target component identifier from the first script based on the first identifier, where the first identifier is used for naming the component identifier.

标识符用于在编程过程中用于对变量、常量以及函数等元素进行命名。Identifiers are used to name elements such as variables, constants, and functions during the programming process.

第一标识符是预先定义的,用于对组件标识这一元素进行命名。The first identifier is predefined and is used to name the element of the component identification.

根据第一标识符,从第一脚本中提取组件标识数组,组件标识数组中的组件标识即为目标组件标识。According to the first identifier, a component identification array is extracted from the first script, and the component identification in the component identification array is the target component identification.

组件标识是指组件名称或组件编号等能够对组件进行唯一标识的信息。The component identification refers to information such as the component name or component number that can uniquely identify the component.

步骤204,依据组件标识和组件之间的对应关系,从多个候选组件中,选取与目标组件标识相对应的目标组件。Step 204 , selecting a target component corresponding to the target component identifier from a plurality of candidate components based on the correspondence between the component identifier and the components.

组件标识和组件之间的对应关系是预先定义好的。The correspondence between component identifiers and components is predefined.

在获取目标组件标识之后,根据预先定义的对应关系即可找到对应的目标组件。After obtaining the target component identifier, the corresponding target component can be found according to the predefined corresponding relationship.

通过第一脚本从多个候选组件中选取目标组件,可以提高持续交付流水线模板创建过程的自动化程度。By selecting a target component from multiple candidate components through the first script, the automation level of the continuous delivery pipeline template creation process can be improved.

步骤202-步骤204和步骤201是并行的两个过程,即可以通过步骤201选取目标组件,也可以通过步骤202-步骤204选取目标组件。Step 202 to step 204 and step 201 are two parallel processes, that is, the target component can be selected through step 201, or the target component can be selected through steps 202 to step 204.

步骤205,确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件。Step 205: Determine the dependency relationship between the target components, and the execution order and execution conditions of the component tasks corresponding to the target components.

步骤206,根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。Step 206: Generate a continuous delivery pipeline template according to the target components, dependencies, execution order, and execution conditions.

步骤205和步骤206中的相关内容可以参见步骤102和步骤103中的相关描述,此处不再赘述。For the relevant contents in step 205 and step 206, reference may be made to the relevant descriptions in step 102 and step 103, which will not be repeated here.

本实施例中,接收根据持续交付请求触发的组件拖拽指令或组件选取指令,基于组件拖拽指令或组件选取指令,从多个候选组件中选取目标组件;或者,获取与持续交付需求相匹配的第一脚本,执行第一脚本,以根据第一脚本中包括的组件标识,从多个候选组件中选取目标组件。提供了目标组件的两种选取方式,其中,根据第一脚本选取目标组件提高了持续交付流水线模板创建过程的自动化程度。In this embodiment, a component dragging instruction or a component selection instruction triggered by a continuous delivery request is received, and a target component is selected from multiple candidate components based on the component dragging instruction or the component selection instruction; or, a first script matching the continuous delivery requirement is obtained, and the first script is executed to select a target component from multiple candidate components according to a component identifier included in the first script. Two methods for selecting a target component are provided, wherein selecting a target component according to the first script improves the automation level of the continuous delivery pipeline template creation process.

本实施例提供了另一种模板生成方法,图3A为本申请实施例所提供的一种模板生成方法的流程示意图。This embodiment provides another template generation method. FIG. 3A is a flow chart of a template generation method provided in an embodiment of the present application.

如图3A所示,该模板生成方法可以包括以下步骤:As shown in FIG3A , the template generation method may include the following steps:

步骤301,根据持续交付需求,从预先定义组件任务的多个候选组件中,选取多个目标组件。Step 301 , according to the continuous delivery requirement, multiple target components are selected from multiple candidate components of predefined component tasks.

步骤301中的相关内容可以参见前述实施例中的相关描述,此处不再赘述。For the relevant contents in step 301, reference may be made to the relevant description in the aforementioned embodiment, which will not be repeated here.

步骤302,获取与持续交付需求相匹配的第二脚本,执行第二脚本,以确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件。Step 302: Obtain a second script that matches the continuous delivery requirement, and execute the second script to determine the dependency relationship between the target components, and the execution order and execution conditions of the component tasks corresponding to the target components.

可以由模板创建人员编写第二脚本,也可以根据持续交付需求自动生成第二脚本。The second script may be written by the template creator, or the second script may be automatically generated according to continuous delivery requirements.

可选地,第一脚本和第二脚本对应一个脚本文档或多个脚本文档。Optionally, the first script and the second script correspond to one script document or multiple script documents.

若第一脚本和第二脚本对应一个脚本文档,则第一脚本和第二脚本为该脚本文档中的两段脚本,基于该脚本文档,既可以从候选组件中选取目标组件,也可以确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件。If the first script and the second script correspond to a script document, then the first script and the second script are two scripts in the script document. Based on the script document, the target component can be selected from the candidate components, and the dependency relationship between the target components and the execution order and execution conditions of the component tasks corresponding to the target components can be determined.

下面结合图3B,对步骤302中执行第二脚本,以确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件的内容进行说明,具体地,包括以下步骤:3B, the following describes the execution of the second script in step 302 to determine the dependencies between the target components, and the execution order and execution conditions of the component tasks corresponding to the target components. Specifically, the following steps are included:

步骤3021,执行第二脚本,以基于第二标识符,从第二脚本中提取至少一个组件标识数组,第二标识符用于命名依赖关系,组件标识数组中包括存在依赖关系的两个目标组件的组件标识。Step 3021, execute the second script to extract at least one component identification array from the second script based on the second identifier, the second identifier is used to name the dependency, and the component identification array includes component identifications of two target components having a dependency relationship.

第二标识符是预先定义的,用于对目标组件之间的依赖关系这一元素进行命名。The second identifier is predefined and is used to name the element of the dependency relationship between the target components.

作为示例,假设目标组件A依赖于目标组件B,则对应的组件标识数组可以为[B,A];假设目标组件A依赖于目标组件B,目标组件B依赖于目标组件C,则对应的组件标识数组可以为[B,A]和[C,B]。As an example, assuming that target component A depends on target component B, the corresponding component identification array can be [B, A]; assuming that target component A depends on target component B, and target component B depends on target component C, the corresponding component identification arrays can be [B, A] and [C, B].

步骤3022,基于各组件标识数组,确定各目标组件之间的依赖关系。Step 3022: Determine the dependency relationship between target components based on the component identification arrays.

每个组件标识数组都用于表示两个目标组件之间的依赖关系,结合提取到的全部的组件标识数组,可以确定任意两个目标组件之间是否存在依赖关系。Each component identification array is used to represent the dependency relationship between two target components. By combining all the extracted component identification arrays, it can be determined whether there is a dependency relationship between any two target components.

步骤3023,基于各组件标识数组,对各目标组件对应的组件任务进行排序,生成满足各目标组件之间依赖关系的执行顺序。Step 3023, based on the component identification arrays, sort the component tasks corresponding to the target components to generate an execution order that satisfies the dependency relationship between the target components.

作为一可选实施方式,可以基于各组件标识数组,对组件任务进行拓扑排序,以得到满足所有依赖关系的执行顺序。As an optional implementation, the component tasks may be topologically sorted based on the component identification arrays to obtain an execution order that satisfies all dependency relationships.

需要说明的是,若部分目标组件之间存在依赖关系,部分目标组件之间不存在依赖关系,不存在依赖关系的目标组件对应的组件任务的执行顺序是可变的,因此,在该种情况下生成的执行顺序并不是唯一的。It should be noted that if there are dependencies between some target components and there are no dependencies between some target components, the execution order of component tasks corresponding to the target components without dependencies is variable. Therefore, the execution order generated in this case is not unique.

假设有目标组件A、目标组件B、目标组件C以及目标组件D四个目标组件,目标组件A、目标组件B以及目标组件C之间不存在依赖关系,目标组件D依赖于目标组件C,则生成的组件任务的执行顺序可以是A->B->C->D,也可以是B->A->C->D。Assume that there are four target components, namely target component A, target component B, target component C and target component D. There is no dependency relationship between target component A, target component B and target component C, and target component D depends on target component C. Then the execution order of the generated component tasks can be A->B->C->D or B->A->C->D.

步骤3024,基于第三标识符,从第二脚本中提取各目标组件对应的组件任务的执行条件,第三标识符用于命名执行条件。Step 3024: extract the execution conditions of the component tasks corresponding to each target component from the second script based on the third identifier, where the third identifier is used to name the execution conditions.

第三标识符是预先定义的,用于对组件任务的执行条件这一元素进行命名。The third identifier is predefined and is used to name the element of the execution condition of the component task.

每个目标组件的组件任务对应一个或多个执行条件。作为示例,可以基于第三标识符从第二脚本中提取各目标组件对应的组件任务的执行条件数组,每个执行条件数组中包括对应目标组件的组件任务的全部执行条件。Each target component's component task corresponds to one or more execution conditions. As an example, an execution condition array of component tasks corresponding to each target component can be extracted from the second script based on the third identifier, and each execution condition array includes all execution conditions of the component tasks corresponding to the target component.

基于第二脚本确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件,可以进一步提高提高持续交付流水线模板创建过程的自动化程度。By determining the dependencies between the target components and the execution order and execution conditions of the component tasks corresponding to the target components based on the second script, the automation level of the continuous delivery pipeline template creation process can be further improved.

步骤303,根据在第一交互界面输入的第一组件连接线,确定各目标组件之间的依赖关系;或者,根据在第二交互界面输入的依赖关系配置信息,确定各目标组件之间的依赖关系。Step 303, determining the dependency relationship between the target components according to the first component connection line input in the first interactive interface; or determining the dependency relationship between the target components according to the dependency configuration information input in the second interactive interface.

第一交互界面是指持续交付流水线模板的构建界面,目标组件显示于第一交互界面中。The first interactive interface refers to the construction interface of the continuous delivery pipeline template, and the target component is displayed in the first interactive interface.

根据两个目标组件之间是否存在第一组件连接线,能够确定两个目标组件之间是否存在依赖关系。According to whether there is a first component connection line between the two target components, it can be determined whether there is a dependency relationship between the two target components.

第二交互界面是与第一交互界面不同的界面,例如,第二交互界面可以是由任一目标组件的点击事件触发显示的依赖关系配置界面。The second interactive interface is an interface different from the first interactive interface. For example, the second interactive interface may be a dependency configuration interface that is triggered and displayed by a click event of any target component.

其中,第一组件连接线和依赖关系配置信息由模板创建人员输入。The first component connection line and dependency configuration information are input by the template creator.

步骤304,根据在第一交互界面输入的第二组件连接线,确定各目标组件对应的组件任务的执行顺序;或者,根据在第三交互界面输入的执行顺序配置信息,确定各目标组件对应的组件任务的执行顺序。Step 304, determining the execution order of component tasks corresponding to each target component according to the second component connection line input in the first interactive interface; or determining the execution order of component tasks corresponding to each target component according to the execution order configuration information input in the third interactive interface.

为了便于相关人员能够直观的了解各目标组件之间的依赖关系和各组件任务的执行任务,第二组件连接线和第一组件连接线的线条颜色和线条形状可以不同。In order to facilitate relevant personnel to intuitively understand the dependency relationship between target components and the execution tasks of each component task, the line color and line shape of the second component connection line and the first component connection line may be different.

第三交互界面是与第一交互界面不同的界面,例如,第三交互界面可以是由任一目标组件的点击事件触发显示的执行顺序配置界面。The third interactive interface is an interface different from the first interactive interface. For example, the third interactive interface may be an execution order configuration interface that is triggered and displayed by a click event of any target component.

其中,第二组件连接线和执行顺序配置信息由模板创建人员输入。Among them, the second component connection line and execution order configuration information are input by the template creator.

步骤305,根据在第四交互界面输入的执行条件配置信息,确定各目标组件对应的组件任务的执行条件。Step 305: Determine the execution conditions of the component tasks corresponding to each target component according to the execution condition configuration information input in the fourth interactive interface.

第四交互界面是与第一交互界面不同的配置界面,例如,第四交互界面可以是由任一目标组件的点击事件触发显示的执行条件配置界面。The fourth interaction interface is a configuration interface different from the first interaction interface. For example, the fourth interaction interface may be an execution condition configuration interface that is triggered and displayed by a click event of any target component.

第二交互界面、第三交互界面以及第四交互界面可以是同一配置界面,即通过该配置界面可以同时配置依赖关系、组件任务的执行顺序和执行条件。The second interaction interface, the third interaction interface and the fourth interaction interface may be the same configuration interface, that is, the dependency relationship, the execution order and the execution conditions of the component tasks may be configured simultaneously through the configuration interface.

其中,执行条件配置信息由模板创建人员输入。Among them, the execution condition configuration information is input by the template creator.

根据各交互界面的输入,确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件,可以使模板创建人员根据实际的持续交付需求设计持续交付流水线模板,灵活性较好。此外,在需要对持续交付流水线模板进行修改时,可以直接在各交互界面输入新的配置信息,操作简单。According to the input of each interactive interface, the dependencies between target components and the execution order and execution conditions of component tasks corresponding to each target component are determined, so that template creators can design continuous delivery pipeline templates according to actual continuous delivery needs, which is more flexible. In addition, when the continuous delivery pipeline template needs to be modified, new configuration information can be directly entered in each interactive interface, which is simple to operate.

需要说明的是,步骤302与步骤303-步骤305之间是并行的关系,即可以通过步骤302确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件,也可以通过步骤303-步骤305确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件。It should be noted that step 302 and steps 303-305 are in a parallel relationship, that is, the dependency relationship between the target components and the execution order and execution conditions of the component tasks corresponding to the target components can be determined through step 302, and the dependency relationship between the target components and the execution order and execution conditions of the component tasks corresponding to the target components can also be determined through steps 303-305.

步骤306,根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。Step 306: Generate a continuous delivery pipeline template based on the target components, dependencies, execution order, and execution conditions.

步骤306中的相关内容可以参见其他实施例中的相关描述,此处不再赘述。For the relevant contents in step 306, reference may be made to the relevant descriptions in other embodiments, which will not be repeated here.

本实施例中,提供了各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件的多种确定方式。通过第二脚本确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件,可以进一步提高提高持续交付流水线模板创建过程的自动化程度。根据各交互界面的输入,确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件,可以使模板创建人员根据实际的持续交付需求设计持续交付流水线模板,灵活性较好。In this embodiment, multiple methods for determining the dependency between target components, as well as the execution order and execution conditions of component tasks corresponding to each target component are provided. By determining the dependency between target components, as well as the execution order and execution conditions of component tasks corresponding to each target component through a second script, the degree of automation of the continuous delivery pipeline template creation process can be further improved. Determining the dependency between target components, as well as the execution order and execution conditions of component tasks corresponding to each target component based on the input of each interactive interface can enable template creators to design continuous delivery pipeline templates based on actual continuous delivery requirements, with better flexibility.

本实施例提供了另一种模板生成方法,图4为本申请实施例所提供的一种模板生成方法的流程示意图。This embodiment provides another template generation method. FIG4 is a flow chart of a template generation method provided in an embodiment of the present application.

如图4所示,该模板生成方法可以包括以下步骤:As shown in FIG4 , the template generation method may include the following steps:

步骤401,根据持续交付需求,从预先定义组件任务的多个候选组件中,选取多个目标组件。Step 401 , according to the continuous delivery requirement, multiple target components are selected from multiple candidate components of predefined component tasks.

步骤402,确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件。Step 402, determining the dependency relationship between target components, and the execution order and execution conditions of component tasks corresponding to each target component.

步骤403,根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。Step 403: Generate a continuous delivery pipeline template according to the target components, dependencies, execution order, and execution conditions.

步骤401-步骤403中的相关内容可以参见其他实施例中的相关描述,此处不再赘述。For the relevant contents in step 401 to step 403, reference can be made to the relevant descriptions in other embodiments, which will not be repeated here.

步骤404,接收根据持续交付项目触发的模板调用指令。Step 404: Receive a template call instruction triggered by the continuous delivery project.

在创建一个或多个持续交付流水线模板之后,可以接收任意一个或多个持续交付流水线模板的模板调用指令。After one or more continuous delivery pipeline templates are created, template call instructions of any one or more continuous delivery pipeline templates may be received.

在一可选实施例中,可以由流水线交付人员点击持续交付流水线模板,以触发模板调用指令。In an optional embodiment, a pipeline delivery person may click on the continuous delivery pipeline template to trigger a template call instruction.

步骤405,基于模板调用指令对应的持续交付流水线模板,生成持续交付流水线实例。Step 405: Generate a continuous delivery pipeline instance based on the continuous delivery pipeline template corresponding to the template calling instruction.

每接收到一个模板调用指令,基于对应的持续交付流水线模板,生成一个持续交付流水线实例。Every time a template call instruction is received, a continuous delivery pipeline instance is generated based on the corresponding continuous delivery pipeline template.

步骤406,接收根据持续交付项目在第五交互界面输入的流水线参数配置信息,根据流水线参数配置信息,对持续交付流水线实例进行参数配置。Step 406: Receive pipeline parameter configuration information input in the fifth interactive interface according to the continuous delivery project, and perform parameter configuration on the continuous delivery pipeline instance according to the pipeline parameter configuration information.

第五交互界面与第一交互界面、第二交互界面、第三交互界面以及第四交互界面不同。The fifth interaction interface is different from the first interaction interface, the second interaction interface, the third interaction interface and the fourth interaction interface.

流水线参数配置信息与持续交付项目相关,持续交付项目不同,对应的流水线参数配置信息可能不同。The pipeline parameter configuration information is related to the continuous delivery project. Different continuous delivery projects may have different corresponding pipeline parameter configuration information.

流水线参数配置信息包括持续交付项目对应的代码仓库的地址、分支名称、构建工具的版本以及测试环境等信息。The pipeline parameter configuration information includes the address of the code repository corresponding to the continuous delivery project, the branch name, the version of the build tool, and the test environment.

流水线参数配置信息中的参数可以分为通用参数和专用参数,即流水线参数配置信息中一部分参数为目标组件的通用参数,另一部分参数为某个或多个目标组件的独有参数。The parameters in the pipeline parameter configuration information can be divided into common parameters and special parameters, that is, some parameters in the pipeline parameter configuration information are common parameters of the target component, and the other parameters are unique parameters of one or more target components.

对持续交付流水线实例进行参数配置,可以使持续交付流水线模板灵活地适应不同的项目需求,提高持续交付流水线模板的可复用性和适应性。By configuring parameters for the continuous delivery pipeline instance, the continuous delivery pipeline template can be flexibly adapted to different project requirements and improve the reusability and adaptability of the continuous delivery pipeline template.

可选地,该方法还包括:通过设定监控接口,获取持续交付流水线实例的执行信息,以确定持续交付流水线实例的执行状态,其中,执行信息包括持续交付流水线实例中各组件任务的完成状态、执行时间以及错误信息。Optionally, the method also includes: obtaining execution information of the continuous delivery pipeline instance by setting a monitoring interface to determine the execution status of the continuous delivery pipeline instance, wherein the execution information includes the completion status, execution time and error information of each component task in the continuous delivery pipeline instance.

每个持续交付流水线实例可以对应一张用于存储执行信息的执行信息表,响应于持续交付流水线实例开始执行,可以通过设定监控接口,读取执行信息表中的最新执行信息,以对持续交付流水线实例的执行情况进行实时监控。Each continuous delivery pipeline instance may correspond to an execution information table for storing execution information. In response to the continuous delivery pipeline instance starting execution, the latest execution information in the execution information table may be read by setting a monitoring interface to monitor the execution status of the continuous delivery pipeline instance in real time.

对持续交付流水线实例的执行情况进行实时监控,可以及时发现和解决执行过程中的问题,确保持续交付流水线的顺利进行。Real-time monitoring of the execution of continuous delivery pipeline instances can promptly identify and resolve problems in the execution process, ensuring the smooth progress of the continuous delivery pipeline.

在持续交付流水线实例执行完成后,可以获取各个目标组件的执行结果,例如代码质量检测结果、测试覆盖率检测结果、部署成功率检测结果等,以便相关人员通过执行结果了解持续交付流水线实例的效果,反馈改进意见,不断优化持续交付流水线的效率和质量,提高交付的可靠性和稳定性。After the continuous delivery pipeline instance is executed, the execution results of each target component can be obtained, such as code quality test results, test coverage test results, deployment success rate test results, etc., so that relevant personnel can understand the effect of the continuous delivery pipeline instance through the execution results, provide feedback on improvements, continuously optimize the efficiency and quality of the continuous delivery pipeline, and improve the reliability and stability of delivery.

本实施例中,根据持续交付需求,从预先定义组件任务的多个候选组件中,选取多个目标组件;确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件;根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板;接收根据持续交付项目触发的模板调用指令;基于模板调用指令对应的持续交付流水线模板,生成持续交付流水线实例;接收根据持续交付项目在第五交互界面输入的流水线参数配置信息,根据流水线参数配置信息,对持续交付流水线实例进行参数配置。基于此,本申请中的持续交付流水线模板可以灵活地适应不同的项目需求,提高了持续交付流水线模板的可复用性和适应性。In this embodiment, according to the continuous delivery requirements, multiple target components are selected from multiple candidate components of predefined component tasks; the dependencies between the target components and the execution order and execution conditions of the component tasks corresponding to the target components are determined; a continuous delivery pipeline template is generated according to the target components, dependencies, execution order and execution conditions; a template call instruction triggered by a continuous delivery project is received; a continuous delivery pipeline instance is generated based on the continuous delivery pipeline template corresponding to the template call instruction; pipeline parameter configuration information input in the fifth interactive interface according to the continuous delivery project is received, and parameters of the continuous delivery pipeline instance are configured according to the pipeline parameter configuration information. Based on this, the continuous delivery pipeline template in this application can flexibly adapt to different project requirements, improving the reusability and adaptability of the continuous delivery pipeline template.

为了实现上述实施例,本申请实施例还提出一种模板生成装置。In order to implement the above embodiment, the embodiment of the present application also proposes a template generating device.

图5为本申请实施例提供的一种模板生成装置的结构示意图。FIG5 is a schematic diagram of the structure of a template generating device provided in an embodiment of the present application.

如图5所示,该模板生成装置500包括:As shown in FIG5 , the template generating device 500 includes:

组件选取模块510,用于根据持续交付需求,从预先定义组件任务的多个候选组件中,选取多个目标组件;A component selection module 510 is used to select multiple target components from multiple candidate components of predefined component tasks according to continuous delivery requirements;

确定模块520,用于确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件;A determination module 520 is used to determine the dependency relationship between target components, and the execution order and execution conditions of component tasks corresponding to each target component;

模板生成模块530,用于根据目标组件、依赖关系、执行顺序以及执行条件,生成持续交付流水线模板。The template generation module 530 is used to generate a continuous delivery pipeline template according to target components, dependencies, execution order, and execution conditions.

可选地,组件选取模块510用于:Optionally, the component selection module 510 is used to:

接收根据持续交付请求触发的组件拖拽指令或组件选取指令;基于组件拖拽指令或组件选取指令,从多个候选组件中选取目标组件。Receive a component drag command or a component selection command triggered by a continuous delivery request; select a target component from multiple candidate components based on the component drag command or the component selection command.

可选地,组件选取模块510用于:Optionally, the component selection module 510 is used to:

获取与持续交付需求相匹配的第一脚本;Get the first script that matches the continuous delivery requirements;

执行第一脚本,以基于第一标识符,从第一脚本中提取目标组件标识,第一标识符用于命名组件标识;executing the first script to extract the target component identifier from the first script based on the first identifier, the first identifier being used for naming the component identifier;

依据组件标识和组件之间的对应关系,从多个候选组件中,选取与目标组件标识相对应的目标组件。According to the correspondence between the component identifier and the components, a target component corresponding to the target component identifier is selected from multiple candidate components.

可选地,确定模块520用于:Optionally, the determination module 520 is used to:

获取与持续交付需求相匹配的第二脚本;Get a second script that matches the continuous delivery requirements;

执行第二脚本,以确定各目标组件之间的依赖关系,以及各目标组件对应的组件任务的执行顺序和执行条件。The second script is executed to determine the dependency relationship between the target components and the execution order and execution conditions of the component tasks corresponding to the target components.

可选地,确定模块520用于:Optionally, the determination module 520 is used to:

执行第二脚本,以基于第二标识符,从第二脚本中提取至少一个组件标识数组,第二标识符用于命名依赖关系,组件标识数组中包括存在依赖关系的两个目标组件的组件标识;Execute the second script to extract at least one component identification array from the second script based on the second identifier, the second identifier is used to name the dependency relationship, and the component identification array includes component identifications of two target components having the dependency relationship;

基于各组件标识数组,确定各目标组件之间的依赖关系;Determine the dependency relationship between target components based on the component identification arrays;

基于各组件标识数组,对各目标组件对应的组件任务进行排序,生成满足各目标组件之间依赖关系的执行顺序;Based on the component identification arrays, the component tasks corresponding to the target components are sorted to generate an execution order that satisfies the dependency relationship between the target components.

基于第三标识符,从第二脚本中提取各目标组件对应的组件任务的执行条件,第三标识符用于命名执行条件。Based on the third identifier, the execution conditions of the component tasks corresponding to each target component are extracted from the second script, and the third identifier is used to name the execution conditions.

可选地,目标组件显示于第一交互界面,确定模块520用于:Optionally, the target component is displayed on the first interactive interface, and the determination module 520 is used to:

根据在第一交互界面输入的第一组件连接线,确定各目标组件之间的依赖关系;或者,根据在第二交互界面输入的依赖关系配置信息,确定各目标组件之间的依赖关系;Determine the dependency relationship between the target components according to the first component connection line input in the first interactive interface; or determine the dependency relationship between the target components according to the dependency configuration information input in the second interactive interface;

根据在第一交互界面输入的第二组件连接线,确定各目标组件对应的组件任务的执行顺序;或者,根据在第三交互界面输入的执行顺序配置信息,确定各目标组件对应的组件任务的执行顺序;Determine the execution order of component tasks corresponding to each target component according to the second component connection line input in the first interactive interface; or determine the execution order of component tasks corresponding to each target component according to the execution order configuration information input in the third interactive interface;

根据在第四交互界面输入的执行条件配置信息,确定各目标组件对应的组件任务的执行条件。According to the execution condition configuration information input in the fourth interactive interface, the execution conditions of the component tasks corresponding to each target component are determined.

可选地,该装置还包括:Optionally, the device further comprises:

指令接收模块,用于接收根据持续交付项目触发的模板调用指令;An instruction receiving module, used to receive template calling instructions triggered by continuous delivery projects;

实例生成模块,用于基于模板调用指令对应的持续交付流水线模板,生成持续交付流水线实例;An instance generation module is used to generate a continuous delivery pipeline instance based on the continuous delivery pipeline template corresponding to the template call instruction;

参数配置模块,用于接收根据持续交付项目在第五交互界面输入的流水线参数配置信息,根据流水线参数配置信息,对持续交付流水线实例进行参数配置。The parameter configuration module is used to receive the pipeline parameter configuration information input in the fifth interactive interface according to the continuous delivery project, and configure the parameters of the continuous delivery pipeline instance according to the pipeline parameter configuration information.

可选地,该装置还包括:Optionally, the device further comprises:

监控模块,用于通过设定监控接口,获取持续交付流水线实例的执行信息,以确定持续交付流水线实例的执行状态,其中,执行信息包括持续交付流水线实例中各组件任务的完成状态、执行时间以及错误信息。The monitoring module is used to obtain the execution information of the continuous delivery pipeline instance by setting the monitoring interface to determine the execution status of the continuous delivery pipeline instance, wherein the execution information includes the completion status, execution time and error information of each component task in the continuous delivery pipeline instance.

需要说明的是,前述对模板生成方法实施例的解释说明也适用于该实施例的模板生成装置,此处不再赘述。It should be noted that the above explanations of the template generation method embodiment are also applicable to the template generation device of this embodiment, and will not be repeated here.

图6为本申请实施例提供的电子设备的结构示意图。其中,本实施例中的电子设备600旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。Fig. 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Among them, the electronic device 600 in the present embodiment is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and/or required herein.

如图6所示,上述电子设备600包括:As shown in FIG6 , the electronic device 600 includes:

存储器601及处理器602,连接不同组件(包括存储器601和处理器602)的总线603,存储器601存储有计算机程序,当处理器602执行程序时实现本申请实施例的模板生成方法。The memory 601 and the processor 602, a bus 603 connecting different components (including the memory 601 and the processor 602), the memory 601 stores a computer program, and when the processor 602 executes the program, the template generation method of the embodiment of the present application is implemented.

总线603表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 603 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

电子设备600典型地包括多种电子设备可读介质。这些介质可以是任何能够被电子设备600访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The electronic device 600 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 600, including volatile and non-volatile media, removable and non-removable media.

存储器601还可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)604和/或高速缓存存储器605。电子设备600可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统606可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线603相连。存储器601可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。The memory 601 may also include a computer system readable medium in the form of a volatile memory, such as a random access memory (RAM) 604 and/or a cache memory 605. The electronic device 600 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, the storage system 606 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 6 , commonly referred to as a “hard drive”). Although not shown in FIG. 6 , a disk drive for reading and writing a removable non-volatile disk (such as a “floppy disk”) and an optical disk drive for reading and writing a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical medium) may be provided. In these cases, each drive may be connected to the bus 603 via one or more data medium interfaces. The memory 601 may include at least one program product having a set (such as at least one) of program modules, which are configured to perform the functions of the various embodiments of the present application.

具有一组(至少一个)程序模块607的程序/实用工具608,可以存储在例如存储器601中,这样的程序模块607包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块607通常执行本申请所描述的实施例中的功能和/或方法。A program/utility 608 having a set (at least one) of program modules 607 may be stored, for example, in the memory 601, such program modules 607 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 607 generally perform the functions and/or methods of the embodiments described herein.

电子设备600也可以与一个或多个外部设备609(例如键盘、指向设备、显示器611等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备600能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口612进行。并且,电子设备600还可以通过网络适配器613与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图6所示,网络适配器613通过总线603与电子设备600的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 600 may also communicate with one or more external devices 609 (e.g., keyboard, pointing device, display 611, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and/or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input/output (I/O) interface 612. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and/or public network, such as the Internet) through a network adapter 613. As shown in FIG. 6 , the network adapter 613 communicates with other modules of the electronic device 600 through a bus 603. It should be understood that, although not shown in the figure, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

处理器602通过运行存储在存储器601中的程序,从而执行各种功能应用以及数据处理。The processor 602 executes various functional applications and data processing by running the programs stored in the memory 601 .

需要说明的是,本实施例的电子设备的实施过程和技术原理参见前述对本申请实施例的模板生成方法的解释说明,此处不再赘述。It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the template generation method of the embodiment of the present application, and will not be repeated here.

为了实现上述实施例,本申请还提出一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现前述实施例所提供的方法。In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.

为了实现上述实施例,本申请还提出一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现前述实施例所提供的方法。In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

本申请中所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.

需要说明的是,来自用户的个人信息应当被收集用于合法且合理的用途,并且不在这些合法使用之外共享或出售。此外,应在收到用户知情同意后进行此类采集/共享,包括但不限于在用户使用该功能前,通知用户阅读用户协议/用户通知,并签署包括授权相关用户信息的协议/授权。此外,还需采取任何必要步骤,保卫和保障对此类个人信息数据的访问,并确保有权访问个人信息数据的其他人遵守其隐私政策和流程。It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection/sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement/user notice and sign the agreement/authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.

本申请预期可提供用户选择性阻止使用或访问个人信息数据的实施方案。即本公开预期可提供硬件和/或软件,以防止或阻止对此类个人信息数据的访问。一旦不再需要个人信息数据,通过限制数据收集和删除数据可最小化风险。此外,在适用时,对此类个人信息去除个人标识,以保护用户的隐私。The present application is expected to provide an implementation scheme for users to selectively block the use or access of personal information data. That is, the present disclosure is expected to provide hardware and/or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.

在前述各实施例描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims (10)

1. A template generation method, characterized by comprising the steps of:
Selecting a plurality of target components from a plurality of candidate components of a predefined component task according to continuous delivery requirements;
Determining the dependency relationship among the target components, and the execution sequence and the execution condition of the component tasks corresponding to the target components;
And generating a continuous delivery pipeline template according to the target component, the dependency relationship, the execution sequence and the execution condition.
2. The method of claim 1, wherein selecting a plurality of target components from a plurality of the candidate components of a predefined component task according to a continuous delivery demand comprises:
Receiving a component dragging instruction or a component selecting instruction triggered according to the continuous delivery request; and selecting the target component from a plurality of candidate components based on the component dragging instruction or the component selecting instruction.
3. The method of claim 1, wherein selecting a plurality of target components from a plurality of the candidate components of a predefined component task according to a continuous delivery demand comprises:
acquiring a first script matched with the continuous delivery demand;
Executing the first script to extract a target component identification from the first script based on a first identifier, the first identifier being used to name the component identification;
And selecting the target component corresponding to the target component identifier from a plurality of candidate components according to the corresponding relation between the component identifier and the components.
4. The method according to claim 1, wherein determining the dependency relationship between the target components and the execution order and execution conditions of the component tasks corresponding to the target components comprises:
acquiring a second script matched with the continuous delivery demand;
And executing the second script to determine the dependency relationship among the target components, and the execution sequence and the execution condition of the component tasks corresponding to the target components.
5. The method of claim 4, wherein executing the second script to determine the dependency relationship between each of the target components, and the execution order and execution conditions of the component tasks corresponding to each of the target components, comprises:
executing the second script to extract at least one component identification array from the second script based on a second identifier, wherein the second identifier is used for naming a dependency relationship, and the component identification array comprises component identifications of two target components with the dependency relationship;
determining a dependency relationship between the target components based on the component identification arrays;
Based on the component identification arrays, sequencing the component tasks corresponding to the target components to generate an execution sequence meeting the dependency relationship among the target components;
and extracting the execution condition of the component task corresponding to each target component from the second script based on a third identifier, wherein the third identifier is used for naming the execution condition.
6. The method according to claim 1, wherein the target components are displayed on a first interactive interface, the determining the dependency relationship between the target components, and the execution sequence and execution condition of the component tasks corresponding to the target components, includes at least one of:
Determining the dependency relationship among the target components according to a first component connecting line input in the first interactive interface; or determining the dependency relationship between the target components according to the dependency relationship configuration information input in the second interactive interface;
Determining the execution sequence of the component tasks corresponding to the target components according to the second component connecting lines input in the first interactive interface; or determining the execution sequence of the component tasks corresponding to the target components according to the execution sequence configuration information input in the third interactive interface;
and determining the execution conditions of the component tasks corresponding to the target components according to the execution condition configuration information input in the fourth interactive interface.
7. The method according to any one of claims 1-6, further comprising:
Receiving a template calling instruction triggered according to a continuous delivery project;
Generating a continuous delivery pipeline instance based on a continuous delivery pipeline template corresponding to the template calling instruction;
And receiving pipeline parameter configuration information input at the fifth interactive interface according to the continuous delivery project, and carrying out parameter configuration on the continuous delivery pipeline instance according to the pipeline parameter configuration information.
8. The method of claim 7, wherein the method further comprises:
and acquiring the execution information of the continuous delivery pipeline instance through a set monitoring interface to determine the execution state of the continuous delivery pipeline instance, wherein the execution information comprises the completion state, the execution time and the error information of each component task in the continuous delivery pipeline instance.
9. A template generating apparatus, comprising:
the component selecting module is used for selecting a plurality of target components from a plurality of candidate components of a predefined component task according to the continuous delivery requirement;
the determining module is used for determining the dependency relationship among the target components, and the execution sequence and the execution condition of the component tasks corresponding to the target components;
And the template generation module is used for generating a continuous delivery pipeline template according to the target component, the dependency relationship, the execution sequence and the execution condition.
10. A computer program product comprising a computer program which, when executed by a processor, implements the method of any of claims 1-8.
CN202410674611.8A 2024-05-28 2024-05-28 Template generation method, device, electronic device and storage medium Pending CN118642746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410674611.8A CN118642746A (en) 2024-05-28 2024-05-28 Template generation method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410674611.8A CN118642746A (en) 2024-05-28 2024-05-28 Template generation method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN118642746A true CN118642746A (en) 2024-09-13

Family

ID=92670264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410674611.8A Pending CN118642746A (en) 2024-05-28 2024-05-28 Template generation method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN118642746A (en)

Similar Documents

Publication Publication Date Title
CN108563435B (en) Code generation method and device
US20240045850A1 (en) Systems and methods for database orientation transformation
US8713526B2 (en) Assigning runtime artifacts to software components
CN112631919B (en) Contrast test method, device, computer equipment and storage medium
CN113342590B (en) NVMe device debugging function implementation method, device, equipment and storage medium
CN104090776A (en) Software development method and system
US8701083B2 (en) Systems and methods for varying software build properties using primary and supplemental build files
CN109117141A (en) Simplify method, apparatus, the electronic equipment, computer readable storage medium of programming
US20090007157A1 (en) Mapping Data Sources to a Procedural API
WO2024152665A1 (en) Code construction method and apparatus, and computer device and storage medium
CN107807869A (en) A kind of test system and method for testing
CN114201382A (en) Test case generation method and device, storage medium and electronic equipment
WO2024244414A1 (en) Code branch environment deployment method and apparatus, and electronic device
CN115145634B (en) System management software self-adapting method, device and medium
CN118642746A (en) Template generation method, device, electronic device and storage medium
CN118626064A (en) Method, device and electronic device for generating RTE code
CN115481614A (en) Acquisition method, device, equipment and storage medium of vehicle engineering configuration table
CN116049000A (en) Environmental parameter configuration method, device, equipment, storage medium and product
US20040015860A1 (en) In the development of computer programs, a method of recording the sequential development of each of a plurality of files forming the program
CN118170367B (en) Workflow operation method and device, electronic equipment and medium
CN116661909B (en) Application program running method and device, terminal equipment and storage medium
CN114692382B (en) Management method and device for nuclear power simulation model development data and computer equipment
CN109002287B (en) Management method and device for software in cloud data system
CN118779370A (en) Method, device, electronic device and storage medium for implementing business functions
CN118760439A (en) Application deployment method, device, electronic device and storage medium

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