Application upgrading method, device, equipment and system

Generating and pushing differentiated application upgrade packages through the cloud server, combined with the orchestration operations of terminal devices, solves the problem of application upgrade automation and consistency, and improves upgrade efficiency and consistency.

CN118535201APending Publication Date: 2024-08-23HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310112962.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technologies make it difficult to automate the application upgrade process, especially when upgrading simultaneously among computing devices in multiple geographical areas, resulting in low efficiency and difficulty in ensuring the consistency of application changes.

Method used

The initial upgrade package is generated through the cloud server, including the differences between the old version and the new version of the target application. Combined with the orchestration operation instructions of the terminal device, a release upgrade package is generated and sent to the target computing device through the cloud server to realize application automation. Upgrades and remote control ensure consistent application changes across multiple computing devices.

Benefits of technology

It realizes the automation of application upgrades, reduces manual participation, improves upgrade efficiency, and ensures the consistency of application changes in multiple computing devices in different geographical areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535201A
    Figure CN118535201A
Patent Text Reader

Abstract

The invention discloses an application upgrading method, device, equipment and system, and relates to the technical field of communication. Wherein the cloud server generates an initial upgrade package of the target application based on an old version installation package and a new version installation package of the target application, and then modifies the initial upgrade package based on an arrangement operation instruction sent by a terminal device of a making account of the target application to obtain a published upgrade package of the target application. And when the cloud server receives an application upgrading request for the target application, sending a published upgrading package of the target application to the target computing device based on the application upgrading request. Wherein the target computing device is the old version computing device installed with the target application, and the target computing device upgrades the old version of the target application to a new version based on the published upgrade package of the target application. The number of the target computing devices can be multiple, through the method, the release upgrade package of the application can be generated in a targeted mode, and application upgrade can be carried out on the multiple computing devices more conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an application upgrading method, device, equipment and system. Background Art

[0002] As cloud computing and virtualization technologies become more mature and popular, enterprise-oriented applications (mainly software applications) are increasingly widely used. Enterprise-oriented applications are usually installed in multiple computing devices in different geographical areas. For example, when an enterprise has multiple branches in different geographical areas, the enterprise can install the same application in the computing devices of each branch, and the application is installed in multiple computing devices in different geographical areas.

[0003] Applications usually need to be continuously upgraded during use. The current upgrade method is: the computing device pulls the new version installation package of the application from the application warehouse of the cloud server, installs the new version installation package of the application, and thus upgrades the old version of the application to the new version.

[0004] However, when data upgrades or other special requirements are required during the application upgrade process, the upgrade cannot be achieved directly by replacing the old version with the new version. The application upgrade process is difficult to automate, and usually requires manual upgrades of applications in multiple computing devices. However, manual upgrades require staff to travel between multiple geographical areas, which is not only inefficient, but also difficult to ensure consistency of application changes in multiple computing devices in different geographical areas. Summary of the invention

[0005] The embodiments of the present application provide an application upgrade method, apparatus, device and system for more conveniently performing application upgrades.

[0006] In a first aspect, an embodiment of the present application provides an application upgrade method, which is applied to a cloud server, and the cloud server is connected to a terminal device of a production account of a target application and a computing device that installs the target application. Wherein, the target application can be any application. The method may include: the cloud server generates an initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application, and the initial upgrade package includes change information of at least one change node, and the change information of the change node is generated based on the difference between the old version installation package and the new version installation package of the target application. The cloud server sends the initial upgrade package of the target application to the terminal device of the production account of the target application, and displays the initial upgrade package of the target application through the terminal device. The cloud server receives the orchestration operation instruction for the initial upgrade package sent by the terminal device, and modifies the initial upgrade package based on the orchestration operation instruction to obtain the release upgrade package of the target application. Wherein, the orchestration operation instruction is generated by the terminal device based on the orchestration operation input by the production account. When the cloud server receives an application upgrade request for the target application, based on the application upgrade request, the release upgrade package of the target application is sent to the target computing device. The target computing device is a computing device on which an old version of the target application is installed. The target computing device upgrades the old version of the target application to a new version based on a released upgrade package of the target application.

[0007] In the application upgrade method provided in the embodiment of the present application, after the cloud server generates the initial upgrade package of the target application, the initial upgrade package can be displayed to the developer of the target application through the terminal device of the account creation, and the initial upgrade package can be modified according to the orchestration operation input by the developer. This process enables the developer to generate application release upgrade packages in a targeted manner according to the different upgrade requirements of different applications. The release upgrade package can meet the upgrade requirements of the application, realize the automation of application upgrades, reduce manual participation in the upgrade process, and more conveniently perform application upgrades and improve upgrade efficiency. Multiple computing devices in different geographical areas can use the release upgrade package to upgrade the target application, which can ensure that the application changes in multiple computing devices are consistent.

[0008] In a possible implementation, the cloud server may compare the resource components included in the old version installation package with the resource components included in the new version installation package, determine the differences between the old version installation package and the new version installation package, and generate change information of at least one change node and an initial upgrade package of the target application based on the differences. The initial upgrade package of the target application includes change information of at least one change node, and the change node includes one or more of the following: adding a new resource component node, deleting a resource component node, and modifying a resource component node.

[0009] In the above implementation, the cloud server can automatically generate an initial upgrade package for the target application by comparing the differences between the old version installation package and the new version installation package, thereby saving human resources.

[0010] In one possible implementation, if the orchestration operation instruction received by the cloud server is a sorting instruction, the execution order of each change node in the initial upgrade package is set based on the execution order indicated by the sorting instruction; if the orchestration operation instruction received by the cloud server is an adjustment order instruction, the execution order of the change nodes in the initial upgrade package is adjusted based on the adjustment order instruction; if the orchestration operation instruction received by the cloud server is a delete node instruction, the change information of the change node indicated by the delete node instruction is deleted in the initial upgrade package; if the orchestration operation instruction received by the cloud server is a modify node instruction, the change information of the change node indicated by the modify node instruction is modified in the initial upgrade package; if the orchestration operation instruction received by the cloud server is an add node instruction, the change node is added to the initial upgrade package based on the change information of the change node carried by the add node instruction, wherein the change node carried by the add node instruction may include a data upgrade execution node, and the data upgrade execution node is used to upgrade the data in the target application.

[0011] In the above implementation, the initial upgrade package can be modified accordingly based on the various orchestration operations input by the developer, including adding data upgrade execution nodes for applications that need data upgrades to upgrade the data of the target application, so that the new version of the application can continue to use the data collected or generated by the old version, eliminating the need for manual data upgrades for the application and reducing manual workload.

[0012] In one possible implementation, after the cloud server obtains the release upgrade package of the target application, it can send a notification message to the account using the old version of the target application; the notification message carries a notification that a new version of the target application exists. If an application upgrade request for the target application is received from a control device corresponding to the target account, the target computing device of the target application to be upgraded indicated by the application upgrade request is obtained, and the release upgrade package of the target application is sent to the target computing device. Among them, the target account is any one of the accounts using the old version of the target application; the target account is associated with multiple computing devices with the old version of the target application installed; the control device is used to control the application upgrade of multiple computing devices associated with the target account; the target computing device includes some or all of the multiple computing devices associated with the target account.

[0013] In the above implementation method, the cloud server can send application upgrade packages to multiple computing devices based on the application upgrade request sent by the control device, so that multiple computing devices can be upgraded, thereby realizing remote control of application upgrades, and realizing unified upgrades of multiple computing devices, and ensuring the consistency of application changes in multiple computing devices.

[0014] In another possible implementation, after the cloud server obtains the release upgrade package of the target application, it can send a notification message to the computing device that has the old version of the target application installed, and the notification message carries a notification that a new version of the target application exists. If an application upgrade request for the target application is received from the target computing device, the cloud server can send the release upgrade package of the target application to the target computing device based on the application upgrade request. The target computing device is any one of the computing devices that have the old version of the target application installed.

[0015] In a second aspect, an embodiment of the present application provides an application upgrade method, which is applied to a computing device, in which an old version of a target application is installed. The application upgrade method may include the following steps: receiving a release upgrade package of a target application sent by a cloud server, and upgrading the old version of the target application to a new version based on the release upgrade package of the target application. The release upgrade package of the target application is obtained by modifying the initial upgrade package based on the orchestration operation instruction sent by the terminal device of the production account of the target application after the cloud server generates the initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application.

[0016] In a possible implementation, the computing device can execute the change information of each change node according to the execution order of each change node included in the release upgrade package of the target application, upgrade the old version of the target application, and display the execution status information of each change node; the execution status information of any change node is: execution success, execution failure, executing, or waiting for execution. By displaying the execution status information of each change node, the user of the target application can understand the upgrade process of the target application in real time and promptly discover problems that occur during the application upgrade process.

[0017] In one possible implementation, in the process of upgrading an old version of a target application to a new version, if the computing device receives a rollback instruction for a first change node, the change information of the first change node is obtained from the release upgrade package of the target application, and the change information of the first change node is reversely executed, wherein the first change node is any change node in the release upgrade package of the target application; if the computing device receives a retry instruction for a second change node, the change information of the second change node is obtained from the release upgrade package of the target application, and the change information of the second change node is re-executed, wherein the second change node is any change node whose execution status information is execution failure; if the computing device receives a skip instruction for a third change node, the change information of the third change node contained in the release upgrade package of the target application is ignored, wherein the third change node is any change node in the release upgrade package of the target application.

[0018] The above implementation provides a control function for a single change node. Application users can skip or retry a change node individually, and can also control a single change node to roll back, thereby achieving more fine-grained control over the application upgrade process.

[0019] In one possible implementation, after upgrading the old version of the target application to the new version, if the computing device receives an upgrade rollback instruction for the target application, the change information of each change node contained in the release upgrade package of the target application is reversely executed in the reverse order of the execution order of each change node contained in the release upgrade package of the target application, and rolls back to the old version of the target application.

[0020] In a possible implementation, the computing device receives a release upgrade package sent by a cloud server based on an application upgrade request of a control device corresponding to a target account associated with the computing device, and upgrades an old version of the target application to a new version based on the release upgrade package of the target application. The target account is associated with multiple computing devices with old versions of the target application installed, and the control device is used to control application upgrades of the multiple computing devices associated with the target account.

[0021] In another possible implementation, the computing device receives a release upgrade package sent by the cloud server based on the application upgrade request of the computing device, and upgrades the old version of the target application to the new version based on the release upgrade package of the target application. The application upgrade request of the computing device is sent to the cloud server by the computing device when receiving an upgrade operation for the target application after displaying the notification information sent by the cloud server, and the notification message carries a notification that a new version of the target application exists.

[0022] In a third aspect, an embodiment of the present application provides an application upgrade device, which is applied to a cloud server, and the device includes:

[0023] An upgrade package generation module, configured to generate an initial upgrade package of the target application based on an old version installation package and a new version installation package of the target application; the initial upgrade package includes change information of at least one change node; the change information of the change node is generated based on the difference between the old version installation package and the new version installation package of the target application;

[0024] An upgrade package editing module, used to send the initial upgrade package of the target application to the terminal device of the production account of the target application, and display the initial upgrade package of the target application through the terminal device; receive the orchestration operation instruction for the initial upgrade package sent by the terminal device, and modify the initial upgrade package based on the orchestration operation instruction to obtain the release upgrade package of the target application; the orchestration operation instruction is generated by the terminal device based on the orchestration operation input by the production account;

[0025] An upgrade package sending module is used to send the release upgrade package of the target application to a target computing device based on the application upgrade request when an application upgrade request for the target application is received; the target computing device is a computing device on which an old version of the target application is installed, and the target computing device upgrades the old version of the target application to a new version based on the release upgrade package of the target application.

[0026] In a possible implementation, the upgrade package generation module may be specifically used to:

[0027] Compare the resource components included in the old version installation package with the resource components included in the new version installation package to determine the differences between the old version installation package and the new version installation package;

[0028] Based on the difference points, change information of at least one change node and an initial upgrade package of the target application are generated; the initial upgrade package of the target application includes the change information of the at least one change node; the change nodes include one or more of the following: adding a new resource component node, deleting a resource component node, and modifying a resource component node.

[0029] In a possible implementation, the upgrade package sending module may be specifically used to:

[0030] After obtaining the release upgrade package of the target application, sending a notification message to the user account of the old version of the target application; the notification message carries a notification that a new version of the target application exists;

[0031] Receiving an application upgrade request for the target application sent by a control device corresponding to a target account; the target account is any one of the accounts using the old version of the target application; the target account is associated with multiple computing devices on which the old version of the target application is installed; the control device is used to control application upgrades of the multiple computing devices associated with the target account;

[0032] Acquire a target computing device of the target application to be upgraded indicated by the application upgrade request; the target computing device includes part or all of the multiple computing devices associated with the target account;

[0033] The release upgrade package of the target application is sent to the target computing device.

[0034] In a possible implementation, the upgrade package sending module may be specifically used to:

[0035] After obtaining the release upgrade package of the target application, sending a notification message to a computing device installed with an old version of the target application; the notification message carries a notification that a new version of the target application exists;

[0036] Receiving an application upgrade request for the target application sent by a target computing device; the target computing device is any one of the computing devices having an old version of the target application installed;

[0037] Based on the application upgrade request, a release upgrade package of the target application is sent to the target computing device.

[0038] In a fourth aspect, an embodiment of the present application provides an application upgrade device, which is applied to a computing device, wherein an old version of a target application is installed in the computing device, and the device includes:

[0039] An upgrade package receiving module, used for receiving a release upgrade package of the target application sent by a cloud server; the release upgrade package of the target application is obtained by the cloud server modifying the initial upgrade package based on the orchestration operation instruction sent by the terminal device of the production account of the target application after generating the initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application;

[0040] The application upgrade module is used to upgrade the old version of the target application to the new version based on the release upgrade package of the target application.

[0041] In a possible implementation, the application upgrade module may be specifically used to:

[0042] According to the execution order of each change node contained in the release upgrade package of the target application, the change information of each change node is executed, the old version of the target application is upgraded, and the execution status information of each change node is displayed; the execution status information of any change node is: execution successful, execution failed, executing or waiting for execution.

[0043] In a possible implementation, the application upgrade module may also be used to:

[0044] In the process of upgrading the old version of the target application to the new version, if a rollback instruction for a first change node is received, the change information of the first change node is obtained from the release upgrade package of the target application, and the change information of the first change node is reversely executed; the first change node is any change node in the release upgrade package of the target application;

[0045] In the process of upgrading the old version of the target application to the new version, if a retry instruction for a second change node is received, the change information of the second change node is obtained from the release upgrade package of the target application, and the change information of the second change node is re-executed; the second change node is any change node whose execution status information is execution failure;

[0046] In the process of upgrading the old version of the target application to the new version, if a skip instruction for the third change node is received, the change information of the third change node contained in the release upgrade package of the target application is ignored; the third change node is any change node in the release upgrade package of the target application.

[0047] In a possible implementation, the upgrade package receiving module may be specifically used to:

[0048] Receiving the release upgrade package sent by the cloud server based on an application upgrade request of a control device corresponding to a target account associated with the computing device; the target account is associated with multiple computing devices with an old version of the target application installed; the control device is used to control application upgrades of multiple computing devices associated with the target account; or,

[0049] Receive the release upgrade package sent by the cloud server based on the application upgrade request of the computing device; the application upgrade request of the computing device is sent by the computing device to the cloud server when the computing device receives an upgrade operation for the target application after displaying the notification information sent by the cloud server; the notification message carries a notification that a new version of the target application exists.

[0050] In a fifth aspect, an embodiment of the present application provides a cloud server, comprising a memory and a processor, wherein a computer program is stored in the memory; the processor is used to read and execute the computer program stored in the memory, so that any one of the methods provided in the first aspect is executed.

[0051] In the sixth aspect, an embodiment of the present application provides a server cluster, comprising at least one cloud server, each cloud server comprising a processor and a memory; the processor of the at least one cloud server is used to execute instructions stored in the memory of the at least one cloud server, so that the server cluster executes any one of the methods provided in the first aspect.

[0052] In the seventh aspect, an embodiment of the present application provides a computing device, comprising a memory and a processor, wherein a computer program is stored in the memory; the processor is used to read and execute the computer program stored in the memory, so that any one of the methods provided in the second aspect is executed.

[0053] In an eighth aspect, an embodiment of the present application provides a computing device cluster, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes any one of the methods provided in the second aspect.

[0054] In the ninth aspect, an embodiment of the present application provides an application upgrade system, including a terminal device for making an account for a target application, a cloud server provided in the fifth aspect, and a computing device provided in the seventh aspect; the cloud server is communicatively connected to the terminal device and the computing device.

[0055] In a tenth aspect, an embodiment of the present application provides a computer program product comprising computer executable instructions, which are used to enable a computer to execute any one of the methods provided in the first aspect.

[0056] In an eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute any one of the methods provided in the first aspect above.

[0057] The technical effects that can be achieved in any of the third to eleventh aspects mentioned above can refer to the description of the beneficial effects in the first or second aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram of the structure of an application upgrade system provided in an embodiment of the present application;

[0059] Figure 2 A schematic diagram of an application upgrade in the related art;

[0060] Figure 3 An interactive schematic diagram of a process of generating an upgrade package for an application provided in an embodiment of the present application;

[0061] Figure 4 A schematic diagram of generating a primary upgrade package provided in an embodiment of the present application;

[0062] Figure 5 A schematic diagram of a primary upgrade package provided in an embodiment of the present application;

[0063] Figure 6 A schematic diagram of an upgrade package configuration interface provided in an embodiment of the present application;

[0064] Figure 7 A schematic diagram of another upgrade package configuration interface provided in an embodiment of the present application;

[0065] Figure 8 A schematic diagram of an application management interface provided in an embodiment of the present application;

[0066] Fig. 9 An interactive schematic diagram of an application upgrade process provided in an embodiment of the present application;

[0067] Fig.10 A schematic diagram of another application management interface provided in an embodiment of the present application;

[0068] Fig.11 A schematic diagram of an application upgrade display interface provided in an embodiment of the present application;

[0069] Fig.12 A flowchart of an application upgrade method provided in an embodiment of the present application;

[0070] Fig.13 A flowchart of another application upgrade method provided in an embodiment of the present application;

[0071] Fig.14 A schematic diagram of the structure of an application upgrade device provided in an embodiment of the present application;

[0072] Fig.15 A schematic diagram of the structure of another application upgrade device provided in an embodiment of the present application;

[0073] Fig.16 A schematic diagram of the structure of a cloud server provided in an embodiment of the present application;

[0074] Fig.17 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0075] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0076] In the embodiments of the present application, "multiple" refers to two or more than two. In view of this, in the embodiments of the present application, "multiple" can also be understood as "at least two". "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and there is no restriction on which ones are included. For example, including at least one of A, B and C, then A, B, C, A and B, A and C, B and C, or A and B and C may be included. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the previously associated objects are in an "or" relationship.

[0077] Unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects and are not used to limit the order, timing, priority or importance of the multiple objects.

[0078] In order to improve the efficiency of application upgrades and ensure that the application changes in multiple computing devices in different geographical areas are consistent during the application upgrade process, an embodiment of the present application provides an application upgrade method. Among them, after the cloud server generates the initial upgrade package of the target application, it can display the initial upgrade package to the developer of the target application through the terminal device of the account creation, and can modify the initial upgrade package according to the arrangement operation input by the developer. This process enables the developer to generate a release upgrade package of the application in a targeted manner according to the different upgrade requirements of different applications. The release upgrade package can meet the upgrade requirements of the application, realize the automation of application upgrades, reduce manual participation in the upgrade process, and more conveniently perform application upgrades and improve upgrade efficiency; multiple computing devices in different geographical areas can use the release upgrade package to upgrade the target application, which can ensure that the application changes in multiple computing devices are consistent.

