Application software deployment method and device, server and readable storage medium

By determining the target image configuration file and target chip architecture in the resource information database, the adaptive deployment of application software is achieved, the problem of low deployment efficiency of application software in traditional technologies is solved, and the deployment efficiency is improved.

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

Patent Information

Application Number
CN202411706027.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the prior art, application software deployment is less efficient, especially in cross-platform deployments between different central processing unit (CPU) architectures, where instruction sets need to be rewritten or recompiled.

Method used

By receiving application software deployment requests, determine whether there is a target image configuration file in the resource information library, determine the target chip architecture based on the deployment information, and call the target image configuration file to deploy the application software under the target chip architecture.

Benefits of technology

It realizes adaptive deployment of application software, avoids instruction set rewriting or recompilation, and significantly improves the deployment efficiency of application software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576353A_ABST
    Figure CN119576353A_ABST
Patent Text Reader

Abstract

The invention relates to an application software deployment method and device, a server and a readable storage medium. The method comprises the following steps: receiving an application software deployment request; the application software deployment request comprises deployment information of application software to be deployed; when it is determined that a target mirror image configuration file corresponding to the application software exists in a resource information base, determining a target chip architecture corresponding to the application software deployment request according to the deployment information; and calling the target mirror image configuration file to deploy the application software under the target chip architecture. By adopting the method, the application software deployment efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud platform technology, and in particular to an application software deployment method, device, server and readable storage medium. Background Art

[0002] With the development of cloud computing technology, a "one cloud, multiple chips" cloud platform has emerged. The "one cloud, multiple chips" cloud platform refers to using a set of cloud platforms to manage computing resources of different chip architectures to achieve unified management and scheduling of heterogeneous resources. However, due to the different instruction sets of different central processing unit (CPU) architectures, for application software, application software developed in compiled languages ​​cannot run across CPU architectures and needs to be rewritten or recompiled.

[0003] In conventional technology, when application software is deployed on a chip architecture, the instruction set of the application software is usually rewritten or recompiled so that the instruction set of the application software can adapt to the deployed chip architecture. However, conventional technology has the problem of low efficiency in application software deployment. Summary of the invention

[0004] Based on this, it is necessary to provide an application software deployment method, device, server and readable storage medium that can improve the efficiency of application software deployment in response to the above technical problems.

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

[0006] Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0007] In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information;

[0008] The target image configuration file is called to deploy the application software under the target chip architecture.

[0009] In one embodiment, determining the target chip architecture corresponding to the application software deployment request according to the deployment information includes:

[0010] If the deployment information includes designated chip architecture information, determining the chip architecture corresponding to the designated chip architecture information in the resource information library as the target chip architecture;

[0011] If the deployment information does not include the designated chip architecture information, the target chip architecture is determined from the resource information library according to the deployment information.

[0012] In one embodiment, determining the target chip architecture from the resource information library according to the deployment information includes:

[0013] Determining at least one candidate chip architecture from the resource information library according to the deployment information;

[0014] Obtaining a comprehensive quantized value of each of the candidate chip architectures;

[0015] The candidate chip architecture with the largest comprehensive quantization value is determined as the target chip architecture.

[0016] In one embodiment, obtaining the comprehensive quantization value of each candidate chip architecture includes:

[0017] For each candidate chip architecture, determining a target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture;

[0018] The comprehensive quantized value of each of the candidate chip architectures is determined according to a first running time of each of the target cloud hosts running the application software and a first resource value per unit time.

[0019] In one embodiment, determining the comprehensive quantitative value of each of the candidate chip architectures according to the first running time of each of the target cloud hosts running the application software and the first resource value per unit time includes:

[0020] Determine a performance quantization value of each of the candidate chip architectures according to a second running time of each of the candidate chip architectures running the application software and each of the first running time;

[0021] Determine a resource quantization value of each of the candidate chip architectures according to a second resource value and each of the first resource values ​​during a unit time of running the application software on each of the candidate chip architectures;

[0022] The comprehensive quantization value of each candidate chip is determined according to the performance quantization value and the resource quantization value of each candidate chip.

[0023] In one embodiment, the method further comprises:

[0024] Based on the chip architecture file and application software information file of the cloud platform, determine whether the cloud platform has a resource information library for deploying the application software; the application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform and the image configuration files of the various types of application software.

