Storage resource management method and system

By introducing quota definition, quota control, synchronization and monitoring modules into the storage system, unified management of resource quotas for object storage and file storage is achieved, solving the problem of inability to efficiently manage storage resources in the existing technology, and improving resource utilization efficiency.

CN119576567APending Publication Date: 2025-03-07BEIJING E HUALU INFORMATION TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411745408.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In existing storage systems, the quota management of object storage and file storage is carried out independently, and efficient and unified management of storage resources cannot be achieved.

Method used

Provide a storage resource management system and method, including quota definition module, quota control module, synchronization module and quota monitoring module. Through the coordinated work of these modules, unified management of resource quotas for object storage systems and file storage systems is realized.

Benefits of technology

It realizes unified management of user object storage and file storage quotas, avoids waste of storage resources, and improves the utilization efficiency of storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576567A_ABST
    Figure CN119576567A_ABST
Patent Text Reader

Abstract

The invention provides a storage resource management method and system, and the system comprises a quota definition module which is used for determining the resource quota and management rules of each storage system according to the input of a user; the quota control module is used for receiving the data operation request and calling a storage system interface matched with the type of the data operation request to access the storage system; the synchronization module is used for calling the storage system interface to access the corresponding storage system so as to obtain the resource quota use condition of the storage system and reporting the resource quota use condition to the quota monitoring module; and the quota monitoring module is used for outputting resource quota management prompt information according to the resource quota use conditions and management rules of the object storage system and the file storage system. According to the storage resource management system provided by the invention, the quotas of object storage and file storage of one user can be uniformly managed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a storage resource management method and system. Background Art

[0002] With the continuous development of information technology, storage systems play a vital role in data management for enterprises and individuals. At present, object storage and file storage are often used simultaneously in storage systems. Object storage such as Ceph (a distributed file system) has the advantages of strong scalability and high reliability, and is suitable for large-scale data storage; file storage such as XFS (a high-performance log storage system) is convenient in traditional file operations.

[0003] However, in existing storage systems, object storage and file storage are managed independently by quota. Users need to manually adjust the proportion of object storage and file storage in the total quota based on the total storage resource quota and actual usage, which makes it impossible to achieve efficient and unified management of storage resources. Summary of the invention

[0004] The present application provides a storage resource management method and system, which can solve the problem in the prior art that efficient and unified management of storage resources cannot be achieved.

[0005] According to a first aspect of the present application, a storage resource management system is provided, the system comprising:

[0006] A quota definition module is used to determine the resource quota and management rules of each storage system according to user input; wherein the storage system includes: an object storage system and a file storage system;

[0007] A quota control module, configured to receive a data operation request and call a storage system interface matching the data operation request type to access the storage system;

[0008] A synchronization module is used to call a storage system interface to access a corresponding storage system to obtain resource quota usage of the storage system, and report the resource quota usage to a quota monitoring module;

[0009] The quota monitoring module is used to output resource quota management prompt information according to the resource quota usage of the object storage system and the file storage system and the management rules.

[0010] In some embodiments, the system further comprises:

[0011] The login module is used to receive login information input by the user, call the object storage system interface to send the login information to the object storage system for user login; or call the file storage system interface to send the login information to the file storage system for user login.

[0012] In some implementations, the quota monitoring module includes:

[0013] A summing submodule is used to calculate the quota usage according to the resource quota usage of the object storage system and the file storage system;

[0014] When the quota usage reaches a preset proportion of the total quota, outputting a first prompt message, wherein the first prompt message is used to notify the user to reduce the amount of data uploaded or apply to the administrator for an increase in resource quota;

[0015] When the quota usage reaches the total quota, a second prompt message is output and the user is restricted from uploading data to the object storage system and the file storage system, wherein the second prompt message is used to notify the user that the quota has reached the upper limit.

[0016] In some implementations, the synchronization module is further used to: report the resource quota usage of the object storage system to the file storage system; and report the resource quota usage of the file storage system to the object storage system.

[0017] In some implementations, the quota definition module includes:

[0018] The display submodule is used to display the resource quota and management rule setting interface through a graphical interface;

[0019] The quota definition submodule is used to determine the resource quota of each storage system according to the first input of the user, and to determine the resource quota management rules according to the second input of the user.

[0020] According to a second aspect of the present application, a storage resource management method is provided, the method comprising:

[0021] Determine resource quotas and management rules for each storage system according to user input; wherein the storage system includes: an object storage system and a file storage system;

[0022] Receive a data operation request, and call a storage system interface matching the data operation request type to access the storage system;

[0023] Call the storage system interface to access the corresponding storage system to obtain the resource quota usage of the storage system;

[0024] According to the resource quota usage of the object storage system and the file storage system and the management rules, resource quota management prompt information is output.

[0025] In some embodiments, the method further comprises:

[0026] Receive login information input by the user, and call the object storage system interface to send the login information to the object storage system for user login;

[0027] The file storage system interface is called to send the login information to the file storage system for user login.

[0028] In some implementations, the step of outputting resource quota management prompt information based on resource quota usage of the object storage system and the file storage system and the management rules includes:

[0029] Calculate the quota usage based on the resource quota usage of the object storage system and the file storage system;

[0030] When the quota usage reaches a preset proportion of the total quota, outputting a first prompt message, wherein the first prompt message is used to notify the user to reduce the amount of data uploaded or apply to the administrator for an increase in resource quota;

[0031] When the quota usage reaches the total quota, a second prompt message is output and the user is restricted from uploading data to the object storage system and the file storage system, wherein the second prompt message is used to notify the user that the quota has reached the upper limit.

[0032] In some embodiments, the method further comprises:

[0033] Reporting resource quota usage of the object storage system to the file storage system;

[0034] Report the resource quota usage of the file storage system to the object storage system.

[0035] In some implementations, the step of determining resource quotas and management rules for each storage system according to user input includes:

[0036] Display resource quota and management rule setting interface through graphical interface;

[0037] The resource quota of each storage system is determined according to the first input of the user, and the resource quota management rule is determined according to the second input of the user.

[0038] According to the third aspect of the present application, there is provided an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store computer programs; and the processor is used to implement any one of the above-mentioned storage resource management methods when executing the programs stored in the memory.

[0039] According to a fourth aspect of the present application, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any one of the above-mentioned storage resource management methods is implemented.

[0040] In summary, the storage resource management system and method provided by the present application have at least the following beneficial effects:

[0041] The storage resource management system of the present application includes: a quota definition module, which is used to determine the resource quota and management rules of each storage system according to user input; a quota control module, which is used to receive data operation requests and call the storage system interface that matches the data operation request type to access the storage system; a synchronization module, which is used to call the storage system interface to access the corresponding storage system to obtain the resource quota usage of the storage system, and report the resource quota usage to the quota monitoring module; the quota monitoring module is used to output resource quota management prompt information based on the resource quota usage of the object storage system and the file storage system and the management rules. The storage resource management method provided by the present application, on the first hand, can uniformly manage the quotas of a user's object storage and file storage, without the need to manage the quotas of the two storage systems separately, which is convenient for managing the user's storage resources; on the second hand, by uniformly managing the quotas of object storage and file storage, it is possible to avoid waste of storage resources and improve the utilization efficiency of storage resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0043] Figure 1 is a structural block diagram of a storage resource management system according to an embodiment of the present application;

[0044] Figure 2 is a structural block diagram of another storage resource management system according to an embodiment of the present application;

[0045] Figure 3is a flow chart showing a storage resource management method according to an embodiment of the present application;

[0046] Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the above and other features and advantages of the present application more clear, the present application is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.

[0048] In the following description, many specific details are set forth to provide a thorough understanding of the present application. However, it is apparent to those skilled in the art that specific details need not be adopted to practice the present application. In other cases, well-known steps or operations are not described in detail to avoid blurring the present application.

[0049] The storage resource management solution provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0050] As attached Figure 1 As shown, the storage resource management system provided in the embodiment of the present application includes: a quota definition module 101, a quota control module 102, a synchronization module 103, and a quota monitoring module 104.

[0051] The quota definition module 101 is used to determine the resource quota and management rules of each storage system according to user input; wherein the storage system includes: an object storage system and a file storage system.

[0052] File storage is generally in the form of directories and files. Data is stored and accessed in the form of files and organized according to the directory structure. File storage can perform certain advanced management of data, such as access permission control at the file level. File storage has a wide range of uses because it can achieve quick sharing.

[0053] The general form of object storage is UUID (Universally Unique Identifier), which is a package of data and metadata stored as a whole object in a large pool. For object access, you only need to find its UUID to find the target data, but the object is accessed as a whole. From the original design, object storage can be easily expanded to a large scale, so it is suitable for the storage of large and fast-growing data such as videos and images.

[0054] The quota control module 102 is used to receive a data operation request and call a storage system interface matching the data operation request type to access the storage system.

[0055] The storage resource management system is pre-set with an object storage system interface and a file storage system interface, which can be set in the storage adapter module. The object storage system interface is adapted to the object storage system, and the file storage system interface is adapted to the file storage system. The synchronization module obtains information from the object storage system and the file storage system by calling the corresponding interface.

[0056] The synchronization module 103 is used to call the storage system interface to access the corresponding storage system to obtain the resource quota usage of the storage system, and report the resource quota usage to the quota monitoring module 104.

[0057] It should be noted that, in addition to obtaining the resource quota usage of the storage system, the synchronization module 103 can also obtain user status information, resource quota information and other information in the storage system.

[0058] The quota monitoring module 104 is used to output resource quota management prompt information according to the resource quota usage and management rules of the object storage system and the file storage system.

[0059] The management rules can be flexibly set by those skilled in the art, for example, setting a preset percentage of the total quota, and setting to output a first prompt message when the percentage is reached; outputting a second prompt message when the total quota is reached, etc.

[0060] The quota monitoring module can include the following sub-function modules:

[0061] The summation submodule is used to calculate the quota usage according to the resource quota usage of the object storage system and the file storage system; when the quota usage reaches the preset proportion of the total quota, a first prompt message is output; when the quota usage reaches the total quota, a second prompt message is output and the user is restricted from uploading data to the object storage system and the file storage system, wherein the first prompt message is used to notify the user to reduce the amount of data uploaded or apply to the administrator for an increase in the resource quota; the second prompt message is used to notify the user that the quota has reached the upper limit.

[0062] The quota monitoring module obtains the resource quota usage of the object storage system and the file storage system in real time, and calculates the total quota usage of the two storage systems. The first prompt information can be a combination of an alarm message and a notification to the user to reduce the amount of data uploaded or to apply to the administrator for an increase in resource quotas. The second prompt information can also be a combination of an alarm message and a notification to the user that the quota has reached the upper limit. The specific form and content of the first prompt information and the second prompt information can be flexibly set by those skilled in the art, and no specific restrictions are imposed on this in the embodiments of the present application. The preset proportion can be set to 90%, 80% or 85%, etc. The ratio of the sum of the quota usage of the two storage systems to the preset total resource quota is the proportion of the quota usage reaching the total quota.

[0063] This quota monitoring solution makes it easy to monitor the usage of storage quotas and issue warnings when the preset ratio is reached. After the total quota is exceeded, the user's upload function in object storage and file storage is disabled at the same time. Timely output of alarms allows users to expand storage quotas as needed, which can effectively avoid affecting the user's upload needs.

[0064] In some implementations, the storage resource management system provided by the embodiments of the present application further includes:

[0065] The login module is used to receive login information input by the user, call the object storage system interface to send the login information to the object storage system for user login; or call the file storage system interface to send the login information to the file storage system for user login.

[0066] In this preferred implementation, a unified user authentication and authorization mechanism is established in the storage resource management system, and a single sign-on technology is used, so that users only need to log in once to access object storage and file storage, which is convenient for user operation.

[0067] In some implementations, the synchronization module is further used to: report resource quota usage of the object storage system to the file storage system; and report resource quota usage of the file storage system to the object storage system.

[0068] In this implementation, resource quota usage is shared among storage systems, which facilitates more flexible allocation of resource quotas among storage systems.

[0069] In some embodiments, the quota definition module includes: a display submodule, which is used to display the resource quota and management rule setting interface through a graphical interface; a quota definition submodule, which is used to determine the resource quota of each storage system based on the user's first input, and determine the resource quota management rules based on the user's second input.

