A cloud platform management method and platform

Through the cloud platform management system, the general operation and maintenance instructions are converted into instructions that can be identified by each cloud platform, which solves the problem of management differences between different cloud platforms and reduces the difficulty and cost of operation and maintenance.

CN112346858BActive Publication Date: 2025-02-18WEBANK (CHINA)
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011145157.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-23
Publication Date
2025-02-18
Estimated Expiration
2040-10-23

AI Technical Summary

Technical Problem

When running business systems on different cloud platforms, barriers arising from differences in management methods and resources increase the workload and difficulty of operation and maintenance personnel.

Method used

Provide a cloud platform management method and platform, which receives operation and maintenance instructions through the cloud platform management system, converts general operation and maintenance instructions into conversion instructions that can be identified by each cloud platform, and sends them to the corresponding cloud platform for execution according to resource records and conversion records. .

Benefits of technology

It eliminates the barriers caused by the differences in management methods and resource between different cloud platforms, reduces the workload and difficulty of operation and maintenance personnel, and improves the unity and reliability of cloud platform management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112346858B_ABST
    Figure CN112346858B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a cloud platform management method and platform, which is applicable to a cloud platform management system for managing at least one cloud platform, and at least one cloud platform is used to run a business system; the method includes: the cloud platform management system receives an operation and maintenance instruction for the business system, and the operation and maintenance instruction is used to instruct to update the business system on the cloud platform; the cloud platform management system determines the first component corresponding to the operation and maintenance instruction on the first cloud platform according to the resource record; the first cloud platform is one of the at least one cloud platform; the resource record is used to record the various resource conditions of the business system on at least one cloud platform; the cloud platform management system determines the conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform according to the conversion record, and sends the conversion instruction to the first cloud platform; the conversion record is used to record the corresponding relationship between the resource specifications of at least one cloud platform and the resource specifications of the cloud platform management system. In this way, the workload and difficulty of the operation and maintenance personnel are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network technology, and in particular to a cloud platform management method and platform. Background Art

[0002] With the development and rapid popularization of the Internet, the traditional method of running business systems based on local servers can no longer meet the many needs of business systems; therefore, migrating business systems to cloud platforms has become the first choice for most companies; but in this process, business system reconstruction and migration require the redesign and construction of business systems, which increases the operation and maintenance work of business systems and makes the operation and maintenance work more difficult. In order to reduce the technical and business risks caused by failures of a single cloud platform, more and more business components that carry key businesses are built on multiple cloud platforms of different forms, for example, using multiple public cloud platforms provided by different manufacturers (including hybrid cloud platforms built using both public and private clouds). This further increases the difficulty of operation and maintenance work.

[0003] In addition, due to the differences in resource types and specifications between different cloud platforms, their corresponding management tools and management processes are also different. When technical personnel manage each cloud platform, there will be corresponding barriers, which will also increase the difficulty of operation and maintenance work. For example, in one existing technology, each cloud platform manufacturer provides management tools for its own cloud platform resources. These management tools are organized according to the regions and products that the cloud platform can provide services, and can meet the basic operation and maintenance management needs of cloud platform resources. In another existing technology, resource management is achieved by calling the application program interface (API) provided by the cloud platform manufacturer based on the automated operation and maintenance tool. However, the first method requires technical personnel to have a certain understanding of the design and implementation of each cloud platform, and the second method requires technical personnel to have certain development capabilities to achieve resource management of each cloud platform.

[0004] Therefore, there is an urgent need for a cloud platform management method and platform that can eliminate the barriers caused by differences in management methods and resources when running business systems on different cloud platforms, and reduce the workload and difficulty of operation and maintenance personnel. Summary of the invention

[0005] The embodiments of the present application provide a cloud platform management method and platform, which can eliminate the barriers caused by differences in management methods and resources when running business systems on different cloud platforms, and reduce the workload and difficulty of operation and maintenance personnel.

[0006] In a first aspect, an embodiment of the present application provides a cloud platform management method, which is applicable to a cloud platform management system that manages at least one cloud platform, wherein the at least one cloud platform is used to run a business system; the method includes: the cloud platform management system receives an operation and maintenance instruction for the business system, and the operation and maintenance instruction is used to instruct the business system to be updated on the cloud platform; the cloud platform management system determines a first component corresponding to the operation and maintenance instruction on the first cloud platform according to a resource record; the first cloud platform is one of the at least one cloud platforms; the resource record is used to record the resource conditions of the business system on the at least one cloud platform; the cloud platform management system determines a conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform according to the conversion record, and sends the conversion instruction to the first cloud platform; the conversion record is used to record the correspondence between the resource specifications of the at least one cloud platform and the resource specifications of the cloud platform management system.

[0007] In the above method, a business system is run in the cloud platform, and the cloud platform management system manages at least one cloud platform; so that the cloud platform management system manages the business system running in the cloud platform. Among them, after receiving the operation and maintenance instruction, the cloud platform management system determines the first component in the first cloud platform corresponding to the operation and maintenance instruction according to the resource record, and converts the operation and maintenance instruction into a conversion instruction that can be recognized and executed by the first cloud platform according to the conversion record, and sends the conversion instruction to the first cloud platform. In this way, compared with the prior art of managing the cloud platform through the management tools or automated operation and maintenance tools of each cloud platform, the operation and maintenance personnel need to use different formats, languages, processes, etc. to operate on different cloud platforms to obtain conversion instructions; in this application, the operation and maintenance personnel can operate through a general form of operation and maintenance instructions, so that the cloud platform management system converts the general operation and maintenance instructions into conversion instructions that can be recognized by each cloud platform respectively, and further, each cloud platform executes the instruction according to its corresponding conversion instruction. Eliminate the barriers caused by differences in management methods and resources when running business systems on different cloud platforms, and reduce the workload and difficulty of operation and maintenance personnel.