[0025] In a second aspect, the present application also provides an application software deployment device, including:

[0026] A receiving module, configured to receive an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0027] A first determination module is used to determine the target chip architecture corresponding to the application software deployment request according to the deployment information when it is determined that there is a target image configuration file corresponding to the application software in the resource information library;

[0028] A deployment module is used to call the target image configuration file to deploy the application software under the target chip architecture.

[0029] In a third aspect, the present application further provides a server, 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:

[0030] Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0031] In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information;

[0032] The target image configuration file is called to deploy the application software under the target chip architecture.

[0033] 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:

[0034] Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0035] In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information;

[0036] The target image configuration file is called to deploy the application software under the target chip architecture.

[0037] 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:

[0038] Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0039] In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information;

[0040] The target image configuration file is called to deploy the application software under the target chip architecture.

[0041] The above-mentioned application software deployment method, device, server and readable storage medium, when receiving an application software deployment request, first determine whether there is a target image configuration file corresponding to the application software in the resource information library. When it is determined that there is a target image configuration file corresponding to the application software in the resource information library, the target chip architecture corresponding to the application software deployment request is determined from the resource information library according to the deployment information of the application software to be deployed included in the application software deployment request, thereby calling the target image configuration file to deploy the application software under the target chip architecture. Since the target chip architecture corresponds to the application software deployment request and the application software is deployed when it is determined that there is a target image configuration file corresponding to the application software, there is no need to modify or compile the application software after it is deployed under the target chip architecture, thereby ensuring adaptive deployment of the application software, so that the deployment efficiency of the application software can be greatly improved through this deployment method. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] 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.

[0043] Figure 1 An application environment diagram of an application software deployment method in an embodiment;

[0044] Figure 2 A schematic diagram of a flow chart of an application software deployment method in one embodiment;

[0045] Figure 3 A schematic diagram of a flow chart of an application software deployment method in another embodiment;

[0046] Figure 4 A schematic diagram of a flow chart of an application software deployment method in another embodiment;

[0047] Figure 5 A schematic diagram of a flow chart of an application software deployment method in another embodiment;

[0048] Figure 6An architectural diagram of an application software deployment method in one embodiment;

[0049] Figure 7 It is a structural block diagram of an application software deployment device in one embodiment;

[0050] Figure 8 It is a structural block diagram of an application software deployment device in another embodiment;

[0051] Fig. 9 It is a structural block diagram of an application software deployment device in another embodiment;

[0052] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0053] 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.

[0054] The application software deployment method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the server 102 communicates with other servers 104 through the network. The data storage system can store the data that the server needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the server 104 is a server with different chip architectures. The server 102 can manage the computing resources of the server 104 with different chip architectures, realize the unified management and scheduling of heterogeneous resources, and shield the differences in the underlying chip architecture of the server through the server 102, so as to provide users with a consistent experience of cloud computing service capabilities.

[0055] In an exemplary embodiment, Figure 2 As shown, a method for deploying application software is provided, which is applied to Figure 1 The server 102 in FIG. 1 is used as an example for explanation, including:

[0056] S201, receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed.

[0057] Among them, the application software deployment request is a request for deploying the application software to be deployed in the "One Cloud Multi-Core" cloud platform. It can be understood that the "One Cloud Multi-Core" cloud platform includes servers with multiple different chip architectures, and the central processing unit (CPU) instruction sets of different chip architectures are different. Optionally, the application software deployment request in this embodiment can be a request to deploy the application software to be deployed on a server of any chip architecture of the "One Cloud Multi-Core" cloud platform.

[0058] Optionally, the deployment information of the application software to be deployed may include the software name of the application software, the deployed chip architecture, the compilation language, opt parameters and other information, and further, may also include performance quantification information, resource value quantification information and the like of the application software.

[0059] S202: When it is determined that a target image configuration file corresponding to the application software exists in the resource information library, a target chip architecture corresponding to the application software deployment request is determined according to the deployment information.

[0060] It is understandable that the CPU instruction sets of different chip architectures are different, which means that application software developed using compiled languages ​​cannot run directly across chip architectures and generally requires adaptation, modification and recompilation; even for application software developed using parsed languages, the system libraries and third-party software it calls generally require adaptation, modification and recompilation. Therefore, in this embodiment, as an optional implementation method, before various application software are deployed, the adaptation of each application software on different chip servers can be completed in advance, and the installable versions of each application software on different chip cloud resources can be prepared, and made into image configuration files and uploaded to the cloud platform software image library.

[0061] Optionally, the resource information library in this embodiment may include an image configuration file of the application software and a chip architecture corresponding to the application software. In this embodiment, when an application software deployment request is received, it can be determined in the resource library whether there is a target image configuration file corresponding to the application software based on the deployment information of the application software. For example, it can be determined whether there is a target image configuration file corresponding to the software name in the resource information library based on the software name of the application software in the deployment information. Optionally, if it is determined that there is no target image configuration file corresponding to the application software deployment request in the resource information library, a prompt message can be generated, which indicates that the cloud platform does not support the deployment of the application software.

[0062] Further, as an optional implementation, in this embodiment, it is also possible to determine whether there is a target chip architecture corresponding to the application software deployment request in the resource information library according to the deployment information. For example, it is possible to determine whether there is a target chip structure corresponding to the application software deployment request in the resource information library according to the software name of the application software. It is understandable that if it is determined that there is no target chip structure corresponding to the application software deployment request in the resource information library, the server may also generate a prompt message, indicating that the cloud platform does not support the deployment of the application software through the generated prompt message.

[0063] S203, calling the target image configuration file to deploy the application software under the target chip architecture.

[0064] In this embodiment, when it is determined that a target image configuration file and a target chip architecture corresponding to the application software to be deployed exist in the resource information library based on the deployment information of the application software to be deployed, the server can call the target image configuration file corresponding to the application software, and use the determined target image configuration file to deploy the application software and configure the application software running environment under the determined target chip architecture.

[0065] In the above-mentioned application software deployment method, when an application software deployment request is received, it is first determined whether there is a target image configuration file corresponding to the application software in the resource information library. When it is determined that there is a target image configuration file corresponding to the application software in the resource information library, the target chip architecture corresponding to the application software deployment request is determined from the resource information library according to the deployment information of the application software to be deployed included in the application software deployment request, so as to call the target image configuration file to deploy the application software under the target chip architecture. Since the target chip architecture corresponds to the application software deployment request and the application software is deployed when it is determined that there is a target image configuration file corresponding to the application software, there is no need to modify or compile the application software after it is deployed under the target chip architecture, thereby ensuring the adaptive deployment of the application software, so that the deployment efficiency of the application software can be greatly improved through this deployment method.

[0066] In this embodiment, the specific process of determining the target chip architecture corresponding to the application software deployment request according to the deployment information of the application software is explained. In one embodiment, the above S202 includes:

[0067] Step A: If the deployment information includes the specified chip architecture information, the chip architecture corresponding to the specified chip architecture information in the resource information library is determined as the target chip architecture.

[0068] Step B: if the deployment information does not include the designated chip architecture information, then determine the target chip architecture from the resource information library according to the deployment information.

[0069] In some scenarios, the deployment information of the application software to be deployed may contain specified chip architecture information, that is, the deployment information of the application software to be deployed may include chip structure information compatible with the application software, and the application software can be deployed under the specified chip architecture.

[0070] Optionally, in this embodiment, if the deployment information of the application software to be deployed includes the specified chip architecture information, the chip architecture corresponding to the specified chip architecture information can be determined from the resource information library, and the chip architecture can be determined as the target chip architecture. If the deployment information of the application software to be deployed does not include the specified chip architecture information, as an optional implementation method, the candidate chip architecture of the application software to be deployed can be determined from the chip architecture of the resource information library based on the above deployment information. Further, if there is one candidate chip architecture, the candidate chip can be determined as the target chip architecture of the application software to be deployed. If there are multiple candidate chip architectures, a candidate chip architecture with the best performance can be selected from the multiple candidate chip architectures as the target chip architecture of the application software to be deployed.

[0071] In this embodiment, when the deployment information of the application software to be deployed includes the specified chip architecture information, the chip architecture corresponding to the specified chip architecture information in the resource information library is directly determined as the target chip architecture of the application software to be deployed, which ensures that the target chip architecture of the application software can be quickly determined while also ensuring the accuracy of the determined target chip architecture. When the deployment information of the application software to be deployed does not include the specified chip architecture information, the target chip architecture of the application software can be flexibly determined from the resource information library based on the deployment information, making the method of determining the target chip architecture of the application software more flexible. In addition, the above-mentioned method for determining the target chip architecture can be applicable to different deployment scenarios, making the method of determining the target chip architecture more flexible.

[0072] In some scenarios, the target chip architecture for deploying the application software can be determined from multiple candidate chip architectures based on the performance of the candidate chip architecture and the resource value of the candidate chip architecture running the application software to be deployed. Figure 3 As shown, the above-mentioned “determining the target chip architecture from the resource information library according to the deployment information” includes:

[0073] S301, determining at least one candidate chip architecture from a resource information library according to deployment information.

[0074] Optionally, the resource information library may include the software name of the application software and the corresponding chip architecture. In this embodiment, the resource information library may be searched for a software name that is the same as or consistent with the software name of the application software to be deployed, and then the chip architecture corresponding to the software name is determined as at least one candidate chip architecture corresponding to the application software to be deployed.

[0075] S302, obtaining a comprehensive quantization value of each candidate chip architecture.

[0076] Optionally, in this embodiment, the comprehensive quantization value of each candidate chip architecture can be obtained according to the performance quantization value of each candidate chip architecture and the resource quantization value of each candidate chip architecture running the application software. For example, the performance quantization value of each candidate chip architecture and the resource quantization value of each candidate chip architecture running the application software can be weighted and summed to obtain the comprehensive quantization value of each candidate chip architecture.

[0077] S303 , determining the candidate chip architecture with the largest comprehensive quantization value as the target chip architecture.

[0078] It is understandable that the larger the comprehensive quantization value of the candidate chip architecture, the better the comprehensive performance of the candidate chip architecture. In this embodiment, as an optional implementation, the comprehensive quantization values ​​of the candidate chip architectures can be sorted, and the candidate chip architecture with the largest comprehensive quantization value is determined as the target chip architecture of the application software to be deployed.

[0079] In this embodiment, based on the deployment information of the application software to be deployed, at least one candidate chip architecture can be determined from the resource information library, so that by obtaining the comprehensive quantization value of each candidate chip architecture, the candidate chip architecture with the largest comprehensive quantization value can be determined as the target chip architecture. In this way, by comprehensively quantifying each candidate chip architecture, the optimal chip architecture suitable for the application software to be deployed can be determined, thereby realizing adaptive deployment of the application software.

[0080] In some scenarios, the comprehensive quantitative value of each candidate chip architecture can be obtained based on the operating parameters of the cloud host with the same number of cores as the candidate chip architecture. Figure 4 As shown, the above S302 includes:

[0081] S401, for each candidate chip architecture, determine a target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture.

[0082] It is understandable that there are multiple different cloud hosts in the "one cloud, multiple cores" cloud platform, and there may be cloud hosts with the same number of cores among the multiple different cloud hosts. In this embodiment, as an optional implementation, for each candidate chip architecture, the cloud host with the same number of cores as the candidate chip architecture in the cloud platform can be determined as the target cloud host corresponding to the candidate chip architecture based on the number of cores of the candidate chip architecture.

[0083] S402: Determine a comprehensive quantized value of each candidate chip architecture according to a first running time of each target cloud host running the application software and a first resource value per unit time.

[0084] In this embodiment, after determining the target cloud host corresponding to each candidate chip architecture, the first running time of each target host running the application software to be deployed and the first resource value per unit time of the target cloud host running the application software to be deployed can be determined according to the application software information file in the cloud platform. Then, according to the first running time of each target host running the application software to be deployed, the performance quantization value of each candidate chip architecture is determined, and according to the first resource value per unit time of each target host running the application software to be deployed, the resource quantization value of each candidate chip architecture is determined, thereby determining the comprehensive quantization value of each candidate chip architecture according to the performance quantization value of each candidate chip architecture and the resource quantization value of each candidate chip architecture.

[0085] In this embodiment, for each candidate chip architecture, a target cloud host with the same number of cores as the candidate chip architecture is determined, and then a comprehensive quantitative value of each candidate chip architecture is determined based on the first running time of the application software to be deployed and the first resource value per unit time when the target cloud host corresponding to each candidate chip architecture runs the application software, thereby ensuring the feasibility of determining the comprehensive quantitative value of each candidate chip architecture. In addition, the process of determining the target cloud host corresponding to the candidate chip architecture is relatively simple, and thus the comprehensive quantitative value of each candidate chip architecture can be quickly determined based on the first running time of the application software running on the target cloud host corresponding to each candidate chip architecture and the first resource value per unit time.

