Scheduling method for application release in multiple data centers

By decomposing the project version release process and arranging the data center release sequence based on application dependencies, the complexity of multi-data center application release is solved, efficient application deployment and grayscale release are achieved, and the operational burden of operation and maintenance personnel is reduced.

CN118535171APending Publication Date: 2024-08-23FOCUS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410678622.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In multi-data center scenarios, traditional application release methods are difficult to effectively manage dependencies and grayscale releases between applications, resulting in release complexity and low efficiency. Existing technologies cannot fully meet the application deployment needs of multiple data centers.

Method used

By decomposing the project version release process into multiple sequential execution stages, forming an application instance release sequence based on inter-application dependencies, and using the data center release sequence for orchestration, all application instances can be executed by simply configuring the deployment IP of the application instance. Deployment and release, suitable for grayscale release of projects.

Benefits of technology

It simplifies the project release process of multiple data centers, improves release efficiency, reduces the number of operations for operation and maintenance personnel, and reduces release complexity. It does not rely on commercial release systems or self-developed tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535171A
    Figure CN118535171A
Patent Text Reader

Abstract

The invention discloses a scheduling method for application release in multiple data centers, which is characterized in that a project version release process is decomposed into a plurality of sequentially executed stages by using a data center release sequence. In each stage, an application instance release sequence is formed based on the dependency relationship between the applications, and deployment and release of all the application instances in the data center can be executed only by configuring deployment IPs of the application instances in the data center. The method is suitable for project gray release, ensures correct release of associated applications, simplifies the project release process of multiple data centers, in addition, the project version release task created at one time can manage deployment of multiple application examples, the operation frequency of operation and maintenance personnel is reduced, and the release complexity in the environment of the multiple data centers is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of operation and maintenance technology, and specifically relates to a scheduling method for application release in multiple data centers. Background Art

[0002] In the software industry, compiling, packaging and publishing application code online is an essential part of software production activities. With the development of business, the number of applications and application instances is increasing day by day. In the process of business development, software development technology is constantly updated and iterated, and application architecture is also becoming more diversified and complex. Under the dual influence of rapid business development and continuous technological changes, traditional manual command release or script release methods can no longer meet the release needs of application operation and maintenance personnel. As a result, the release method based on application dimension has emerged. Although this release method is flexible, these conventional technologies are difficult to cope with application deployment scenarios with multiple data centers and release dependencies between applications.

[0003] Internet companies usually produce a large number of application software (abbreviated as: applications) and deploy them in different data centers to meet the access needs of users in different regions and different operators. However, when deployed in multiple data centers, they will face the problem of multi-application deployment, especially in the multi-data center scenario, when multiple applications have dependencies on each other, it increases the difficulty of deployment. For example, a project product1 regulates a development version of a project product1-test-v1. This development version contains 30 applications. The instances of these 30 applications must be deployed in two data centers IDC1 and IDC2. Among them, application app1 is directly or indirectly dependent on other applications. Therefore, it is necessary to ensure that app1 is released first. After app1 is successfully released, the release of the other 29 applications can be executed; if it is necessary to complete the grayscale release in data center IDC2 at this time, how to ensure that the 30 applications are successfully released in data center IDC2 according to the dependency relationship in a simple way, and then released to data center IDC1, is a problem that needs to be considered at present.

[0004] In a real production environment, the release and deployment of applications is a complex process that requires consideration of inter-application dependencies, different deployment methods, and grayscale release strategies. Existing commercial release systems often cannot fully meet all these requirements. Some only support containerized application instance releases, such as Kubernetes, but do not provide the same level of application release support for traditional virtual machine environments, resulting in applications running in virtual machine environments having to be migrated to containerized environments before they can be released; some only support releases based on application dimensions, do not provide dependency management, and require the application release dependencies to be handled by the user; some require the configuration of independent release scripts for each application, but these scripts are difficult to version manage and share, and each version update will bring complex modification work, making script maintenance difficult. Therefore, operation and maintenance personnel need to flexibly combine multiple tools and strategies, or develop supplementary tools on their own to ensure that the application release process is simple, efficient, and reliable.

[0005] The patent "A method, device, electronic device and storage medium for automatic program release" (application number: CN202111359779.2) provides an automated application testing and release process. It generates a test image file by using a test version of the application and configuration file for testing, generates a release package and verifies its automated deployment performance. After verification, the release package, verification data and test image file are sent to the automated deployment platform to realize the automated release of the release package, thereby improving the release efficiency and accuracy. Although the release process of this technology has been rigorously tested and verified, which improves the reliability and efficiency of deployment, it can only be applied to the application deployment and release of a single data center. How to support deployment across multiple data centers? Due to the more complex and decentralized deployment environment, the adaptability and scalability of this technology are still limited.

[0006] The patent "Application batch release method, device, electronic device and storage medium" (application number: 202210693238.1) proposes: It is proposed to extract the orchestration relationship of the application from the management system, and obtain the test deployment environment and cluster information. With this information, the system can centrally test and deploy multiple applications to be released. Once the test deployment is successful, the applications are released in batches according to the orchestration relationship. Although this technology effectively reduces the workload of publishing and deploying large-scale applications and improves the release efficiency when large-scale applications need to be released, it is only used in the test deployment environment and does not involve the grayscale environment. Therefore, it cannot provide services in the real user environment, which limits its effectiveness in actual applications.

[0007] Based on this, a method is needed that can not only improve the efficiency of application release, but also reduce the difficulty of application deployment and management in multiple data centers for operation and maintenance personnel without adding additional systems or technologies. Summary of the invention

[0008] In order to solve the existing technical problems, the present invention provides a scheduling method for application release in multiple data centers. By utilizing the release order of the data center, the project version release process is decomposed into multiple sequentially executed stages. In each stage, the release order of the application instance is formed based on the dependency relationship between the applications. It is only necessary to configure the deployment IP of the application instance in the data center to execute the deployment and release of all application instances in the data center. The invention is suitable for the grayscale release of the project, ensures the correct release of the associated applications, simplifies the project release process of multiple data centers, and in addition, the project version release task created once can manage the deployment of multiple application instances, reduces the number of operations of the operation and maintenance personnel, and reduces the release complexity in the multi-data center environment.

[0009] The technical solution of the present invention is a scheduling method for application release in multiple data centers, and the specific steps include:

[0010] Step 1: Create a release task for a project, wherein the project includes a project name, a release version, and an environment type. The project corresponds to at least one application, and the application includes an application number, a source code, and a deployment IP address. The source code is a code storage address, and the code storage address is a URL of a remote code hosting platform. The correspondence between the project and the application is recorded in a database.

[0011] Step 2: Obtain an orchestration instruction for dynamically arranging the release order of applications and saving it as a release order template; splice the application numbers in ascending order, and generate an identifier after md5 encoding to mark the release order module; the release order includes the data center release order and the application instance release order; the data center release order refers to the order in which the data center is started and deployed, and the first sorting order value is obtained from the orchestration instruction, and the order is arranged from small to large according to the order value; the application instance release order refers to the order in which the application instances are released in the data center, and the second sorting order value is automatically generated through the dependency relationship between applications, and the order is arranged from small to large according to the order value;

[0012] Step 3: Read the release order template and schedule all applications in the project to be deployed to each data center: first select the data center to be deployed according to the data center release order, and then update the application package to the designated server of the data center in sequence according to the application instance release order; after all application packages are updated, select the next data center to be deployed to execute the package update.

[0013] The specific steps of step 2 include:

[0014] Step 2-1: Check whether there is a release order template that is consistent with the identifier. If not, execute step 2-2; if so, execute step 2-3;

[0015] Step 2-2: Add a new release order template, obtain the first ranking value from the orchestration instruction; generate the ranking value of each application according to the application dependency relationship, and the ranking value of the dependent application is smaller than the ranking value of the dependent application; write the data center and the corresponding ranking value, the application and the corresponding ranking value into the new release order template,

[0016] Step 2-3: Arrange the release order according to the release order template: the release order template includes the application number, data center number, stage number and step number; the stage number records the first sorting order value, the step number records the second

[0017] Arrange the order value; obtain the phase number and step number in the release order template, arrange the data center release order according to the phase number, and arrange the application instance release order according to the step number;

[0018] Step 2-4: Generate a project release task progress record, including the project number, application number, data center number, phase number, step number, data center release status, and instance release status; the release status defaults to pending.

[0019] In step 2, the arrangement instruction is obtained from the visualization page; specifically, in the visualization page, by clicking and dragging an element with a specific identifier in the page, it moves from one page area to another page area, controls the generation of the first arrangement order value, and modifies the second arrangement order value.

[0020] The specific steps of step 3 include:

[0021] Step 3-1: Obtain the source code of the application in step 1, and use a build tool to generate a program package for the application;

[0022] Step 3-2: Select the data center to be deployed: From the project release task progress record, select the data center with a release status of "to be started" and the current minimum stage number; if there is a data center with the same stage number, execute step 3-3 simultaneously;

[0023] Step 3-3: Execute instance release of the application in the currently selected data center: Execute instance release of the application in the data center in order from small to large according to the step number; instances of applications with the same step number are executed in parallel;

[0024] Step 3-4: Monitor the application instance release process: If the release of any application instance fails, change the corresponding instance release status and data center release status to failure in the project release task progress record, stop the project release, and remind the operation and maintenance personnel; if the application instance is successfully released, change the corresponding instance release status to success; after all application instances are successfully released, change the release status of the selected data center to success; select the next deployed data center according to step 3-2 until the release status of all data centers is changed to success.

[0025] In the step 3-3, the instance release of the application is executed, specifically, the program package in the specified server in the data center is updated using the ansible tool. If the update is successful, the instance release of the application is determined to be successful; if the update fails, the instance release of the application is determined to be failed; the server is specified by the deployment IP address, and the server includes a container and a virtual machine.

[0026] In the step 3 of monitoring the application instance release process, a progress bar is set in the visualization page to monitor the application instance release process, and the progress value of the progress bar is the number of servers that have completed instance release divided by the total number of servers that execute instance release; when the release status of the data center changes, the release status is fed back to the visualization interface for display; after the visualization interface receives the instruction to continue the release, it continues to select the next deployed data center to execute the application instance release.

[0027] The beneficial effects achieved by the present invention are:

[0028] (1) The present invention decomposes the project version release process into multiple sequentially executed stages by utilizing the data center release sequence. In each stage, the application instance release sequence is formed based on the dependency relationship between applications. It only needs to configure the deployment IP of the application instance in the data center to execute the deployment and release of all application instances in the data center. It can also be applied to the grayscale release of the project, which not only ensures the correct release of the associated applications, but also does not require the use of commercial release systems and self-developed supplementary tools, thereby simplifying the project release process of multiple data centers and improving the release efficiency.

[0029] (2) The present invention saves and utilizes the relationship between the project version and the application release information, so that the operation and maintenance personnel only need to create a project release task once to obtain the deployment code and address of all related applications, and realizes the creation of a project release task once and the release of multiple related application instances in multiple data centers, avoiding the tedious steps of repeatedly creating release tasks and repeatedly compiling release codes, reducing the number of operations performed by the operation and maintenance personnel in the release, and reducing the complexity of project release in multiple data centers. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1A flowchart of a scheduling method for multi-data center application release in an embodiment of the present invention;

[0031] Figure 2 A schematic diagram of a project version publishing task creation page in an embodiment of the present invention;

[0032] Figure 3 A schematic diagram of a visualization page for publishing sequence arrangement in an embodiment of the present invention;

[0033] Figure 4 A flowchart of a publishing sequence for dynamically constructing an application in an embodiment of the present invention;

[0034] Figure 5 A schematic diagram of a monitoring page for publishing a process of an application example in an embodiment of the present invention;

[0035] Figure 6 A schematic diagram for visualizing the arrangement of the release sequence of the grayscale release of multiple data centers in an embodiment of the present invention;

[0036] Figure 7 The present invention is a schematic diagram of the structure of a multi-data center application publishing scheduling method in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0038] Figure 1 This is a flow chart of a scheduling method for application release in multiple data centers in an embodiment of the present invention, and the specific steps include:

[0039] Step 101: Create a release task for the project and generate release information for the project application: According to the project name, release version and environment type in the release task, obtain the release information of the corresponding application, including the application number, the source code of the application release and the deployment IP address. The deployment IP address can be a virtual machine IP, a physical machine IP or a container IP, which can support both containerized deployment and virtual machine deployment, so that when the operation and maintenance personnel release the project, they no longer need to consider selecting different release tools due to differences in deployment methods; the correspondence between the project version and the application is saved in the database, including the project number, version number, environment type, application number and source code. The source code is the code storage address. In an embodiment of the present invention, the code storage selects GitHub and GitLab, two remote code hosting platforms, and records the URL. The reason for recording the code storage address instead of the code is that the code storage address will not take up too much space, and it can also ensure that the code source is stable and single, which is convenient for concentrating various versions of code.

[0040] like Figure 2This is a schematic diagram of a project version release task creation page in an embodiment of the present invention. In this embodiment of the present invention, through the visual page of the management end, the operation and maintenance personnel enter the project name, release version and environment type to obtain the release information of the application released by the Mic English version project in the production environment, such as the application MIC landing page web service and the corresponding version and code release address; after confirming the task creation, enter the orchestration page,

[0041] like Figure 3 A schematic diagram of a visualization page for publishing sequence arrangement in an embodiment of the present invention;

[0042] Step 102: Obtaining the orchestration instruction from the visualization interface, and dynamically constructing the release order of the application, wherein the release order includes the data center release order and the application instance release order, wherein the data center release order refers to the order in which the data center starts the deployment work, which is set based on the orchestration instruction; the application instance release order refers to the release order of the application instances in the data center, which is set based on the dependency relationship between the applications; the application instance release order can also be changed through the orchestration instruction;

[0043] like Figure 4 This is a flowchart of dynamically constructing the release sequence of an application in an embodiment of the present invention, and the specific steps include:

[0044] Step 102-1: Determine whether there is a release sequence module: concatenate the application numbers in step 1 in ascending order, and generate an identifier after md5 encoding; determine whether there is a release sequence template consistent with the identifier in the database, the release sequence template includes the application number, data center number, stage number and step number, the stage number refers to the arrangement order of the data center, and the step number refers to the arrangement order of the application; if not, execute step 102-2; if so, execute step 102-3;

[0045] Step 102-2: Add a new release order template: obtain a first ranking order value from the arrangement instruction; in an embodiment of the present invention, the first ranking order value is generated according to the data center ranking order arranged in the visual interface, and is used to identify the release order of each data center; secondly, generate a second ranking order value according to the application dependency relationship. In an embodiment of the present invention, the second ranking order value is an order value automatically generated according to the application dependency relationship, and is used to identify the release order of each application in the data center; since the ranking order of the dependent application takes precedence over the ranking order of the dependent application, the second ranking order value corresponding to the dependent application is less than the second ranking order value corresponding to the dependent application; finally, write the first ranking order value and the second ranking order value into a new release order template, identify the new template with the identifier generated in step 102-1, save the template and execute step 102-3 again;

[0046] In the embodiment of the present invention, for example, if application APP2 and application APP3 depend on application APP1, then the ranking order of application APP1 will automatically be before application APP2 and application APP3, and the ranking order of application APP2 and application APP3 is the same; the second ranking order values ​​automatically generated are: the second ranking order value corresponding to APP1 is 1, and the second ranking order values ​​corresponding to APP2 and APP3 are both 2;

[0047] Step 102-3: Arrange the release sequence according to the release sequence template: obtain the stage number and step number in the release sequence template, arrange the data center release sequence according to the stage number, and arrange the application instance release sequence according to the step number;

[0048] Step 102-4: Generate a project release task progress record, the record content includes project number, application number, data center number, stage number, step number, data center release status, application instance release status; the release status is all set to be started by default; the above recorded information can track the project release progress in real time, assist operation and maintenance personnel to manage and control the project release more efficiently, and improve the management efficiency of project release; through the project number and application number, operation and maintenance personnel can clearly know which applications corresponding to the project are being released; through the data center number, operation and maintenance personnel can know in which data center the release task is being carried out; through the stage number and step number, operation and maintenance personnel can know the specific progress of the project release, such as which stage it is in and which steps have been completed; through the data center release status and instance release status, operation and maintenance personnel can understand the working status of the release task so that they can deal with possible problems in a timely manner.

