CN115292071A - Cloud resource management method, device, server and storage medium - Google Patents

Cloud resource management method, device, server and storage medium Download PDF

Info

Publication number
CN115292071A
CN115292071A CN202211024876.0A CN202211024876A CN115292071A CN 115292071 A CN115292071 A CN 115292071A CN 202211024876 A CN202211024876 A CN 202211024876A CN 115292071 A CN115292071 A CN 115292071A
Authority
CN
China
Prior art keywords
cloud
adapter
resource information
service
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211024876.0A
Other languages
Chinese (zh)
Inventor
王瑞波
周先胜
穆国华
杨经纬
胡林
张宇峰
李忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Digital Intelligence Technology Co Ltd
Original Assignee
China Telecom Digital Intelligence Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Digital Intelligence Technology Co Ltd filed Critical China Telecom Digital Intelligence Technology Co Ltd
Priority to CN202211024876.0A priority Critical patent/CN115292071A/en
Publication of CN115292071A publication Critical patent/CN115292071A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a cloud resource management method, a cloud resource management device, a server and a storage medium, and relates to the technical field of communication. The method comprises the following steps: receiving a cloud service request of a user, wherein the cloud service request carries resource information of cloud resources of a service to be acquired; sending the cloud service request to a cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template; and transferring the target resource information by calling the cloud adapter to acquire the service to be acquired. Therefore, the butt joint of the cloud management platform and the cloud resources can be established through the templated cloud adapter, and the development amount of developing the cloud adapter is greatly reduced.

Description

