Cloud platform construction scheme generation method and device, storage medium and electronic equipment
By generating a cloud platform construction plan, the problems of errors and long time in the construction of the cloud computing platform are solved, and efficient and accurate cloud platform construction is achieved.
Patent Information
- Application Number
- CN202411550549.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-25
AI Technical Summary
The lack of construction plans during the construction process of existing cloud computing platforms, which makes it easy to make mistakes in construction, difficult to check after errors, and a long construction time.
Provide a method for generating a cloud platform construction plan. By obtaining the product deployment plan for the cloud platform to be built, a single product model is classified into an atomic model, combining the application scenario information to form a combination construction model, and generating a model construction plan based on the construction information of the available zone, and finally generating a cloud platform construction plan.
By generating construction plans, avoid construction errors, simplify error investigations, and significantly shorten the construction time of cloud platform.
Smart Images

Figure CN119512689A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud platform technology, and in particular to a method and device for generating a cloud platform construction plan, a storage medium and an electronic device. Background Art
[0002] Cloud computing has become one of the most popular IT concepts. In response to the elastic scalability and high availability requirements of cloud computing platforms, the industry has a wealth of logical design solutions. Some cloud service providers have launched "container data centers". Based on the cloud computing platform, the advantages of modular design are fully utilized to achieve rapid and flexible deployment of the system and reduce construction costs and construction cycles.
[0003] Currently, when cloud computing platforms are being built, there is usually no construction plan. Errors are very easy to occur during the construction process, and it is difficult to troubleshoot after the errors. The construction process is difficult and takes a long time. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a method and device for generating a cloud platform construction plan, a storage medium and an electronic device. By applying the plan provided by the present invention, a construction plan can be generated for a cloud platform so that the cloud platform can be constructed according to the construction plan in the subsequent construction, thereby avoiding construction errors and facilitating troubleshooting after errors, thereby reducing the time required to build the cloud platform.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] A method for generating a cloud platform construction plan, comprising:
[0007] Obtain the product deployment plan for the cloud platform to be built;
[0008] Based on the product deployment solution, each pre-built single product model is classified into each atomic model, wherein the atomic model includes at least one single product model, different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding to the single product model;
[0009] Acquire application scenario information of the cloud platform, and combine the atomic models based on the application scenario information to obtain a combined construction model;
[0010] Based on the construction information of each availability zone of the cloud platform, the combined construction model is applied to generate a model construction plan for each availability zone;
[0011] Based on each of the model construction plans, a construction plan for the cloud platform is generated.
[0012] The above method optionally includes the following steps to construct a single product model:
[0013] Identify various types of resource equipment;
[0014] For each type of resource equipment, the equipment information of the resource equipment is obtained, and based on the equipment information and preset architecture design principles, a single product model of the resource equipment is designed.
[0015] In the above method, optionally, based on the product deployment solution, classifying each pre-built single product model into each atomic model includes:
[0016] Determine product configuration information and product location information of each resource pool from the product deployment plan;
[0017] For each of the resource pools, a target single product model is selected from each of the single product models based on the product configuration information of the resource pool, and each of the target single product models is deployed based on the product location information of the resource pool to obtain an atomic model corresponding to the resource pool.
[0018] In the above method, optionally, combining the atomic models based on the application scenario information to obtain a combined construction model includes:
[0019] Based on the application scenario information, obtaining global resource configuration information;
[0020] Applying the global resource configuration information, determining the number of models of each resource pool;
[0021] Based on the atomic models and the number of models of each resource pool, a minimum model and a standard model are generated, wherein the minimum model contains an atomic model of each resource pool, and the standard model contains the atomic model of each resource pool, and the number of atomic models of each target resource pool is consistent with the number of models of the resource pool;
[0022] The minimum model and the standard model are determined as a combined construction model.
[0023] In the above method, optionally, the construction information of each availability zone of the cloud platform is applied to the combined construction model to generate a model construction plan for each availability zone, including:
[0024] For each of the available zones, based on the construction information of the available zones, a target model is selected from the minimum model and the standard model of the combined construction model, and a capacity expansion strategy is added to the target model to obtain a model construction plan for the available zones.
[0025] A device for generating a cloud platform construction plan, comprising:
[0026] A first acquisition unit is used to acquire a product deployment plan for a cloud platform to be built;
[0027] A classification unit, configured to classify the pre-built single product models into atomic models based on the product deployment solution, wherein the atomic models include at least one single product model, different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding to the single product model;
[0028] A second acquisition unit is used to acquire application scenario information of the cloud platform, and combine the atomic models based on the application scenario information to obtain a combined construction model;
[0029] A first generating unit is used to apply the combined construction model based on the construction information of each available zone of the cloud platform to generate a model construction plan for each available zone;
[0030] The second generating unit is used to generate a construction plan of the cloud platform based on each of the model construction plans.
[0031] The above device may optionally further include:
[0032] A determination unit, used for determining various types of resource devices;
[0033] The third acquisition unit is used to acquire device information of each type of resource device, and design a single product model of the resource device based on the device information and preset architecture design principles.
[0034] In the above device, optionally, the classification unit comprises:
[0035] A first determining subunit is used to determine product configuration information and product location information of each resource pool from the product deployment solution;
[0036] A selection subunit is used to select a target single product model from each single product model for each resource pool based on the product configuration information of the resource pool, and deploy each target single product model based on the product location information of the resource pool to obtain an atomic model corresponding to the resource pool.
[0037] In the above device, optionally, the second acquisition unit includes:
[0038] An acquisition subunit, used to acquire global resource configuration information based on the application scenario information;
[0039] A second determining subunit, configured to apply the global resource configuration information to determine the number of models of each resource pool;
[0040] A generating subunit, configured to generate a minimum model and a standard model based on the atomic models and the number of models of each of the resource pools, wherein the minimum model includes an atomic model of each of the resource pools, and the standard model includes the atomic model of each resource pool, and the number of atomic models of each target resource pool is consistent with the number of models of the resource pool;
[0041] The third determination subunit is used to determine the minimum model and the standard model as a combined construction model.
[0042] In the above device, optionally, the first generating unit includes:
[0043] A selection subunit is used to select a target model from the minimum model and the standard model of the combined construction model for each of the available zones based on the construction information of the available zones, and to add a capacity expansion strategy to the target model to obtain a model construction plan for the available zones.
[0044] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the method for generating a cloud platform construction plan as described above.
[0045] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to generate the cloud platform construction solution as described above.
[0046] Compared with the prior art, the present invention has the following advantages:
[0047] The present invention provides a method and device for generating a cloud platform construction plan, a storage medium and an electronic device, including: based on the product deployment plan of the cloud product, classifying each single product model into each atomic model, wherein the atomic model contains at least one single product model, and different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding thereto; obtaining the application scenario information of the cloud platform, combining each atomic model based on the application scenario information, and obtaining a combined construction model; based on the construction information of each available zone of the cloud platform, applying the combined construction model, and generating a model construction plan for each available zone; based on each model construction plan, generating a cloud platform construction plan. When subsequently constructing the cloud platform, the cloud platform can be constructed according to the construction plan to avoid errors, and when errors occur, the location of the error can be found in time according to the construction plan, thereby shortening the construction time of the cloud platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0049] Figure 1 A method flow chart of a method for generating a cloud platform construction solution provided by an embodiment of the present invention;
[0050] Figure 2 A flowchart of a method for classifying each pre-built single product model into each atomic model based on a product deployment solution provided in an embodiment of the present invention;
[0051] Figure 3 A flow chart of a method for combining the atomic models based on application scenario information to obtain a combined construction model provided in an embodiment of the present invention;
[0052] Figure 4 An example diagram of the construction architecture of the available zones in the cloud platform provided in an embodiment of the present invention;
[0053] Figure 5 A schematic diagram of the structure of a generating device for a cloud platform construction method provided by an embodiment of the present invention;
[0054] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0057] Terminology explanation:
[0058] Special zone: According to the regulatory standards and application attributes of different application systems, multi-functional areas are divided, deployed independently, follow the principle of minimizing security permissions, and provide differentiated services.
[0059] Region: The geographical area of the physical data center. Different regions are completely isolated from each other to ensure maximum stability and fault tolerance between different regions.
[0060] Availability Zone: refers to physical availability zone and logical availability zone. Physical availability zone refers to a physical area with independent wind, fire, water, electricity and network in the same region. Different availability zones in the same region are interconnected through the intranet, and fault isolation is achieved between availability zones. Logical availability zone refers to a resource pool group (hardware + cloud computing software) of software-defined infrastructure, which can provide computing, storage, network, security, and database services.
[0061] The present invention can be used in many general or special computing device environments or configurations, such as personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor devices, distributed computing environments including any of the above devices or devices, etc. The execution subject provided by the present invention can be a server or a processor.
[0062] Reference Figure 1 , which is a method flow chart of a method for generating a cloud platform construction solution provided in an embodiment of the present invention, and the specific description is as follows.
[0063] S101. Obtain a product deployment plan for the cloud platform to be built.
[0064] The product deployment plan includes the operation requirements of the cloud platform, product configuration information of various resource pools, and product location information. It should be noted that the operation requirements can be information such as various resources required by the cloud platform during operation, the product configuration information of the resource pool contains information on various resource products required in the resource pool, and the product location information of the resource pool contains deployment information of various resource products required in the resource pool in the computer room.
[0065] S102. Based on the product deployment plan, classify each pre-built single product model into each atomic model. The atomic model includes at least one single product model. Different single product models correspond to different resource devices. The single product model is a model of the corresponding resource device.
[0066] It should be noted that the resource devices here include but are not limited to devices for computing, devices for storage, devices for supporting networks, devices for supporting components, and devices for management and control.
[0067] Preferably, the resource equipment here can be regarded as the resource product mentioned above.
[0068] Furthermore, the construction process of the single product model is described as follows:
[0069] Identify various types of resource equipment;
[0070] For each type of resource device, obtain the device information of the resource device, and design a single product model of the resource device based on the device information and preset architecture design principles.
[0071] The various types of resource devices include, but are not limited to, devices for computing, devices for storage, devices for supporting networks, devices for supporting components, and devices for management and control.
[0072] The equipment information of resource equipment includes but is not limited to product architecture, capacity calculation rules and other information. Product architecture refers to the node types and quantities included in the product technical structure. For example, a file storage product consists of a machine head and a storage pool. The capacity calculation rules can determine the resource capacity of the resource equipment, so as to facilitate the subsequent determination of the construction scale based on demand.
[0073] Furthermore, the specific contents of the architectural design principles are as follows:
[0074] 1. Independent deployment of resource pool layer. One of the main characteristics of cloud is elasticity. Resource pool layers such as computing, storage, network, supporting components and management and control should be deployed independently and be able to expand independently according to actual conditions.
[0075] 2. Balance between standards and flexibility. The atomic model needs to be established based on the specific usage scenarios and the actual conditions of the computer room. In the construction and implementation of the cloud computing platform, balance the relationship between flexibility and standardization. The meanings of standardization and flexibility are as follows.
[0076] Standardization means that based on the past operating capacity, by establishing standardized single product models and atomic models, the single product models of computing, storage, database, gateway, management and security, operation and maintenance and other resources are standardized, the resource ratios are standardized, and the location of computer rooms is standardized; with the above standardized models, construction and expansion are both combined through standardized models, thus achieving standardization of construction and expansion.
[0077] Elasticity means that based on actual usage, for the part that deviates from the model, a temporary expansion model is enabled to correct the offset and the corresponding atomic model is adjusted synchronously. For example, if it is found that the computing resources are insufficient during operation, the computing atomic model can be temporarily enabled for expansion, and the atomic model containing the computing products can be adjusted at the same time to minimize resource fragmentation.
[0078] 3. Create a new region, starting with a minimum of three availability zones to meet the high-availability deployment requirements of products, components, and applications with voting mechanisms, such as databases and middleware.
[0079] 4. Set an upper limit on the size of a single logical availability zone. Set upper limits on the number of spine switch groups and physical nodes. Establish strict cross-spine switch principles.
[0080] 5. For scenarios with clear resource requirements for construction scale, equipment conversion is carried out according to resource requirements. For scenarios without clear resource requirements, the default ratio between atomic models is used.
[0081] 6. In principle, the resource capacity of multiple availability zones in a single region should be built at a 1:1 ratio.
[0082] Preferably, when building a single product model, various resource pools such as computing, storage, network, supporting components and management are independently deployed according to architectural design principles to support independent capacity expansion based on actual conditions; the construction and expansion rules of the single product resource pool are determined according to the product architecture of the resource equipment, and the capacity calculation rules of the product resource pool are clarified according to the operation and capacity management requirements, and then the single product model of the resource equipment is constructed based on the architectural design principles and capacity rules.
[0083] Reference Figure 2 , which is a flow chart of a method for classifying various pre-built single product models into various atomic models based on a product deployment solution provided in an embodiment of the present invention, and the specific description is as follows.
[0084] S201. Determine product configuration information and product location information of each resource pool from a product deployment plan.
[0085] S202. For each resource pool, based on the product configuration information of the resource pool, a target single product model is selected from each single product model, and each target single product model is deployed based on the product location information of the resource pool to obtain an atomic model corresponding to the resource pool.
[0086] The product configuration information includes information about various resource products needed in the resource pool. The single product model corresponding to the resource product information is determined as the target single product model. Different types of resource pool product information correspond to different single product models.
[0087] The product location information of the resource pool includes location information of each target single product model in the computer room, for example, whether each target single product model is deployed in the same cabinet, and if so, whether it is centrally deployed or dispersedly deployed.
[0088] Preferably, when selecting the target single product model, the target single product model is also selected based on the capacity ratio of each type of resource in the resource pool. For example, 5GB of storage capacity is required in the resource pool, and the maximum storage capacity of the target single product model used for storage here is 1GB, then 5 target single product models need to be selected for storage.
[0089] It should be noted that atomic models are divided into five categories: computing storage resource pool atomic model, database resource pool atomic model, gateway resource pool atomic model, operation control and security resource pool atomic model, and operation and maintenance resource pool atomic model.
[0090] When generating an atomic model, you can classify and form an atomic model based on the single product model, according to the operation requirements and combined with the product deployment plan. Each atomic model can contain multiple single product models. The atomic model contains the capacity ratio of the single product model, as well as the cabinet placement model and specifications. The capacity ratio between different single product models is fixed and physical cabinets can be shared. The capacity configuration is formed according to the current actual operation requirements.
[0091] S103, obtaining application scenario information of the cloud platform, and combining the various atomic models based on the application scenario information to obtain a combined construction model.
[0092] Reference Figure 3 , which is a flow chart of a method for combining various atomic models based on application scenario information to obtain a combined construction model provided in an embodiment of the present invention, and the specific description is as follows.
[0093] S301. Obtain global resource configuration information based on application scenario information.
[0094] The application scenario information includes the environment information when the cloud platform is put into use, the specific system of the application, and various resource information. The global resource configuration information is obtained through the application scenario information. The global resource configuration information includes the capacity configuration information of the cloud platform for each resource pool.
[0095] S302: Apply global resource configuration information to determine the number of models in each resource pool.
[0096] The resource allocation of each resource pool in the global resource configuration information is applied to determine the number of models in each resource pool. Furthermore, resource configuration includes but is not limited to the computing, storage, and database capacity and proportion of the cloud platform in actual operation.
[0097] Exemplarily, the resource allocation of each resource pool may be the capacity ratio of each resource pool in the available zone of the cloud platform, and then the number of models of each resource pool is determined based on the capacity allocation of each resource pool.
[0098] S303. Generate a minimum model and a standard model based on the atomic models and the number of models of each resource pool. The minimum model contains an atomic model of each resource pool, and the standard model contains the atomic model of each resource pool. The number of atomic models of each resource pool is consistent with the number of models of the resource pool.
[0099] S304. Determine the minimum model and the standard model as a combined construction model.
[0100] It should be noted that the minimum model covers the atomic model of each resource pool. Therefore, when the business volume is small, the minimum model can be used to build the availability zone of the cloud platform. The standard model includes the models required for the comprehensive construction of the availability zone of the cloud platform, and the standard model can be used to comprehensively build the availability zone of the cloud platform.
[0101] Preferably, a combined construction model is formed by combining atomic models and construction scenarios. The atomic model combination rules mainly consider the global capacity and ratio, or calculate the required quantity of each model according to specific needs. The combined model is divided into a standard model and a minimum model.
[0102] Furthermore, in principle, the construction of availability zones is started according to the "standard model" by default to reduce data migration caused by hot spots in the later stage. The "minimum model" construction is only considered for special zones with small business volume or unclear demand.
[0103] The availability zone constructed for the minimum model can be gradually expanded from the "minimum model" to the "standard model" based on capacity requirements. After reaching the standard model, the computing resource pool is expanded according to the expansion strategy.
[0104] Other products can be expanded flexibly based on usage, and what resources are lacking can be supplemented. For those that the current atomic model cannot cover, a temporary atomic model can be enabled.
[0105] S104. Based on the construction information of each availability zone of the cloud platform, a combined construction model is applied to generate a model construction plan for each availability zone.
[0106] For each availability zone, based on the construction information of the availability zone, a target model is selected from the minimum model and the standard model of the combined construction model, and a capacity expansion strategy is added to the target model to obtain a model construction plan for the availability zone.
[0107] It should be noted that there are at least three availability zones in the cloud platform.
[0108] Furthermore, the construction information of the available zone includes but is not limited to information such as the actual construction scenario and the business volume of the scenario. The appropriate one is selected from the minimum model and the standard model of the combined construction model as the target model. For example, when the construction information indicates that the business volume is small, the minimum model can be used as the target model. When the construction information indicates that the business volume is large, the standard model can be used as the target model. Furthermore, the construction information may also include information on the model used. For example, when the construction model indicates that the minimum model is used, the minimum model is directly used as the target model.
[0109] For example, according to the design of the architecture and in combination with actual construction scenarios, a combination model standard solution for the first construction and expansion of regions and availability zones can be customized for different zones. The scenarios include: the minimum model for the first availability zone in a region, the minimum model for the second availability zone in a region, and the minimum model for other availability zones in a region; the standard model for the first availability zone in a region, the standard model for the second availability zone in a region, and the standard model for other availability zones in a region.
[0110] The expansion strategy is the rules for subsequent expansion of the model after the target model is used, such as how to increase the model's storage, capacity and other resources, whether to directly add an atomic model or expand the existing atomic model.
[0111] Reference Figure 4 , which is an example diagram of the construction architecture of the available zones in the cloud platform provided in an embodiment of the present invention, and the specific description is as follows.
[0112] This availability zone includes computing and storage resource pools, database resource pools, gateway resource pools, operation management and security resource pools, and operation and maintenance platform resource pools.
[0113] Each resource pool contains at least one atomic model, and each atomic model contains at least one single product model.
[0114] It should be noted that Figure 4 The construction architecture of the availability zone shown in the figure includes construction principles and strategies, construction models, and combined model solutions combined with scenarios. The construction model includes single product models, atomic models, and combined models. The atomic model includes the placement model and specifications, which are the deployment information of each single product model in the atomic model.
[0115] S105. Generate a cloud platform construction plan based on each model construction plan.
[0116] By integrating the construction plans of various models, we can get the construction plan of the cloud platform.
[0117] In the method provided by the embodiment of the present invention, a product deployment plan of a cloud product to be constructed is obtained; based on the product deployment plan, each pre-built single product model is classified into each atomic model, wherein the atomic model contains at least one single product model, and different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding thereto; application scenario information of the cloud platform is obtained, and each atomic model is combined based on the application scenario information to obtain a combined construction model; based on the construction information of each available zone of the cloud platform, the combined construction model is applied to generate a model construction plan for each available zone; based on each model construction plan, a construction plan for the cloud platform is generated. By using the single product model to form an atomic model of the resource pool, and then combining the atomic model of the resource pool to obtain a combined construction model, and then using the combined construction model to determine the model construction plan of the available zone of the cloud platform, and then generating a construction plan for the cloud platform, the cloud platform can be constructed according to the construction plan in the subsequent construction of the cloud platform to avoid errors, and when an error occurs, the location of the error can be found in time according to the construction plan, thereby shortening the construction time of the cloud platform.
[0118] The present invention draws on the concept of container data centers and combines the elasticity and scalability requirements of cloud computing to form a complete cloud computing platform construction method from architecture design to equipment placement, filling the gap in related technical solutions. It can provide effective guidance for the implementation of cloud platforms, and the present invention proposes the concept of atomic combination model for the first time, forming a hierarchical and combinable cloud computing platform construction method.
[0119] and Figure 1 Corresponding to the method shown in the figure, the present invention also provides a device for generating a cloud platform construction plan, which is used to support Figure 1 In a specific implementation of the method shown, the device may be arranged in a server or a processor.
[0120] Reference Figure 5 , which is a device for generating a cloud platform construction solution provided in an embodiment of the present invention, and is specifically described as follows.
[0121] The first acquisition unit 501 is used to acquire a product deployment plan of a cloud platform to be built;
[0122] A classification unit 502 is used to classify the pre-built single product models into atomic models based on the product deployment solution, wherein the atomic model includes at least one single product model, different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding to the single product model;
[0123] A second acquisition unit 503 is used to acquire application scenario information of the cloud platform, and combine the atomic models based on the application scenario information to obtain a combined construction model;
[0124] A first generating unit 504 is used to apply the combined construction model based on the construction information of each availability zone of the cloud platform to generate a model construction plan for each availability zone;
[0125] The second generating unit 505 is used to generate a construction plan of the cloud platform based on each of the model construction plans.
[0126] In the device provided by the embodiment of the present invention, a product deployment scheme of a cloud product to be constructed is obtained; based on the product deployment scheme, each pre-built single product model is classified into each atomic model, wherein the atomic model contains at least one single product model, and different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding thereto; application scenario information of the cloud platform is obtained, and each atomic model is combined based on the application scenario information to obtain a combined construction model; based on the construction information of each available zone of the cloud platform, the combined construction model is applied to generate a model construction scheme for each available zone; based on each model construction scheme, a construction scheme for the cloud platform is generated. By using the single product model to form an atomic model of the resource pool, and then combining the atomic model of the resource pool to obtain a combined construction model, and then using the combined construction model to determine the model construction scheme of the available zone of the cloud platform, and then generating a construction scheme for the cloud platform, the cloud platform can be constructed according to the construction scheme in the subsequent construction of the cloud platform to avoid errors, and when an error occurs, the location of the error can be found in time according to the construction scheme, thereby shortening the construction time of the cloud platform.
[0127] In another embodiment provided by the present invention, the device further comprises:
[0128] A determination unit, used for determining various types of resource devices;
[0129] The third acquisition unit is used to acquire device information of each type of resource device, and design a single product model of the resource device based on the device information and preset architecture design principles.
[0130] In another embodiment provided by the present invention, the classification unit 502 of the device includes:
[0131] A first determining subunit is used to determine product configuration information and product location information of each resource pool from the product deployment solution;
[0132] A selection subunit is used to select a target single product model from each single product model for each resource pool based on the product configuration information of the resource pool, and deploy each target single product model based on the product location information of the resource pool to obtain an atomic model corresponding to the resource pool.
[0133] In another embodiment provided by the present invention, the second acquisition unit 503 of the device includes:
[0134] An acquisition subunit, used to acquire global resource configuration information based on the application scenario information;
[0135] A second determining subunit, configured to apply the global resource configuration information to determine the number of models of each resource pool;
[0136] A generating subunit, configured to generate a minimum model and a standard model based on the atomic models and the number of models of each of the resource pools, wherein the minimum model includes an atomic model of each of the resource pools, and the standard model includes the atomic model of each resource pool, and the number of atomic models of each target resource pool is consistent with the number of models of the resource pool;
[0137] The third determination subunit is used to determine the minimum model and the standard model as a combined construction model.
[0138] In another embodiment provided by the present invention, the first generating unit 504 of the device includes:
[0139] A selection subunit is used to select a target model from the minimum model and the standard model of the combined construction model for each of the available zones based on the construction information of the available zones, and to add a capacity expansion strategy to the target model to obtain a model construction plan for the available zones.
[0140] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the method for generating the above-mentioned cloud platform construction plan.
[0141] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 6 As shown, it specifically includes a memory 601 and one or more instructions 602, wherein the one or more instructions 602 are stored in the memory 601 and are configured to be executed by one or more processors 603 to execute the one or more instructions 602 to execute the method for generating the above-mentioned cloud platform construction solution.
[0142] It should be noted that the information and data involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions.
[0143] The specific implementation processes and derivative methods of the above-mentioned embodiments are all within the protection scope of the present invention.
[0144] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0145] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0146] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating a cloud platform construction plan, characterized in that: include: Obtain the product deployment plan for the cloud platform to be built; Based on the product deployment solution, each pre-built single product model is classified into each atomic model, wherein the atomic model includes at least one single product model, different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding to the single product model; Acquire application scenario information of the cloud platform, and combine the atomic models based on the application scenario information to obtain a combined construction model; Based on the construction information of each availability zone of the cloud platform, the combined construction model is applied to generate a model construction plan for each availability zone; Based on each of the model construction plans, a construction plan for the cloud platform is generated.
2. The method according to claim 1, characterized in that: The process of building a single product model includes: Identify various types of resource equipment; For each type of resource equipment, the equipment information of the resource equipment is obtained, and based on the equipment information and preset architecture design principles, a single product model of the resource equipment is designed.
3. The method according to claim 1, characterized in that Based on the product deployment solution, each pre-built single product model is classified into each atomic model, including: Determine product configuration information and product location information of each resource pool from the product deployment plan; For each of the resource pools, a target single product model is selected from each of the single product models based on the product configuration information of the resource pool, and each of the target single product models is deployed based on the product location information of the resource pool to obtain an atomic model corresponding to the resource pool.
4. The method according to claim 3, characterized in that The combining of the atomic models based on the application scenario information to obtain a combined construction model includes: Based on the application scenario information, obtaining global resource configuration information; Applying the global resource configuration information, determining the number of models of each resource pool; Based on the atomic models and the number of models of each resource pool, a minimum model and a standard model are generated, wherein the minimum model contains an atomic model of each resource pool, and the standard model contains the atomic model of each resource pool, and the number of atomic models of each target resource pool is consistent with the number of models of the resource pool; The minimum model and the standard model are determined as a combined construction model.
5. The method according to claim 4, characterized in that The construction information of each available zone based on the cloud platform is applied to the combined construction model to generate a model construction plan for each available zone, including: For each of the available zones, based on the construction information of the available zones, a target model is selected from the minimum model and the standard model of the combined construction model, and a capacity expansion strategy is added to the target model to obtain a model construction plan for the available zone.
6. A device for generating a cloud platform construction plan, characterized in that: include: A first acquisition unit is used to acquire a product deployment plan for a cloud platform to be built; A classification unit, configured to classify the pre-built single product models into atomic models based on the product deployment solution, wherein the atomic models include at least one single product model, different single product models correspond to different resource devices, and the single product model is a model of the resource device corresponding to the single product model; A second acquisition unit is used to acquire application scenario information of the cloud platform, and combine the atomic models based on the application scenario information to obtain a combined construction model; A first generating unit is used to apply the combined construction model based on the construction information of each available zone of the cloud platform to generate a model construction plan for each available zone; The second generating unit is used to generate a construction plan of the cloud platform based on each of the model construction plans.
7. The device according to claim 6, characterized in that Also includes: A determination unit, used for determining various types of resource devices; The third acquisition unit is used to acquire device information of each type of resource device, and design a single product model of the resource device based on the device information and preset architecture design principles.
8. The device according to claim 6, characterized in that The classification unit includes: A first determining subunit is used to determine product configuration information and product location information of each resource pool from the product deployment solution; A selection subunit is used to select a target single product model from each single product model for each resource pool based on the product configuration information of the resource pool, and deploy each target single product model based on the product location information of the resource pool to obtain an atomic model corresponding to the resource pool.
9. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the method for generating a cloud platform construction solution as described in any one of claims 1 to 5.
10. An electronic device, characterized in that: It includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to generate a cloud platform construction solution as described in any one of claims 1-5.