[0008] Optionally, before the cloud platform management system sends the conversion instruction to the first cloud platform, it also includes: the cloud platform management system updates the resource status corresponding to the operation and maintenance instruction in the resource record according to the resource status change rule; after the cloud platform management system sends the conversion instruction to the first cloud platform, it also includes: the cloud platform management system receives the execution result of the operation and maintenance instruction by the first cloud platform; the cloud platform management system determines whether the resource status corresponding to the execution result is consistent with the resource status in the resource record; if not, resending the conversion instruction to the first cloud platform until the resource status corresponding to the execution result is consistent with the resource status in the resource record.

[0009] In the above method, before the cloud platform management system sends the conversion instruction to the first cloud platform, it updates the resource status corresponding to the operation and maintenance instruction in the resource record according to the resource status change rule. In this way, the resource status of the operation and maintenance instruction can be memorized; when the execution result of the conversion instruction corresponding to the operation and maintenance instruction is subsequently received from the first cloud platform, the execution result can be verified according to the resource status in the resource record. This prevents the first cloud platform from failing to execute the conversion instruction or failing to fully execute the conversion instruction, and when the execution result is obtained; the cloud platform management system cannot continue to send the conversion instruction to the first cloud platform, or fails to fully execute part of the conversion instruction, resulting in the failure of the first cloud platform resource change. This ensures the accuracy and reliability of the cloud platform management system in managing the first cloud platform.

[0010] Optionally, the cloud platform management system determines the conversion instructions corresponding to the operation and maintenance instructions on the first cloud platform according to the conversion records, and sends the conversion instructions to the first cloud platform, including: the cloud platform management system determines the conversion instructions according to the conversion records through a resource management plug-in and sends the conversion instructions to the first cloud platform; the cloud platform management system determines whether the resource status corresponding to the execution result is consistent with the resource status in the resource record, including: the cloud platform management system determines whether the resource status corresponding to the execution result is consistent with the resource status in the resource record through the resource management plug-in.

[0011] In the above method, each cloud platform has a corresponding resource management plug-in, and the resource management plug-in corresponding to the cloud platform can convert the operation and maintenance instructions in the cloud platform management system into conversion instructions that can be recognized and executed by the cloud platform according to the conversion record. The corresponding plug-in corresponding to the corresponding cloud platform can convert the execution result of the cloud platform into the language, specification, form, etc. corresponding to the resource record according to the resource status change rule, so that the resource status corresponding to the execution result can be compared with the resource status in the resource record to determine whether the execution result of the cloud platform meets the expectations. In addition, the resource management plug-in can also serve as a "bridge" between the cloud platform and the cloud platform management system, so that the cloud platform management system and the cloud platform can transmit information to each other. In other words, by setting the resource management plug-in corresponding to each cloud platform in the cloud platform management system, the cloud platform management system can realize unified management of cloud platforms with different resource types, specifications and management methods. To reduce the difficulty of operation and maintenance work, reduce the operation and maintenance cycle and cost. In addition, a resource management plug-in can also correspond to multiple cloud platforms at the same time, and the resource management plug-in and the cloud platform are not strictly one-to-one.

[0012] Optionally, the resource records include application architecture layer records, application deployment layer records and resource planning layer records; the application architecture layer records are used to store the functions of each component in the business system, the dependencies between the components, and the cloud platforms corresponding to each component; the application deployment layer records are used to store the resource status occupied by the business system in the at least one cloud platform; the resource planning layer records are used to store resource information reserved by the at least one cloud platform for the business system.

[0013] In the above method, an application architecture layer record is set in the resource record to record the functions, dependencies and corresponding cloud platforms of each component in the business system. In this way, the staff can call the content of the application architecture layer at any time, which allows the staff to quickly understand the business system. And when the business system needs to be reconstructed and migrated to the cloud platform, the reconstruction and migration plan can be clearly defined in the resource record. For example, the function of the component is determined according to the demand, and the component is further determined. The business system reconstruction plan is determined according to the dependency relationship between the components, and further, the cloud platform corresponding to the reconstruction plan is determined according to the cloud platform corresponding to the component. The cloud platform, etc. are determined. The application deployment layer record is set in the resource record to record the resource status occupied by the business system in at least one cloud platform. In this way, it can be used as the basis for managing the resources occupied by the business system in the cloud platform. The resource planning layer record is set in the resource record to record the resource information reserved by at least one cloud platform for the business system. It is convenient to perform operations such as business system expansion using cloud platform resources.

[0014] Optionally, the resource record also includes an application development layer record; the application development layer record is used to store component material packages; the operation and maintenance instructions are used to create the first component on the first cloud platform; the cloud platform management system determines the first component corresponding to the operation and maintenance instructions on the first cloud platform based on the resource records, including: the cloud platform management system obtains the material package corresponding to the first component based on the application development layer record; the cloud platform management system determines the first resource occupied by the first component on the first cloud platform based on the application deployment layer record; the cloud platform management system determines the conversion instructions corresponding to the operation and maintenance instructions on the first cloud platform based on the conversion records, including: the cloud platform management system determines the second resource corresponding to the first resource on the first cloud platform based on the conversion record; the cloud platform management system determines the conversion instructions containing the second resource and the material package corresponding to the first component.

[0015] In the above method, the resource record stores the application development layer record of the component material package. In this way, when the operation and maintenance instruction is to run the first component on the first cloud platform, the cloud platform management system can obtain the material package of the first component in the application development layer record and send it to the first cloud platform. There is no need to manually deploy the first component on the first cloud platform. Simplify the work during business system migration and reconstruction, and reduce the cycle and cost of business system migration and reconstruction. The cloud platform management system determines the first resource corresponding to the first component in the application deployment layer record, and determines the second resource corresponding to the first resource on the first cloud platform according to the conversion record, and further generates a conversion instruction according to the second resource and the material package corresponding to the first component. The first cloud platform executes the conversion instruction and installs and runs the first component on the second resource.

[0016] Optionally, the resource record also includes a resource architecture layer record; the resource architecture layer record is used to store the infrastructure of the cloud platform management system.

[0017] In the above method, the resource record also includes a record of the infrastructure resource architecture layer for storing the cloud platform management system, so that the cloud platform management system runs based on the infrastructure, and the data center expansion and upgrade of the cloud platform management system can be achieved by modifying the infrastructure.

[0018] In a second aspect, an embodiment of the present application provides a cloud platform management platform, the cloud platform management platform is used to manage at least one cloud platform, and the at least one cloud platform is used to run a business system; including:

[0019] A transceiver, used to receive an operation and maintenance instruction for the business system, wherein the operation and maintenance instruction is used to instruct to update the business system on the cloud platform;

[0020] A processor, configured to determine, according to a resource record, a first component corresponding to the operation and maintenance instruction on a first cloud platform; the first cloud platform is one of the at least one cloud platform; the resource record is used to record the resource conditions of the business system on the at least one cloud platform;

[0021] The processor is also used to determine the conversion instructions corresponding to the operation and maintenance instructions on the first cloud platform based on the conversion records; the conversion records are used to record the correspondence between the resource specifications of the at least one cloud platform and the resource specifications of the cloud platform management system.

[0022] The transceiver is also used to send the conversion instruction to the first cloud platform.

[0023] Optionally, before sending the conversion instruction to the first cloud platform, the method further includes:

[0024] The processor is further configured to update the resource state corresponding to the operation and maintenance instruction in the resource record according to a resource state change rule;

[0025] After sending the conversion instruction to the first cloud platform, the method further includes:

[0026] The transceiver is further used to receive the execution result of the operation and maintenance instruction by the first cloud platform;

[0027] The processor is further configured to determine whether the resource state corresponding to the execution result is consistent with the resource state in the resource record;

[0028] If not, the conversion instruction is resent to the first cloud platform until the resource state corresponding to the execution result is consistent with the resource state in the resource record.

[0029] In a third aspect, an embodiment of the present application further provides a computing device, comprising: a memory for storing programs; a processor for calling the programs stored in the memory, and executing the methods described in the various possible designs of the first aspect according to the obtained programs.

[0030] In a fourth aspect, an embodiment of the present application further provides a computer-readable non-volatile storage medium, comprising a computer-readable program. When a computer reads and executes the computer-readable program, the computer executes the method described in the various possible designs of the first aspect.

[0031] These implementations or other implementations of the present application will be more concise and understandable in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0033] Figure 1 A schematic diagram of a cloud platform management architecture provided in an embodiment of the present application;

[0034] Figure 2 A flowchart of a cloud platform management method provided in an embodiment of the present application;

[0035] Figure 3 A mapping relationship between a general resource definition and a cloud platform standard resource definition in a conversion record provided in an embodiment of the present application;

[0036] Figure 4A schematic diagram of a resource status change rule provided in an embodiment of the present application;

[0037] Figure 5 A schematic diagram of the architecture of a cloud platform management system provided in an embodiment of the present application;

[0038] Figure 6 A flowchart of a cloud platform management method provided in an embodiment of the present application;

[0039] Figure 7 A schematic diagram of a cloud platform management platform device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0041] Figure 1 An architectural diagram of a cloud platform management provided for an embodiment of the present application; wherein a cloud platform management system 102 corresponds to n business systems 101 and m cloud platforms 103, where n and m are integers greater than or equal to 1. N business systems 101 are run in the m cloud platforms 103, and the cloud platform management system 102 manages the m cloud platforms 103. Here, business system 1 and cloud platform 1 are taken as examples, with cloud platform 1 serving as the first cloud platform. When the cloud platform management system 102 receives an operation and maintenance instruction, it determines the first component of the business system 1 corresponding to the operation and maintenance instruction in the first cloud platform according to the resource record, and converts the operation and maintenance instruction into a conversion instruction according to the conversion record, and sends the conversion instruction to the first cloud platform, so that the first cloud platform performs corresponding processing on the first component according to the conversion instruction.

[0042] Based on the above process, the present application embodiment provides a process of a cloud platform management method, such as Figure 2 As shown, including:

[0043] Step 201: The cloud platform management system receives an operation and maintenance instruction for the business system, where the operation and maintenance instruction is used to instruct to update the business system on the cloud platform;