[0079] The following describes the application upgrade method provided by the embodiment of the present application in conjunction with the accompanying drawings.

[0080] The application upgrade method provided in the embodiment of the present application can be applied to Figure 1 The application upgrade system shown in FIG. 1 can be applied to cloud computing or cloud service scenarios. Figure 1 As shown, the application upgrade system 10 may include a cloud server 100, a terminal device 200, a control device 300, and a plurality of computing devices. The cloud server 100 may be understood as a server or a server cluster. A cloud management platform may be run on the cloud server 100, and the cloud management platform may provide a service for making installation packages of software applications for tenants. The software application is referred to as an application hereinafter, and the tenant may be an application developer.

[0081] The terminal device 200 can be understood as an electronic device such as a computer used by application developers. The terminal device 200 can be connected to the cloud server 100 through a communication network. Before using the service of making an application installation package provided by the cloud server 100, the application developer can first register a production account that can make applications on the cloud management platform and obtain the account number and password of the production account. The cloud management platform provides a connection entrance for the production account and displays it to the application developer through the display screen of the terminal device 200. The application developer clicks the connection entrance on the display screen of the terminal device 200 and enters the account number and password of the registered production account to log in to the cloud management platform and make and publish his own application on the cloud management platform. The installation package of the application published on the cloud management platform can be stored in the application warehouse of the cloud server 100.

[0082] The control device 300 and multiple computing devices can be understood as electronic devices such as computers associated with any user account of the target application. Among them, the target application can be any application published by the production account of the cloud management platform. Before obtaining the installation package of the target application, the application user can first register on the cloud management platform a user account that can use the application published by the cloud management platform and obtain the account number and password of the user account. The cloud management platform provides a connection entrance for the user account and displays it to the application user through the display screen of the control device 300. The application user clicks the connection entrance on the display screen of the control device 300 and enters the account number and password of the registered user account to log in to the cloud management platform and obtain the installation package of the target application published on the cloud management platform from the application warehouse of the cloud server 100.

[0083] One user account can be associated with multiple computing devices. Figure 1Three computing devices are shown, namely computing device 310, computing device 320 and computing device 330. In other embodiments, the number of computing devices may be more or less. This application is not limited to this. The control device 300 and multiple computing devices may also be connected to the cloud server 100 through a communication network. The control device 300 can remotely control multiple computing devices associated with it through the user account, install and run the above-mentioned target application on multiple computing devices, and the user account is referred to as the target account below. For example, when an enterprise has multiple branches in different geographical areas, the target application can be installed in multiple computing devices in different geographical areas, and different geographical areas can be understood as different cities. The control device 300 can be understood as an electronic device frequently used by the user of the target account. The control device 300 can be set in any geographical area, and the target application can also be installed on the control device 300.

[0084] Figure 1 The figure shows a cloud-edge system architecture, where "cloud" refers to the cloud server and "edge" refers to the above-mentioned edge devices such as terminal devices, control devices, and computing devices. A cloud management platform is deployed on the cloud server. The cloud management platform can also be called an application integration platform. Application developers can use production accounts to complete the production, testing, and release of application installation packages on the cloud management platform through visual orchestration tools. After the application installation package is released, application users can obtain the application installation package from the application warehouse of the cloud server by using an account, and remotely deploy the application to multiple computing devices located in different geographical areas. Among them, application developers can be independent software vendors (ISVs) and application users can be industry solution integrators (SIs).

[0085] Figure 1 It is only an example of an application scenario of an embodiment of the present application. In other application scenarios, the application upgrade system may not include a control device. Multiple computing devices can be connected to the cloud server 100 respectively, download the installation package of the target application from the cloud server 100, and install the target application.

[0086] At present, the basic architecture of enterprise-oriented applications is evolving towards service-on-service and microservices, and applications can be run based on containers. When installing the target application on a computing device, the components or microservices contained in the installation package of the target application can be abstractly combined and orchestrated based on the corresponding container management platform and orchestration tools, and then uniformly deployed in containers, such as deployed in a k8s cluster, to complete the installation of the target application. Among them, the k8s cluster is a container cluster. Components and microservices can be collectively referred to as resource components. The container management platform can use docker or kubernetes. docker is an open source container engine for container deployment and operation, and kubernetes is a distributed container management platform. The orchestration tool can use helm, which is an application package management tool based on kubernates and supports the combination and orchestration of multiple functional modules. The container management platform and the orchestration tool can be located in the application management base deployed on the computing device. The application management base is a software system for implementing application installation, upgrading, operation and maintenance, and controlling the operation of applications, as well as interacting with cloud servers.

[0087] Applications usually need to be continuously upgraded during use. Figure 2 An upgrade method used in related technologies is shown. Taking the upgrade of an application from version V1.0 to version V2.0 as an example, the computing device downloads the V1.0 installation package of the application from the cloud server, deploys the V1.0 application hosting instance in the application management base based on the V1.0 installation package, and deploys the V1.0 application in the k8s cluster through the V1.0 application hosting instance. When upgrading the V1.0 version of the application, the computing device downloads the V2.0 installation package of the application from the cloud server, deploys the V2.0 application hosting instance in the application management base based on the V2.0 installation package, and deploys the V2.0 application in the k8s cluster through the V2.0 application hosting instance, so that the V2.0 version of the application covers and replaces the V1.0 version of the application.

[0088] In the above upgrade process, if there is a need to implement data upgrade or other special requirements during the application upgrade process, the application upgrade process is difficult to automate, and it is usually necessary to manually upgrade the applications in multiple computing devices separately. However, manual upgrades require staff to travel between multiple geographical areas, which is not only inefficient, but also difficult to ensure that the application changes in multiple computing devices in different geographical areas are consistent. In order to improve the upgrade efficiency and ensure that the application changes in multiple computing devices during the upgrade process are consistent, an embodiment of the present application provides an application upgrade method. The following first introduces the generation process of the application upgrade package used in the application upgrade method provided in the embodiment of the present application. Figure 3The interactive process between the cloud server and the terminal device of the target application production account and the control device of the target application user account during the upgrade package generation process is shown as follows: Figure 3 As shown, the process may include the following steps:

[0089] S301, the cloud server obtains an old version installation package of the target application and a new version installation package of the target application.

[0090] The target application may be any application released on the cloud management platform provided by the cloud server. The old version installation package of the target application may be produced and released by the production account of the target application on the cloud management platform provided by the cloud server. After the cloud server releases the old version installation package of the target application, it may save the old version installation package of the target application in the application warehouse. For example, the production account of the target application may log in to the cloud management platform through a terminal device and produce and release the old version installation package of the target application on the cloud management platform.

[0091] After the target application production account produces and releases the old version installation package of the target application, if some resource components of the target application are improved, a new version installation package of the target application can be produced and released on the cloud management platform. For example, after a period of time, such as a week, a month, or half a year, after the old version installation package of the target application is released, the target application production account can log in to the cloud management platform through a terminal device and produce and release a new version installation package of the target application on the cloud management platform.

[0092] The cloud server can obtain the new version installation package of the target application created by the target application creation account on the cloud management platform, and obtain the saved old version installation package of the target application from the application warehouse. For example, the old version installation package of the target application can be the V1.0 version installation package, and the new version installation package of the target application can be the V2.0 version installation package.

[0093] S302, the cloud server generates an initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application.

[0094] The initial upgrade package of the target application may include: change information of at least one change node generated based on the difference between the old version installation package and the new version installation package of the target application.

[0095] In some embodiments, the cloud server may compare the resource components included in the old version installation package of the target application with the resource components included in the new version installation package of the target application, determine the differences between the old version installation package and the new version installation package, and based on the differences, generate change information of one or more change nodes and the initial upgrade package of the target application. Among them, the types of change nodes may include one or more of the following: adding a new resource component node, deleting a resource component node, and modifying a resource component node. In an optional embodiment, the resource component may also be referred to as an atomic component, which is a component that can implement or provide a function in the target application and is the smallest unit of a resource. There may be differences in the resource template definition of the atomic component in the old version installation package and the new version installation package of the target application, and these differences can reflect the content that needs to be upgraded and changed in the target application.

[0096] The new resource component node is generated for the new resource component added in the new version installation package of the target application. The new resource component refers to the resource component that exists in the new version installation package of the target application but does not exist in the old version installation package. The change information of the new resource component node includes the name, parameters and other information of the resource component to be added (create). The deleted resource component node is generated for the resource component deleted in the new version installation package of the target application. The deleted resource component refers to the resource component that exists in the old version installation package of the target application but does not exist in the new version installation package. The change information of the deleted resource component node includes the name, parameters and other information of the resource component to be deleted (delete). The modified resource component node is generated for the modified resource component in the new version installation package of the target application. The modified resource component refers to the resource component that exists in both the new version installation package and the old version installation package of the target application, but the resource parameter information in the new version installation package is different from that in the old version installation package. The change information of the deleted resource component node includes the name of the resource component to be modified, the old version parameter information and the new version parameter information.

[0097] For example, Figure 4As shown, it is assumed that the installation package of version V1.0 of the target application includes resource components a, resource components b and resource components c, and the installation package of version V2.0 of the target application includes resource components a, resource components b, resource components d and resource components e. The resource parameters of resource component a in the installation package of version V1.0 are different from those of resource component a in the installation package of version V2.0. Based on the differences between the installation package of version V2.0 of the target application and the installation package of version V1.0 of the target application, the generated initial upgrade package of the target application includes a modification node of resource component a, a deletion node of resource component c, a new addition node of resource component d and a new addition node of resource component e. Among them, the modification node of resource component a belongs to a modification resource component node, the deletion node of resource component c belongs to a deletion resource component node, and the new addition node of resource component d and the new addition node of resource component e belong to a new addition resource component node.

