CN115454626A - Resource management method and device and readable storage medium - Google Patents

Resource management method and device and readable storage medium Download PDF

Info

Publication number
CN115454626A
CN115454626A CN202211052209.3A CN202211052209A CN115454626A CN 115454626 A CN115454626 A CN 115454626A CN 202211052209 A CN202211052209 A CN 202211052209A CN 115454626 A CN115454626 A CN 115454626A
Authority
CN
China
Prior art keywords
resource pool
management platform
resource
end page
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
CN202211052209.3A
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.)
Inspur Jinan data Technology Co ltd
Original Assignee
Inspur Jinan data 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 Inspur Jinan data Technology Co ltd filed Critical Inspur Jinan data Technology Co ltd
Priority to CN202211052209.3A priority Critical patent/CN115454626A/en
Publication of CN115454626A publication Critical patent/CN115454626A/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/5072Grid computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a resource management method, a resource management device and a readable storage medium, and relates to the field of electronic information. Compared with the previous scheme, the resource management method has the advantages that the front-end page of the resource pool is cut and adapted to the cloud management platform in advance, the front-end page of the corresponding resource pool is opened when a user logs in the cloud management platform, the instruction of the front-end page is forwarded to the rear end of the management platform of the resource pool, and compared with the previous method that the rear-end management module of the cloud management platform is directly adopted to call data in the corresponding resource pool, the front end and the rear end in the scheme are both the front end and the rear end of the resource pool, so that conversion of the data and a system is not involved, logic is simple, advanced functions cannot be lost due to the adaptation of the front end and the rear end, and the applicability is high.

Description

Resource management method and device and readable storage medium
Technical Field
The present application relates to the field of electronic information, and in particular, to a resource management method and apparatus, and a readable storage medium.
Background
In recent years, with the development of cloud computing technology, many enterprises select to go to the cloud, and managing virtualized resource pools through a multi-cloud management platform has become a common practice in the industry. However, at present, the management of the virtualized resource pool by the cloud management platform is often implemented based on an Application Programming Interface (API), that is, the cloud platform maintains a functional Interface related to the virtualized resource pool, and implements management of the bottom layer virtualized resource pool by calling the API Interface, and performs unified management on the resource pool of the manufacturer B and the resource pool of the manufacturer C by using the multi-cloud management platform of the manufacturer a.
In the existing nano-management logic, interfaces associated with manufacturers B and C need to exist in a cloud management platform of a manufacturer a, and a function list of the manufacturers B and C and Uniform Resource Locators (URLs) and parameters of API interfaces corresponding to the functions need to be maintained. In addition, the common virtualized resource pool has a native management interface, many high-level functions cannot be completely transmitted to the upper cloud management platform interface, and the high-level functions are lost, so that the applicability is low.
In view of the above-mentioned technologies, a resource management method with simple logic and high applicability is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a resource management method, a resource management device and a readable storage medium, so as to solve the problems that a cloud management platform needs to maintain a large number of page logics and interface calling logics of other manufacturers, the logics are complex, in addition, a common virtualized resource pool has a native management interface, many high-level functions cannot be completely transmitted to an upper cloud management platform interface, the high-level functions are lost, and therefore the applicability is low.
In order to solve the above technical problem, the present application provides a resource management method, which is applied to a cloud management platform, and the method includes:
acquiring logged-in user information, and switching to a corresponding front-end page according to the user information, wherein the front-end page is a front-end page which is established on the cloud management platform in advance according to a corresponding resource pool;
identifying a preset identifier corresponding to the front-end page, and calling the resource pool corresponding to the front-end page;
sending an instruction input by a user on the front-end page to the rear end of the management platform of the resource pool, and sending the instruction to the rear end of the management platform of the corresponding resource pool;
and receiving a processing result of the management platform rear end of the resource pool after the instruction is processed.
Preferably, the creating of the front page includes:
cutting and adapting the front end of the management platform of each resource pool, and only reserving the management function of the virtualized resources;
receiving front-end codes cut by the front end of the management platform of each resource pool, and combining the front-end codes with the front-end codes of the cloud management platform to establish a front-end framework;
and generating the corresponding front-end page according to the front-end frame, and corresponding to the rear end of the management platform of each resource pool.
Preferably, the logging in by the user through the IAM, the obtaining the logged-in user information, and switching to the corresponding front-end page according to the user information includes:
calling user information in the IAM according to the ID of the user;
identifying the types of the resource pool corresponding to the user information, and judging whether the number of the types is multiple;
if yes, switching to a selection interface of the resource pool of the category, and switching to the corresponding front-end page according to a selection instruction of the user;
if not, switching to the front-end page of the resource pool of the type.
Preferably, the identifying a preset identifier corresponding to the front-end page, and calling the resource pool corresponding to the front-end page includes:
respectively routing the resource pools of different types, and calling to obtain the corresponding types of the resource pools;
if the resource pools of the types are multiple, the identifiers corresponding to the front-end pages are identified, and the front-end pages corresponding to the identifiers are switched.
Preferably, the method further comprises the following steps:
receiving a command of a system terminal for creating a tenant, and sending the command for creating the tenant to the rear end of the management platform of each resource pool;
and synchronously creating the same-name tenants, associating the tenant IDs and the users contained in the tenants, and creating resource quotas corresponding to the tenants according to resource pools corresponding to the users under the tenants.
Preferably, the method further comprises the following steps:
receiving data summary information, metering charging information and monitoring alarm information uploaded by the rear end of the management platform of each resource pool at preset time intervals;
and displaying the data summarizing information, the metering charging information and the monitoring alarm information on the current front-end page of the cloud management platform so as to facilitate the user to carry out centralized monitoring and management on the data summarizing information, the metering charging information and the monitoring alarm information.
Preferably, after receiving the data summary information, the metering charging information, and the monitoring alarm information uploaded by the management platform back end of each resource pool at preset intervals, the method further includes:
and converting the data corresponding to the data summary information, the metering charging information and the monitoring alarm information into data corresponding to the rear end of the cloud management platform, deleting invalid data, combining the same data, and storing the converted data into a data storage library.
In order to solve the above problem, the present application further provides a resource management device, which is applied to a cloud management platform, and includes:
the acquisition module is used for acquiring login user information and selecting a corresponding front-end page according to the user information, wherein the front-end page is a front-end page which is established on the cloud management platform in advance according to a corresponding resource pool;
the identification module is used for identifying a preset identifier corresponding to the front-end page and calling the resource pool corresponding to the front-end page;
the issuing module is used for issuing the instruction input by the user on the front-end page to the rear end of the management platform of the resource pool and issuing the instruction to the rear end of the corresponding management platform of the resource pool;
and the receiving module is used for receiving a processing result after the instruction is processed by the rear end of the management platform of the resource pool.
Preferably, the apparatus further comprises:
the creation module is used for receiving a command of a system terminal for creating a tenant and sending the command for creating the tenant to the rear end of the management platform of each resource pool;
and the synchronization module is used for synchronously creating the same tenant, associating the tenant ID with the user contained in the tenant, and creating the resource quota corresponding to the tenant according to the resource pool corresponding to the user under the tenant.
Preferably, the apparatus further comprises:
the information module is used for receiving data summary information, metering charging information and monitoring alarm information uploaded by the rear end of the management platform of each resource pool at intervals of preset time;
and the display module is used for displaying the data summary information, the metering charging information and the monitoring alarm information on the current front-end page of the cloud management platform so as to facilitate the centralized monitoring and management of the data summary information, the metering charging information and the monitoring alarm information by a user.
Preferably, the apparatus further comprises:
and the processing module is used for converting the data corresponding to the data summary information, the metering charging information and the monitoring alarm information into data corresponding to the rear end of the cloud management platform, deleting invalid data, combining the same data and storing the converted data into a data storage library.
In order to solve the above problem, the present application further provides a resource management apparatus, including a memory for storing a computer program;
a processor for implementing the steps of the resource management method as described above when executing the computer program.
To solve the above problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the resource management method as described above.
The resource management method is applied to a cloud management platform, login user information is obtained, the login user information is switched to a corresponding front-end page according to the user information, a preset identifier corresponding to the front-end page is identified, a resource pool corresponding to the front-end page is called, an instruction input by a user on the front-end page is issued to the rear end of the management platform of the resource pool, the instruction is issued to the rear end of the management platform of the corresponding resource pool, and a processing result obtained after the instruction is processed by the rear end of the management platform of the resource pool is received. Compared with the prior art, the front-end page of the resource pool is cut and adapted to the cloud management platform in advance, the front-end page of the corresponding resource pool is opened when a user logs in the cloud management platform, the instruction of the front-end page is forwarded to the rear end of the management platform of the resource pool, compared with the prior art, the data in the corresponding resource pool are called by the rear-end management module of the cloud management platform directly, because the front end and the rear end in the scheme are both the front end and the rear end of the resource pool, the conversion of the data and the system is not involved, the logic is simple, and because the front end and the rear end are adapted, advanced functions cannot be lost, and the applicability is high.
The resource management device and the computer-readable storage medium provided by the application correspond to the resource management method, and have the advantages.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a resource management method according to an embodiment of the present application;
fig. 2 is a system schematic diagram of a cloud management platform according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a working flow of a converter according to an embodiment of the present application;
fig. 4 is a schematic diagram of a resource management apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of a resource management device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely 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 the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a resource management method, a resource management device and a readable storage medium, so as to solve the problem that a cloud management platform needs to maintain a large amount of page logics and interface calling logics of other manufacturers, the logics are complex, in addition, a common virtualized resource pool has a native management interface, many advanced functions cannot be completely transmitted to an upper cloud management platform interface, the loss of the advanced functions is caused, and the applicability is low.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a resource management method according to an embodiment of the present application, and as shown in fig. 1, the method includes:
s10: and obtaining the logged-in user information, and switching to a corresponding front-end page according to the user information.
The front-end page is a front-end page that is established on the cloud management platform in advance according to the corresponding resource pool, in this embodiment, a specific acquisition manner of the user information and specific content recorded in the user information are not limited, and it can be understood that the user information generally includes content of the resource pool corresponding to the user.
S11: identifying a preset identifier corresponding to a front-end page, and calling a resource pool corresponding to the front-end page;
it should be noted that, in addition to the description, the preset identifier is used to identify a resource pool corresponding to the user, in this embodiment, creation of the preset identifier and a specific identification manner are not limited, and it should be noted that the resource pool here is all resource pools under the cloud management platform.
S12: sending the instruction input by the user on the front-end page to the rear end of the management platform of the resource pool, and sending the instruction to the rear end of the management platform of the corresponding resource pool;
it should be noted that the front end, i.e., the foreground portion of the website, runs on the client, the mobile end, etc., and for example, the web page displayed on the browser for the user to browse, i.e., the portion for human-computer interaction, and the back end refers to the portion for instructing the specific instruction execution. In this embodiment, the specific resource pool issuing process is not limited.
S13: and receiving a processing result after the management platform rear end of the resource pool completes the instruction processing.
The resource management method is applied to a cloud management platform, login user information is obtained, the login user information is switched to a corresponding front-end page according to the user information, a preset identifier corresponding to the front-end page is identified, a resource pool corresponding to the front-end page is called, an instruction input by a user on the front-end page is issued to the rear end of the management platform of the resource pool, the instruction is issued to the rear end of the management platform of the corresponding resource pool, and a processing result obtained after the instruction is processed by the rear end of the management platform of the resource pool is received. Compared with the prior art, the front-end page cutting and adapting method and the device have the advantages that the front-end page of the resource pool is cut and adapted to the cloud management platform in advance, so that the front-end page corresponding to the resource pool is opened when a user logs in the cloud management platform, the instruction of the front-end page is forwarded to the management platform rear end of the resource pool, compared with the prior art that the data in the corresponding resource pool is called by directly adopting the rear-end management module of the cloud management platform, because the front end and the rear end in the scheme are the front end and the rear end of the resource pool, the conversion of the data and the system is not involved, the logic is simpler, and because the front end and the rear end are adapted, the high-level function cannot be lost, and the applicability is higher.
The specific process of establishing the front-end page in the above embodiment is not limited, and a preferred scheme is provided herein, where the establishing of the front-end page includes:
cutting and adapting the front end of the management platform of each resource pool, and only reserving the management function of the virtualized resources;
receiving front-end codes cut by the front end of the management platform of each resource pool, and combining the front-end codes with the front-end codes of the cloud management platform to establish a front-end framework;
and generating a corresponding front-end page according to the front-end frame, and corresponding to the rear end of the management platform of each resource pool.
Fig. 2 is a system schematic diagram of a cloud management platform provided in an embodiment of the present application, and as shown in fig. 2, in this embodiment, a specific front-end page generation method and a specific communication method of the cloud management platform are defined, so that adaptation of finally obtained data is ensured.
In the foregoing embodiment, the user information and the specific login manner are not limited, and a preferred scheme is provided herein, where the user logs in through the IAM, acquires the logged-in user information, and switches to the corresponding front-end page according to the user information includes:
calling user information in the IAM according to the ID of the user; identifying the categories of the resource pool corresponding to the user information, and judging whether the number of the categories is multiple;
if yes, switching to a selection interface of the resource pool of the category, and switching to a corresponding front-end page according to a selection instruction of a user;
if not, switching to the front page of the resource pool of the category.
It should be noted that the Identity and Access Management (IAM) provides Identity authentication and rights Management functions, and may manage accounts of users (such as employees, systems, or applications), and may control the operating rights of the users to resources under your name, where an Identity card (Identity, ID) is an exclusive identifier corresponding to each user in a system, and user information is not limited and described in detail in this embodiment.
In the foregoing embodiment, a specific manner of how to identify an identifier and call a resource pool is not limited, and an optimal scheme is provided herein, where identifying a preset identifier corresponding to a front-end page, and calling a resource pool corresponding to the front-end page includes:
respectively routing the resource pools of different types, and calling to obtain the types of the corresponding resource pools;
and if the resource pools of the types are multiple, identifying the identifiers corresponding to the front-end pages, and switching to the front-end pages corresponding to the identifiers.
It should be noted that, in this embodiment, specific identification of the preset identifier and invoking of the corresponding resource pool according to the preset identifier are performed by software, and generally referred to as a repeater in the industry, fig. 3 is a schematic diagram of a work flow of a converter provided in the embodiment of the present application, as shown in fig. 3, the function of the repeater is to first obtain the corresponding resource pool according to the type of the resource pool to which the type is corresponding, and then obtain the corresponding resource pool according to an identifier query, for example, when the repeater receives two front end pages, i.e., front end page 1 and front end page 2 in fig. 3, the type is judged to belong to category 1 or category 2, and then the type is judged to belong to any identifier by the identifier, it should be noted that, an operation form of the repeater shown in fig. 3 for the present application, for the repeater, there are more or fewer front end page inputs or corresponding resource pools, and no limitation is made here.
In view of the difficulty of management, the preferred solution is provided herein, further comprising:
receiving a command of a system terminal for creating a tenant, and sending the command for creating the tenant to the rear end of a management platform of each resource pool;
and synchronously creating the same tenant, associating the tenant ID with the user contained in the tenant, and creating the resource quota corresponding to the tenant according to the resource pool corresponding to the user under the tenant.
It should be noted that the tenant is a collection of users, and in this embodiment, users of the same type are generally used to establish the tenant.
In view of uploading and receiving data, a preferred solution is provided herein, further comprising:
receiving data summary information, metering charging information and monitoring alarm information uploaded by the rear end of the management platform of each resource pool at intervals of preset time;
and displaying the data summarizing information, the metering charging information and the monitoring alarm information on a current front-end page of the cloud management platform so as to facilitate a user to carry out centralized monitoring and management on the data summarizing information, the metering charging information and the monitoring alarm information.
After receiving the data summary information, the metering charging information and the monitoring alarm information uploaded by the management platform rear end of each resource pool at preset time intervals, the method further comprises the following steps:
and converting corresponding data in the data summarizing information, the metering charging information and the monitoring alarm information into data corresponding to the rear end of the cloud management platform, deleting invalid data, combining the same data, and storing the converted data into a data storage library.
It should be noted that, in this embodiment, it is proposed to upload data of a resource pool to a corresponding cloud management platform, so that the cloud management platform is convenient to perform unified management.
In the foregoing embodiments, detailed description is given on a resource management method, and the present application also provides embodiments corresponding to a resource management device. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 4 is a schematic diagram of a resource management apparatus according to an embodiment of the present application, where the apparatus includes:
the acquisition module 10 is configured to acquire logged-in user information and select a corresponding front-end page according to the user information, where the front-end page is a front-end page that is established on the cloud management platform in advance according to a corresponding resource pool;
the identification module 11 is configured to identify a preset identifier corresponding to a front-end page, and call a resource pool corresponding to the front-end page;
the issuing module 12 is configured to issue an instruction input by a user on a front-end page to a rear end of a management platform of a resource pool, and issue the instruction to a rear end of the management platform of the corresponding resource pool;
and the receiving module 13 is configured to receive a processing result obtained after the management platform back end of the resource pool completes processing of the instruction.
Preferably, the apparatus further comprises:
the system comprises a creation module, a management platform and a management platform, wherein the creation module is used for receiving a command of creating a tenant of a system terminal and sending the command of creating the tenant to the rear end of the management platform of each resource pool;
and the synchronization module is used for synchronously creating the same tenant, associating the tenant ID with the user contained in the tenant, and creating the resource quota corresponding to the tenant according to the resource pool corresponding to the user under the tenant.
Preferably, the apparatus further comprises:
the information module is used for receiving data summary information, metering charging information and monitoring alarm information uploaded by the rear end of the management platform of each resource pool at intervals of preset time;
and the display module is used for displaying the data summarizing information, the metering charging information and the monitoring alarm information on a current front-end page of the cloud management platform so as to facilitate a user to carry out centralized monitoring and management on the data summarizing information, the metering charging information and the monitoring alarm information.
Preferably, the apparatus further comprises:
and the processing module is used for converting the corresponding data in the data summarizing information, the metering charging information and the monitoring alarm information into the data corresponding to the rear end of the cloud management platform, deleting invalid data, combining the same data and storing the converted data into the data storage library.
Since the embodiment of the apparatus portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the apparatus portion, and details are not repeated here.
The application provides a resource management device is applied to cloud management platform, includes: the system comprises an acquisition module, an identification module, a sending module and a receiving module, wherein interaction among the modules can be realized by acquiring logged-in user information, switching to a corresponding front-end page according to the user information, calling a resource pool corresponding to the front-end page by identifying a preset identifier corresponding to the front-end page, sending an instruction input by a user on the front-end page to the rear end of a management platform of the resource pool, sending the instruction to the rear end of the management platform of the corresponding resource pool, and receiving a processing result after the instruction is processed by the rear end of the management platform of the resource pool. Compared with the prior art, the front-end page of the resource pool is cut and adapted to the cloud management platform in advance, so that the front-end page of the corresponding resource pool is opened when a user logs in the cloud management platform, the instruction of the front-end page is forwarded to the management platform rear end of the resource pool, compared with the prior art that the data in the corresponding resource pool is called by directly adopting the rear-end management module of the cloud management platform, because the front end and the rear end in the scheme are the front end and the rear end of the resource pool, the conversion of the data and the system is not involved, the logic is simpler, and because the front end and the rear end are adapted, advanced functions cannot be lost, and the applicability is higher.
Fig. 5 is a structural diagram of a resource management device according to another embodiment of the present application, and as shown in fig. 5, the resource management device includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the resource management method as mentioned in the above embodiments when executing the computer program.
The resource management device provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in at least one hardware form of Digital Signal Processor (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the resource management method disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, windows, unix, linux, and the like. Data 203 may include, but is not limited to, data involved in resource management methods, and the like.
In some embodiments, the resource management device may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the architecture shown in FIG. 5 is not meant to be limiting on the resource management devices and may include more or fewer components than those shown.
The resource management device provided by the embodiment of the application comprises a memory and a processor, and when the processor executes a program stored in the memory, the following method can be realized: the resource management method in the above embodiments.
Since the embodiment of the apparatus portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the apparatus portion, and details are not repeated here.
The resource management device provided by the application is applied to a cloud management platform, and comprises a processor and a memory, wherein when stored data in the memory is executed by the processor, login user information can be acquired, the corresponding front-end page is switched to according to the user information, a preset identifier corresponding to the front-end page is identified, a resource pool corresponding to the front-end page is called, an instruction input by a user at the front-end page is issued to the rear end of a management platform of the resource pool, the instruction is issued to the rear end of the management platform of the corresponding resource pool, and a processing result after the instruction is processed by the rear end of the management platform of the resource pool is received. Compared with the prior art, the front-end page of the resource pool is cut and adapted to the cloud management platform in advance, the front-end page of the corresponding resource pool is opened when a user logs in the cloud management platform, the instruction of the front-end page is forwarded to the management platform rear end of the resource pool, compared with the prior art that the rear-end management module of the cloud management platform is directly adopted to call data in the corresponding resource pool, the front end and the rear end in the scheme are the front end and the rear end of the resource pool, data and system conversion is not involved, logic is simple, and advanced functions cannot be lost due to the fact that the front end and the rear end are adapted, and applicability is high.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Since the embodiment of the readable storage medium portion corresponds to the embodiment of the method portion, please refer to the description of the embodiment of the method portion for the embodiment of the apparatus portion, which is not repeated here.
The computer-readable storage medium provided by the application can realize that when stored data is executed, login user information is obtained, the front-end page is switched to the corresponding front-end page according to the user information, the preset identifier corresponding to the front-end page is identified, the resource pool corresponding to the front-end page is called, an instruction input by a user on the front-end page is issued to the rear end of a management platform of the resource pool, the instruction is issued to the rear end of the management platform of the corresponding resource pool, and a processing result after the instruction is processed by the rear end of the management platform of the resource pool is received. Compared with the prior art, the front-end page of the resource pool is cut and adapted to the cloud management platform in advance, the front-end page of the corresponding resource pool is opened when a user logs in the cloud management platform, the instruction of the front-end page is forwarded to the management platform rear end of the resource pool, compared with the prior art that the rear-end management module of the cloud management platform is directly adopted to call data in the corresponding resource pool, the front end and the rear end in the scheme are the front end and the rear end of the resource pool, data and system conversion is not involved, logic is simple, and advanced functions cannot be lost due to the fact that the front end and the rear end are adapted, and applicability is high.
The foregoing detailed description is directed to a resource management method, apparatus, and computer-readable storage medium provided by the present application. The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for resource management, comprising:
acquiring logged-in user information, and switching to a corresponding front-end page according to the user information, wherein the front-end page is a front-end page which is established on a cloud management platform in advance according to a corresponding resource pool;
identifying a preset identifier corresponding to the front-end page, and calling the resource pool corresponding to the front-end page;
sending an instruction input by a user on the front-end page to the rear end of the management platform of the resource pool, and sending the instruction to the rear end of the management platform of the corresponding resource pool;
and receiving a processing result of the management platform rear end of the resource pool after the instruction is processed.
2. The method of claim 1, wherein the creating of the front-end page comprises:
cutting and adapting the front end of the management platform of each resource pool, and only reserving the management function of the virtualized resources;
receiving front-end codes cut by the front end of the management platform of each resource pool, and combining the front-end codes with the front-end codes of the cloud management platform to establish a front-end framework;
and generating the corresponding front-end page according to the front-end frame, and corresponding to the rear end of the management platform of each resource pool.
3. The resource management method according to claim 2, wherein the user logs in through the IAM, and the obtaining the logged-in user information and switching to the corresponding front-end page according to the user information comprises:
calling the user information in the IAM according to the ID of the user;
identifying the types of the resource pool corresponding to the user information, and judging whether the number of the types is multiple;
if yes, switching to a selection interface of the resource pool of the category, and switching to the corresponding front-end page according to a selection instruction of the user;
if not, switching to the front-end page of the resource pool of the type.
4. The method according to claim 3, wherein the identifying the preset identifier corresponding to the front-end page and invoking the resource pool corresponding to the front-end page comprises:
respectively routing the resource pools of different types, and calling to obtain the corresponding types of the resource pools;
if the resource pools of the types are multiple, the identifiers corresponding to the front-end pages are identified, and the front-end pages corresponding to the identifiers are switched.
5. The resource management method according to any one of claims 1 to 4, further comprising:
receiving a command of a system terminal for creating a tenant, and sending the command for creating the tenant to the rear end of the management platform of each resource pool;
and synchronously creating the same-name tenants, associating the tenant IDs and the users contained in the tenants, and creating resource quotas corresponding to the tenants according to resource pools corresponding to the users under the tenants.
6. The resource management method of claim 1, further comprising:
receiving data summary information, metering charging information and monitoring alarm information uploaded by the rear end of the management platform of each resource pool at preset time intervals;
and displaying the data summary information, the metering charging information and the monitoring alarm information on the current front-end page of the cloud management platform so as to facilitate the user to perform centralized monitoring and management on the data summary information, the metering charging information and the monitoring alarm information.
7. The resource management method according to claim 6, wherein after receiving the data summary information, the metering charging information, and the monitoring alarm information uploaded by the management platform back end of each resource pool at preset time intervals, the method further comprises:
and converting data corresponding to the data summary information, the metering charging information and the monitoring alarm information into data corresponding to the rear end of the cloud management platform, deleting invalid data, combining the same data, and storing the converted data into a data storage library.
8. A resource management apparatus, comprising:
the acquisition module is used for acquiring login user information and selecting a corresponding front-end page according to the user information, wherein the front-end page is a front-end page which is established on the cloud management platform in advance according to a corresponding resource pool;
the identification module is used for identifying a preset identifier corresponding to the front-end page and calling the resource pool corresponding to the front-end page;
the issuing module is used for issuing the instruction input by the user on the front-end page to the rear end of the management platform of the resource pool and issuing the instruction to the rear end of the management platform of the corresponding resource pool;
and the receiving module is used for receiving a processing result after the instruction is processed by the rear end of the management platform of the resource pool.
9. A resource management apparatus comprising a memory for storing a computer program;
a processor for implementing the steps of the resource management method according to any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the resource management method according to any one of claims 1 to 7.
CN202211052209.3A 2022-08-31 2022-08-31 Resource management method and device and readable storage medium Pending CN115454626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211052209.3A CN115454626A (en) 2022-08-31 2022-08-31 Resource management method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211052209.3A CN115454626A (en) 2022-08-31 2022-08-31 Resource management method and device and readable storage medium

Publications (1)

Publication Number Publication Date
CN115454626A true CN115454626A (en) 2022-12-09

Family

ID=84301642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211052209.3A Pending CN115454626A (en) 2022-08-31 2022-08-31 Resource management method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN115454626A (en)

Similar Documents

Publication Publication Date Title
WO2018036342A1 (en) Csar-based template design visualization method and device
CN108038212B (en) Data interaction method, device, system, equipment and storage medium
CN106897155A (en) A kind of method for showing interface and device
CN110532058B (en) Management method, device and equipment of container cluster service and readable storage medium
CN110442819A (en) Data processing method, device, storage medium and terminal
CN114493185A (en) Approval processing method, device, system, electronic equipment, storage medium and product
CN114826749A (en) Interface access control method, device and medium
EP4050867A2 (en) Method and apparatus of synchronizing data, electronic device and storage medium
CN105550179A (en) Webpage collection method and browser plug-in
EP3933617A1 (en) Method, apparatus, device and storage medium for customizing personalized rules for entities
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN115454626A (en) Resource management method and device and readable storage medium
CN116610394A (en) Template and module-based data visualization page configuration method, system and device
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN111124365A (en) RPA demand collection method and device
CN111880698A (en) Information processing method and device of intelligent terminal, electronic equipment and storage medium
CN113706209B (en) Operation data processing method and related device
CN113918152B (en) Low-code application development method and equipment in page building process
CN113342413B (en) Method, apparatus, device, medium, and article for processing components
CN115599573A (en) Event processing method, device, equipment and storage medium
CN107707636B (en) A kind of picture storage method and terminal and computer readable storage medium
CN113806596A (en) Operation data management method and related device
CN113094056A (en) Method, system and device for supporting dynamic project construction
CN117667093A (en) Page generation method and device, electronic equipment and storage medium
CN117371416A (en) Project document generation method, device, equipment and storage medium

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