CN109995595A - A kind of RGW quota determines method, system, equipment and computer media - Google Patents

A kind of RGW quota determines method, system, equipment and computer media Download PDF

Info

Publication number
CN109995595A
CN109995595A CN201910290907.9A CN201910290907A CN109995595A CN 109995595 A CN109995595 A CN 109995595A CN 201910290907 A CN201910290907 A CN 201910290907A CN 109995595 A CN109995595 A CN 109995595A
Authority
CN
China
Prior art keywords
rgw
quota
target
itself
change information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910290907.9A
Other languages
Chinese (zh)
Other versions
CN109995595B (en
Inventor
陈二涛
白学余
翟亚永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910290907.9A priority Critical patent/CN109995595B/en
Publication of CN109995595A publication Critical patent/CN109995595A/en
Application granted granted Critical
Publication of CN109995595B publication Critical patent/CN109995595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

This application discloses a kind of RGW quotas to determine method, system, equipment and computer media, is applied to target RGW, receives the access request that user client is sent;Determine the corresponding storage resource of access request;Judge whether the quota information of itself changes based on storage resource;If so, the quota change information of itself is sent to other RGW, so that other RGW determine the quota of itself based on the quota change information of target RGW.A kind of RGW quota disclosed in the present application determines method, target RGW is after the quota information for determining itself changes, the quota change information of itself is actively sent to other RGW, so that other RGW can determine the quota of itself based on the quota change information of target RGW, the accuracy that RGW determines quota is improved.A kind of RGW quota disclosed in the present application determines that system, equipment and computer readable storage medium also solve the problems, such as relevant art.

Description

A kind of RGW quota determines method, system, equipment and computer media
Technical field
This application involves distributed objects technical field of memory, more specifically to a kind of RGW distribution determine method, System, equipment and computer media.
Background technique
RGW (distributed objects storage system gateway) provides RESTful access interface for distributed objects storage system, will The RESTful request of user is converted to the access to storage cluster, and access result is returned to user, and RGW is being provided When RESTful object stores access interface, the quotas administered function to user and bucket is provided.
However, in distributed objects storage system, when in distributed objects storage system there are when multiple RGW, it is multiple The corresponding RGW of user may manage identical storage resource, so that the quota between each RGW influences each other, so that RGW is true The accuracy of fixed quota is lower.
In conclusion how to improve RGW determines that the accuracy of quota is that current those skilled in the art are urgently to be resolved and asks Topic.
Summary of the invention
The purpose of the application is to provide a kind of RGW quota and determines method, can solve how to improve RGW to a certain extent The technical issues of determining the accuracy of quota.Present invention also provides a kind of RGW quotas to determine system, equipment and computer-readable Storage medium.
To achieve the goals above, the application provides the following technical solutions:
A kind of RGW quota determines method, is applied to target RGW, comprising:
Receive the access request that user client is sent;
Determine the corresponding storage resource of the access request;
Judge whether the quota information of itself changes based on the storage resource;
If so, the quota change information of itself is sent to other RGW, so that other described RGW are based on the target The quota change information of RGW determines the quota of itself.
Preferably, further includes:
Receive the quota change information that other described RGW are sent;
The quota of itself is determined based on the quota change information of other RGW.
It is preferably, described that the quota change information of itself is sent to other RGW, comprising:
Whether the quota information after judging Self-variation is more than or equal to the corresponding default quota letter of the target RGW Breath, if it is not, then executing the described the step of quota change information of itself is sent to other RGW.
Preferably, whether the quota information judged after Self-variation it is corresponding be more than or equal to the target RGW After default quota information, further includes:
If the quota information after Self-variation is more than or equal to the corresponding default quota information of the target RGW, tie Beam.
It is preferably, described that the quota change information of itself is sent to other RGW, comprising:
The quota change information of itself is sent to preset quotas administered center, so that the quotas administered center passes The quota change information of the defeated target RGW is to other described RGW.
It is preferably, described that the quota change information of itself is sent to other RGW, comprising:
The quota change information of itself is sent to preset quota storage location, so that other described RGW read institute State the quota change information of target RGW described in quota storage location.
Preferably, the corresponding storage resource of the determination access request, comprising:
Determine that the corresponding storage resource of the access request, the type of the storage resource include distributed objects storage system The number and space size of object in system.
A kind of RGW quota determines system, is applied to target RGW, comprising:
First receiving module, for receiving the access request of user client transmission;
First determining module, for determining the corresponding storage resource of the access request;
Whether first judgment module, the quota information for being judged itself based on the storage resource are changed;
First execution module after the quota information for determining itself changes, then changes the quota of itself Information is sent to other RGW, so that other described RGW determine the quota of itself based on the quota change information of the target RGW.
A kind of RGW quota determines equipment, is applied to target RGW, comprising:
Memory, for storing computer program;
Processor realizes the step of as above any RGW quota determines method when for executing the computer program.
A kind of computer readable storage medium is applied to target RGW, is stored with meter in the computer readable storage medium Calculation machine program realizes the step of as above any RGW quota determines method when the computer program is executed by processor.
A kind of RGW quota provided by the present application determines method, is applied to target RGW, receives the visit that user client is sent Ask request;Determine the corresponding storage resource of access request;Judge whether the quota information of itself changes based on storage resource; If so, the quota change information of itself is sent to other RGW, so that quota change information of other RGW based on target RGW Determine the quota of itself.A kind of RGW quota provided by the present application determines method, and target RGW is in the quota information hair for determining itself After changing, the quota change information of itself is actively sent to other RGW, so that other RGW can be based on target RGW Quota change information determine itself quota so that other RGW will not be because ignoring the variation of the quota information of target RGW And cause the quota information of itself inaccurate, improve the accuracy that RGW determines quota.A kind of RGW quota provided by the present application Determine that system, equipment and computer readable storage medium also solve the problems, such as relevant art.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the first pass figure that a kind of RGW quota provided by the embodiments of the present application determines method;
Fig. 2 is the second flow chart that a kind of RGW quota provided by the embodiments of the present application determines method;
Fig. 3 is the structural schematic diagram that a kind of RGW quota provided by the embodiments of the present application determines system;
Fig. 4 is the structural schematic diagram that a kind of RGW quota provided by the embodiments of the present application determines equipment;
Fig. 5 is another structural schematic diagram that a kind of RGW quota provided by the embodiments of the present application determines equipment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
RGW (distributed objects storage system gateway) provides RESTful access interface for distributed objects storage system, will The RESTful request of user is converted to the access to storage cluster, and access result is returned to user, and RGW is being provided When RESTful object stores access interface, the quotas administered function to user and bucket is provided.However, distributed right As in storage system, when there are when multiple RGW, the corresponding RGW of multiple users may manage phase in distributed objects storage system Same storage resource, so that the quota between each RGW influences each other, so that the accuracy for the quota that RGW is determined is lower.This A kind of RGW quota that application provides determines that the accuracy that RGW determines quota can be improved in method.
Referring to Fig. 1, Fig. 1 is the first pass figure that a kind of RGW quota provided by the embodiments of the present application determines method.
A kind of RGW quota provided by the embodiments of the present application determines method, is applied to target RGW, may comprise steps of:
Step S101: the access request that user client is sent is received.
In practical application, target RGW can first receive user client transmission access request, the format of access request and Content can be determine according to actual needs.Target RGW involved in the application refers to processed RGW, and target reference is grasped The object of work.The mode that target RGW receives access request can determine according to actual needs, for example target RGW can connect in real time Access request is received, it can also be with timing receipt access request etc..
Step S102: the corresponding storage resource of access request is determined.
In practical application, after target RGW receives access request, it can determine the corresponding storage resource of access request, deposit The type for storing up resource can determine according to actual needs, for example it can be the respective resources etc. in bucket.Specifically, target RGW can receive the corresponding storage resource of access request etc. of extraneous input.
Step S103: judge whether the quota information of itself changes based on storage resource, if so, thening follow the steps S104。
Step S104: being sent to other RGW for the quota change information of itself, so that other RGW matching based on target RGW Volume change information determines the quota of itself.
In practical application, after target RGW determines storage resource, matching for itself can be judged based on determining storage resource Whether volume information changes, if so, showing that the service condition of storage resource corresponding with the quota information of target RGW occurs Variation, then, it will accordingly be changed using the quota information of other RGW of the storage resource, so target RGW need will be certainly The quota change information of body is sent to other RGW, allows other RGW true according to the quota change information of target RGW in time Determine the quota of itself.It should be pointed out that this application involves quota be to user client use object storage cluster limitation, packet Include the limitation of object number and memory space limitation that can be used.
In concrete application scene, as target RGW it needs to be determined that when the quota of itself, the quota according to other RGW is just needed Change information determines the quota of itself, then RGW quota provided by the present application determines in method, can also include: to receive other RGW The quota information of transmission;The quota of itself is determined based on the quota information of other RGW.
In concrete application scene, if the quota information after target RGW variation can quilt beyond its corresponding storage resource institute The maximum value used, then the quota of target RGW will not change, and in order to avoid such situation, target RGW is by the quota of itself The process that change information is sent to other RGW can be with specifically: whether the quota information after judging Self-variation is more than or equal to mesh The corresponding default quota information of RGW is marked, if it is not, then executing the step of quota change information of itself is sent to other RGW again. Specifically, target RGW judge the quota information after Self-variation whether be more than or equal to the corresponding default quota information of target RGW it Afterwards, if the quota information after Self-variation is more than or equal to the corresponding default quota information of target RGW, terminate.
In concrete application scene, there are multiple RGW in distributed objects storage system, if directly will be certainly by target RGW The quota change information of body is sent to other each RGW, then will increase the service pressure of target RGW, in order to reduce target RGW's Service pressure can carry out the quota change information of transmission objectives RGW, then target RGW matching itself by quotas administered center The process that volume change information is sent to other RGW can be with specifically: quota information after sending Self-variation to preset quota Administrative center, so that the quota information of quotas administered central transmission target RGW is to other RGW.
In concrete application scene, there are multiple RGW in distributed objects storage system, if directly will be certainly by target RGW The quota change information of body is sent to other each RGW, then will increase the service pressure of target RGW, in order to reduce target RGW's Service pressure can carry out the quota change information of transmission objectives RGW, then target RGW matching itself by quota storage location The process that volume change information is sent to other RGW can be with specifically: quota change information to the preset quota for sending itself is deposited Storage space is set, so that other RGW read the quota change information of target RGW in quota storage location.Specifically, target RGW is being sent out After giving the quota change information to quota storage location of itself, in order to enable other RGW can obtain the quota of target RGW as early as possible Change information, target RGW can also send prompting message to other RGW, inform that other RGW read mesh in quota storage location Mark the quota change information of RGW
In concrete application scene, target RGW determines that the process of the corresponding storage resource of access request can be with specifically: determines The corresponding storage resource of access request, the type of storage resource include the number of object and space in distributed objects storage system Size.
A kind of RGW quota provided by the present application determines method, is applied to target RGW, receives the visit that user client is sent Ask request;Determine the corresponding storage resource of access request;Judge whether the quota information of itself changes based on storage resource; If so, the quota change information of itself is sent to other RGW, so that quota change information of other RGW based on target RGW Determine the quota of itself.A kind of RGW quota provided by the present application determines method, and target RGW is in the quota information hair for determining itself After changing, the quota change information of itself is actively sent to other RGW, so that other RGW can be based on target RGW Quota change information determine itself quota so that other RGW will not be because ignoring the variation of the quota information of target RGW And cause the quota information of itself inaccurate, improve the accuracy that RGW determines quota.
Referring to Fig. 2, Fig. 2 is the second flow chart that a kind of RGW quota provided by the embodiments of the present application determines method.
In practical application, a kind of RGW quota provided by the embodiments of the present application determines that method may comprise steps of:
Step S201: the access request that user client is sent is received.
Step S202: the corresponding storage resource of access request is determined.
Step S203: judge whether the quota information of itself changes based on storage resource, if so, thening follow the steps S204。
Step S204: whether the quota information after judging Self-variation is more than or equal to the corresponding default quota letter of target RGW Breath, if it is not, thening follow the steps S205.
Step S205: being sent to other RGW for the quota change information of itself, so that other RGW matching based on target RGW Volume change information determines the quota of itself.
Step S206: the quota change information of other RGW transmission is received.
Step S207: the quota of itself is determined based on the quota change information of other RGW.
Present invention also provides a kind of RGW quotas to determine system, with a kind of RGW quota provided by the embodiments of the present application The correspondence effect that the method for determination has.Referring to Fig. 3, Fig. 3 is that a kind of RGW quota provided by the embodiments of the present application determines system Structural schematic diagram.
A kind of RGW quota provided by the embodiments of the present application determines system, is applied to target RGW, may include:
First receiving module 101, for receiving the access request of user client transmission;
First determining module 102, for determining the corresponding storage resource of access request;
Whether first judgment module 103, the quota information for being judged itself based on storage resource are changed;
The quota of itself after the quota information for determining itself changes, is then changed letter by the first execution module 104 Breath is sent to other RGW, so that other RGW determine the quota of itself based on the quota change information of target RGW.
A kind of RGW quota provided by the embodiments of the present application determines system, is applied to target RGW, can also include:
Second receiving module, for receiving the quota change information of other RGW transmission;
Second determining module determines the quota of itself for the quota change information based on other RGW.
A kind of RGW quota provided by the embodiments of the present application determines system, is applied to target RGW, and the first execution module can be with Include:
First judging unit, for judging it is corresponding pre- whether the quota information after Self-variation is more than or equal to target RGW If quota information, if it is not, the first execution module is then prompted to execute the step that the quota change information of itself is sent to other RGW Suddenly.
A kind of RGW quota provided by the embodiments of the present application determines system, is applied to target RGW, can also include:
Whether the first execution unit, the quota information after Self-variation is judged for the first judging unit are more than or equal to target After the corresponding default quota information of RGW, if the quota information after Self-variation is more than or equal to the corresponding default quota of target RGW Information then terminates.
A kind of RGW quota provided by the embodiments of the present application determines system, is applied to target RGW, and the first execution module can be with Include:
First transmission unit, for sending itself quota change information to preset quotas administered center, so that quota The quota change information of administrative center transmission objectives RGW is to other RGW.
A kind of RGW quota provided by the embodiments of the present application determines system, is applied to target RGW, and the first execution module can be with Include:
Second transmission unit, for sending itself quota change information to preset quota storage location, so that other RGW reads the quota change information of target RGW in quota storage location.
A kind of RGW quota provided by the embodiments of the present application determines system, is applied to target RGW, and the first determining module can be with Include:
First determination unit, for determining that the corresponding storage resource of access request, the type of storage resource include distribution The number and space size of object in object storage system.
Present invention also provides a kind of RGW quotas to determine equipment and computer readable storage medium, all has the application A kind of RGW quota that embodiment provides, which determines, corresponds to effect possessed by method.Referring to Fig. 4, Fig. 4 mentions for the embodiment of the present application A kind of RGW quota supplied determines the structural schematic diagram of equipment.
A kind of RGW quota provided by the embodiments of the present application determines equipment, is applied to target RGW, including memory 201 and place Device 202 is managed, computer program is stored in memory 201, processor 202 executes the computer program stored in memory 201 Shi Shixian following steps:
Receive the access request that user client is sent;
Determine the corresponding storage resource of access request;
Judge whether the quota information of itself changes based on storage resource;
If so, the quota change information of itself is sent to other RGW, so that quota of other RGW based on target RGW Change information determines the quota of itself.
A kind of RGW quota provided by the embodiments of the present application determines equipment, is applied to target RGW, including memory 201 and place Device 202 is managed, computer subprogram is stored in memory 201, processor 202 executes the calculating loom stored in memory 201 It is implemented as follows step when program: receiving the quota change information of other RGW transmission;Quota based on other RGW changes letter Breath determines the quota of itself.
A kind of RGW quota provided by the embodiments of the present application determines equipment, is applied to target RGW, including memory 201 and place Device 202 is managed, computer subprogram is stored in memory 201, processor 202 executes the calculating loom stored in memory 201 Step is implemented as follows when program: it is corresponding default whether the quota information after judging Self-variation is more than or equal to target RGW Quota information, if it is not, then executing the step of quota change information of itself is sent to other RGW.
A kind of RGW quota provided by the embodiments of the present application determines equipment, is applied to target RGW, including memory 201 and place Device 202 is managed, computer subprogram is stored in memory 201, processor 202 executes the calculating loom stored in memory 201 Step is implemented as follows when program: it is corresponding default whether the quota information after judging Self-variation is more than or equal to target RGW After quota information, if the quota information after Self-variation is more than or equal to the corresponding default quota information of target RGW, terminate.
A kind of RGW quota provided by the embodiments of the present application determines equipment, is applied to target RGW, including memory 201 and place Device 202 is managed, computer subprogram is stored in memory 201, processor 202 executes the calculating loom stored in memory 201 It is implemented as follows step when program: sending the quota change information of itself to preset quotas administered center, so that quota pipe The quota change information of central transmission target RGW is managed to other RGW.
A kind of RGW quota provided by the embodiments of the present application determines equipment, is applied to target RGW, including memory 201 and place Device 202 is managed, computer subprogram is stored in memory 201, processor 202 executes the calculating loom stored in memory 201 It is implemented as follows step when program: sending the quota change information of itself to preset quota storage location, so that other RGW Read the quota change information of target RGW in quota storage location.
A kind of RGW quota provided by the embodiments of the present application determines equipment, is applied to target RGW, including memory 201 and place Device 202 is managed, computer subprogram is stored in memory 201, processor 202 executes the calculating loom stored in memory 201 It is implemented as follows step when program: determining that the corresponding storage resource of access request, the type of storage resource include distributed right As the number and space size of object in storage system.
Referring to Fig. 5, another kind RGW quota provided by the embodiments of the present application, which determines in equipment, can also include: and handle The input port 203 that device 202 connects is used for transmission the extraneous order inputted to processor 202;What is connect with processor 202 is aobvious Show unit 204, the processing result for video-stream processor 202 is to the external world;The communication module 205 connecting with processor 202, is used for Realize that RGW quota determines equipment and extraneous communication.Display unit 204 can make display etc. for display panel, laser scanning; Communication mode used by communication module 205 includes but is not limited to mobile high definition chained technology (HML), universal serial bus (USB), high-definition media interface (HDMI), wireless connection: adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption are blue The tooth communication technology, the communication technology based on IEEE802.11s.
A kind of computer readable storage medium provided by the embodiments of the present application is applied to target RGW, it is computer-readable to deposit It is stored with computer program in storage media, following steps are realized when computer program is executed by processor:
Receive the access request that user client is sent;
Determine the corresponding storage resource of access request;
Judge whether the quota information of itself changes based on storage resource;
If so, the quota change information of itself is sent to other RGW, so that quota of other RGW based on target RGW Change information determines the quota of itself.
A kind of computer readable storage medium provided by the embodiments of the present application is applied to target RGW, it is computer-readable to deposit Computer subprogram is stored in storage media, computer subprogram is implemented as follows step when being executed by processor: receiving it The quota change information that his RGW is sent;The quota of itself is determined based on the quota change information of other RGW.
A kind of computer readable storage medium provided by the embodiments of the present application is applied to target RGW, it is computer-readable to deposit Computer subprogram is stored in storage media, computer subprogram is implemented as follows step when being executed by processor: judgement is certainly Whether the quota information after body variation is more than or equal to the corresponding default quota information of target RGW, if it is not, then executing matching itself Volume change information is sent to the step of other RGW.
A kind of computer readable storage medium provided by the embodiments of the present application is applied to target RGW, it is computer-readable to deposit Computer subprogram is stored in storage media, computer subprogram is implemented as follows step when being executed by processor: judgement is certainly Whether the quota information after body variation is more than or equal to after the corresponding default quota information of target RGW, if matching after Self-variation Volume information is more than or equal to the corresponding default quota information of target RGW, then terminates.
A kind of computer readable storage medium provided by the embodiments of the present application is applied to target RGW, it is computer-readable to deposit Computer subprogram is stored in storage media, computer subprogram is implemented as follows step when being executed by processor: sending certainly The quota change information of body is to preset quotas administered center, so that the quota of quotas administered central transmission target RGW changes letter It ceases to other RGW.
A kind of computer readable storage medium provided by the embodiments of the present application is applied to target RGW, it is computer-readable to deposit Computer subprogram is stored in storage media, computer subprogram is implemented as follows step when being executed by processor: sending certainly The quota change information of body is to preset quota storage location, so that other RGW read matching for target RGW in quota storage location Volume change information.
A kind of computer readable storage medium provided by the embodiments of the present application is applied to target RGW, it is computer-readable to deposit Computer subprogram is stored in storage media, computer subprogram is implemented as follows step when being executed by processor: determining and visit Ask request corresponding storage resource, the type of storage resource include in distributed objects storage system the number of object and space it is big It is small.
Computer readable storage medium involved in the application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field Any other form of storage medium well known to interior.
A kind of RGW quota provided by the embodiments of the present application determines related in system, equipment and computer readable storage medium Partial explanation refers to the detailed description that a kind of RGW quota provided by the embodiments of the present application determines corresponding part in method, This is repeated no more.In addition, in above-mentioned technical proposal provided by the embodiments of the present application with correspond in the prior art technical solution realize The consistent part of principle is simultaneously unspecified, in order to avoid excessively repeat.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.

Claims (10)

1. a kind of RGW quota determines method, which is characterized in that be applied to target RGW, comprising:
Receive the access request that user client is sent;
Determine the corresponding storage resource of the access request;
Judge whether the quota information of itself changes based on the storage resource;
If so, the quota change information of itself is sent to other RGW, so that other described RGW are based on the target RGW's Quota change information determines the quota of itself.
2. the method according to claim 1, wherein further include:
Receive the quota change information that other described RGW are sent;
The quota of itself is determined based on the quota change information of other RGW.
3. the method according to claim 1, wherein described be sent to other for the quota change information of itself RGW, comprising:
Whether the quota information after judging Self-variation is more than or equal to the corresponding default quota information of the target RGW, if It is no, then execute the described the step of quota change information of itself is sent to other RGW.
4. according to the method described in claim 2, it is characterized in that, the quota information judged after Self-variation whether After default quota information corresponding more than or equal to the target RGW, further includes:
If the quota information after Self-variation is more than or equal to the corresponding default quota information of the target RGW, terminate.
5. the method according to claim 1, wherein described be sent to other for the quota change information of itself RGW, comprising:
The quota change information of itself is sent to preset quotas administered center, so that the quotas administered central transmission institute The quota change information of target RGW is stated to other described RGW.
6. the method according to claim 1, wherein described be sent to other for the quota change information of itself RGW, comprising:
The quota change information of itself is sent to preset quota storage location, so as to match described in other described RGW reading The quota change information of target RGW described in volume storage location.
7. method according to any one of claims 1 to 6, which is characterized in that the determination access request is corresponding Storage resource, comprising:
Determine that the corresponding storage resource of the access request, the type of the storage resource include in distributed objects storage system The number and space size of object.
8. a kind of RGW quota determines system, which is characterized in that be applied to target RGW, comprising:
First receiving module, for receiving the access request of user client transmission;
First determining module, for determining the corresponding storage resource of the access request;
Whether first judgment module, the quota information for being judged itself based on the storage resource are changed;
First execution module, after the quota information for determining itself changes, then by the quota change information of itself Other RGW are sent to, so that other described RGW determine the quota of itself based on the quota change information of the target RGW.
9. a kind of RGW quota determines equipment, which is characterized in that be applied to target RGW, comprising:
Memory, for storing computer program;
Processor realizes the RGW quota determination side as described in any one of claim 1 to 7 when for executing the computer program The step of method.
10. a kind of computer readable storage medium, which is characterized in that be applied to target RGW, the computer readable storage medium In be stored with computer program, when the computer program is executed by processor realize as described in any one of claim 1 to 7 The step of RGW quota determines method.
CN201910290907.9A 2019-04-11 2019-04-11 RGW quota determining method, system, equipment and computer medium Active CN109995595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910290907.9A CN109995595B (en) 2019-04-11 2019-04-11 RGW quota determining method, system, equipment and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910290907.9A CN109995595B (en) 2019-04-11 2019-04-11 RGW quota determining method, system, equipment and computer medium

Publications (2)

Publication Number Publication Date
CN109995595A true CN109995595A (en) 2019-07-09
CN109995595B CN109995595B (en) 2022-02-18

Family

ID=67133284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910290907.9A Active CN109995595B (en) 2019-04-11 2019-04-11 RGW quota determining method, system, equipment and computer medium

Country Status (1)

Country Link
CN (1) CN109995595B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519336A (en) * 2019-08-01 2019-11-29 北京浪潮数据技术有限公司 Distributed memory system quota state updating method and distributed memory system
CN111147556A (en) * 2019-12-15 2020-05-12 浪潮电子信息产业股份有限公司 Load balancing method, device, equipment and storage medium
CN111181791A (en) * 2019-12-31 2020-05-19 浪潮电子信息产业股份有限公司 Quota management method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799797A (en) * 2010-03-05 2010-08-11 中国人民解放军国防科学技术大学 Dynamic allocation method of user disk quota in distributed storage system
US20130171974A1 (en) * 2010-10-15 2013-07-04 Samsung Electronics Co. Ltd. Method and system for providing roaming service between circuit switched network and internet protocol multimedia subsystem network, and apparatus thereof
CN105867836A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 Storage management method and apparatus as well as stream media system
CN106326013A (en) * 2016-08-25 2017-01-11 浪潮(北京)电子信息产业有限公司 Disk quota management system and method for distributed file system
CN107426321A (en) * 2017-07-31 2017-12-01 郑州云海信息技术有限公司 A kind of distributed memory system quota allotment approach and device
CN107589915A (en) * 2017-09-25 2018-01-16 郑州云海信息技术有限公司 Capacity information monitoring method, device and the equipment of a kind of distributed memory system
CN109117090A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of memory space quota method, apparatus, equipment and the storage medium of storage pool

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799797A (en) * 2010-03-05 2010-08-11 中国人民解放军国防科学技术大学 Dynamic allocation method of user disk quota in distributed storage system
US20130171974A1 (en) * 2010-10-15 2013-07-04 Samsung Electronics Co. Ltd. Method and system for providing roaming service between circuit switched network and internet protocol multimedia subsystem network, and apparatus thereof
CN105867836A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 Storage management method and apparatus as well as stream media system
CN106326013A (en) * 2016-08-25 2017-01-11 浪潮(北京)电子信息产业有限公司 Disk quota management system and method for distributed file system
CN107426321A (en) * 2017-07-31 2017-12-01 郑州云海信息技术有限公司 A kind of distributed memory system quota allotment approach and device
CN107589915A (en) * 2017-09-25 2018-01-16 郑州云海信息技术有限公司 Capacity information monitoring method, device and the equipment of a kind of distributed memory system
CN109117090A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of memory space quota method, apparatus, equipment and the storage medium of storage pool

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519336A (en) * 2019-08-01 2019-11-29 北京浪潮数据技术有限公司 Distributed memory system quota state updating method and distributed memory system
CN111147556A (en) * 2019-12-15 2020-05-12 浪潮电子信息产业股份有限公司 Load balancing method, device, equipment and storage medium
CN111181791A (en) * 2019-12-31 2020-05-19 浪潮电子信息产业股份有限公司 Quota management method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109995595B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN109995595A (en) A kind of RGW quota determines method, system, equipment and computer media
CN109213699A (en) A kind of metadata management method, system, equipment and computer readable storage medium
CN107592237B (en) Resource monitoring method and system of hybrid cloud
JP6073076B2 (en) Providing a single instance of virtual space rendered in either two or three dimensions via separate client computing devices
CN106302111B (en) Information processing method, terminal and server
WO2017165003A1 (en) Control device for estimation of power consumption and energy efficiency of application containers
CN107124443A (en) Data analysing method and device based on block chain
CN110162404A (en) A kind of secure resources Pooled resources distribution method, system, equipment and computer media
CN109671097B (en) Motion blur implementation method and device
CN108415644A (en) A kind of display control method and electronic equipment
CN110149371A (en) Equipment connection method, device and terminal device
JP4778028B2 (en) Introduction system, server device, introduction method, service method, and program
CN109697031A (en) A kind of metadata processing method, system, equipment and computer readable storage medium
CN108984228A (en) A kind of background program method for closing, system, equipment and computer storage medium
CN107526530A (en) Data processing method and equipment
JP5357930B2 (en) Introduction system, server device, introduction method, and program
CN108206838B (en) A kind of SiteServer LBS, method and device
CN108965378A (en) A kind of I/O mode recognition methods, system, equipment and computer storage medium
CN104516431A (en) Information processing apparatus and information processing method
CN106874218B (en) A kind of distribution method and its device of mapped address space
CN109558088A (en) A kind of compression method, system, equipment and computer readable storage medium
CN109933458A (en) One kind, which is entangled, deletes pond and determines method, system, equipment and computer readable storage medium
KR20070106324A (en) Method for generating an self-image in mobile communication terminal
CN109558085A (en) A kind of compression method, system, equipment and computer readable storage medium
CN110427336A (en) A kind of CPU link rate configuration method, system, equipment and computer media

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant