METHOD AND APPARATUS FOR RECONSTRUCTING AND VERIFYING PRIVATE CLOUD BASED ON STATE TRANSITION

An automated system for private cloud reconstruction and verification addresses the challenges of complex container cluster environments by replicating a standard platform using genetic information, enhancing deployment accuracy and consistency.

JP7540083B2Active Publication Date: 2024-08-26BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023519752
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-10-13
Filing Date
2021-10-12
Publication Date
2024-08-26
Estimated Expiration
2041-10-12

AI Technical Summary

Technical Problem

Private clouds face challenges in automating the reconstruction and verification of complex and massive container cluster environments, leading to inefficiencies and errors in deployment due to the lack of effective methods for system performance and cluster reconstruction.

Method used

An automated system replicates a standard private cloud platform using comprehensive container cluster genetic information to reconstruct and verify the underlying components, ensuring consistency and accuracy through a method that includes obtaining, reconfiguring, and verifying the private cloud platform based on state transition principles.

Benefits of technology

The solution enhances the automation and accuracy of private cloud deployment, ensuring that the newly built platform maintains consistency with technical standards and reduces errors, thereby improving the stability and efficiency of the deployment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540083000008
    Figure 0007540083000008
  • Figure 0007540083000003
    Figure 0007540083000003
  • Figure 0007540083000010
    Figure 0007540083000010
Patent Text Reader

Abstract

The present disclosure provides a private cloud reconstruction and verification method based on state transitions, including: determining whether the underlying underlying platform of the private cloud server cluster to be constructed meets deployment requirements; if so, reconfiguring underlying system components, reconfiguring underlying dependent components, and reconfiguring the private cloud platform product line based on cluster genetic information of the standard private cloud platform and the state of the private cloud server cluster to be constructed; arranging the cluster genetic information based on user requirement information, selecting and deploying product line components of the standard private cloud platform to obtain a reconstructed private cloud platform; and verifying the accuracy and validity of the components for the reconstructed private cloud platform.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority from Chinese Patent Application No. 202011093747.8 filed on October 13, 2020, the contents of which are hereby incorporated by reference. The present disclosure relates to the field of computers, and more particularly to a method and apparatus for private cloud reconstruction and verification based on state transitions. [Background technology]

[0002] Private clouds generally adopt a hierarchical management architecture, with the lower layer supporting a physical server cluster and supporting various business systems of users. Private clouds provide a wide range of products to clients through a service directory. line Provide products line The container cluster technology is used to divide the application into multiple applications, which are interrelated. line It is possible to organize and manage application service programs provided by the container. Container technology can realize gradual transition for a business system based on the flexible transition capability of the container itself, but there is a lack of automatic reconstruction and verification methods for system properties in a complex and huge container cluster environment. Private clouds also have problems in terms of cluster reconstruction, stability, etc. Summary of the Invention [Problem to be solved by the invention]

[0003] In view of this, the present disclosure provides a method and apparatus for automatically reconstructing and verifying an instance private cloud platform that is identical or similar to a standard private cloud platform by using acquired comprehensive container cluster genetic information in a private cloud container cluster environment. [Means for solving the problem]

[0004] One aspect of the present disclosure is Obtaining information of an underlying platform of a private cloud server cluster to be constructed, and determining whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement; If the underlying platform meets the deployment requirements, obtain cluster genetic information of the standard private cloud platform, and reconfigure the underlying system components, reconfigure the underlying dependent components, and reconfigure the private cloud platform product according to the cluster genetic information and the state of the private cloud server cluster to be built. line and Obtain user requirement information, and configure cluster genetic information according to the user requirement information; and generate a standard private cloud platform product. line Select and deploy components to obtain a re-architected private cloud platform; and verifying the correctness and validity of components of the reconstructed private cloud platform.

[0005] According to an embodiment of the present disclosure, obtaining information of an underlying platform of a private cloud server cluster to be constructed and determining whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement includes: Obtaining lower-level basic genetic information of the private cloud server cluster to be constructed, which is obtained by scanning the out-of-band management system and the in-band management system; The lower-layer basic genetic information is compared with the lower-layer basic genetic information of a standard private cloud platform to obtain difference situation data; determining whether the underlying underlying platform of the private cloud server cluster to be constructed meets a deployment requirement based on the difference status data; and marking the physical device to an initial state if the underlying underlying platform meets the deployment requirement.

[0006] According to an embodiment of the present disclosure, the reconfiguration of the underlying system components includes: Confirm that the private cloud server cluster to be constructed is in a physical device initial state, and install the operating systems of all service servers according to the step information of the operating system of the standard private cloud in the cluster genetic information; Deploying a network component according to network topology genetic information of the standard private cloud in the cluster genetic information; Cluster component information in the cluster gene information Based on Creating a cluster component in the private cloud platform to be built.

[0007] According to an embodiment of the present disclosure, the reconfiguration of the lower layer dependent component includes: It is confirmed that the private cloud server cluster to be constructed is in a basic system environment state, and each product is assigned to each node of the cluster component based on the basic dependent gene information in the cluster genetic information. line This includes deploying underlying dependent components.

