CN111064602B - Resource quota management method under public cloud platform - Google Patents
Resource quota management method under public cloud platform Download PDFInfo
- Publication number
- CN111064602B CN111064602B CN201911213672.XA CN201911213672A CN111064602B CN 111064602 B CN111064602 B CN 111064602B CN 201911213672 A CN201911213672 A CN 201911213672A CN 111064602 B CN111064602 B CN 111064602B
- Authority
- CN
- China
- Prior art keywords
- quota
- cloud
- resource
- platform
- management
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a resource quota management method under a public cloud platform, which comprises the following steps: s1, setting a cloud management platform and a cloud management platform database; the quota information of the tail end cloud node is completely stored in the cloud management platform, and the cloud management platform is used for carrying out unified management on the quota information of the tail end cloud node; s2, reserving the configuration and use mode of the existing quota of the end cloud node, and setting the bottom quota of the end cloud node to be infinite; the method is used for ensuring the independence and maintainability of the end cloud nodes; and S3, integrating the multiple resource quota management data tables of the end cloud node into a cloud management platform quota data table. The invention provides a resource quota management method under a public cloud platform, aiming at realizing more reasonable, more flexible and more convenient management on all resource quotas under the platform; the cloud management platform does not maintain configuration information of all the end nodes on the aspect of resource quota management, complexity of the system is reduced, and maintenance cost is reduced.
Description
Technical Field
The invention belongs to the field of cloud computing, and particularly relates to a resource quota management method under a public cloud platform.
Background
At present, a public cloud platform is dedicated to provide flexible, fast and scalable IT services for users, and mainly includes three types of services, i aas (Infrastructure as a service), PaaS (platform as a service) and SaaS (software as a service).
The public cloud platform and the private cloud platform are different from each other in the greatest extent that the private cloud platform is based on customized and privatized implementation schemes and means, and the public cloud platform aims to provide a wide and universal cloud service facing all internet users.
This requires that the capabilities provided by public cloud platforms must be based on different regions, different available regions, or even different countries. This puts higher demands on resource management (especially quota management) of the public cloud platform.
The resources under the public cloud platform mainly include IaaS (computing, network, storage), PaaS and SaaS product resources which can be sold on line, and in this document, we only take the IaaS resources as an example for response explanation, and other products are similar.
The management of resources by a traditional private cloud platform and a part of public cloud platforms is centralized at a near end, the near end management is managed at the tail end of cloud node deployment as the name implies, for example, quota management of the resources is managed in services running on four nodes of Beijing, Shanghai, Guangzhou and Shenzhen, after a user registers an account number on the public cloud platform, a default creatable resource quota can be set at the tail end cloud node, and the resource quota management is carried out at the cloud node. The advantage of performing resource quota management at the end is that corresponding restrictions can be made on the default quota that can be created by the user according to the overall resource conditions of different nodes. For example, beijing, shanghai and shenzhen are used as the backbone nodes, the user can default to 10 created cloud hosts, 5 elastic public network IPs and 10 cloud hard disks, but the zhhai is used as the secondary node, the amount of resources per se is not too large, the user can default to 5 created cloud hosts, 3 elastic public network IPs and 5 cloud hard disks. The limiting logic for different node resources is generally deployed on local services in Beijing or the Zhuhai, and when a cloud management platform needs to acquire a default resource quota of a user at a certain node, an internal interface provided by the cloud service of the node needs to be called. However, one disadvantage of this approach is that as the number of nodes increases, the management of the resource default quota of each node increases the management difficulty of the cloud management platform invisibly.
Disclosure of Invention
In view of this, the present invention provides a resource quota management method under a public cloud platform, aiming to overcome the defects in the prior art.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a resource quota management method under a public cloud platform comprises the following steps:
s1, setting a cloud management platform and a cloud management platform database; the quota information of the tail end cloud node is completely stored in the cloud management platform, and the cloud management platform is used for carrying out unified management on the quota information of the tail end cloud node;
s2, reserving the configuration and use mode of the existing quota of the end cloud node, and setting the bottom quota of the end cloud node to be infinite; the method is used for ensuring the independence and maintainability of the end cloud nodes;
s3, integrating the multiple resource quota management data tables of the tail end cloud node into a cloud management platform quota data table; after the resource quota management data table is transferred to the cloud node management platform from the tail end, a region _ id is added to identify different region resource quota management data tables, so that a plurality of resource quota management data tables form a cloud management platform quota data table;
s4, defining a default cloud management platform quota data table structure of all products in each area in a cloud management platform database;
s5, defining a user detailed quota table structure in the resource quota service of the cloud management platform;
s6, monitoring registration information of a user on a cloud management platform, and distributing different default quota information to a user detailed quota table for different regions of the user at a public terminal cloud node according to a default cloud management platform quota data table structure;
and S7, sending quota information which is not limited in the user detailed quota table to the tail end cloud node through interface calling or message communication, and logically adding the resource quota which is not limited in the user default in the tail end cloud node.
Further, in step S6, when the user needs to modify the resource quota of a certain end cloud node, the resource quota service of the cloud management platform may update the quota into the user detailed quota table only by modifying the cloud management platform quota data table in the cloud management platform database.
Further, in step S6, after the user logs in, and issues the resource on the cloud platform, the user may obtain the amount of the resource quota that can be purchased in a certain area where the user is located, in the user detailed quota table in the cloud management platform.
Further, the resource quota management data table includes id, project _ id, resource, and limit;
wherein, id is used as a primary key for uniquely identifying the record; project _ id is used as tenant id for identifying different tenants; resource represents a resource type; limit denotes quota limit.
Further, the cloud management platform quota data table comprises region _ id, project _ id, resource, and limit;
where the region _ id is used to identify different regions.
Compared with the prior art, the invention has the following advantages:
the invention provides a resource quota management method under a public cloud platform, aiming at realizing more reasonable, more flexible and more convenient management on all resource quotas under the platform; the cloud management platform does not maintain configuration information of all the end nodes in resource quota management, complexity of the system is reduced, maintenance cost is reduced, and difficulty and complexity of the cloud management platform in resource quota management are greatly reduced; when a user on the cloud needs to perform addition, deletion, modification and check on a resource quota, reducing frequent RESTFul calls to a terminal node; meanwhile, enough space is reserved for later-stage expansibility, when quota related information needs to be expanded, only a quota table in a cloud pipe platform needs to be modified, and a terminal cloud node quota table does not need to be modified in batches, so that the operation process and the operation difficulty of a user are simplified.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the invention without limitation. In the drawings:
fig. 1 is a schematic diagram illustrating a connection between a cloud pipe platform and a terminal cloud node according to an embodiment of the present invention;
fig. 2 is a flowchart of a resource quota management method under a public cloud platform according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments of the present invention may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the orientation or positional relationship indicated in the drawings, which are merely for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be construed as limiting the invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the invention, the meaning of "a plurality" is two or more unless otherwise specified.
In the description of the invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted", "connected" and "connected" are to be construed broadly, e.g. as being fixed or detachable or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the creation of the present invention can be understood by those of ordinary skill in the art through specific situations.
The invention will be described in detail with reference to the following embodiments with reference to the attached drawings.
A resource quota management method under a public cloud platform, as shown in fig. 1 and fig. 2, includes:
s1, setting a cloud management platform and a cloud management platform database; the quota information of the tail end cloud node is completely stored in the cloud management platform, and the cloud management platform is used for carrying out unified management on the quota information of the tail end cloud node;
s2, reserving the configuration and use mode of the existing quota of the end cloud node, and setting the bottom quota of the end cloud node to be infinite; specifically, the configuration and use modes of the existing quota of the end cloud node are reserved mainly for ensuring the independence and maintainability of the end cloud node; however, in order to realize the unified management of the cloud management platform, the quota of the end cloud node is set to be infinite, so that the evolution of the scheme is very smooth, and the intrusiveness on the original system and logic is almost 0;
s3, integrating the multiple resource quota management data tables of the tail end cloud node into a cloud management platform quota data table; after the resource quota management data table is transferred to the cloud node management platform from the tail end, a region _ id is added to identify different region resource quota management data tables, so that a plurality of resource quota management data tables form a cloud management platform quota data table;
s4, defining a default cloud management platform quota data table structure of all products in each area in a cloud management platform database;
s5, defining a user detailed quota table structure in the resource quota service of the cloud management platform;
s6, monitoring registration information of a user on a cloud management platform, monitoring a successful registration message after the user registers in a public cloud platform, and distributing different default quota information to a user detailed quota table for different regions of the user at a public terminal cloud node according to a default cloud management platform quota data table structure;
and S7, after the step 6 is completed, sending quota information which is not limited in the user detailed quota table to the end cloud node through interface calling or message communication, and performing logic addition which is not limited on the user default resource quota in the end cloud node.
In step S6, when the user needs to modify the resource quota of a certain end cloud node, the user only needs to modify the cloud management platform quota data table in the cloud management platform database, the resource quota service of the cloud management platform updates the quota into the user detailed quota table, and the user does not need to go to a different end cloud node to perform an update operation on the database each time.
In step S6, after the user logs in, and when the resource is issued on the cloud platform, the user can obtain the number of resource quotas that can be purchased in a certain area where the user is located in the user detailed quota table in the cloud management platform, so as to limit the purchasing behavior of the user.
The resource quota management data table comprises id, project _ id, resource and limit;
wherein, id is used as a primary key for uniquely identifying the record; project _ id is used as tenant id for identifying different tenants; resource represents a resource type; limit denotes quota limit.
The cloud management platform quota data table comprises a region _ id, an id, a project _ id, a resource and a limit; wherein, the region _ id is used for identifying different regions; specifically, although the data table structure is not greatly changed, the network bandwidth cost and the maintenance cost are greatly simplified, and the quota of the user on each cloud node can be directly obtained by querying the cloud pipe platform quota data table in the cloud pipe platform and is obtained without frequently accessing the end node.
The invention provides a resource quota management method under a public cloud platform, aiming at realizing more reasonable, more flexible and more convenient management on all resource quotas under the platform; the cloud management platform does not maintain configuration information of all the end nodes in resource quota management, complexity of the system is reduced, maintenance cost is reduced, and difficulty and complexity of the cloud management platform in resource quota management are greatly reduced; when a user on the cloud needs to perform addition, deletion, modification and check on a resource quota, reducing frequent RESTFul calls to a terminal node; meanwhile, enough space is reserved for later-stage expansibility, when quota related information needs to be expanded, only a quota table in a cloud pipe platform needs to be modified, and a terminal cloud node quota table does not need to be modified in batches, so that the operation process and the operation difficulty of a user are simplified.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the invention, so that any modifications, equivalents, improvements and the like, which are within the spirit and principle of the present invention, should be included in the scope of the present invention.
Claims (5)
1. A resource quota management method under a public cloud platform is characterized by comprising the following steps:
s1, setting a cloud management platform and a cloud management platform database; the quota information of the tail end cloud node is completely stored in the cloud management platform, and the cloud management platform is used for carrying out unified management on the quota information of the tail end cloud node;
s2, reserving the configuration and use mode of the existing quota of the end cloud node, and setting the bottom quota of the end cloud node to be infinite; the method is used for ensuring the independence and maintainability of the end cloud nodes;
s3, integrating the multiple resource quota management data tables of the tail end cloud node into a cloud management platform quota data table; after the resource quota management data table is transferred to the cloud node management platform from the tail end, a region _ id is added to identify different region resource quota management data tables, so that a plurality of resource quota management data tables form a cloud management platform quota data table;
s4, defining a default cloud management platform quota data table structure of all products in each area in a cloud management platform database;
s5, defining a user detailed quota table structure in the resource quota service of the cloud management platform;
s6, monitoring registration information of a user on a cloud management platform, and distributing different default quota information to a user detailed quota table for different regions of the user at a public terminal cloud node according to a default cloud management platform quota data table structure;
and S7, sending quota information which is not limited in the user detailed quota table to the tail end cloud node through interface calling or message communication, and logically adding the resource quota which is not limited in the user default in the tail end cloud node.
2. The method according to claim 1, wherein in step S6, when a user needs to modify a resource quota of a certain end cloud node, the user only needs to modify a cloud pipe platform quota data table in a cloud pipe platform database, and a resource quota service of the cloud pipe platform updates a quota into a user detailed quota table.
3. The method according to claim 1, wherein the method for managing resource quotas under a public cloud platform comprises: in step S6, after the user logs in, and issues the resource on the cloud platform, the user can obtain the amount of the resource quota that can be purchased in a certain area where the user is located in the user detailed quota table in the cloud management platform.
4. The method according to claim 1, wherein the method for managing resource quotas under a public cloud platform comprises: the resource quota management data table comprises id, project _ id, resource and limit;
wherein, id is used as a primary key for uniquely identifying the record; project _ id is used as tenant id for identifying different tenants; resource represents a resource type; limit denotes quota limit.
5. The method according to claim 4, wherein the method for managing the resource quota under the public cloud platform comprises: the cloud management platform quota data table comprises a region _ id, an id, a project _ id, a resource and a limit;
where the region _ id is used to identify different regions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911213672.XA CN111064602B (en) | 2019-12-02 | 2019-12-02 | Resource quota management method under public cloud platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911213672.XA CN111064602B (en) | 2019-12-02 | 2019-12-02 | Resource quota management method under public cloud platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111064602A CN111064602A (en) | 2020-04-24 |
CN111064602B true CN111064602B (en) | 2022-04-05 |
Family
ID=70299314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911213672.XA Active CN111064602B (en) | 2019-12-02 | 2019-12-02 | Resource quota management method under public cloud platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111064602B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113760940A (en) * | 2020-09-24 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Quota management method, device, equipment and medium applied to distributed system |
CN112783657A (en) * | 2021-01-29 | 2021-05-11 | 紫光云技术有限公司 | Method applicable to cloud service and capable of dynamically configuring resource limitation |
CN112817985A (en) * | 2021-02-25 | 2021-05-18 | 紫光云技术有限公司 | Method for establishing flow control management based on cloud host |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224392A (en) * | 2015-10-13 | 2016-01-06 | 中国联合网络通信集团有限公司 | A kind of virtual computing resource quota management method and platform |
CN107977773A (en) * | 2017-11-10 | 2018-05-01 | 国云科技股份有限公司 | A kind of method for the entry resource amount for managing multiple cloud platforms |
CN108667940A (en) * | 2018-05-22 | 2018-10-16 | 深信服网络科技(深圳)有限公司 | Resource allocation methods, device and the computer readable storage medium of cloud platform |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150372881A1 (en) * | 2014-06-23 | 2015-12-24 | Synchronoss Technologies, Inc. | Apparatus, method and system for dynamic allocation of shared cloud-based resources |
-
2019
- 2019-12-02 CN CN201911213672.XA patent/CN111064602B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224392A (en) * | 2015-10-13 | 2016-01-06 | 中国联合网络通信集团有限公司 | A kind of virtual computing resource quota management method and platform |
CN107977773A (en) * | 2017-11-10 | 2018-05-01 | 国云科技股份有限公司 | A kind of method for the entry resource amount for managing multiple cloud platforms |
CN108667940A (en) * | 2018-05-22 | 2018-10-16 | 深信服网络科技(深圳)有限公司 | Resource allocation methods, device and the computer readable storage medium of cloud platform |
Non-Patent Citations (1)
Title |
---|
高能物理云平台中的弹性计算资源管理机制;程振京等;《计算机工程与应用》;20170415(第08期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111064602A (en) | 2020-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111064602B (en) | Resource quota management method under public cloud platform | |
CN109995641B (en) | Information processing method, computing node and storage medium | |
WO2015021905A1 (en) | Software updating method, system, and device | |
CN109417492B (en) | Network function NF management method and NF management equipment | |
CN109547512A (en) | A kind of method and device of the distributed Session management based on NoSQL | |
EP4021043A1 (en) | Method, device, and system for user identification management | |
WO2017120814A1 (en) | Method and system for managing resource objects | |
CN102447736A (en) | Management and control method for user quota in multi-network storage system | |
CN111901705B (en) | OMCI function virtualization system of OLT equipment | |
WO2019129033A1 (en) | Transport network subslice management method and device | |
WO2018000653A1 (en) | Information processing method for m2m application, cse and ae | |
CN111381820A (en) | Method and device for automatically generating API based on GUI | |
WO2017054533A1 (en) | External resource management method, apparatus and system through cloud interworking | |
CN113194012B (en) | Multi-agent management method, device, equipment and storage medium based on Internet of things | |
WO2022007908A1 (en) | Method for service collaboration between network element devices, and network element device | |
WO2014021675A1 (en) | Method and apparatus for updating personal information in communication system | |
CN114448686A (en) | Cross-network communication device and method based on micro-service | |
CN103200153B (en) | A kind of IP Multimedia System service activating method, equipment and system | |
US20100205266A1 (en) | Appearance package management method, system and device | |
CN112558943B (en) | Configuration information management system under micro-service architecture | |
CN109194513A (en) | A kind of method of API gateway Intellisense cluster | |
CN107493181B (en) | Indication method and device of virtual expansion port | |
CN106559454B (en) | Resource access method, device and system | |
WO2017161565A1 (en) | Method, apparatus and system for network service assembly to access context data | |
CN111857955A (en) | Method for automatically constructing and updating resource configuration information in heterogeneous cloud environment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |