CN111708632A - Cloud resource management method and device - Google Patents

Cloud resource management method and device Download PDF

Info

Publication number
CN111708632A
CN111708632A CN202010425232.7A CN202010425232A CN111708632A CN 111708632 A CN111708632 A CN 111708632A CN 202010425232 A CN202010425232 A CN 202010425232A CN 111708632 A CN111708632 A CN 111708632A
Authority
CN
China
Prior art keywords
resource
cloud
resource configuration
information
user
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
CN202010425232.7A
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.)
Peoples Insurance Company of China
Original Assignee
Peoples Insurance Company of China
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 Peoples Insurance Company of China filed Critical Peoples Insurance Company of China
Priority to CN202010425232.7A priority Critical patent/CN111708632A/en
Publication of CN111708632A publication Critical patent/CN111708632A/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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a cloud resource management system. The system comprises: the system comprises a front-end module, a middle platform module and a rear-end module; the front-end module is used for receiving a cloud resource application request sent by a user; the middle station module is used for determining resource information according to the cloud resource application request; and the back end module is used for configuring cloud resources according to the resource information.

Description

Cloud resource management method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a cloud resource management method and apparatus, an electronic device, and a computer-readable storage medium.
Background
Currently, with the development of cloud computing technology, more and more enterprises adopt cloud platforms to deploy various service programs. However, because the operating environments of the various service programs are different, the required cloud resources are also different, for example, if some service programs need to be operated on the virtual machine, the virtual machine resources need to be configured, and if some service programs need to be operated on the container (Docker), the container resources need to be configured, and the like.
Different configuration processes of different cloud resources are different, and how to realize automatic unified configuration of the cloud resources needs to be solved by technical personnel in the field.
Disclosure of Invention
The embodiment of the specification provides a cloud resource management system to solve the problem of how to realize automation and the same configuration of cloud resources.
The embodiment of the specification adopts the following technical scheme:
a cloud resource management system, comprising:
the system comprises a front-end module, a middle platform module and a rear-end module; wherein,
the front-end module is used for receiving a cloud resource application request sent by a user;
the middle station module is used for determining resource information according to the cloud resource application request;
and the back end module is used for configuring cloud resources according to the resource information.
Optionally, the resource information includes resource type and resource configuration information, then
The middle station module is specifically used for determining a resource type and resource configuration information according to the cloud resource application request; and determining a resource configuration process corresponding to the resource type according to the resource type.
Optionally, the middle station module includes:
the extracting unit is used for extracting the resource type parameters and the resource configuration information parameters in the cloud resource application request;
and the encapsulating unit is used for encapsulating the extracted resource configuration information parameters and the extracted resource type parameters according to a preset data format.
Optionally, the middle station module further includes:
and the storage unit is used for correspondingly storing the encapsulated resource type parameters and the encapsulated resource configuration information parameters in a database designation table.
Optionally, the middle station module further includes:
a determining unit, configured to determine a resource configuration flow corresponding to the resource type according to the resource type parameter and a preset correspondence between the resource type parameter and the resource configuration flow;
and the calling unit is used for calling a resource configuration interface corresponding to the resource configuration flow according to the determined resource configuration flow so as to inform the back-end module of configuring the cloud resources.
Optionally, the back-end module is specifically configured to call and execute a pre-written resource configuration script according to the resource configuration flow and the encapsulated resource configuration information parameter, so as to configure the cloud resource.
Optionally, the middle station module further includes: the monitoring unit is used for monitoring the resource configuration result of the resource configuration process and returning the resource configuration result to the front-end module;
the front-end module is further configured to feed back the received resource configuration result to the user.
Optionally, the front-end module is further configured to receive a login request sent by the user, where the login request includes user identity information; and verifying whether the user has the authority to log in the cloud resource management system or not according to the user identity information contained in the login request.
Optionally, the resource types include: at least one of a container, a virtual machine, and a physical machine;
the resource configuration information includes: and configuring information required by the resource corresponding to the resource type.
A cloud resource management method based on the cloud resource management system comprises the following steps:
receiving a cloud resource application request sent by a user;
determining resource information according to the cloud resource application request, wherein the resource information comprises a resource type and resource configuration information;
determining a resource configuration process corresponding to the resource type according to the resource type;
and configuring cloud resources according to the resource configuration information and the resource configuration process.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects:
the front-end module receives a cloud resource application request sent by a user, the middle station module determines resource information according to the cloud resource application request, and the rear-end module configures cloud resources according to the resource information, so that cloud resource configuration can be automatically and uniformly performed according to different cloud resource application requests sent by the user.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic structural diagram of a cloud resource management system provided in an embodiment of the present specification;
fig. 2 is a schematic flowchart of a cloud resource management method provided in an embodiment of the present specification;
fig. 3 is a schematic flowchart of a specific implementation of a cloud resource management method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a cloud resource management system login method provided in an embodiment of the present specification;
FIG. 5 is a flowchart illustrating a method for viewing resource configuration results according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some 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.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram illustrating a cloud resource management system according to an exemplary embodiment, where as shown in fig. 1, the system can implement unified management of cloud resources. The cloud resource management system may include: a front end module 101, a middle station module 102, and a back end module 103.
The front-end module 101 is configured to receive a cloud resource application request sent by a user;
the middle station module 102 is configured to determine resource information according to the cloud resource application request received by the front end module 101;
the back-end module 103 is configured to configure cloud resources according to the resource information determined by the middle station module 102.
In practical applications, the cloud resource application request may include a request sent by a client when a user desires to apply for a cloud resource. When receiving a cloud resource application request sent by a user, specifically, an HTTP request sent by the user through a client may be received through a HyperText Transfer Protocol (HTTP).
In one or more embodiments of the present specification, the resource information may include a resource type and resource configuration information, and then the middlebox module 102 may be specifically configured to determine the resource type and the resource configuration information according to the cloud resource application request received by the front end module 101; and determining a resource configuration process corresponding to the resource type according to the resource type.
It is understood that different resources correspond to different resource types, for example: the virtual machines, physical machines, containers, etc. may be different cloud resources, and in one or more embodiments of the present description, the resource types may include: at least one of a container, a virtual machine, and a physical machine.
In an actual application, configuration information required for configuring different resources may be different, for example, the configuration virtual machine may need to provide operating system information, hard disk information, and the like, and the configuration container may further need to provide node information, and the like.
It can be understood that resource configuration flows corresponding to different resource types may be different, for example, the flow for configuring the virtual machine may include installing an operating system, setting a gateway address, setting a size of a hard disk, and the like, and the flow for configuring the container may include installing an operating system, setting a gateway address, setting a node, and the like.
In one or more embodiments of the present specification, to facilitate automated configuration of cloud resources, the staging module 102 may include:
the extracting unit is used for extracting the resource type parameters and the resource configuration information parameters in the cloud resource application request;
and the encapsulating unit is used for encapsulating the extracted resource configuration information parameters and the extracted resource type parameters according to a preset data format.
The preset data format may be a preset data format encapsulating the resource configuration information parameter and the resource type parameter, for example, a JSON format, a TXT format, or the like, and the application is not limited to which data format is adopted.
It can be understood that the resource type parameter corresponds to a resource type, the resource configuration information parameter corresponds to resource configuration information, and the extracted resource configuration information parameter and resource type parameter are encapsulated according to a preset data format, so that automatic configuration of cloud resources can be conveniently achieved.
In one or more embodiments of the present disclosure, the staging module 102 may further include:
the determining unit is used for determining a resource configuration flow corresponding to the resource type according to the resource type parameter and the preset corresponding relation between the resource type parameter and the resource configuration flow;
and the calling unit is used for calling a resource configuration interface corresponding to the resource configuration flow according to the determined resource configuration flow so as to inform the back-end module 103 of configuring the cloud resources.
As described above, different resource types correspond to different resource allocation flows, and the resource allocation flow corresponding to a resource type can be determined according to the resource type parameter by the preset corresponding relationship between the resource type parameter and the resource allocation flow.
The resource allocation Interface corresponding to the resource allocation process may be a predefined Application Programming Interface (API) configured with different resource types, provided by the back-end module 103. By calling the resource configuration interface, the packaged resource configuration information may be transferred to the backend module 103, so that the backend module 103 executes to configure the cloud resource according to the resource configuration flow.
In one or more embodiments of the present specification, when performing the configuration of the cloud resource, the back-end module 103 may be specifically configured to call and execute a pre-written resource configuration script according to the resource configuration flow and the encapsulated resource configuration information parameter, so as to configure the cloud resource.
It can be understood that invoking the resource configuration interface may include invoking and executing a pre-written resource configuration script, each resource configuration flow corresponds to a different resource configuration script, for example, the flows of installing an operating system, setting a gateway address, setting a size of a hard disk, and the like in the resource configuration flow of the virtual machine, the script for installing the operating system and setting the gateway address and the size of the hard disk may be a resource configuration script, and the type of the operating system, the gateway address, and the size of the hard disk may be resource configuration information parameters, for example: the Linux operating system, the gateway address of "123.76.111.9", the hard disk size of 8G, and the like may be specific resource configuration information parameters.
In the embodiment of the description, according to the resource configuration flow and the encapsulated resource configuration information parameters, a pre-compiled resource configuration script is called and executed, so that automatic unified configuration of cloud resources can be realized.
In practical applications, a high-concurrency cloud resource request may occur, and the time consumed by configuring the resource may be long, so as to avoid system overload crash, in one or more embodiments of the present disclosure, the middlebox module 102 may further include: and the storage unit is used for correspondingly storing the encapsulated resource type parameters and the encapsulated resource configuration information parameters in a database designation table. Thus, when the backend module 103 configures the cloud resource, the encapsulated resource type parameter and the encapsulated resource configuration information parameter can be obtained from the specified table, so that the resource information can be asynchronously determined and the cloud resource can be configured, and the overload problem possibly occurring in the synchronous operation can be avoided.
In one or more embodiments of the present specification, in order to facilitate the user to view the cloud resources using the configuration, the middlebox module 102 may further include:
and the monitoring unit is configured to monitor a resource configuration result of the resource configuration process, and return the resource configuration result to the front-end module 101.
The front-end module 101 may further be configured to feed back the received resource configuration result to the user.
The resource configuration result may include result information of resource configuration, such as a resource configuration number and a resource identifier. The resource configuration number can be used for distinguishing resource configuration results of different cloud resource application requests, and a user can conveniently check configured resources. The resource identifier may facilitate the user to use the configured resource, for example, a name of the virtual machine set when the virtual machine is configured may be a resource identifier uniquely identifying the virtual machine, and the user may use the virtual machine resource through the resource identifier.
In practical application, the received resource configuration result is fed back to the user, or the resource configuration result is fed back to the client through an HTTP request, so that the resource configuration result is displayed to the user through the client.
In one or more embodiments of the present specification, the front-end module 101 may be further configured to receive a login request sent by a user, where the login request includes user identity information; and verifying whether the user has the authority to log in the cloud resource management system or not according to the user identity information contained in the login request.
In practical applications, the login request issued by the user may be an HTTP request issued by the user through the client when the user desires to log in the cloud resource management system. It can be understood that the login request may include user identity information, the user identity information may include a user name, a password, and the like, and whether the user has the authority to login the cloud resource management system may be verified through the user identity information, so as to avoid potential safety hazards brought to the cloud resource management system by illegal operations.
In this embodiment, the front-end module 101 receives a cloud resource application request sent by a user, the middle station module 102 determines resource information according to the cloud resource application request, and the back-end module 103 configures cloud resources according to the resource information, so that cloud resource configuration can be automatically and uniformly performed according to different cloud resource application requests sent by the user.
As described above, for the cloud resource management system provided in the embodiment of the present specification, as shown in the flowchart of fig. 2, the embodiment of the present specification further provides a cloud resource management method based on the cloud resource management system. The method may comprise the steps of:
step 11, receiving a cloud resource application request sent by a user;
step 12, determining resource information according to the cloud resource application request, wherein the resource information comprises resource types and resource configuration information;
step 13, determining a resource configuration flow corresponding to the resource type according to the resource type;
and step 14, configuring cloud resources according to the resource configuration information and the resource configuration process.
In one embodiment, determining resource information according to the cloud resource application request includes:
extracting resource type parameters and resource configuration information parameters in the cloud resource application request;
and encapsulating the extracted resource configuration information parameters and the extracted resource type parameters according to a preset data format.
In one embodiment, the method further comprises:
and correspondingly storing the encapsulated resource type parameters and the encapsulated resource configuration information parameters in a database designation table.
In one embodiment, determining a resource configuration procedure corresponding to the resource type according to the resource type includes:
determining a resource allocation flow corresponding to the resource type according to the resource type parameter and a preset corresponding relation between the resource type parameter and the resource allocation flow;
and calling a resource configuration interface corresponding to the resource configuration flow according to the determined resource configuration flow so as to inform the back-end module to configure the cloud resources.
In one embodiment, configuring the cloud resource according to the resource configuration information and the resource configuration process includes:
and calling and executing a pre-written resource configuration script according to the resource configuration flow and the packaged resource configuration information parameters so as to configure the cloud resources.
In one embodiment, the method further comprises:
monitoring a resource configuration result of the resource configuration process, and returning the resource configuration result to the front-end module;
and feeding back the received resource configuration result to the user.
In one embodiment, the method further comprises:
receiving a login request sent by the user, wherein the login request comprises user identity information;
and verifying whether the user has the authority to log in the cloud resource management system or not according to the user identity information contained in the login request.
In one embodiment, the resource types include: at least one of a container, a virtual machine, and a physical machine;
the resource configuration information includes: and configuring configuration information required by the resource corresponding to the resource type.
In the embodiment of the present specification, by determining resource information according to a cloud resource application request, determining a resource configuration flow corresponding to a resource type according to the resource type, and configuring cloud resources according to the resource configuration information and the resource configuration flow, cloud resource configuration can be automatically and uniformly performed according to different cloud resource application requests sent by a user.
The cloud resource configuration system and the cloud resource configuration method provided in the embodiments of the present specification, and a specific implementation scenario of the cloud resource configuration method are also provided in the embodiments of the present specification, and as shown in fig. 3, a flowchart of the specific implementation scenario may be shown.
Step 21, logging in a cloud resource management system;
step 22, submitting a virtual machine resource application request through a cloud resource management system;
step 23, checking the validity of the virtual machine resource application request;
the validity check may include checking whether the virtual machine resource application request is reasonable, and specifically, may include checking whether a resource information parameter in the virtual machine resource application request is reasonable, for example, a hard disk of the virtual machine can apply for 8G at most, and if the size of the hard disk in the resource information parameter is 16G, the virtual machine resource application request may be an unreasonable request. In practical application, validity verification can be performed on the resource information parameters in the virtual machine resource application request according to an audit rule preset according to actual requirements, so that validity audit is performed on the virtual machine resource application request. It can be understood that unreasonable cloud resource application requests can be avoided by performing validity auditing on the cloud resource application requests.
Step 24, extracting resource information parameters in the virtual machine resource application request, and packaging the extracted resource information parameters according to a preset data format; wherein the resource information parameter includes a resource type parameter and a resource configuration information parameter.
Step 25, calling a virtual machine resource configuration interface according to the encapsulated resource information parameters to configure virtual machine resources;
and step 26, calling and executing the installation database script to install the database on the configured virtual machine.
And 27, integrating the resource configuration result of the virtual machine, and storing the resource configuration result in a database.
In the embodiment of the description, the resource information parameters are determined according to the cloud resource application request, and then the virtual machine resource configuration script is called and executed according to the packaged resource information parameters, so that the virtual machine resource configuration can be automatically performed according to the virtual machine resource application request sent by a user.
Fig. 4 is a schematic flowchart of a login method of a cloud resource management system provided in an embodiment of the present specification, where the login method includes: the user inputs user identity information through the 4A unified security management platform, an identity authentication module of the cloud resource management system inquires a user identity information database according to the user identity information to verify whether the user has authority to log in the cloud resource management system, and if the user passes the verification, the user is allowed to log in the cloud resource management system and a corresponding user interface is displayed.
In an embodiment, as shown in fig. 4, the 4A platform may further synchronize the newly added user to a user management module of the cloud resource management system, so as to store the user identity information of the newly added registered user in a user identity information database, so as to perform query and verification on the user identity.
Fig. 5 is a schematic flowchart of a resource configuration result viewing method provided in an embodiment of the present specification, where the resource configuration result viewing method may include: the user logs in the cloud resource management system, the user authority is verified through the user authority verification module, the resource configuration result is obtained from the data cache module under the condition that the user authority passes through, the resource configuration result is packaged through the configuration result packaging module according to the preset packaging rule, and the packaged resource configuration result is displayed to the user through the front-end page.
In an embodiment, the flow diagram shown in fig. 5 further includes a source of the resource allocation result in the data cache module, and the source of the resource allocation result in the data cache may include: the monitoring module is triggered at regular time through the timing module, the resource configuration result is obtained through the monitoring module, whether the resource configuration result is matched with the resource application request is verified through the analysis and comparison module, and under the condition of matching, the resource configuration result is stored in the database and is synchronized to the data cache module.
An embodiment of this specification further provides an electronic device, and referring to fig. 6, in a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
And the processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the application cloud resource management system on a logic level. A processor executing the program stored in the memory and configured to perform at least the following:
receiving a cloud resource application request sent by a user;
determining resource information according to the cloud resource application request, wherein the resource information comprises a resource type and resource configuration information;
determining a resource configuration process corresponding to the resource type according to the resource type;
and configuring cloud resources according to the resource configuration information and the resource configuration process.
The method executed by the cloud resource management system according to the embodiment shown in fig. 1 of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a network Processor (FP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present specification may be embodied directly in a hardware decoding processor, or in a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the method executed by the cloud resource management system in fig. 1, and implement the functions of the cloud resource management system in the embodiment shown in fig. 1, which are not described herein again in this specification.
This specification embodiment also proposes a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the method performed by the cloud resource management system in the embodiment shown in fig. 1, and at least to perform:
receiving a cloud resource application request sent by a user;
determining resource information according to the cloud resource application request, wherein the resource information comprises a resource type and resource configuration information;
determining a resource configuration process corresponding to the resource type according to the resource type;
and configuring cloud resources according to the resource configuration information and the resource configuration process.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A cloud resource management system, comprising:
the system comprises a front-end module, a middle platform module and a rear-end module; wherein,
the front-end module is used for receiving a cloud resource application request sent by a user;
the middle station module is used for determining resource information according to the cloud resource application request;
and the back end module is used for configuring cloud resources according to the resource information.
2. The system of claim 1, wherein the resource information includes resource type and resource configuration information
The middle station module is specifically used for determining a resource type and resource configuration information according to the cloud resource application request; and determining a resource configuration process corresponding to the resource type according to the resource type.
3. The system of claim 2, wherein the staging module comprises:
the extracting unit is used for extracting the resource type parameters and the resource configuration information parameters in the cloud resource application request;
and the encapsulating unit is used for encapsulating the extracted resource configuration information parameters and the extracted resource type parameters according to a preset data format.
4. The system of claim 3, wherein the staging module further comprises:
and the storage unit is used for correspondingly storing the encapsulated resource type parameters and the encapsulated resource configuration information parameters in a database designation table.
5. The system of claim 3, wherein the staging module further comprises:
a determining unit, configured to determine a resource configuration flow corresponding to the resource type according to the resource type parameter and a preset correspondence between the resource type parameter and the resource configuration flow;
and the calling unit is used for calling a resource configuration interface corresponding to the resource configuration flow according to the determined resource configuration flow so as to inform the back-end module of configuring the cloud resources.
6. The system of claim 5,
the back-end module is specifically configured to call and execute a pre-written resource configuration script according to the resource configuration flow and the encapsulated resource configuration information parameters, so as to configure the cloud resources.
7. The system of claim 1,
the middle station module further comprises: the monitoring unit is used for monitoring the resource configuration result of the resource configuration process and returning the resource configuration result to the front-end module;
the front-end module is further configured to feed back the received resource configuration result to the user.
8. The system of claim 1,
the front-end module is further configured to receive a login request sent by the user, where the login request includes user identity information; and verifying whether the user has the authority to log in the cloud resource management system or not according to the user identity information contained in the login request.
9. The system of claims 1 to 8,
the resource types include: at least one of a container, a virtual machine, and a physical machine;
the resource configuration information includes: and configuring configuration information required by the resource corresponding to the resource type.
10. A cloud resource management method based on the cloud resource management system according to claim 1, wherein the cloud resource management method includes:
receiving a cloud resource application request sent by a user;
determining resource information according to the cloud resource application request, wherein the resource information comprises a resource type and resource configuration information;
determining a resource configuration process corresponding to the resource type according to the resource type;
and configuring cloud resources according to the resource configuration information and the resource configuration process.
CN202010425232.7A 2020-05-19 2020-05-19 Cloud resource management method and device Pending CN111708632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010425232.7A CN111708632A (en) 2020-05-19 2020-05-19 Cloud resource management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010425232.7A CN111708632A (en) 2020-05-19 2020-05-19 Cloud resource management method and device

Publications (1)

Publication Number Publication Date
CN111708632A true CN111708632A (en) 2020-09-25

Family

ID=72537994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010425232.7A Pending CN111708632A (en) 2020-05-19 2020-05-19 Cloud resource management method and device

Country Status (1)

Country Link
CN (1) CN111708632A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737838A (en) * 2020-12-28 2021-04-30 中国建设银行股份有限公司 Cloud resource application and cloud data access method and device and electronic equipment
CN113886093A (en) * 2021-12-07 2022-01-04 北京微吼时代科技有限公司 Cloud resource management system based on multi-cloud architecture and electronic equipment
WO2022001353A1 (en) * 2020-06-28 2022-01-06 华为技术有限公司 Mixed scheduling system and method for virtual machine and container, and scheduler and apparatus
CN114115883A (en) * 2022-01-26 2022-03-01 广州云徙科技有限公司 Method for quickly constructing front-end application by using middle station service capability

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506244A (en) * 2016-12-20 2017-03-15 郑州云海信息技术有限公司 A kind of unified supervision device of mixed cloud
CN107135103A (en) * 2017-05-08 2017-09-05 网宿科技股份有限公司 The method and system of content construction distribution network platform on heterogeneous resource
CN109542611A (en) * 2017-09-21 2019-03-29 ***通信集团重庆有限公司 Database, that is, service system, database dispatching method, equipment and storage medium
CN109697107A (en) * 2018-12-18 2019-04-30 山东超越数控电子股份有限公司 A kind of method and realization system of self-service resource bid
US20190288956A1 (en) * 2009-06-19 2019-09-19 Servicemesh, Inc. System and method for a cloud computing abstraction layer
CN110633900A (en) * 2019-08-30 2019-12-31 中国人民财产保险股份有限公司 Virtual resource allocation method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190288956A1 (en) * 2009-06-19 2019-09-19 Servicemesh, Inc. System and method for a cloud computing abstraction layer
CN106506244A (en) * 2016-12-20 2017-03-15 郑州云海信息技术有限公司 A kind of unified supervision device of mixed cloud
CN107135103A (en) * 2017-05-08 2017-09-05 网宿科技股份有限公司 The method and system of content construction distribution network platform on heterogeneous resource
CN109542611A (en) * 2017-09-21 2019-03-29 ***通信集团重庆有限公司 Database, that is, service system, database dispatching method, equipment and storage medium
CN109697107A (en) * 2018-12-18 2019-04-30 山东超越数控电子股份有限公司 A kind of method and realization system of self-service resource bid
CN110633900A (en) * 2019-08-30 2019-12-31 中国人民财产保险股份有限公司 Virtual resource allocation method and device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022001353A1 (en) * 2020-06-28 2022-01-06 华为技术有限公司 Mixed scheduling system and method for virtual machine and container, and scheduler and apparatus
CN112737838A (en) * 2020-12-28 2021-04-30 中国建设银行股份有限公司 Cloud resource application and cloud data access method and device and electronic equipment
CN113886093A (en) * 2021-12-07 2022-01-04 北京微吼时代科技有限公司 Cloud resource management system based on multi-cloud architecture and electronic equipment
CN114115883A (en) * 2022-01-26 2022-03-01 广州云徙科技有限公司 Method for quickly constructing front-end application by using middle station service capability

Similar Documents

Publication Publication Date Title
CN111708632A (en) Cloud resource management method and device
CN107122258B (en) Method and equipment for checking state code of test interface
WO2018113596A1 (en) Method of processing application reviewing operation permission, device, and data storage medium
WO2022016847A1 (en) Automatic test method and device applied to cloud platform
CN107040560B (en) Service processing method and device based on service platform
CN106873958B (en) Calling method and device of application programming interface
CN110677453A (en) ZooKeeper-based distributed lock service implementation method, device, equipment and storage medium
CA3024889C (en) Method and device for preventing server from being attacked
CN112346818A (en) Container application deployment method and device, electronic equipment and storage medium
CN114866965A (en) MaaP-based 5G message communication method, system, electronic equipment and storage medium
CN111124871A (en) Interface test method and device
CN113312064A (en) Installation configuration method and device of physical machine and computer readable medium
CN114091099A (en) Authority hierarchical control method, equipment and storage medium for business system
CN114979103A (en) Open API integration and management method and computer equipment
CN111488095A (en) User login management method and device
CN111212027A (en) Network security verification method and device based on enterprise browser
CN109522202B (en) Software testing method and device
CN112559352A (en) Interface test method, device, equipment and storage medium
CN117194259A (en) Interface testing method, system, electronic equipment and storage medium
CN117093977A (en) User authentication method, system, device, storage medium and electronic equipment
CN111597036A (en) Server resource configuration method and device
CN115412294A (en) Platform service-based access method and device, storage medium and electronic equipment
CN115225299A (en) User authentication method, server and system
CN114629807A (en) Work order processing method, device and equipment
CN111970286A (en) User login method and device and web server

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