[0070] The first input may include, but is not limited to: setting of the total quota, setting of the resource quota of the file storage system, setting of the resource quota of the object storage system, etc. The second input for setting of the management rule may include: setting of the resource quota sharing rule between the storage systems, setting of the prompt information output when the total quota is exceeded or about to be exceeded, etc.

[0071] The storage resource management system provided by the embodiment of the present application includes: a quota definition module, which is used to determine the resource quota and management rules of each storage system according to user input; a quota control module, which is used to receive data operation requests and call the storage system interface that matches the data operation request type to access the storage system; a synchronization module, which is used to call the storage system interface to access the corresponding storage system to obtain the resource quota usage of the storage system, and report the resource quota usage to the quota monitoring module; a quota monitoring module, which is used to output resource quota management prompt information based on the resource quota usage of the object storage system and the file storage system and the management rules. On the one hand, the quotas of a user's object storage and file storage can be managed uniformly, without the need to manage the quotas of the two storage systems separately, which facilitates the management of the user's storage resources; on the other hand, by uniformly managing the quotas of object storage and file storage, the waste of storage resources can be avoided and the utilization efficiency of storage resources can be improved.

[0072] Combine the following Figure 2 The structural block diagram of another storage resource management system shown in the figure illustrates the storage resource management solution provided in the embodiment of the present application.

[0073] In this specific example, a Ceph object storage system and an XFS file storage system are used in a storage system of an enterprise. Figure 2 The management system in ) can realize unified management of quotas for the two storage methods.

[0074] like Figure 2 As shown, the storage resource management system includes:

[0075] User and quota management module: It is equivalent to Figure 1 The quota definition module in is used to manage users, set and manage storage quotas for users or groups and available storage systems. In the actual implementation process, a user interface can be set, and the graphical interface included in the user interface can be used by users to set and manage quotas.

[0076] Storage interface adapter module: It is equivalent to Figure 1 The quota control module in is used to adapt to different storage system interfaces, including object storage interface and file storage interface.

[0077] Synchronous module: It is equivalent to Figure 1 The synchronization module in is used to synchronize the quota usage of object storage and file storage.

[0078] Quota monitoring module: It is equivalent to Figure 1 The quota monitoring module in is used to monitor the usage of storage quotas and issue a warning when the preset threshold is reached; after exceeding the quota, the user's upload function in object storage and file storage is disabled at the same time.

[0079] The specific implementation steps are as follows:

[0080] 1. Install and configure the storage resource management system.

[0081] 2. Establish a unified user authentication and authorization mechanism and adopt single sign-on technology so that users can access object storage and file storage by logging in only once.

[0082] 3. Set the user's storage quota. For example, the total storage capacity of each user is 100 GB. Users can upload files to object storage and file storage at the same time.

[0083] 4. Real-time monitoring of storage system usage. When a user's total storage usage exceeds 90GB (for example, 60GB for object storage and 30GB for file storage), a warning notification will be sent to the user, suggesting that the user reduce file uploads or apply to the administrator for an increase in quota. When a user's total storage usage exceeds 100GB (for example, 60GB for object storage and 40GB for file storage), an alarm notification will be sent to the user, warning that the quota has reached the upper limit and restricting its write operations.

[0084] The storage resource management system provided in this specific example can, on the one hand, improve the utilization efficiency of storage resources: by uniformly managing the quotas of object storage and file storage, it can avoid waste of storage resources and improve the utilization efficiency of storage resources; secondly, it is convenient for users to manage storage resources: users can manage the quotas of object storage and file storage through a unified interface, without having to manage the quotas of the two storage systems separately, which facilitates the user's storage resource management; thirdly, it can enhance the stability and reliability of the storage system: through reasonable quota management, it can avoid performance degradation or failure of the storage system due to excessive use of storage resources, thereby enhancing the stability and reliability of the storage system; fourthly, it is convenient for administrators to manage storage resources: administrators can conveniently monitor and manage the usage of storage resources in the storage system through a unified quota management system, thereby improving the efficiency of storage resource management.

[0085] As attached Figure 3 As shown, the storage resource management method provided in the embodiment of the present application includes the following steps:

[0086] Step 301: Determine resource quotas and management rules for each storage system according to user input.

[0087] The storage system includes object storage system and file storage system.

[0088] The file transfer method provided in the embodiment of the present application can be applied to an electronic device, on which a computer program related to storage resource management is stored, and a processor of the electronic device executes the computer program to perform storage resource management.

[0089] An optional method for determining resource quotas and management rules for each storage system according to user input includes: displaying a resource quota and management rule setting interface through a graphical interface; determining the resource quota of each storage system according to the user's first input, and determining the resource quota management rules according to the user's second input.

[0090] Step 302: Receive a data operation request, and call a storage system interface matching the data operation request type to access the storage system.

[0091] Use the storage interface adapter module to adapt to different storage systems, and manage and obtain user status, quotas, usage and other information of different storage systems through the interface.

[0092] Step 303: calling a storage system interface to access a corresponding storage system to obtain resource quota usage of the storage system.

[0093] In an optional embodiment, the storage resource management method may further include the following steps: reporting the resource quota usage of the object storage system to the file storage system; reporting the resource quota usage of the file storage system to the object storage system.

[0094] Step 304: Output resource quota management prompt information according to the resource quota usage and management rules of the object storage system and the file storage system.

[0095] An exemplary method of outputting resource quota management prompt information based on resource quota usage and management rules of the object storage system and the file storage system may be as follows:

[0096] Calculate the quota usage based on the resource quota usage of the object storage system and the file storage system;

[0097] When the quota usage reaches a preset percentage of the total quota, a first prompt message is output; when the quota usage reaches the total quota, a second prompt message is output and the user is restricted from uploading data to the object storage system and the file storage system.

[0098] The first prompt message is used to notify the user to reduce the amount of data uploaded or apply to the administrator for an increase in resource quota; the second prompt message is used to notify the user that the quota has reached the upper limit.

[0099] In some optional embodiments, the storage resource management method provided in the embodiments of the present application further includes:

[0100] Receive the login information input by the user, call the object storage system interface to send the login information to the object storage system for user login; call the file storage system interface to send the login information to the file storage system for user login.

[0101] The storage resource management method of the present application, on the one hand, can uniformly manage the quotas of a user's object storage and file storage, without the need to manage the quotas of two storage systems separately, thereby facilitating the management of the user's storage resources; on the other hand, by uniformly managing the quotas of object storage and file storage, it is possible to avoid waste of storage resources and improve the utilization efficiency of storage resources.

[0102] It should be understood that the specific features, operations and details described hereinabove with respect to the method of the present application may also be similarly applied to the device and system of the present application, or vice versa. In addition, each step of the method of the present application described above may be performed by a corresponding component or unit of the device or system of the present application.

[0103] It should be understood that each module / unit of the device of the present application can be implemented in whole or in part by software, hardware, firmware or a combination thereof. Each module / unit can be embedded in the processor of the electronic device or independent of the processor in the form of hardware or firmware, or can be stored in the memory of the electronic device in the form of software for the processor to call to perform the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.

[0104] like Figure 4 As shown, the present application provides an electronic device 400, which includes a processor 401 and a memory 402 storing computer program instructions. When the processor 401 executes the computer program instructions, each step of the above-mentioned storage resource management method is implemented. The electronic device 400 can be generally a server, a terminal, or any other electronic device with necessary computing and / or processing capabilities.

[0105] In one embodiment, the electronic device 400 may include a processor, a memory, a network interface, a communication interface, etc. connected through a system bus. The processor of the electronic device 400 may be used to provide necessary computing, processing and / or control capabilities. The memory of the electronic device 400 may include a non-volatile storage medium and an internal memory. The non-volatile storage medium may store an operating system, a computer program, etc. The internal memory may provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the electronic device 400 may be used to connect and communicate with external devices through a network. When the computer program is executed by the processor, the steps of the method of the present application are executed.

[0106] The present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above-mentioned storage resource management method is implemented.

[0107] Those skilled in the art will appreciate that the method steps of the present application can be completed by instructing related hardware such as the electronic device 400 or a processor through a computer program, and the computer program can be stored in a non-temporary computer-readable storage medium, and the computer program causes the steps of the present application to be executed when it is executed. Depending on the circumstances, any reference to memory, storage, or other media herein may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0108] The various technical features described above can be combined arbitrarily. Although all possible combinations of these technical features are not described, any combination of these technical features should be considered to be covered by this specification as long as there is no contradiction in such combination.

[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A storage resource management system, characterized in that: The system comprises: A quota definition module is used to determine the resource quota and management rules of each storage system according to user input; wherein the storage system includes: an object storage system and a file storage system; A quota control module, configured to receive a data operation request and call a storage system interface matching the data operation request type to access the storage system; A synchronization module is used to call a storage system interface to access a corresponding storage system to obtain resource quota usage of the storage system, and report the resource quota usage to a quota monitoring module; The quota monitoring module is used to output resource quota management prompt information according to the resource quota usage of the object storage system and the file storage system and the management rules.

2. The storage resource management system according to claim 1, characterized in that: The system further comprises: The login module is used to receive login information input by the user, call the object storage system interface to send the login information to the object storage system for user login, or call the file storage system interface to send the login information to the file storage system for user login.

3. The storage resource management system according to claim 1, characterized in that: The quota monitoring module includes: A summing submodule is used to calculate the quota usage according to the resource quota usage of the object storage system and the file storage system; When the quota usage reaches a preset proportion of the total quota, outputting a first prompt message, wherein the first prompt message is used to notify the user to reduce the amount of data uploaded or apply to the administrator for an increase in resource quota; When the quota usage reaches the total quota, a second prompt message is output and the user is restricted from uploading data to the object storage system and the file storage system, wherein the second prompt message is used to notify the user that the quota has reached the upper limit.

4. The storage resource management system according to claim 1, characterized in that: The synchronization module is also used for: Reporting resource quota usage of the object storage system to the file storage system; Report the resource quota usage of the file storage system to the object storage system.

5. The storage resource management system according to claim 1, characterized in that: The quota definition module includes: The display submodule is used to display the resource quota and management rule setting interface through a graphical interface; The quota definition submodule is used to determine the resource quota of each storage system according to the first input of the user, and to determine the resource quota management rules according to the second input of the user.

6. A storage resource management method, characterized in that: The method comprises: Determine resource quotas and management rules for each storage system according to user input; wherein the storage system includes: an object storage system and a file storage system; Receive a data operation request, and call a storage system interface matching the data operation request type to access the storage system; Call the storage system interface to access the corresponding storage system to obtain the resource quota usage of the storage system; According to the resource quota usage of the object storage system and the file storage system and the management rules, resource quota management prompt information is output.

7. The method according to claim 6, characterized in that The method further comprises: Receive login information input by the user, and call the object storage system interface to send the login information to the object storage system for user login; The file storage system interface is called to send the login information to the file storage system for user login.

8. The method according to claim 6, characterized in that The step of outputting resource quota management prompt information according to the resource quota usage of the object storage system and the file storage system and the management rules includes: Calculate the quota usage based on the resource quota usage of the object storage system and the file storage system; When the quota usage reaches a preset proportion of the total quota, outputting a first prompt message, wherein the first prompt message is used to notify the user to reduce the amount of data uploaded or apply to the administrator for an increase in resource quota; When the quota usage reaches the total quota, a second prompt message is output and the user is restricted from uploading data to the object storage system and the file storage system, wherein the second prompt message is used to notify the user that the quota has reached the upper limit.

9. The method according to claim 6, characterized in that The step of determining the resource quota and management rules of each storage system according to the user input comprises: Display resource quota and management rule setting interface through graphical interface; The resource quota of each storage system is determined according to the first input of the user, and the resource quota management rule is determined according to the second input of the user.

10. An electronic device comprising a processor, a communication interface, a memory and a communication bus, characterized in that: The processor, the communication interface, and the memory communicate with each other via a communication bus; the memory is used to store computer programs; the processor is used to implement the storage resource management method described in any one of claims 6 to 9 when executing the program stored in the memory.

Citation Information

Cited By

  • Multi-active user quota management method, device, equipment, system and chip

    CN120909779A