Cloud resource management method, device, server and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a cloud resource management method, a cloud resource management device, a server and a storage medium.
Background
Currently, cloud resource users of governments, enterprises, and the like can uniformly manage public clouds and private clouds through a CMP (Cloud Management Platform), so as to improve the Management efficiency of Cloud resources. For example, tencel cloud resources, arrythou resources, and huayayun resources, and the like may be managed by CPM.
The cloud management platform needs to establish a cloud adapter to realize unified management of cloud resources, so that the cloud management platform can be in interface butt joint with each cloud resource. At present, in a cloud management platform, an SDK (Software Development Kit) component is configured for each version of cloud resource of each cloud resource vendor, and a common interface is configured for these SDK components, so as to construct a functional module in the cloud management platform: a cloud adapter.
The inventor finds that in the process of implementing the application, a plurality of cloud resource manufacturers exist, the cloud resource versions of each cloud resource manufacturer are also numerous, developers need to develop an adaptive SDK component for each cloud resource, and the development amount is large.
Disclosure of Invention
The embodiment of the application provides a cloud resource management method, a cloud resource management device, a server and a storage medium. The corresponding technical scheme is as follows:
according to an aspect of an embodiment of the present application, a cloud resource management method is provided, which is applied to a cloud management platform, and the method may include:
receiving a cloud service request of a user, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
sending the cloud service request to a cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template;
and transferring target resource information by calling the cloud adapter to acquire the service to be acquired.
Optionally, the process of the cloud management platform and the process of the cloud adapter are different processes.
Optionally, the step of sending the cloud service request to the cloud adapter corresponding to the resource information may include:
searching a preset mapping table to obtain a communication address of the cloud adapter corresponding to the resource information; wherein, record in the preset mapping table has: registering a target communication address of a target cloud adapter of the cloud management platform and resource information of target cloud resources corresponding to the target cloud adapter;
and sending the cloud service request to the cloud adapter according to the communication address.
Optionally, before the step of searching the preset mapping table to obtain the communication address of the cloud adapter corresponding to the resource information, the method may further include:
receiving a registration request sent by a cloud adapter, wherein the registration request carries cloud adapter information of the cloud adapter and resource information of cloud resources;
and when the cloud adapter information and the resource information pass the verification, recording the communication address of the cloud adapter and the resource information of the cloud resource in the preset mapping table to finish the registration.
Optionally, the step of obtaining the service to be obtained by transferring the target resource information by calling the cloud adapter may further include:
sending pre-recorded cloud adapter information of the cloud adapter to the cloud adapter; the cloud adapter information comprises an identifier and a key of the cloud adapter;
after the cloud adapter information is verified through the cloud adapter, target resource information is transmitted by calling the cloud adapter, and the service to be acquired is acquired; or the like, or, alternatively,
and after the cloud adapter information and the resource information are verified through the cloud adapter, transferring the target resource information by calling the cloud adapter, and acquiring the service to be acquired.
Optionally, before the step of receiving the cloud service request of the user, the method may further include:
receiving a downloading request of a manager of the cloud resources for the cloud adapter template, and configuring a format conversion template in the cloud adapter template to obtain the cloud adapter;
wherein the configured format conversion template is used for: and converting the data information in the interface data format conforming to the cloud management platform into the data information in the interface data format conforming to the cloud resources.
Optionally, the cloud adapter may include multiple development language versions of the cloud adapter.
Optionally, the resource information of the cloud resource may include: and service resource information and service resource parameters which conform to the interface data format of the cloud management platform.
Optionally, the service resource information may include: creating virtual machine service information, creating computing service information, or creating translation service information.
According to another aspect of the embodiments of the present application, there is provided a cloud resource management method applied to a cloud adapter, where the method may include:
receiving a cloud service request sent by a cloud management platform, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template of the cloud adapter;
and responding to the call request of the cloud management platform, and transmitting target resource information to acquire the service to be acquired.
Optionally, the process of the cloud management platform and the process of the cloud adapter are different processes.
Optionally, the step of responding to a call request of the cloud management platform and transferring target resource information to obtain a service to be obtained includes:
receiving cloud adapter information of a cloud adapter sent by a cloud management platform; the cloud adapter information comprises an identifier and a key of the cloud adapter;
after the cloud adapter information passes the verification, responding to a call request of the cloud management platform, and transmitting target resource information to acquire a service to be acquired; or the like, or, alternatively,
and after the cloud adapter information and the resource information are verified through the cloud adapter, responding to a calling request of the cloud management platform, and transmitting the target resource information to acquire the service to be acquired.
Optionally, the cloud adapter comprises multiple development language versions of the cloud adapter.
According to another aspect of the embodiments of the present application, there is provided a cloud resource management apparatus, which is applied to a cloud management platform, and may include:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a cloud service request of a user, and the cloud service request carries resource information of cloud resources of a service to be acquired;
the first sending module is used for sending the cloud service request to the cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template;
the first acquisition module is used for transmitting the target resource information by calling the cloud adapter and acquiring the service to be acquired.
Optionally, the process of the cloud management platform and the process of the cloud adapter are different processes.
Optionally, the first sending module may include:
the searching unit is used for searching a preset mapping table to obtain a communication address of the cloud adapter corresponding to the resource information; wherein, record in the preset mapping table has: registering a target communication address of a target cloud adapter of the cloud management platform and resource information of target cloud resources corresponding to the target cloud adapter;
and the first sending unit is used for sending the cloud service request to the cloud adapter according to the communication address.
Optionally, the cloud resource management system may further include a first receiving unit, configured to receive a registration request sent by the cloud adapter before the step of searching the preset mapping table to obtain the communication address of the cloud adapter corresponding to the resource information, where the registration request carries cloud adapter information of the cloud adapter and resource information of the cloud resource;
and the recording unit is used for recording the cloud adapter information in a preset mapping table to complete registration when the cloud adapter information and the resource information pass verification.
Optionally, the system may further include a second sending module, configured to send pre-recorded cloud adapter information of the cloud adapter to the cloud adapter before the step of transferring the target resource information by calling the cloud adapter and obtaining the service to be obtained; the cloud adapter information comprises an identifier and a key of the cloud adapter;
the first acquisition module is specifically used for acquiring the service to be acquired by transferring the target resource information by calling the cloud adapter after the cloud adapter information is verified by the cloud adapter; or after the cloud adapter information and the resource information are verified through the cloud adapter, the target resource information is transferred by calling the cloud adapter, and the service to be acquired is acquired.
Optionally, the cloud service processing module may further include a third receiving module, configured to receive, before the step of receiving a cloud service request of a user, a download request of a manager of a cloud resource for a cloud adapter template, so as to configure a format conversion template in the cloud adapter template, to obtain a cloud adapter;
wherein the configured format conversion template is used for: and converting the data information which accords with the interface data format of the cloud management platform into the data information which accords with the interface data format of the cloud resource.
Optionally, the cloud adapter may include multiple development language versions of the cloud adapter.
Optionally, the resource information of the cloud resource may include: and service resource information and service resource parameters which conform to the interface data format of the cloud management platform.
Optionally, the service resource information may include: creating virtual machine service information, creating computing service information, or creating translation service information.
According to another aspect of the embodiments of the present application, there is provided a cloud resource management apparatus applied to a cloud adapter, including:
the second receiving module is used for receiving a cloud service request sent by the cloud management platform, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
the configuration module is used for converting the resource information into target resource information which accords with an interface data format of the cloud resource based on a format conversion template of the cloud adapter;
and the second acquisition module is used for responding to the call request of the cloud management platform and transmitting the target resource information so as to acquire the service to be acquired.
Optionally, the process of the cloud management platform and the process of the cloud adapter are different processes.
Optionally, the system may further include a fourth receiving module, configured to receive cloud adapter information of the cloud adapter sent by the cloud management platform before the step of responding to a call request of the cloud management platform and transferring target resource information to obtain a service to be obtained; the cloud adapter information comprises an identifier and a key of the cloud adapter;
the second acquisition module is specifically used for responding to a calling request of the cloud management platform and transmitting target resource information to acquire the service to be acquired after the cloud adapter information passes the verification; or after the cloud adapter information and the resource information are verified through the cloud adapter, responding to a calling request of the cloud management platform, and transmitting the target resource information to acquire the service to be acquired.
Optionally, the cloud adapter comprises multiple development language versions of the cloud adapter.
According to another aspect of embodiments of the present application, there is provided a server including a processor and a memory, in which a computer program is stored, the computer program being loaded by the processor and executed to implement any one of the cloud resource management methods applied to the cloud management platform as described above, or to implement any one of the cloud resource management methods applied to the cloud adapter as described above.
According to another aspect of the embodiments of the present application, there is provided a storage medium having a computer program stored therein, the computer program being loaded and executed by a processor to implement any one of the cloud resource management methods applied to a cloud management platform as described above, or to implement any one of the cloud resource management methods applied to a cloud adapter as described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, the cloud management platform can receive a cloud service request of a user, wherein the cloud service request carries resource information of cloud resources of a service to be acquired. Then, the cloud service request may be sent to a cloud adapter corresponding to the resource information. Wherein the cloud adapter is to: and converting the resource information into target resource information in accordance with the interface data format of the cloud resource based on the format conversion template. And then, target resource information can be transferred by calling the cloud adapter, so that the service to be acquired is acquired. Therefore, the butt joint of the cloud management platform and the cloud resources can be established through the templated cloud adapter, and an adaptive SDK is developed for the cloud resources of each version of each cloud resource manufacturer without any need, so that the development amount for developing the cloud adapter is greatly reduced.
Drawings
FIG. 1 is a schematic diagram of a prior art cloud resource management principle;
fig. 2 is a flowchart of a cloud resource management method according to an embodiment of the present application;
fig. 3 is a flowchart of a cloud resource management method according to another embodiment of the present application;
FIG. 4 is a schematic diagram of a cloud resource management system provided by an embodiment of the present application;
fig. 5 is a schematic diagram illustrating an initialization process of a cloud adapter and a cloud resource hosting process according to an embodiment of the present application;
fig. 6 is a schematic diagram of a cloud adapter development process provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of virtual machine interface parameters, according to another embodiment of the present application;
fig. 8 is a schematic diagram of a cloud adapter automatic registration process according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a cloud adapter service flow provided by an embodiment of the present application;
fig. 10 is a block diagram of a cloud resource management apparatus according to an embodiment of the present application;
fig. 11 is a block diagram of a cloud resource management apparatus according to another embodiment of the present application;
fig. 12 is a block diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
The following describes a cloud resource management scheme in the prior art with reference to fig. 1. Fig. 1 is a schematic diagram illustrating a cloud resource management principle in the prior art.
At present, a cloud adapter needs to be constructed to realize unified management of cloud resources by a cloud management platform, so that the cloud management platform can interface with each cloud resource.
Referring to fig. 1, a current cloud adapter is constructed in such a manner that, in a cloud management platform, an SDK (Software Development Kit) component is configured for each version of cloud resources of each cloud resource vendor, and a common interface is configured for the SDK components, so as to construct a functional module in the cloud management platform: a cloud adapter.
Therefore, when a user requests the relevant service of the cloud resource, the cloud management platform can find the corresponding route according to the form, and then the cloud resource is accessed through the cloud adapter to which the route is routed. Referring to fig. 1, a cloud adapter is disposed in the cloud management platform as a module of the cloud management platform; in addition, cloud resources include Tencent cloud resources, ali cloud resources, and other cloud resources.
However, in the process of implementing the present application, the inventor finds that in the cloud resource management method, there are many cloud resource manufacturers and many cloud resource versions of each cloud resource manufacturer, and developers need to develop an adaptive SDK component for each cloud resource. Moreover, a public interface adapted to each SDK component needs to be developed to obtain a cloud adapter for interfacing the cloud management platform with each cloud resource, which results in a very large development amount.
In order to solve the above technical problem, according to an aspect of the embodiments of the present application, a cloud resource management method is provided, which is applied to a cloud management platform. Referring to fig. 2, fig. 2 illustrates a cloud resource management method provided in an embodiment of the present application, where the method may include the following steps:
s101, receiving a cloud service request of a user, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
s102, sending the cloud service request to a cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template;
s103, target resource information is transmitted by calling the cloud adapter, and the service to be acquired is acquired.
In the embodiment of the application, the cloud management platform can receive a cloud service request of a user, wherein the cloud service request carries resource information of cloud resources of a service to be acquired. Then, the cloud service request may be sent to a cloud adapter corresponding to the resource information. Wherein the cloud adapter is to: and converting the resource information into target resource information in accordance with the interface data format of the cloud resource based on the format conversion template. And then, target resource information can be transferred by calling the cloud adapter, so that the service to be acquired is acquired. Therefore, the butt joint of the cloud management platform and the cloud resources can be established through the templated cloud adapter, and an adaptive SDK is developed for the cloud resources of each version of each cloud resource manufacturer without any need, so that the development amount for developing the cloud adapter is greatly reduced.
The cloud resource management method provided by the embodiment of the present application is described in detail below with reference to specific examples.
S101, receiving a cloud service request of a user, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
it is to be understood that the user may be any user that uses the cloud management platform for cloud resource management, including but not limited to enterprise users, personal users, and government users.
The cloud management platform may specifically be a public cloud management platform, a private cloud management platform, or a multi-cloud management platform that mixes a public cloud and a private cloud, but is not limited thereto. The public cloud and the private cloud both belong to the existing concept, and are not described herein.
The cloud management platform may provide a user with an interactive interface for managing cloud resources. When a user needs to manage cloud resources, a cloud service request can be sent through the interactive interface, and the cloud service request can carry resource information of the cloud resources of the service to be acquired. Illustratively, the user may issue the cloud service request by uploading a cloud resource application form on the interactive interface.
The service to be acquired may be any one of creating a virtual machine service, creating a computing service, creating a translation service, and creating a storage service, but is not limited thereto. The resource information of the cloud resource may include: and service resource information and service resource parameters conforming to the interface data format of the cloud management platform.
For example, when the service to be acquired is a service for creating a virtual machine, the service resource information conforming to the interface data format of the cloud management platform may be service information for creating a virtual machine, and the service information for creating a virtual machine may specifically be/virtual machine/create.
Correspondingly, the service resource parameter conforming to the interface data format of the cloud management platform is a service parameter for creating the virtual machine. The creating virtual machine service parameter may specifically include information related to cloud resources of the creating virtual machine service. The related information may include one or more of type information, vendor information, version information, identification information, and description information of the cloud resource.
S102, sending the cloud service request to a cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template;
it can be understood that the cloud management platform may obtain the communication address of the cloud adapter corresponding to the cloud resource by searching the preset mapping table, so that the cloud service request may be sent to the cloud adapter. The cloud adapter corresponding to the cloud resource can be in interface butt joint with the cloud resource.
As can be seen, in the embodiment of the present application, a corresponding cloud adapter is configured for each cloud resource, so that the cloud management platform can communicate with the cloud resource corresponding to the cloud adapter through the cloud adapter. Because the cloud adapter comprises the format conversion template, the development cost of the embodiment of the application is low compared with the development of an adaptive SDK component for each cloud resource. In addition, the mode of configuring the cloud adapter does not need to configure a public interface for the SDK components, and development cost is further reduced.
The step of sending the cloud service request to the cloud adapter corresponding to the resource information may include the following steps:
searching a preset mapping table to obtain a communication address of the cloud adapter corresponding to the resource information; wherein, the preset mapping table records: registering a target communication address of a target cloud adapter of the cloud management platform and resource information of target cloud resources corresponding to the target cloud adapter;
and sending the cloud service request to the cloud adapter according to the communication address.
In this way, the communication address of the cloud adapter can be searched based on a preset mapping table formed by the target communication address of the target cloud adapter registered to the cloud management platform and the resource information of the target cloud resource corresponding to the target cloud adapter, so that the cloud service request can be sent.
It can be understood that, before the step of searching the preset mapping table to obtain the communication address of the cloud adapter corresponding to the resource information, the following steps may also be included:
receiving a registration request sent by a cloud adapter, wherein the registration request carries cloud adapter information of the cloud adapter and resource information of cloud resources;
and when the cloud adapter information and the resource information pass the verification, recording the communication address of the cloud adapter and the resource information of the cloud resource in the preset mapping table to finish the registration.
By way of example, the cloud adapter information may include identification information and a key of the cloud adapter. In this case, after receiving the registration request sent by the cloud adapter, the cloud management platform may verify the identification information and the key of the cloud adapter. When the verification is passed, the cloud adapter is stated to be a legal cloud adapter. And then, the resource information of the cloud resource can be verified, and when the verified resource information passes, the data content and the format of the resource information are indicated to meet the requirements. At this time, the communication address of the cloud adapter and the resource information of the cloud resource may be recorded in the preset mapping table, so that the registration of the cloud adapter is completed.
It can be understood that, recording the communication address of the cloud adapter and the resource information of the cloud resource in the preset mapping table means that the communication address and the resource information are stored in a pair manner, or are stored in a manner of establishing an index relationship.
And S103, transferring target resource information by calling the cloud adapter, and acquiring the service to be acquired.
The step of obtaining the service to be obtained by transferring the target resource information by calling the cloud adapter may specifically include:
sending pre-recorded cloud adapter information of the cloud adapter to the cloud adapter; the cloud adapter information comprises an identifier and a key of the cloud adapter;
after the cloud adapter information is verified through the cloud adapter, transferring target resource information by calling the cloud adapter to acquire a service to be acquired; or the like, or, alternatively,
and after the cloud adapter information and the resource information are verified through the cloud adapter, transferring the target resource information by calling the cloud adapter, and acquiring the service to be acquired.
In this implementation manner, the service to be acquired may be acquired by invoking the cloud adapter to transfer the target resource information after the cloud adapter information is verified by the cloud adapter, or after the cloud adapter information and the resource information are verified by the cloud adapter.
Optionally, before the step of receiving the cloud service request of the user, the method may further include:
receiving a downloading request of a manager of cloud resources for a cloud adapter template, and configuring a format conversion template in the cloud adapter template to obtain a cloud adapter;
wherein the configured format conversion template is used for: and converting the data information in the interface data format conforming to the cloud management platform into the data information in the interface data format conforming to the cloud resources.
For example, before the cloud management platform receives a cloud service request sent by a user, a manager of the cloud resource may download a template for the cloud adapter through any device. The cloud resource manager can download the cloud adapter template with the same language as the cloud resource development language through the cloud resource equipment. Thereafter, a format conversion template in the cloud adapter template may be configured. Therefore, the configured format conversion template can convert the data information conforming to the interface data format of the cloud management platform into the data information conforming to the interface data format of the cloud resource.
The cloud adapter can comprise cloud adapters of multiple development language versions. For example, the C language version of the cloud adapter, and the Java language version of the cloud adapter, are not limited thereto. That is, the cloud adapter templates may include multiple development language versions of the templates.
As can be understood by those skilled in the art, as shown in fig. 1, in the prior art, a cloud adapter belongs to a sub-process in a cloud management platform, which results in that the cloud management platform needs to rely on many SDK components, so that the deployment dependency package of the cloud management platform is huge.
In addition, when the cloud resource of a third-party cloud service provider needs to be accessed to the cloud management platform, namely the cloud management platform needs to manage the cloud resource, the scheme of the prior art is adopted, if the cloud management platform installs the SDK component in a hot plug mode to complete management, the safety and the usability of the SDK cannot be guaranteed, and once a problem occurs, the usability of the service of the whole cloud management platform is affected. If the operation is not in a hot plug mode, the service of other SDK components needs to be stopped, which may affect other services and also cause the usability of the cloud management platform to be reduced.
In view of the above technical problems, in the embodiment of the present application, the process of the cloud management platform and the process of the cloud adapter may be set to be different processes, that is, the cloud adapter is performed independently of the cloud management platform. Therefore, the problem that the deployment dependence package of the cloud management platform is huge can be solved, and the problem that the use of other cloud resources is influenced when new cloud resources are newly managed can be solved.
In summary, the technical solution provided by the embodiment of the present application may include the following beneficial effects:
therefore, the butt joint of the cloud management platform and the cloud resources can be established through the templated cloud adapter, and an adaptive SDK is developed for the cloud resources of each version of each cloud resource manufacturer without any need, so that the development amount for developing the cloud adapter is greatly reduced. In addition, through the mode of configuring the cloud adapter, compared with the prior art, a public interface does not need to be configured for the SDK components in the prior art, and development cost is further reduced. In addition, by configuring a plurality of development languages for the cloud adapter, a user can select the cloud adapter of the corresponding development language according to specific requirements. In addition, the process of the cloud management platform and the process of the cloud adapter are set to be different, so that the problem that the deployment of the cloud management platform depends on a huge package can be solved, and the problem that the use of other cloud resources is influenced when new cloud resources are newly managed can be solved.
The cloud resource management method provided by the embodiment of the present application is described below from the perspective of a cloud adapter. The cloud resource management method in the embodiment of the application is a cloud resource management method corresponding to the cloud management platform. Therefore, the following embodiments are only briefly described, and the following contents may refer to other related expressions in the present application, and are not described in detail in this embodiment.
Referring to fig. 3, fig. 3 is a flowchart illustrating a cloud resource management method according to another embodiment of the present application, where the method may include the following steps:
s201, receiving a cloud service request sent by a cloud management platform, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
s202, converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template of the cloud adapter;
s203, responding to the call request of the cloud management platform, and transmitting the target resource information to obtain the service to be obtained.
In the embodiment of the application, the cloud adapter can receive a cloud service request sent by the cloud management platform, wherein the cloud service request carries resource information of cloud resources of a service to be acquired. Then, the resource information may be converted into target resource information conforming to the interface data format of the cloud resource based on the format conversion template of the cloud adapter. Then, the target resource information can be transmitted in response to the call request of the cloud management platform, so that the cloud management platform can acquire the service to be acquired. Therefore, the butt joint of the cloud management platform and the cloud resources can be established through the templated cloud adapter, the matched SDK is developed again aiming at the cloud resources of each version of each cloud resource manufacturer, and the development amount for developing the cloud adapter is greatly reduced.
Optionally, the process of the cloud management platform and the process of the cloud adapter are different processes. Therefore, the problem that the deployment of the cloud management platform depends on the huge package can be solved, and the problem that the use of other cloud resources is influenced when new cloud resources are managed can be solved.
Optionally, the cloud adapter comprises multiple development language versions of the cloud adapter. In addition, by configuring a plurality of development languages for the cloud adapter, a user can select the cloud adapter of the corresponding development language according to specific requirements.
Optionally, before the step of responding to the call request of the cloud management platform and transferring the target resource information to obtain the service to be obtained, the method further includes:
receiving cloud adapter information of a cloud adapter sent by a cloud management platform; the cloud adapter information comprises an identifier and a key of the cloud adapter;
after the cloud adapter information passes the verification, responding to a call request of the cloud management platform, and transmitting target resource information to acquire a service to be acquired; or the like, or a combination thereof,
and after the cloud adapter information and the resource information are verified by the cloud adapter, responding to a call request of the cloud management platform, and transmitting the target resource information to acquire the service to be acquired.
For example, when receiving cloud adapter information sent by the cloud management platform, the cloud adapter may verify the cloud adapter information to confirm that no information sending error occurs in the cloud management platform. In an implementation manner, if the cloud adapter information passes the verification, that is, when it is determined that the received cloud adapter information is consistent with the cloud adapter information of the cloud adapter, the target resource information may be transmitted in response to a call request of the cloud management platform, so as to obtain the service to be obtained. In another implementation manner, if the cloud adapter information and the resource information are verified by the cloud adapter, it is determined that the received cloud adapter information is consistent with the cloud adapter information of the cloud adapter, and when the resource information of the cloud resource paired with the cloud adapter can also be matched, the target resource information can be transmitted in response to a call request of the cloud management platform, so as to obtain the service to be obtained. By the verification method, the cloud adapter can be ensured not to be illegally called.
The following describes a cloud management method provided in an embodiment of the present application from the perspective of a cloud resource management system with reference to fig. 4 to fig. 9.
Fig. 4 shows a schematic diagram of a cloud resource management system according to an embodiment of the present application. Referring to fig. 4, the cloud resource management system may include a cloud management platform, a cloud adapter, and cloud resources.
Wherein, the multi-cloud management platform is used for: the cloud resource management system helps users to realize unified management, unified operation and maintenance and unified operation of all cloud resources. The cloud management platform comprises a form, a route and cloud adaptation configuration. When a user requests related services of cloud resources, the corresponding route can be found according to the form, then the corresponding cloud adapter is found through the route and cloud adaptation configuration, and then the cloud resources are accessed through the cloud adapter.
The cloud adapter is used for: as an intermediate layer of the system architecture, different cloud resource manufacturers correspond to different cloud adapters, the cloud resource interface data formats of the cloud resource manufacturers are converted into the unified external output interface data formats, and the unified external output interface data formats are used for being called by a multi-cloud management platform. The cloud resource manufacturer comprises the following steps: a vendor providing the underlying cloud resources.
The cloud adapter is arranged outside the cloud management platform and is used as an independent process independent of the cloud management platform, and the cloud resources comprise Tencent cloud resources, ali cloud resources and other cloud resources. In addition, the Tencent cloud adapter is in butt joint with Tencent cloud resources, the Aliyun adapter is in butt joint with Aliyun resources, and the Huacheng cloud adapter is in butt joint with the Huacheng cloud resources. The Tencent cloud adapter, the Ali cloud adapter and the Huacheng cloud adapter can send cloud adapter information and cloud resource information of the connected cloud resources to the cloud adaptation configuration for storage.
The initialization process of the cloud adapter and the cloud resource hosting process are described below with reference to fig. 5. Fig. 5 provides a schematic diagram of an initialization process of a cloud adapter and a cloud resource hosting process.
First, a cloud adapter initialization process is a process of constructing a cloud adapter service. The process may include the steps of:
s1: and downloading the cloud adaptation template.
The cloud management platform supports downloading of cloud adapter templates of multiple development languages. In addition, the format conversion template can be included in the cloud adapter template. The format conversion template can be used for converting resource information carried by the cloud service request into target resource information in an interface data format conforming to cloud resources.
The cloud adapter template may include: path services of different cloud resource interface functions. Examples include: creating an interface/virtual machine/create of virtual machine service; default and extensible custom filter chains (i.e., information validation chains); address configuration (i.e., communication address) of the cloud management server; and (4) a form model.
S2: the cloud adapter can perform function development according to the acquired cloud resource interface (communication address) and interface parameters (service parameters).
It can be understood that the data format of the interface and the interface parameter of the cloud management platform can be converted into the data format of the cloud resource interface and the interface parameter of the cloud resource manufacturer. Referring to fig. 6, fig. 6 is a schematic diagram of a cloud adapter development process according to an embodiment of the present application. Referring to fig. 6, cloud adapter development includes two-part adaptation: cloud management resource interface adaptation and cloud management resource interface parameter adaptation.
Cloud management platform interface adaptation: in the development of the cloud adapter, the data format of the cloud management platform interface needs to be converted into the data format of the corresponding cloud adapter interface, that is, the data format of the cloud resource interface of the cloud resource manufacturer. Such as: the cloud management platform creates a virtual machine interface/virtual machine/create, and the virtual machine interface/virtual machine/create is converted into a virtual cloud resource interface https:// www.xxx.com/vm/create.
The cloud management platform interface parameter adaptation: in the development of the cloud adapter service, the interface parameters of the cloud management platform need to be converted into corresponding cloud adapter interfaces, that is, the conversion and encapsulation are performed according to the data formats of the interface parameters of various cloud resource manufacturers. For example: fig. 7 shows a content of creating a virtual machine interface parameter object in the cloud management platform, and fig. 7 is a schematic diagram of a virtual machine interface parameter provided in an embodiment of the present application. The cloud adapter is convenient to expand into a specific object so as to shield data differences of different cloud resources.
S3: after the cloud adapter is developed, the cloud adapter needs to be deployed, after the cloud adapter service is started, relevant information of the cloud adapter service needs to be registered to the cloud management platform, and the registration process is shown in fig. 8. Fig. 8 is a schematic diagram of a cloud adapter automatic registration process according to an embodiment of the present application.
Access application S21: after a user logs in the cloud resource management platform, the cloud adapter which needs to be managed by the user can be added to the management function page, namely, an access application is sent out, and the cloud adapter is managed.
And (5) information issuing S22: the administrator checks that the access application is passed and then sends the mail, the mail content can comprise a communication address of the multi-cloud management platform, an identifier of the cloud adapter and a secret key, and therefore upstream configuration of the cloud adapter is achieved. Wherein, the upstream configuration means: and configuring parameters such as the communication address of the multi-cloud management platform, the identification of the cloud adapter, the key and the like into the cloud adapter.
Automatic registration S23: after the cloud adapter service is started, a communication address of the multi-cloud management platform is called, meanwhile, the identification, the secret key and cloud resource related information (the communication address, the cloud type, the name, the version, the developer and the description information of the cloud resource) of the cloud adapter are sent to the multi-cloud management platform, and the multi-cloud management platform stores data. And (3) data storage: after receiving the cloud plug-in registration request, the cloud management platform verifies the identifier and the key of the adapter, then verifies whether the cloud resource related information is legal, inserts the cloud resource related information into the database if the verification is correct, and prompts the cloud adapter to fail to register the cloud management platform if the verification fails.
In addition, the cloud resource admission process submits an application for a user to obtain a process of cloud resource service corresponding to the cloud resource. The process may include the steps of:
s4: after the cloud adapter is deployed successfully, the user may submit a cloud resource application form in the cloud management platform, for example: a virtual machine is created. The user can select the cloud type, version, developer and version in the form, and form data are inquired in a linkage mode for facilitating user experience.
S5: the cloud management platform can obtain the communication address of the cloud adapter from the cloud management platform database according to the type, version and developer of the cloud, such as: xxx.
S6: and issuing a cloud resource creation request according to the communication address of the S5 cloud adapter, and transmitting the communication address, the key and the transmission form of the cloud adapter as shown in FIG. 7. The key can be different from the key used when the cloud management platform is registered, and the cloud adapter can be customized and is transferred to the cloud management platform when the cloud management platform is registered.
S7: referring to fig. 9, fig. 9 is a schematic diagram of a cloud adapter service flow provided in an embodiment of the present application. After receiving the request, the cloud adapter can perform authentication (cloud adapter authentication, data verification) according to the self-contained filter chain in the cloud adapter template. And converting the received cloud management platform interface parameters into cloud adapter interface parameters. During conversion, the cloud adapter interface parameter model can inherit the cloud management platform parameter interface model. And acquiring personalized data of the cloud adapter from the cloud management platform interface parameter extended attribute object, and packaging the personalized data into the cloud adapter interface parameter model.
S8: the cloud adapter calls a communication address of a cloud resource interface provided by a corresponding cloud resource manufacturer, transmits interface parameter model data, and creates related resources, such as virtual machine resources.
Through the process, the following beneficial effects can be realized:
1. the cloud management platform is decoupled from the cloud adapter, and the cloud management platform does not need to rely on a plurality of SDK components. When a new third-party cloud resource is accessed, the cloud adapter template of the corresponding development language version can be downloaded according to the specific development language requirement. Then, the nano-tube can be completed by developing, deploying and operating according to the template content, the openness is good, and the realization is simpler.
2. After the cloud adapter is started, the communication address of the cloud adapter and resource information (such as manufacturer, type and version) of cloud resources corresponding to the cloud adapter can be automatically registered on the multi-cloud management platform. Furthermore, the user can flexibly select the type, version and manufacturer of the cloud resource on the cloud management platform, and then obtain the communication address of the corresponding cloud adapter. Through the mode, the user can operate different cloud resources, the expansibility is stronger, and the integration is better.
3. Because the cloud management platform and the cloud adapters belong to different services and are in different processes, when a problem exists in a certain cloud adapter, the management of the cloud management platform on the cloud resources of other cloud resource manufacturers is not influenced.
4. Because cloud resources provided by various cloud resource manufacturers have great difference, only a form model (form data object model) is provided for the cloud management platform, and the processing procedures of verifying data, converting data formats and calling the cloud resources are realized in various cloud configurator templates through default or self-expansion, so that the complexity of uniformly abstracting the cloud management platform into a public interface is reduced, the structure is clearer and more reasonable, and the development amount of developing the public interface is also reduced.
The following are device embodiments, server embodiments and storage medium embodiments corresponding to the method embodiments of the present application, and details not disclosed in the device embodiments of the present application refer to the method embodiments of the present application and are not described herein again.
Referring to fig. 10, fig. 10 is a block diagram of a cloud resource management device according to an embodiment of the present application. The cloud resource management device is applied to a cloud management platform and can comprise:
a first receiving module 1010, configured to receive a cloud service request of a user, where the cloud service request carries resource information of a cloud resource of a service to be acquired;
a first sending module 1020, configured to send the cloud service request to a cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information in accordance with an interface data format of the cloud resource based on a format conversion template;
the first obtaining module 1030 is configured to obtain the service to be obtained by transferring the target resource information by calling the cloud adapter.
By applying the device provided by the embodiment of the application, the cloud management platform can receive the cloud service request of the user through the first receiving module, and the cloud service request carries the resource information of the cloud resource of the service to be acquired. Then, the cloud service request may be sent to a cloud adapter corresponding to the resource information through the first sending module. Wherein the cloud adapter is to: and converting the resource information into target resource information in accordance with the interface data format of the cloud resource based on the format conversion template. And then, the cloud adapter can be called by the first acquisition module to transfer the target resource information, so that the service to be acquired is acquired. Therefore, the butt joint of the cloud management platform and the cloud resources can be established through the templated cloud adapter, and an adaptive SDK is developed for the cloud resources of each version of each cloud resource manufacturer without any need, so that the development amount for developing the cloud adapter is greatly reduced.
Optionally, the process of the cloud management platform and the process of the cloud adapter are different processes.
Optionally, the first sending module 1020 may include:
the searching unit 1021 is used for searching the preset mapping table to obtain the communication address of the cloud adapter corresponding to the resource information; wherein, the preset mapping table records: registering a target communication address of a target cloud adapter of the cloud management platform and resource information of target cloud resources corresponding to the target cloud adapter;
a first sending unit 1022, configured to send the cloud service request to the cloud adapter according to the communication address.
Optionally, the embodiment of the present application may further include a first receiving unit 1023, configured to receive a registration request sent by the cloud adapter before the step of searching the preset mapping table to obtain the communication address of the cloud adapter corresponding to the resource information, where the registration request carries cloud adapter information of the cloud adapter and resource information of the cloud resource;
the recording unit 1024 is configured to record the communication address of the cloud adapter and the resource information of the cloud resource in a preset mapping table when the cloud adapter information and the resource information pass verification, so as to complete registration.
Optionally, in this embodiment of the application, the first obtaining module 1030 may specifically be configured to:
sending pre-recorded cloud adapter information of the cloud adapter to the cloud adapter; the cloud adapter information comprises an identifier and a key of the cloud adapter;
after the cloud adapter information is verified through the cloud adapter, target resource information is transmitted by calling the cloud adapter, and the service to be acquired is acquired; or the like, or, alternatively,
and after the cloud adapter information and the resource information are verified through the cloud adapter, transferring the target resource information by calling the cloud adapter, and acquiring the service to be acquired.
Optionally, in this embodiment of the present application, a third receiving module 1040 may further be included, configured to:
before the step of receiving a cloud service request of a user, receiving a downloading request of a manager of cloud resources for a cloud adapter template, and configuring a format conversion template in the cloud adapter template to obtain a cloud adapter;
wherein the configured format conversion template is used for: and converting the data information which accords with the interface data format of the cloud management platform into the data information which accords with the interface data format of the cloud resource.
Optionally, the cloud adapter may include multiple development language versions of the cloud adapter.
Optionally, the resource information of the cloud resource may include: and service resource information and service resource parameters which conform to the interface data format of the cloud management platform.
Optionally, the service resource information may include: creating virtual machine service information, creating computing service information, or creating translation service information.
Referring to fig. 11, fig. 11 is a block diagram of a cloud resource management device according to another embodiment of the present application. The cloud resource management device is applied to a cloud adapter, and can comprise:
a second receiving module 1110, configured to receive a cloud service request sent by a cloud management platform, where the cloud service request carries resource information of a cloud resource of a service to be acquired;
a configuration module 1120, configured to convert the resource information into target resource information conforming to an interface data format of the cloud resource based on a format conversion template of the cloud adapter;
the second obtaining module 1130 is configured to respond to a call request of the cloud management platform and transmit target resource information to obtain a service to be obtained.
By applying the device provided by the embodiment of the application, the cloud adapter can receive the cloud service request sent by the cloud management platform through the second receiving module, and the cloud service request carries the resource information of the cloud resources of the service to be acquired. And then, the resource information can be converted into target resource information conforming to the interface data format of the cloud resource through a configuration module based on a format conversion template of the cloud adapter. Then, the second obtaining module responds to the call request of the cloud management platform and transmits the target resource information, so that the cloud management platform can obtain the service to be obtained. Therefore, the butt joint of the cloud management platform and the cloud resources can be established through the templated cloud adapter, and an adaptive SDK is developed for the cloud resources of each version of each cloud resource manufacturer without any need, so that the development amount for developing the cloud adapter is greatly reduced.
Optionally, the process of the cloud management platform and the process of the cloud adapter are different processes.
Optionally, the second obtaining module 1130 may specifically be configured to:
receiving cloud adapter information of a cloud adapter sent by a cloud management platform; the cloud adapter information comprises an identifier and a key of the cloud adapter;
after the cloud adapter information passes the verification, responding to a calling request of the cloud management platform, and transmitting target resource information to acquire a service to be acquired; or the like, or, alternatively,
and after the cloud adapter information and the resource information are verified through the cloud adapter, responding to a calling request of the cloud management platform, and transmitting the target resource information to acquire the service to be acquired.
Optionally, the cloud adapter comprises multiple development language versions of the cloud adapter.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, which are not described herein again.
An embodiment of the present application further provides a server, and referring to fig. 12, fig. 12 is a block diagram of a server according to an embodiment of the present application. The server comprises a processor 1201 and a memory 1202, and the memory 1202 stores therein a computer program that is loaded and executed by the processor 1201 to implement any of the cloud resource management methods applied to the cloud management platform as described above, or to implement any of the cloud resource management methods applied to the cloud adapter as described above.
In addition, the server typically includes: a processor 1201 and a memory 1202.
The processor 1201 may include one or more processing cores, such as a 4-core processor, a 17-core processor, and so on. The processor 1201 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU, which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 1201 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1202 stores a computer program that is loaded and executed by the processor 1201 to implement the live interaction method performed by the terminal or the live interaction method performed by the server.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is not intended to be limiting of the server 1700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement any one of the cloud resource management methods applied to the cloud management platform as described above, or to implement any one of the cloud resource management methods applied to the cloud adapter as described above.
Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory), SSD (Solid State drive), or optical disc. The Random Access Memory may include a ReRAM (resistive Random Access Memory) and a DRAM (Dynamic Random Access Memory), among others
It should be understood that reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only show an exemplary possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the illustrated sequence, which is not limited in this application. The above embodiments may also be combined arbitrarily, and the combination scheme is not described herein again.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A cloud resource management method is applied to a cloud management platform and comprises the following steps:
receiving a cloud service request of a user, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
sending the cloud service request to a cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information conforming to an interface data format of the cloud resource based on a format conversion template;
and transferring the target resource information by calling the cloud adapter to acquire the service to be acquired.
2. The method of claim 1, wherein:
the process of the cloud management platform and the process of the cloud adapter are different processes;
the step of sending the cloud service request to the cloud adapter corresponding to the resource information includes:
searching a preset mapping table to obtain a communication address of the cloud adapter corresponding to the resource information; wherein, the preset mapping table records: registering a target communication address of a target cloud adapter of the cloud management platform and resource information of target cloud resources corresponding to the target cloud adapter;
and sending the cloud service request to the cloud adapter according to the communication address.
3. The method according to claim 2, wherein the step of obtaining the service to be obtained by transferring the target resource information by calling the cloud adapter comprises:
sending pre-recorded cloud adapter information of the cloud adapter to the cloud adapter; wherein the cloud adapter information comprises an identification and a key of the cloud adapter;
after the cloud adapter information passes the cloud adapter verification, transferring the target resource information by calling the cloud adapter to acquire the service to be acquired; or the like, or a combination thereof,
and after the cloud adapter information and the resource information pass the cloud adapter verification, transferring the target resource information by calling the cloud adapter to acquire the service to be acquired.
4. The method of claim 3, wherein:
before the step of receiving the cloud service request of the user, the method further comprises the following steps:
receiving a downloading request of a manager of the cloud resources for a cloud adapter template, and configuring a format conversion template in the cloud adapter template to obtain the cloud adapter;
wherein the configured format conversion template is used for: converting the data information conforming to the interface data format of the cloud management platform into data information conforming to the interface data format of the cloud resource;
before the step of searching the preset mapping table to obtain the communication address of the cloud adapter corresponding to the resource information, the method further includes:
receiving a registration request sent by the cloud adapter, wherein the registration request carries cloud adapter information of the cloud adapter and resource information of the cloud resource;
and when the cloud adapter information and the resource information pass the verification, recording the communication address of the cloud adapter and the resource information of the cloud resource in the preset mapping table to finish the registration.
5. The method according to any one of claims 1-4, wherein:
the cloud adapter comprises a plurality of development language versions;
the resource information of the cloud resource comprises: service resource information and service resource parameters conforming to the interface data format of the cloud management platform;
the service resource information includes: creating virtual machine service information, creating computing service information, or creating translation service information.
6. A cloud resource management method applied to a cloud adapter comprises the following steps:
receiving a cloud service request sent by a cloud management platform, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
converting the resource information into target resource information conforming to an interface data format of the cloud resource based on a format conversion template of the cloud adapter;
responding to a calling request of the cloud management platform, and transmitting the target resource information to acquire the service to be acquired;
the process of the cloud management platform and the process of the cloud adapter are different processes.
7. The method according to claim 6, wherein the step of transferring the target resource information in response to the call request of the cloud management platform to obtain the service to be obtained includes:
receiving cloud adapter information of the cloud adapter sent by the cloud management platform; wherein the cloud adapter information comprises an identification and a key of the cloud adapter;
after the cloud adapter information passes verification, responding to a call request of the cloud management platform, and transmitting the target resource information to acquire the service to be acquired; or the like, or, alternatively,
after the cloud adapter information and the resource information are verified through the cloud adapter, responding to a calling request of the cloud management platform, and transmitting the target resource information to acquire the service to be acquired;
the cloud adapter comprises a plurality of development language versions of cloud adapters.
8. The cloud resource management device is applied to a cloud management platform and comprises the following components:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a cloud service request of a user, and the cloud service request carries resource information of cloud resources of a service to be acquired;
a first sending module, configured to send the cloud service request to the cloud adapter corresponding to the resource information; wherein the cloud adapter is to: converting the resource information into target resource information conforming to an interface data format of the cloud resource based on a format conversion template;
the first acquisition module is used for transmitting the target resource information by calling the cloud adapter to acquire the service to be acquired;
the second receiving module is used for receiving a cloud service request sent by the cloud management platform, wherein the cloud service request carries resource information of cloud resources of a service to be acquired;
the configuration module is used for converting the resource information into target resource information which accords with an interface data format of the cloud resource based on a format conversion template of the cloud adapter;
and the second acquisition module is used for responding to the call request of the cloud management platform and transmitting the target resource information so as to acquire the service to be acquired.
9. A server, characterized in that the server comprises a processor and a memory, in which a computer program is stored, which computer program is loaded and executed by the processor to implement the method according to any of claims 1 to 5, or to implement the method according to any of claims 6 to 7.
10. A storage medium having stored thereon a computer program to be loaded and executed by a processor to implement the method of any one of claims 1 to 5 or the method of any one of claims 6 to 7.
CN202211024876.0A 2022-08-25 2022-08-25 Cloud resource management method, device, server and storage medium Pending CN115292071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211024876.0A CN115292071A (en) 2022-08-25 2022-08-25 Cloud resource management method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211024876.0A CN115292071A (en) 2022-08-25 2022-08-25 Cloud resource management method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN115292071A true CN115292071A (en) 2022-11-04

Family

ID=83831221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211024876.0A Pending CN115292071A (en) 2022-08-25 2022-08-25 Cloud resource management method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN115292071A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988087A (en) * 2023-03-17 2023-04-18 北京百度网讯科技有限公司 Service calling method and device based on bus, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988087A (en) * 2023-03-17 2023-04-18 北京百度网讯科技有限公司 Service calling method and device based on bus, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109995713B (en) Service processing method in micro-service framework and related equipment
CN109361550B (en) Method, device and equipment for network equipment configuration management
CN109656686A (en) The upper deployment container cloud method of OpenStack, storage medium, electronic equipment and system
US20200073739A1 (en) Constraint solver execution service and infrastructure therefor
US7620934B2 (en) System and method for a Web service definition
US11693642B2 (en) Method and system for cross-platform deployment
US20140359301A1 (en) Uniform modular framework for a host computer system
JP7097958B2 (en) Systems and methods for integrating cloud applications into cloud service broker platforms using the Automatic Universal Connector Package
CN110191063A (en) Processing method, device, equipment and the storage medium of service request
US20190050213A1 (en) System and method for generating a domain-specific programming language program from a cloud-based computing system
CN110266764A (en) Internal services call method, device and terminal device based on gateway
CN113064600B (en) Method and device for deploying application
CN109460250B (en) Application program generation method and device
CN113076502A (en) Parameter control method and system based on request identification
CN113687858B (en) Configuration file checking method and device, electronic equipment and storage medium
RU2359316C2 (en) Method of managing software components integrated into portable system
CN115292071A (en) Cloud resource management method, device, server and storage medium
CN115525396A (en) Application management method and device based on cloud protogenesis
CN107729117A (en) A kind of virtual machine generation method and system
WO2017219778A1 (en) Method for configuring service for router, router, and storage medium
CN112543109B (en) Cloud host creation method, cloud host creation system, server and storage medium
CN107656814A (en) A kind of middleware services implementation method and device
CN111740851B (en) Configuration message generation method, device and system
CN110096543A (en) Data operation method, device, server and medium of application program
ES2970491T3 (en) Technologies for creating and distributing integration connectors in a cloud service intermediation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination