Application program deployment method and system, computer equipment, readable storage medium and program product

By creating and uploading application packages and dependency packages, combined with application deployment instructions of virtual machines, flexible deployment of various versions of applications is achieved, solving the problem that traditional deployment tools cannot support dependent component deployment, and satisfying the virtual machine environment the migration requirements for existing applications.

CN119396532APending Publication Date: 2025-02-07CHINA TELECOM CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411681133.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

Traditional application software deployment tools cannot support the deployment of application package runtime dependencies, especially in virtual machine environments, which cannot meet users' needs for migration of existing applications.

Method used

Provides an application deployment method, including creating and uploading application packages and dependency packages, responding to application deployment instructions for virtual machines, downloading specified versions of packages, and deploying applications based on these packages. The method includes decompressing the dependent package, executing control scripts, laying out dependent components and environment variables, and finally deploying the application package.

Benefits of technology

It realizes flexible deployment of various versions of applications, meets users' needs for migration of existing applications in the virtual machine environment, and improves the adaptability and efficiency of application deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396532A_ABST
    Figure CN119396532A_ABST
Patent Text Reader

Abstract

The invention relates to an application program deployment method and system, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps that in response to an application program deployment request, under the condition that a dependency version and an application program package version during application program operation need to be created, a dependency package and an application program package during application program operation are created, and the application program package and the dependency package are uploaded for storage; in response to an application deployment instruction for the virtual machine, determining a dependency version and an application package version which are appointed to be switched by the application deployment instruction, and downloading an application package corresponding to the application package version which is appointed to be switched and a dependency package corresponding to the dependency version which is appointed to be switched; and deploying the application program based on the downloaded dependency package and the application program package. By adopting the method, the dependency version and the application package required by application deployment can be self-defined, and the application deployment requirements under various conditions can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of virtual machine application deployment management, and in particular to an application deployment program method, system, computer device, computer-readable storage medium and computer program product. Background Art

[0002] To apply cloud scenarios in enterprises, it is necessary to provide customers with the ability to migrate and deploy existing applications to the cloud. Some customers use an older technology stack. In this case, based on their own circumstances, customers do not consider containerization for the time being and hope to continue to deploy the original technology stack on virtual machines.

[0003] However, traditional application software deployment tools usually only support the deployment of the application package itself, and do not support the deployment of runtime dependent components of the application package, nor do they support flexible management of runtime dependent package versions. They cannot meet users' requirements for migrating various existing applications to virtual machines. Summary of the invention

[0004] Based on this, it is necessary to provide an application deployment method, system, computer device, computer-readable storage medium and computer program product that can support various versions of application programs in response to the above technical problems.

[0005] In a first aspect, the present application provides an application deployment method, comprising:

[0006] In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage;

[0007] In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version;

[0008] Based on the downloaded dependency packages and application packages, the application is deployed.

[0009] In one of the embodiments, the dependency package at least includes a control directory and a resource directory, the control directory stores a control script, and the resource directory stores software package management files under different operating systems.

[0010] In one embodiment, deploying the application based on the downloaded dependency package and application package includes:

[0011] Decompress the dependency package and execute the control script in the dependency package;

[0012] Arranging dependent components and environment variables through the control script based on the dependent versions;

[0013] In the arranged environment, the application corresponding to the application package is deployed through the control script.

[0014] In one of the embodiments, the control script includes a script for installing dependent components and a script for deploying an application package.

[0015] In one of the embodiments, the control script also includes a script for starting an application, a script for checking the health of an application, and a script for stopping the operation of an application.

[0016] In one of the embodiments, the script for checking the health of the application is used to check the service status, log files and operating performance of the application.

[0017] In a second aspect, the present application also provides an application deployment system, including:

[0018] An application package management module, used to create an application package when running an application, and upload the application package for storage;

[0019] A dependency version management module, used to determine the dependency version when running the application and create a dependency package when running the application, and upload the application package and the dependency package for storage;

[0020] A deployment module, configured to respond to an application deployment instruction for a virtual machine, determine a dependency version and an application package version to be switched as specified by the application deployment instruction, download an application package corresponding to the application package version to be switched and a dependency package corresponding to the dependency version to be switched; and deploy the application based on the downloaded dependency package and application package;

[0021] The object storage module is used to store the application package and the dependent package.

[0022] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0023] In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage;

[0024] In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version;

[0025] Based on the downloaded dependency packages and application packages, the application is deployed.

[0026] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0027] In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage;

[0028] In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version;

[0029] Based on the downloaded dependency packages and application packages, the application is deployed.

[0030] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0031] In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage;

[0032] In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version;

[0033] Based on the downloaded dependency packages and application packages, the application is deployed.

[0034] The above-mentioned application deployment method, system, computer device, computer-readable storage medium and computer program product firstly respond to an application deployment request, and when it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, upload the application package and the dependent package for storage; respond to an application deployment instruction for a virtual machine, determine the dependent version and application package version to be switched specified by the application deployment instruction, download the application package corresponding to the specified switched application package version and the dependent package corresponding to the specified switched dependent version; deploy the application based on the downloaded dependent package and application package. In this way, by customizing the dependent version and application package required for application deployment, the application deployment requirements under various conditions can be met. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0036] FIG1 is an application environment diagram of an application deployment method in one embodiment;

[0037] FIG2 is a schematic diagram of a flow chart of an application deployment method in another embodiment;

[0038] FIG3 is a block diagram of a dependent version when running an application in one embodiment;

[0039] FIG4 is a block diagram of an application deployment system in one embodiment;

[0040] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] The application deployment method provided in the embodiment of the present application can be applied in an enterprise cloud scenario where the required application needs to be deployed on a corresponding virtual machine.

[0043] In some embodiments, the application deployment system and the virtual machine may be located on the same terminal or on different terminals, which is not limited in the embodiments of the present application.

[0044] In one embodiment, as shown in FIG1 , a method for deploying an application is provided. This embodiment uses the method applied to a terminal as an example for illustration. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0045] Step 102, in response to the application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage.

[0046] Among them, the dependent version refers to the version information of the external library, module or service that the project or application depends on during the software development process; the application package is a file format used to distribute and install mobile applications and middleware; the dependent package is the external resource required for the application to run.

[0047] In some embodiments, the terminal responds to the deployment request of the application. When it is necessary to create a dependent version and an application package version when running the application based on the virtual machine on which the application is deployed, it creates a dependent package and an application package when the application is running, and uploads the application package and the dependent package to the object storage module for storage.

[0048] Step 104, in response to the application deployment instruction for the virtual machine, determine the dependent version and application package version specified by the application deployment instruction, and download the application package corresponding to the specified switched application package version and the dependent package corresponding to the specified switched dependent version.

[0049] Specifically, when the terminal receives an application deployment instruction for the virtual machine, it will respond to the application deployment instruction, determine to download the application package corresponding to the specified switched application package version and the dependency package of the specified switched dependency version, and download the corresponding application package and dependency package from the object storage module.

[0050] Among them, a virtual machine is a computer system with complete hardware system functions simulated by software.

[0051] Step 106: deploy the application based on the downloaded dependency package and application package.

[0052] In some embodiments, the terminal deploys the application in a corresponding environment based on the downloaded dependency packages and application packages.

[0053] In the above application deployment method, in response to an application deployment request, when it is necessary to create a dependent version and an application package version when running the application, a dependent package and an application package are created when running the application, and the application package and the dependent package are uploaded for storage; in response to an application deployment instruction for a virtual machine, the dependent version and the application package version specified by the application deployment instruction are determined, and the application package corresponding to the specified switched application package version and the dependent package corresponding to the specified switched dependent version are downloaded; based on the downloaded dependent package and application package, the application is deployed. In this way, by customizing the dependent version and application package required for application deployment, application deployment requirements under various conditions can be met.

[0054] In an exemplary embodiment, the dependency package at least includes a control directory and a resource directory, the control directory stores control scripts, and the resource directory stores software package management files under different operating systems.

[0055] In actual implementation, the dependency package at least includes a control directory controller and a resource directory resource. The control directory stores control scripts, and the resource directory stores software package management files of different operating systems.

[0056] Among them, the software package management file of the operating system can ensure that the system only installs the verified and safe application version of this version of the operating system.

[0057] In the above embodiment, by storing some files required by the application in the dependency package, the safety and smoothness of the application installation process are ensured.

[0058] In some exemplary embodiments, an application is deployed based on downloaded dependency packages and application packages, including: decompressing the dependency package and executing a control script in the dependency package; arranging dependency components and environment variables through the control script based on the dependency version; and deploying the application corresponding to the application package through the control script in the arranged environment.

[0059] In actual implementation, after downloading the dependency package and application package required to deploy the application, the terminal decompresses the dependency package and the application package, executes the control script contained in the decompressed dependency package, and arranges the components and the environment variables required to deploy the application according to the content in the dependency version; after the deployment is completed, the application corresponding to the application package is deployed through the control script.

[0060] The dependency version includes the framework type and version, environment variables, dependency packages, and operating system version required to deploy the application.

[0061] In the above embodiment, the dependency package and the application package are automatically decompressed, and a series of operations are executed through a control script, thereby reducing manual participation and the possibility of errors in the manual processing process.

[0062] In some exemplary embodiments, the control script includes a script for installing dependent components and a script for deploying an application package.

[0063] In actual implementation, the control script includes dependency_init and app_deploy. Dependency_init is responsible for installing the dependent components required in the process of terminal deployment of application programs, and app_deploy is responsible for deploying the application program according to the downloaded and decompressed application package.

[0064] In the above embodiment, dependent components and application packages are deployed by controlling scripts, thereby speeding up the application deployment.

[0065] In some exemplary embodiments, the control script further includes a script for starting an application, a script for checking the health of the application, and a script for stopping the running of the application.

[0066] In actual implementation, the control script also includes app_startup, app_health check and app_shutdown. app_startup is responsible for starting the program when receiving an instruction to start the application. app_health check is responsible for checking the health of the application while the application is running. app_shutdown is used to stop the application when receiving an instruction to stop the application.

[0067] In the above embodiment, the start, stop and health check of the application are controlled by the control script, which reduces the manpower cost.

[0068] In some exemplary embodiments, the script for checking the health of an application is used to check the service status, log files, and running performance of the application.

[0069] In actual implementation, the terminal will check the service status, log files and running performance of the application through the control script app_health check. The service status refers to whether the application is running normally; the log files are the logs generated during the running of the application; and the running performance refers to the response time and throughput of the application.

[0070] In the above embodiment, by controlling the script to check the health of the application in real time, errors occurring in the application can be discovered in time and further processed.

[0071] To explain the application deployment method in the present application in detail, an embodiment is used for explanation below. The specific flow chart is shown in FIG2 . By way of example, the present application is described with an application deployment method in a specific virtual machine scenario.

[0072] First, the terminal responds to the application deployment request. When it is necessary to create the dependency version and application package version when running the application according to the virtual machine where the application is deployed, the dependency package and application package are created when the application is running, and the application package and dependency package are uploaded to the object storage module for storage. The dependency version when running the application is specifically shown in Figure 3.

[0073] The dependency package contains at least a control directory controller and a resource directory resource. The control directory stores control scripts, and the resource directory stores software package management files for different operating systems.

[0074] The control scripts include dependency_init and app_deploy. Dependency_init is responsible for installing the dependent components required in the process of terminal application deployment, and app_deploy is responsible for deploying the application according to the downloaded and unzipped application package.

[0075] The control script also includes app_startup, app_health check, and app_shut down. app_startup is responsible for starting the program when receiving an instruction to start the application. app_health check is responsible for checking the health of the application while the application is running. app_shut down is used to stop the application when receiving an instruction to stop the application.

[0076] The control script app_health check is used to check the service status, log files, and operating performance of the application. The service status refers to whether the application is running normally; the log files refer to the logs generated during the operation of the application; and the operating performance refers to the response time and throughput of the application.

[0077] When receiving an application deployment instruction for a virtual machine, it will respond to the application deployment instruction, determine to download the application package corresponding to the specified switched application package version and the dependency package of the specified switched dependency version, and download the corresponding application package and dependency package from the object storage module.

[0078] After downloading the dependency packages and application packages required for deploying the application, the terminal decompresses the dependency packages and application packages, executes the control script contained in the decompressed dependency packages, and arranges the components and environment variables required for deploying the application according to the content in the dependency version; after the deployment is completed, the application corresponding to the application package is deployed through the control script. According to the downloaded dependency packages and application packages, the application is deployed in the corresponding environment.

[0079] The present application creates corresponding dependent versions and application packages according to the specific circumstances of the specific deployment of the application, thereby making the application deployment method of the present application highly adaptable.

[0080] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0081] Based on the same inventive concept, the embodiment of the present application also provides an application deployment system for implementing the above-mentioned application deployment method. The implementation solution provided by the system to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more application deployment system embodiments provided below can refer to the limitations on the application deployment method above, and will not be repeated here.

[0082] In an exemplary embodiment, as shown in FIG4 , an application deployment system is provided, including: an application package management module, a dependency version management module, a deployment module and an object storage module, wherein:

[0083] An application package management module, used to create an application package when running an application, and upload the application package for storage;

[0084] A dependency version management module, used to determine the dependency version when running the application and create a dependency package when running the application, and upload the application package and the dependency package for storage;

[0085] A deployment module, configured to respond to an application deployment instruction for a virtual machine, determine a dependency version and an application package version to be switched as specified by the application deployment instruction, download an application package corresponding to the application package version to be switched and a dependency package corresponding to the dependency version to be switched; and deploy the application based on the downloaded dependency package and application package;

[0086] The object storage module is used to store the application package and the dependent package.

[0087] In some embodiments, the above-mentioned dependency version management module also includes a dependency package, which at least includes a control directory and a resource directory. The control directory stores control scripts, and the resource directory stores software package management files under different operating systems.

[0088] In some embodiments, the deployment module is further used to deploy the application based on the downloaded dependency package and application package, including:

[0089] Unzip the dependency package and execute the control script in the dependency package;

[0090] Based on the dependency versions, the dependent components and environment variables are arranged through the control script;

[0091] In the deployed environment, the corresponding application of the application package is deployed through the control script.

[0092] In some embodiments, in the above deployment module, the control script includes a script for installing dependent components and a script for deploying an application package.

[0093] In some embodiments, in the above deployment module, the control script also includes a script for starting an application, a script for checking the health of an application, and a script for stopping the operation of an application.

[0094] In some embodiments, in the above deployment module, the script for checking the health of the application is used to check the service status, log files and operating performance of the application.

[0095] Each module in the above application deployment system can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0096] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, an application deployment method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0097] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0098] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0099] In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage;

[0100] In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version;

[0101] Based on the downloaded dependency packages and application packages, the application is deployed.

[0102] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0103] In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage;

[0104] In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version;

[0105] Based on the downloaded dependency packages and application packages, the application is deployed.

[0106] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0107] In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage;

[0108] In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version;

[0109] Based on the downloaded dependency packages and application packages, the application is deployed.

[0110] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0111] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0113] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for deploying an application program, characterized in that: The method comprises: In response to an application deployment request, if it is necessary to create a dependent version and an application package version when running the application, create a dependent package and an application package when running the application, and upload the application package and the dependent package for storage; In response to an application deployment instruction for a virtual machine, determining a dependent version and an application package version to be switched specified by the application deployment instruction, and downloading an application package corresponding to the specified switched application package version and a dependent package corresponding to the specified switched dependent version; Based on the downloaded dependency packages and application packages, the application is deployed.

2. The method according to claim 1, characterized in that The dependency package at least includes a control directory and a resource directory. The control directory stores a control script, and the resource directory stores software package management files under different operating systems.

3. The method according to claim 1, characterized in that The step of deploying the application based on the downloaded dependency package and application package includes: Decompress the dependency package and execute the control script in the dependency package; Arranging dependent components and environment variables through the control script based on the dependent versions; In the arranged environment, the application corresponding to the application package is deployed through the control script.

4. The method according to claim 2 or 3, characterized in that: The control script includes a script for installing dependent components and a script for deploying an application package.

5. The method according to claim 4, characterized in that The control script also includes a script for starting an application, a script for checking the health of an application, and a script for stopping the running of an application.

6. The method according to claim 5, characterized in that The script for checking the health of the application is used to check the service status, log files and running performance of the application.

7. An application deployment system, characterized in that: The system comprises: An application package management module, used to create an application package when running an application, and upload the application package for storage; A dependency version management module, used to determine the dependency version when running the application and create a dependency package when running the application, and upload the application package and the dependency package for storage; A deployment module, configured to respond to an application deployment instruction for a virtual machine, determine a dependency version and an application package version to be switched as specified by the application deployment instruction, download an application package corresponding to the application package version to be switched and a dependency package corresponding to the dependency version to be switched; and deploy the application based on the downloaded dependency package and application package; The object storage module is used to store the application package and the dependent package.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.