[0086] In this embodiment, the specific process of determining the comprehensive quantization value of each candidate chip architecture is explained. Figure 5 As shown, the above S402 includes:

[0087] S501 , determining a performance quantization value of each candidate chip architecture according to a second running time and each first running time of each candidate chip architecture running the application software.

[0088] Optionally, in this embodiment, the second running time of each candidate chip architecture running the application software to be deployed can be determined based on the chip architecture file of the cloud platform. Then, the performance quantization value of each candidate chip architecture is determined based on the second running time of each candidate chip architecture running the application software to be deployed and the first running time of the target cloud host corresponding to each candidate chip architecture running the application software to be deployed. For example, the first running time of the target cloud host corresponding to each candidate chip architecture running the application software to be deployed is t1, and the second running time of each candidate chip architecture running the application software to be deployed is t2. Then, the performance quantization value of each candidate chip architecture can be determined according to the formula 1+(t1-t2) / t1.

[0089] S502 : Determine a resource quantization value of each candidate chip architecture according to the second resource value of each candidate chip architecture for running the application software and each first resource value.

[0090] Similarly, in this embodiment, as an optional implementation, in this embodiment, the second resource value per unit time of each candidate chip architecture running the application software to be deployed can be determined based on the chip architecture file of the cloud platform. Then, the resource quantization value of each candidate chip architecture is determined based on the second resource value per unit time of each candidate chip architecture running the application software to be deployed and the first resource value per unit time of the target cloud host corresponding to each candidate chip architecture running the application software to be deployed. For example, the first resource value per unit time of the target cloud host corresponding to each candidate chip architecture running the application software to be deployed is p1, and the second resource value per unit time of each candidate chip architecture running the application software to be deployed is p2. Then, the resource quantization value of each candidate chip architecture can be determined according to the formula 1+(p1-p2) / p1.

[0091] S503 , determining a comprehensive quantization value of each candidate chip according to the performance quantization value and resource quantization value of each candidate chip.

[0092] Optionally, in this embodiment, the sum of the performance quantization value and the resource quantization value of each candidate chip can be determined as the comprehensive quantization value of each candidate chip; or, the performance quantization value and the resource quantization value of each candidate chip can be weighted and summed, and the weighted sum value can be determined as the comprehensive quantization value of each candidate chip.

[0093] In this embodiment, the performance quantization value of each candidate chip architecture can be accurately determined based on the second running time of the application software to be deployed on each candidate chip architecture and the first running time of the application software to be deployed on the target cloud host corresponding to each candidate chip architecture. The resource quantization value of each candidate chip architecture can be accurately determined based on the second resource value per unit time of the application software to be deployed on each candidate chip architecture and the first resource value per unit time of the application software to be deployed on the target cloud host corresponding to each candidate chip architecture. Therefore, the comprehensive quantization value of each candidate chip can be accurately determined based on the performance quantization value and resource quantization value of each candidate chip, thereby ensuring the accuracy of the determined comprehensive quantization value of each candidate chip.

[0094] In some scenarios, it is possible to first determine whether there is a resource information library for deploying the application software to be deployed in the cloud platform, and if it is determined that there is a resource information library for the application software to be deployed, determine the target image configuration file and the target chip architecture of the application software to be deployed from the resource information library. In one embodiment, the above method further includes:

[0095] Step C, based on the chip architecture file and application software information file of the cloud platform, determine whether the cloud platform has a resource information library for deploying application software; the application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform.

[0096] The cloud platform's application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform and image configuration files of various types of application software. For example, the operating performance information may include information such as the operating time and the resource value per unit time of the running application software. The cloud platform's chip architecture file includes information on various different chip architectures supported by the cloud platform, such as the name of the chip architecture, the name and type of application software supported by the chip architecture, and other information.

[0097] In this embodiment, when an application software deployment request is received, it can be determined whether the cloud platform has a resource information library for deploying the application software based on the deployment information of the application software to be deployed, the chip architecture file of the cloud platform, and the application software information file. Optionally, when it is determined that the cloud platform has a chip architecture for deploying the application software to be deployed and a target image configuration file for the application software to be deployed, it can be determined that the cloud platform has an information resource library for deploying the application software.

[0098] In this embodiment, based on the chip architecture file and application software information file of the cloud platform, it can be determined first whether there is a resource information library for deploying the application software to be deployed in the cloud platform. In this way, when a deployment request for the application software to be deployed is received, it can be determined through the resource information library whether there is a target image configuration file for the application software to be deployed. If there is no target image configuration file for the application software to be deployed, prompt information can be fed back in time. If there is a target image configuration file for the application software to be deployed, the application software can be further deployed. This process greatly improves the efficiency of deploying the application software to be deployed, and can achieve adaptive deployment of the application software to be deployed.

[0099] In order to facilitate the understanding of those skilled in the art, the following Figure 6 The application software deployment method provided by the present disclosure is described in detail. Figure 6 The architecture diagram of the application software deployment method provided in the embodiment of the present application may include:

[0100] S1, compile the source code of various application software, generate installable versions of various application software on different chip architectures, and make them into image configuration files for standardized packaging, and store them in the application software information file of the cloud platform.

[0101] S2, when receiving an application software deployment request, determine whether the cloud platform has a resource information library for deploying the application software based on the deployment information of the application software to be deployed, the chip architecture file of the cloud platform and the application software information file.

[0102] S3, when it is determined that there is a target image configuration file corresponding to the application software in the resource information library, if the deployment information includes specified chip architecture information, the chip architecture corresponding to the specified chip architecture information in the resource information library is determined as the target chip architecture; if the deployment information does not include the specified chip architecture information, at least one candidate chip architecture is determined from the resource information library based on the deployment information.

[0103] S4, for each candidate chip architecture, determine a target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture.

[0104] S5, obtaining a first running time of the application software running on each target cloud host and a first resource value per unit time.

[0105] S6, determining a performance quantization value of each candidate chip architecture according to the second running time and each first running time of each candidate chip architecture running the application software.

[0106] S7, determining the resource quantization value of each candidate chip architecture according to the second resource value and each first resource value within a unit time of running the application software of each candidate chip architecture.

[0107] S8, determining the comprehensive quantization value of each candidate chip according to the performance quantization value and resource quantization value of each candidate chip.

[0108] S9, determining the candidate chip architecture with the largest comprehensive quantization value as the target chip architecture.

[0109] S10, calling the target image configuration file to deploy the application software under the target chip architecture.

[0110] It should be noted that for the description of the above steps, reference may be made to the relevant description in the above embodiment, and the effects are similar, so this embodiment will not be repeated here.

[0111] It should be understood that, although the steps in the flowcharts involved in the above 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 is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may 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 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.

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

[0113] In an exemplary embodiment, Figure 7 As shown, an application software deployment device is provided, comprising: a receiving module 10, a first determining module 11 and a deployment module 12, wherein:

[0114] The receiving module 10 is used to receive an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0115] A first determination module 11 is used to determine the target chip architecture corresponding to the application software deployment request according to the deployment information when it is determined that there is a target image configuration file corresponding to the application software in the resource information library;

[0116] The deployment module 12 is used to call the target image configuration file to deploy the application software under the target chip architecture.

[0117] The application software deployment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0118] Based on the above embodiments, Figure 8 As shown, optionally, the first determining module 11 includes: a first determining unit 111 and a second determining unit 112, wherein:

[0119] The first determining unit 111 is configured to determine the chip architecture corresponding to the specified chip architecture information in the resource information library as the target chip architecture if the deployment information includes the specified chip architecture information.

[0120] The second determining unit 112 is configured to determine a target chip architecture from a resource information library according to the deployment information if the deployment information does not include the designated chip architecture information.

[0121] The application software deployment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0122] Based on the above examples, please continue to refer to Figure 8 Optionally, the second determination unit 112 is specifically used to determine at least one candidate chip architecture from the resource information library according to the deployment information; obtain the comprehensive quantization value of each candidate chip architecture; and determine the candidate chip architecture with the largest comprehensive quantization value as the target chip architecture.

[0123] The application software deployment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0124] Based on the above examples, please continue to refer to Figure 8 Optionally, the second determination unit 112 is specifically used to determine, for each candidate chip architecture, a target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture; and the comprehensive quantitative value of each candidate chip architecture is determined based on the first running time of the application software running on each target cloud host and the first resource value per unit time.

[0125] The application software deployment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0126] Based on the above examples, please continue to refer to Figure 8 Optionally, the second determination unit 112 is specifically used to determine the performance quantization value of each candidate chip architecture according to the second running time and the first running time of each candidate chip architecture running the application software; determine the resource quantization value of each candidate chip architecture according to the second resource value and the first resource value per unit time of each candidate chip architecture running the application software; determine the comprehensive quantization value of each candidate chip according to the performance quantization value and the resource quantization value of each candidate chip.

[0127] The application software deployment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0128] Based on the above embodiments, Fig. 9 As shown, optionally, the above device further includes: a second determination module 13, wherein:

[0129] The second determination module 13 is used to determine whether there is a resource information library for deploying application software on the cloud platform based on the chip architecture file and application software information file of the cloud platform; the application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform and image configuration files of various types of application software.

[0130] The application software deployment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated here.

[0131] Each module in the above application software deployment device 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.

[0132] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store chip architecture files and application software information files of the cloud platform. 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 through a network connection. When the computer program is executed by the processor, an application software deployment method is implemented.

[0133] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the 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.

[0134] In an exemplary embodiment, a server 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:

[0135] Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0136] In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information;

[0137] Call the target image configuration file to deploy the application software under the target chip architecture.

[0138] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0139] If the deployment information includes the specified chip architecture information, the chip architecture corresponding to the specified chip architecture information in the resource information library is determined as the target chip architecture;

[0140] If the deployment information does not include the designated chip architecture information, the target chip architecture is determined from the resource information library according to the deployment information.

[0141] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0142] Determine at least one candidate chip architecture from a resource information library according to the deployment information;

[0143] Obtain comprehensive quantitative values ​​of each candidate chip architecture;

[0144] The candidate chip architecture with the largest comprehensive quantization value is determined as the target chip architecture.

[0145] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0146] For each candidate chip architecture, determine the target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture;

[0147] The comprehensive quantized value of each candidate chip architecture is determined according to the first running time of the application software running on each target cloud host and the first resource value per unit time.

[0148] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0149] Determine a performance quantization value of each candidate chip architecture according to the second running time and each first running time of the application software running on each candidate chip architecture;

[0150] Determine the resource quantization value of each candidate chip architecture according to the second resource value and each first resource value during the unit time of running the application software of each candidate chip architecture;

[0151] According to the performance quantization value and resource quantization value of each candidate chip, the comprehensive quantization value of each candidate chip is determined.

[0152] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0153] Based on the chip architecture file and application software information file of the cloud platform, determine whether the cloud platform has a resource information library for deploying application software; the application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform and image configuration files of various types of application software.

[0154] 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:

[0155] Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0156] In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information;

[0157] Call the target image configuration file to deploy the application software under the target chip architecture.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] If the deployment information includes the specified chip architecture information, the chip architecture corresponding to the specified chip architecture information in the resource information library is determined as the target chip architecture;

[0160] If the deployment information does not include the designated chip architecture information, the target chip architecture is determined from the resource information library according to the deployment information.

[0161] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0162] Determine at least one candidate chip architecture from a resource information library according to the deployment information;

[0163] Obtain comprehensive quantitative values ​​of each candidate chip architecture;

[0164] The candidate chip architecture with the largest comprehensive quantization value is determined as the target chip architecture.

[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0166] For each candidate chip architecture, determine the target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture;

[0167] The comprehensive quantized value of each candidate chip architecture is determined according to the first running time of the application software running on each target cloud host and the first resource value per unit time.

[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0169] Determine a performance quantization value of each candidate chip architecture according to the second running time and each first running time of the application software running on each candidate chip architecture;

[0170] Determine the resource quantization value of each candidate chip architecture according to the second resource value and each first resource value during the unit time of running the application software of each candidate chip architecture;

[0171] According to the performance quantization value and resource quantization value of each candidate chip, the comprehensive quantization value of each candidate chip is determined.

[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0173] Based on the chip architecture file and application software information file of the cloud platform, determine whether the cloud platform has a resource information library for deploying application software; the application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform and image configuration files of various types of application software.

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