[0044] Here, the business system can be a system for business processing in various enterprises. For example, the business system of a bank can be a system that includes functions such as user registration, user asset management, user financial management, and bank APP management in the bank. Operation and maintenance instructions can include expansion, reduction, and configuration modification of the business system.

[0045] Step 202: The cloud platform management system determines the first component corresponding to the operation and maintenance instruction on the first cloud platform according to the resource record; the first cloud platform is one of the at least one cloud platform; the resource record is used to record the resource status of the business system on the at least one cloud platform;

[0046] Here, the first component is one or more components in the business system. Resource records are records of resources occupied by the business system in the cloud platform and the components of the business system and the usage of the occupied resources, for example, the host resources occupied by the business system in the cloud platform and the components of the business system and the usage of the occupied host resources.

[0047] Step 203: The cloud platform management system determines the conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform based on the conversion record, and sends the conversion instruction to the first cloud platform; the conversion record is used to record the correspondence between the resource specifications of the at least one cloud platform and the resource specifications of the cloud platform management system.

[0048] Here, the conversion record records the general management method in the cloud platform management system and the cloud platform standard management method corresponding to the general management method in the cloud platform, as well as the mapping relationship between the general management method and the cloud platform standard management method. The management method includes the calculation method, storage method and requirements, network capacity requirements, etc. in the cloud platform. It also records the general resource definition in the cloud platform management system and the cloud platform standard resource definition corresponding to the general resource definition in the cloud platform, as well as the mapping relationship between the general resource definition and the cloud platform standard resource definition, etc. The resource definition may include resource specification definition, resource type definition, resource status definition, resource legal status, legal operations that cause status migration, etc. Figure 3 As shown, a mapping relationship between a general resource definition and a cloud platform standard resource definition in a conversion record provided in an embodiment of the present application. Figure 3 The mapping relationship, common resource definition, and cloud platform standard resource definition are merely examples, and do not limit the forms of the mapping relationship, common resource definition, and cloud platform standard resource definition.

[0049] In the above method, a business system is run in the cloud platform, and the cloud platform management system manages at least one cloud platform; so that the cloud platform management system manages the business system running in the cloud platform. Among them, after receiving the operation and maintenance instruction, the cloud platform management system determines the first component in the first cloud platform corresponding to the operation and maintenance instruction according to the resource record, and converts the operation and maintenance instruction into a conversion instruction that can be recognized and executed by the first cloud platform according to the conversion record, and sends the conversion instruction to the first cloud platform. In this way, compared with the prior art of managing the cloud platform through the management tools or automated operation and maintenance tools of each cloud platform, the operation and maintenance personnel need to use different formats, languages, processes, etc. to operate on different cloud platforms to obtain conversion instructions; in this application, the operation and maintenance personnel can operate through a general form of operation and maintenance instructions, so that the cloud platform management system converts the general operation and maintenance instructions into conversion instructions that can be recognized by each cloud platform respectively, and further, each cloud platform executes the instruction according to its corresponding conversion instruction. Eliminate the barriers caused by differences in management methods and resources when running business systems on different cloud platforms, and reduce the workload and difficulty of operation and maintenance personnel.

[0050] An embodiment of the present application provides a resource status change method, before the cloud platform management system sends the conversion instruction to the first cloud platform, it also includes: the cloud platform management system updates the resource status corresponding to the operation and maintenance instruction in the resource record according to the resource status change rule; after the cloud platform management system sends the conversion instruction to the first cloud platform, it also includes: the cloud platform management system receives the execution result of the operation and maintenance instruction by the first cloud platform; the cloud platform management system determines whether the resource status corresponding to the execution result is consistent with the resource status in the resource record; if not, resending the conversion instruction to the first cloud platform until the resource status corresponding to the execution result is consistent with the resource status in the resource record.

[0051] That is to say, the cloud platform management system obtains the resource that the business system is instructed to update in the operation and maintenance instruction and the resource status of the resource. According to the resource status change rule, the resource status of the resource in the resource record is updated to the resource status corresponding to the operation and maintenance instruction. When the cloud platform management system sends the conversion instruction corresponding to the operation and maintenance instruction to the first cloud platform and obtains the execution result of the conversion instruction by the first cloud platform, the cloud platform management system determines whether the resource status of the resource corresponding to the execution result is consistent with the resource status of the resource in the resource record; if not, the first cloud platform has not executed the conversion instruction, or has not fully executed the conversion instruction; the cloud platform management system resends the conversion instruction to the first cloud platform until the resource status in the obtained execution result of the first cloud platform is consistent with the resource status in the resource record, and determines that the first cloud platform fully executes the conversion instruction. In one solution, the retransmission frequency and retransmission number threshold can be set in the cloud platform management system; a reasonable retransmission frequency is set so that the retransmission time interval is not too large to ensure the effectiveness of the forwarding instruction execution; and the retransmission time interval is not too small, resulting in excessive network and other resources being occupied. A reasonable retransmission threshold is set to prevent the first cloud platform from malfunctioning. The cloud platform management system can retransmit conversion instructions without limit and generate an alarm when the number of retransmissions reaches the retransmission threshold, so that the staff can be informed of possible malfunctions of the first cloud platform.

