CN115686749A - Cloud platform management method and device, computer equipment and storage medium - Google Patents

Cloud platform management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115686749A
CN115686749A CN202211344675.9A CN202211344675A CN115686749A CN 115686749 A CN115686749 A CN 115686749A CN 202211344675 A CN202211344675 A CN 202211344675A CN 115686749 A CN115686749 A CN 115686749A
Authority
CN
China
Prior art keywords
file
service
cloud platform
configuring
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
CN202211344675.9A
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.)
Shanghai Xinsaiyun Computing Technology Co ltd
Original Assignee
Shanghai Xinsaiyun Computing 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 Shanghai Xinsaiyun Computing Technology Co ltd filed Critical Shanghai Xinsaiyun Computing Technology Co ltd
Priority to CN202211344675.9A priority Critical patent/CN115686749A/en
Publication of CN115686749A publication Critical patent/CN115686749A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a cloud platform management method, a cloud platform management device, computer equipment and a storage medium, wherein the cloud platform management method comprises the steps of obtaining a user request, selecting a cloud platform according to the user request, calling a configuration file, analyzing the configuration file according to the user request, and obtaining configuration information in the configuration file; calling a virtual drive corresponding to the cloud platform according to the selected cloud platform; the virtual drive acquires the configuration information and cloud service instruction information in the user request after receiving a call instruction, and selects a preset service method according to the configuration information and the cloud service instruction information; and calling the corresponding driving file in the processing mode according to the service method, and executing the driving file to operate the cloud platform. According to the cloud platform management method and device, the problem that a plurality of cloud platforms are difficult to integrate into a unified operating system is solved, and the effect of multi-cloud unified cost analysis and optimization is achieved.

Description

Cloud platform management method and device, computer equipment and storage medium
Technical Field
The present application relates to the technical field of cloud platform management, and in particular, to a cloud platform management method and apparatus, a computer device, and a storage medium.
Background
With the increasing popularity of cloud services, the types of cloud platforms are also increasing, which leads to diversified user selections, and although the selection of various cloud platforms is very friendly to users, the management is inconvenient, the operation instructions of each cloud platform are different, and when a user uses a cloud platform, the user needs to search for the corresponding cloud platform and perform complicated operations after performing identity verification, which leads to the occurrence of the situations of unordered resource management, disordered authority, unclear cost and the like on the cloud.
Therefore, how to uniformly manage the cloud platform becomes a problem to be urgently solved.
Disclosure of Invention
The embodiment of the invention provides a cloud platform management method, which is used for at least solving the problem that a user uses a plurality of cloud services but cannot provide unified management in the related technology.
According to an embodiment of the present invention, there is provided a cloud platform management method, including:
acquiring a user request, selecting a cloud platform according to the user request, calling a configuration file, analyzing the configuration file according to the user request, and acquiring configuration information in the configuration file;
calling a virtual drive corresponding to the cloud platform according to the selected cloud platform;
the virtual drive acquires the configuration information and cloud service instruction information in the user request after receiving a call instruction, and selects a preset service method according to the configuration information and the cloud service instruction information;
and executing the corresponding driving file according to the service method, and executing the driving file to operate the cloud platform.
Further, executing a corresponding driver file according to the service method, wherein the executing of the driver file to operate the cloud platform includes:
configuring a configuration file required by the virtual drive;
setting a default path of the virtual driver for acquiring the configuration file;
and setting a default path of the virtual drive acquisition drive file.
Further, the configuring the configuration file required by the virtual drive specifically includes:
respectively configuring service files for realizing computing service, network service, storage service and mirror image service of the cloud platform;
configuring account information, cluster information and resource quota information files of each cloud platform;
and configuring a default path of each service file and information file.
Further, the configuration method of the computing service file comprises the following steps:
configuring files of an initialized cloud host, cluster information, corresponding resource platform account information and configured resource quota;
configuring a file of authentication account information;
configuring a file for realizing a computing service method, wherein the computing service comprises virtual machine creation, operation list, startup, shutdown, data migration and restart.
Further, the method for configuring the network service file comprises the following steps:
configuring account information of an initialized resource platform and a file for configuring a resource quota;
configuring a file of authentication account information;
the method for realizing the network service comprises the steps of creating, modifying, deleting, inquiring and binding resources of the network, the subnet, the security group, the port and other resources.
Further, the configuration method of the storage service file comprises the following steps:
configuring an initialization storage pool, account information corresponding to a resource platform and a file for configuring a resource quota;
configuring a file of authentication account information;
configuring a file for realizing a storage service method, wherein the storage service realizing method comprises the steps of hard disk creation, listing, expansion, cloning and deletion.
Further, the configuration method of the mirror image service file comprises the following steps:
configuring an initialization cluster, default storage and account information of a corresponding resource platform;
configuring a file of authentication account information;
a file implementing a basic method of the mirroring service is configured.
Further, after the configuration of the drive file is completed, the virtual drive is restarted, and whether the service of the drive file operates normally is detected.
Further, the calling the corresponding driver file in the processing mode according to the service method specifically includes:
acquiring account information of the cloud platform, a calling position of a driving file corresponding to the service method and configuration information required to be called by the service method;
calling and executing a drive file of the initialization operation corresponding to the service method;
calling and executing a drive file for authenticating the user information of the cloud platform;
and calling and executing the drive file for realizing the service method.
According to still another embodiment of the present invention, there is also provided a cloud platform management apparatus, including:
a preprocessing module: acquiring a user request, selecting a cloud platform according to the user request, calling a configuration file, analyzing the configuration file according to the user request, and acquiring configuration information in the configuration file;
a virtual drive selection module: calling a virtual drive corresponding to the cloud platform according to the selected cloud platform;
the service method selection module: the virtual drive acquires the configuration information and cloud service instruction information in the user request after receiving a call instruction, and selects a preset service method according to the configuration information and the cloud service instruction information;
the drive file calling module: and calling the corresponding driving file in the processing mode according to the service method, and executing the driving file to operate the cloud platform.
There is also provided, in accordance with yet another embodiment of the present invention, a computer apparatus including a memory and a processor, the processor coupled with the memory, the memory having stored therein at least one program instruction or code, the at least one program instruction or code being loaded and executed by the processor to cause the computer apparatus to implement a cloud platform management method.
There is also provided, in accordance with yet another embodiment of the present invention, a computer readable storage medium having a computer program stored thereon, the computer program, when executed, implementing the steps of the method of any one of the cloud platform management methods.
According to the cloud platform management method and device, the preset virtual drive corresponding to the cloud platform is selected according to the user request, and then the virtual drive calls the preset drive file with the method for executing various operations of the cloud platform, so that the user only needs to provide the user request, the problem that a plurality of cloud platforms are difficult to integrate into a unified operating system can be solved, and the effects of multi-cloud unified cost analysis and optimization are achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a block diagram of a system architecture of the present application, according to the present application, as provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of an application environment of the present application;
FIG. 3 is a flow diagram that illustrates a method for cloud platform management, under an embodiment;
FIG. 4 is a schematic block diagram of a cloud platform management apparatus according to an embodiment;
fig. 5 is a schematic block diagram of a computer device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, an architecture diagram of an application management system according to an embodiment of the present application includes a management platform, a storage node, and a cloud server.
The storage node may be a computer device, such as a server, a desktop computer, a notebook computer, or the like, or may also be another device having a storage function, and is not limited herein.
It should be noted that, in the practical application process, the cloud platform management system may further include more devices. For example, the cloud platform management system can further comprise user equipment, and when the cloud platform management is needed, the user equipment can be connected with the cloud server and sends an operation instruction to the cloud server, so that interaction between the user equipment and the cloud server is achieved.
Based on the cloud platform management system architecture shown in fig. 1, the method in the embodiment of the present application is described in detail below.
The cloud platform management method provided by the application can be completely executed on one side of the server, can also be completely executed on one side of the client, and can also be executed by the server and the client together. When the cloud platform management method is executed by the server and the client together, the cloud platform management method can be applied to an application environment as shown in fig. 2. Wherein the client 102 and the server 104 communicate over a network.
The server 104 may obtain the user request input by the terminal 102, and the server 104 may perform operations of selecting a driver and parsing a configuration file.
Wherein the client 102 performs the operations of calling the configuration file and selecting the driver file.
The client 102 may be, but is not limited to, various computers, laptops, smartphones, tablet computers, and portable smart devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Referring to fig. 3, a schematic flow chart of a cloud platform management method according to an embodiment of the present disclosure is shown
Step S301: the method comprises the steps of obtaining a user request, selecting a cloud platform according to the user request, calling a configuration file, analyzing the configuration file according to the user request, and obtaining configuration information in the configuration file;
in this embodiment, a user request is first analyzed, name information of a cloud platform to be used by a user and information of what kind of operation is performed on the cloud platform in the user request are obtained, the cloud platform is selected according to the name information of the cloud platform, a configuration file is selected according to the information of what kind of operation is performed on the cloud platform, the configuration file is analyzed, and information (configuration information) which needs to be operated in the configuration file is extracted.
Specifically, in this embodiment, a cloud computing management platform is preferably used to implement each method of the present application, taking Openstack software as an example, first, an Openstack driver (hereinafter referred to as a primary driver) is established, an Openstack API is used to access a user, the user inputs a user request according to a preset format, the Openstack driver extracts name information of a cloud platform to be used in the user request and information of what kind of operation is performed on the cloud platform, selects the cloud platform according to the name information of the cloud platform, selects a configuration file according to information of what kind of operation is performed on the cloud platform, parses the configuration file, and extracts information (configuration information) that needs to be operated in the configuration file.
The configuration information comprises one or more of account information of the cloud platform, cluster information of the cloud platform, a calling position of the drive file and configuration resource quota.
Step S302: calling a virtual drive corresponding to the cloud platform according to the selected cloud platform;
in this embodiment, based on the analyzed cloud platform name information corresponding to the user request, a specific virtual driver corresponding to the cloud platform operation is selected.
Specifically, a plurality of drivers (hereinafter referred to as secondary drivers) are established according to the type of the cloud platform, for example, the secondary drivers are established separately for the ari cloud and the hua cloud, if a plurality of cloud platforms with the same operation method are available, one secondary driver can be established for unified management, or one secondary driver can be established according to each cloud platform, without limitation, the secondary driver corresponding to the operation of the cloud platform is found according to the name information of the cloud platform, and the secondary driver is called.
Step S303: the virtual drive acquires configuration information and cloud service instruction information in a user request after receiving the call instruction, and selects a preset service method according to the configuration information and the cloud service instruction information;
in this embodiment, after being called, the virtual driver selects several preset service methods according to information about what operation is performed on the cloud platform.
Specifically, four service modules of a secondary driver, namely Nova, neutron, circle and gland, are respectively configured, each service module corresponds to a service method, wherein Nova corresponds to a service method for realizing computing service of the cloud platform; the Neutron correspondingly realizes a service method of the network service of the cloud platform; the sender corresponds to a service method for realizing the storage service of the cloud platform; and the Glance corresponds to a service method for realizing the mirror image service of the cloud platform.
S304: and calling the corresponding driving file in the processing mode according to the service method, and executing the driving file to operate the cloud platform.
In this embodiment, a driver file with a processing method is preset, and different driver files correspond to the above four different processing methods, and after determining the service method, the virtual driver calls the driver file according to a default path and executes the driver file.
Specifically, a configuration file required by the virtual drive is configured; setting a default path for the virtual driver to acquire the configuration file; and setting a default path of the virtual drive for acquiring the drive file. The configuration files required by the configuration of the virtual drive respectively comprise service files for configuring computing service, network service, storage service and mirror image service of the cloud platform; configuring account information, cluster information and resource quota information files of each cloud platform; and configuring default paths of the service files and the information files.
Specifically, a configuration file required by the virtual drive is configured;
in this embodiment, first, configuration files of the respective Nova, neutron, circle, and company services are configured.
Setting a default path for the virtual driver to acquire the configuration file;
in this embodiment, the default paths are/ect/nova/nova.conf,/ect/neutron/neutron.conf,/ect/circle/circle.conf, AK, SK, cluster information of each cloud are added, and the location of the file of the driver and the quota size used by each resource are specified. Wherein Neutron additionally needs to configure service _ plugins and mechanism _ drivers targets to point to the developed drive packet; cinder needs to be additionally configured with default _ volume _ type and enabled _ backups to ensure that the created resource points to the developed driver package, and other general attributes take a Cinder.
……
# drive target Address
volume_driver=cinder.volume.drivers.xxxxx.driver.xxxxxCinderDriver
# cloud center AK and SK
secret_key=**********
access_key=********
# Cluster information
region_name=cn-xxxxxx-xxx
……
And setting a default path of the virtual drive for acquiring the drive file.
The configuration method of the computing service file, namely the Nova file, comprises the following steps:
configuring a file for initializing a cloud host, cluster information, corresponding resource platform account information and configuring a resource quota;
configuring a file of authentication account information;
and configuring a file for realizing a computing service method, wherein the computing service comprises virtual machine creation, operation list, startup, shutdown, data migration, restart and the like.
In this embodiment, i.nova implements all computing service related methods, which are uniformly managed and controlled by Openstack;
py initializes the browser, the cluster, the corresponding resource platform AK, SK and the configuration resource quota;
py authenticates the information of AK and SK;
py, a series of methods including virtual machine creation, listing, startup, shutdown, migration, restart and the like, wherein the file is also a cloud driving target address required by nova.conf configuration and is used for loading the contents of the files;
the configuration method of the network service file, namely the Neutron file, comprises the following steps:
configuring account information of an initialized resource platform and a file for configuring a resource quota;
configuring a file of authentication account information;
the method for realizing the network service comprises the steps of creating, modifying, deleting, inquiring, binding resources and the like of the resources such as a network, a subnet, a security group, a port and the like.
In this embodiment, neutron implements all network service related methods, and aims to be uniformly managed and controlled by Openstack;
py initializes resource platforms AK, SK and configuration resource quotas;
py authenticates the information of AK and SK;
the method for realizing the network service needs to be realized by plugins/ml2/drivers/mechanism _ xxxxxx.py comprises a series of methods such as creating, modifying, deleting, inquiring and binding of resources, such as a network, a subnet, a security group, a port and the like;
services/l3_ router/xxxxxx _ router _ plugin. Py realizes the method that the network router service needs to be realized, and comprises the operations of router creation, modification, deletion, query and association with the elastic IP;
the configuration method for storing the service file, namely the render file, comprises the following steps:
configuring an initialization storage pool, account information corresponding to a resource platform and a file for configuring a resource quota;
configuring a file of authentication account information;
and configuring files of the method for realizing the storage service, wherein the method for realizing the storage service comprises the steps of establishing, listing, expanding, cloning, deleting and the like of a hard disk.
In this embodiment, shader implements all storage service related methods, and aims to be uniformly managed and controlled by Openstack;
py initializes volume _ type, corresponding resource platform AK, SK and configuration resource quota;
py authenticates AK and SK information;
the method for realizing the storage service by the driver.py comprises a series of methods such as creation, listing, capacity expansion, cloning and deletion of a cloud hard disk, and meanwhile, the file address needs to be configured to load the file content by the binder.conf;
the configuration method of the mirror image service file, namely the Glance file, comprises the following steps:
configuring an initialization cluster, default storage and account information of a corresponding resource platform;
configuring a file of authentication account information;
a file is configured that implements a basic method of mirroring services.
In this embodiment, the liance implements all mirror image service related methods, and aims to be uniformly managed and controlled by Openstack;
py initializes the cluster, defaults to store, the corresponding resource platform AK, SK;
py authenticates AK and SK information;
py implements the basic operation method of the mirror service, and at the same time, global. Conf loads the address of the configuration file and the content of the file.
Then, verification is carried out, and all the services of nova, cider, neutron and cane are restarted, such as: nova-computer, nova-scheduler, circular-volume, etc., and checking whether all services are normal after restarting. Executing the commands 'nova service-list, maker service-list and neutron agent-list'. Verifying whether Openstack can operate resources, taking creating a virtual machine as an example: the method comprises the steps of creating resources after disk, network, mirror image and specification parameters are supplemented, verifying whether a virtual machine is started, simultaneously opening a corresponding cloud platform console, and checking whether the virtual machine with the corresponding parameters is successfully created.
In one embodiment, a cloud platform management apparatus is provided, as shown in fig. 4, including:
the system comprises a preprocessing module, a configuration module and a cloud service module, wherein the preprocessing module is used for acquiring a user request, selecting a cloud platform according to the user request, calling a configuration file, analyzing the configuration file according to the user request and acquiring configuration information in the configuration file;
the virtual drive selection module is used for calling the virtual drive corresponding to the cloud platform according to the selected cloud platform;
the service method selection module is used for acquiring configuration information and cloud service instruction information in a user request after the virtual driver receives the call instruction, and the virtual driver selects a preset service method according to the configuration information and the cloud service instruction information;
and the drive file calling module is used for calling the corresponding drive file in the processing mode according to the service method and executing the drive file to operate the cloud platform.
For specific limitations of the cloud platform management apparatus, reference may be made to the above limitations of the cloud platform management method, which is not described herein again. The modules in the cloud platform management device may be wholly or partially implemented by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server or a client: fig. 2 is a schematic structural diagram of a computer device according to an embodiment of the present application.
The present invention relates to a processor, and more particularly, to a processor 1701, a memory 1702, a bus 1705, an interface 1704, the processor 1701 being coupled to the memory 1702 and the interface 1704, the bus 1705 being coupled to the processor 1701, the memory 1702 and the interface 1704, respectively, the interface 1704 being for receiving or transmitting data, the processor 1701 being a single or multi-core central processing unit, either a specific integrated circuit or one or more integrated circuits configured to implement embodiments of the present invention. The memory 1702 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as at least one hard disk memory. The memory 1702 is used to store computer-executable instructions. Specifically, the computer executable instructions may include a program 1703.
In this embodiment, when the processor 1701 invokes the program 1703, the management server in fig. 5 may execute the operation of the cloud platform management method, which is not described herein again.
It should be understood that the processor provided in the above embodiments of the present application may be a Central Processing Unit (CPU), or may be other general-purpose processors, digital Signal Processors (DSPs), application-specific integrated circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be understood that the number of processors in the computer device in the above embodiments in the present application may be one or more, and may be adjusted according to the practical application scenario, and this is merely an exemplary illustration and is not limited. The number of the memories in the embodiment of the present application may be one or multiple, and may be adjusted according to an actual application scenario, and this is merely an exemplary illustration and is not limited.
It should be further noted that, when the computer device includes a processor (or a processing unit) and a memory, the processor in this application may be integrated with the memory, or the processor and the memory are connected through an interface, which may be adjusted according to an actual application scenario, and is not limited.
The present application provides a chip system comprising a processor for enabling a computer device (client or server) to implement the functions of the controller involved in the above method, e.g. to process data and/or information involved in the above method. In one possible design, the system-on-chip further includes a memory, the memory being used to hold the necessary program instructions and data. The chip system may be formed by a chip, or may include a chip and other discrete devices.
In another possible design, when the chip system is a chip in a user equipment or an access network, the chip includes: a processing unit, which may be, for example, a processor, and a communication unit, which may be, for example, an input/output interface, a pin or a circuit, etc. The processing unit may execute the computer execution instructions stored by the storage unit to cause the chip in the client or the management server to execute the steps of cloud platform management S301-S304. Alternatively, the storage unit may be a storage unit in the chip, such as a register, a cache, and the like, and the storage unit may also be a storage unit located outside the chip in the client or the management server, such as a read-only memory (ROM) or another type of static storage device that can store static information and instructions, a Random Access Memory (RAM), and the like.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a computer, implements the method flows executed by the controller of the client or the management server in any of the method embodiments described above. Correspondingly, the computer can be the computer device (client or server) described above.
It should be understood that the controller or processor mentioned in the above embodiments of the present application may be a Central Processing Unit (CPU), and may also be one or a combination of various other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be understood that the number of processors or controllers in the computer device (client or server) or chip system or the like in the above embodiments in the present application may be one or more, and may be adjusted according to the actual application scenario, and this is merely an example and is not limited. The number of the memories in the embodiment of the present application may be one or multiple, and may be adjusted according to an actual application scenario, and this is merely an exemplary illustration and is not limited.
It should also be understood that the memory or the readable storage medium and the like mentioned in the computer device (client or server) and the like in the above embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (ddr SDRAM), enhanced synchronous SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and direct bus RAM (DRRAM).
Those of ordinary skill in the art will appreciate that the steps performed by a computer device (client or server) or processor in whole or in part to implement the embodiments described above may be performed by hardware or a program to instruct associated hardware. The program may be stored in a computer-readable storage medium, which may be read only memory, random access memory, or the like. Specifically, for example: the processing unit or processor may be a central processing unit, a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
When implemented in software, the method steps described in the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The available media may be magnetic media (e.g., floppy disk, hard disk, magnetic tape), optical media (e.g., DVD), or semiconductor media, among others.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between
Similar objects, but not necessarily for describing a particular order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances and are merely descriptive of the various embodiments of the application and how objects of the same nature can be distinguished. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements, but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the embodiments of the present application, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that in the description of this application, unless otherwise indicated, "/" indicates a relationship where the objects linked before and after are "or", e.g., a/B may represent a or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural.
The word "if" or "if" as used herein may be interpreted as "at \8230; \8230when" or "when 8230; \823030, when" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or event)" may be interpreted as "upon determining" or "in response to determining" or "upon detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)", depending on the context.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A cloud platform management method, the method comprising:
acquiring a user request, selecting a cloud platform according to the user request, calling a configuration file, analyzing the configuration file according to the user request, and acquiring configuration information in the configuration file;
calling a virtual drive corresponding to the cloud platform according to the selected cloud platform;
the virtual drive acquires the configuration information and cloud service instruction information in the user request after receiving a call instruction, and selects a preset service method according to the configuration information and the cloud service instruction information;
and executing the corresponding driving file according to the service method, and executing the driving file to operate the cloud platform.
2. The method of claim 1, wherein executing the corresponding driver file according to the service method, wherein executing the driver file to operate the cloud platform comprises:
configuring a configuration file required by the virtual drive;
setting a default path of the virtual driver for acquiring the configuration file;
and setting a default path of the virtual drive for acquiring the drive file.
3. The method according to claim 2, wherein the configuring the configuration file required by the virtual driver specifically includes:
respectively configuring service files for realizing computing service, network service, storage service and mirror image service of the cloud platform;
configuring account information, cluster information and resource quota information files of each cloud platform;
and configuring a default path of each service file and information file.
4. The method of claim 2, wherein the method for configuring the computing service file comprises:
configuring a file for initializing a cloud host, cluster information, corresponding resource platform account information and configuring a resource quota;
configuring a file of authentication account information;
and configuring a file for realizing a computing service method, wherein the computing service comprises virtual machine creation, operation list, startup, shutdown, data migration and restart.
5. The method of claim 2, wherein the method for configuring the web service file comprises:
configuring account information of an initialized resource platform and a file for configuring a resource quota;
configuring a file of authentication account information;
the method for realizing the network service comprises the steps of creating, modifying, deleting, inquiring and binding resources of the network, the subnet, the security group, the port and other resources.
6. The method according to claim 2, wherein the method for configuring the storage service file comprises:
configuring an initialized storage pool, account information corresponding to a resource platform and a file for configuring a resource quota;
configuring a file of authentication account information;
the method for realizing the storage service comprises the steps of hard disk creation, listing, expansion, cloning and deletion.
7. The method of claim 2, wherein the method for configuring the mirror service file comprises:
configuring an initialization cluster, default storage and account information of a corresponding resource platform;
configuring a file of authentication account information;
a file implementing a basic method of the mirroring service is configured.
8. The method of claim 1, wherein after configuring the driver file, restarting the virtual driver and detecting whether the service of the driver file is operating normally.
9. The method according to claim 1, wherein the calling the corresponding driver file in the processing mode according to the service method specifically includes:
acquiring account information of the cloud platform, a calling position of a driving file corresponding to the service method and configuration information required to be called by the service method;
calling and executing a drive file of the initialization operation corresponding to the service method;
calling and executing a drive file for authenticating the user information of the cloud platform;
and calling and executing the drive file for realizing the service method.
10. A cloud platform management apparatus, the apparatus comprising:
a preprocessing module: acquiring a user request, selecting a cloud platform according to the user request, calling a configuration file, analyzing the configuration file according to the user request, and acquiring configuration information in the configuration file;
a virtual drive selection module: calling a virtual drive corresponding to the cloud platform according to the selected cloud platform;
the service method selection module: the virtual drive acquires the configuration information and cloud service instruction information in the user request after receiving a call instruction, and selects a preset service method according to the configuration information and the cloud service instruction information;
the drive file calling module: and calling the corresponding driving file in the processing mode according to the service method, and executing the driving file to operate the cloud platform.
11. A computer device comprising a memory and a processor coupled to the memory, wherein at least one program instruction or code is stored in the memory, and wherein the at least one program instruction or code is loaded and executed by the processor to cause the computer device to implement the cloud platform management method of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed, realizes the steps of the method of any of claims 1-9.
CN202211344675.9A 2022-10-31 2022-10-31 Cloud platform management method and device, computer equipment and storage medium Pending CN115686749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211344675.9A CN115686749A (en) 2022-10-31 2022-10-31 Cloud platform management method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211344675.9A CN115686749A (en) 2022-10-31 2022-10-31 Cloud platform management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115686749A true CN115686749A (en) 2023-02-03

Family

ID=85045843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211344675.9A Pending CN115686749A (en) 2022-10-31 2022-10-31 Cloud platform management method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115686749A (en)

Similar Documents

Publication Publication Date Title
CN110363026B (en) File operation method, device, equipment, system and computer readable storage medium
CN109067877B (en) Control method for cloud computing platform deployment, server and storage medium
US10152660B2 (en) Smart card read/write method and apparatus
EP3158433B1 (en) System and method for integrating web and native applications from web-based contexts
US20130024944A1 (en) Confidential information leakage prevention system, confidential information leakage prevention method and confidential information leakage prevention program
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN111193768A (en) Network data processing method and device, computer equipment and storage medium
US20150373011A1 (en) Credential collection in an authentication server employing diverse authentication schemes
KR20190069574A (en) Wireless network type detection method and apparatus, and electronic device
CN109831351B (en) Link tracking method, device, terminal and storage medium
CN111510444A (en) Remote access method, system, server and access auxiliary component of container
US11567675B2 (en) Data management method and apparatus, and server
CN111818035A (en) Permission verification method and device based on API gateway
CN108289080B (en) Method, device and system for accessing file system
CN112699034B (en) Virtual login user construction method, device, equipment and storage medium
US9888070B2 (en) Brokered advanced pairing
CN111600755A (en) Internet access behavior management system and method
CN112559352A (en) Interface test method, device, equipment and storage medium
CN112187747A (en) Remote container login method and device and electronic equipment
US9819725B1 (en) System, method, and computer program for remotely controlling mobile web applications installed on a mobile device
CN115039082A (en) Log writing method and device, electronic equipment and storage medium
CN115686749A (en) Cloud platform management method and device, computer equipment and storage medium
US11757976B2 (en) Unified application management for heterogeneous application delivery
CN112162873B (en) Remote calling method, electronic device and storage medium
CN112486597A (en) Management method and system for server command line

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