[0175] Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed;

[0176] In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information;

[0177] Call the target image configuration file to deploy the application software under the target chip architecture.

[0178] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0179] If the deployment information includes the specified chip architecture information, the chip architecture corresponding to the specified chip architecture information in the resource information library is determined as the target chip architecture;

[0180] If the deployment information does not include the designated chip architecture information, the target chip architecture is determined from the resource information library according to the deployment information.

[0181] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0182] Determine at least one candidate chip architecture from a resource information library according to the deployment information;

[0183] Obtain comprehensive quantitative values ​​of each candidate chip architecture;

[0184] The candidate chip architecture with the largest comprehensive quantization value is determined as the target chip architecture.

[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0186] For each candidate chip architecture, determine the target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture;

[0187] The comprehensive quantized value of each candidate chip architecture is determined according to the first running time of the application software running on each target cloud host and the first resource value per unit time.

[0188] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0189] Determine a performance quantization value of each candidate chip architecture according to the second running time and each first running time of the application software running on each candidate chip architecture;

[0190] Determine the resource quantization value of each candidate chip architecture according to the second resource value and each first resource value during the unit time of running the application software of each candidate chip architecture;

[0191] According to the performance quantization value and resource quantization value of each candidate chip, the comprehensive quantization value of each candidate chip is determined.

[0192] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0193] Based on the chip architecture file and application software information file of the cloud platform, determine whether the cloud platform has a resource information library for deploying application software; the application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform and image configuration files of various types of application software.

[0194] 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.

[0195] 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.

[0196] 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 application software, characterized in that: The method comprises: Receiving an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed; In the case where it is determined that a target image configuration file corresponding to the application software exists in the resource information library, determining a target chip architecture corresponding to the application software deployment request according to the deployment information; The target image configuration file is called to deploy the application software under the target chip architecture.

2. The method according to claim 1, characterized in that The determining, according to the deployment information, a target chip architecture corresponding to the application software deployment request includes: If the deployment information includes designated chip architecture information, determining the chip architecture corresponding to the designated chip architecture information in the resource information library as the target chip architecture; If the deployment information does not include the designated chip architecture information, the target chip architecture is determined from the resource information library according to the deployment information.

3. The method according to claim 2, characterized in that Determining the target chip architecture from the resource information library according to the deployment information includes: Determining at least one candidate chip architecture from the resource information library according to the deployment information; Obtaining a comprehensive quantized value of each of the candidate chip architectures; The candidate chip architecture with the largest comprehensive quantization value is determined as the target chip architecture.

4. The method according to claim 3, characterized in that The obtaining of the comprehensive quantization value of each candidate chip architecture includes: For each candidate chip architecture, determining a target cloud host corresponding to the candidate chip architecture; the number of cores of the target cloud host is the same as the number of cores of the candidate chip architecture; The comprehensive quantized value of each of the candidate chip architectures is determined according to a first running time of each of the target cloud hosts running the application software and a first resource value per unit time.

5. The method according to claim 4, characterized in that The step of determining the comprehensive quantized value of each of the candidate chip architectures according to the first running time of each of the target cloud hosts running the application software and the first resource value per unit time includes: Determine a performance quantization value of each of the candidate chip architectures according to a second running time of each of the candidate chip architectures running the application software and each of the first running time; Determine a resource quantization value of each of the candidate chip architectures according to a second resource value and each of the first resource values ​​during a unit time of running the application software on each of the candidate chip architectures; The comprehensive quantization value of each candidate chip is determined according to the performance quantization value and the resource quantization value of each candidate chip.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Based on the chip architecture file and application software information file of the cloud platform, determine whether the cloud platform has a resource information library for deploying the application software; the application software information file includes the operating performance information of various types of application software under different chip architectures of the cloud platform and the image configuration files of the various types of application software.

7. An application software deployment device, characterized in that: The device comprises: A receiving module, configured to receive an application software deployment request; the application software deployment request includes deployment information of the application software to be deployed; A first determination module is used to determine the target chip architecture corresponding to the application software deployment request according to the deployment information when it is determined that there is a target image configuration file corresponding to the application software in the resource information library; A deployment module is used to call the target image configuration file to deploy the application software under the target chip architecture.

8. A server, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: 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.