[0008] According to an embodiment of the present disclosure, the private cloud platform product line The reconstruction of The method includes confirming that the private cloud server cluster to be constructed is in a basic dependency environment state, performing product component reconfiguration on IaaS product components, PaaS product components, and SaaS product components, and marking the product component reconfiguration to a static service tree state after the product component reconfiguration is completed.

[0009] According to an embodiment of the present disclosure, the component reconfiguration includes: determining whether a resource associated with the component and a dependent component have been created; and upon determining that a resource associated with the component and a dependent component have been created, reconfiguring the component based on genetic information corresponding to the component.

[0010] According to an embodiment of the present disclosure, the user requirement information is obtained, and cluster gene information is arranged according to the user requirement information, and a standard private cloud platform product is provided. line Selecting and deploying components is Confirming that the private cloud server cluster to be built is in a static service tree state, and selecting a standard private cloud platform version deployed in the private cloud server cluster to be built according to user request information; Obtaining cluster genetic information corresponding to the standard private cloud platform version as the cluster genetic information to be deployed; According to the function and technical index demand of the private cloud server cluster to be constructed, adjusting the cluster genetic information to be deployed, and checking the conformity of the adjustment process of the cluster genetic information to be deployed; If the standard conformance test is passed, the standard private cloud platform product components corresponding to the cluster genetic information to be deployed are selected and deployed.

[0011] According to an embodiment of the present disclosure, performing a verification of the accuracy and validity of components for the reconstructed private cloud platform includes: Sequentially verifying the accuracy and validity of component reconfiguration in three dimensions, namely, a system hierarchy dimension, an association relationship dimension, and a dependency dimension, for the reconfigured private cloud platform; if the verification determines that a reconstruction error exists for the component, inspecting the component and its related and dependent components; If there are reconstruction errors in the related and dependent components, reconstructing the related and dependent components until all components are correctly reconstructed.

[0012] According to another aspect of the present disclosure, an underlying platform information detection module, which obtains information of an underlying platform of a private cloud server cluster to be constructed, and determines whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement; Obtain cluster genetic information of the standard private cloud platform, and reconfigure lower-layer system components, reconfigure lower-layer dependent components, and generate a private cloud platform product based on the cluster genetic information and the state of the private cloud server cluster to be constructed. line A reconstruction module for reconstructing the Obtain user requirement information, and configure cluster genetic information according to the user requirement information; and generate a standard private cloud platform product. line A selection and deployment module for selecting and deploying components to obtain a reconstructed private cloud platform; A verification module for verifying the correctness and validity of components of the reconstructed private cloud platform is provided.

[0013] According to another aspect of the present disclosure, one or more processors; a storage device storing one or more programs; An electronic device is provided that, when the one or more programs are executed by the one or more processors, causes the one or more processors to execute the private cloud reconstruction and verification method based on the state transition.

[0014] According to another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described state transition based private cloud reconstruction and verification method.

[0015] According to the embodiments of the present disclosure, the problem of overall copying and reconstruction to a standard private cloud platform container cluster can be at least partially solved, thereby improving the degree of automation in the private cloud platform deployment process and effectively ensuring that a newly constructed private cloud platform and a stable standard private cloud platform maintain the consistency of technical indicators. [Brief description of the drawings]

[0016] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of the embodiments of the present disclosure with reference to the drawings, in which: [Figure 1a] FIG. 1a illustrates a schematic diagram of an exemplary system architecture to which the state transition-based private cloud reconstruction and verification method and apparatus according to an embodiment of the present disclosure can be applied. [Figure 1b] FIG. 1b illustrates a schematic implementation flow of the private cloud reconstruction and verification method and apparatus based on state transition according to an embodiment of the present disclosure. [Figure 1c] FIG. 1c is a structural block diagram of hierarchical gene information of a private cloud cluster system in an embodiment of the present disclosure. [Diagram 2]FIG. 2 is a schematic diagram illustrating a flowchart of a private cloud reconstruction and verification method based on state transition according to an embodiment of the present disclosure. [Diagram 3] FIG. 3 illustrates a schematic flow chart of the reconstruction based on the cluster gene information according to an embodiment of the present disclosure. [Figure 4] FIG. 4 illustrates a schematic diagram of a private cloud product line according to an embodiment of the present disclosure. [Diagram 5] FIG. 5 illustrates a schematic flow chart of a product component deployment method according to an embodiment of the present disclosure. [Figure 6] FIG. 6 illustrates a schematic flow chart of a method for validating a reconstructed private cloud platform according to an embodiment of the present disclosure. [Figure 7] FIG. 7 is a block diagram illustrating a private cloud reconstruction and verification apparatus based on state transition according to an embodiment of the present disclosure. [Figure 8] FIG. 8 is a block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, the embodiments of the present invention will be described with reference to the drawings. However, it should be understood that these descriptions are merely illustrative and do not limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are described to provide a thorough understanding of the embodiments of the present disclosure. However, it will be apparent that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of known structures and techniques are omitted to avoid unnecessarily confusing the concepts of the present disclosure.

