A method, apparatus, device, and readable storage medium for managing a cloud computing resource pool

By calling the UI program module and adapter conversion communication protocol in cloud computing resource pool management, the problem of low efficiency in resource pool management in different versions is solved, and efficient resource pool management is achieved.

CN114327902BActive Publication Date: 2025-07-04GUANGDONG INSPUR BIG DATA RES CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111660345.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-07-04
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

When managing cloud computing resource pools in different versions and regions, the prior art lacks an effective solution to demonstrate the functional interface of a specified resource pool and data interaction request conversion, resulting in large management workload and inefficient efficiency.

Method used

The user interface is rendered by calling the UI program module corresponding to the resource pool version in response to the selection instruction, and using the adapter to convert the data interaction instructions into the communication protocol supported by the specified area, to achieve efficient management of the resource pool.

Benefits of technology

When the resource pool changes, just delete or add the corresponding UI program modules and adapters, and the management process becomes more convenient and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114327902B_ABST
    Figure CN114327902B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for managing a cloud computing resource pool. The present application can render a user interface according to a UI program module corresponding to a resource pool version in a specified area of a selection instruction to display function options corresponding to the resource pool version in the specified area, and can also call an adapter corresponding to the current specified area to perform a communication protocol conversion on a received data interaction instruction. In this way, when a resource pool in a certain area is deleted or a resource pool located in a new area is added, only the corresponding UI program module and adapter need to be deleted or added, and the management is convenient and efficient. The present invention also discloses a cloud computing resource pool management device, equipment, and computer-readable storage medium, which have the same beneficial effects as the above cloud computing resource pool management method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing, and in particular to a method for managing a cloud computing resource pool. The present invention also relates to a device, equipment, and computer-readable storage medium for managing a cloud computing resource pool. Background Art

[0002] In recent years, with the development of cloud computing technology, many enterprises have chosen to move to the cloud. The traditional construction plan is to build a cloud management platform and connect one or more resource pools to the cloud management platform. However, due to different construction cycles and construction planning considerations, the versions of different resource pools may be different, and different resource pools may be located in different regions. Since the functions provided by different version resource pools are different, and the communication protocols supported by different version resource pools are also different, in this case, in the prior art, in the face of: how to display the function interface corresponding to the specified resource pool during user operation, and how to convert the data interaction request into the communication protocol supported by the specified resource pool (and then send it to the specified resource pool), there is a lack of a mature solution, resulting in a large workload and low work efficiency when managing cloud computing resource pools in the prior art.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve currently. Summary of the Invention

[0004] The purpose of the present invention is to provide a method for managing a cloud computing resource pool. When a resource pool in a certain region is deleted or a resource pool located in a new region is added, only the corresponding UI program module and adapter need to be deleted or added, which is convenient and efficient for management. Another purpose of the present invention is to provide a device, equipment, and computer-readable storage medium for managing a cloud computing resource pool. When a resource pool in a certain region is deleted or a resource pool located in a new region is added, only the corresponding UI program module and adapter need to be deleted or added, which is convenient and efficient for management.

[0005] To solve the above technical problems, the present invention provides a method for managing a cloud computing resource pool, including:

[0006] In response to a selection instruction for a specified region, call a preset user interface (UI) program module corresponding to the resource pool version in the specified region;

[0007] Render a user interface according to the UI program module to display function options corresponding to the resource pool version in the specified region;

[0008] After receiving a data interaction instruction for the resource pool in the specified region, call a preset adapter corresponding to the current specified region;

[0009] Convert the data interaction instruction into a communication protocol supported by the resource pool version in the current specified area through the adapter;

[0010] Send the converted data interaction instruction to the resource pool in the current specified area for data interaction.

[0011] Preferably, the cloud computing resource pool management method further includes:

[0012] Send the service request instruction for the specified basic service generated by triggering the UI public area to the service module preset corresponding to the specified basic service by itself, so that the service module performs relevant operations according to the service request instruction;

[0013] Wherein, the service module includes a basic module, a security module and other modules.

[0014] Preferably, the cloud computing resource pool management method further includes:

[0015] After adding a resource pool located in a new area under itself, receive an adapter corresponding to the resource pool version located in the new area for subsequent invocation;

[0016] After adding a resource pool with a new version under itself, receive a UI program module corresponding to the resource pool with the new version for subsequent invocation.

[0017] Preferably, the specific operation of invoking the preset adapter corresponding to the current specified area after receiving the data interaction instruction for the resource pool in the specified area is:

[0018] When receiving the data interaction instruction for the resource pool in the specified area that triggers the generation of the user interface corresponding to the current UI program module, invoke the preset adapter corresponding to the current specified area;

[0019] When receiving the data interaction instruction for the resource pool in the specified area sent by the service module, invoke the preset adapter corresponding to the current specified area.

[0020] Preferably, each area contains multiple resource pools with the same version.

[0021] To solve the above technical problems, the present invention also provides a cloud computing resource pool management device, including:

[0022] A first invocation module, configured to, in response to a selection instruction for a specified area, invoke a user interface UI program module preset corresponding to the resource pool version in the specified area;

[0023] A rendering module, configured to render a user interface according to the UI program module, so as to display function options corresponding to the resource pool version in the specified area;

[0024] A second calling module, configured to call a preset adapter corresponding to the current specified area after receiving a data interaction instruction for the resource pool in the specified area;

[0025] A conversion module, configured to convert the data interaction instruction into a communication protocol supported by the resource pool version in the current specified area through the adapter;

[0026] A first sending module, configured to send the converted data interaction instruction to the resource pool in the current specified area for data interaction.

[0027] Preferably, the cloud computing resource pool management method further includes:

[0028] A second sending module, configured to send a service request instruction for a specified basic service that triggers the generation of a UI common area to a preset service module corresponding to the specified basic service by itself, so that the service module performs related operations according to the service request instruction;

[0029] Wherein, the service module includes a basic module, a security module, and other modules.

[0030] Preferably, each area contains multiple resource pools of the same version.

[0031] To solve the above technical problems, the present invention further provides a cloud computing resource pool management device, including:

[0032] A memory, configured to store a computer program;

[0033] A processor, configured to implement the steps of the above-mentioned cloud computing resource pool management method when executing the computer program.

[0034] To solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned cloud computing resource pool management method are implemented.

[0035] The present invention provides a method for managing a cloud computing resource pool. This application can render the user interface according to the UI program module corresponding to the resource pool version in the specified area of the selection instruction to display the function options corresponding to the resource pool version in the specified area, and can also call the adapter corresponding to the current specified area to convert the communication protocol of the received data interaction instruction. In this way, when the resource pool in a certain area is deleted or a resource pool in a new area is added, only the corresponding UI program module and adapter need to be deleted or added, and the management is convenient and efficient.

[0036] The present invention also provides a cloud computing resource pool management device, equipment and computer-readable storage medium, which have the same beneficial effects as the above cloud computing resource pool management method. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the prior art and the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0038] Figure 1 It is a schematic flowchart of a method for managing a cloud computing resource pool provided by the present invention;

[0039] Figure 2 It is a schematic structural diagram of a cloud management platform provided by the present invention;

[0040] Figure 3 It is a schematic structural diagram of a cloud computing resource pool management device provided by the present invention;

[0041] Figure 4 It is a schematic structural diagram of a cloud computing resource pool management device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0042] The core of the present invention is to provide a method for managing a cloud computing resource pool. When the resource pool in a certain area is deleted or a resource pool in a new area is added, only the corresponding UI program module and adapter need to be deleted or added, and the management is convenient and efficient; another core of the present invention is to provide a cloud computing resource pool management device, equipment and computer-readable storage medium. When the resource pool in a certain area is deleted or a resource pool in a new area is added, only the corresponding UI program module and adapter need to be deleted or added, and the management is convenient and efficient.

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0044] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of a cloud computing resource pool management method provided by the present invention. The cloud computing resource pool management method includes:

[0045] S101: In response to a selection instruction for a specified area, call a preset UI program module corresponding to the resource pool version in the specified area;

[0046] Specifically, considering the technical problems in the above background technology and also considering that the function options provided by the resource pool of each version are different, each version of the resource pool requires its own corresponding user interface. Therefore, in this application, UI (User Interface) program modules corresponding to each version of the resource pool are preset in the cloud management platform, so as to render a specific user interface corresponding to the resource pool version through it. Therefore, in this step, when receiving a selection instruction from the user for a specified area, the preset UI program module corresponding to the resource pool version in the specified area can be called to serve as the data basis for subsequent steps.

[0047] Among them, the embodiments of the present invention can be applied to a cloud management platform. When the resource pool under the cloud management platform has N different types of versions, N UI program modules can be preset in the operation management platform, which correspond one-to-one with the resource pool versions.

[0048] S102: Render a user interface according to the UI program module to display the function options corresponding to the resource pool version in the specified area;

[0049] Specifically, after rendering the user interface according to the UI program module, the user interface will include the function options corresponding to the resource pool version in the specified area, and the user can use the functions provided by the resource pool in the specified area through the user interface.

[0050] S103: After receiving a data interaction instruction for the resource pool in the specified area, call a preset adapter corresponding to the current specified area;

[0051] Specifically, the user can initiate a data interaction instruction for the resource pool in the specified area through the user interface to use the functions provided by the resource pool in the specified area. Considering that the communication protocols supported by each resource pool version are different, it is necessary to convert the communication protocol of the data interaction instruction. In the embodiments of the present invention, multiple adapters can be preset in the cloud management platform, and each adapter corresponds to the current specified area. Of course, it is also necessary to combine the version of the resource pool in the current specified area, because the adapter ultimately serves the resource pool in its corresponding area, that is, to convert the data interaction protocol into the communication protocol supported by the corresponding resource pool version.

[0052] Among them, each area can correspond to an adapter.

[0053] S104: Convert the data interaction instruction into the communication protocol supported by the resource pool version in the current specified area through the adapter;

[0054] Specifically, the data interaction instruction can be converted into the communication protocol supported by the resource pool version in the current specified area through the adapter, so that the resource pool can process the instruction.

[0055] S105: Send the converted data interaction instruction to the resource pool in the current specified area for data interaction.

[0056] Specifically, after the converted data interaction instruction is sent to the resource pool in the current specified area, the resource pool can successfully parse the instruction and perform subsequent operations.

[0057] Specifically, the resource pool in the embodiments of the present invention can refer to the cloud computing management platform OpenStack or an enterprise-customized enhanced product based on OpenStack.

[0058] The present invention provides a cloud computing resource pool management method. The present application can render the user interface according to the UI program module corresponding to the resource pool version in the specified area of the selection instruction to display the function options corresponding to the resource pool version in the specified area, and can also call the adapter corresponding to the current specified area to convert the communication protocol of the received data interaction instruction. In this way, when the resource pool in a certain area is deleted or a resource pool in a new area is added, only the corresponding UI program module and adapter need to be deleted or added, which is convenient and efficient for management.

[0059] For a better description of the embodiments of the present invention, please refer to Figure 2 , Figure 2 FIG.

[0060] Send the service request instruction for the specified basic service that triggers the generation of the UI public area to the service module preset by itself corresponding to the specified basic service, so that the service module performs relevant operations according to the service request instruction;

[0061] Among them, the service module includes a basic module, a security module, and other modules.

[0062] Specifically, in Figure 2 the cloud management platform includes a front-end service (generally a web page provided by a web server) and a back-end service (generally a Java application, a supporting database, a message queue, etc.). The cloud management platform is often deployed in a specific data center, and the specific location does not affect the design of this patent. Resource pools are deployed in each area. In this design, three areas are taken as examples, namely Area 1, Area 2, and Area 3, which respectively correspond to three cities with close distances; Resource pool versions V1, V1, and V2 are respectively deployed. V2 is a newly built resource pool, and the functions provided by different versions of resource pools are different; The back-end service is divided into two categories. One is the adapter service that interacts with the resource pool, corresponding to the version of the resource pool, and each area's resource pool corresponds to an adapter service with a matching version. The other is the basic service, such as user management, system management, authentication, etc. services, which do not directly interact with the resource pool and belong to general services independent of the version.

[0063] Among them, the front-end UI service is divided into two categories. One is the UI program module related to the resource pool version, defined as a plugin in this example; The other is the sub-module independent of the resource pool version, defined as the UI public module in this example. The plugin can be understood as a collection of web elements such as a group of JS files (text documents with the extension ".js"), Html (Hyper Text Markup Language) files, etc.

