WO2021036697A1 - Commissioning method and apparatus, device and storage medium - Google Patents

Commissioning method and apparatus, device and storage medium Download PDF

Info

Publication number
WO2021036697A1
WO2021036697A1 PCT/CN2020/106567 CN2020106567W WO2021036697A1 WO 2021036697 A1 WO2021036697 A1 WO 2021036697A1 CN 2020106567 W CN2020106567 W CN 2020106567W WO 2021036697 A1 WO2021036697 A1 WO 2021036697A1
Authority
WO
WIPO (PCT)
Prior art keywords
production
pipeline
target
candidate
product
Prior art date
Application number
PCT/CN2020/106567
Other languages
French (fr)
Chinese (zh)
Inventor
谢蓓
李卓
张欣
Original Assignee
中国建设银行股份有限公司
建信金融科技有限责任公司
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 中国建设银行股份有限公司, 建信金融科技有限责任公司 filed Critical 中国建设银行股份有限公司
Publication of WO2021036697A1 publication Critical patent/WO2021036697A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • G06Q10/06375Prediction of business process outcome or impact based on a proposed change

Definitions

  • the embodiments of the present application relate to the field of software and network technology, for example, to a production method, device, equipment, and storage medium.
  • Production release is an important part of software or website engineering. It is used to generate production version, inspect production version, and release production version to the production environment.
  • the code project can be manually generated by the software developer to generate an executable program, based on manual verification of the correctness of the code and the enterprise-level requirements of the production version, and finally the executable program is put into production and released.
  • the production methods in related technologies are not only highly dependent on labor, but also difficult to conduct enterprise-level compliance inspections on the generated build products. There is a large gap between the assembly line and the production link, and it is impossible to ensure that the production version is not tampered with and other malicious processing. , Then the risk of production is higher and the quality of production is lower.
  • the embodiments of the present application provide a production method, device, equipment, and storage medium, which can reduce the risk of production and improve the quality and efficiency of production.
  • an embodiment of the present application provides a production method, including:
  • the code project to be put into production is put into production and online.
  • an embodiment of the present application provides a production device, including:
  • the assembly line creation module is configured to determine the target assembly line based on the code project to be put into production and at least one candidate assembly line template;
  • the pipeline execution module is configured to generate at least one candidate build product of the code project to be put into production and a quality inspection report for each candidate build product according to the target pipeline;
  • the commissioning module is configured to put the code project to be commissioned into production according to the at least one candidate construction product of the code project to be commissioned and the quality inspection report of each candidate construction product.
  • an embodiment of the present application provides a device, including:
  • One or more processors are One or more processors;
  • Memory used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the production method described in any embodiment of the present application.
  • an embodiment of the present application provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the commissioning described in any embodiment of the present application is implemented. method.
  • FIG. 1 is a flowchart of a production method provided in Embodiment 1 of this application;
  • FIG. 2 is an example diagram of formulating a production line template provided in Embodiment 1 of the application;
  • FIG. 3 is a flowchart of a production method provided in the second embodiment of the application.
  • Fig. 4 is a schematic diagram of a production example provided in the second embodiment of the application.
  • FIG. 5 is a schematic structural diagram of a production device provided in the third embodiment of the application.
  • FIG. 6 is a schematic structural diagram of a device provided in Embodiment 4 of this application.
  • Figure 1 is a flow chart of a production method provided by Embodiment 1 of the application. This embodiment can be applied to the situation where the code project to be put into production is released for production.
  • the method can be executed by a production device, which can use software and / Or implemented by hardware, optionally configured in an electronic device, such as a computer.
  • the method can include:
  • Step 110 Determine a target pipeline based on the code project to be put into production and at least one candidate pipeline template for putting into production.
  • code engineering refers to the source code written by the developer using the assembly language and high-level language supported by the development tool.
  • the binary code generated by the source code after the compiler can be directly recognized by the computer is the target code.
  • the executable file formed by linking the target code is the executable code.
  • the code project to be put into production refers to the source code used for production release. Therefore, the code project to be put into production needs to be read, verified, compiled, and tested before the code project to be put into production can be released as executable code in a suitable form and deployed to the production environment to realize the release and release of the software version. Update or upgrade, etc.
  • the pipeline may refer to the process of automatically generating an executable file from a code project based on a certain pipeline process.
  • the executable file as the construction product of the pipeline, may be generated after each task is successfully constructed. war package or jar package, etc., and can save corresponding original code project information, pipeline information, etc.
  • the production line template refers to a template that has solidified the assembly line process, and can be a set of assembly line settings that can be reused by multiple assembly lines.
  • the assembly line process can include the production process of the build product, including steps such as obtaining code, static code scanning, code compilation, and filing the finished product; the assembly line process can include the quality inspection process of the build product, including, for example, testing each production link in the production process The execution status, unit test coverage, unit test execution success rate, interface test coverage, interface test execution success rate, vulnerability scan results, etc.
  • a variety of templates may be included in the pipeline, and one or more templates may be included for each purpose.
  • One of them is the candidate production line template, which is composed of a series of automatically executable software operation steps. By executing these steps, the software production version can be produced.
  • the candidate production line template is used to build product generation and quality inspection for production use.
  • the method further includes: determining the generation process and quality inspection process of the build product according to the development language and development framework of the code project; According to the production process and quality inspection process of the build product, at least one candidate production line template is constructed.
  • the development language can be assembly language or high-level language such as C language, Java language, Python language, and the development framework can be Spring framework, Django framework, etc.
  • the development language and development framework of the code engineering determine each step used to build product generation and quality inspection and the execution sequence between steps, compose the generation process and quality inspection process of the build product, and formulate candidate production line templates for users to choose use.
  • Figure 2 is an example diagram for formulating a production line template.
  • users can customize pipeline steps and configure pipeline information.
  • FIG 2 is a simple example of a production pipeline template of the Maven code project.
  • the steps in the production pipeline template are set to obtain code (getCode), code static scanning (Fortify scanning), code compilation (Compile), and archive finished products.
  • the steps can complete the most basic verification function of the code.
  • users can also set more inspection steps, such as quasi-unit testing, production environment deployment, interface testing, etc.
  • one candidate commissioning pipeline template may be selected from the code project to be commissioned to create the target pipeline.
  • the target pipeline is used to generate a build product from the code project to be put into production.
  • the selected production pipeline template can be customized again, for example, operations such as adding, deleting, and modifying the steps of the pipeline process.
  • the target pipeline of the code project to be put into production may be one or more, and the put-in pipeline templates used in multiple target pipelines may be the same or different.
  • the generated construction products of the code project to be put into production can be one or more, which can be selected when putting into production.
  • the target production pipeline template is selected from at least one candidate production pipeline template according to the development language and development framework of the code project to be put into production.
  • the user can at least configure the pipeline parameters, such as the reading and value reading of the code project to be put into production, and the user can also reconfigure the pipeline process to create the target pipeline.
  • at least one indispensable processing step in the pipeline process can be pre-defined according to the current production version requirements, enterprise-level requirements, and the like. For example, if it is currently necessary to specify a unified quality inspection standard at the enterprise level, the enterprise-level quality inspection step can be specified in advance as a preset indispensable processing step.
  • a submission function is provided for the created pipeline.
  • each processing step in the target pipeline is traversed.
  • the pipeline process in the target pipeline can be checked based on keywords to check whether the target pipeline is in Including the necessary processing steps. If it is checked that the pipeline flow contains preset indispensable processing steps, it is determined that the target pipeline is submitted successfully, that is, the target pipeline is successfully created, and the pipeline can be executed.
  • Step 120 Generate at least one candidate build product of the code project to be put into production and a quality inspection report of the candidate build product according to the target pipeline.
  • the target pipeline is executed, and the candidate construction product of the code project to be put into production is generated according to the generation process in the target production pipeline template of the target pipeline.
  • the build product refers to the executable program generated by the code project to be put into production based on pipeline automation.
  • the build product generated by the code project to be put into production based on different pipelines or different execution timings of the same pipeline is regarded as the candidate build product of the code project to be put into production.
  • the candidate build product is appended with pipeline information and the code project information to be put into production. It can also be appended with build number information to uniquely identify the build product. It can also identify the associated pipeline through the build number information based on certain identification rules. Information and project information of codes to be put into production, etc.
  • the target pipeline is executed, and the quality inspection process in the target production pipeline template of the target pipeline is used to verify each generation link and the generation result of the candidate build product, and generate a quality inspection report of the candidate build product.
  • the assembly line process can include the quality inspection process, correspondingly, the quality inspection report refers to the report generated by the automated verification of the built product based on the assembly line.
  • the quality inspection report can include the identification information of the construction product being inspected, such as construction code information, assembly line information, construction time, etc.
  • the body of the quality inspection report includes the list of each quality inspection step in the quality inspection process
  • the inspection value and reference value of each item are listed through the comparison between the inspection value and the reference value, and the final quality inspection result of the constructed product is given according to the quality inspection result of each item.
  • the final quality inspection result of the constructed product is successful only when the quality inspection results of all items are passed, indicating that the quality inspection passed.
  • Table 1 is an example of a quality inspection report.
  • Step 130 According to at least one candidate construction product of the code project to be put into production and the quality inspection report of the candidate construction product, the code project to be put into production is put into production and online.
  • putting into production refers to the release of a software version online. Since the assembly line is connected in series with the production, the user can directly bring out at least one candidate build product associated with the code project to be put into production and the quality inspection report of each candidate build product after determining the code project to be put into production. . That is to organically combine the assembly line with the commissioning process, to avoid the independence between the assembly line process and the commissioning process, which causes the construction products used during commissioning to break away from the assembly line processing process and bring risks to the commissioning.
  • At least one candidate build product generated by the code project to be put into production based on the production pipeline template is automatically displayed, as well as the pipeline process, construction status, and status of the pipeline to which the candidate build product belongs.
  • Inspection report According to the pipeline process, construction status, and quality inspection report of the pipeline to which the candidate build product belongs, from at least one candidate build product, select the candidate build product whose pipeline process meets the requirements of the current production version, the build status is successful, and the quality inspection result is passed.
  • Target construction products to create target production tasks Execute the target production task, add the target build product to the production version package, so as to put the production version package into production.
  • the target pipeline is created through the code project to be put into production and the pre-built production pipeline template, and the target pipeline is executed to generate at least one candidate build product of the code project to be put into production and its quality inspection report, so as to be based on the candidate build product and
  • the quality inspection report selects the target construction product and puts it into production.
  • the embodiment of the application seamlessly connects the assembly line with the production line, and based on the quality inspection process in the assembly line, not only manual intervention is avoided, but also the production version package used for production is ensured that the production version package used for production is the aforementioned construction product that has undergone quality inspection, reducing production Risk, improve the quality and efficiency of production.
  • FIG. 3 is a flowchart of a method for putting into production provided in the second embodiment of the application. As shown in Fig. 3, the method may include:
  • Step 310 Select a target production pipeline template from at least one candidate production pipeline template according to the development language and development framework of the code project to be put into production.
  • the development language and development framework of the code project to be put into production can be compared with the development language and development framework to which the candidate production pipeline template belongs, and the candidate that matches the development language and development framework can be put into production.
  • the assembly line template is used as the target production assembly line template for the creation of the assembly line.
  • the pipeline template creation interface can be invoked, and the generation process and generation process of the build product can be determined according to the development language and development framework of the code project.
  • Quality inspection process According to the production process and quality inspection process of the built product, at least one candidate production line template is constructed.
  • the pipeline template creation interface design is shown in Table 2.
  • the interface name can be CreatePipelineTemple. This interface is used to create the pipeline template. When creating the pipeline template, you need to enter the pipeline template name, pipeline template type, and pipeline steps. Finally, Output the creation result of the pipeline template, such as success.
  • the development language and development framework of the code project to be put into production can be automatically identified, so as to be based on the development language and development of the candidate pipeline template.
  • the framework automatically matches according to the recognition results, and recommends the matching candidate production line template to the user as the target production line template.
  • the data model of the pipeline template is shown in Table 3. Only some key fields are listed in Table 3. Among them, the first column indicates the name of the first-level field in the template, the second column indicates the name of the second-level field under the first-level field, the third column indicates the field type, and the fourth column is Descriptive information of the field.
  • the field template_type indicates that the pipeline template may include multiple templates, such as the production pipeline template used in the production of this embodiment, the daily processing pipeline template, and the ordinary pipeline template.
  • Step 320 Configure the pipeline process and pipeline parameters according to the target production pipeline template to create the target pipeline.
  • each processing step in the pipeline process has been pre-solidified in the production pipeline template.
  • the user can configure the pipeline parameters based on the production pipeline template, such as the read address of the code to be put into production, so as to directly adopt the production pipeline
  • the template creates the target pipeline.
  • users can further customize the pipeline process based on the production pipeline template when creating the pipeline, such as adding, deleting or modifying one or some processing steps, and configuring the corresponding pipeline parameters to obtain the created target pipeline .
  • the data model of the pipeline is shown in Table 4.
  • the first column indicates the pipeline name
  • the second column indicates the field type
  • the third column indicates the description information of the field.
  • Step 330 Submit the target pipeline to check the pipeline process in the target pipeline.
  • the submission of the target pipeline is used to check the pipeline flow in the target pipeline to determine whether the pipeline flow of the target pipeline includes a preset production pipeline step.
  • the preset production pipeline step refers to pre-specifying at least one indispensable processing step in the pipeline process according to the requirements of the current production version, enterprise-level requirements, and the like. For example, suppose that the current enterprise-level unified quality inspection standards need to be specified, and the enterprise-level quality inspection steps can be specified as the preset production pipeline steps; for another example, assuming that the current production version needs to meet a certain production environment deployment, you can pre-set The production environment deployment step presets the production pipeline step.
  • the target pipeline may be submitted. Through the submission of the target pipeline, each processing step in the target pipeline is traversed, and the pipeline flow in the target pipeline can be checked based on keywords to check whether the target pipeline includes a preset production pipeline step.
  • Step 340 If it is checked that the pipeline process includes a preset production pipeline step, it is determined that the target pipeline is submitted successfully.
  • Step 350 Execute the target pipeline, and generate candidate construction products of the code project to be put into production according to the generation process in the target production pipeline template of the target pipeline.
  • Step 360 According to the quality inspection process in the target production pipeline template of the target pipeline, verify each generation link and the generation result of the candidate construction product, and generate a quality inspection report of the candidate construction product.
  • the successful submission of the target pipeline indicates that the target pipeline is successfully created and meets the requirements of the current production version
  • the target pipeline can be executed to automatically generate candidates for the code project to be put into production according to the generation process in the target pipeline template of the target pipeline.
  • Build the product according to the quality inspection process in the target production line template of the target pipeline, automatically verify each generation link and the result of the candidate build product, and generate the quality inspection report of the candidate build product.
  • the data model of the pipeline execution details is shown in Table 5.
  • the first column indicates the name of the first-level field in the production task
  • the second column indicates the name of the second-level field under the first-level field
  • the third column indicates the field type
  • the fourth column is the description information of the field.
  • the pipeline execution details acquisition interface may be called to obtain the pipeline execution details.
  • the pipeline execution details acquisition interface design is shown in Table 6.
  • the interface name can be getPipelineBuildInfo. This interface is used to acquire pipeline execution details. When acquiring pipeline execution details, you need to enter the pipeline number and the build number of the build product, and finally output the build product Version package, step execution information, etc.
  • the production version construction product can be generated through the target pipeline based on the production pipeline template, and the compliance inspection of the production version construction product can be performed, and the production version construction product inspection report can be automatically generated.
  • different production quality inspection steps are prefabricated in the production line template. Applying this embodiment to the production of all software versions at the enterprise level can standardize the enterprise-level production process, ensure the quality of the software version, and improve the automation level of enterprise-level production release.
  • Step 370 Determine the target build product of the code project to be put into production according to the pipeline and the quality inspection report to which at least one candidate build product of the code project to be put into production belongs, so as to create a target put into production task.
  • only the build product generated by the target pipeline based on the production pipeline template can be selected to be added to the production version package when it is released for production. Because the assembly line is connected in series with the production, the user can directly bring out at least one candidate build product associated with the code project to be put into production and the quality inspection report of each candidate build product after determining the code project to be put into production. . Therefore, based on the construction product and quality inspection report brought out by the code project to be put into production, and based on the quality inspection result of the quality inspection report, a suitable construction product is selected as the target construction product from at least one candidate construction product of the code project to be put into production. Create target production tasks and put them into production.
  • At least one candidate build product generated by the code project to be put into production based on the put into production pipeline template, and the pipeline process and construction status of the pipeline to which the candidate build product belongs are displayed And quality inspection report; according to the pipeline process, construction status and quality inspection report of the pipeline to which the candidate construction product belongs, determine the target construction product of the code project to be put into production.
  • Fig. 4 is an example diagram of production.
  • users do not need to manually add build products when putting into production, but can directly select the code project to be put into production.
  • all pipeline information, branch information, build number information of the build product, and build status information under the code project to be put into production will be automatically displayed to the user.
  • branch information refers to the source code corresponding to different users enjoying different functions.
  • There is a coupling relationship among pipeline information, branch information, build number information of build products, and build status information that is, once the user switches one of the information, the rest of the information is also changed accordingly.
  • the pipeline corresponding to the code project is automatically displayed, and the successful build number of the pipeline is displayed, and a certain build number is selected to automatically display the detailed execution status and quality inspection of the build product, the production line template
  • the report is convenient for users to select the target construction products of the code project to be put into production.
  • a candidate build product whose pipeline process meets the requirements of the current production version, the build status is successful, and the quality inspection result is passed is selected as the target build product.
  • the data model of the production task is shown in Table 7, which corresponds to the production version package information in FIG. 4.
  • the first column indicates the name of the first-level field in the production task
  • the second column indicates the name of the second-level field under the first-level field
  • the third column indicates the field type
  • the fourth column is the description information of the field.
  • Step 380 Execute the target production task, and add the target build product to the production version package, so as to put the production version package into production and online.
  • the production version package refers to a file collection of a series of code or executable files, configuration files and other files used for the version to go online. Which can include the build products of different code projects under this version. Execute the created target production tasks, connect each build product to form a production version package in the form of an executable file, and deploy it online to the production environment.
  • the technical solution of this embodiment selects the target production pipeline template from at least one candidate production pipeline template according to the development language and development framework of the code project to be put into production, configures the pipeline process and pipeline parameters to create the target pipeline, and submits the target pipeline to the target pipeline.
  • the pipeline process in the target pipeline is checked. If it is checked that the pipeline process contains the preset production pipeline steps, it is determined that the target pipeline is submitted successfully, and the target pipeline is executed to generate the candidate build product and the quality inspection report of the code project to be put into production.
  • the construction products generated by the target pipeline based on the production pipeline template are selected to be added to the production version package to be put into production.
  • the embodiment of this application solidifies the steps of enterprise-level software version generation, quality inspection, and compliance inspection in the production line template.
  • the production release By seamlessly connecting the production line with the production, the production release obtains the successfully completed production and quality of the production release pipeline.
  • the inspection report automatically generates the final production version for production, which not only avoids manual intervention, but also ensures that the production version package used for production is the aforementioned construction product that has passed the quality inspection, reducing the risk of production and improving the quality and efficiency of production.
  • FIG. 4 is a schematic structural diagram of a production device provided in Embodiment 3 of the application. This embodiment can be applied to a situation where a code project to be put into production is released for production.
  • the device can implement the production method described in any embodiment of this application.
  • the device may include the following:
  • the assembly line creation module 510 is configured to determine the target assembly line based on the code project to be put into production and at least one candidate assembly line template;
  • the pipeline execution module 520 is configured to generate at least one candidate build product of the code project to be put into production and a quality inspection report of the candidate build product according to the target pipeline;
  • the commissioning module 530 is configured to put the code project to be commissioned into production according to at least one candidate construction product of the code project to be commissioned and the quality inspection report of the candidate construction product.
  • the device further includes a template formulation module 540, which can be configured to:
  • At least one candidate production line template is constructed.
  • the pipeline creation module 510 may be configured to:
  • the target production pipeline template configure the pipeline process and pipeline parameters to create the target pipeline
  • the pipeline execution module 520 may be configured to:
  • each generation link and the generation result of the candidate construction product are verified, and a quality inspection report of the candidate construction product is generated.
  • the production module 530 includes:
  • the commissioning task creation unit 5301 is configured to determine the target construction product of the code project to be commissioned according to the pipeline and quality inspection report to which at least one candidate construction product of the code project to be commissioned belongs to create a target commissioning task;
  • the production and online unit 5302 is configured to execute the target production task, and add the target construction product to the production version package, so as to put the production version package into production and online.
  • the commissioning task creation unit 5301 may be configured as:
  • the commissioning task creation unit 5301 may be configured as:
  • a candidate construction product whose pipeline process meets the requirements of the current production version, the construction status is successful, and the quality inspection result passes is selected as the target construction product.
  • the technical solution of this embodiment realizes the formulation of the production line template, the selection of the target production line template, the creation of the pipeline, the submission and inspection of the pipeline, the generation and quality inspection of the construction product through the mutual cooperation between each functional module ,
  • the generation of quality inspection reports solidifies the steps of enterprise-level software version generation, quality inspection, and compliance inspection in the production line template.
  • the inspection report automatically generates the final production version for production, which not only avoids manual intervention, but also ensures that the production version package used for production is the aforementioned construction product that has passed the quality inspection, reducing the risk of production and improving the quality and efficiency of production.
  • FIG. 6 is a schematic structural diagram of a device provided in Embodiment 4 of this application.
  • the device may include: one or more processors 610.
  • one processor 610 is taken as an example; a memory 620 is used to store one or more programs. Or multiple processors 610 execute, so that one or more processors 610 implement the production method described in any embodiment of the present application.
  • the processor 610 and the memory 620 may be connected through a bus or in other ways. In FIG. 6, the connection through a bus is taken as an example.
  • the memory 620 can be used to store software programs, computer-executable programs, and modules, such as the program instructions corresponding to the production method in the embodiments of the present application (for example, the generation and quality inspection of the build product and the target Build product selection and production release).
  • the processor 610 executes each functional application and data processing of the device by running the software programs, instructions, and modules stored in the memory 620, that is, realizes the above-mentioned production method.
  • the memory 620 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the device, and the like.
  • the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 620 may include a memory remotely provided with respect to the processor 610, and these remote memories may be connected to the device through a network. Examples of the aforementioned network may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the fifth embodiment of the present application also provides a computer-readable storage medium on which is stored a computer program (or called computer-executable instruction), when the program is executed by a processor, it is used to execute a production method, the method includes:
  • the code project to be put into production is put into production and online.
  • a computer-readable storage medium provided by an embodiment of the present application, whose computer-executable instructions can also perform related operations in the production method provided by any embodiment of the present application.
  • Floppy disk read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including instructions, instructions are used to make a computer device (which can be A personal computer, server, or network device, etc.) execute the method described in each embodiment of the present application.
  • a computer device which can be A personal computer, server, or network device, etc.
  • each unit and module included is only divided according to functional logic, as long as the corresponding function can be realized; in addition, the specific name of each functional unit is only for mutual convenience. distinguish.
  • the embodiment of the application creates a target pipeline through the code project to be put into production and a pre-built production pipeline template, and executes the target pipeline to generate at least one candidate build product and its quality inspection report of the code project to be put into production, so as to be based on the candidate build product and its quality inspection
  • the report selects the target build product to be put into production and online.
  • the embodiment of the application seamlessly connects the assembly line with the production line, and based on the quality inspection process in the assembly line, not only manual intervention is avoided, but also the production version package used for production is ensured that the production version package used for production is the aforementioned construction product that has undergone quality inspection, reducing production Risk, improve the quality and efficiency of production.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Educational Administration (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A commissioning method and apparatus, a device, and a storage medium. The method comprises: determining a target pipeline according to a code project to be commissioned and at least one candidate commissioning pipeline template (110); generating at least one candidate construction product of said code project and a quality inspection report for each candidate construction product according to the target pipeline (120); and commissioning said code project according to the at least one candidate construction product of said code project and the quality inspection report for each candidate construction product (130).

Description

投产方法、装置、设备和存储介质Production method, device, equipment and storage medium
本公开要求在2019年08月26日提交中国专利局、申请号为201910792546.8的中国专利申请的优先权,以上申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 201910792546.8 on August 26, 2019, and the entire content of the above application is incorporated into this disclosure by reference.
技术领域Technical field
本申请实施例涉及软件及网络技术领域,例如涉及一种投产方法、装置、设备和存储介质。The embodiments of the present application relate to the field of software and network technology, for example, to a production method, device, equipment, and storage medium.
背景技术Background technique
投产发布是软件或网站工程的一个重要环节,用来生成投产版本,检验投产版本,并将投产版本发布到生产环境。Production release is an important part of software or website engineering. It is used to generate production version, inspect production version, and release production version to the production environment.
相关技术中,可以通过软件开发人员手工将代码工程生成可执行程序,基于人工对代码的正确性以及投产版本的企业级要求进行验证,最终将可执行程序投产发布。相关技术中,还可以通过自定义的流水线自动将代码工程生成可执行程序,将可执行程序作为流水线生成的构建产物,由开发人员对构建产物进行验证,最终将构建产物进行上线部署。In related technologies, the code project can be manually generated by the software developer to generate an executable program, based on manual verification of the correctness of the code and the enterprise-level requirements of the production version, and finally the executable program is put into production and released. In related technologies, it is also possible to automatically generate an executable program from a code project through a custom pipeline, use the executable program as a pipeline-generated build product, and the developer verifies the build product, and finally deploys the build product online.
然而,相关技术中的投产方式不仅对于人工的依赖性较强,而且难以对生成的构建产物进行企业级的合规检测,流水线与投产环节断层较大,无法确保投产版本不被篡改等恶意处理,进而投产风险较大且投产质量较低。However, the production methods in related technologies are not only highly dependent on labor, but also difficult to conduct enterprise-level compliance inspections on the generated build products. There is a large gap between the assembly line and the production link, and it is impossible to ensure that the production version is not tampered with and other malicious processing. , Then the risk of production is higher and the quality of production is lower.
发明内容Summary of the invention
本申请实施例提供了一种投产方法、装置、设备和存储介质,能够降低投产风险,提高投产质量和效率。The embodiments of the present application provide a production method, device, equipment, and storage medium, which can reduce the risk of production and improve the quality and efficiency of production.
第一方面,本申请实施例提供了一种投产方法,包括:In the first aspect, an embodiment of the present application provides a production method, including:
依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线;Determine the target pipeline based on the code project to be put into production and at least one candidate pipeline template;
依据所述目标流水线,生成所述待投产代码工程的至少一个候选构建产物以及每个所述候选构建产物的质检报告;Generating at least one candidate build product of the code project to be put into production and a quality inspection report for each candidate build product according to the target pipeline;
依据所述待投产代码工程的所述至少一个候选构建产物以及每个所述候选构建产物的质检报告,对所述待投产代码工程进行投产上线。According to the at least one candidate construction product of the code project to be put into production and the quality inspection report of each candidate construction product, the code project to be put into production is put into production and online.
第二方面,本申请实施例提供了一种投产装置,包括:In the second aspect, an embodiment of the present application provides a production device, including:
流水线创建模块,被配置为依据待投产代码工程以及至少一个候选投产流 水线模板,确定目标流水线;The assembly line creation module is configured to determine the target assembly line based on the code project to be put into production and at least one candidate assembly line template;
流水线执行模块,被配置为依据所述目标流水线,生成所述待投产代码工程的至少一个候选构建产物以及每个所述候选构建产物的质检报告;The pipeline execution module is configured to generate at least one candidate build product of the code project to be put into production and a quality inspection report for each candidate build product according to the target pipeline;
投产模块,被配置为依据所述待投产代码工程的所述至少一个候选构建产物以及每个所述候选构建产物的质检报告,对所述待投产代码工程进行投产上线。The commissioning module is configured to put the code project to be commissioned into production according to the at least one candidate construction product of the code project to be commissioned and the quality inspection report of each candidate construction product.
第三方面,本申请实施例提供了一种设备,包括:In the third aspect, an embodiment of the present application provides a device, including:
一个或多个处理器;One or more processors;
存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本申请任意实施例所述的投产方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the production method described in any embodiment of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现本申请任意实施例所述的投产方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium. When the computer program is executed by a processor, the commissioning described in any embodiment of the present application is implemented. method.
附图说明Description of the drawings
图1为本申请实施例一提供的一种投产方法的流程图;FIG. 1 is a flowchart of a production method provided in Embodiment 1 of this application;
图2为本申请实施例一提供的制定投产流水线模板的示例图;FIG. 2 is an example diagram of formulating a production line template provided in Embodiment 1 of the application; FIG.
图3为本申请实施例二提供的一种投产方法的流程图;FIG. 3 is a flowchart of a production method provided in the second embodiment of the application;
图4为本申请实施例二提供的投产示例图;Fig. 4 is a schematic diagram of a production example provided in the second embodiment of the application;
图5为本申请实施例三提供的一种投产装置的结构示意图;以及FIG. 5 is a schematic structural diagram of a production device provided in the third embodiment of the application; and
图6为本申请实施例四提供的一种设备的结构示意图。FIG. 6 is a schematic structural diagram of a device provided in Embodiment 4 of this application.
具体实施方式detailed description
下面结合附图和实施例对本申请实施例作进一步的详细说明。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请实施例相关的部分而非全部结构。Hereinafter, the embodiments of the present application will be further described in detail with reference to the drawings and embodiments. In addition, it should be noted that, for ease of description, the drawings only show a part but not all of the structures related to the embodiments of the present application.
另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将每项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同 时实施。此外,每项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In addition, it should be noted that, for ease of description, the drawings only show part but not all of the content related to the present application. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart describes each operation (or step) as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of each operation can be rearranged. The processing may be terminated when its operation is completed, but may also have additional steps not included in the drawings. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and so on.
实施例一Example one
图1为本申请实施例一提供的一种投产方法的流程图,本实施例可适用于对待投产代码工程进行投产发布的情况,该方法可由一种投产装置来执行,该装置可以采用软件和/或硬件的方式实现,可选是配置于电子设备中,例如计算机。该方法可以包括:Figure 1 is a flow chart of a production method provided by Embodiment 1 of the application. This embodiment can be applied to the situation where the code project to be put into production is released for production. The method can be executed by a production device, which can use software and / Or implemented by hardware, optionally configured in an electronic device, such as a computer. The method can include:
步骤110、依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线。Step 110: Determine a target pipeline based on the code project to be put into production and at least one candidate pipeline template for putting into production.
在本申请具体实施例中,代码工程是指开发人员采用开发工具所支持的汇编语言和高级语言所编写出来的源代码,源代码经过编译程序产生的能够被计算机直接识别的二进制代码为目标代码,将目标代码连接后形成的可执行文件为可执行代码。待投产代码工程是指用于投产发布的源代码。因此,待投产代码工程需要在经过读取、验证、编译以及测试等环节处理之后,才能将待投产代码工程以合适的形式作为可执行代码发布部署到生产环境中,以实现软件版本的发布、更新或升级等。In the specific embodiment of this application, code engineering refers to the source code written by the developer using the assembly language and high-level language supported by the development tool. The binary code generated by the source code after the compiler can be directly recognized by the computer is the target code. , The executable file formed by linking the target code is the executable code. The code project to be put into production refers to the source code used for production release. Therefore, the code project to be put into production needs to be read, verified, compiled, and tested before the code project to be put into production can be released as executable code in a suitable form and deployed to the production environment to realize the release and release of the software version. Update or upgrade, etc.
本实施例中,流水线可以是指基于一定的流水线流程自动化地将代码工程生成可执行文件的处理过程,相应的,可执行文件作为流水线的构建产物,可以是每一次任务构建成功后所产生的war包或jar包等,并可以保存有对应的原始代码工程信息、流水线信息等。投产流水线模板是指固化了流水线流程的模板,可供多条流水线重复使用的一套流水线设置。流水线流程中可以包括构建产物的生成流程,包括例如获取代码、代码静态扫描、代码编译以及归档成品等步骤;流水线流程中可以包括构建产物的质检流程,包括例如检测生成流程中每个生成环节的执行状态、单元测试覆盖率、单元测试执行成功率、接口测试覆盖率、接口测试执行成功率、漏洞扫描结果等。In this embodiment, the pipeline may refer to the process of automatically generating an executable file from a code project based on a certain pipeline process. Correspondingly, the executable file, as the construction product of the pipeline, may be generated after each task is successfully constructed. war package or jar package, etc., and can save corresponding original code project information, pipeline information, etc. The production line template refers to a template that has solidified the assembly line process, and can be a set of assembly line settings that can be reused by multiple assembly lines. The assembly line process can include the production process of the build product, including steps such as obtaining code, static code scanning, code compilation, and filing the finished product; the assembly line process can include the quality inspection process of the build product, including, for example, testing each production link in the production process The execution status, unit test coverage, unit test execution success rate, interface test coverage, interface test execution success rate, vulnerability scan results, etc.
本实施例中,流水线中可以包括多种模板,每种用途的模板可以包括一个或多个。其中一种为候选投产流水线模板,由一系列可自动执行的软件操作步骤构成,通过执行这些步骤可以产出软件投产版本,候选投产流水线模板用于构建产物的生成和质检以供投产使用。可选的,在依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线之前,所述方法还包括:依据代 码工程的开发语言和开发框架,确定构建产物的生成流程和质检流程;依据构建产物的生成流程和质检流程,构建至少一个候选投产流水线模板。其中,开发语言可以是C语言、Java语言、Python语言等汇编语言或高级语言,开发框架可以是Spring框架、Django框架等。依据代码工程的开发语言和开发框架,确定用于构建产物生成和质检的每个步骤以及步骤之间的执行顺序,组成构建产物的生成流程和质检流程,制定候选投产流水线模板供用户选择使用。In this embodiment, a variety of templates may be included in the pipeline, and one or more templates may be included for each purpose. One of them is the candidate production line template, which is composed of a series of automatically executable software operation steps. By executing these steps, the software production version can be produced. The candidate production line template is used to build product generation and quality inspection for production use. Optionally, before determining the target pipeline based on the code project to be put into production and at least one candidate pipeline template, the method further includes: determining the generation process and quality inspection process of the build product according to the development language and development framework of the code project; According to the production process and quality inspection process of the build product, at least one candidate production line template is constructed. Among them, the development language can be assembly language or high-level language such as C language, Java language, Python language, and the development framework can be Spring framework, Django framework, etc. According to the development language and development framework of the code engineering, determine each step used to build product generation and quality inspection and the execution sequence between steps, compose the generation process and quality inspection process of the build product, and formulate candidate production line templates for users to choose use.
示例性的,图2为制定投产流水线模板的示例图。如图2所示,用户可以自定义流水线步骤、配置流水线信息。在图2中是Maven代码工程的一个投产流水线模板的简单例子,投产流水线模板中的步骤设置有获取代码(getCode)、代码静态扫描(Fortify扫描)、代码编译(Compile)以及归档成品,通过上面的步骤可以完成对代码最基础的验证功能。此外,用户还可以设置更多的检验步骤,例如准单元测试、生产环境部署、接口测试等。Exemplarily, Figure 2 is an example diagram for formulating a production line template. As shown in Figure 2, users can customize pipeline steps and configure pipeline information. In Figure 2 is a simple example of a production pipeline template of the Maven code project. The steps in the production pipeline template are set to obtain code (getCode), code static scanning (Fortify scanning), code compilation (Compile), and archive finished products. The steps can complete the most basic verification function of the code. In addition, users can also set more inspection steps, such as quasi-unit testing, production environment deployment, interface testing, etc.
本实施例中,基于流水线中预先提供的至少一个候选投产流水线模板,可以根据待投产代码工程从中选择一个候选投产流水线模板来创建目标流水线。目标流水线用于将待投产代码工程生成构建产物。其中,在创建目标流水线时,基于投产流水线模板中所固化的处理步骤,可以对所选择的投产流水线模板再次进行自定义,例如对流水线流程进行步骤的增删改等操作。待投产代码工程的目标流水线可以为一个或多个,多个目标流水线中采用的投产流水线模板可以相同或者不同。相应的,生成的待投产代码工程的构建产物可以为一个或多个,供投产时择优选取。In this embodiment, based on at least one candidate commissioning pipeline template provided in advance in the pipeline, one candidate commissioning pipeline template may be selected from the code project to be commissioned to create the target pipeline. The target pipeline is used to generate a build product from the code project to be put into production. Among them, when creating the target pipeline, based on the solidified processing steps in the production pipeline template, the selected production pipeline template can be customized again, for example, operations such as adding, deleting, and modifying the steps of the pipeline process. The target pipeline of the code project to be put into production may be one or more, and the put-in pipeline templates used in multiple target pipelines may be the same or different. Correspondingly, the generated construction products of the code project to be put into production can be one or more, which can be selected when putting into production.
在一些实施例中,依据待投产代码工程的开发语言和开发框架,从至少一个候选投产流水线模板中选择目标投产流水线模板。依据目标投产流水线模板,用户至少可以配置流水线参数,例如待投产代码工程的读取、读值,用户还可以重新配置流水线流程,以创建目标流水线。在一个可选的实施方式中,可以根据当前投产版本需求、企业级需求等方面,预先规定流水线流程中至少一个必不可少的处理步骤。例如,假设当前需要规定企业级统一的质检标准,则可以预先规定该企业级质检步骤为预设必不可少的处理步骤。相应的,为所创建的流水线提供了提交功能,通过目标流水线提交,对目标流水线中每个处理步骤进行遍历,可以基于关键词来对目标流水线中的流水线流程进行检查,以检查目标流水线中是否包括预设必不可少的处理步骤。若检查到流水线流程中包含预设必不可少的处理步骤,则确定目标流水线提交成功,即目标流水线创建 成功,可进行流水线的执行。In some embodiments, the target production pipeline template is selected from at least one candidate production pipeline template according to the development language and development framework of the code project to be put into production. According to the target production pipeline template, the user can at least configure the pipeline parameters, such as the reading and value reading of the code project to be put into production, and the user can also reconfigure the pipeline process to create the target pipeline. In an optional implementation manner, at least one indispensable processing step in the pipeline process can be pre-defined according to the current production version requirements, enterprise-level requirements, and the like. For example, if it is currently necessary to specify a unified quality inspection standard at the enterprise level, the enterprise-level quality inspection step can be specified in advance as a preset indispensable processing step. Correspondingly, a submission function is provided for the created pipeline. Through the target pipeline submission, each processing step in the target pipeline is traversed. The pipeline process in the target pipeline can be checked based on keywords to check whether the target pipeline is in Including the necessary processing steps. If it is checked that the pipeline flow contains preset indispensable processing steps, it is determined that the target pipeline is submitted successfully, that is, the target pipeline is successfully created, and the pipeline can be executed.
步骤120、依据目标流水线,生成待投产代码工程的至少一个候选构建产物以及候选构建产物的质检报告。Step 120: Generate at least one candidate build product of the code project to be put into production and a quality inspection report of the candidate build product according to the target pipeline.
在本申请具体实施例中,执行目标流水线,依据目标流水线的目标投产流水线模板中的生成流程,生成待投产代码工程的候选构建产物。构建产物是指待投产代码工程基于流水线自动化所生成的可执行程序,待投产代码工程基于不同流水线或同一流水线的不同执行时机所生成的构建产物,均作为待投产代码工程的候选构建产物。相应的,候选构建产物附加有流水线信息和待投产代码工程信息等,还可以附加有构建编号信息以对构建产物进行唯一标识,还可以基于一定的标识规则,通过构建编号信息标识出关联的流水线信息和待投产代码工程信息等。In the specific embodiment of the present application, the target pipeline is executed, and the candidate construction product of the code project to be put into production is generated according to the generation process in the target production pipeline template of the target pipeline. The build product refers to the executable program generated by the code project to be put into production based on pipeline automation. The build product generated by the code project to be put into production based on different pipelines or different execution timings of the same pipeline is regarded as the candidate build product of the code project to be put into production. Correspondingly, the candidate build product is appended with pipeline information and the code project information to be put into production. It can also be appended with build number information to uniquely identify the build product. It can also identify the associated pipeline through the build number information based on certain identification rules. Information and project information of codes to be put into production, etc.
本实施例中,执行目标流水线,依据目标流水线的目标投产流水线模板中的质检流程,对候选构建产物的每个生成环节以及生成结果进行验证,生成候选构建产物的质检报告。鉴于流水线流程中可以包括质检流程,相应的,质检报告是指基于流水线对构建产物进行自动化验证所生成的报告。质检报告中可以包括所被质检的构建产物的标识信息,例如构建编码信息、流水线信息、构建时间等,质检报告的正文中包括针对质检流程中的每项质检步骤所列出的检验值和参考值,通过检验值与参考值之间的比对列出每项的质检结果,并根据每项的质检结果给出构建产物最终的质检结果。可选的,只有所有项的质检结果均通过时构建产物最终的质检结果才为成功,表示质检通过。示例性的,表1为质检报告示例表。通过质检报告可以方便用户查看构建产物的质检结果,便于投产时参考。In this embodiment, the target pipeline is executed, and the quality inspection process in the target production pipeline template of the target pipeline is used to verify each generation link and the generation result of the candidate build product, and generate a quality inspection report of the candidate build product. Since the assembly line process can include the quality inspection process, correspondingly, the quality inspection report refers to the report generated by the automated verification of the built product based on the assembly line. The quality inspection report can include the identification information of the construction product being inspected, such as construction code information, assembly line information, construction time, etc. The body of the quality inspection report includes the list of each quality inspection step in the quality inspection process The inspection value and reference value of each item are listed through the comparison between the inspection value and the reference value, and the final quality inspection result of the constructed product is given according to the quality inspection result of each item. Optionally, the final quality inspection result of the constructed product is successful only when the quality inspection results of all items are passed, indicating that the quality inspection passed. Exemplarily, Table 1 is an example of a quality inspection report. Through the quality inspection report, it is convenient for users to view the quality inspection results of the built products, which is convenient for reference when putting into production.
表1 质检报告示例表Table 1 Sample table of quality inspection report
Figure PCTCN2020106567-appb-000001
Figure PCTCN2020106567-appb-000001
Figure PCTCN2020106567-appb-000002
Figure PCTCN2020106567-appb-000002
步骤130、依据待投产代码工程的至少一个候选构建产物以及候选构建产物的质检报告,对待投产代码工程进行投产上线。Step 130: According to at least one candidate construction product of the code project to be put into production and the quality inspection report of the candidate construction product, the code project to be put into production is put into production and online.
在本申请具体实施例中,投产是指软件版本的发布上线。由于将流水线与投产串接起来,因此在进行投产时,用户在确定待投产代码工程之后,可以直接地带出待投产代码工程关联的至少一个候选构建产物,以及每个候选构建产物的质检报告。即将流水线与投产有机的结合起来,避免流水线过程与投产过程之间的独立导致投产时所采用的构建产物脱离了流水线的处理过程而给投产带来的风险。从而基于待投产代码工程所带出的构建产物和质检报告,基于质检报告的质检结果,从待投产代码工程的至少一个候选构建产物中选择合适的构建产物作为目标构建产物,来创建目标投产任务进行投产上线。In the specific embodiment of this application, putting into production refers to the release of a software version online. Since the assembly line is connected in series with the production, the user can directly bring out at least one candidate build product associated with the code project to be put into production and the quality inspection report of each candidate build product after determining the code project to be put into production. . That is to organically combine the assembly line with the commissioning process, to avoid the independence between the assembly line process and the commissioning process, which causes the construction products used during commissioning to break away from the assembly line processing process and bring risks to the commissioning. Therefore, based on the build product and quality inspection report brought out by the code project to be put into production, and based on the quality inspection result of the quality inspection report, select a suitable build product from at least one candidate build product of the code project to be put into production as the target build product to create The target production task is put into production and goes online.
在一些实施例中,响应于用户对于待投产代码工程的选择操作,自动展示待投产代码工程基于投产流水线模板生成的至少一个候选构建产物,以及候选构建产物所属的流水线的流水线流程、构建状态和质检报告。依据候选构建产物所属的流水线的流水线流程、构建状态和质检报告,从至少一个候选构建产物中,选择流水线流程符合当前投产版本需求、构建状态为成功且质检结果为通过的候选构建产物作为目标构建产物,以创建目标投产任务。执行目标投产任务,将目标构建产物添加到投产版本包中,以将投产版本包进行投产上线。In some embodiments, in response to the user's selection operation of the code project to be put into production, at least one candidate build product generated by the code project to be put into production based on the production pipeline template is automatically displayed, as well as the pipeline process, construction status, and status of the pipeline to which the candidate build product belongs. Inspection report. According to the pipeline process, construction status, and quality inspection report of the pipeline to which the candidate build product belongs, from at least one candidate build product, select the candidate build product whose pipeline process meets the requirements of the current production version, the build status is successful, and the quality inspection result is passed. Target construction products to create target production tasks. Execute the target production task, add the target build product to the production version package, so as to put the production version package into production.
本实施例的技术方案,通过待投产代码工程以及预先构建的投产流水线模板,创建目标流水线,执行目标流水线生成待投产代码工程的至少一个候选构建产物及其质检报告,从而基于候选构建产物及其质检报告选择目标构建产物 进行投产上线。本申请实施例通过将流水线与投产无缝串接起来,基于流水线中的质检过程,不仅避免了人工干预,而且确保了用于投产的投产版本包为前述经过质检的构建产物,降低投产风险,提高投产质量和效率。In the technical solution of this embodiment, the target pipeline is created through the code project to be put into production and the pre-built production pipeline template, and the target pipeline is executed to generate at least one candidate build product of the code project to be put into production and its quality inspection report, so as to be based on the candidate build product and The quality inspection report selects the target construction product and puts it into production. The embodiment of the application seamlessly connects the assembly line with the production line, and based on the quality inspection process in the assembly line, not only manual intervention is avoided, but also the production version package used for production is ensured that the production version package used for production is the aforementioned construction product that has undergone quality inspection, reducing production Risk, improve the quality and efficiency of production.
实施例二Example two
本实施例在上述实施例一的基础上,提供了投产方法的一个可选实施方式,能够对流水线流程进行必要步骤检查,以及基于流水线进行企业级合规质检。图3为本申请实施例二提供的一种投产方法的流程图,如图3所示,该方法可以包括:This embodiment provides an alternative implementation of the production method on the basis of the foregoing embodiment 1, which can check the necessary steps of the assembly line process and perform enterprise-level compliance quality inspection based on the assembly line. Fig. 3 is a flowchart of a method for putting into production provided in the second embodiment of the application. As shown in Fig. 3, the method may include:
步骤310、依据待投产代码工程的开发语言和开发框架,从至少一个候选投产流水线模板中选择目标投产流水线模板。Step 310: Select a target production pipeline template from at least one candidate production pipeline template according to the development language and development framework of the code project to be put into production.
在本申请具体实施例中,可以将待投产代码工程的开发语言和开发框架,分别与候选投产流水线模板所属的开发语言和开发框架进行比对,将开发语言和开发框架均相匹配的候选投产流水线模板作为目标投产流水线模板,供创建流水线使用。In the specific embodiment of this application, the development language and development framework of the code project to be put into production can be compared with the development language and development framework to which the candidate production pipeline template belongs, and the candidate that matches the development language and development framework can be put into production. The assembly line template is used as the target production assembly line template for the creation of the assembly line.
在一些实施例中,在依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线之前,可以通过调用流水线模板创建接口,依据代码工程的开发语言和开发框架,确定构建产物的生成流程和质检流程;依据构建产物的生成流程和质检流程,构建至少一个候选投产流水线模板。示例性的,流水线模板创建接口设计如表2所示,该接口名称可以为CreatePipelineTemple,该接口用于创建流水线模板,在流水线模板创建时需要输入流水线模板名称、流水线模板类型以及流水线步骤等,最终输出流水线模板的创建结果,例如成功。In some embodiments, before determining the target pipeline based on the code project to be put into production and at least one candidate pipeline template, the pipeline template creation interface can be invoked, and the generation process and generation process of the build product can be determined according to the development language and development framework of the code project. Quality inspection process: According to the production process and quality inspection process of the built product, at least one candidate production line template is constructed. Exemplarily, the pipeline template creation interface design is shown in Table 2. The interface name can be CreatePipelineTemple. This interface is used to create the pipeline template. When creating the pipeline template, you need to enter the pipeline template name, pipeline template type, and pipeline steps. Finally, Output the creation result of the pipeline template, such as success.
表2 流水线模板创建接口的设计Table 2 Design of the pipeline template creation interface
Figure PCTCN2020106567-appb-000003
Figure PCTCN2020106567-appb-000003
Figure PCTCN2020106567-appb-000004
Figure PCTCN2020106567-appb-000004
本实施例中,在创建流水线的过程中,通过用户对于待投产代码工程的选择操作,可以自动对待投产代码工程进行开发语言和开发框架的识别,从而基于候选投产流水线模板所属的开发语言和开发框架,依据识别结果进行自动匹配,向用户推荐相匹配的候选投产流水线模板作为目标投产流水线模板。In this embodiment, in the process of creating the pipeline, through the user's selection operation of the code project to be put into production, the development language and development framework of the code project to be put into production can be automatically identified, so as to be based on the development language and development of the candidate pipeline template. The framework automatically matches according to the recognition results, and recommends the matching candidate production line template to the user as the target production line template.
示例性的,流水线模板的数据模型如表3所示。表3中只列出了一些关键字段,其中,第一列表示模板中一级字段名称,第二列表示一级字段下的二级字段名称,第三列表示字段类型,第四列为字段的描述信息。字段temple_type表示流水线模板中可以包括多种模板,例如本实施例投产所采用的投产流水线模板,以及日处理流水线模板和普通流水线模板等。Exemplarily, the data model of the pipeline template is shown in Table 3. Only some key fields are listed in Table 3. Among them, the first column indicates the name of the first-level field in the template, the second column indicates the name of the second-level field under the first-level field, the third column indicates the field type, and the fourth column is Descriptive information of the field. The field template_type indicates that the pipeline template may include multiple templates, such as the production pipeline template used in the production of this embodiment, the daily processing pipeline template, and the ordinary pipeline template.
表3 流水线模板的数据模型Table 3 Data model of the pipeline template
Figure PCTCN2020106567-appb-000005
Figure PCTCN2020106567-appb-000005
步骤320、依据目标投产流水线模板,配置流水线流程和流水线参数,以创建目标流水线。Step 320: Configure the pipeline process and pipeline parameters according to the target production pipeline template to create the target pipeline.
在本申请具体实施例中,投产流水线模板中已经预先固化了流水线流程中的每个处理步骤,用户可以基于投产流水线模板配置流水线参数,例如待投产 代码的读取地址等,从而直接采用投产流水线模板创建目标流水线。此外,用户还可以在创建流水线时在投产流水线模板的基础上进行进一步的流水线流程自定义,例如增添、删除或修改某个或某些处理步骤,并配置相应的流水线参数,得到创建的目标流水线。In the specific embodiment of this application, each processing step in the pipeline process has been pre-solidified in the production pipeline template. The user can configure the pipeline parameters based on the production pipeline template, such as the read address of the code to be put into production, so as to directly adopt the production pipeline The template creates the target pipeline. In addition, users can further customize the pipeline process based on the production pipeline template when creating the pipeline, such as adding, deleting or modifying one or some processing steps, and configuring the corresponding pipeline parameters to obtain the created target pipeline .
示例性的,流水线的数据模型如表4所示。第一列表示流水线名称,第二列表示字段类型,第三列为字段的描述信息。Exemplarily, the data model of the pipeline is shown in Table 4. The first column indicates the pipeline name, the second column indicates the field type, and the third column indicates the description information of the field.
表4 流水线的数据模型Table 4 Data model of the pipeline
Figure PCTCN2020106567-appb-000006
Figure PCTCN2020106567-appb-000006
步骤330、提交目标流水线,以对目标流水线中的流水线流程进行检查。Step 330: Submit the target pipeline to check the pipeline process in the target pipeline.
在本申请具体实施例中,目标流水线的提交用于对目标流水线中的流水线流程进行检查,以确定目标流水线的流水线流程中是否包含预设投产流水线步骤。其中,预设投产流水线步骤是指根据当前投产版本需求、企业级需求等方面,预先规定流水线流程中的至少一个必不可少的处理步骤。例如,假设当前需要规定企业级统一的质检标准,则可以预先规定该企业级质检步骤为预设投产流水线步骤;再例如,假设当前投产版本需要满足一定的生产环境部署,则可以预先将该生产环境部署步骤预设投产流水线步骤。In the specific embodiment of the present application, the submission of the target pipeline is used to check the pipeline flow in the target pipeline to determine whether the pipeline flow of the target pipeline includes a preset production pipeline step. Among them, the preset production pipeline step refers to pre-specifying at least one indispensable processing step in the pipeline process according to the requirements of the current production version, enterprise-level requirements, and the like. For example, suppose that the current enterprise-level unified quality inspection standards need to be specified, and the enterprise-level quality inspection steps can be specified as the preset production pipeline steps; for another example, assuming that the current production version needs to meet a certain production environment deployment, you can pre-set The production environment deployment step presets the production pipeline step.
在一些实施例中,在用户通过流水线流程和流水线参数等配置完成目标流水线创建之后,可以将目标流水线进行提交。通过目标流水线地提交,对目标流水线中每个处理步骤进行遍历,可以基于关键词来对目标流水线中的流水线 流程进行检查,以检查目标流水线中是否包括预设投产流水线步骤。In some embodiments, after the user completes the creation of the target pipeline through the configuration of the pipeline process and pipeline parameters, the target pipeline may be submitted. Through the submission of the target pipeline, each processing step in the target pipeline is traversed, and the pipeline flow in the target pipeline can be checked based on keywords to check whether the target pipeline includes a preset production pipeline step.
步骤340、若检查到流水线流程中包含预设投产流水线步骤,则确定目标流水线提交成功。Step 340: If it is checked that the pipeline process includes a preset production pipeline step, it is determined that the target pipeline is submitted successfully.
步骤350、执行目标流水线,依据目标流水线的目标投产流水线模板中的生成流程,生成待投产代码工程的候选构建产物。Step 350: Execute the target pipeline, and generate candidate construction products of the code project to be put into production according to the generation process in the target production pipeline template of the target pipeline.
步骤360、依据目标流水线的目标投产流水线模板中的质检流程,对候选构建产物的每个生成环节以及生成结果进行验证,生成候选构建产物的质检报告。Step 360: According to the quality inspection process in the target production pipeline template of the target pipeline, verify each generation link and the generation result of the candidate construction product, and generate a quality inspection report of the candidate construction product.
在一些实施例中,目标流水线成功提交表示目标流水线创建成功,符合当前投产版本需求,进而可以通过执行目标流水线,依据目标流水线的目标投产流水线模板中的生成流程,自动化生成待投产代码工程的候选构建产物,依据目标流水线的目标投产流水线模板中的质检流程,自动化地对候选构建产物的每个生成环节以及生成结果进行验证,并生成候选构建产物的质检报告。In some embodiments, the successful submission of the target pipeline indicates that the target pipeline is successfully created and meets the requirements of the current production version, and the target pipeline can be executed to automatically generate candidates for the code project to be put into production according to the generation process in the target pipeline template of the target pipeline. Build the product, according to the quality inspection process in the target production line template of the target pipeline, automatically verify each generation link and the result of the candidate build product, and generate the quality inspection report of the candidate build product.
示例性的,流水线执行详情的数据模型如表5所示。其中,第一列表示投产任务中一级字段名称,第二列表示一级字段下的二级字段名称,第三列表示字段类型,第四列为字段的描述信息。Exemplarily, the data model of the pipeline execution details is shown in Table 5. Among them, the first column indicates the name of the first-level field in the production task, the second column indicates the name of the second-level field under the first-level field, the third column indicates the field type, and the fourth column is the description information of the field.
表5 流水线执行详情的数据模型Table 5 Data model of pipeline execution details
名称name  To 字段类型Field Type 描述description
pipeline_idpipeline_id  To varcharvarchar 流水线编号Pipeline number
build_numbuild_num  To varcharvarchar 流水线构建编号Pipeline build number
code_packagecode_package  To varcharvarchar 构建产出的版本包Build the output package
step_build_info_liststep_build_info_list  To  To 步骤执行信息Step execution information
 To step_namestep_name varcharvarchar 步骤名称Step name
 To step_typestep_type varcharvarchar 步骤类型Step type
 To step_resultstep_result varcharvarchar 步骤执行结果Step execution result
其中,示例性的,可以通过调用流水线执行详情获取接口,以获取流水线执行详情。其流水线执行详情获取接口设计如表6所示,该接口名称可以为getPipelineBuildInfo,该接口用于获取流水线执行详情,在流水线执行详情获取时需要输入流水线编号和构建产物的构建编号,最终输出构建产物的版本包、步骤执行信息等。Wherein, for example, the pipeline execution details acquisition interface may be called to obtain the pipeline execution details. The pipeline execution details acquisition interface design is shown in Table 6. The interface name can be getPipelineBuildInfo. This interface is used to acquire pipeline execution details. When acquiring pipeline execution details, you need to enter the pipeline number and the build number of the build product, and finally output the build product Version package, step execution information, etc.
表6 流水线执行详情获取接口的设计Table 6 The design of the pipeline execution details acquisition interface
Figure PCTCN2020106567-appb-000007
Figure PCTCN2020106567-appb-000007
本实施例能够通过基于投产流水线模板的目标流水线生成投产版本的构建产物,并对投产版本构建产物进行合规性检验,自动生成投产版本构建产物质检报告。其中投产流水线模板中根据软件开发语言、开发框架的不同,预制不同的投产质检步骤。将本实施例应用于企业级所有软件下的版本投产,可规范化企业级投产流程,保证软件版本质量,提高企业级投产发布的自动化水平。In this embodiment, the production version construction product can be generated through the target pipeline based on the production pipeline template, and the compliance inspection of the production version construction product can be performed, and the production version construction product inspection report can be automatically generated. According to different software development languages and development frameworks, different production quality inspection steps are prefabricated in the production line template. Applying this embodiment to the production of all software versions at the enterprise level can standardize the enterprise-level production process, ensure the quality of the software version, and improve the automation level of enterprise-level production release.
步骤370、依据待投产代码工程的至少一个候选构建产物所属的流水线和质检报告,确定待投产代码工程的目标构建产物,以创建目标投产任务。Step 370: Determine the target build product of the code project to be put into production according to the pipeline and the quality inspection report to which at least one candidate build product of the code project to be put into production belongs, so as to create a target put into production task.
在本申请具体实施例中,投产发布时只能选择基于投产流水线模板的目标流水线生成的构建产物加入到投产版本包。由于将流水线与投产串接起来,因此在进行投产时,用户在确定待投产代码工程之后,可以直接地带出待投产代码工程关联的至少一个候选构建产物,以及每个候选构建产物的质检报告。从而基于待投产代码工程所带出的构建产物和质检报告,并基于质检报告的质检结果,从待投产代码工程的至少一个候选构建产物中选择合适的构建产物作为目标构建产物,来创建目标投产任务进行投产上线。In the specific embodiment of the present application, only the build product generated by the target pipeline based on the production pipeline template can be selected to be added to the production version package when it is released for production. Because the assembly line is connected in series with the production, the user can directly bring out at least one candidate build product associated with the code project to be put into production and the quality inspection report of each candidate build product after determining the code project to be put into production. . Therefore, based on the construction product and quality inspection report brought out by the code project to be put into production, and based on the quality inspection result of the quality inspection report, a suitable construction product is selected as the target construction product from at least one candidate construction product of the code project to be put into production. Create target production tasks and put them into production.
在一可选实施方式中,响应于用户对于待投产代码工程的选择操作,展示待投产代码工程基于投产流水线模板生成的至少一个候选构建产物,以及候选构建产物所属的流水线的流水线流程、构建状态和质检报告;依据候选构建产物所属的流水线的流水线流程、构建状态和质检报告,确定待投产代码工程的目标构建产物。In an optional embodiment, in response to the user's selection operation of the code project to be put into production, at least one candidate build product generated by the code project to be put into production based on the put into production pipeline template, and the pipeline process and construction status of the pipeline to which the candidate build product belongs are displayed And quality inspection report; according to the pipeline process, construction status and quality inspection report of the pipeline to which the candidate construction product belongs, determine the target construction product of the code project to be put into production.
示例性的,图4为投产示例图。如图4所示,用户进行投产时无需手动添 加构建产物,而是直接选择待投产代码工程即可。相应的,该待投产代码工程下所有的流水线信息、分支信息、构建产物的构建编号信息以及构建状态信息,都会自动地展示给用户。其中,分支信息是指不同用户享有不同的功能所对应的源代码。流水线信息、分支信息、构建产物的构建编号信息以及构建状态信息之间具有耦合关系,即一旦用户切换了其中一个信息,则其余信息也相应进行改变。进而在用户选择了待投产代码工程后,自动展示该代码工程对应的流水线,并展示该流水线执行成功的构建编号,选中某个构建编号,自动展示构建产物、投产流水线模板详细执行情况和质检报告,便于用户选择待投产代码工程的目标构建产物。可选的,从至少一个候选构建产物中,选择流水线流程符合当前投产版本需求、构建状态为成功且质检结果为通过的候选构建产物作为目标构建产物。Exemplarily, Fig. 4 is an example diagram of production. As shown in Figure 4, users do not need to manually add build products when putting into production, but can directly select the code project to be put into production. Correspondingly, all pipeline information, branch information, build number information of the build product, and build status information under the code project to be put into production will be automatically displayed to the user. Among them, branch information refers to the source code corresponding to different users enjoying different functions. There is a coupling relationship among pipeline information, branch information, build number information of build products, and build status information, that is, once the user switches one of the information, the rest of the information is also changed accordingly. Furthermore, after the user selects the code project to be put into production, the pipeline corresponding to the code project is automatically displayed, and the successful build number of the pipeline is displayed, and a certain build number is selected to automatically display the detailed execution status and quality inspection of the build product, the production line template The report is convenient for users to select the target construction products of the code project to be put into production. Optionally, from at least one candidate build product, a candidate build product whose pipeline process meets the requirements of the current production version, the build status is successful, and the quality inspection result is passed is selected as the target build product.
示例性的,投产任务的数据模型如表7所示,与图4中投产版本包信息相对应。其中,第一列表示投产任务中一级字段名称,第二列表示一级字段下的二级字段名称,第三列表示字段类型,第四列为字段的描述信息。Exemplarily, the data model of the production task is shown in Table 7, which corresponds to the production version package information in FIG. 4. Among them, the first column indicates the name of the first-level field in the production task, the second column indicates the name of the second-level field under the first-level field, the third column indicates the field type, and the fourth column is the description information of the field.
表7 投产任务的数据模型Table 7 Data model of the commissioning task
名称name  To 字段类型Field Type 描述description
deliver_iddeliver_id  To varcharvarchar 模板编号,主键Template number, primary key
listlist  To  To 版本包列表(单次投产任务支持多版本包)Version package list (single production task supports multiple version packages)
 To code_projcode_proj varcharvarchar 代码工程名称Code project name
 To pipeline_idpipeline_id intint 流水线编号Pipeline number
 To code_branchcode_branch varcharvarchar 代码分支Code branch
 To build_numbuild_num intint 构建编号Build number
步骤380、执行目标投产任务,将目标构建产物添加到投产版本包中,以将投产版本包进行投产上线。Step 380: Execute the target production task, and add the target build product to the production version package, so as to put the production version package into production and online.
在本申请具体实施例中,投产版本包是指用于版本上线的一系列代码或可执行文件、配置文件等文件的文件集合。其中可以包括该版本下不同代码工程的构建产物。执行创建的目标投产任务,将每个构建产物进行连接,形成可执行文件形式的投产版本包,上线部署到生产环境当中。In the specific embodiment of the present application, the production version package refers to a file collection of a series of code or executable files, configuration files and other files used for the version to go online. Which can include the build products of different code projects under this version. Execute the created target production tasks, connect each build product to form a production version package in the form of an executable file, and deploy it online to the production environment.
本实施例的技术方案,依据待投产代码工程的开发语言和开发框架,从至少一个候选投产流水线模板中选择目标投产流水线模板,配置流水线流程和流 水线参数来创建目标流水线,通过目标流水线的提交对目标流水线中的流水线流程进行检查,若检查到流水线流程中包含预设投产流水线步骤,则确定目标流水线提交成功,执行目标流水线生成待投产代码工程的候选构建产物及其质检报告,最终只能选择基于投产流水线模板的目标流水线生成的构建产物加入到投产版本包进行投产上线。本申请实施例在投产流水线模板中固化企业级软件版本生成、质量检验、合规性检验等步骤,通过将流水线与投产无缝串接起来,投产发布获取投产发布流水线执行成功的构建产物和质检报告,自动生成最终投产版本进行投产,不仅避免了人工干预,而且确保了用于投产的投产版本包为前述经过质检的构建产物,降低投产风险,提高投产质量和效率。The technical solution of this embodiment selects the target production pipeline template from at least one candidate production pipeline template according to the development language and development framework of the code project to be put into production, configures the pipeline process and pipeline parameters to create the target pipeline, and submits the target pipeline to the target pipeline. The pipeline process in the target pipeline is checked. If it is checked that the pipeline process contains the preset production pipeline steps, it is determined that the target pipeline is submitted successfully, and the target pipeline is executed to generate the candidate build product and the quality inspection report of the code project to be put into production. The construction products generated by the target pipeline based on the production pipeline template are selected to be added to the production version package to be put into production. The embodiment of this application solidifies the steps of enterprise-level software version generation, quality inspection, and compliance inspection in the production line template. By seamlessly connecting the production line with the production, the production release obtains the successfully completed production and quality of the production release pipeline. The inspection report automatically generates the final production version for production, which not only avoids manual intervention, but also ensures that the production version package used for production is the aforementioned construction product that has passed the quality inspection, reducing the risk of production and improving the quality and efficiency of production.
实施例三Example three
图4为本申请实施例三提供的一种投产装置的结构示意图,本实施例可适用于对待投产代码工程进行投产发布的情况,该装置可实现本申请任意实施例所述的投产方法。该装置可以包括如下:FIG. 4 is a schematic structural diagram of a production device provided in Embodiment 3 of the application. This embodiment can be applied to a situation where a code project to be put into production is released for production. The device can implement the production method described in any embodiment of this application. The device may include the following:
流水线创建模块510,被配置为依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线;The assembly line creation module 510 is configured to determine the target assembly line based on the code project to be put into production and at least one candidate assembly line template;
流水线执行模块520,被配置为依据所述目标流水线,生成所述待投产代码工程的至少一个候选构建产物以及候选构建产物的质检报告;The pipeline execution module 520 is configured to generate at least one candidate build product of the code project to be put into production and a quality inspection report of the candidate build product according to the target pipeline;
投产模块530,被配置为依据所述待投产代码工程的至少一个候选构建产物以及候选构建产物的质检报告,对所述待投产代码工程进行投产上线。The commissioning module 530 is configured to put the code project to be commissioned into production according to at least one candidate construction product of the code project to be commissioned and the quality inspection report of the candidate construction product.
在一些实施例中,所述装置还包括模板制定模块540,可以被配置为:In some embodiments, the device further includes a template formulation module 540, which can be configured to:
在所述依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线之前,依据代码工程的开发语言和开发框架,确定构建产物的生成流程和质检流程;Before determining the target pipeline based on the code project to be put into production and at least one candidate pipeline template, determine the generation process and quality inspection process of the build product according to the development language and development framework of the code project;
依据所述构建产物的生成流程和质检流程,构建至少一个候选投产流水线模板。According to the production process and the quality inspection process of the constructed product, at least one candidate production line template is constructed.
可选的,所述流水线创建模块510可以被配置为:Optionally, the pipeline creation module 510 may be configured to:
依据所述待投产代码工程的开发语言和开发框架,从所述至少一个候选投产流水线模板中选择目标投产流水线模板;Selecting a target production pipeline template from the at least one candidate production pipeline template according to the development language and development framework of the code project to be put into production;
依据所述目标投产流水线模板,配置流水线流程和流水线参数,以创建所述目标流水线;According to the target production pipeline template, configure the pipeline process and pipeline parameters to create the target pipeline;
提交所述目标流水线,以对所述目标流水线中的流水线流程进行检查;Submit the target pipeline to check the pipeline process in the target pipeline;
若检查到所述流水线流程中包含预设投产流水线步骤,则确定所述目标流水线提交成功。If it is checked that the pipeline process includes a preset production pipeline step, it is determined that the target pipeline is submitted successfully.
可选的,所述流水线执行模块520可以被配置为:Optionally, the pipeline execution module 520 may be configured to:
执行所述目标流水线,依据所述目标流水线的目标投产流水线模板中的生成流程,生成所述待投产代码工程的候选构建产物;Execute the target pipeline, and generate the candidate construction product of the code project to be put into production according to the generation process in the target production pipeline template of the target pipeline;
依据所述目标流水线的目标投产流水线模板中的质检流程,对所述候选构建产物的每个生成环节以及生成结果进行验证,生成所述候选构建产物的质检报告。According to the quality inspection process in the target production pipeline template of the target pipeline, each generation link and the generation result of the candidate construction product are verified, and a quality inspection report of the candidate construction product is generated.
可选的,所述投产模块530包括:Optionally, the production module 530 includes:
投产任务创建单元5301,被配置为依据所述待投产代码工程的至少一个候选构建产物所属的流水线和质检报告,确定所述待投产代码工程的目标构建产物,以创建目标投产任务;The commissioning task creation unit 5301 is configured to determine the target construction product of the code project to be commissioned according to the pipeline and quality inspection report to which at least one candidate construction product of the code project to be commissioned belongs to create a target commissioning task;
投产上线单元5302,被配置为执行所述目标投产任务,将所述目标构建产物添加到投产版本包中,以将所述投产版本包进行投产上线。The production and online unit 5302 is configured to execute the target production task, and add the target construction product to the production version package, so as to put the production version package into production and online.
可选的,所述投产任务创建单元5301可以被配置为:Optionally, the commissioning task creation unit 5301 may be configured as:
响应于用户对于待投产代码工程的选择操作,展示所述待投产代码工程基于投产流水线模板生成的至少一个候选构建产物,以及候选构建产物所属的流水线的流水线流程、构建状态和质检报告;In response to the user's selection operation of the code project to be put into production, display at least one candidate build product generated by the code project to be put into production based on the put into production pipeline template, as well as the pipeline process, construction status, and quality inspection report of the pipeline to which the candidate build product belongs;
依据候选构建产物所属的流水线的流水线流程、构建状态和质检报告,确定所述待投产代码工程的目标构建产物。According to the pipeline flow, construction status and quality inspection report of the pipeline to which the candidate construction product belongs, the target construction product of the code project to be put into production is determined.
可选的,所述投产任务创建单元5301可以被配置为:Optionally, the commissioning task creation unit 5301 may be configured as:
从所述至少一个候选构建产物中,选择流水线流程符合当前投产版本需求、构建状态成功以及质检结果通过的候选构建产物作为目标构建产物。From the at least one candidate construction product, a candidate construction product whose pipeline process meets the requirements of the current production version, the construction status is successful, and the quality inspection result passes is selected as the target construction product.
本实施例的技术方案,通过每个功能模块之间的相互配合,实现了投产流水线模板的制定、目标投产流水线模板的选择、流水线的创建、流水线的提交与检查、构建产物的生成和质检、质检报告的生成、投产任务的创建、目标构建产物的选择、投产版本包的生成以及投产版本包的上线发布等功能。本申请实施例在投产流水线模板中固化企业级软件版本生成、质量检验、合规性检验等步骤,通过将流水线与投产无缝串接起来,投产发布获取投产发布流水线执行成功的构建产物和质检报告,自动生成最终投产版本进行投产,不仅避免了 人工干预,而且确保了用于投产的投产版本包为前述经过质检的构建产物,降低投产风险,提高投产质量和效率。The technical solution of this embodiment realizes the formulation of the production line template, the selection of the target production line template, the creation of the pipeline, the submission and inspection of the pipeline, the generation and quality inspection of the construction product through the mutual cooperation between each functional module , The generation of quality inspection reports, the creation of production tasks, the selection of target build products, the generation of production version packages, and the online release of production version packages. The embodiment of this application solidifies the steps of enterprise-level software version generation, quality inspection, and compliance inspection in the production line template. By seamlessly connecting the production line with the production, the production release obtains the successfully completed production and quality of the production release pipeline. The inspection report automatically generates the final production version for production, which not only avoids manual intervention, but also ensures that the production version package used for production is the aforementioned construction product that has passed the quality inspection, reducing the risk of production and improving the quality and efficiency of production.
实施例四Example four
图6为本申请实施例四提供的一种设备的结构示意图。如图6所示,该设备可以包括:一个或多个处理器610,图6中以一个处理器610为例;存储器620,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器610执行,使得一个或多个处理器610实现本申请任意实施例所述的投产方法。处理器610与存储器620可以通过总线或其他方式连接,图6中以通过总线连接为例。FIG. 6 is a schematic structural diagram of a device provided in Embodiment 4 of this application. As shown in FIG. 6, the device may include: one or more processors 610. In FIG. 6, one processor 610 is taken as an example; a memory 620 is used to store one or more programs. Or multiple processors 610 execute, so that one or more processors 610 implement the production method described in any embodiment of the present application. The processor 610 and the memory 620 may be connected through a bus or in other ways. In FIG. 6, the connection through a bus is taken as an example.
存储器620,作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请实施例中的投产方法对应的程序指令(例如,构建产物的生成和质检以及目标构建产物的选择和投产发布)。处理器610通过运行存储在存储器620中的软件程序、指令以及模块,从而执行设备的每种功能应用以及数据处理,即实现上述的投产方法。The memory 620, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions corresponding to the production method in the embodiments of the present application (for example, the generation and quality inspection of the build product and the target Build product selection and production release). The processor 610 executes each functional application and data processing of the device by running the software programs, instructions, and modules stored in the memory 620, that is, realizes the above-mentioned production method.
存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器620可包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。The memory 620 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the device, and the like. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 620 may include a memory remotely provided with respect to the processor 610, and these remote memories may be connected to the device through a network. Examples of the aforementioned network may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
实施例五Example five
本申请实施例五还提供一种计算机可读存储介质,其上存储有计算机程序(或称为计算机可执行指令),该程序被处理器执行时用于执行一种投产方法,该方法包括:The fifth embodiment of the present application also provides a computer-readable storage medium on which is stored a computer program (or called computer-executable instruction), when the program is executed by a processor, it is used to execute a production method, the method includes:
依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线;Determine the target pipeline based on the code project to be put into production and at least one candidate pipeline template;
依据所述目标流水线,生成所述待投产代码工程的至少一个候选构建产物以及候选构建产物的质检报告;Generating at least one candidate build product of the code project to be put into production and a quality inspection report of the candidate build product according to the target pipeline;
依据所述待投产代码工程的至少一个候选构建产物以及候选构建产物的质 检报告,对所述待投产代码工程进行投产上线。According to the at least one candidate construction product of the code project to be put into production and the quality inspection report of the candidate construction product, the code project to be put into production is put into production and online.
当然,本申请实施例所提供的一种计算机可读存储介质,其计算机可执行指令,还可以执行本申请任意实施例所提供的投产方法中的相关操作。Of course, a computer-readable storage medium provided by an embodiment of the present application, whose computer-executable instructions can also perform related operations in the production method provided by any embodiment of the present application.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本申请实施例可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括指令,指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请每个实施例所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the embodiments of the present application can be implemented by software and necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is better. Implementation mode. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products, which can be stored in a computer-readable storage medium, such as computer-readable storage media. Floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including instructions, instructions are used to make a computer device (which can be A personal computer, server, or network device, etc.) execute the method described in each embodiment of the present application.
值得注意的是,上述装置的实施例中,所包括的每个单元和模块只是按照功能逻辑进行划分的,只要能够实现相应的功能即可;另外,每功能单元的具体名称也只是为了便于相互区分。It is worth noting that, in the above-mentioned device embodiment, each unit and module included is only divided according to functional logic, as long as the corresponding function can be realized; in addition, the specific name of each functional unit is only for mutual convenience. distinguish.
本申请实施例通过待投产代码工程以及预先构建的投产流水线模板,创建目标流水线,执行目标流水线生成待投产代码工程的至少一个候选构建产物及其质检报告,从而基于候选构建产物及其质检报告选择目标构建产物进行投产上线。本申请实施例通过将流水线与投产无缝串接起来,基于流水线中的质检过程,不仅避免了人工干预,而且确保了用于投产的投产版本包为前述经过质检的构建产物,降低投产风险,提高投产质量和效率。The embodiment of the application creates a target pipeline through the code project to be put into production and a pre-built production pipeline template, and executes the target pipeline to generate at least one candidate build product and its quality inspection report of the code project to be put into production, so as to be based on the candidate build product and its quality inspection The report selects the target build product to be put into production and online. The embodiment of the application seamlessly connects the assembly line with the production line, and based on the quality inspection process in the assembly line, not only manual intervention is avoided, but also the production version package used for production is ensured that the production version package used for production is the aforementioned construction product that has undergone quality inspection, reducing production Risk, improve the quality and efficiency of production.

Claims (10)

  1. 一种投产方法,包括:A production method including:
    依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线;Determine the target pipeline based on the code project to be put into production and at least one candidate pipeline template;
    依据所述目标流水线,生成所述待投产代码工程的至少一个候选构建产物以及每个所述候选构建产物的质检报告;Generating at least one candidate build product of the code project to be put into production and a quality inspection report for each candidate build product according to the target pipeline;
    依据所述待投产代码工程的所述至少一个候选构建产物以及每个所述候选构建产物的质检报告,对所述待投产代码工程进行投产上线。According to the at least one candidate construction product of the code project to be put into production and the quality inspection report of each candidate construction product, the code project to be put into production is put into production and online.
  2. 根据权利要求1所述的方法,在所述依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线之前,所述方法还包括:The method according to claim 1, before determining the target pipeline based on the code project to be put into production and at least one candidate pipeline template, the method further comprises:
    依据代码工程的开发语言和开发框架,确定所述代码工程的构建产物的生成流程和质检流程;According to the development language and development framework of the code engineering, determine the generation process and quality inspection process of the construction product of the code engineering;
    依据所述构建产物的生成流程和质检流程,构建至少一个候选投产流水线模板。According to the production process and the quality inspection process of the constructed product, at least one candidate production line template is constructed.
  3. 根据权利要求1所述的方法,所述依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线,包括:The method according to claim 1, wherein the determining the target pipeline based on the code project to be put into production and at least one candidate pipeline template for putting into production comprises:
    依据所述待投产代码工程的开发语言和开发框架,从至少一个候选投产流水线模板中选择目标投产流水线模板;According to the development language and development framework of the code project to be put into production, select a target production line template from at least one candidate production line template;
    依据所述目标投产流水线模板,配置流水线流程和流水线参数,以通过所述流水线流程和所述流水线参数创建所述目标流水线;According to the target production pipeline template, configure the pipeline process and pipeline parameters to create the target pipeline through the pipeline process and the pipeline parameters;
    提交所述目标流水线,以对所述目标流水线中的所述流水线流程进行检查;Submit the target pipeline to check the pipeline process in the target pipeline;
    基于所述流水线流程中包含预设投产流水线步骤的检查结果,确定所述目标流水线提交成功。Based on the inspection result of the pre-production pipeline step included in the pipeline process, it is determined that the target pipeline is submitted successfully.
  4. 根据权利要求1所述的方法,其中,所述依据所述目标流水线,生成所述待投产代码工程的至少一个候选构建产物以及每个所述候选构建产物的质检报告,包括:The method according to claim 1, wherein the generating at least one candidate build product of the code project to be put into production and a quality inspection report of each candidate build product according to the target pipeline comprises:
    执行所述目标流水线,依据所述目标流水线对应的所述目标投产流水线模板中的所述生成流程,生成所述待投产代码工程的候选构建产物;Execute the target pipeline, and generate the candidate construction product of the code project to be put into production according to the generation process in the target production pipeline template corresponding to the target pipeline;
    依据所述目标流水线对应的所述目标投产流水线模板中的所述质检流程,对所述候选构建产物的每个生成环节以及生成结果进行验证,生成所述候选构建产物的质检报告。According to the quality inspection process in the target production pipeline template corresponding to the target pipeline, each generation link and the generation result of the candidate construction product are verified, and a quality inspection report of the candidate construction product is generated.
  5. 根据权利要求1所述的方法,其中,所述依据所述待投产代码工程的所述至少一个候选构建产物以及每个所述候选构建产物的质检报告,对所述待投 产代码工程进行投产上线,包括:The method according to claim 1, wherein the code project to be put into production is put into production according to the at least one candidate build product of the code project to be put into production and the quality inspection report of each candidate build product Go online, including:
    依据所述待投产代码工程的至少一个候选构建产物所属的所述目标流水线和质检报告,确定所述待投产代码工程的目标构建产物,以创建目标投产任务;Determine the target build product of the code project to be put into production according to the target pipeline and the quality inspection report to which at least one candidate build product of the code project to be put into production belongs, so as to create a target put into production task;
    执行所述目标投产任务,将所述目标构建产物添加到投产版本包中,以将所述投产版本包进行投产上线。Execute the target production task, and add the target build product to the production version package, so as to put the production version package into production and go online.
  6. 根据权利要求5所述的方法,其中,所述依据所述待投产代码工程的至少一个候选构建产物所属的所述目标流水线和质检报告,确定所述待投产代码工程的目标构建产物,包括:The method according to claim 5, wherein the determining the target construction product of the code project to be put into production according to the target pipeline and the quality inspection report to which at least one candidate build product of the code project to be put into production belongs includes :
    响应于用户对于所述待投产代码工程的选择操作,展示所述待投产代码工程基于对应的所述候选投产流水线模板生成的至少一个候选构建产物,以及所述候选构建产物所属的所述目标流水线的所述流水线流程、构建状态和所述质检报告;In response to the user's selection operation of the code project to be put into production, at least one candidate construction product generated by the code project to be put into production based on the corresponding candidate production pipeline template is displayed, and the target pipeline to which the candidate construction product belongs The assembly line process, construction status, and the quality inspection report;
    依据每个所述候选构建产物所属的所述目标流水线的所述流水线流程、所述构建状态和所述质检报告,确定所述待投产代码工程的目标构建产物。According to the pipeline flow of the target pipeline to which each candidate construction product belongs, the construction status, and the quality inspection report, the target construction product of the code project to be put into production is determined.
  7. 根据权利要求6所述的方法,其中,所述依据每个所述候选构建产物所属的所述目标流水线的所述流水线流程、所述构建状态和所述质检报告,确定所述待投产代码工程的目标构建产物,包括:7. The method according to claim 6, wherein the code to be put into production is determined according to the pipeline process, the construction status, and the quality inspection report of the target pipeline to which each candidate construction product belongs The target construction products of the project include:
    从所述至少一个候选构建产物中,选择所述流水线流程符合当前投产版本需求、所述构建状态为成功且所述质检结果为通过的所述候选构建产物作为目标构建产物。From the at least one candidate construction product, the candidate construction product whose pipeline process meets the requirements of the current production version, the construction status is successful, and the quality inspection result is passed is selected as the target construction product.
  8. 一种投产装置,包括:A production device, including:
    流水线创建模块,被配置为依据待投产代码工程以及至少一个候选投产流水线模板,确定目标流水线;The assembly line creation module is configured to determine the target assembly line based on the code project to be put into production and at least one candidate assembly line template;
    流水线执行模块,被配置为依据所述目标流水线,生成所述待投产代码工程的至少一个候选构建产物以及每个所述候选构建产物的质检报告;The pipeline execution module is configured to generate at least one candidate build product of the code project to be put into production and a quality inspection report for each candidate build product according to the target pipeline;
    投产模块,被配置为依据所述待投产代码工程的所述至少一个候选构建产物以及每个所述候选构建产物的质检报告,对所述待投产代码工程进行投产上线。The commissioning module is configured to put the code project to be commissioned into production according to the at least one candidate construction product of the code project to be commissioned and the quality inspection report of each candidate construction product.
  9. 一种设备,包括:A device that includes:
    一个或多个处理器;One or more processors;
    存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一项所述的投产方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the production method according to any one of claims 1-7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7中任一项所述的投产方法。A computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the production method according to any one of claims 1-7 is realized.
PCT/CN2020/106567 2019-08-26 2020-08-03 Commissioning method and apparatus, device and storage medium WO2021036697A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910792546.8 2019-08-26
CN201910792546.8A CN110490483A (en) 2019-08-26 2019-08-26 Operation method, apparatus, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021036697A1 true WO2021036697A1 (en) 2021-03-04

Family

ID=68554241

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/106567 WO2021036697A1 (en) 2019-08-26 2020-08-03 Commissioning method and apparatus, device and storage medium

Country Status (2)

Country Link
CN (1) CN110490483A (en)
WO (1) WO2021036697A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490483A (en) * 2019-08-26 2019-11-22 中国建设银行股份有限公司 Operation method, apparatus, equipment and storage medium
CN113052707A (en) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 Application production method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235807A1 (en) * 2009-03-16 2010-09-16 Hitachi Data Systems Corporation Method and system for feature automation
CN104267938A (en) * 2014-09-16 2015-01-07 福建新大陆软件工程有限公司 Method and device for rapid application development and deployment for stream-oriented computation
US20150106791A1 (en) * 2013-10-14 2015-04-16 Cognizant Technology Solutions India Pvt. Ltd. System and method for automating build deployment and testing processes
CN109710524A (en) * 2018-12-19 2019-05-03 上海华兴数字科技有限公司 A kind of automatic test approach, system and computer storage medium
CN109800016A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Engineering automatic deployment method, device, computer equipment and storage medium
CN110490483A (en) * 2019-08-26 2019-11-22 中国建设银行股份有限公司 Operation method, apparatus, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9916133B2 (en) * 2013-03-14 2018-03-13 Microsoft Technology Licensing, Llc Software release workflow management
CN106325883A (en) * 2016-08-31 2017-01-11 中国建设银行股份有限公司 Development method and system for industry business area information system
CN107621963B (en) * 2017-09-21 2020-11-27 深圳市融壹买信息科技有限公司 Software deployment method, software deployment system and electronic equipment
CN107621944A (en) * 2017-09-22 2018-01-23 天翼电子商务有限公司 Continuous integrating pipeline system and its method based on automation O&M
US10467121B2 (en) * 2018-02-02 2019-11-05 Bank Of America Corporation Smart tool for enterprise-wide software integration and deployment
CN110018964A (en) * 2019-04-12 2019-07-16 广东电网有限责任公司信息中心 One kind researching and developing test assembly line construction method towards power industry

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235807A1 (en) * 2009-03-16 2010-09-16 Hitachi Data Systems Corporation Method and system for feature automation
US20150106791A1 (en) * 2013-10-14 2015-04-16 Cognizant Technology Solutions India Pvt. Ltd. System and method for automating build deployment and testing processes
CN104267938A (en) * 2014-09-16 2015-01-07 福建新大陆软件工程有限公司 Method and device for rapid application development and deployment for stream-oriented computation
CN109800016A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Engineering automatic deployment method, device, computer equipment and storage medium
CN109710524A (en) * 2018-12-19 2019-05-03 上海华兴数字科技有限公司 A kind of automatic test approach, system and computer storage medium
CN110490483A (en) * 2019-08-26 2019-11-22 中国建设银行股份有限公司 Operation method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
CN110490483A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN109960643B (en) Code testing method and device
US10162612B2 (en) Method and apparatus for inventory analysis
US7895575B2 (en) Apparatus and method for generating test driver
US9189377B1 (en) Automation testing using descriptive maps
US20080295085A1 (en) Integrated code review tool
US20130205172A1 (en) Integrated System and Method for Validating the Functionality and Performance of Software Applications
JP2007012003A (en) System for providing development environment of feature-oriented software product line
US20170235661A1 (en) Integration of Software Systems via Incremental Verification
JP2006099742A (en) Automated test case verification loosely coupled with respect to automated test case execution
CN102411503A (en) Dry-run design time environment
WO2021036697A1 (en) Commissioning method and apparatus, device and storage medium
US20150135164A1 (en) Integrated Software Testing Management
CN106021101B (en) The method and device that mobile terminal is tested
US20210103514A1 (en) Reusable test cases for identifiable patterns
WO2021068609A1 (en) Method and apparatus for automatically testing visual report tool based on vuex
González et al. Test data generation for model transformations combining partition and constraint analysis
CN112131116A (en) Automatic regression testing method for embedded software
CN110673842A (en) Visual programming method and system, storage medium and equipment
US9612944B2 (en) Method and system for verifying scenario based test selection, execution and reporting
CN110727575B (en) Information processing method, system, device and storage medium
EP3851955A1 (en) Systems and methods for software documentation and code generation management
CN111966575B (en) Graphic automatic test method for aviation onboard display software
JP7268759B2 (en) TEST DATA GENERATION DEVICE, TEST DATA GENERATION METHOD, AND PROGRAM
CN117111907A (en) Software development system
US9495175B2 (en) Deploying multi-channel or device agnostic applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20857363

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20857363

Country of ref document: EP

Kind code of ref document: A1