[0098] In other embodiments, the initial upgrade package of the target application may also include the execution order of the change nodes. The installation package of the application may be a collection of a series of resource components with dependencies. After the cloud server generates the change information of multiple change nodes based on the differences between the old version installation package and the new version installation package of the target application, it may determine the execution order of each change node according to the execution order and dependencies of each resource component in the old version installation package of the target application, or according to the execution order and dependencies of each resource component in the new version installation package of the target application, and generate an initial upgrade package containing the execution order of each change node. For example, in Figure 4 Based on the installation packages of the target application V1.0 and V2.0, you can generate Figure 5 Initial upgrade package for the target application shown.

[0099] S303, the cloud server sends an initial upgrade package of the target application to the terminal device.

[0100] The terminal device refers to the terminal device of the production account of the target application.

[0101] S304, the terminal device displays the initial upgrade package of the target application.

[0102] The terminal device of the target application production account can display the initial upgrade package of the target application to the application developer through the display screen, and the application developer decides whether to edit and adjust the initial upgrade package according to the upgrade requirements. For example, the terminal device can display the initial upgrade package of the target application in the upgrade configuration interface of the application displayed on the display screen. In some embodiments, the initial upgrade package of the target application displayed in the upgrade configuration interface of the application can be as follows: Figure 6As shown, it includes multiple change nodes. Each change node is similar to a plug-in. In other embodiments, the initial upgrade package of the target application displayed in the application upgrade configuration interface can be as follows: Figure 7 As shown, it includes multiple change nodes and the execution order of each change node.

[0103] S305, the terminal device receives the arrangement operation input by the production account and generates an arrangement operation instruction.

[0104] S306, the terminal device sends an orchestration operation instruction to the cloud server.

[0105] S307, the cloud server modifies the initial upgrade package based on the received orchestration operation instruction to obtain a release upgrade package of the target application.

[0106] If the application developer decides to edit and adjust the initial upgrade package, he can enter the orchestration operation in the application's upgrade configuration interface to supplement the upgrade process, set or adjust the upgrade execution order, etc. The orchestration operation may include but is not limited to sorting operations, adjusting order operations, adding nodes, deleting nodes, modifying nodes, etc. For example, the application developer can Figure 6 In the upgrade configuration interface of the application shown in FIG, the sorting operation is input by adding arrows between the change nodes. Figure 7 In the upgrade configuration interface of the application shown, the adjustment sequence operation is input by dragging the change nodes and deleting or modifying the arrows between the change nodes.

[0107] In some embodiments, application developers can also Figure 6 or Figure 7In the optional node type menu bar on the left side of the upgrade configuration interface of the application shown, nodes are added by dragging the node type. A list of node types is displayed in the menu bar of the optional node type, and the node type list includes basic operation nodes and advanced operation nodes. The basic operation nodes include resource modification nodes, resource deletion nodes and resource addition nodes. For example, by dragging the "resource modification node" to the upgrade package configuration area of ​​the application on the right, the resource component node can be added to the initial upgrade package of the target application. Advanced operation nodes include change nodes such as script execution nodes, application programming interface (Application Programming Interface, API) call nodes, file upload nodes and Apollo operation nodes. Exemplarily, by dragging the "script execution node" to the upgrade package configuration area of ​​the application on the right, a script execution node can be added to the initial upgrade package of the target application, and a script can be written for the script execution node. The script execution node can also be called a data upgrade execution node, and the previous usage data can be upgraded by executing the script to adapt to the target application after the version upgrade. In some embodiments, the application developer can also delete the change node by dragging the change node out of the upgrade configuration interface of the application, or by clicking the right mouse button on the change node and selecting the delete function. Application developers can also view and modify the change information of the change node by clicking the change node.

[0108] The terminal device receives the orchestration operation input by the production account of the application developer, and generates an orchestration operation instruction for the initial upgrade package of the target application. Exemplarily, when the terminal device receives the sorting operation input by the production account, it generates a sorting instruction based on the sorting operation, and the sorting instruction is used to indicate the execution order of each change node in the initial upgrade package of the target application. When the terminal device receives the adjustment order operation input by the production account, it generates an adjustment order instruction based on the adjustment order operation, and the adjustment order instruction is used to indicate the adjusted sort position of the change node whose order needs to be adjusted. When the terminal device receives the add node operation input by the production account, it generates an add node instruction based on the add node operation, and the add node instruction includes the change information of the change node to be added. In some embodiments, the add node instruction may also include the sort position of the change node to be added. When the terminal device receives the delete node operation input by the production account, it generates a delete node instruction based on the delete node operation, and the delete node instruction includes the information of the change node to be deleted, which may be the identification information or resource type information of the change node. When the terminal device receives the modification node operation input by the production account, it generates a modification node instruction based on the modification node operation, and the modification node instruction includes the modified change information of the change node to be modified.

[0109] The terminal device sends the arrangement operation instruction to the cloud server, and the cloud server modifies the initial upgrade package based on the received arrangement operation instruction. Exemplarily, if the arrangement operation instruction received by the cloud server is a sorting instruction, the cloud server sets the execution order of each change node in the initial upgrade package based on the execution order indicated by the sorting instruction. If the arrangement operation instruction received by the cloud server is an adjustment order instruction, the cloud server adjusts the execution order of the change nodes in the initial upgrade package based on the adjustment order instruction. For example, assuming that the adjustment order instruction indicates that the resource component c deletion node is adjusted to the resource component d new node, the cloud server will adjust the resource component c deletion node adjustment and the resource component d new node. The execution order of the new node. If the arrangement operation instruction received by the cloud server is an add node instruction, the cloud server adds the change node in the initial upgrade package based on the change information of the change node carried by the add node instruction. If the arrangement operation instruction received by the cloud server is a delete node instruction, the cloud server deletes the change information of the change node indicated by the delete node instruction in the initial upgrade package. If the orchestration operation instruction received by the cloud server is a node modification instruction, the cloud server modifies the change information of the changed node indicated by the node modification instruction in the initial upgrade package.

[0110] By providing the upgrade package orchestration function, the high-level customized upgrade requirements of application developers can be met. As long as the application developers continue to add change nodes, automatic upgrades at different levels and in different scenarios can be achieved. The application upgrade package contains the execution order of each change node, which can be applied to upgrade scenarios where resources are interdependent. In addition, multiple computing devices that upgrade the application based on the upgrade package can execute the same node change order, thereby ensuring the consistency of application upgrades on multiple computing devices and reducing the risk of inconsistent changes.

[0111] After the application developer has completed the arrangement of the initial upgrade package, he can click the "Submit" button in the application upgrade configuration interface to submit it for review. After receiving the submission operation input by the application developer's production account, the terminal device sends a submission review instruction to the cloud server. After the cloud server determines that the review is passed, it will publish the modified upgrade package as the release upgrade package of the target application and save it to the application warehouse.

[0112] In some embodiments, the cloud server also provides the function of customizing the pre-upgrade check package, post-upgrade check package and rollback package. Application developers can edit the pre-upgrade check package, post-upgrade check package or rollback package in the application's upgrade configuration interface, wherein the pre-upgrade check package is used to check the old version of the target application in the computing device before the computing device executes the release upgrade package of the target application; the post-upgrade check package is used to check the new version of the target application in the computing device after the computing device executes the release upgrade package of the target application; the rollback package is used when the computing device performs an upgrade rollback operation. In an optional embodiment, the computing device can perform an upgrade rollback operation based on the change information of each change node in the release upgrade package of the target application; in another optional embodiment, when the release upgrade package of the target application contains a rollback package, the computing device can perform an upgrade rollback operation based on the rollback operation steps in the rollback package.

[0113] S308, the cloud server sends notification information to the control device.

[0114] S309: Control the device to display the received notification information.

[0115] The control device refers to the electronic device used by the target account, and the target account can be understood as any one of the accounts using the old version of the target application. For example, the control device can be Figure 1 The control device 300 shown in FIG.

[0116] In some embodiments, after the cloud server obtains the release upgrade package of the target application, or after publishing the release upgrade package of the target application, it can send a notification message to each user account of the old version of the target application, and the notification message carries a notification that a new version of the target application exists. Figure 8 The notification information is displayed to the application user in the application management interface shown. Exemplarily, the application user can open the application management interface by clicking the "Application Management" menu on the left side of the interface. The control device receives the operation of the application user clicking the "Application Management" menu, displays the resource management interface, and displays multiple applications associated with the target account in the resource management interface, such as the first application, the second application, etc. These applications are applications installed by the application user in one or more computing devices managed by the application user. Assuming that the first application is the target application, the application management interface can display "a new version of the first application exists and can be upgraded."

[0117] After seeing the notification information that the target application can be upgraded, the application user can decide whether to upgrade according to actual needs, and whether to upgrade the target application in some computing devices or in all computing devices.

[0118] In other embodiments, the cloud server may also directly send the above notification message to the computing device that has installed the old version of the target application, and the notification message carries the notification that the target application has a new version. After receiving the notification information sent by the cloud server, the computing device may display the notification information to the application user.

[0119] In the process of making the upgrade package of the above-mentioned application, the cloud server can automatically generate the initial upgrade package of the application based on the old version and the new version of the application, and display the initial upgrade package of the application to the application developer through the terminal device, so as to facilitate the application developer to conduct manual review and analysis. The cloud server also provides the functions of arranging and customizing the upgrade package, so that the application developer can edit and adjust the initial upgrade package in complex application scenarios, which increases the flexibility and scalability of the upgrade package generation process. The manual operations that need to be performed on-site in the related technology, such as non-resource state changes, can also be integrated into the application upgrade package, where the non-resource state changes can include configuration modifications, database upgrades, etc. In addition, the cloud server has the ability of unified management of the platform, and adopts a multi-point unified distribution method to distribute the application upgrade package to multiple computing devices, which can ensure the consistency of changes of multiple computing devices when the application is upgraded. Among them, multiple points refer to multiple computing devices located in different geographical areas.

[0120] Fig. 9 The interactive process between the cloud server and the control device of the target account and the target computing device during the application upgrade process is shown as an example. Fig. 9 As shown, the process may include the following steps:

[0121] S901, the control device sends an application upgrade request to the cloud server.

[0122] The control device and Figure 3 The control device shown in can be the same control device. The control device can send an application upgrade request to the cloud server based on the upgrade operation for the target application input by the target account. The target account can be any one of the accounts using the old version of the target application. The target account is associated with multiple computing devices with the old version of the target application installed, and the control device is used to control the application upgrade of the multiple computing devices associated with the target account.

[0123] For example, after the control device displays the notification information that the target application can be upgraded to the application user, if the application user decides to upgrade, the application user can select the target application to upgrade from the multiple applications displayed on the application management interface. Figure 8In the application management interface shown, click the "upgrade" button in the upper right corner of the first application, or click the "install device" button in the first application. The control device receives the click operation on the "upgrade" button in the upper right corner of the first application or the "install device" button in the first application, and displays Fig.10 The device management interface shown displays multiple computing devices associated with the target account that have installed old versions of the target application, such as a first computing device, a second computing device, a third computing device, a fourth computing device, etc. These computing devices may be computing devices deployed in different geographic areas.

[0124] The application user can select the computing device that needs to be upgraded from multiple computing device applications as the target computing device. After the selection is completed, click the "Upgrade" button in the upper right corner. The control device receives the click operation on the "Upgrade" button, generates an application upgrade request based on the target computing device selected by the application user, and sends the application upgrade request to the cloud server. The application upgrade request carries the device identifier of the target computing device of the target application to be upgraded. The target computing device is selected by the application user and can include some or all of the multiple computing devices associated with the target account.

[0125] S902, the cloud server obtains the target computing device of the target application to be upgraded indicated by the application upgrade request.

[0126] The cloud server determines the target computing device of the target application to be upgraded according to the device identifier carried in the application upgrade request.

[0127] S903, the cloud server sends the release upgrade package of the target application to the target computing device.

[0128] Fig. 9 In the example, only one target computing device is used for the exemplary description. In actual use, there may be multiple target computing devices, and each target computing device performs the same steps, which will not be described again in the following.

[0129] S904, the target computing device upgrades the old version of the target application to the new version based on the release upgrade package of the target application.

[0130] In some embodiments, the target computing device can execute the change information of each change node in the execution order of each change node included in the release upgrade package of the target application, upgrade the old version of the target application, and display the execution status information of each change node; the execution status information of any change node is: execution successful, execution failed, executing, or waiting for execution. In an optional embodiment, during the upgrade process, the target computing device can also send the upgrade progress information to the cloud server in real time, and the cloud server forwards the upgrade progress information to the control device corresponding to the target account. The control device can display the execution status information of each change node based on the received upgrade progress information. Exemplarily, the target computing device or control device can display the execution status information of each change node through Fig.11 The upgrade progress interface shown displays the execution status information of each change node. In the upgrade progress interface, the execution progress of the change node waiting to be executed or the change node being executed can be displayed through a progress bar. "√" is used to indicate a change node that has been successfully executed, and "×" is used to indicate a change node that has failed to execute.

[0131] The application upgrade method provided by the embodiment of the present application, in the upgrade package development stage, the cloud server automatically generates an upgrade package based on the new version and the old version of the application, and supports manual arrangement of the upgrade package, which is convenient for application developers to customize upgrade requirements. In the application upgrade stage, the cloud server sends the application upgrade package to the computing device, and the computing device uses the application upgrade package to upgrade the application, which can reduce dependence on manual labor, save human resources, and improve upgrade efficiency. In addition, during the upgrade process, the execution status of each change node can be displayed to the application user. Compared with using the new version of the application to directly overwrite the old version, which is difficult to identify the change point, the embodiment of the present application is more convenient for the application user to understand the various change nodes in the upgrade process, as well as the information on whether each change node has been successfully upgraded.

[0132] In the embodiment of the present application, the cloud server provides multiple functions such as application integration and orchestration, application publishing, and application deployment, upgrade, and operation and maintenance. Based on the application upgrade request sent by the control device, the cloud server can send the application upgrade package to multiple computing devices, so that multiple computing devices can be upgraded, thereby realizing remote control of application upgrades, realizing unified upgrades of multiple sites, and ensuring the consistency of upgrade changes of multiple sites.

[0133] In some embodiments, the application upgrade process may also support fine-grained control. For example, the application user may instruct to roll back, retry, or skip one or more change nodes.

[0134] For example, in one embodiment, during the process of upgrading the old version of the target application to the new version, the application user can see the following information on the control device: Fig.11The execution status information of each change node shown. If the application user believes that a change node needs to be rolled back, he can click the "rollback" button on the right side of the change node. For example, the control device receives the operation of the application user clicking the "rollback" button of the first change node, generates a rollback instruction and sends it to the cloud server, and the cloud server sends the rollback instruction to the target computing device, and the rollback instruction carries the node identifier of the first change node. Among them, the first change node can be any change node in the release upgrade package of the target application. The target computing device receives the rollback instruction for the first change node, obtains the change information of the first change node from the release upgrade package of the target application, and reversely executes the change information of the first change node, and rolls back the first change node to the old version of the target application. In another embodiment, the application user can also click the "rollback" button on the right side of the first change node on the target computing device, and the target computing device receives the operation of the application user clicking the "rollback" button of the first change node, and generates and executes the rollback instruction.

[0135] Exemplarily, assuming that the first change node is a modified resource component node, when performing an upgrade operation on the modified resource component node, the parameter information of the new version of the resource component in the change information of the modified resource component node can be updated to the application to complete the upgrade of the resource component, and when performing a rollback operation on the modified resource component node, the parameter information of the old version of the resource component in the change information of the modified resource component node can be updated to the application to complete the rollback of the resource component. Assuming that the first change node is a deleted resource component node, when performing an upgrade operation on the deleted resource component node, the parameter information of the old version of the resource component in the change information of the deleted resource component node can be deleted from the application; when performing a rollback operation on the deleted resource component node, the resource component can be re-established in the application according to the parameter information of the old version of the resource component in the change information of the deleted resource component node. Assuming that the first change node is a newly added resource component node, when an upgrade operation is performed on the newly added resource component node, the resource component can be established in the application based on the parameter information of the new version of the resource component in the change information of the newly added resource component node; when a rollback operation is performed on the newly added resource component node, the parameter information of the new version of the resource component in the change information of the newly added resource component node can be deleted from the application.

[0136] In one embodiment, if the application user believes that a change node that has failed to execute can retry the upgrade process, the "retry" button on the right side of the change node can be clicked on the control device. For example, the control device receives the operation of the application user clicking the "retry" button of the second change node, generates a retry instruction and sends it to the cloud server, and the cloud server sends the retry instruction to the target computing device, and the retry instruction carries the node identifier of the second change node. Among them, the second change node can be any change node in the release upgrade package of the target application. When the target computing device receives the retry instruction for the second change node, it obtains the change information of the second change node from the release upgrade package of the target application, and re-executes the change information of the second change node. In another embodiment, the application user can also click the "retry" button on the right side of the second change node on the target computing device. The target computing device receives the operation of the application user clicking the "retry" button of the second change node, generates and executes the retry instruction.

[0137] In one embodiment, if the application user believes that a change node that has failed to execute can be skipped, the "skip" button on the right side of the change node can be clicked on the control device. For example, the control device receives the operation of the application user clicking the "skip" button of the third change node, generates a skip instruction and sends it to the cloud server, and the cloud server sends the skip instruction to the target computing device, and the skip instruction carries the node identifier of the third change node. Among them, the third change node can be any change node in the release upgrade package of the target application. When the target computing device receives the skip instruction for the third change node, the change information of the third change node contained in the release upgrade package of the target application is ignored, and there is no need to upgrade the third change node. In another embodiment, the application user can also click the "skip" button on the right side of the third change node on the target computing device. The target computing device receives the operation of the application user clicking the "skip" button of the third change node, and generates and executes the skip instruction.

[0138] In some embodiments, the upgrade process of the application can also be rolled back as a whole. For example, in one embodiment, after the old version of the target application is upgraded to the new version, if the application user clicks the "version rollback" button below the upgrade progress interface. The control device receives the operation of the application user clicking the "version rollback" button, generates an upgrade rollback instruction for the target application and sends it to the cloud server, and the cloud server sends the upgrade rollback instruction to the target computing device. The target computing device receives the upgrade rollback instruction for the target application, and then reversely executes the change information of each change node contained in the release upgrade package of the target application in the reverse order of the execution order of each change node contained in the release upgrade package of the target application, and rolls back to the old version of the target application. When the release upgrade package of the target application contains a rollback package, the target computing device can also perform the reverse operation of the upgrade based on the rollback package and roll back to the old version of the target application. In another embodiment, the application user can also click the "version rollback" button on the target computing device, and the target computing device receives the operation of the application user clicking the "version rollback" button, and generates and executes the upgrade rollback instruction.

[0139] In the related art, the upgrade process of the application is basically an overall upgrade and rollback, and the upgrade execution process is uncontrollable and highly dependent on the system stability of the computing device. During the upgrade process, the embodiment of the present application can display the execution status information of each change node to the application user, and also provide a control function for a single change node, which can skip or retry a change node separately, and can also control a single change node to roll back, thereby achieving more fine-grained control.

[0140] Fig. 9 In the illustrated embodiment, the cloud server sends a release upgrade package of the target application to the target computing device based on the application upgrade request sent by the control device of the target account. In other embodiments, the application user can input an upgrade operation for the target application on the target computing device. After receiving the upgrade operation input by the application user, the target computing device generates an application upgrade request and sends it to the cloud server. The cloud server sends the release upgrade package of the target application to the target computing device based on the application upgrade request sent by the target computing device. The target computing device upgrades the old version of the target application to the new version based on the received release upgrade package of the target application.

[0141] In some embodiments, before upgrading the target application, the target computing device may perform a pre-upgrade check, and after the upgrade is completed, the target computing device may further perform a post-upgrade check.

[0142] The application upgrade method provided in the embodiment of the present application decouples the upgrade package production process from the application upgrade process, and can not only support the upgrade of k8s container applications, but also support the upgrade of virtual machine applications and other applications.

[0143] In the above embodiment, the application upgrade method executed by the cloud server is as follows: Fig.12 As shown, the following steps may be included:

[0144] S1201, the cloud server generates an initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application.

[0145] The initial upgrade package includes change information of at least one change node, and the change information of the change node is generated based on the difference between the old version installation package and the new version installation package of the target application.

[0146] In some embodiments, the cloud server may compare the resource components included in the old version installation package with the resource components included in the new version installation package, determine the differences between the old version installation package and the new version installation package, and based on these differences, generate change information of at least one change node and an initial upgrade package of the target application. The change node may include one or more of the following: adding a new resource component node, deleting a resource component node, and modifying a resource component node.

[0147] S1202, the cloud server sends the initial upgrade package of the target application to the terminal device of the production account of the target application, and displays the initial upgrade package of the target application through the terminal device.

[0148] S1203, the cloud server receives the orchestration operation instruction for the initial upgrade package sent by the terminal device, and modifies the initial upgrade package based on the orchestration operation instruction to obtain a release upgrade package of the target application.

[0149] Among them, the orchestration operation instruction is generated by the terminal device based on the orchestration operation input by the production account. If the orchestration operation instruction is a sorting instruction, the execution order of each change node in the initial upgrade package is set based on the execution order indicated by the sorting instruction; if the orchestration operation instruction is an adjustment order instruction, the execution order of the change nodes in the initial upgrade package is adjusted based on the adjustment order instruction; if the orchestration operation instruction is an add node instruction, the change node is added to the initial upgrade package based on the change information of the change node carried by the add node instruction; the change node carried by the add node instruction includes a data upgrade execution node; the data upgrade execution node is used to upgrade the data in the target application; if the orchestration operation instruction is a delete node instruction, the change information of the change node indicated by the delete node instruction is deleted in the initial upgrade package; if the orchestration operation instruction is a modify node instruction, the change information of the change node indicated by the modify node instruction is modified in the initial upgrade package.

[0150] In some embodiments, after obtaining the released upgrade package of the target application, the cloud server can send a notification message to the account using the old version of the target application, and the notification message carries a notification that a new version of the target application exists; or, the cloud server can send a notification message to the computing device on which the old version of the target application is installed, and the notification message carries a notification that a new version of the target application exists.

[0151] S1204, when the cloud server receives an application upgrade request for a target application, based on the application upgrade request, the release upgrade package of the target application is sent to the target computing device.

[0152] The target computing device is a computing device on which an old version of the target application is installed, and the target computing device upgrades the old version of the target application to a new version based on a released upgrade package of the target application.

[0153] In some embodiments, the cloud server receives an application upgrade request for a target application sent by a control device corresponding to a target account, obtains a target computing device of the target application to be upgraded indicated by the application upgrade request, and sends a release upgrade package of the target application to the target computing device. The target account is any one of the accounts using the old version of the target application; the target account is associated with multiple computing devices with the old version of the target application installed; the control device is used to control the application upgrade of multiple computing devices associated with the target account; and the target computing device includes some or all of the multiple computing devices associated with the target account.

[0154] In other embodiments, the cloud server receives an application upgrade request for a target application sent by a target computing device, and based on the application upgrade request, sends a release upgrade package of the target application to the target computing device, wherein the target computing device is any computing device that has an old version of the target application installed.

[0155] In the application upgrade method provided in the embodiment of the present application, after the cloud server generates the initial upgrade package of the target application, the initial upgrade package can be displayed to the developer of the target application through the terminal device of the account creation, and the initial upgrade package can be modified according to the orchestration operation input by the developer. This process enables the developer to generate application release upgrade packages in a targeted manner according to the different upgrade requirements of different applications. The release upgrade package can meet the upgrade requirements of the application, realize the automation of application upgrades, reduce manual participation in the upgrade process, and more conveniently perform application upgrades and improve upgrade efficiency. Multiple computing devices in different geographical areas can use the release upgrade package to upgrade the target application, which can ensure that the application changes in multiple computing devices are consistent.

[0156] In the above embodiment, the application upgrade method performed by the computing device with the old version of the target application installed is as follows: Fig.13As shown, the following steps may be included:

[0157] S1301, the computing device receives a release upgrade package of a target application sent by a cloud server.

[0158] Among them, the release upgrade package of the target application is obtained by the cloud server modifying the initial upgrade package based on the orchestration operation instructions sent by the terminal device of the production account of the target application after generating the initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application.

[0159] In some embodiments, a computing device receives a release upgrade package sent by a cloud server based on an application upgrade request of a control device corresponding to a target account associated with the computing device, wherein the target account is associated with multiple computing devices with an old version of the target application installed, and the control device is used to control the application upgrade of the multiple computing devices associated with the target account.

[0160] In other embodiments, the computing device receives a release upgrade package sent by the cloud server based on an application upgrade request of the computing device. The application upgrade request of the computing device is sent to the cloud server by the computing device when receiving an upgrade operation for the target application after displaying the notification information sent by the cloud server, and the notification message carries a notification that a new version of the target application exists.

[0161] S1302: Based on the release upgrade package of the target application, the old version of the target application is upgraded to the new version.

[0162] The computing device can execute the change information of each change node according to the execution order of each change node contained in the release upgrade package of the target application, upgrade the old version of the target application, and display the execution status information of each change node; the execution status information of any change node is: execution success, execution failure, executing or waiting for execution. By displaying the execution status information of each change node, the user of the target application can understand the upgrade process of the target application in real time and discover problems in the application upgrade process in a timely manner.

[0163] In some embodiments, during the process of upgrading an old version of a target application to a new version, if the computing device receives a rollback instruction for a first change node, the change information of the first change node is obtained from the release upgrade package of the target application, and the change information of the first change node is reversely executed, wherein the first change node is any change node in the release upgrade package of the target application; if the computing device receives a retry instruction for a second change node, the change information of the second change node is obtained from the release upgrade package of the target application, and the change information of the second change node is re-executed, wherein the second change node is any change node whose execution status information is execution failure; if the computing device receives a skip instruction for a third change node, the change information of the third change node contained in the release upgrade package of the target application is ignored, wherein the third change node is any change node in the release upgrade package of the target application.

[0164] In some embodiments, after upgrading the old version of the target application to the new version, if the computing device receives an upgrade rollback instruction for the target application, the change information of each change node contained in the release upgrade package of the target application is reversely executed in the reverse order of the execution order of each change node contained in the release upgrade package of the target application, and rolls back to the old version of the target application.

[0165] In combination with the above method embodiment, the present application embodiment also provides an application upgrade device, which can be applied to a cloud server. Fig.14 As shown, the application upgrade device 1400 may include an upgrade package generation module 1401, an upgrade package editing module 1402, and an upgrade package sending module 1403. The application upgrade device 1400 may be used to implement the functions of the above method embodiment, and thus may achieve the beneficial effects possessed by the above method embodiment.

[0166] Among them, the upgrade package generation module 1401 can be used to generate an initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application; the initial upgrade package includes change information of at least one change node; the change information of the change node is generated based on the difference between the old version installation package and the new version installation package of the target application. The upgrade package editing module 1402 can be used to send the initial upgrade package of the target application to the terminal device of the production account of the target application, and display the initial upgrade package of the target application through the terminal device; receive the orchestration operation instruction for the initial upgrade package sent by the terminal device, and modify the initial upgrade package based on the orchestration operation instruction to obtain the release upgrade package of the target application. The orchestration operation instruction is generated by the terminal device based on the orchestration operation input by the production account. The upgrade package sending module 1403 can be used to send the release upgrade package of the target application to the target computing device based on the application upgrade request when receiving an application upgrade request for the target application; the target computing device is a computing device with an old version of the target application installed, and the target computing device upgrades the old version of the target application to the new version based on the release upgrade package of the target application.

[0167] Exemplarily, the upgrade package generation module 1401, the upgrade package editing module 1402 and the upgrade package sending module 1403 can be integrated into Figure 1 In the cloud server 100 in. The upgrade package generation module 1401, the upgrade package editing module 1402 and the upgrade package sending module 1403 can all be implemented by software, or can be implemented by hardware. Exemplarily, the implementation of the upgrade package generation module is introduced below by taking the upgrade package generation module 1401 as an example. Similarly, the implementation of the upgrade package editing module 1402 and the upgrade package sending module 1403 can be the implementation of the upgrade package generation module.

[0168] As an example of a software functional unit, the upgrade package generation module 1401 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the upgrade package generation module 1401 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0169] As an example of a hardware functional unit, the upgrade package generation module 1401 can be a device implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD can be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0170] It should be noted that, in other embodiments, the upgrade package generation module 1401 can be used to execute any step in the application upgrade method, the upgrade package editing module 1402 can be used to execute any step in the data reading method, and the upgrade package sending module 1403 can also be used to execute any step in the data reading method. The steps that the upgrade package generation module 1401, the upgrade package editing module 1402, and the upgrade package sending module 1403 are responsible for implementing can be specified as needed, and the upgrade package generation module 1401, the upgrade package editing module 1402, and the upgrade package sending module 1403 respectively implement different steps in the application upgrade method to realize all functions of the application upgrade device.

[0171] In combination with the above method embodiment, the present application embodiment also provides an application upgrade device, which can be applied to a computing device in which an old version of the target application is installed. Fig.15 As shown, the application upgrade device 1500 may include an upgrade package receiving module 1501 and an application upgrade module 1502. The application upgrade device 1500 may be used to implement the functions of the above method embodiment, and thus may achieve the beneficial effects possessed by the above method embodiment.

[0172] Among them, the upgrade package receiving module 1501 can be used to receive the release upgrade package of the target application sent by the cloud server; the release upgrade package of the target application is obtained by the cloud server modifying the initial upgrade package based on the arrangement operation instruction sent by the terminal device of the production account of the target application after generating the initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application. The application upgrade module 1502 can be used to upgrade the old version of the target application to the new version based on the release upgrade package of the target application.