[0064] Specifically, when the user switches to Region 1, the UI obtains the resource pool version of Region 1 as V1 from the configuration information, and thus loads the resource pool UI plug-in of version V1. What the user sees on the page is a page that matches the resource pool version V1 of Region 1. If the user initiates an API (Application Programming Interface) request (data interaction instruction) such as a query from the page, the information of Region 1 is placed in the request message. When the API request passes through the routing module and the routing module identifies Region 1, the request is routed to Adapter 1 with version V1 in Region 1. After receiving the request, depending on the business, Adapter 1 may request its own database or further request the API provided by the resource pool V1. Typically, for operations such as querying cloud hosts, the database can be directly read, but for operations such as powering on / off cloud hosts, the interface provided by the underlying resource pool needs to be further requested. If the user performs an operation unrelated to the resource pool, such as querying user information, a common page is loaded and a backend service module that is independent of the version is requested.

[0065] Specifically, there is also a UI common area in the user interface for providing basic service options. That is, regardless of which UI program module is currently being rendered, the UI common area can always exist in the user interface. The user can also trigger the UI common area to generate a service request instruction for a specified basic service. Correspondingly, there is also a service module in the cloud management platform that provides basic services. When receiving the service request instruction for the specified basic service generated by triggering the UI common area, it can send it to the service module preset for the specified basic service by itself, so that the service module can perform relevant operations according to the service request instruction.

[0066] Among them, the service module can include a basic module, a security module, and other modules. The services it can provide are not limited to user management, system management, and authentication services. It does not directly interact with the resource pool and belongs to a general service independent of the resource pool version. And each service module has its own DB (Data Base).

[0067] As a preferred embodiment, the cloud computing resource pool management method further includes:

[0068] After adding a resource pool in a new region under itself, receive the adapter corresponding to the resource pool version in the new region for subsequent invocation;

[0069] After adding a resource pool of a new version under itself, receive the UI program module corresponding to the resource pool of the new version for subsequent invocation.

[0070] Specifically, after adding a resource pool in the new area under itself, it is necessary to add a corresponding adapter in the cloud management platform for subsequent calls to perform protocol conversion for this new area.

[0071] As a preferred embodiment, after receiving a data interaction instruction for the resource pool in the specified area, the preset adapter corresponding to the current specified area is called specifically as follows:

[0072] When receiving a data interaction instruction for the resource pool in the specified area that triggers the generation of the user interface corresponding to the current UI program module, call the preset adapter corresponding to the current specified area;

[0073] When receiving a data interaction instruction for the resource pool in the specified area sent by the service module, call the preset adapter corresponding to the current specified area.

[0074] Specifically, the operation instruction for calling the resource pool, that is, the data interaction instruction, can not only be triggered by the generation of the user interface corresponding to the current UI program module, but also be initiated by the service module. For example, after the user interacts with the service module through the user interface, the service module can independently issue a data interaction instruction according to the requirements.

[0075] As a preferred embodiment, each area contains multiple resource pools of the same version.

[0076] Specifically, the number of resource pools in each area in the embodiments of the present invention can be multiple, making the resource pool layout more flexible. However, these multiple resource pools in the same area need to maintain the same version.

[0077] Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of a cloud computing resource pool management device provided by the present invention. The cloud computing resource pool management device includes:

[0078] The first call module 31 is used to call the UI program module of the user interface corresponding to the resource pool version in the specified area in response to a selection instruction for the specified area;

[0079] The rendering module 32 is used to render the user interface according to the UI program module so as to display function options corresponding to the resource pool version in the specified area;

[0080] The second call module 33 is used to call the preset adapter corresponding to the current specified area after receiving a data interaction instruction for the resource pool in the specified area;

[0081] The conversion module 34 is used to convert the data interaction instruction into a communication protocol supported by the resource pool version in the current specified area through the adapter;

[0082] The first sending module 35 is configured to send the converted data interaction instruction to the resource pool in the currently specified area for data interaction.

[0083] As a preferred embodiment, the cloud computing resource pool management method further includes:

[0084] The second sending module is configured to send the service request instruction for triggering the generation of the UI common area for the specified basic service to the service module preset corresponding to the specified basic service by itself, so that the service module performs related operations according to the service request instruction;

[0085] Wherein, the service module includes a basic module, a security module, and other modules.

[0086] As a preferred embodiment, each area contains multiple resource pools of the same version.

[0087] For the introduction of the cloud computing resource pool management device provided by the embodiments of the present invention, please refer to the embodiments of the cloud computing resource pool management method described above, and the embodiments of the present invention will not be elaborated here.

