Automatic Deployment Method, Device, Electronic Device and Storage Medium for Operation and Maintenance Products

By generating target package mirror information and real-time adjustment of deployment architecture, the problem of inefficient deployment of operation and maintenance products is solved, and batch deployment of operation and maintenance products and efficient resource utilization are achieved.

CN115729567BActive Publication Date: 2025-07-18CCB FINTECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211562104.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2025-07-18
Estimated Expiration
2042-12-07

AI Technical Summary

Technical Problem

In the prior art, the deployment methods of operation and maintenance products are cumbersome and inefficient, making it difficult to quickly deploy multiple operation and maintenance products, and problems are prone to occur.

Method used

By generating target package mirror information, including operation and maintenance requirements products and associated target package information, a resource list and a pre-dependence tree are generated, and the deployment architecture is adjusted in real time according to the resource usage of the child nodes, adopting cluster, single-node or hybrid deployment methods.

Benefits of technology

It realizes batch deployment of operation and maintenance products, improves deployment efficiency and resource utilization, and reduces the occurrence of deployment errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115729567B_ABST
    Figure CN115729567B_ABST
Patent Text Reader

Abstract

The present disclosure provides an automatic deployment method, device, electronic device, and storage medium for operation and maintenance products, which can be applied to the field of operation and maintenance technologies. The method includes: determining target package information associated with the operation and maintenance requirement product according to the obtained operation and maintenance requirement product of the target object; responding to the target package information determination instruction, generating target package image information according to the obtained customization information, where the target package image information includes the operation and maintenance requirement product and the target package information; generating an operation and maintenance requirement product resource list and a product pre-dependency relationship tree according to the target package image information deployed to the master node; and deploying the operation and maintenance requirement product in the target package image information to the slave nodes according to the operation and maintenance requirement product resource list and the product pre-dependency relationship tree. When deploying the operation and maintenance requirement product to the slave nodes, the deployment architecture of the slave nodes is adjusted in real time according to the resource usage situation of the slave nodes. The deployment architecture includes cluster deployment, single-node deployment, and hybrid deployment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of operation and maintenance technologies, and more particularly to an automatic deployment method, device, electronic device and readable storage medium for operation and maintenance products. Background Art

[0002] In order to ensure the efficient and stable operation of large enterprises, a large number of operation and maintenance products need to be deployed to assist the enterprise in operations such as application production release, script scheduling execution, operation and maintenance process management, application monitoring and alerting, and fault event handling. In the prior art, according to the deployment requirements of operation and maintenance products, a single operation and maintenance product deployment method is adopted, that is, for each operation and maintenance product to be deployed, the relevant resources and deployment requirements of the operation and maintenance product are obtained for deployment, and after the deployment is completed, the next operation and maintenance product is deployed. Its deployment method is relatively cumbersome, with low efficiency, and it is difficult to form a standardized deployment operation. When deploying multiple operation and maintenance products, it takes a long time and is prone to problems. Summary of the Invention

[0003] In view of the above problems, the present disclosure provides an automatic deployment method, device, electronic device and readable storage medium for operation and maintenance products, which can effectively improve the deployment efficiency of operation and maintenance products.

[0004] According to a first aspect of the present disclosure, there is provided an automatic deployment method for operation and maintenance products, including: determining target package information associated with the operation and maintenance requirement products according to the obtained operation and maintenance requirement products of the target object; in response to a target package information determination instruction, generating target package image information according to the obtained customization information, the target package image information including at least one of the operation and maintenance requirement products and target package information associated with the operation and maintenance requirement products; generating an operation and maintenance requirement product resource list and a product pre-dependency relationship tree according to the target package image information deployed to the master node, the master node including at least one child node; and deploying the operation and maintenance requirement products in the target package image information to the child nodes according to the operation and maintenance requirement product resource list and the product pre-dependency relationship tree, wherein when deploying the operation and maintenance requirement products to the child nodes, the deployment architecture of the child nodes is adjusted in real time according to the resource usage conditions of the child nodes, and the deployment architecture includes cluster deployment, single-node deployment, and hybrid deployment.

[0005] In some exemplary embodiments of the present disclosure, determining target package information associated with the operation and maintenance requirement products according to the obtained operation and maintenance requirement products of the target object includes: determining the usage scenario and performance requirements of the target object according to the obtained operation and maintenance requirement products of the target object; and determining the target package information from multiple package information associated with the operation and maintenance requirement products according to the usage scenario and performance requirements.

[0006] In some exemplary embodiments of the present disclosure, in response to a target package information determination instruction, target package image information is generated according to the obtained customization information, including: in response to the target package information determination instruction, modifying the operation and maintenance requirement products and the target package information according to the obtained customization information; and generating the target package image information according to the collected hardware device information of the target object and the modified operation and maintenance requirement products and target package information.

[0007] In some exemplary embodiments of the present disclosure, the method further includes: before generating a resource list of operation and maintenance requirement products and a product pre-dependency relationship tree according to the target package image information deployed to the master node, deploying the target package image information to the master node, and the target package image information further includes deployment tool information.

[0008] In some exemplary embodiments of the present disclosure, the target package image information further includes virtual machine image information. Generating a resource list of operation and maintenance requirement products and a product pre-dependency relationship tree according to the target package image information deployed to the master node includes: allocating resources to the virtual machine image information according to the operation and maintenance requirement products in the target package image information deployed to the master node to generate a resource list of operation and maintenance requirement products, where the resource list of operation and maintenance requirement products includes a list of operation and maintenance requirement products and resource information corresponding to the operation and maintenance requirement products; analyzing the resource list of operation and maintenance requirement products to generate pre-dependency relationships between the operation and maintenance requirement products; and generating a product pre-dependency relationship tree according to the pre-dependency relationships between each operation and maintenance requirement product.