[0173] Exemplarily, the upgrade package receiving module 1501 and the application upgrade module 1502 can be integrated into Figure 1The upgrade package receiving module 1501 and the application upgrade module 1502 can be implemented by software or by hardware. Exemplarily, the implementation of the upgrade package receiving module 1501 is introduced below. Similarly, the implementation of the application upgrade module 1502 can be the implementation of the upgrade package generation module.

[0174] As an example of a software functional unit, the upgrade package receiving module 1501 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the upgrade package receiving module 1501 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0175] As an example of a hardware functional unit, the upgrade package receiving module 1501 can be a device implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD can be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0176] It should be noted that, in other embodiments, the upgrade package receiving module 1501 can be used to execute any step in the application upgrade method, and the application upgrade module 1502 can be used to execute any step in the application upgrade method. The steps that the upgrade package receiving module 1501 and the application upgrade module 1502 are responsible for implementing can be specified as needed, and the upgrade package receiving module 1501 and the application upgrade module 1502 respectively implement different steps in the application upgrade method to realize all functions of the application upgrade device.

[0177] Each functional module in the embodiment of the present application can be integrated into one processor, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional units.

[0178] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0179] Based on the same technical concept as the above method embodiment, the present application embodiment also provides a cloud server, which can be a physical machine or a virtual machine server. The cloud server can be used to implement Fig.12 The functions of the method embodiment shown can therefore achieve the beneficial effects of the above method embodiment.

[0180] In some embodiments, the cloud server may be Figure 1 The cloud server 100 shown in FIG. 1 may have a structure as follows: Fig.16 As shown, it includes a processor 110 and a memory 120 connected to the processor 110. The processor 110 and the memory 120 can be interconnected via a bus, and the processor 110 can serve as the main processor of the cloud server 100, that is, the control core of the cloud server 100. The bus can be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The specific connection medium between the above-mentioned processor 110 and the memory 120 is not limited in the embodiments of the present application.

[0181] The memory 120 may be a volatile memory, such as a random access memory; the memory may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 120 may be any other medium capable of carrying or storing desired program codes in the form of instructions or data structures and accessible by a computer, but is not limited thereto. The memory 120 may be a combination of the above memories. The memory 120 may be used to store software programs and modules.

[0182] The processor 110 may include one or more processors. The processor 110 executes various functional applications and data processing of the cloud server 100 by running software programs and modules stored in the memory 120, such as the data reading method provided in the embodiment of the present application.

[0183] In some embodiments, the cloud server 100 may further include a communication module, which is connected to the processor 110 and the memory 120 via a bus. The communication module may be used to communicate with the terminal device of the application creation account and the computing device of the application user account via a network.

[0184] For example, when the cloud server 100 is used to implement Fig.12 In the method shown, the processor 110 can be used to generate an initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application, and the initial upgrade package includes change information of at least one change node, and the change information of the change node is generated based on the difference between the old version installation package and the new version installation package of the target application. The communication module can be used to send the initial upgrade package of the target application to the terminal device of the production account of the target application, and display the initial upgrade package of the target application through the terminal device. The communication module can also be used to receive an orchestration operation instruction for the initial upgrade package sent by the terminal device, wherein the orchestration operation instruction is generated by the terminal device based on the orchestration operation input by the production account. The processor 110 can also be used to modify the initial upgrade package based on the orchestration operation instruction to obtain a release upgrade package of the target application. The communication module can also be used to receive an application upgrade request for the target application, and the processor 110 can also be used to send the release upgrade package of the target application to the target computing device based on the application upgrade request when receiving the application upgrade request for the target application. The target computing device is a computing device on which an old version of the target application is installed. The target computing device upgrades the old version of the target application to a new version based on a released upgrade package of the target application.

[0185] It is understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the cloud server. In other embodiments of the present application, the cloud server may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0186] The present application also provides a server cluster, including at least one cloud server, each of which can use Fig.15 The structure shown includes a processor and a memory. The processor of at least one cloud server is used to execute instructions stored in the memory of at least one cloud server, so that the server cluster executes the above method embodiment.

[0187] Based on the same technical concept as the above method embodiment, a computing device is also provided in the embodiment of the present application. The computing device can be used to implement Fig.13 The functions of the method embodiment shown can therefore achieve the beneficial effects of the above method embodiment.

[0188] In some embodiments, the computing device may be Figure 1 Any one of the computing devices shown in , taking computing device 310 as an example for explanation, the structure of the computing device 310 can be as follows Fig.17 As shown, it includes a processor 311 and a memory 312 connected to the processor 311. The processor 311 and the memory 312 can be interconnected through a bus, and the processor 311 can serve as the main processor of the computing device 310, that is, the control core of the computing device 310. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The specific connection medium between the above-mentioned processor 311 and the memory 312 is not limited in the embodiment of the present application.

[0189] The memory 312 may be a volatile memory, such as a random access memory; the memory may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 312 may be any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. The memory 312 may be a combination of the above memories. The memory 312 may be used to store software programs and modules.

[0190] The processor 311 may include one or more processors. The processor 311 executes various functional applications and data processing of the computing device 310 by running software programs and modules stored in the memory 312, such as the application upgrade method provided in the embodiment of the present application.

[0191] In some embodiments, the computing device 310 may further include a communication module, which is connected to the processor 311 and the memory 312 via a bus. The communication module may be used to communicate with a cloud server via a network.

[0192] For example, when the computing device 310 is used to implement Fig.13 In the method shown, the communication module can be used to receive a release upgrade package of a target application sent by a cloud server. The release upgrade package of the target application is obtained by modifying the initial upgrade package based on the arrangement operation instruction sent by the terminal device of the production account of the target application after the cloud server generates the initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application. The processor 311 can be used to upgrade the old version of the target application to the new version based on the release upgrade package of the target application.

[0193] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the computing device. In other embodiments of the present application, the computing device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0194] The present application also provides a computing device cluster, including at least one computing device, each of which can use Fig.16 The structure shown includes a processor and a memory. The processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster executes the above method embodiment.

[0195] The present application also provides an application upgrade system. Figure 1 As shown, it can include a terminal device, a cloud server and a computing device for making an account of the target application. The cloud server is connected to the terminal device and the computing device in communication. The cloud server can be used Fig.15 The structure shown in FIG. 1 includes a processor and a memory. The structure of the computing device can be as follows: Fig.16 As shown, no further details are given here.

[0196] The method steps in the embodiments of the present application may be implemented by hardware, or by a processor executing a computer program or instruction. The computer program or instruction may constitute a computer program product.

[0197] The present application also provides a computer program product, which includes computer executable instructions. In one embodiment, the computer executable instructions are used to enable a computer to execute Fig.12 or Fig.13 Functionality in the method embodiment shown.

[0198] The computer executable instructions may be stored in a computer readable storage medium. The present application also provides a computer readable storage medium, wherein the computer readable storage medium stores the executable instructions. In one embodiment, the computer executable instructions are used to enable the computer to execute Fig.12 or Fig.13 Functionality in the method embodiment shown.

[0199] The computer-readable storage medium provided in the embodiments of the present application may be a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a CD-ROM, or any other form of computer-readable storage medium known in the art.

[0200] Computer executable instructions may be stored in a computer readable storage medium, or transmitted from one computer readable storage medium to another computer readable storage medium. For example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or an application upgrade device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disc (DVD); it may also be a semiconductor medium, such as a solid state drive.

[0201] In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, including a series of steps or units. Methods, systems, products or devices are not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0202] Although the present application has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, the present specification and the accompanying drawings are merely exemplary illustrations of the schemes defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application.

[0203] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An application upgrade method, characterized in that: Applied to a cloud server, the method includes: Based on the old version installation package and the new version installation package of the target application, an initial upgrade package of the target application is generated; the initial upgrade package includes change information of at least one change node; the change information of the change node is generated based on the difference between the old version installation package and the new version installation package of the target application; Sending the initial upgrade package of the target application to the terminal device of the production account of the target application, and displaying the initial upgrade package of the target application through the terminal device; Receiving an orchestration operation instruction for the initial upgrade package sent by the terminal device, and modifying the initial upgrade package based on the orchestration operation instruction to obtain a release upgrade package for the target application; the orchestration operation instruction is generated by the terminal device based on the orchestration operation input by the production account; When an application upgrade request for the target application is received, the release upgrade package of the target application is sent to a target computing device based on the application upgrade request; the target computing device is a computing device on which an old version of the target application is installed, and the target computing device upgrades the old version of the target application to a new version based on the release upgrade package of the target application.

2. The method according to claim 1, characterized in that The generating the initial upgrade package of the target application based on the old version installation package and the new version installation package of the target application comprises: Compare the resource components included in the old version installation package with the resource components included in the new version installation package to determine the differences between the old version installation package and the new version installation package; Based on the difference points, the change information of the at least one change node and the initial upgrade package of the target application are generated; the change node includes one or more of the following: adding a new resource component node, deleting a resource component node, and modifying a resource component node.

3. The method according to claim 1 or 2, characterized in that: The modifying the initial upgrade package based on the orchestration operation instruction includes: If the arrangement operation instruction is a sorting instruction, setting the execution order of each change node in the initial upgrade package based on the execution order indicated by the sorting instruction; If the arrangement operation instruction is an adjustment sequence instruction, adjusting the execution order of the changed nodes in the initial upgrade package based on the adjustment sequence instruction; If the orchestration operation instruction is an add node instruction, then a changed node is added to the initial upgrade package based on the change information of the changed node carried by the add node instruction; the changed node carried by the add node instruction includes a data upgrade execution node; the data upgrade execution node is used to upgrade the data in the target application; If the arrangement operation instruction is a node deletion instruction, then deleting the change information of the changed node indicated by the node deletion instruction in the initial upgrade package; If the orchestration operation instruction is a node modification instruction, then the change information of the changed node indicated by the node modification instruction is modified in the initial upgrade package.