[0018] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the disclosure. As used herein, the terms "comprises", "including", and the like indicate the presence of stated features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.

[0019] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. However, the terms used herein should be interpreted to have meanings consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0020] When a statement similar to "at least one of A, B, and C, etc." is used, it should generally be interpreted in the sense that one of ordinary skill in the art would generally understand the statement (e.g., "a system having at least one of A, B, and C" includes, but is not limited to, systems having A alone, having B alone, having C alone, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).

[0021] An embodiment of the present disclosure includes obtaining information of an underlying platform of a private cloud server cluster to be constructed, determining whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement; if the underlying platform meets the deployment requirement, obtaining cluster gene information of a standard private cloud platform, and reconfiguring underlying system components, underlying dependent components, and a private cloud platform product according to the cluster gene information and the status of the private cloud server cluster to be constructed. line Reconfiguring the cluster genetic information; obtaining user request information; and arranging the cluster genetic information according to the user request information; and reconfiguring the cluster genetic information according to the user request information. lineA private cloud reconstruction and verification method based on state transition is provided, including: selecting and deploying components to obtain a reconstructed private cloud platform; and verifying the correctness and validity of the components for the reconstructed private cloud platform.

[0022] Every time a private cloud cluster seals a version, all containers in the cluster need to be packed together, so a lot of information in the cluster is hardened. When operation and maintenance personnel deploy the same version of the private cloud platform in different environments, they will have various problems during deployment due to differences in the environment, and operation and maintenance personnel often need to understand and understand the hardening information and modification methods of various products when sealing the version to solve the deployment problems, which greatly increases the deployment costs of private clouds. At the same time, the traditional technology mainly relies on the automatic organization function of K8S and the execution according to configuration files and scripts to create a cluster, and does not achieve complete systemization and automation. In addition, the traditional technology deploys again after mirroring or packing the program, and the components are relatively isolated, and the complex interrelationships and dependencies between components are not taken into account, which is prone to errors.

[0023] In order to solve the above problems, the embodiment of the present disclosure provides a method and apparatus for reconstructing and verifying a private cloud based on state transition. Figure 1a is a schematic diagram of an exemplary system architecture to which the method and apparatus for reconstructing and verifying a private cloud based on state transition according to the embodiment of the present disclosure can be applied. It should be noted that, in order to allow those skilled in the art to understand the technical content of the present disclosure, the example shown in Figure 1a is merely an example to which the system architecture of the embodiment of the present disclosure can be applied, and does not mean that the embodiment of the present disclosure cannot be used in other devices, systems, environments or scenes.

[0024] 1a, the system architecture 100 according to the embodiment may include a cluster genetic information database 101, a private cloud server cluster 102 to be established, and a network 103. The network 103 provides a medium for a communication link between the cluster genetic information database 101 and the private cloud server cluster 102 to be established. The network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables.

[0025] Here, the cluster gene information database 101 stores the cluster gene information of the standard private cloud platform, and the standard private cloud platform is a private cloud platform environment that has undergone a long period of research and development and quality verification to ensure that each technical indicator, such as function, performance, stability, scalability, and security, can meet the technical standard requirements. The cluster gene is structured information that can fully represent key information, such as the number, arrangement, configuration, data, association relationship, and dependency relationship, of each component in the cluster, thereby realizing the automated creation and component deployment of the same or similar clusters. The cluster gene information database 101 may be a data server related to the private cloud server cluster 102 to be constructed, or in another embodiment, the cluster gene information database 101 may be further configured in a server in the private cloud server cluster 102 to be constructed.

[0026] The cluster genetic information database 101 and the private cloud server cluster 102 to be constructed are connected by a network 103, and the private cloud server cluster 102 to be constructed can obtain data information of the cluster genetic information database 101 through the network 103, thereby realizing the deployment of a private cloud platform in the private cloud server cluster 102 to be constructed. Illustratively, the state transition-based private cloud reconstruction and verification system is based on K8S technology and can effectively improve the degree of automation of the processing of copying cluster genetic information to a new private cloud platform based on the characteristics of containers in the K8S cluster.

[0027] As should be explained, the private cloud reconstruction and verification method based on state transitions provided by the embodiments of the present disclosure can be generally executed by the private cloud server cluster 102 to be constructed. Accordingly, the private cloud reconstruction and verification device based on state transitions provided by the embodiments of the present disclosure can be generally installed in the private cloud server cluster 102 to be constructed. The private cloud reconstruction and verification method based on state transitions provided by the embodiments of the present disclosure may be executed by a server or server cluster that is different from the private cloud server cluster 102 to be constructed and that can communicate with the private cloud server cluster 102 to be constructed. Accordingly, the private cloud reconstruction and verification device based on state transitions provided by the embodiments of the present disclosure may be installed in a server or server cluster that is different from the private cloud server cluster 102 to be constructed and that can communicate with the private cloud server cluster 102 to be constructed.

[0028] It should be understood that the number of databases, servers, and networks in Figure 1 is merely exemplary, and any number of servers and networks may be included, depending on the implementation needs.

[0029] 1b is a schematic diagram illustrating an implementation flow of a method and apparatus for reconstructing and verifying a private cloud based on state transitions according to an embodiment of the present disclosure. According to an embodiment of the present disclosure, a standard private cloud platform is reconstructed in a private cloud server cluster 102 to be constructed based on the cluster genetic information of the standard private cloud platform stored in a cluster genetic database 101.

[0030] In this embodiment, the cluster gene information is stored, which is collected and collected comprehensively from the standard private cloud platform according to the cluster gene database 101. In a container cluster, according to the organizational characteristics of the container, the cluster gene can include all the key information of the container cluster and various containers having business applications contained therein, and these key information can realize the reconstruction of the same or similar container cluster and service application in other server clusters.

[0031] Here, the cluster genetic information includes three dimensions of information. The first dimension is the eight hierarchical information forming the private cloud cluster, i.e., the system hierarchy genetic information, which realizes the discrete, full coverage collection of module components, and realizes the configuration analysis and information collection of modules and components through the system hierarchy genetic information. The second dimension is the product of the cluster. line The third dimension is the product of the cluster. line The second is a set of dependencies between modules and components, i.e., dependency gene information.

[0032] Based on the above three dimensions, a complete private cloud cluster genetic information set is formed. Using this private cloud cluster genetic information set, IaaS, PaaS, SaaS platforms and container clusters are constructed in the private cloud server cluster 102 to be constructed, and a standard private cloud platform is reconstructed. Here, IaaS is a cloud platform service layer including basic cloud resources such as virtualized computing resources, virtualized network resources, and virtualized storage resources. PaaS is a cloud platform service layer that provides platform layer cloud resources such as databases, middleware, development components, big data components, etc. SaaS is a cloud platform service layer that provides software resources to support specific business operations.

[0033] As a result, the state transition-based private cloud reconstruction and verification system of the embodiment of the present disclosure solves the technical problem of error-proneness in the process of manually implementing private cloud deployment, improves the accuracy and efficiency of automated cluster-wide deployment, effectively improves the efficient copying of private cloud platform clusters based on cluster genetic information, realizes truly comprehensive system automated deployment of private cloud platforms, and ensures the stability, component availability, and system performance of the newly created private cloud platform and the standard private cloud platform maintaining consistency.

[0034] FIG. 1c is a structural block diagram of a private cloud system hierarchical genetic information of an embodiment of the present disclosure.

[0035] As shown in FIG. 1c, the private cloud cluster system is divided into eight cluster genetic information hierarchies from the bottom up. Here, the first to third layers are basic system genetic information. Specifically, the cluster genetic information in the first layer is information collected by automatically scanning the genetic information of the physical server cluster by the out-of-band management system and the in-band management system, such as the number of servers, server specifications, server configuration, and server type (management node, computing node, storage node, etc.). The cluster genetic information in the second layer is information automatically scanned by the cloud platform operation and maintenance management system, such as the operating system and network topology of the service server. The cluster genetic information in the third layer is cluster component information scanned and collected by the cloud platform operation and maintenance management system, such as cluster components such as Kubernetes and zookeeper.

[0036] The fourth layer is the basic dependency information, which is collected by scanning the cloud platform operation and maintenance management system and is used for each product on the private cloud platform. line Information on dependent components, e.g., logging systems, monitoring systems, security protection systems, DNS services, etc.

[0037] The fifth to seventh layers are products lineStatic service tree gene information. Specifically, the fifth layer of cluster gene information is obtained by scanning the IaaS product component information in the private cloud platform through the private cloud management platform and the Kubernetes cluster management module, and includes K8S services, Pods, APIs, containers, applications, groups, container mirrors, etc. that support the product components. The sixth layer of cluster gene information is obtained by scanning the PaaS product component information in the private cloud platform through the private cloud management platform and the Kubernetes cluster management module, and includes virtual machines, K8S services, Pods, APIs, containers, applications, groups, container mirrors, etc. that support the product components. The seventh layer of cluster gene information is obtained by scanning the SaaS product component information in the private cloud platform through the private cloud management platform and the Kubernetes cluster management module, and includes virtual machines, virtual storage, virtual networks, PaaS services, K8S services, Pods, APIs, containers, applications, groups, container mirrors, etc. that support the product components.

[0038] The eighth layer cluster gene information is to verify the consistency and completeness of all collected information, and generate corresponding verification information and version information. Illustratively, the version information is determined according to the automatic generation rule of the version, such as the self-increment of the version number of the minor version, or the version number is determined based on artificial, and the version number of each module component gene information of the cluster is generated.

[0039] The state transition-based private cloud reconstruction and verification system of the embodiment of the present disclosure uses the genetic information of the container cluster in the private cloud cluster genetic information set to reconstruct a new private cloud platform, thereby ensuring that the structure and function of the new private cloud platform are consistent with those of the traditional standard private cloud platform, and ensuring the consistency of the technical standards of the private cloud platform.

[0040] FIG. 2 is a schematic diagram illustrating a flowchart of a private cloud reconstruction and verification method based on state transition according to an embodiment of the present disclosure.

[0041] As shown in FIG. 2, the method includes operations S210 to S240. In operation S210, obtain information of an underlying foundation platform of a private cloud server cluster to be constructed, and determine whether the underlying foundation platform of the private cloud server cluster to be constructed meets a deployment requirement.

[0042] In operation S220, if the underlying platform meets the deployment requirements, obtain cluster genetic information of a standard private cloud platform, and determine the underlying system components, underlying dependent components and private cloud platform products based on the cluster genetic information and the state of the private cloud server cluster to be constructed. line Reconstruct the configuration.

[0043] In operation S230, obtain user request information, and configure cluster gene information according to the user request information. line Select and deploy components to get a reimagined private cloud platform.

[0044] In operation S240, the reconstructed private cloud platform is subjected to component accuracy and validity verification.

[0045] The method shown in FIG. 2 will be further described below with reference to a specific example. In operation S210, the out-of-band management system and the in-band management system automatically scan the underlying basic genetic information of the private cloud server cluster to be built, such as the number of servers, server specifications, server configuration, and server type (management node, computing node, storage node, etc.). The out-of-band management system and the in-band management system obtain the underlying basic genetic information of the private cloud server cluster to be built obtained by scanning, then classify the underlying basic genetic information and perform a comparison analysis with the underlying basic genetic information of the standard private cloud platform to obtain the difference situation data of the underlying platform, and determine whether the underlying basic platform of the private cloud server cluster to be built meets the deployment requirements based on the difference situation data. If the difference of the basic platform meets the technical requirements, the subsequent system reconstruction flow can be carried out.

[0046] For example, the difference status data can be compared with a predetermined threshold to automatically determine whether the deployment requirements are met, or a difference information report can be further formed based on the difference status data, and the report can be sent to an operation and maintenance personnel so that the operation and maintenance personnel can understand the differences in the underlying hardware equipment between the newly created platform and the standard private cloud platform, and when important issues affect the deployment of the private cloud platform, they need to be manually resolved.

[0047] After determining whether the underlying underlying platform of the to-be-constructed private cloud server cluster meets the deployment requirements, mark the to-be-constructed private cloud server cluster as being in a physical device initial state, which indicates the initial cluster state after all physical servers in a new machine room are racked up, powered on, and connected to network devices.

[0048] In operation S220, when the underlying foundation platform meets the deployment requirements, obtain cluster gene information of the standard private cloud platform through the cluster gene database, where the cluster gene information includes foundation system gene information, foundation dependent gene information and product line Then, based on the cluster gene information, the lower-layer system components, the lower-layer dependent components, and the private cloud platform products are line Reconfigure the following:

[0049] FIG. 3 illustrates a schematic flow chart of the reconstruction based on the cluster gene information according to an embodiment of the present disclosure.

[0050] As shown in FIG. 3, the operation S220 includes operations S221 to S223. In operation S221, confirm that the private cloud server cluster to be constructed is in a physical device initial state, and reconfigure lower-level system components by using basic system gene information in a cluster gene database. Illustratively, the operation S221 includes operations S2211 to S2213.

[0051] In operation S2211, the cloud platform operation and maintenance management system installs the operating systems of all service servers according to the step information of the standard private cloud operating system in the acquired basic system genetic information.

[0052] Then, in operation S2212, the cloud platform operation and maintenance management system and the out-of-band network management system deploy all network components based on the network topology genetic information of the standard private cloud in the acquired basic system genetic information, so that the private cloud platform to be constructed has a network structure that meets the requirements. After completing the physical network deployment, check whether the physical network is consistent with the deployment criteria of the standard cloud platform.

[0053] Then, in operation S2213, the cloud platform operation and maintenance management system Cluster component information in Based on this, create cluster components, such as Kubernetes, Zookeeper, etc., in the private cloud platform to be built, thereby completing the deployment of the basic system environment. At this time, mark the private cloud server cluster to be built as the basic system environment state, which indicates the basic state after installing the operating system, configuring the network, and installing the basic components for all server nodes in the initial state of the physical device.

[0054] In operation S222, confirm that the private cloud server cluster to be constructed is in the environment state of the basic system, and reconfigure the lower-layer dependent components using the basic dependent gene information of the cluster gene database. Illustratively, the cloud platform operation and maintenance management system is used to line Based on the genetic information of the components that are depended on, such as the log system, the monitoring system, the security protection system, the DNS service, etc., each product is assigned to each node of the cluster component. lineAt this time, the private cloud server cluster to be constructed is marked as a basic dependent environment state, which indicates a state after the basic dependent software required for the private cloud platform cluster is installed and deployed in the basic system environment state.

[0055] In operation S223, it is confirmed that the private cloud server cluster to be constructed is in a basic dependent environment state, and the product of the cluster gene database is line Private cloud products using static service tree gene information line Reconstruct the product line The static service tree genes include IaaS product component gene information, PaaS product component gene information, and SaaS product component gene information.

[0056] FIG. 4 illustrates a private cloud product according to an embodiment of the present disclosure. line As shown in Figure 4, the private cloud platform is an IaaS product. line , PaaS Products line and SaaS products line Including each product line includes multiple products, each product is divided into multiple application groups, where the application group can be structured by mirroring package or program package. line When reconfiguring, different application groups are placed online.

[0057] Specifically, the operation S223 includes operations S2231 to S2232. In operation S2231, the private cloud management platform and the Kubernetes cluster management module create components such as services, pods, APIs, containers, applications, groups, container mirrors, etc. that correspond to the K8S container cluster according to the component association relationships and component dependencies based on the genetic information of the IaaS product components in the cluster genetic database, and verify the consistency and completeness of the components.

[0058] In the process of automatically reconstructing a large number of components, before a component is created, it is first necessary to determine that its associated resources and dependent components have all been created, and then the component is created based on the associated genetic information.

[0059] For example, when creating a cloud database MySQL product, first create an application group based on organization gene information, then determine the access address and component version of the container mirroring or program package based on the group information, and then perform device allocation and service deployment according to the organization order of the application, and register the application service to realize the external service of the cloud database MySQL product.

[0060] In operation S2232, the PaaS product components and SaaS product components in the private cloud platform to be constructed are reconfigured according to the method of operation S2231.

[0061] After completing the above-mentioned reconfiguration, in operation S230, obtain user request information, and configure cluster gene information according to the user request information, and configure the product of the standard private cloud platform. lineThe components are selected and deployed to obtain a reconstructed private cloud platform. At this time, the private cloud server cluster to be constructed is marked as a static service tree state. The static service tree state is determined based on the basic dependent environment state and each product is assigned to the static service tree state. line This indicates that the mirroring package and program package are uploaded to the cluster state in the system.

[0062] FIG. 5 is a flow chart that illustrates a schematic diagram of a product component deployment method according to an embodiment of the present disclosure.

[0063] As shown in FIG. 5, the method includes operations S231 to S233. In operation S231, confirm that the private cloud server cluster to be constructed is in a static service tree state, and select a standard private cloud platform version to be deployed on the new private cloud platform based on a user's request.

[0064] In operation S232, the corresponding genetic information of the required standard private cloud platform version is read into the system reconstruction and verification platform in an automatic reading manner.

[0065] In operation S233, for the version of the private cloud platform, the cluster gene information that needs to be deployed is adjusted according to the function and technical index demand of the newly created private cloud platform.

[0066] Here, the deployed cluster genetic information needs to meet technical specifications. Therefore, in operation S234, the system automatically checks the conformity of the specifications to prevent system failure caused by the deployment change. If the specification conformity check is passed, the system selects and deploys the product components of the standard private cloud platform corresponding to the cluster genetic information to be deployed.

[0067] After completing the deployment, a reconstructed private cloud platform is obtained, and then in operation S240, the correctness and validity of components are verified on the reconstructed private cloud platform.

[0068] FIG. 6 illustrates a schematic flow chart of a method for validating a reconstructed private cloud platform according to an embodiment of the present disclosure.

[0069] As shown in FIG. 6, the method includes operations S241 to S242. In operation S241, the reconstructed private cloud platform is subjected to verification of the accuracy and validity of the component reconstruction according to three dimensions, including a system hierarchy dimension, an association relationship dimension, and a dependency dimension, and is divided into three verifications, each of which verifies the genetic information of one dimension.

[0070] In operation S242, if the reconfiguration error of the component is verified, the related component and its related components and dependent components are inspected, and if the related components and dependent components have a creation error, they are recreated, and then the components with errors are recreated until all components are created correctly. At this time, the private cloud server cluster to be constructed is marked in a cluster operation state, and the cluster operation state is the product line After performing device allocation and organization for each application group based on the associations and dependencies of the application services, all application services are started and operate normally.

[0071] The embodiment of the present disclosure realizes the reconstruction of the private cloud platform based on the container cluster genes of the system hierarchy dimension, the association relationship dimension, and the dependency dimension, and can more accurately copy the overall picture of the standard container cluster to the newly created private cloud platform. At the same time, the private cloud platform reconstruction and verification technology based on the cluster gene information of the private cloud container cluster can greatly improve the degree of automation in the private cloud platform deployment process, and can effectively ensure the consistency of technical indicators between the newly created private cloud platform and the stable standard private cloud platform.

[0072] FIG. 7 is a block diagram illustrating a private cloud reconstruction and verification apparatus based on state transition according to an embodiment of the present disclosure.

[0073] As shown in FIG. 7 , the private cloud reconstruction and verification apparatus 700 based on state transition includes an underlying platform information detection module 710 , a reconfiguration module 720 , a selection deployment module 730 and a verification module 740 .

[0074] Here, the underlying platform information detection module 710 obtains information of the underlying platform of the private cloud server cluster to be constructed, and determines whether the underlying platform of the private cloud server cluster to be constructed meets the deployment requirements.

[0075] The reconfiguration module 720 obtains cluster genetic information of the standard private cloud platform, and reconfigures lower-level system components, reconfigures lower-level dependent components, and reconfigures the private cloud platform product according to the cluster genetic information and the state of the private cloud server cluster to be constructed. line Reconfigure the following:

[0076] The selection deployment module 730 obtains user request information, and deploys cluster genetic information according to the user request information, and selects a standard private cloud platform product. line Select and deploy components to get a reimagined private cloud platform.