[0009] In some exemplary embodiments of the present disclosure, deploying the operation and maintenance requirement products in the target package image information to the slave nodes according to the resource list of operation and maintenance requirement products and the product pre-dependency relationship tree includes: sorting the operation and maintenance requirement products in the resource list of operation and maintenance requirement products according to the product pre-dependency relationship tree to generate a product deployment order; and deploying the operation and maintenance requirement products in the target image information to the slave nodes corresponding to the resources in the resource list of operation and maintenance requirement products according to the product deployment order.

[0010] In some exemplary embodiments of the present disclosure, the method further includes: before deploying the operation and maintenance requirement products in the target package image information to the slave nodes according to the resource list of operation and maintenance requirement products and the product pre-dependency relationship tree, checking the pre-dependency relationships of the operation and maintenance requirement products and the resource information of the slave nodes, and deploying the operation and maintenance requirement products to the slave nodes after the check passes.

[0011] In some exemplary embodiments of the present disclosure, the method further includes: before determining the target package information associated with the operation and maintenance requirement product according to the obtained operation and maintenance requirement product of the target object, generating an operation and maintenance requirement product according to the set format information, where the set format information includes pre - dependency relationships, resource information, and operating environment information.

[0012] A second aspect of the present disclosure provides an automatic deployment device for operation and maintenance products, including: a determination module configured to determine target package information associated with the operation and maintenance requirement product according to the obtained operation and maintenance requirement product of the target object; a first generation module configured to respond to a target package information determination instruction and generate target package image information according to the obtained customization information, where the target package image information includes at least one of the operation and maintenance requirement products and the target package information associated with the operation and maintenance requirement product; a second generation module configured to generate an operation and maintenance requirement product resource list and a product pre - dependency relationship tree according to the target package image information deployed to the master node, where the master node includes at least one child node; a deployment module configured to deploy the operation and maintenance requirement products in the target package image information to the child nodes according to the operation and maintenance requirement product resource list and the product pre - dependency relationship tree, where when deploying the operation and maintenance requirement products to the child nodes, the deployment architecture of the child nodes is adjusted in real time according to the resource usage of the child nodes, and the deployment architecture includes cluster deployment, single - node deployment, and hybrid deployment.

[0013] A third aspect of the present disclosure provides an electronic device, including: one or more processors; a storage device for storing executable instructions, where when the executable instructions are executed by the processors, the method described above is implemented.

[0014] A fourth aspect of the present disclosure provides a computer - readable storage medium, on which executable instructions are stored, and when the instructions are executed by a processor, the method described above is implemented.

[0015] A fifth aspect of the present disclosure provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0016] In the embodiments of the present disclosure, by generating target package image information according to the operation and maintenance requirement product, target package information, and customization information, generating a product pre - dependency tree, and deploying the operation and maintenance requirement products to the child nodes according to the pre - dependency tree, batch deployment of the operation and maintenance requirement products can be achieved. In addition, by adjusting the deployment architecture of the child nodes in real time according to the resource usage of the child nodes, it can be realized that when deploying the operation and maintenance requirement products, node resources can be effectively utilized, and the resource utilization rate can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, the above content and other objects, features, and advantages of the present disclosure will become clearer. In the drawings:

[0018] Figure 1 A schematic diagram of the system architecture of the automatic deployment method of the operation and maintenance product to which the embodiments of the present disclosure can be applied is schematically shown;

[0019] Figure 2 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure is schematically shown;

[0020] Figure 3 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure in operation S210 is schematically shown;

[0021] Figure 4 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure in operation S220 is schematically shown;

[0022] Figure 5 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure before generating the product pre-dependency tree is schematically shown;

[0023] Figure 6 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure in operation S230 is schematically shown;

[0024] Figure 7 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure in operation S240 is schematically shown;

[0025] Figure 8 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure before deploying the operation and maintenance requirement product to the child node is schematically shown;

[0026] Figure 9 A flowchart of the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure before determining the target package information associated with the operation and maintenance requirement product is schematically shown;

[0027] Figure 10 A structural block diagram of the automatic deployment device of the operation and maintenance product according to the embodiments of the present disclosure is schematically shown;

[0028] Figure 11 A block diagram of the electronic device suitable for implementing the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure is schematically shown. Detailed Embodiments

[0029] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments can also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.

[0030] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0031] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0032] In the case of using expressions such as "at least one of A, B, and C, etc.", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include, but is not limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).

[0033] In the technical solution of the present disclosure, the acquisition, storage, and application of the user's personal information involved, etc., all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good customs.

[0034] In the prior art, in order to ensure the efficient and stable operation of an enterprise, a large number of operation and maintenance products need to be deployed to effectively perform operation and maintenance on the applications or services of different enterprises. When deploying operation and maintenance products, the demand of different enterprises is different, and the resource requirements for operation and maintenance products are also different. When deploying operation and maintenance products, the prior art adopts a deployment method of a single operation and maintenance product, that is, for each operation and maintenance product to be deployed, relevant resources are obtained in advance, and then the operation and maintenance product is deployed again. In complex operation and maintenance scenarios, this leads to an increase in the complexity of deploying operation and maintenance products, and at the same time, the efficiency is low, and it is impossible to deploy all the operation and maintenance products required by the enterprise at one time.

[0035] To solve the problem of low deployment efficiency in related technologies and the inability to quickly deploy a large number of operation and maintenance products, the present disclosure provides an automatic deployment method, device, electronic device, and readable storage medium for operation and maintenance products, which can perform one-time deployment for multiple operation and maintenance products required by an enterprise and improve the deployment efficiency of operation and maintenance products. The automatic deployment method for operation and maintenance products includes, but is not limited to: determining target package information associated with the operation and maintenance required products according to the obtained operation and maintenance required products of the target object; in response to the target package information determination instruction, generating target package image information according to the obtained customization information, where the target package image information includes at least one operation and maintenance required product and the target package information associated with the operation and maintenance required product; generating an operation and maintenance required product resource list and a product pre-dependency relationship tree according to the target package image information deployed to the master node, where the master node includes at least one child node; deploying the operation and maintenance required products in the target package image information to the child nodes according to the operation and maintenance required product resource list and the product pre-dependency relationship tree, where when deploying the operation and maintenance required products to the child nodes, the deployment architecture of the child nodes is adjusted in real time according to the resource usage of the child nodes, and the deployment architecture includes cluster deployment, single-node deployment, and hybrid deployment.

[0036] In an embodiment of the present disclosure, by generating target package image information according to the operation and maintenance required products, target package information, and customization information, generating a product pre-dependency tree, and deploying the operation and maintenance required products to the child nodes according to the pre-dependency tree, batch deployment of the operation and maintenance required products can be achieved. In addition, the deployment architecture of the child nodes is adjusted in real time according to the resource usage of the child nodes, so that when deploying the operation and maintenance required products, node resources can be effectively utilized and the resource utilization rate can be improved.

[0037] Figure 1 A schematic diagram showing the system architecture to which the automatic deployment method for operation and maintenance products according to an embodiment of the present disclosure can be applied is schematically shown. It should be noted that Figure 1 The shown is only an example of the system architecture to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments, or scenarios. It should be noted that the automatic deployment method for operation and maintenance products and the automatic deployment device for operation and maintenance products provided by the embodiments of the present disclosure can be used in related aspects of the operation and maintenance technology field and the financial field, and can also be used in any field other than the financial field. The application fields of the automatic deployment method for operation and maintenance products and the automatic deployment device for operation and maintenance products provided by the embodiments of the present disclosure are not limited.

[0038] Such as Figure 1As shown, an exemplary system architecture 100 to which the automatic deployment method of the operation and maintenance product according to the embodiments of the present disclosure can be applied may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0039] Users can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0040] The terminal devices 101, 102, 103 may be various electronic devices with a display screen and supporting information input and web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, and desktop computers, etc.

[0041] The server 105 may be a server providing various services, such as a background management server that supports the websites browsed by users using the terminal devices 101, 102, 103 (only as an example). The background management server may analyze and process data such as user requests received, and feedback the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.

[0042] It should be noted that the automatic deployment method of the operation and maintenance product provided by the embodiments of the present disclosure is generally executed by the server 105. Correspondingly, the automatic deployment device of the operation and maintenance product provided by the embodiments of the present disclosure is generally set in the server 105. The automatic deployment method of the operation and maintenance product provided by the embodiments of the present disclosure may also be executed by a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and / or the server 105. Correspondingly, the automatic deployment device of the operation and maintenance product provided by the embodiments of the present disclosure may also be set in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and / or the server 105.

[0043] It should be understood that Figure 1 the numbers of terminal devices, networks, and servers in

[0044] are merely illustrative. According to the implementation requirements, there may be any number of terminal devices, networks, and servers. Figures 2 to 7 The following will describe in detail the automatic deployment method of the operation and maintenance product of the disclosed embodiments.

[0045] Figure 2 Schematically shown is a flowchart of an automatic deployment method for an operation and maintenance product according to an embodiment of the present disclosure. As Figure 2 shown, the automatic deployment method 200 for the operation and maintenance product according to the embodiment of the present disclosure includes operation S210 to operation S240.

[0046] In operation S210, according to the obtained operation and maintenance requirement products of the target object, determine the target package information associated with the operation and maintenance requirement products.

[0047] In an embodiment of the present disclosure, the target object may be, for example, a target enterprise that needs to deploy an operation and maintenance product, and the target enterprise may select one or more operation and maintenance requirement products according to its own needs. The operation and maintenance requirement products can meet one or more needs of the target object.

[0048] The target object selects one or more operation and maintenance requirement products according to the needs. Each operation and maintenance requirement product has multiple package information. For example, the package information of each operation and maintenance product includes multiple packages such as a demo version, a low - configuration version, and a standard version. Each package corresponds to different resource quantities and performance parameters.

[0049] The obtained operation and maintenance requirement products of the target object are selected by the target object according to the actual operation and maintenance needs. For example, one or more operation and maintenance requirement products that meet the operation and maintenance needs can be selected through a client. According to the operation and maintenance requirement products selected by the target object, determine a target package information from the multiple package information corresponding to each operation and maintenance requirement product. The target package information is one of the multiple package information corresponding to the multiple operation and maintenance requirement products.

[0050] According to an embodiment of the present disclosure, by determining the target package information associated with the operation and maintenance requirement products, more reasonable operation and maintenance requirements can be provided for the target object, the utilization rate of operation and maintenance resources can be improved, and the waste of operation and maintenance resources can be prevented.

[0051] In operation S220, in response to the target package information determination instruction, generate target package image information according to the obtained customization information. The target package image information includes at least one operation and maintenance requirement product and the target package information associated with the operation and maintenance requirement product.

[0052] In an embodiment of the present disclosure, according to the operation and maintenance requirement products selected by the target object, determine the target package information, and send the target package information to the target object for confirmation. Thus, the target object can evaluate whether the determined target package information is appropriate according to the adjustment or planning of the actual operation and maintenance needs.

[0053] The customized information can be generated according to the customization requirements of the target object, for example, including the operation interface information of the target object, the logo information of the target object, etc. This customized information is used for display when deploying and operating and maintaining the required products, so as to meet the customization requirements of customers.

[0054] After the target object determines the target package information, in response to the target package information determination instruction, the target package image information is generated according to the obtained customized information, the operation and maintenance required products determined by the target object, and the target package information. That is, the target package image information includes all the operation and maintenance required products determined by the target object and the target package information associated with each operation and maintenance required product and determined by the target object.

[0055] The target package image information can be, for example, an image file with a set format and can be run on a virtual machine or a physical node. In addition to the above content, the target package image information also includes other information content necessary for deploying the operation and maintenance products, such as resource management tools, deployment tools, etc.

[0056] According to the embodiments of the present disclosure, by generating the target package image information, unified deployment can be performed for all the operation and maintenance required products selected by the target object, improving the deployment efficiency of the operation and maintenance products. In addition, the target package image information is generated according to the obtained customized information, which can meet the customization requirements of the target object and the personalized requirements of the target object (such as the target enterprise).

[0057] In operation S230, according to the target package image information deployed to the master node, an operation and maintenance required product resource list and a product pre-dependency relationship tree are generated. The master node includes at least one child node.

[0058] In the embodiments of the present disclosure, the master node can be, for example, a node that manages the child nodes that need to deploy the operation and maintenance products of the target object. For example, it can be a corresponding physical node, and the master node includes hardware device information. This device hardware information can be used as customized information to generate the target package image information, thereby generating unique operation and maintenance products for the target object, that is, it can meet the personalized needs of the target object and can also be used as an access permission. For example, when the device hardware information does not match, preventing the deployment of the target package image information on the master node, improving the copyright protection function of the operation and maintenance products, and preventing the operation and maintenance products from being stolen.

[0059] By deploying the target package image information to the master node, the target package image contains all the operation and maintenance required products of the target object, and the master node includes multiple child nodes. Thus, the operation and maintenance required products in the target package can be quickly and effectively deployed to the child nodes, improving the deployment efficiency.

[0060] The operation and maintenance requirement product resource list includes all operation and maintenance requirement products required by the target object and the resource information corresponding to each operation and maintenance requirement product. The product pre-dependency tree, for example, refers to the relationship tree composed of the pre-dependency relationships among all operation and maintenance requirement products. In the embodiments of the present disclosure, the pre-dependency relationship, for example, represents the preconditions required by the deployment node when deploying product A. Only when the preconditions are met can product A be deployed. Exemplarily, if product B is a pre-dependency product of product A, then product B needs to be deployed first before product A can be deployed. The pre-dependency tree of the present disclosure is obtained by analyzing all operation and maintenance requirement products included in the target package image information. Thus, when deploying the operation and maintenance requirement products in the target package image information, the deployment can be carried out according to the pre-dependency relationships among the operation and maintenance requirement products in the pre-dependency tree, realizing the batch deployment of operation and maintenance products and effectively improving the deployment efficiency of operation and maintenance products.

[0061] In operation S240, the operation and maintenance requirement products in the target package image information are deployed to the child nodes according to the operation and maintenance requirement product resource list and the product pre-dependency tree. Among them, when deploying the operation and maintenance requirement products to the child nodes, the deployment architecture of the child nodes is adjusted in real time according to the resource usage of the child nodes. The deployment architecture includes cluster deployment, single-node deployment, and hybrid deployment.

[0062] The operation and maintenance requirement product resource list contains operation and maintenance requirement products and the resource information corresponding to the operation and maintenance requirement products. This resource information is used to determine the deployment location of the operation and maintenance requirement products. For example, each operation and maintenance requirement product can be deployed to the child node corresponding to the resource information. According to the operation and maintenance requirement product resource list, quasi-deployment can be carried out for all operation and maintenance requirement products of the target object, preventing the problem of deployment errors. By deploying the operation and maintenance requirement products according to the product pre-dependency tree, batch deployment of operation and maintenance products can be realized, improving the deployment efficiency.

[0063] In the embodiments of the present disclosure, in order to improve resource utilization, when deploying the operation and maintenance requirement products to the child nodes, the deployment architecture of the child nodes is adjusted in real time according to the resource usage of the child nodes, thereby improving the resource utilization of the child nodes.

[0064] Exemplarily, the deployment architecture of the child nodes includes cluster deployment, single-node deployment, and hybrid deployment. Cluster deployment, for example, is to deploy one operation and maintenance requirement product to multiple child nodes. Single-node deployment, for example, can be to deploy one operation and maintenance requirement product to one child node. Hybrid deployment, for example, can be to deploy different multiple operation and maintenance requirement products to one child node. When the resource utilization in the child node is low, the deployment architecture of the child node can be adjusted according to the resource utilization requirements of the target object. For example, multiple operation and maintenance requirement products are deployed to one child node. Thus, the resource utilization is improved.

[0065] The resource usage of child nodes can be statistically calculated in real time when deploying and operating and maintaining demand products according to the pre-dependency relationship tree. For example, when the statistically calculated resource usage does not meet the set usage rate, the deployment architecture of the child nodes can be adjusted, and other deployment methods can be used to deploy and operate and maintain demand products for the child nodes, so as to ensure that the resource usage of the child nodes after deployment meets the set usage rate.

[0066] Figure 3 Schematically shows a flowchart of the automatic deployment method of the operation and maintenance product according to an embodiment of the present disclosure in operation S210.

[0067] As Figure 3 shown, operation S210 includes operation S211 to operation S212.

[0068] In operation S211, according to the operation and maintenance demand products of the obtained target object, determine the usage scenario and performance requirements of the target object.

[0069] Exemplarily, after the target object selects the operation and maintenance demand products, send the usage scenario and performance requirements of each operation and maintenance demand product to the target object, and determine the usage scenario and performance requirements of the target object according to the information returned by the target object.

[0070] In operation S212, according to the usage scenario and performance requirements, determine the target package information from multiple package information associated with the operation and maintenance demand products.

[0071] Exemplarily, each operation and maintenance demand product has multiple associated package information, and the package information of each operation and maintenance demand product has corresponding usage scenarios and performance requirements. According to the determined usage scenario and performance requirements of the operation and maintenance demand products, determine the target package information from the multiple package information associated with each operation and maintenance demand product, so as to provide a more reasonable operation and maintenance product for the target object and make reasonable use of resources while meeting the usage requirements of the target object.

[0072] Figure 4 Schematically shows a flowchart of the automatic deployment method of the operation and maintenance product according to an embodiment of the present disclosure in operation S220.

[0073] As Figure 4 shown, operation S220 includes operation S221 to operation S222.

[0074] In operation S221, in response to the target package information determination instruction, modify the operation and maintenance demand products and the target package information according to the obtained customization information.

[0075] The customized information is used to make personalized modifications to the operation and maintenance requirement products, so that the deployed operation and maintenance requirement products have the characteristic content of the target object. After the target object determines the target package information, according to the obtained customized information, the operation and maintenance requirement products and the target package information are modified, so that when the operation and maintenance requirement products are deployed to the child nodes, the customized requirements of the target object can be met.

[0076] In operation S222, target package image information is generated according to the collected hardware device information of the target object, as well as the modified operation and maintenance requirement products and target package information.

[0077] The hardware device information of the target object can be, for example, the hardware device information of the master node, such as device code, CPU model, memory parameters and other information. By generating target package image information based on the hardware device information, operation and maintenance requirement products, and target package information, the target package image can be deployed to the master node related to the hardware device information. This can not only verify whether the deployed master node is correct, but also improve the copyright protection function of the target package image information and prevent the operation and maintenance products from being stolen.

[0078] By generating target package image information, batch deployment of all operation and maintenance requirement products for the target object can be realized, improving the deployment efficiency of operation and maintenance products.

[0079] Figure 5 Schematically shows a flowchart of the automatic deployment method of the operation and maintenance product according to an embodiment of the present disclosure before generating the product pre-dependency tree.

[0080] As Figure 5 shown, the automatic deployment method of the operation and maintenance product according to an embodiment of the present disclosure further includes: operation S300: Before generating the resource list of the operation and maintenance requirement products and the product pre-dependency tree according to the target package image information deployed to the master node, the target package image information is deployed to the master node, and the target package image information further includes deployment tool information.

[0081] In an embodiment of the present disclosure, after generating the target package image information and before generating the resource list of the operation and maintenance requirement products and the product pre-dependency tree according to the target package image information deployed to the master node, it further includes deploying the target package image information to the master node, and the target package image information further includes deployment tool information. After the master node deploys the target package image information, it obtains the deployment tool information in the target package image information and performs deployments for various information in the target package image information, such as resource division deployment, resource control deployment, etc. This is to prepare for the subsequent deployment of the operation and maintenance requirement products to the child nodes.

[0082] Figure 6Schematically shows a flowchart of the automatic deployment method of the operation and maintenance product according to an embodiment of the present disclosure in operation S230.

[0083] As Figure 6 shown, operation S230 includes operations S231 to S233.

[0084] In an embodiment of the present disclosure, the target package image information further includes virtual machine image information. The virtual machine image information, for example, runs to generate a virtual machine and provides deployment resources for the operation and maintenance requirement products.

[0085] In operation S231, according to the operation and maintenance requirement products in the target package image information deployed to the master node, resource allocation is performed on the virtual machine image information to generate an operation and maintenance requirement product resource list, which includes an operation and maintenance requirement product list and resource information corresponding to the operation and maintenance requirement products.

[0086] Exemplarily, according to the operation and maintenance requirement products in the target package image information, resource allocation is performed on the virtual machine image information in terms of the operation and maintenance requirement products, such as IP address allocation, computing power allocation, etc. An operation and maintenance requirement product resource list is generated, where the operation and maintenance requirement product list may include, for example, each operation and maintenance requirement product and the corresponding target package information, and the resource information is, for example, the IP address, computing power, etc. corresponding to each operation and maintenance requirement product.

[0087] In operation S232, the operation and maintenance requirement product resource list is analyzed to generate a pre - dependency relationship between the operation and maintenance requirement products.

[0088] In an embodiment of the present disclosure, the operation and maintenance requirement product resource list includes all operation and maintenance requirement products. Each operation and maintenance requirement product is analyzed to generate a pre - dependency relationship between the operation and maintenance requirement products.

[0089] In operation S233, a product pre - dependency relationship tree is generated according to the pre - dependency relationship between each operation and maintenance requirement product.

[0090] The product pre - dependency relationship tree can represent the pre - dependency relationship between all operation and maintenance requirement products included in the target package image information. When deploying the operation and maintenance requirement products, deployment can be performed according to the pre - dependency relationship tree to achieve batch deployment, reduce the analysis time consumed during the deployment of a single operation and maintenance requirement product, and improve the deployment efficiency of the operation and maintenance product.

[0091] Figure 7 Schematically shows a flowchart of the automatic deployment method of the operation and maintenance product according to an embodiment of the present disclosure in operation S240.

[0092] As Figure 7As shown, operation S240 includes operations S241 to S242.

[0093] In operation S241, the operation and maintenance requirement products in the operation and maintenance requirement product resource list are sorted according to the product pre-dependency tree to generate a product deployment order.

[0094] In an embodiment of the present disclosure, the product pre-dependency tree can determine the pre-dependency relationship between operation and maintenance requirement products. According to this pre-dependency relationship, the dependency sequence of the operation and maintenance requirement products of the target object can be determined. By sorting the operation and maintenance requirement products, a product deployment order is generated. Deploying the operation and maintenance requirement products according to this product deployment order can avoid the problem that the operation and maintenance requirement products cannot be deployed due to the pre-dependency relationship not meeting the set conditions during deployment.

[0095] In an embodiment of the present disclosure, by generating the product deployment order of all the operation and maintenance requirement products included in the target package image information at one time, all the operation and maintenance requirement products can be quickly deployed, and at the same time, there will be no problem that the operation and maintenance requirement products cannot be deployed due to the pre-dependency relationship not meeting the set conditions, effectively improving the deployment efficiency.

[0096] In operation S242, the operation and maintenance requirement products in the target image information are deployed to the child nodes corresponding to the resources in the operation and maintenance requirement product resource list according to the product deployment order.

[0097] The operation and maintenance product resource list includes the corresponding relationship between operation and maintenance requirement products and resources. Deploying the operation and maintenance requirement products according to the product deployment order and deploying the operation and maintenance requirement products to the child nodes, the resources of the child nodes correspond to the resources in the operation and maintenance requirement product resource list. For example, if the child node corresponding to the IP address of operation and maintenance requirement product X is Y, then the operation and maintenance requirement product X is deployed to the child node Y according to the product deployment order.

[0098] Figure 8 Schematically shows a flowchart of the automatic deployment method of operation and maintenance products according to an embodiment of the present disclosure before deploying the operation and maintenance requirement products to the child nodes.

[0099] As Figure 8 shown, the automatic deployment method of operation and maintenance products in an embodiment of the present disclosure further includes operation S400: before deploying the operation and maintenance requirement products in the target package image information to the child nodes according to the operation and maintenance requirement product resource list and the product pre-dependency tree, check the pre-dependency relationship of the operation and maintenance requirement products and the resource information of the child nodes, and deploy the operation and maintenance requirement products to the child nodes after the check passes.

[0100] In an embodiment of the present disclosure, by checking the pre - dependency relationships of the operation and maintenance requirement products, it is determined that the operation and maintenance requirement products can be successfully deployed. By checking the resource information of the child nodes, it is ensured that the operation and maintenance requirement products are installed on the correct child nodes. This can effectively reduce the problems that occur during the deployment of operation and maintenance products.

[0101] Figure 9 Schematically shows a flowchart of the automatic deployment method of an operation and maintenance product according to an embodiment of the present disclosure before determining the target package information associated with the operation and maintenance requirement product.

[0102] As Figure 9 shown, the automatic deployment method of the operation and maintenance product according to an embodiment of the present disclosure further includes operation S500: Before determining the target package information associated with the operation and maintenance requirement product according to the operation and maintenance requirement product of the obtained target object, generate the operation and maintenance requirement product according to the set format information, and the set format information includes pre - dependency relationships, resource information, and operating environment information.

[0103] In an embodiment of the present disclosure, generating the operation and maintenance requirement product according to the set format information facilitates modifying the target operation and maintenance requirement product information according to the customization information. The set format information includes pre - dependency relationships, resource information, and operating environment information. The resource information may be, for example, the resources required by the operation and maintenance requirement product, and the operating environment information is, for example, the operating environment required by the operation and maintenance requirement product, etc.

[0104] In an embodiment of the present disclosure, generate the target package image information according to the operation and maintenance requirement product, the target package information, and the customization information. By generating a product pre - dependency tree and deploying the operation and maintenance requirement product to the child nodes according to the pre - dependency tree, batch deployment of the operation and maintenance requirement product can be achieved. In addition, adjust the deployment architecture of the child nodes in real - time according to the resource usage of the child nodes, so that when deploying the operation and maintenance requirement product, the node resources can be effectively utilized and the resource utilization rate can be improved.

[0105] Figure 10 Schematically shows a structural block diagram of an automatic deployment device of an operation and maintenance product according to an embodiment of the present disclosure.

[0106] As Figure 10 shown, the construction device 600 of the operation and maintenance model according to an embodiment of the present disclosure includes a determination module 610, a first generation module 620, a second generation module 630, and a deployment module 640.

[0107] The determination module 610 is configured to determine the target package information associated with the operation and maintenance requirement product according to the operation and maintenance requirement product of the obtained target object. In one embodiment, the determination module 610 can be used to execute the operation S210 described above, which will not be elaborated here.

[0108] The first generation module 620 is configured to respond to a target package information determination instruction and generate target package image information according to the obtained customization information. The target package image information includes at least one operation and maintenance requirement product and the target package information associated with the operation and maintenance requirement product. In an embodiment, the first generation module 620 may be used to perform the operation S220 described above, which will not be elaborated here.

[0109] The second generation module 630 is configured to generate an operation and maintenance requirement product resource list and a product pre - dependency relationship tree according to the target package image information deployed to the master node. The master node includes at least one sub - node. In an embodiment, the second generation module 630 may be used to perform the operation S230 described above, which will not be elaborated here.

[0110] The deployment module 640 is configured to deploy the operation and maintenance requirement products in the target package image information to the sub - nodes according to the operation and maintenance requirement product resource list and the product pre - dependency relationship tree. When deploying the operation and maintenance requirement products to the sub - nodes, the deployment architecture of the sub - nodes is adjusted in real - time according to the resource usage of the sub - nodes. The deployment architecture includes cluster deployment, single - node deployment, and hybrid deployment. In an embodiment, the deployment module 640 may be used to perform the operation S240 described above, which will not be elaborated here.

[0111] In some exemplary embodiments of the present disclosure, the determination module of the automatic deployment device for operation and maintenance products further includes a determination subunit configured to: determine the usage scenario and performance requirements of the target object according to the obtained operation and maintenance requirement products of the target object; and determine the target package information from multiple package information associated with the operation and maintenance requirement products according to the usage scenario and performance requirements.

[0112] In some exemplary embodiments of the present disclosure, the first generation module further includes a first generation subunit configured to: respond to a target package information determination instruction, modify the operation and maintenance requirement product and the target package information according to the obtained customization information; and generate target package image information according to the collected hardware device information of the target object and the modified operation and maintenance requirement product and target package information.

[0113] In some exemplary embodiments of the present disclosure, the automatic deployment device for operation and maintenance products further includes a target package image information deployment unit configured to: before generating an operation and maintenance requirement product resource list and a product pre - dependency relationship tree according to the target package image information deployed to the master node, deploy the target package image information to the master node. The target package image information further includes deployment tool information.

[0114] In some exemplary embodiments of the present disclosure, the second generation module further includes a second generation subunit configured to: allocate resources to the virtual machine image information according to the operation and maintenance requirement products in the target package image information deployed to the master node, generate an operation and maintenance requirement product resource list, where the operation and maintenance requirement product resource list includes an operation and maintenance requirement product list and resource information corresponding to the operation and maintenance requirement products; analyze the operation and maintenance requirement product resource list to generate the pre-dependency relationship between the operation and maintenance requirement products; and generate a product pre-dependency relationship tree according to the pre-dependency relationship between each operation and maintenance requirement product.

[0115] In some exemplary embodiments of the present disclosure, the deployment module includes a deployment subunit configured to: sort the operation and maintenance requirement products in the operation and maintenance requirement product resource list according to the product pre-dependency relationship tree to generate a product deployment order; and deploy the operation and maintenance requirement products in the target image information to the sub-nodes corresponding to the resources in the operation and maintenance requirement product resource list according to the product deployment order.

[0116] In some exemplary embodiments of the present disclosure, the automatic deployment device for the operation and maintenance products further includes an inspection unit configured to: before deploying the operation and maintenance requirement products in the target package image information to the sub-nodes according to the operation and maintenance requirement product resource list and the product pre-dependency relationship tree, inspect the pre-dependency relationship of the operation and maintenance requirement products and the resource information of the sub-nodes, and deploy the operation and maintenance requirement products to the sub-nodes after the inspection passes.

[0117] In some exemplary embodiments of the present disclosure, the automatic deployment device for the operation and maintenance products further includes an operation and maintenance requirement product generation unit configured to: generate operation and maintenance requirement products in a set format information before determining the target package information associated with the operation and maintenance requirement products according to the operation and maintenance requirement products of the obtained target object, where the set format information includes pre-dependency relationship, resource information, and running environment information.

[0118] In an embodiment of the present disclosure, any combination of the determination module 610, the first generation module 620, the second generation module 630, and the deployment module 640 may be integrated into one module, or any one of them may be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules may be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the determination module 610, the first generation module 620, the second generation module 630, and the deployment module 640 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or any other reasonable way of integrating or packaging circuits, etc., implemented by hardware or firmware, or implemented in any one or a suitable combination of the three implementation manners of software, hardware, and firmware. Alternatively, at least one of the determination module 610, the first generation module 620, the second generation module 630, and the deployment module 640 may be at least partially implemented as a computer program module, and when the computer program module runs, it can execute corresponding functions.

[0119] Figure 11 FIG. schematically shows a block diagram of an electronic device suitable for implementing an automatic deployment method of an operation and maintenance product according to an embodiment of the present disclosure. Figure 11 The illustrated electronic device is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0120] As Figure 11 shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 702 or a program loaded from a storage section 708 into a random access memory (RAM) 703. The processor 701 may include, for example, a general microprocessor (such as a CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (such as an application specific integrated circuit (ASIC)), etc. The processor 701 may also include on-board memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0121] In the RAM 703, various programs and data required for the operation of the electronic device 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. The processor 701 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 702 and / or the RAM 703. It should be noted that the programs may also be stored in one or more memories other than the ROM 702 and the RAM 703. The processor 701 may also perform various operations of the method flow according to the embodiments of the present disclosure by executing programs stored in the one or more memories.

[0122] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, and the input / output (I / O) interface 705 is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the I / O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A driver 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the driver 710 as needed so that a computer program read from it can be installed into the storage portion 708 as needed.

[0123] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist separately without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the method according to the embodiments of the present disclosure is implemented.

[0124] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include one or more memories other than the ROM 702 and / or RAM 703 and / or ROM 702 and RAM 703 described above.

[0125] An embodiment of the present disclosure also includes a computer program product, which includes a computer program that contains program code for executing the method shown in the flowchart. When the computer program product runs in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present disclosure.

[0126] When the computer program is executed by the processor 701, it executes the above functions defined in the system / apparatus of the embodiment of the present disclosure. According to an embodiment of the present disclosure, the above-described systems, apparatuses, modules, units, etc. can be implemented by computer program modules.

[0127] In one embodiment, the computer program can rely on tangible storage media such as optical storage devices and magnetic storage devices. In another embodiment, the computer program can also be transmitted and distributed in the form of a signal on a network medium, and is downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code included in the computer program can be transmitted by any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0128] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, it executes the above functions defined in the system of the embodiment of the present disclosure. According to an embodiment of the present disclosure, the above-described systems, devices, apparatuses, modules, units, etc. can be implemented by computer program modules.

[0129] According to embodiments of the present disclosure, program code for executing the computer programs provided by the embodiments of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, such as Java, C++, Python, the "C" language, or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).

[0130] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as combinations of blocks in the block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified functions or operations, or can be implemented using a combination of dedicated hardware and computer instructions.

[0131] Those skilled in the art can understand that the features recited in the various embodiments and / or claims of the present disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly recited in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features recited in the various embodiments and / or claims of the present disclosure can be combined and combined in various ways. All such combinations and / or combinations fall within the scope of the present disclosure.

[0132] The embodiments of the present disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments have been described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and these substitutions and modifications should fall within the scope of the present disclosure.

Claims

1. An automatic deployment method for an operation and maintenance product, comprising: Determining target package information associated with the operation and maintenance requirement product according to the obtained operation and maintenance requirement product of the target object; Responding to the target package information determination instruction, and generating target package image information according to the obtained customization information, where the target package image information includes at least one of the operation and maintenance requirement products and the target package information, deployment tool information, and virtual machine image information associated with the operation and maintenance requirement product; Deploying the target package image information to the master node; Generating an operation and maintenance requirement product resource list and a product pre - dependency relationship tree according to the target package image information deployed to the master node, where the master node includes at least one sub - node; Deploying the operation and maintenance requirement products in the target package image information to the sub - nodes according to the operation and maintenance requirement product resource list and the product pre - dependency relationship tree; Wherein, when deploying the operation and maintenance requirement products to the sub - nodes, the deployment architecture of the sub - nodes is adjusted in real - time according to the resource usage of the sub - nodes, and the deployment architecture includes cluster deployment, single - node deployment, and hybrid deployment; Wherein, generating the operation and maintenance requirement product resource list and the product pre - dependency relationship tree according to the target package image information deployed to the master node includes: Allocating resources to the virtual machine image information according to the operation and maintenance requirement products in the target package image information deployed to the master node, and generating an operation and maintenance requirement product resource list, where the operation and maintenance requirement product resource list includes an operation and maintenance requirement product list and resource information corresponding to the operation and maintenance requirement products; Analyzing the operation and maintenance requirement product resource list to generate pre - dependency relationships between the operation and maintenance requirement products; and Generating the product pre - dependency relationship tree according to the pre - dependency relationships between each operation and maintenance requirement product.

2. The method according to claim 1, wherein: Determining target package information associated with the operation and maintenance requirement product according to the obtained operation and maintenance requirement product of the target object includes: Determining the usage scenario and performance requirements of the target object according to the obtained operation and maintenance requirement product of the target object; and Determining the target package information from multiple package information associated with the operation and maintenance requirement product according to the usage scenario and performance requirements.

3. The method according to claim 1, wherein: Responding to the target package information determination instruction, and generating target package image information according to the obtained customization information includes: Responding to the target package information determination instruction, and modifying the operation and maintenance requirement product and the target package information according to the obtained customization information; and Generating target package image information according to the hardware device information of the target object collected and the modified operation and maintenance requirement product and target package information.

4. The method according to claim 1, wherein: Deploying the operation and maintenance requirement products in the target package image information to the sub - nodes according to the operation and maintenance requirement product resource list and the product pre - dependency relationship tree includes: Sorting the operation and maintenance requirement products in the operation and maintenance requirement product resource list according to the product pre - dependency relationship tree to generate a product deployment order; and Deploy the operation and maintenance required products in the target image information to the sub-nodes corresponding to the resources in the operation and maintenance required product resource list according to the product deployment sequence.

5. The method according to claim 1, wherein It further includes: Before deploying the operation and maintenance required products in the target package image information to the sub-nodes according to the operation and maintenance required product resource list and the product pre-dependency tree, Check the pre-dependency relationship of the operation and maintenance required products and the resource information of the sub-nodes, and deploy the operation and maintenance required products to the sub-nodes after the check passes.

6. The method according to claim 1, wherein It further includes: Before determining the target package information associated with the operation and maintenance required products according to the operation and maintenance required products of the target object obtained, Generate the operation and maintenance required products according to the set format information, where the set format information includes pre-dependency relationship, resource information, and running environment information.

7. An automatic deployment device for operation and maintenance products, including: A determination module configured to determine the target package information associated with the operation and maintenance required products according to the operation and maintenance required products of the target object obtained; A first generation module configured to respond to the target package information determination instruction and generate target package image information according to the customized information obtained, where the target package image information includes at least one of the operation and maintenance required products and the target package information, deployment tool information, and virtual machine image information associated with the operation and maintenance required products; A second generation module configured to deploy the target package image information to the master node, and generate an operation and maintenance required product resource list and a product pre-dependency tree according to the target package image information deployed to the master node, where the master node includes at least one sub-node; A deployment module configured to deploy the operation and maintenance required products in the target package image information to the sub-nodes according to the operation and maintenance required product resource list and the product pre-dependency tree, where when deploying the operation and maintenance required products to the sub-nodes, the deployment architecture of the sub-nodes is adjusted in real time according to the resource usage of the sub-nodes, and the deployment architecture includes cluster deployment, single-node deployment, and hybrid deployment; Among them, the second generation module is specifically configured to: Allocate resources to the virtual machine image information according to the operation and maintenance required products in the target package image information deployed to the master node, and generate an operation and maintenance required product resource list, where the operation and maintenance required product resource list includes an operation and maintenance required product list and resource information corresponding to the operation and maintenance required products; Analyze the operation and maintenance required product resource list to generate the pre-dependency relationship between the operation and maintenance required products; and Generate the product pre-dependency tree according to the pre-dependency relationship between each operation and maintenance required product.

8. An electronic device, including: One or more processors; A storage device for storing executable instructions, where the executable instructions, when executed by the processor, implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, on which executable instructions are stored, and when the instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Monitoring method, monitoring system and computer readable storage medium

    CN109697153A

  • Intelligent deployment method for heterogeneous hybrid environment

    CN112416369A