4. The method according to any one of claims 1 to 3, characterized in that After obtaining the release upgrade package of the target application, the method further includes: sending a notification message to an account using the old version of the target application; the notification message carries a notification that a new version of the target application exists; When receiving an application upgrade request for the target application, sending the release upgrade package of the target application to the target computing device based on the application upgrade request includes: Receiving an application upgrade request for the target application sent by a control device corresponding to a target account; the target account is any one of the accounts using the old version of the target application; the target account is associated with multiple computing devices on which the old version of the target application is installed; the control device is used to control application upgrades of the multiple computing devices associated with the target account; Acquire a target computing device of the target application to be upgraded indicated by the application upgrade request; the target computing device includes part or all of the multiple computing devices associated with the target account; The release upgrade package of the target application is sent to the target computing device.

5. The method according to any one of claims 1 to 3, characterized in that: After obtaining the release upgrade package of the target application, the method further includes: sending a notification message to a computing device having an old version of the target application installed; the notification message carries a notification that a new version of the target application exists; When receiving an application upgrade request for the target application, sending the release upgrade package of the target application to the target computing device based on the application upgrade request includes: Receiving an application upgrade request for the target application sent by a target computing device; the target computing device is any one of the computing devices having an old version of the target application installed; Based on the application upgrade request, a release upgrade package of the target application is sent to the target computing device.

6. An application upgrade method, characterized in that: Applied to a computing device having an old version of a target application installed therein, the method comprises: receiving a release upgrade package of the target application sent by a cloud server; the release upgrade package of the target application is obtained by the cloud server modifying the initial upgrade package based on an orchestration operation instruction sent by a terminal device of a production account of the target application after the initial upgrade package of the target application is generated by the cloud server based on an old version installation package and a new version installation package of the target application; Based on the release upgrade package of the target application, the old version of the target application is upgraded to the new version.

7. The method according to claim 6, characterized in that The step of upgrading the old version of the target application to the new version based on the release upgrade package of the target application includes: According to the execution order of each change node contained in the release upgrade package of the target application, the change information of each change node is executed, the old version of the target application is upgraded, and the execution status information of each change node is displayed; the execution status information of any change node is: execution successful, execution failed, executing or waiting for execution.

8. The method according to claim 7, characterized in that The method further comprises: In the process of upgrading the old version of the target application to the new version, if a rollback instruction for a first change node is received, the change information of the first change node is obtained from the release upgrade package of the target application, and the change information of the first change node is reversely executed; the first change node is any change node in the release upgrade package of the target application; In the process of upgrading the old version of the target application to the new version, if a retry instruction for a second change node is received, the change information of the second change node is obtained from the release upgrade package of the target application, and the change information of the second change node is re-executed; the second change node is any change node whose execution status information is execution failure; In the process of upgrading the old version of the target application to the new version, if a skip instruction for the third change node is received, the change information of the third change node contained in the release upgrade package of the target application is ignored; the third change node is any change node in the release upgrade package of the target application.

9. The method according to any one of claims 6 to 8, characterized in that: After the old version of the target application is upgraded to the new version based on the release upgrade package of the target application, the method further includes: If an upgrade rollback instruction for the target application is received, the change information of each change node contained in the release upgrade package of the target application is reversed in the reverse order of the execution order of each change node contained in the release upgrade package of the target application, and rolls back to the old version of the target application.

10. The method according to any one of claims 6 to 9, characterized in that: The receiving the release upgrade package of the target application sent by the cloud server includes: Receiving the release upgrade package sent by the cloud server based on an application upgrade request of a control device corresponding to a target account associated with the computing device; the target account is associated with multiple computing devices with an old version of the target application installed; the control device is used to control application upgrades of multiple computing devices associated with the target account; or, Receive the release upgrade package sent by the cloud server based on the application upgrade request of the computing device; the application upgrade request of the computing device is sent by the computing device to the cloud server when the computing device receives an upgrade operation for the target application after displaying the notification information sent by the cloud server; the notification message carries a notification that a new version of the target application exists.

11. An application upgrade device, characterized in that: Applied to a cloud server, the device comprises: An upgrade package generation module, configured to generate an initial upgrade package of the target application based on an old version installation package and a new version installation package of the target application; the initial upgrade package includes change information of at least one change node; the change information of the change node is generated based on the difference between the old version installation package and the new version installation package of the target application; An upgrade package editing module, used to send the initial upgrade package of the target application to the terminal device of the production account of the target application, and display the initial upgrade package of the target application through the terminal device; receive the orchestration operation instruction for the initial upgrade package sent by the terminal device, and modify the initial upgrade package based on the orchestration operation instruction to obtain the release upgrade package of the target application; the orchestration operation instruction is generated by the terminal device based on the orchestration operation input by the production account; An upgrade package sending module is used to send the release upgrade package of the target application to a target computing device based on the application upgrade request when an application upgrade request for the target application is received; the target computing device is a computing device on which an old version of the target application is installed, and the target computing device upgrades the old version of the target application to a new version based on the release upgrade package of the target application.

12. The application upgrade device according to claim 11, characterized in that: The upgrade package generation module is specifically used for: Compare the resource components included in the old version installation package with the resource components included in the new version installation package to determine the differences between the old version installation package and the new version installation package; Based on the difference points, change information of at least one change node and an initial upgrade package of the target application are generated; the initial upgrade package of the target application includes the change information of the at least one change node; the change nodes include one or more of the following: adding a new resource component node, deleting a resource component node, and modifying a resource component node.

13. The application upgrade device according to claim 11 or 12, characterized in that: The upgrade package sending module is specifically used for: After obtaining the release upgrade package of the target application, sending a notification message to the user account of the old version of the target application; the notification message carries a notification that a new version of the target application exists; Receiving an application upgrade request for the target application sent by a control device corresponding to the target account; The target account is any one of the accounts using the old version of the target application; The target account is associated with a plurality of computing devices having an old version of the target application installed thereon; The control device is used to control application upgrades of multiple computing devices associated with the target account; Acquire a target computing device of a target application to be upgraded indicated by the application upgrade request; The target computing device includes some or all of the plurality of computing devices associated with the target account; The release upgrade package of the target application is sent to the target computing device.

14. The application upgrade device according to claim 11 or 12, characterized in that: The upgrade package sending module is specifically used for: After obtaining the release upgrade package of the target application, sending a notification message to a computing device having an old version of the target application installed; the notification message carries a notification that a new version of the target application exists; receiving an application upgrade request for the target application sent by a target computing device; The target computing device is any one of the computing devices having an old version of the target application installed; Based on the application upgrade request, a release upgrade package of the target application is sent to the target computing device.

15. An application upgrade device, characterized in that: Applied to a computing device, in which an old version of a target application is installed, the apparatus comprises: an upgrade package receiving module, configured to receive a release upgrade package of the target application sent by a cloud server; the release upgrade package of the target application is obtained by the cloud server modifying the initial upgrade package based on an orchestration operation instruction sent by a terminal device of a production account of the target application after the initial upgrade package of the target application is generated by the cloud server based on an old version installation package and a new version installation package of the target application; The application upgrade module is used to upgrade the old version of the target application to the new version based on the release upgrade package of the target application.

16. The application upgrade device according to claim 15, characterized in that: The application upgrade module is specifically used for: Execute the change information of each change node according to the execution order of each change node included in the release upgrade package of the target application, upgrade the old version of the target application, and display the execution status information of each change node; The execution status information of any change node is: execution successful, execution failed, executing, or waiting for execution.

17. The application upgrade device according to claim 16, characterized in that: The application upgrade module is also used for: In the process of upgrading the old version of the target application to the new version, if a rollback instruction for a first change node is received, obtaining change information of the first change node from the release upgrade package of the target application, and reversely executing the change information of the first change node; The first change node is any change node in the release upgrade package of the target application; In the process of upgrading the old version of the target application to the new version, if a retry instruction for the second change node is received, obtaining the change information of the second change node from the release upgrade package of the target application, and re-executing the change information of the second change node; The second change node is any change node whose execution status information is execution failure; In the process of upgrading the old version of the target application to the new version, if a skip instruction for the third change node is received, the change information of the third change node included in the release upgrade package of the target application is ignored; The third change node is any change node in the release upgrade package of the target application.

18. The application upgrade device according to any one of claims 15 to 17, characterized in that: The upgrade package receiving module is specifically used for: Receiving the release upgrade package sent by the cloud server based on an application upgrade request of a control device corresponding to a target account associated with the computing device; the target account is associated with a plurality of computing devices having an old version of the target application installed thereon; The control device is used to control application upgrades of multiple computing devices associated with the target account; or, Receive the release upgrade package sent by the cloud server based on the application upgrade request of the computing device; the application upgrade request of the computing device is sent by the computing device to the cloud server when the computing device receives an upgrade operation for the target application after displaying the notification information sent by the cloud server; the notification message carries a notification that a new version of the target application exists.

19. A cloud server, characterized in that: including memory and processor; The memory stores a computer program; The processor is used to call the computer program stored in the memory to execute the method according to any one of claims 1 to 5.

20. A server cluster, characterized in that: comprising at least one server, each server comprising a processor and a memory; The processor of the at least one server is used to execute instructions stored in the memory of the at least one server, so that the server cluster executes the method according to any one of claims 1 to 5.

21. A computing device, characterized in that including memory and processor; The memory stores a computer program; The processor is used to call the computer program stored in the memory to execute the method according to any one of claims 6 to 10.

22. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 6 to 10.

23. An application upgrade system, characterized in that: It includes a terminal device for making an account for a target application, a cloud server as described in claim 19, and a computing device as described in claim 21; the cloud server is communicatively connected with the terminal device and the computing device.

24. A computer program product comprising instructions, characterized in that When the instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 5, or the method according to any one of claims 6 to 10.

25. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a processor, the processor executes the method according to any one of claims 1 to 5, or the method according to any one of claims 6 to 10.