[0049] In step 102, the arrangement instruction is obtained from the visualization page; in the visualization page, by clicking and dragging the element with the data center logo in the page, it moves from one page area to another page area, controls the generation of the first arrangement order value, and modifies the second arrangement order value. Figure 3 The visualization page of the computer room is shown in FIG. 1 . The rectangular box contains the application name and the computer room name, which represents the instance release of a specific application in a specific computer room. For example, the rectangular box contains trade and Ger, which indicates the instance release of the application trade in the computer room Ger. In the embodiment of the present invention, the operation and maintenance personnel click and drag the rectangular box from the stage 1-step 2 area to the stage 2-step 1 area, and the first arrangement order value changes from 1 to 2, and the second arrangement order value changes from 2 to 1. At this time, the release deployment of the computer room Ger will change from the first stage to the second stage, and the instance release of the application trade in the computer room Ger will change from the second step to the first step. By clicking the release button on the page, the backend generates a new release sequence template and stores it in the database.

[0050] Step 103: Read the release sequence template and schedule all applications of the project to be deployed to each data center: first select the data center to be deployed according to the stage number, and then update the application package to the designated server of the data center in sequence according to the step number; after the package with all applications is updated, select the next data center to be deployed to update the package. The specific steps include:

[0051] Step 103-1: Obtain the source code of the application in step 1, use the build tool to complete the application construction, and generate the corresponding application package; the embodiment of the present invention saves and utilizes the relationship between the project version and the application release information, so that the operation and maintenance personnel only need to create a project release task once to obtain the deployment code and address of all related applications, and realize the creation of a project release task once, and the release of multiple related application instances in multiple data centers, avoiding the tedious steps of repeatedly creating release tasks and repeatedly compiling release codes, reducing the number of operations of the operation and maintenance personnel in the release, and reducing the complexity of project release in multiple data centers. Step 103-2: Select the current data center to be deployed: From the project release task progress record, select the data center whose release status is to be started and corresponds to the current minimum stage number; if there is a data center with the same stage number, execute step 103-3 synchronously;

[0052] Step 103-3: Execute instance release of the application in the data center: obtain the corresponding application according to the step number, and execute instance release of the application in the data center in order from small to large; the applications with the same step number execute instance release in parallel;

[0053] The embodiment of the present invention utilizes the data center release sequence to decompose the project version release process into multiple sequentially executed stages; in each stage, the application instance release sequence is formed based on the dependency relationship between applications, and the deployment and release of all application instances in the data center can be executed by only configuring the deployment IP of the application instance in the data center.

[0054] Step 103-4: Monitor the application instance release process: If the release of any application instance fails, change the corresponding instance release status and data center release status to failure, stop the project release, and remind the operation and maintenance personnel; if the application instance is successfully released, change the corresponding instance release status to success; wait until all application instances are successfully released, change the corresponding data center release status to success; select the next data center to be deployed according to step 103-2 until the release status of all data centers is changed to success;

[0055] In the instance publishing process of step 3, the ansible tool is used to update the program package in the corresponding server in the data center. If the update is successful, the application instance is determined to be successfully published; if the update fails, the application instance is determined to be published unsuccessfully; the server is located by a pre-assigned IP address, and the server can be either a container or a virtual machine. The Ansible tool selected this time is an open source tool. It has modules that support containerized deployment, such as the Docker module, which can automate the deployment and configuration of containers; and modules that support virtualized deployment, such as the vmware_guest module for VMware vSphere, or azure_rm_virtualmachine` for Microsoft Azure. The present invention uses the Ansible tool, which is comprehensive and free, and supports both container and virtual machine deployment, ensuring that diversified deployment methods are achieved in multiple data centers at minimal cost.

[0056] In the monitoring process in step 3-4, a visual progress bar is set in the visualization page to monitor the application instance publishing process, and the progress value is the number of servers that have completed instance publishing divided by the total number of servers that execute instance publishing.

[0057] like Figure 5 This is a schematic diagram of the application instance release process monitoring page in an embodiment of the present invention. A progress bar is set in the rectangular box identifying the computer room name and the application name to display the progress of the application instance release. In the figure, 3 / 5 indicates that the application executes instance release on 5 designated servers in the current data center, and it has been completed on 3 servers.

[0058] During the monitoring process of step 3-4, when the publishing status of the data center changes, the publishing status is fed back to the visualization interface for display; after the visualization interface receives the instruction to continue publishing, the next deployed data center is selected to execute the application instance publishing.

[0059] like Figure 6 The present invention provides a visualization diagram of the release sequence arrangement of the grayscale release of multiple data centers in an embodiment of the present invention. When the grayscale release of a project is executed, the arrangement instruction is received through the visualization interface and transmitted to the backend to set the data center for the grayscale release. In an embodiment of the present invention, applications APP2 and APP3 depend on application APP1, and the existing data center IDC1 and IDC1 are selected as the data center for grayscale release. Based on the dependency relationship of the three applications, the arrangement order value of APP1 is automatically generated as 1, and the arrangement order values ​​of APP2 and APP3 are automatically generated as 2. In the visualization page, the rectangular box with the APP1 logo is in the step 1 area, and the rectangular boxes with the APP2 and APP3 logos are both in the step 2 area.

[0060] Since IDC1 is the data center for grayscale release, drag the rectangular box with the IDC1 logo into the stage 1 area, and drag the rectangular box with the IDC2 logo into the stage 2 area. The generated arrangement order value for IDC1 is 1, and the generated arrangement order values ​​for IDC2 and IDC3 are both 2. According to the above arrangement order, IDC1 starts the deployment first, and executes the instance release of the three applications in sequence; after success, click the continue release instruction, and IDC2 starts the deployment again. Grayscale release is achieved through the method of the present invention, which not only ensures the correct release of related applications, but also does not require the use of commercial release systems and self-developed supplementary tools, simplifies the project release process of multiple data centers, and improves the release efficiency.

[0061] Figure 7 The present invention is a schematic diagram of the structure of a multi-data center application release scheduling method in an embodiment of the present invention, which specifically includes a release management system, a local database, a release scheduling system and a release execution system connected in sequence; the release management system is for operation and maintenance managers and developers, and is used to create release tasks, receive scheduling instructions and manage local databases;

[0062] The release scheduling system includes the release construction subsystem and the release orchestration subsystem.

[0063] The release construction subsystem is used to construct a release sequence template according to the arrangement instruction and store it in the local database;

[0064] The release scheduling subsystem is used to retrieve the release sequence template from the local database and schedule the application release sequence according to the scheduling instructions; the release execution system is used to execute the project release according to the release sequence, complete the instance release of the application in the data center, and record the release status.

[0065] The beneficial effects achieved by the present invention are:

[0066] (1) The present invention decomposes the project version release process into multiple sequentially executed stages by utilizing the data center release sequence. In each stage, the application instance release sequence is formed based on the dependency relationship between applications. It only needs to configure the deployment IP of the application instance in the data center to execute the deployment and release of all application instances in the data center. It can also be applied to the grayscale release of the project, which not only ensures the correct release of the associated applications, but also does not require the use of commercial release systems and self-developed supplementary tools, thereby simplifying the project release process of multiple data centers and improving the release efficiency.

[0067] (2) The present invention saves and utilizes the relationship between the project version and the application release information, so that the operation and maintenance personnel only need to create a project release task once to obtain the deployment code and address of all related applications, and realizes the creation of a project release task once and the release of multiple related application instances in multiple data centers, avoiding the tedious steps of repeatedly creating release tasks and repeatedly compiling release codes, reducing the number of operations performed by the operation and maintenance personnel in the release, and reducing the complexity of project release in multiple data centers.

[0068] The present invention may also have many other implementation modes. The above embodiments do not limit the present invention in any way. Without departing from the spirit and essence of the present invention, technicians familiar with the field may make various corresponding changes and modifications based on the present invention. All other improvements and applications made to the above embodiments in an equivalent transformation manner should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A scheduling method for application release in multiple data centers, characterized in that: include: Step 1: Create a release task for a project. The project includes the project name, release version, and environment type. The project corresponds to at least one application, which includes the application number, source code, and deployment IP address. The source code is the code storage address, which is the URL of the remote code hosting platform. The correspondence between the project and the application is recorded in the database. Step 2: Obtain an orchestration instruction for dynamically arranging the release order of applications and saving it as a release order template; splice the applications in ascending order of application numbers, and generate an identifier after MD5 encoding to mark the release order module; the release order includes the data center release order and the application instance release order; the data center release order refers to the order in which data centers are started and deployed, and is arranged from small to large by obtaining a first sorting order value from the orchestration instruction; the application instance release order refers to the order in which application instances are released within the data center, and is automatically generated by a second sorting order value based on the dependency relationship between applications, and is arranged from small to large by the second sorting order value; Step 3: Read the release order template and schedule all applications in the project to be deployed to each data center: first select the data center to be deployed according to the data center release order, and then update the application package to the designated server of the data center in sequence according to the application instance release order; after all application packages are updated, select the next data center to be deployed to execute the package update.

2. The method for scheduling application releases in multiple data centers according to claim 1, wherein: The specific steps of step 2 include: Step 2-1: Check whether there is a release order template that is consistent with the identifier. If not, go to step 2-2; if so, go to step 2-3; Step 2-2: Add a new release order template, obtain the first ranking value from the orchestration instruction; generate the ranking value of each application based on the application dependency relationship, and the ranking value of the dependent application is smaller than the ranking value of the dependent application; write the data center and the corresponding ranking value, and the application and the corresponding ranking value into the new release order template, Step 2-3: Arrange the release order according to the release order template: The release order template includes the application number, data center number, stage number, and step number; the stage number records the first sorting order value, and the step number records the second sorting order value; obtain the stage number and step number in the release order template, arrange the data center release order according to the stage number, and arrange the application instance release order according to the step number; Step 2-4: Generate a project release task progress record, including the project number, application number, data center number, phase number, step number, data center release status, and instance release status; the release status defaults to pending.

3. The method for scheduling application releases in multiple data centers according to claim 2, wherein: In step 2, the arrangement instruction is obtained from the visualization page; specifically, in the visualization page, by clicking and dragging an element with a specific identifier in the page, it moves from one page area to another page area, controls the generation of the first arrangement order value, and modifies the second arrangement order value.

4. The method for scheduling application releases in multiple data centers according to claim 3, wherein: The specific steps of step 3 include: Step 3-1: Obtain the source code of the application in step 1 and generate the application package using a build tool; Step 3-2: Select the data center to be deployed: From the project release task progress record, select the data center with a release status of "To be started" and the current smallest stage number. If a data center with the same stage number exists, execute step 3-3 simultaneously. Step 3-3: Execute instance release of the application in the currently selected data center: Execute instance release of the application in the data center sequentially from smallest to largest according to the step number; execute instance release of applications with the same step number in parallel; Step 3-4: Monitor the application instance release process: If the release of any application instance fails, the corresponding instance release status and data center release status in the project release task progress record are changed to failure, the project release is stopped, and the operation and maintenance personnel are notified; if the application instance is successfully released, the corresponding instance release status is changed to success; After all application instances are successfully published, change the publishing status of the selected data center to success; select the next deployed data center according to step 3-2 until the publishing status of all data centers is changed to success.

5. The method for scheduling application releases in multiple data centers according to claim 4, wherein: In step 3-3, the application instance is released. Specifically, the ansible tool is used to update the program package in the specified server in the data center. If the update is successful, the application instance is determined to be released successfully; if the update fails, the application instance is determined to be released failed; the server is specified by the deployment IP address, and the server includes a container and a virtual machine.

6. The method for scheduling application releases in multiple data centers according to claim 5, wherein: In the step 3 of monitoring the application instance release process, a progress bar is set in the visualization page to monitor the application instance release process, and the progress value of the progress bar is the number of servers that have completed instance release divided by the total number of servers executing instance release; when the release status of the data center changes, the release status is fed back to the visualization interface for display; after the visualization interface receives the instruction to continue release, it continues to select the next deployed data center to execute the application instance release.