Public cloud resource management method and device, equipment and storage medium
By combining user permissions, a general or personalized quota method is used to handle quota applications for public cloud resources, the complex problem of resource management and control in the existing technology is solved, and efficient and accurate quota management is achieved to adapt to diversified transaction needs.
Patent Information
- Application Number
- CN202510414892.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-06-24
AI Technical Summary
In the existing cloud service market, resource management and control are complex, especially when dealing with quotas for multiple products and services, traditional quota technology cannot provide a unified and efficient management solution, and it is difficult to adapt to the diverse public cloud resource management and control needs.
By combining user permissions, the quota application for public cloud resources is processed by using a general quota method or a personalized quota method, the user permissions are legally verified using a preset permission mapping list, and the quota method is determined based on the verification results to improve processing efficiency and accuracy.
It achieves compatibility with complex transaction needs, improves the efficiency and accuracy of quota application processing of public cloud resources, and meets the needs of diversified quota orders.
Smart Images

Figure CN120201028A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud services, and particularly relates to a method, device, equipment and storage medium for managing public cloud resources. Background Art
[0002] Regarding the resource control problems existing in the current cloud service market, many systems related to the delivery revenue platform usually perform quota applications and allocations through a general platform page. However, with the continuous increase in the number of users, the complexity of resource control also increases. Especially when dealing with the quotas of multiple products and services, since the quota requirements of different products are different and involve multiple business aspects, traditional quota technologies cannot provide a unified and efficient management solution.
[0003] Therefore, it can be seen that how to adapt to the diverse public cloud resource control requirements and improve the processing efficiency of quota orders is a problem to be solved in this field. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, device, equipment and storage medium for managing public cloud resources. By combining user permissions and processing the current quota application through a general quota method or a personalized quota method, the compatibility with complex transaction requirements can be improved, and the processing efficiency and accuracy can be enhanced. The specific solutions are as follows:
[0005] In the first aspect, the present application provides a method for managing public cloud resources, which is applied to a management end and includes:
[0006] Obtain a quota application for target public cloud resources uploaded by a user end; the target public cloud resources represent computing resources and services provided by a cloud service provider;
[0007] Based on a preset permission mapping list, use the user permission of the target user corresponding to the quota application to perform a legality check on the target public cloud resources, and obtain a corresponding check result;
[0008] When the check result indicates that the check is passed, determine the target quota method corresponding to the quota application; the target quota method is a preset general quota method or a personalized quota method;
[0009] Based on the target quota method, use the target public cloud resources to respond to the quota application, and send the response result to the user end.
[0010] Optionally, the obtaining of the quota application for target public cloud resources uploaded by the user end includes:
[0011] Obtain an operation instruction for the publicly displayed public cloud resources through the user terminal, and generate a quota application for applying for target public cloud resources based on the operation instruction; the publicly displayed public cloud resources are the public cloud resources pre-displayed and associated with the target user corresponding to the user terminal.
[0012] Obtain the quota application uploaded by the user terminal.
[0013] Optionally, based on a preset permission mapping list, use the user permission of the target user corresponding to the quota application to perform a legality check on the target public cloud resources to obtain a corresponding check result, including:
[0014] Determine the user permission of the target user corresponding to the quota application and the remaining resource quota corresponding to the user permission based on a preset permission mapping table;
[0015] According to the matching relationship between the remaining resource quota and the target public cloud resources, perform a legality check on the target public cloud resources to obtain a corresponding check result;
[0016] Wherein, if the matching relationship indicates that the target public cloud resources are a subset of the remaining resource quota, the check result indicates that the check passes.
[0017] Optionally, the method for determining the target quota method corresponding to the quota application includes:
[0018] According to the relationship between the preset quota method and the quota method corresponding to the quota application, determine whether there is a general quota method in the preset quota method that matches the quota application;
[0019] If there is a general quota method in the preset quota method that matches the quota application, determine the corresponding general quota method as the target quota method corresponding to the quota application;
[0020] If there is no general quota method in the preset quota method that matches the quota application, determine the personalized quota method indicating that manual review is required as the target quota method corresponding to the quota application.
[0021] Optionally, based on the target quota method, use the target public cloud resources to respond to the quota application, and send the response result to the user terminal, including:
[0022] If the target quota method is a general quota method, directly use the target public cloud resources to respond to the quota application, and send the corresponding response result to the user terminal;
[0023] If the target quota method is a personalized quota method, obtain the manual review result for the quota application through a preset manual review interface;
[0024] Based on the manual review result, use the target public cloud resources to respond to the quota application, and send the corresponding response result to the user terminal;
[0025] Among them, obtaining the manual review result for the quota application through a preset manual review interface includes:
[0026] Display the quota application through a preset manual review interface so that relevant personnel can review the quota application and obtain the corresponding review result; the review result includes rejecting the application or approving the application or updating the quota application, and the updated quota application represents the modified and approved quota application for the quota application.
[0027] In a second aspect, the present application provides a public cloud resource management method, which is applied to a user terminal and includes:
[0028] Upload a quota application for target public cloud resources to the management terminal, so that the management terminal can perform a legality check on the target public cloud resources by using the user permissions corresponding to the application based on a preset permission mapping list, and when the corresponding check result indicates that the check passes, determine the target quota method corresponding to the quota application based on the user permissions; the target public cloud resources represent the computing resources and services provided by a cloud service provider, and the target quota method is a preset general quota method or a personalized quota method;
[0029] Obtain the response result sent by the management terminal after responding to the quota application by using the target public cloud resources based on the target quota method.
[0030] In a third aspect, the present application provides a public cloud resource management device, which is applied to a management terminal and includes:
[0031] A quota application acquisition module, configured to acquire a quota application for target public cloud resources uploaded by a user terminal; the target public cloud resources represent the computing resources and services provided by a cloud service provider;
[0032] A verification module, configured to perform a legality check on the target public cloud resources by using the user permissions corresponding to the target user of the quota application based on a preset permission mapping list, and obtain a corresponding check result;
[0033] A quota method determination module, configured to determine the target quota method corresponding to the quota application when the check result indicates that the check passes; the target quota method is a preset general quota method or a personalized quota method;
[0034] A quota application response module, configured to respond to the quota application based on the target quota method by using the target public cloud resources, and send the response result to the user terminal.
[0035] In a fourth aspect, the present application provides a public cloud resource management device, which is applied to a user terminal and includes:
[0036] A quota application upload module, configured to upload a quota application for target public cloud resources to a management terminal, so that the management terminal performs a legality check on the target public cloud resources based on a preset permission mapping list and the user permissions corresponding to the quota application, and when the corresponding check result indicates that the check is passed, determine the target quota method corresponding to the quota application based on the user permissions; the target public cloud resources represent computing resources and services provided by a cloud service provider, and the target quota method is a preset general quota method or a personalized quota method;
[0037] A response result acquisition module, configured to acquire the response result sent by the management terminal after responding to the quota application based on the target quota method by using the target public cloud resources.
[0038] In a fifth aspect, the present application provides an electronic device, including:
[0039] A memory, configured to store a computer program;
[0040] A processor, configured to execute the computer program to implement the public cloud resource management method as described above.
[0041] In a sixth aspect, the present application provides a computer-readable storage medium, configured to store a computer program, and when the computer program is executed by a processor, the public cloud resource management method as described above is implemented.
[0042] It can be seen that this application first obtains a quota application for target public cloud resources uploaded by the user terminal; the target public cloud resources represent computing resources and services provided by a cloud service provider; then, based on a preset permission mapping list, the user permissions of the target user corresponding to the quota application are used to perform a legality check on the target public cloud resources to obtain a corresponding check result; when the check result indicates that the check is passed, the target quota method corresponding to the quota application is determined; the target quota method is a preset general quota method or a personalized quota method; then, based on the target quota method, the target public cloud resources can be used to respond to the quota application, and the response result is sent to the user terminal. In this way, this application combines user permissions and can process the current quota application through a preset general quota method or a personalized quota method, which can meet the diverse needs of quota orders, improve the compatibility of public cloud resources with complex transaction requirements, and further improve the processing efficiency and accuracy of quota applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative efforts.
[0044] Figure 1 It is a flowchart of a public cloud resource management method disclosed in this application;
[0045] Figure 2 It is a flowchart of a specific public cloud resource management method disclosed in this application;
[0046] Figure 3 It is a flowchart of another specific public cloud resource management method disclosed in this application;
[0047] Figure 4 It is a schematic diagram of the framework of a public cloud resource management system disclosed in this application;
[0048] Figure 5 It is a schematic diagram of the structure of a public cloud resource management device disclosed in this application;
[0049] Figure 6 It is a schematic diagram of the structure of another public cloud resource management device disclosed in this application;
[0050] Figure 7 It is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0051] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0052] See Figure 1 As shown, an embodiment of the present invention discloses a public cloud resource management method applied to a management terminal, including:
[0053] Step S11: Obtain a quota application for a target public cloud resource uploaded by a user terminal; the target public cloud resource represents computing resources and services provided by a cloud service provider.
[0054] In this application, the management terminal can obtain the quota application uploaded by the user terminal and apply for a quota for the computing resources and services provided by the cloud service provider; the management terminal can monitor and / or approve the quota application to achieve efficient control of the quota application.
[0055] In a specific embodiment, the obtaining of the quota application for the target public cloud resource uploaded by the user terminal may include: obtaining an operation instruction for the displayed public cloud resource through the user terminal, and generating a quota application for applying for the target public cloud resource based on the operation instruction; the displayed public cloud resource is a public cloud resource pre-displayed and associated with the target user corresponding to the user terminal; obtaining the quota application uploaded by the user terminal. Specifically, the quota application is an application initiated by the user on the user terminal; the user can issue relevant operation instructions according to the public cloud resources displayed on the user terminal; the displayed public cloud resources can be public cloud resources associated with the current target user (user account) of the user terminal; then a corresponding quota application for applying for the target public cloud resource can be generated based on the user's operation instruction. In a specific embodiment, the user can query information such as cloud service products and historical quota records on the user terminal.
[0056] Step S12: Based on a preset permission mapping list, use the user permission of the target user corresponding to the quota application to perform a legality check on the target public cloud resource, and obtain a corresponding check result.
[0057] In the embodiments of the present application, after obtaining the quota application uploaded by the client through the above steps, the legality of the quota application can be verified. Specifically, based on a pre-set permission mapping list, the user permission of the target user corresponding to the quota application is used to verify the legality of the target public cloud resources corresponding to the quota application. It can be understood that when the client uploads a quota application, the user account used in its upload operation is the target user corresponding to the quota application, and different users have different user permissions. Here, the legality of the relevant target public cloud resources is verified according to the user of the target user corresponding to the quota application, and the corresponding verification result can be obtained.
[0058] In a specific embodiment, the verifying the legality of the target public cloud resources based on a pre-set permission mapping list and using the user permission of the target user corresponding to the quota application to obtain the corresponding verification result may include: determining the user permission of the target user corresponding to the quota application and the remaining resource quota corresponding to the user permission based on the pre-set permission mapping table; verifying the legality of the target public cloud resources according to the matching relationship between the remaining resource quota and the target public cloud resources to obtain the corresponding verification result; wherein, if the matching relationship indicates that the target public cloud resources are a subset of the remaining resource quota, the verification result indicates that the verification is passed. Specifically, before a target user makes a quota application, there is a certain amount of available public cloud resources corresponding to its user permission. Here, the user permission corresponding to the target user and the remaining resource quota at the current moment corresponding to the user permission can be determined based on the pre-set permission mapping table. Then, the legality of the target public cloud resources is verified according to the matching relationship between the remaining resource quota and the target public cloud resources corresponding to the quota application. It can be understood that when the target public cloud resources are a subset of the remaining resource quota, it means that the corresponding quota application is legal.
[0059] Step S13, when the verification result indicates that the verification is passed, determine the target quota method corresponding to the quota application; the target quota method is a pre-set general quota method or a personalized quota method.
[0060] In the embodiments of the present application, after obtaining the verification result of the public cloud resources corresponding to the quota application through the above steps, if the verification result indicates that the verification is passed, that is, it indicates that the public cloud resources corresponding to the quota application can be planned, it is necessary to determine the quota method corresponding to the quota application. It can be understood that the resource quota may include a general quota method or a personalized quota method set by the user. In a specific implementation, the quota method can be directly set during the generation of the quota application.
[0061] In a specific embodiment, the method for determining the target quota corresponding to the quota application may include: judging whether there is a general quota method in the preset quota methods that matches the quota application according to the relationship between the preset quota method and the quota method corresponding to the quota application; if there is a general quota method in the preset quota methods that matches the quota application, determining the corresponding general quota method as the target quota method corresponding to the quota application; if there is no general quota method in the preset quota methods that matches the quota application, determining the personalized quota method indicating that manual review is required as the target quota method corresponding to the quota application. Specifically, the quota application may include information such as quota type and total quantity. Due to different user permissions, the quota methods available for the quota applications of corresponding users are also different; if the quota method of the quota application matches the preset general quota method, the corresponding general quota method can be directly determined as the target quota method corresponding to the quota application. Correspondingly, if none of the preset general quota methods match the quota method corresponding to the quota application, it indicates that the quota application needs to be manually reviewed, and the personalized quota method can be determined as the target quota method corresponding to the quota application for subsequent manual review and cloud storage resource planning.
[0062] Step S14: Based on the target quota method, use the target public cloud resources to respond to the quota application and send the response result to the user terminal.
[0063] In the embodiment of the present application, the legality of the quota application can be verified through the above steps, and the target quota method corresponding to the quota application can be determined after the verification passes; further, the quota application can be responded to based on the target quota method; for example, the public cloud resources can be divided based on the quota application, or the relevant review results can be feedback; and the response result corresponding to the quota application can be sent to the user terminal so that the relevant users can timely understand the public cloud resource quota situation.
[0064] In a specific embodiment, the method of using the target public cloud resources to respond to the quota application based on the target quota method and sending the response result to the user terminal may include: If the target quota method is a general quota method, directly use the target public cloud resources to respond to the quota application and send the corresponding response result to the user terminal; If the target quota method is a personalized quota method, obtain the manual review result for the quota application through a preset manual review interface; Based on the manual review result, use the target public cloud resources to respond to the quota application and send the corresponding response result to the user terminal; Among them, obtaining the manual review result for the quota application through a preset manual review interface may include: Displaying the quota application through a preset manual review interface so that relevant personnel can review the quota application and obtain the corresponding review result; The review result includes rejecting the application, approving the application, or updating the quota application, and the updated quota application represents the modified and approved quota application after modifying the quota application. Specifically, in the process of responding to the quota application, it is necessary to clarify the target quota method corresponding to the quota application. If it is a general quota method, the target public cloud resources can be directly used to respond to the quota application, and the relevant resources can be allocated to the user corresponding to the quota application; And the response result corresponding to the quota application can be sent to the user terminal for the user to view. Correspondingly, if the target quota method corresponding to the quota application is a personalized quota method, manual review is required. The quota application can be displayed on the manual review interface, and relevant staff can review the quota application and send the review result; The review result may include rejecting the application, approving the application, or updating the quota application. It should be noted that if the manual review determines that the quota application needs to be adjusted to be approved, the quota application can be directly modified to obtain the modified quota application, and the review result obtained in this way is the updated quota application. Further, the quota application can be continuously responded to according to the manual review result corresponding to the quota application, and the corresponding response result is sent to the user terminal.
[0065] It can be seen that this application combines user permissions and can process the current quota application by rotating through the preset general quota method or personalized quota method, uniformly manage and record the personalized orders of special users, facilitate the division of labor among various departments, optimize office efficiency, optimize the flexibility of public cloud resource control, and meet the diverse needs of quota orders; The data interaction between the user terminal and the management terminal improves the compatibility of public cloud resources with complex transaction requirements, further improves the processing efficiency and accuracy of quota applications, and also provides higher convenience for subsequent operation and maintenance management and upgrade deployment.
[0066] See Figure 2As shown in the figure, an embodiment of the present invention discloses a public cloud resource management method, which is applied to a user terminal and includes:
[0067] Step S21: Upload a quota application for target public cloud resources to the management terminal, so that the management terminal performs a legality check on the target public cloud resources based on a preset permission mapping list and the user permissions corresponding to the quota application, and when the corresponding check result indicates that the check is passed, determine the target quota method corresponding to the quota application based on the user permissions; the target public cloud resources represent the computing resources and services provided by a cloud service provider, and the target quota method is a preset general quota method or a personalized quota method.
[0068] In an embodiment of the present application, a user can initiate a quota application through the user terminal, and the user terminal uploads the quota application for the target public cloud resources to the management terminal; among them, the management terminal can perform a legality check on the target public cloud resources based on a preset permission mapping list and relevant user permissions; in a specific embodiment, the management terminal can set a general quota method or approve personalized quotas; that is, the management terminal can determine the target quota method of the quota application according to the check result to respond to the quota application. It can be understood that in a specific embodiment, the user terminal can set multiple interactive functions to implement functions such as resource control, application, and query, facilitating users to query public cloud resources, query historical quota operations, and issue quota applications.
[0069] Step S22: Obtain the response result sent by the management terminal after responding to the quota application by using the target public cloud resources based on the target quota method.
[0070] Furthermore, the management terminal can respond to the quota application by using the target public cloud resources based on the target quota method to generate a corresponding response result; and the user terminal can obtain the response result from the management terminal for relevant users to view. In some embodiments, the management terminal can separately send a dedicated personalized quota application interface to the user terminal for users to apply for resources therein. In this way, the obtained quota application can be directly reviewed manually, and the response result of the quota application can be sent to the user terminal.
[0071] It can be seen that the present application combines user permissions and can process the current quota application by rotating through a preset general quota method or a personalized quota method, which can meet the diverse needs of quota orders, improve the compatibility of public cloud resources with complex transaction requirements, and further improve the processing efficiency and accuracy of quota applications.
[0072] As Figure 3 shown, an embodiment of the present application discloses a public cloud resource management method, which introduces the process of resource control in combination with a specific system framework diagram, and specifically includes:
[0073] In this embodiment, the system framework involved is as Figure 4 shown. The user interface layer of the user side may include a general quota leasing module, a personalized quota application module, and a quota usage viewing module; the administrator interface layer of the management side includes an administrator privilege setting module, a general quota adjustment module, and a personalized quota approval module; the data storage layer of the system background includes a user information database, a quota setting database, and a user application record database; and, the user side and the management side can communicate through the message email confirmation layer.
[0074] It can be understood that before the public cloud resource control, several interfaces need to be created to implement related functions; specifically, an input general resource control page can be created, and the general resource control page can be rendered according to the at least one product information; at least one management module for maintaining and managing the input data of the general quota can be constructed in the input general resource control page; at least one information for querying the general quota data record of the cloud service product according to the product line or quota ID (Identification) can include quota type, region (geographical area representing the data center cluster of the cloud service provider), billing method, attribute type / attribute name / unit, product quantity, enabled status. Further, a product information editing module, a product deactivation module, and a product operation history viewing module can be constructed in the general resource control page of the cloud product, specifically including: creating a product information editing module, and constructing an information management module for the cloud service product in the product information editing module; creating a product deactivation module, and constructing a usage stop module for the cloud service product in the product information addition module; creating a product operation history viewing module, and constructing a historical data management module for the cloud service product in the product operation history viewing module. Correspondingly, the product information editing module of the general quota product can include selecting quota type, selecting product line, selecting product type, selecting region, selecting billing method, and selecting quantity. The general quota product operation history module can include relevant information such as operator, operation time, modified quantity, and product status.
[0075] In a specific embodiment, on the user side, at least one detail information of the personalized quota data of the cloud service product can be queried according to the user name, quota type, etc.; and a personalized resource control page can be created and entered, and the personalized resource control page can be rendered according to at least one product information; at least one management module for maintaining and managing the personalized quota input data can be constructed in the personalized resource control page entered; correspondingly, at least one information of the personalized quota data record of the cloud service product can be queried according to the user ID or quota ID, including quota type, region, charging method, attribute type / attribute name / unit, total number of products, number of products already used, enabled status. In a specific embodiment, at least one management module for maintaining and managing the product can be constructed in the personalized resource control page; wherein, a product information editing module and a product information deletion module can be constructed in the cloud product personalized resource control page, which can specifically include: creating a product information editing module, and constructing an information editing module for the cloud service product in the product information editing module; creating a product information deletion module, and constructing an information deletion module for the cloud service product in the product information deletion module. Further, the product information editing module of the personalized quota product can include selecting the quota type, selecting the product line, selecting the product type, selecting the region, selecting the charging method, and selecting the quantity.
[0076] In a specific embodiment, after receiving an email or text message, the user clicks on the link information, jumps to the console page, and obtains the order information corresponding to the resources through the personalized quota module confirmation email information API (Application Programming Interface), including user ID, quota ID, quota type, product line / product type, region, charging method, attribute type / attribute name / unit, total quantity, application time, approval result, approval time, applicant. Through the interface data interaction with the console, it is used to flexibly configure the page jump management. The user side can set the basic information, billing strategy, and instance situation of the quota order in the public cloud system. After selecting email notification and the user confirms, the system generates unified quota application data. The API can be called to obtain relevant data for rendering so that the administrator can view the order information.
[0077] In a specific embodiment, an enterprise customer A expands its business and requires more cloud storage space. User A can log in to the company's cloud service console, enter the personalized quota module, and initiate a personalized quota application. On the application page, User A fills in the following information: user information (the company name, contact person's name and contact information of enterprise customer A); quota type (cloud storage space); product line / product type (standard cloud storage service); the server node located in a certain region can be selected for region; billing method (billing by usage); attribute type / attribute name / unit (storage capacity, unit is Gigabyte, abbreviated as GB); applied quota quantity (1000GB); application time (specific time). After submitting the application, the user side will immediately send email and SMS notifications to relevant personnel on the management side, informing that there is a new user quota application. The email content includes the basic information of User A and the application details, and the SMS briefly reminds that there is a new quota application. Further, the administrator receives the notification and views the application; after receiving the email and SMS notifications, the management side personnel can click on the link in the email to jump to the quota approval page on the management side. The management side system can render the application information of User A onto the page by obtaining the user quota application information API, and the administrator can clearly see all the application content submitted by User A. On the quota approval page, the system can obtain the order information corresponding to the corresponding quota application resources through the API interface, including the detailed information of User A, quota type, product line, region, billing method, attribute type, etc. The administrator can comprehensively understand the application background and requirements of User A. It can be understood that when the administrator approves, the system first queries whether User A has remaining quota under the current conditions. Suppose the query result shows that there is enough remaining quota in the package type where User A is located. At this time, the approved quantity can be defaulted to 1000GB applied by User A, and the administrator can also manually modify the quota quantity according to the actual situation. After the administrator clicks the "Pass" button, the system will verify whether the approved quantity is a positive integer. Since the approved quantity is 1000GB, which is a positive integer, the system prompts "The user quota application is approved", and the approval result becomes "Approved". Subsequently, the management side can synchronize the quota data to the personalized quota page, and at the same time send SMS, email and in-site message notifications to User A that the application has passed. The SMS content informs User A that the quota application has been approved, the email details the approved quota quantity, effective time and other information, and the in-site message also shows the message of approval when User A logs in to the console next time. After that, when User A receives the email or SMS notification, they can click on the link information to jump to the console page. Through the personalized quota module to confirm the email information API interface, obtain the order information corresponding to the resource, including user ID, quota ID, quota type, product line, region, billing method, attribute type, total quantity (approved 1000GB), application time, approval result (Approved), approval time, applicant, etc.User A can confirm that their quota application has been successfully processed and clearly understand the new quota details. Understandably, in subsequent work, the administrator can also log in to the quota approval management page and obtain the corresponding data for rendering by calling the API. The administrator can view the quota order information of User A and all other users, which is convenient for management and statistical analysis, such as viewing the quota application trend over a period of time and the quota usage of different users, etc., in order to better plan and manage cloud storage resources.
[0078] It should be noted that in the specific implementation process, regular compliance audits can be carried out on the operation, data processing, etc. of the cloud resource control system, so that the resource control process meets the regulatory requirements of relevant regions and industries, ensuring the security and reliability of resource control. And periodically monitor the system status of the management end and the user end to match high-concurrency complex scenarios, ensure the stability of information interaction, and ensure the accuracy and timeliness of data.
[0079] Thus, it can be seen that the personalized resource control function in this application can target users with special permissions, and through the functions of personalized quota application and approval, uniformly manage and record the personalized orders of special users, optimize the vacancy of the personalized quota function, facilitate future inquiries and management by staff, improve work efficiency, and have the function of recording the operators and time of the operation history to ensure subsequent security review and other issues; it can meet the transaction requirements of users' diversification, order type diversification, and complex aggregation calculation scenarios, and at the same time make the system have good compatibility, portability, scalability, and universality.
[0080] As Figure 5 shown, an embodiment of this application discloses a public cloud resource management device, which is applied to the management end and includes:
[0081] A quota application acquisition module 11, configured to acquire a quota application for a target public cloud resource uploaded by a user end; the target public cloud resource represents computing resources and services provided by a cloud service provider;
[0082] A verification module 12, configured to perform a legality verification on the target public cloud resource by using the user permission of the target user corresponding to the quota application based on a preset permission mapping list, and obtain a corresponding verification result;
[0083] A quota method determination module 13, configured to determine a target quota method corresponding to the quota application when the verification result indicates that the verification is passed; the target quota method is a preset general quota method or a personalized quota method;
[0084] The quota application response module 14 is configured to respond to the quota application by using the target public cloud resources based on the target quota method, and send the response result to the user terminal.
[0085] It can be seen that, in combination with user permissions, the present application can process the current quota application by rotating through a preset general quota method or a personalized quota method, which can meet the diverse needs of quota orders, improve the compatibility of public cloud resources with complex transaction requirements, and further improve the processing efficiency and accuracy of quota applications.
[0086] In a specific embodiment, the quota application acquisition module 11 may include:
[0087] A quota application generation unit, configured to obtain an operation instruction for the displayed public cloud resources through the user terminal, and generate a quota application for applying for target public cloud resources based on the operation instruction; the displayed public cloud resources are the public cloud resources pre-displayed and associated with the target user corresponding to the user terminal;
[0088] A quota application acquisition unit, configured to acquire the quota application uploaded by the user terminal.
[0089] In a specific embodiment, the verification module 12 may include:
[0090] A remaining resource quota determination unit, configured to determine the user permission of the target user corresponding to the quota application and the remaining resource quota corresponding to the user permission based on a preset permission mapping table;
[0091] A verification unit, configured to perform a legality verification on the target public cloud resources according to the matching relationship between the remaining resource quota and the target public cloud resources, and obtain a corresponding verification result;
[0092] Wherein, if the matching relationship indicates that the target public cloud resources are a subset of the remaining resource quota, the verification result indicates that the verification is passed.
[0093] In a specific embodiment, the quota method determination module 13 may include:
[0094] A quota method judgment unit, configured to judge whether there is a general quota method in the preset quota methods that matches the quota application according to the relationship between the preset quota methods and the quota method corresponding to the quota application;
[0095] A first quota method determination unit, configured to, when there is a general quota method in the preset quota methods that matches the quota application, determine the corresponding general quota method as the target quota method corresponding to the quota application;
[0096] A second quota method determination unit, configured to, when there is no general quota method in the preset quota methods that matches the quota application, determine a personalized quota method indicating the need for manual review as the target quota method corresponding to the quota application.
[0097] In another specific embodiment, the quota application response module 14 may include:
[0098] A first response unit, configured to, when the target quota method is a general quota method, directly respond to the quota application by using the target public cloud resources, and send the corresponding response result to the user terminal;
[0099] An audit sub-module, configured to, when the target quota method is a personalized quota method, obtain the manual audit result for the quota application through a preset manual audit interface;
[0100] A second response unit, configured to, based on the manual audit result, respond to the quota application by using the target public cloud resources, and send the corresponding response result to the user terminal;
[0101] Wherein, the audit sub-module specifically includes:
[0102] An audit unit, configured to display the quota application through a preset manual audit interface so that relevant personnel can audit the quota application and obtain the corresponding audit result; the audit result includes rejecting the application or approving the application or updating the quota application, and the updated quota application represents a modified and approved quota application for the quota application.
[0103] As Figure 6 shown, an embodiment of the present application discloses a public cloud resource management device, which is applied to a user terminal and includes:
[0104] A quota application upload module 21, configured to upload a quota application for target public cloud resources to a management terminal, so that the management terminal performs a legality check on the target public cloud resources by using the user permissions corresponding to the quota application based on a preset permission mapping list, and when the corresponding check result indicates that the check passes, determine the target quota method corresponding to the quota application based on the user permissions; the target public cloud resources represent computing resources and services provided by a cloud service provider, and the target quota method is a preset general quota method or a personalized quota method;
[0105] A response result acquisition module 22, configured to acquire the response result sent by the management terminal after responding to the quota application by using the target public cloud resources based on the target quota method.
[0106] It can be seen that in this application, when the user side initiates a quota application, the management side can combine the user permissions and process the current quota application by means of a preset general quota method or a personalized quota method; this can meet the diverse needs of quota orders, improve the compatibility of public cloud resources with complex transaction requirements, and further improve the processing efficiency and accuracy of quota applications.
[0107] Furthermore, the embodiment of this application also discloses an electronic device. Figure 7 It is a structural diagram of an electronic device 30 shown according to an exemplary embodiment, and the content in the figure should not be considered as any limitation to the scope of use of this application.
[0108] Figure 7 It is a schematic structural diagram of an electronic device 30 provided by the embodiment of this application. The electronic device 30 may specifically include: at least one processor 31, at least one memory 32, a power supply 33, a communication interface 34, an input / output interface 35, and a communication bus 36. Among them, the memory 32 is used to store computer programs, and the computer programs are loaded and executed by the processor 31 to implement the relevant steps in the public cloud resource management method disclosed in any of the foregoing embodiments. In addition, the electronic device 30 in this embodiment may specifically be an electronic computer.
[0109] In this embodiment, the power supply 33 is used to provide working voltages for the various hardware devices on the electronic device 30; the communication interface 34 can create a data transmission channel between the electronic device 30 and external devices, and the communication protocol it follows is any communication protocol applicable to the technical solution of this application, and no specific limitation is imposed on it here; the input / output interface 35 is used to obtain external input data or output data to the outside, and its specific interface type can be selected according to specific application needs, and no specific limitation is made here.
[0110] In addition, as a carrier for resource storage, the memory 32 can be a read-only memory, a random access memory, a disk, or an optical disc, etc., and the resources stored thereon may include an operating system 321, a computer program 322, etc., and the storage method can be temporary storage or permanent storage.
[0111] Among them, the operating system 321 is used to manage and control the various hardware devices and the computer program 322 on the electronic device 30, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the public cloud resource management method executed by the electronic device 30 disclosed in any of the foregoing embodiments, the computer program 322 may further include computer programs that can be used to complete other specific tasks.
[0112] Further, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the publicly disclosed public cloud resource management method. For the specific steps of this method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details will not be elaborated herein.
[0113] In the present specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference may be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference may be made to the description in the method section.
[0114] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0115] The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0116] Finally, it should also be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.
[0117] The above has introduced the technical solution provided by this application in detail. Specific examples are used in this article to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to this application.
Claims
1. A public cloud resource management method, characterized in that: Applied to the management side, including: Obtaining a quota application for a target public cloud resource uploaded by a user; the target public cloud resource represents computing resources and services provided by a cloud service provider; Based on the preset permission mapping list, the target public cloud resource is verified for legitimacy using the user permissions of the target user corresponding to the quota application to obtain a corresponding verification result; When the verification result indicates that the verification has passed, a target quota mode corresponding to the quota application is determined; the target quota mode is a pre-set universal quota mode or a personalized quota mode; Based on the target quota method, the target public cloud resources are used to respond to the quota application, and the response result is sent to the user end.
2. The public cloud resource management method according to claim 1, characterized in that: The obtaining of the quota application for the target public cloud resources uploaded by the user terminal includes: Obtaining, through the user terminal, an operation instruction for a displayed public cloud resource, and generating a quota application for applying for a target public cloud resource based on the operation instruction; the displayed public cloud resource is a pre-displayed public cloud resource associated with a target user corresponding to the user terminal; Obtain the quota application uploaded by the user.
3. The public cloud resource management method according to claim 1, characterized in that: The method of performing a validity check on the target public cloud resource based on the preset permission mapping list and utilizing the user permission of the target user corresponding to the quota application to obtain a corresponding verification result includes: Determine the user rights of the target user corresponding to the quota application and the remaining resource quota corresponding to the user rights based on a preset rights mapping table; According to the matching relationship between the remaining resource quota and the target public cloud resource, the target public cloud resource is subjected to a legality check to obtain a corresponding check result; If the matching relationship indicates that the target public cloud resource is a subset of the remaining resource quota, the verification result indicates that the verification is passed.
4. The public cloud resource management method according to any one of claims 1 to 3, characterized in that: The method of determining the target quota corresponding to the quota application includes: According to the relationship between the preset quota mode and the quota mode corresponding to the quota application, it is determined whether there is a universal quota mode matching the quota application in the preset quota mode; If there is a universal quota method matching the quota application in the preset quota methods, the corresponding universal quota method is determined as the target quota method corresponding to the quota application; If there is no universal quota method matching the quota application in the preset quota methods, a personalized quota method indicating that manual review is required is determined as the target quota method corresponding to the quota application.
5. The public cloud resource management method according to claim 4, characterized in that: The method of responding to the quota application based on the target quota method using the target public cloud resources and sending the response result to the user terminal includes: If the target quota mode is a general quota mode, directly using the target public cloud resources to respond to the quota application, and sending the corresponding response result to the user end; If the target quota method is a personalized quota method, a manual review result for the quota application is obtained through a preset manual review interface; Based on the manual review result, respond to the quota application using the target public cloud resources, and send the corresponding response result to the user end; Wherein, obtaining the manual review result for the quota application through a preset manual review interface includes: The quota application is displayed through a preset manual review interface so that relevant personnel can review the quota application and obtain corresponding review results; the review results include rejection of the application or approval of the application or update of the quota application, and the update of the quota application represents a modified quota application that is modified and approved by the quota application.
6. A public cloud resource management method, characterized in that: Applied to the user side, including: Upload a quota application for a target public cloud resource to the management end, so that the management end can perform a legitimacy check on the target public cloud resource based on a preset permission mapping list and use the user rights of the user corresponding to the quota application, and determine a target quota mode corresponding to the quota application based on the user rights when the corresponding verification result indicates that the verification has passed; the target public cloud resource represents the computing resources and services provided by the cloud service provider, and the target quota mode is a pre-set general quota mode or a personalized quota mode; A response result sent by the management end after responding to the quota application based on the target quota method and using the target public cloud resources is obtained.
7. A public cloud resource management device, characterized in that: Applied to the management side, including: A quota application acquisition module, used to acquire a quota application for a target public cloud resource uploaded by a user; the target public cloud resource represents computing resources and services provided by a cloud service provider; A verification module is used to verify the legitimacy of the target public cloud resources based on a preset permission mapping list and using the user permissions of the target user corresponding to the quota application to obtain a corresponding verification result; A quota mode determination module, used to determine a target quota mode corresponding to the quota application when the verification result indicates that the verification has passed; the target quota mode is a pre-set universal quota mode or a personalized quota mode; The quota application response module is used to respond to the quota application based on the target quota method and using the target public cloud resources, and send the response result to the user end.
8. A public cloud resource management device, characterized in that: Applied to the user side, including: A quota application uploading module is used to upload a quota application for a target public cloud resource to a management terminal, so that the management terminal can perform a legitimacy check on the target public cloud resource based on a preset permission mapping list and using the user rights of the user corresponding to the quota application, and when the corresponding verification result indicates that the verification has passed, determine a target quota mode corresponding to the quota application based on the user rights; the target public cloud resource represents the computing resources and services provided by the cloud service provider, and the target quota mode is a pre-set general quota mode or a personalized quota mode; The response result acquisition module is used to obtain the response result issued by the management end after responding to the quota application based on the target quota method and using the target public cloud resources.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the public cloud resource management method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the public cloud resource management method according to any one of claims 1 to 6.