[0052] In addition, the embodiment of the present application provides a resource status change rule, such as Figure 4 As shown, Figure 4The rectangular box diagram containing the word "pending" indicates that the current resource status is changing; the oval box diagram containing the word "confirmed" indicates that the current resource status has been changed; that is, the rectangular box diagram represents that the corresponding information of the operation and maintenance instruction for the resource status change has been updated in the resource record in the cloud platform management system, but the actual first cloud platform has not completed receiving or executing the conversion instruction corresponding to the operation and maintenance instruction, that is, the resource status change has not been completed. The oval box diagram represents that the corresponding information of the operation and maintenance instruction for the resource status change has been updated in the resource record in the cloud platform management system, and the actual first cloud platform has completed receiving and executing the conversion instruction corresponding to the operation and maintenance instruction, that is, the resource status change has been completed. Here, taking the life cycle of the host resource as an example, a simple description of the resource status change rule operation is made: the cloud platform management system determines that the host resource in the operation and maintenance instruction is not occupied, that is, it does not exist in the resources occupied by the business system, then creates the host resource in the cloud platform management system, and obtains the conversion instruction corresponding to the operation and maintenance instruction and sends it to the first cloud platform. The first cloud platform creates the host resource according to the conversion instruction and completes the creation of the host resource. Afterwards, the first component is started on the host resource, and the host resource runs the first component after starting the first component. Subsequently, the first component of the host resource is changed, and the change is completed to run the second component, etc. Finally, after determining that the host resource is not needed, the first cloud platform stops the host resource until it is determined that the host resource is stopped. The host resource can also be destroyed. In the above process, the host resource can also be stopped during the host resource startup process. Figure 4 The arrow in the figure indicates that the next process can be executed during or after the execution of a process. In one solution, when it is determined that the host resource to be destroyed is running the first component, the host resource is refused to be destroyed and an alarm is issued. In this way, the failure of the component operation caused by the direct destruction of the host resource can be prevented, and the normal operation of the business system can be ensured.

[0053] The embodiment of the present application provides a cloud platform management system, wherein the cloud platform management system determines the conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform according to the conversion record, and sends the conversion instruction to the first cloud platform, including: the cloud platform management system determines the conversion instruction according to the conversion record through the resource management plug-in and sends the conversion instruction to the first cloud platform; the cloud platform management system determines whether the resource state corresponding to the execution result is consistent with the resource state in the resource record, including: the cloud platform management system determines whether the resource state corresponding to the execution result is consistent with the resource state in the resource record through the resource management plug-in. That is to say, the cloud platform management system sends the conversion instruction to the first cloud platform through the resource management plug-in, and the cloud platform management system receives the execution result through the resource management plug-in, and can also determine whether the resource state corresponding to the execution result is consistent with the resource state in the resource record through the resource management plug-in. The resource management plug-in plays the role of a 'bridge' between the cloud platform management system and the cloud platform, so that the cloud platform management system and the cloud platform can transmit information to each other. Among them, each resource management plug-in is 'connected' to different cloud platforms respectively. If the management methods and resource specifications between multiple cloud platforms are the same, a resource management plug-in can also be shared.

[0054] The resource management plug-in here can be further divided into sub-resource management plug-ins with different functions. The sub-resource management plug-ins with different functions can also encapsulate the general management method in the cloud platform management system corresponding to the function and the cloud platform standard management method corresponding to the general management method in the cloud platform, as well as the mapping relationship between the general management method and the cloud platform standard management method. It can also encapsulate the general resource definition in the cloud platform management system and the cloud platform standard resource definition corresponding to the general resource definition in the cloud platform, as well as the mapping relationship between the general resource definition and the cloud platform standard resource definition, etc. Here, Tencent's resource management plug-in is taken as an example. For example, the plug-in service includes:

[0055] VPC (Virtual PC, abbreviated as VPC, virtual machine) plug-in service: encapsulates the management method of virtual network resources and provides creation and destruction service methods.

[0056] Subnet (subnet mask, network mask) plug-in service: encapsulates the management method of subnet resources in the virtual network, and provides service methods such as creation, creation and specification of routing tables, and destruction.

[0057] Peer-connection (a Java-level interface) plug-in service: encapsulates the management method of virtual network connection path resources and provides creation and destruction service methods.

[0058] Vm (VMware Workstation, a virtual PC software) plug-in service: encapsulates the management method of cloud host resource instances, and provides service methods such as creation, start, stop, destruction, and configuration of security groups;

[0059] MySql (relational database management system) plug-in service: encapsulates the management operations of MySql database resource instances, and provides service methods such as creation, destruction, backup creation, and backup deletion.

[0060] Clb (a product consisting of input, output modules and programmable interconnect bus) plug-in service: encapsulates the management method of load balancing resource instances and provides creation and destruction service methods.

[0061] This embodiment provides a resource record, which includes an application architecture layer record, an application deployment layer record, and a resource planning layer record; the application architecture layer record is used to store the functions of each component in the business system, the dependencies between the components, and the cloud platform corresponding to each component; the application deployment layer record is used to store the resource status occupied by the business system in the at least one cloud platform; the resource planning layer record is used to store the resource information reserved by the at least one cloud platform for the business system. Thus, in one example, the application method of the application architecture layer record, the application deployment layer record, and the resource planning layer record. After receiving the operation and maintenance instruction, the cloud platform management system obtains the business system ID and cloud platform ID in the operation and maintenance instruction, as well as the indication information; according to the cloud platform ID and the resource status occupied by the business system in the cloud platform recorded by the application deployment layer, and the resource information reserved by the cloud platform for the business system in the resource planning layer record, the resource for processing the operation and maintenance instruction is determined.

[0062] This embodiment also provides a resource record, the resource record also includes an application development layer record; the application development layer record is used to store component material packages; the operation and maintenance instruction is used to create the first component on the first cloud platform; the cloud platform management system determines the first component corresponding to the operation and maintenance instruction on the first cloud platform according to the resource record, including: the cloud platform management system obtains the material package corresponding to the first component according to the application development layer record; the cloud platform management system determines the first resource occupied by the first component on the first cloud platform according to the application deployment layer record; the cloud platform management system determines the conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform according to the conversion record, including: the cloud platform management system determines the second resource corresponding to the first resource on the first cloud platform according to the conversion record; the cloud platform management system determines the conversion instruction containing the second resource and the material package corresponding to the first component. That is, when the resource record also includes an application development layer record for storing component material packages, if the operation and maintenance instruction received by the cloud platform management system is used to create the first component on the first cloud platform. Then the cloud platform management system obtains the material package of the first component from the application open layer record according to the first component in the operation and maintenance instruction. And according to the application deployment layer record, determine the first resource occupied by the first component on the first cloud platform (the recording method of the second resource in the cloud platform management system), determine the second resource corresponding to the first resource on the first cloud platform according to the conversion record, and the cloud platform management system determines the conversion instruction of the material package corresponding to the second resource and the first component, and the second resource on the cloud platform corresponding to the conversion instruction, so that the second resource can autonomously install the material package of the first host and run the first component. In this way, there is no need for staff to migrate and reconstruct the business system and the first component on the cloud platform, or upgrade the business system; issuing corresponding operation and maintenance instructions in the cloud platform management system can realize the migration, reconstruction and upgrade of the business system and the first component, which greatly reduces the difficulty and cost of operation and maintenance work. Among them, the first resource and the second resource can be information such as the port identifier of the host resource.

[0063] In an embodiment of the present application, a resource record is also provided, and the resource record also includes a resource architecture layer record; the resource architecture layer record is used to store the infrastructure of the cloud platform management system. In this way, the cloud platform management system operates based on the infrastructure in the resource architecture layer record, and the cloud platform management system can be updated by updating the resource architecture record. It is convenient for the cloud platform management system to add new functional modules and expand the data center, etc. In addition, the information in the resource record can be divided into network information, basic information, general information, etc.

[0064] The present application also provides a schematic diagram of the architecture of a cloud platform management system. Figure 5As shown, the architecture diagram is only an example, and the cloud platform management system does not need to be built according to the architecture diagram. This is only for a clearer description of the content involved in the cloud platform management system.

[0065] Application architecture layer: focuses on the architectural design of the business system, that is, the functions of each component, the definition of dependencies, the corresponding cloud platform, etc. Specifically, the data model of this layer reflects the principles that the business system should follow in the logical architecture design, and also records the logical architecture design plan of the business system. For example, for each business system, how many components (such as subsystems, deployment units, and services, etc.) does it consist of, the interdependencies between these components are of the same or equal status, etc., how do the components collaborate to implement business demand services in a fixed business scenario, and even record the importance and availability requirements of the business demand services, etc. In one implementation method, it can be implemented through the application architecture record in the resource record.

[0066] Application development layer: focuses on the development and implementation products of each component of the business system, such as build results, material packages, etc. The data model in this layer can be used for continuous integration and update during the development and application of the business system, record the material packages generated by business system changes (online, deployment, offline), etc., and the management method of continuous integration and update during the development and application of the business system. In one implementation method, it can be implemented through the application development record in the resource record.

[0067] Application deployment layer: focuses on the component application instances that are being planned or have been planned and deployed in the data center, such as database instances, application instances, load balancing instances, cache instances, etc. It also includes the construction products and any kind of intermediate resources required in the planning and deployment process. Specifically, the data model of this layer records the occupation of resources in the cloud platform by the business system, and the resource status of each resource. In one implementation method, it can be implemented through the application deployment record in the resource record.

[0068] Resource planning layer: focuses on the capacity and capability planning of computing resources, storage resources, and network resources of different cloud platforms, as well as the allocation and reservation of resources based on logical grouping. Specifically, the data model in this layer records all the resources included in a specific cloud platform during planning and actual operation. For example, how many virtual machine resource instances, container cluster resource instances, database instances, cache instances, load balancing instances, etc. are included in the resource collection reserved for different business systems in each network area. The resource collection formed by these resources will be allocated to the business system as a resource pool. In one implementation method, it can be implemented through the resource planning record in the resource record.

[0069] Resource architecture layer: Focus on the infrastructure design of the cloud platform management system, including regional division, regional connection design, network space planning and design, etc. For example, in a standard cloud platform management system for a production environment, the network space of the cloud platform management system is divided into several network areas, and a verification process for obtaining target resources is added to ensure the security of the design; network paths and connectivity requirements between these network areas can also be defined; in this way, resource planning and reserved logical grouping units can be further divided in each network area according to the enterprise architecture corresponding to the business system to meet the resource needs of different business systems. In one implementation method, this can be achieved through the resource architecture record in the resource record.

[0070] Resource management plug-in: focuses on the communication between the cloud platform management system and the cloud platform, and the general management method in the cloud platform management system and the cloud platform standard management method corresponding to the general management method in the cloud platform, as well as the mapping relationship between the general management method and the cloud platform standard management method. The general resource definition in the cloud platform management system and the cloud platform standard resource definition corresponding to the general resource definition in the cloud platform, as well as the mapping relationship between the general resource definition and the cloud platform standard resource definition, etc. In one implementation method, it can be implemented by converting records.