[0077] A validation module 740 validates the accuracy and validity of components for the reconstructed private cloud platform.

[0078] Any of the modules and units according to the embodiments of the present disclosure, or at least some of the functions of any of the modules and units, may be implemented in one module. Any of the modules and units according to the embodiments of the present disclosure may be implemented by dividing them into a plurality of modules. Any of the modules and units according to the embodiments of the present disclosure may be implemented at least partially in a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), an on-chip system, a system on a board, a system on a package, an application specific integrated circuit (ASIC), or in any other reasonable manner of hardware or firmware integrated or packaged in a circuit, or in any one of the three implementation manners of software, hardware, and firmware, or in any suitable combination of any of the three implementation manners. Alternatively, any of the modules and units according to the embodiments of the present disclosure may be implemented at least partially as a computer program module, and the computer program module may perform a corresponding function when executed.

[0079] For example, any of the underlying platform information detection module 710, the reconfiguration module 720, the selection deployment module 730, and the verification module 740 may be integrated into one module, or any one of the modules may be divided into multiple modules. Or, at least some functions of one or more of these modules may be combined with at least some functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the underlying platform information detection module 710, the reconfiguration module 720, the selection deployment module 730, and the verification module 740 may be at least partially implemented in a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a board, a system on a package, an application specific integrated circuit (ASIC), or any other reasonable manner integrated or packaged in a circuit, or may be implemented in any one of the three implementation manners of software, hardware, and firmware, or any suitable combination thereof. Alternatively, at least one of the underlying basic platform information detection module 710, the reconfiguration module 720, the selection deployment module 730 and the verification module 740 may be at least partially implemented as a computer program module, and the corresponding function can be performed when the computer program module is executed.

[0080] 8 is a block diagram of an electronic device according to an embodiment of the present disclosure. The electronic device shown in FIG. 8 is only an example and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.

[0081] 8, an electronic device 800 includes a processor 810 and a computer-readable storage medium 820. The electronic device 800 can execute a method according to an embodiment of the present disclosure.

[0082] In particular, the processor 810 may include, for example, a general purpose microprocessor, an instruction set processor and / or related chips and / or a special purpose microprocessor (e.g., an application specific integrated circuit (ASIC)). The processor 810 may further include on-board memory for cache purposes. The processor 810 may be a single processing unit or multiple processing units that perform different operations depending on the flow of the method according to the embodiment of the present disclosure.

[0083] The computer-readable storage medium 820 may be, for example, a non-volatile computer-readable storage medium, specific examples of which include, but are not limited to, a magnetic storage device, such as a magnetic tape or a hard disk (HDD), an optical storage device, such as an optical disk (CD-ROM), a memory, such as a random access memory (RAM) or a flash memory, and the like.

[0084] The computer readable storage medium 820 includes a computer program 821, which may include code / computer executable instructions, which when executed by the processor 810 causes the processor 810 to perform a method according to an embodiment of the present disclosure or any variation thereof.

[0085] The computer program 821 may be configured as computer program code including, for example, computer program modules. For example, in an exemplary embodiment, the code in the computer program 821 may be configured as one or more program modules, e.g. Module It should be noted that the division manner and number of modules are not fixed, and those skilled in the art can use appropriate program modules or combinations of program modules according to actual situations, and when the combinations of these program modules are executed by the processor 810, the processor 810 can perform the method according to the embodiments of the present disclosure or any variations thereof.

[0086] According to an embodiment of the present disclosure, at least one of the underlying platform information detection module 710, the reconfiguration module 720, the selection deployment module 730 and the verification module 740 can be implemented as a computer program module as described with reference to FIG. 8, and when executed by the processor 810, can realize the corresponding operations described above.

[0087] The present disclosure further provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be integrated into the device / apparatus / system, the computer-readable storage medium carrying one or more programs, which, when executed, realizes the method according to the embodiments of the present disclosure.

[0088] The flowcharts and block diagrams in the drawings illustrate possible system architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment or part of code, which includes one or more executable instructions for implementing a certain logical function. It should be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than the order marked in the drawings. For example, two successively shown blocks may actually be essentially executed in parallel, or they may be executed in the reverse order, depending on such functions. It should be noted that each block in the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts, may be implemented in a system based on dedicated hardware that performs a certain function or operation, or may be implemented in a combination of dedicated hardware and computer instructions.

[0089] Although the present disclosure has been described with reference to specific exemplary embodiments thereof, as will be understood by those skilled in the art, various changes in form and details of the present disclosure can be made without departing from the spirit and scope of the present disclosure as defined by the appended claims and equivalents thereof. Thus, the scope of the present disclosure should not be limited to the above-described embodiments, but should be determined not only by the appended claims but also by the equivalents of the appended claims.

Claims

1. A private cloud reconstruction and verification method based on state transition, comprising: Obtaining information of an underlying platform of a private cloud server cluster to be constructed, and determining whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement; If the underlying foundation platform meets the deployment requirements, obtain cluster gene information of the standard private cloud platform, and reconfigure the underlying system components, reconfigure the underlying dependent components, and reconfigure the private cloud platform product line according to the cluster gene information and the state of the private cloud server cluster to be constructed; Obtaining user requirement information, and arranging the cluster gene information according to the user requirement information, and selecting and deploying product line components of a standard private cloud platform to obtain a reconstructed private cloud platform; and verifying the accuracy and validity of components for the reconstructed private cloud platform. Private cloud reconstruction and verification method.

2. Obtaining information of an underlying platform of a private cloud server cluster to be constructed, and determining whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement, Obtaining lower-level basic genetic information of the private cloud server cluster to be constructed, which is obtained by scanning the out-of-band management system and the in-band management system; The lower-layer basic genetic information is compared with the lower-layer basic genetic information of a standard private cloud platform to obtain difference situation data; determining whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement based on the difference status data; and marking the physical device as being in an initial state if the underlying platform meets the deployment requirement. The method for reconstructing and verifying a private cloud according to claim 1 .

3. Reconfiguring the underlying system components Confirm that the private cloud server cluster to be constructed is in a physical device initial state, and install the operating systems of all service servers according to the step information of the operating system of the standard private cloud in the cluster genetic information; Arranging network components according to network topology genetic information of the standard private cloud in the cluster genetic information; and creating a cluster component in the private cloud platform to be constructed based on the cluster component information in the cluster genetic information. The method for reconstructing and verifying a private cloud according to claim 2 .

4. The reconfiguration of the lower layer dependent component includes: Confirming that the private cloud server cluster to be constructed is in a basic system environment state, and deploying lower-level dependent components of each product line to each node of the cluster component based on basic dependent genetic information in the cluster genetic information. The method for reconstructing and verifying a private cloud according to claim 3 .

5. The restructuring of the private cloud platform product line includes: Confirming that the private cloud server cluster to be constructed is in a basic dependency environment state, performing product component reconfiguration on the IaaS product components, the PaaS product components, and the SaaS product components, and marking the product component reconfiguration as a static service tree state after the product component reconfiguration is completed. The method for reconstructing and verifying a private cloud according to claim 4.

6. The component reconfiguration includes: determining whether resources associated with the component and dependent components have been reconfigured; and upon determining that a resource associated with the component and a dependent component have been reconfigured, reconfiguring the component based on genetic information corresponding to the component. The method for reconstructing and verifying a private cloud according to claim 5 .

7. Obtaining the user requirement information, and arranging cluster gene information according to the user requirement information, and selecting and deploying a standard private cloud platform product line component. Confirming that the private cloud server cluster to be built is in a static service tree state, and selecting a standard private cloud platform version deployed in the private cloud server cluster to be built according to user request information; Obtaining cluster genetic information corresponding to the standard private cloud platform version as the cluster genetic information to be deployed; According to the function and technical index demand of the private cloud server cluster to be constructed, adjust the cluster genetic information to be configured, and check the conformity of the adjustment process of the cluster genetic information to be configured. If the standard conformance test is passed, the standard private cloud platform product components corresponding to the cluster genetic information to be deployed are selected and deployed. The method for reconstructing and verifying a private cloud according to claim 5 .

8. performing a verification of the accuracy and validity of components for the reconstructed private cloud platform; Sequentially verifying the accuracy and validity of component reconfiguration in three dimensions, namely, a system hierarchy dimension, an association relationship dimension, and a dependency dimension, for the reconfigured private cloud platform; if the verification determines that a reconstruction error exists for the component, inspecting the component and its related and dependent components; if there are reconstruction errors in the related and dependent components, reconstructing the related and dependent components until all components are correctly reconstructed. The method for reconstructing and verifying a private cloud according to claim 7.

9. A private cloud reconstruction and inspection device based on state transition, an underlying platform information detection module, which obtains information of an underlying platform of a private cloud server cluster to be constructed, and determines whether the underlying platform of the private cloud server cluster to be constructed meets a deployment requirement; A reconfiguration module obtains cluster genetic information of a standard private cloud platform, and performs reconfiguration of lower-layer system components, reconfiguration of lower-layer dependent components, and reconfiguration of a private cloud platform product line according to the cluster genetic information and the state of a private cloud server cluster to be constructed; A selection and deployment module for obtaining user requirement information, and arranging cluster gene information according to the user requirement information, and selecting and deploying product line components of a standard private cloud platform to obtain a reconstructed private cloud platform; a verification module for verifying the accuracy and validity of components for the reconstructed private cloud platform. Private cloud reconstruction and testing equipment.

10. one or more processors; a storage device storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the method for reconstructing and verifying a private cloud based on state transitions according to any one of claims 1 to 8. electronic equipment.

11. Executable instructions are stored which, when executed by a processor, cause the processor to perform the state transition based private cloud reconstruction and verification method according to any one of claims 1 to 8. A computer-readable storage medium.

Citation Information

Patent Citations

  • PAAS cloud cluster construction method and device, electronic device and storage medium

    CN111193782A

  • Information processing system, information processing device, and program

    JP2019070972A

  • Customized application state transition

    US20180157472A1

  • Information system construction assistance device, information system construction assistance method, and storage medium

    WO2014054231A1