[0088] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of a cloud computing resource pool management device provided by the present invention. The cloud computing resource pool management device includes:

[0089] A memory 41 for storing a computer program;

[0090] A processor 42 for implementing the steps of the cloud computing resource pool management method in the foregoing embodiments when executing the computer program.

[0091] For the introduction of the cloud computing resource pool management device provided by the embodiments of the present invention, please refer to the embodiments of the cloud computing resource pool management method described above, and the embodiments of the present invention will not be elaborated here.

[0092] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the cloud computing resource pool management method in the foregoing embodiments are implemented.

[0093] For the introduction of the computer-readable storage medium provided by the embodiments of the present invention, please refer to the embodiments of the cloud computing resource pool management method described above, and the embodiments of the present invention will not be elaborated here.

[0094] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section. It should also be noted that in this specification, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.

[0095] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can 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 will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A cloud computing resource pool management method, characterized in that Including: In response to a selection instruction for a specified area, call a preset user interface (UI) program module corresponding to the resource pool version in the specified area; Render a user interface according to the UI program module to display function options corresponding to the resource pool version in the specified area; After receiving a data interaction instruction for the resource pool in the specified area, call a preset adapter corresponding to the current specified area; Convert the data interaction instruction into a communication protocol supported by the resource pool version in the current specified area through the adapter; Send the converted data interaction instruction to the resource pool in the current specified area for data interaction; After adding a resource pool in a new area under itself, receive an adapter corresponding to the resource pool version in the new area for subsequent calls; After adding a resource pool with a new version under itself, receive a UI program module corresponding to the resource pool with the new version for subsequent calls.

2. The cloud computing resource pool management method according to claim 1, wherein This cloud computing resource pool management method further includes: Send a service request instruction for a specified basic service that triggers the generation of a UI public area to a preset service module corresponding to the specified basic service, so that the service module performs relevant operations according to the service request instruction; Wherein, the service module includes a basic module, a security module, and other modules.

3. The cloud computing resource pool management method according to claim 2, characterized in that, The step of, after receiving a data interaction instruction for the resource pool in the specified area, calling a preset adapter corresponding to the current specified area specifically is: When receiving a data interaction instruction for the resource pool in the specified area that triggers the generation of the user interface corresponding to the current UI program module, call a preset adapter corresponding to the current specified area; When receiving a data interaction instruction for the resource pool in the specified area sent by the service module, call a preset adapter corresponding to the current specified area.

4. The cloud computing resource pool management method according to any one of claims 1 to 3, characterized in that Each area contains multiple resource pools with the same version.

5. A cloud computing resource pool management device, characterized in that, Including: A first call module for, in response to a selection instruction for a specified area, calling a preset user interface (UI) program module corresponding to the resource pool version in the specified area; A rendering module for rendering a user interface according to the UI program module to display function options corresponding to the resource pool version in the specified area; A second call module for, after receiving a data interaction instruction for the resource pool in the specified area, calling a preset adapter corresponding to the current specified area; A conversion module for converting the data interaction instruction into a communication protocol supported by the resource pool version in the current specified area through the adapter; A first sending module for sending the converted data interaction instruction to the resource pool in the current specified area for data interaction; After adding a resource pool in a new area under itself, receive an adapter corresponding to the resource pool version in the new area for subsequent calls; After adding a resource pool with a new version under itself, receive a UI program module corresponding to the resource pool with the new version for subsequent calls.

6. The cloud computing resource pool management device according to claim 5, characterized in that, Also including: A second sending module, configured to send a service request instruction for triggering the generation of a UI common area for a specified basic service to a service module preset by itself and corresponding to the specified basic service, so that the service module performs relevant operations according to the service request instruction; Wherein, the service module includes a basic module, a security module, and other modules.

7. The cloud computing resource pool management device according to claim 5 or 6, characterized in that, Each area contains multiple resource pools of the same version.

8. A cloud computing resource pool management device, characterized in that, Comprising: A memory, configured to store a computer program; A processor, configured to implement the steps of the cloud computing resource pool management method according to any one of claims 1 to 4 when executing the computer program.

9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the cloud computing resource pool management method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method, device and computer program product for managing a storage system

    US20190220371A1

  • Method for devic to device communication, terminal device and network device

    US20200120729A1