[0071] Based on the above method, the present application embodiment provides a cloud platform management method process, such as Figure 6 As shown, including:

[0072] Step 601, determine the operation and maintenance instructions, where the operation and maintenance instructions can be determined by the technical staff of the cloud platform management system according to the resource records and requirements, or by the corresponding program of the cloud platform management system according to the resource records and requirements.

[0073] Step 602: The cloud platform management system receives the operation and maintenance instruction, and determines the business system corresponding to the operation and maintenance instruction according to the operation and maintenance instruction.

[0074] Step 603: The cloud platform management system determines the first component according to the operation and maintenance instruction, determines the first resource according to the operation and maintenance instruction and the conversion record, and further determines the second resource according to the first resource.

[0075] Step 604: The cloud platform management system updates the resource status corresponding to the operation and maintenance instruction in the resource record according to the operation and maintenance instruction and the resource status change rule.

[0076] Step 605: The cloud platform management system generates a conversion instruction according to the conversion record and the second resource. When the operation and maintenance instruction is used to create a first component on the first cloud platform, the conversion instruction also includes a material package of the first component.

[0077] Step 606: The cloud platform management system sends a conversion instruction to the first cloud platform through the resource management plug-in.

[0078] Step 607: The first cloud platform receives and executes the conversion instruction, and the first cloud platform sends the execution result of the conversion instruction to the cloud platform management system.

[0079] Step 608: The cloud platform management system obtains the execution result through the resource management plug-in.

[0080] Step 609: The cloud platform management system determines through the resource management plug-in whether the resource status corresponding to the execution result is consistent with the resource status in the resource record. If so, execute step 610; if not, execute step 608.

[0081] Step 610: The cloud platform management system determines that the operation and maintenance instruction is completed.

[0082] It should be noted that the above process steps are not unique. For example, step 605 can also be executed before step 604.

[0083] Based on the same concept, an embodiment of the present invention provides a cloud platform management platform device, Figure 7 A schematic diagram of a cloud platform management platform device provided in an embodiment of the present application, wherein the cloud platform management platform is used to manage at least one cloud platform, and the at least one cloud platform is used to run a business system; Figure 7 Including:

[0084] The transceiver 701 is used to receive an operation and maintenance instruction for the business system, where the operation and maintenance instruction is used to instruct to update the business system on the cloud platform;

[0085] Processor 702, used to determine the first component corresponding to the operation and maintenance instruction in the first cloud platform according to the resource record; the first cloud platform is one of the at least one cloud platform; the resource record is used to record the resource status of the business system in the at least one cloud platform;

[0086] The processor 702 is also used to determine the conversion instructions corresponding to the operation and maintenance instructions on the first cloud platform based on the conversion records; the conversion records are used to record the correspondence between the resource specifications of the at least one cloud platform and the resource specifications of the cloud platform management system.

[0087] The transceiver 701 is further configured to send the conversion instruction to the first cloud platform.

[0088] Optionally, before sending the conversion instruction to the first cloud platform, it also includes: the processor 702 is also used to update the resource status corresponding to the operation and maintenance instruction in the resource record according to the resource status change rule; after sending the conversion instruction to the first cloud platform, it also includes: the transceiver 701 is also used to receive the execution result of the operation and maintenance instruction by the first cloud platform; the processor 702 is also used to determine whether the resource status corresponding to the execution result is consistent with the resource status in the resource record; if not, the conversion instruction is resent to the first cloud platform until the resource status corresponding to the execution result is consistent with the resource status in the resource record.

[0089] Optionally, the processor 702 is specifically used to determine the conversion instruction through a resource management plug-in based on the conversion record; the transceiver 701 is specifically used to send the conversion instruction to the first cloud platform; the processor 702 is specifically used for the cloud platform management system to determine through the resource management plug-in whether the resource status corresponding to the execution result is consistent with the resource status in the resource record.

[0090] Optionally, the resource records include application architecture layer records, application deployment layer records and resource planning layer records; the application architecture layer records are used to store the functions of each component in the business system, the dependencies between the components, and the cloud platforms corresponding to each component; the application deployment layer records are used to store the resource status occupied by the business system in the at least one cloud platform; the resource planning layer records are used to store resource information reserved by the at least one cloud platform for the business system.

[0091] Optionally, the resource record also includes an application development layer record; the application development layer record is used to store component material packages; the operation and maintenance instructions are used to create the first component on the first cloud platform; the processor 702 is specifically used to obtain the material package corresponding to the first component according to the application development layer record; determine the first resource occupied by the first component on the first cloud platform according to the application deployment layer record; the processor 702 is specifically used to determine the second resource corresponding to the first resource on the first cloud platform according to the conversion record; determine the conversion instruction containing the second resource and the material package corresponding to the first component.

[0092] Optionally, the resource record also includes a resource architecture layer record; the resource architecture layer record is used to store the infrastructure of the cloud platform management system.

[0093] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0094] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0095] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0096] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0097] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A cloud platform management method, characterized in that: A cloud platform management system adapted to manage at least one cloud platform, wherein the at least one cloud platform is used to run a business system; the method comprising: The cloud platform management system receives an operation and maintenance instruction for the business system, wherein the operation and maintenance instruction is used to instruct to update the business system on the cloud platform; The cloud platform management system determines the first component corresponding to the operation and maintenance instruction on the first cloud platform according to the resource record; the first cloud platform is one of the at least one cloud platform; the resource record is used to record the resource status of the business system on the at least one cloud platform; The cloud platform management system determines the conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform according to the conversion record, and sends the conversion instruction to the first cloud platform; the conversion record is used to record the correspondence between the resource specifications of the at least one cloud platform and the resource specifications of the cloud platform management system; Wherein, the resource record also includes an application development layer record; the application development layer record is used to store component material packages; The operation and maintenance instruction is used to create the first component on the first cloud platform; The cloud platform management system determines, according to the resource record, a first component corresponding to the operation and maintenance instruction in the first cloud platform, including: The cloud platform management system obtains a material package corresponding to the first component according to the application development layer record; The cloud platform management system determines, according to the application deployment layer record, a first resource occupied by the first component on the first cloud platform; The cloud platform management system determines, according to the conversion record, a conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform, including: The cloud platform management system determines, according to the conversion record, a second resource corresponding to the first resource on the first cloud platform; The cloud platform management system determines a conversion instruction for a material package including the second resource and corresponding to the first component.

2. The method according to claim 1, characterized in that Before the cloud platform management system sends the conversion instruction to the first cloud platform, the method further includes: The cloud platform management system updates the resource status corresponding to the operation and maintenance instruction in the resource record according to the resource status change rule; After the cloud platform management system sends the conversion instruction to the first cloud platform, the method further includes: The cloud platform management system receives the execution result of the operation and maintenance instruction by the first cloud platform; The cloud platform management system determines whether the resource state corresponding to the execution result is consistent with the resource state in the resource record; If not, the conversion instruction is resent to the first cloud platform until the resource state corresponding to the execution result is consistent with the resource state in the resource record.

3. The method as claimed in claim 2, characterized in that The cloud platform management system determines, according to the conversion record, a conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform, and sends the conversion instruction to the first cloud platform, including: The cloud platform management system determines the conversion instruction through the resource management plug-in according to the conversion record and sends the conversion instruction to the first cloud platform; The cloud platform management system determines whether the resource state corresponding to the execution result is consistent with the resource state in the resource record, including: The cloud platform management system determines, through the resource management plug-in, whether the resource status corresponding to the execution result is consistent with the resource status in the resource record.

4. The method according to any one of claims 1 to 3, characterized in that: The resource records include application architecture layer records, application deployment layer records and resource planning layer records; The application architecture layer records are used to store the functions of each component in the business system, the dependencies between the components, and the cloud platform corresponding to each component; The application deployment layer record is used to store the resource status occupied by the business system in the at least one cloud platform; The resource planning layer record is used to store resource information reserved by the at least one cloud platform for the business system.

5. The method as claimed in claim 4, characterized in that The resource record also includes a resource architecture layer record; The resource architecture layer records are used to store the infrastructure of the cloud platform management system.

6. A cloud platform management platform, characterized in that: The cloud platform management platform is used to manage at least one cloud platform, and the at least one cloud platform is used to run a business system; including: A transceiver, used to receive an operation and maintenance instruction for the business system, wherein the operation and maintenance instruction is used to instruct to update the business system on the cloud platform; A processor, configured to determine, according to a resource record, a first component corresponding to the operation and maintenance instruction on a first cloud platform; the first cloud platform is one of the at least one cloud platform; the resource record is used to record the resource conditions of the business system on the at least one cloud platform; The processor is further used to determine, according to the conversion record, a conversion instruction corresponding to the operation and maintenance instruction on the first cloud platform; the conversion record is used to record the correspondence between the resource specifications of the at least one cloud platform and the resource specifications of the cloud platform management system; The transceiver is further used to send the conversion instruction to the first cloud platform; The processor is further configured to obtain a material package corresponding to the first component according to the application development layer record; determine a first resource occupied by the first component on the first cloud platform according to the application deployment layer record; wherein the resource record also includes the application development layer record; the application development layer record is used to store component material packages; the operation and maintenance instruction is used to create the first component on the first cloud platform; The processor is further used to determine, based on the conversion record, a second resource corresponding to the first resource on the first cloud platform; and determine a conversion instruction for a material package containing the second resource and corresponding to the first component.

7. The cloud platform management platform as claimed in claim 6, characterized in that: Before sending the conversion instruction to the first cloud platform, the method further includes: The processor is further configured to update the resource state corresponding to the operation and maintenance instruction in the resource record according to a resource state change rule; After sending the conversion instruction to the first cloud platform, the method further includes: The transceiver is further used to receive the execution result of the operation and maintenance instruction by the first cloud platform; The processor is further configured to determine whether the resource state corresponding to the execution result is consistent with the resource state in the resource record; If not, the conversion instruction is resent to the first cloud platform until the resource state corresponding to the execution result is consistent with the resource state in the resource record.

8. A computer-readable storage medium, characterized in that: The storage medium stores a program, and when the program is run on a computer, the computer is enabled to implement the method according to any one of claims 1 to 5.

9. A computer device, characterized in that: include: Memory for storing computer programs; A processor is used to call the computer program stored in the memory, and execute the method according to any one of claims 1 to 5 according to the obtained program.

Citation Information

Patent Citations

  • Cloud resource processing method and cloud management platform

    CN107493310A