CN102289463A - Method for controlling user use capacity and proxy server - Google Patents
Method for controlling user use capacity and proxy server Download PDFInfo
- Publication number
- CN102289463A CN102289463A CN2011101996868A CN201110199686A CN102289463A CN 102289463 A CN102289463 A CN 102289463A CN 2011101996868 A CN2011101996868 A CN 2011101996868A CN 201110199686 A CN201110199686 A CN 201110199686A CN 102289463 A CN102289463 A CN 102289463A
- Authority
- CN
- China
- Prior art keywords
- user
- capacity
- utilization rate
- module
- access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a method for controlling user use capacity. The method comprises the following steps of: calculating the utilization rate of user capacity by using a proxy server, when the utilization rate of the user capacity is higher than an alarm threshold and is not higher than a forbidden threshold, sending out an alarm, and if the utilization rate of the user capacity is higher than the forbidden threshold, forbidding partial access rights of a user. Meanwhile, the invention also discloses the proxy server for controlling the user use capacity. By adopting the method disclosed by the invention, the actual use capacity of the user can be controlled.
Description
Technical field
The present invention relates to database cloud framework technology, relate in particular to method and acting server that a kind of user of control uses capacity.
Background technology
Along with the development of cloud computing and the emergence of internet Web2.0, information explosion has presented irresistible trend, and the internet all can produce hundreds of millions of data every day, compares in the past, and the complexity of data magnitude and data manipulation has all had and increases substantially.In the face of the data manipulation of large amount of complex like this, cloud computing has become the problem that each supplier faces to the database service that the user provides high capacity storage, high reliability and enhanced scalability.
At the problems referred to above, industry has proposed database cloud service system, part as cloud computing, database cloud service system has used for reference and in the cloud computing computational resource has been offered the thought that the user uses with the form of serving, and cloud computing provides the database service of high capacity, high reliability, enhanced scalability to the user by the database cloud service.Database cloud service system is a three-tier architecture: acting server layer, database server layer and file server layer.Wherein, acting server layer major function is: user's request of access is transferred to database server, and the acting server layer is made up of acting server; Database server layer major function is: the database server cluster that database service is provided, database server is used to write down each user's use capacity and specified use capacity, and the request of access of handling the acting server transmission, for user's request of access provides the service of calculating, and the result is returned to acting server and/or is dealt into the file server layer; The file server layer receives the result of calculation and the storage of database server.
By using above-mentioned database cloud service system can realize the cloud computing of high capacity storage, high reliability and enhanced scalability.But, this database cloud service system is only come the actual use capacity of recording user by database server at present, control to the actual use capacity of user can't be provided, so, may cause a lot of users' actual use capacity to be higher than specified use capacity far away, this brings very big loss with regard to the supplier who gives database cloud service system.As seen, present database cloud service framework can't satisfy the requirement of actual use volume controlled within its specified use range of capacity of cloud computing supplier with the user.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of user of control to use the method and the acting server of capacity, can control user's actual use capacity.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides the method that a kind of user of control uses capacity, this method comprises:
Acting server calculates the utilization rate of user capacity, and the utilization rate of user capacity is higher than alarming threshold and is not higher than inhibit gate in limited time, then sends alarm; The utilization rate of user capacity is higher than inhibit gate in limited time, the part access rights of then forbidding the user.
In the such scheme, described acting server calculates before the utilization rate of user capacity, and this method also comprises:
The user's that the acting server inspection receives request of access judges that whether request of access is to increase the operation that the user uses capacity, if, then calculate the utilization rate of user capacity, otherwise, user's request of access is sent to database server.
In the such scheme, described being calculated as: acting server obtains the user from the database server of database cloud service and has used the record of capacity and the record of specified use capacity, calculate the ratio that the user has used capacity and specified use capacity, draw the utilization rate of user capacity.
In the such scheme, described send the alarm be: acting server will send to the management platform of cloud computing to this user's alarm, carry out record by management platform.
The present invention also provides a kind of acting server, and this acting server comprises: computing module, comparison module, control module, sending module and receiver module; Wherein,
Computing module is used to calculate the utilization rate of user capacity, and the utilization rate that calculates is sent to comparison module;
Comparison module is used to receive the utilization rate of the user capacity that computing module sends, and with utilization rate and the alarming threshold of user capacity and forbid the thresholding comparison, and comparative result is sent to control module;
Control module is used to receive the comparative result that comparison module sends, and when comparative result is that the utilization rate of user capacity is higher than alarming threshold and is not higher than inhibit gate in limited time, sends alarm command to sending module; When the utilization rate of user capacity is higher than inhibit gate in limited time, send the instruction of the part access rights of forbidding this user to receiver module;
Sending module is used to receive the alarm command of control module, and alarm command is returned to management platform;
Receiver module is used to receive the instruction of the part access rights of forbidding the user that control module sends, and does the setting of the part access rights of forbidding this user according to instruction.
In the such scheme, described receiver module, also be used to receive user's request of access, judge whether request of access is to increase the operation that the user uses capacity, it is the notice that then sends the utilization rate of the capacity that calculates this user to computing module, if not, then user's request of access is issued sending module;
Accordingly, described computing module, the notice of the utilization rate of this user's of calculating that the reception receiver module is sent capacity, and carry out utilization rate according to notice and calculate;
Described sending module also is used for user's that receiver module is sent request of access, the database server that request of access is transmitted to.
In the such scheme, the utilization rate that described computing module calculates this user's capacity is specially, obtain the user from database server and used the record of capacity and the record of specified use capacity, calculate the ratio that the user has used capacity and specified use capacity, draw the utilization rate of user capacity.
Control user provided by the present invention uses the method and the acting server of capacity, by the user being alarmed and forbidding the part access rights, control user's actual use capacity, so, can realize control, make actual use capacity be no more than specified use capacity the actual use capacity of user.
Description of drawings
Fig. 1 controls the method flow synoptic diagram that the user uses capacity for the present invention;
Fig. 2 controls the composition structural representation that the user uses the acting server of capacity for the present invention.
Embodiment
Basic thought of the present invention is: alarming threshold is set and forbids thresholding; Acting server calculates the utilization rate of user capacity, when the utilization rate of user capacity is higher than alarming threshold and is not higher than inhibit gate in limited time, then sends alarm; If the utilization rate of user capacity is higher than inhibit gate in limited time, the part access rights of then forbidding the user.
Wherein, the utilization rate of described user capacity is meant that the user has used the ratio of capacity and the specified use capacity of user; Described specified use capacity is obtained by the management platform of cloud computing by the user, and is recorded in the database server of database cloud service.
The ratio of described alarming threshold for setting according to the actual conditions of system in advance, such as, alarming threshold is set at 80%;
Described inhibit gate is limited in advance the ratio that the actual conditions according to system set, and forbids that thresholding must be higher than alarming threshold, such as, will forbid that thresholding is set at 90%.
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The present invention controls method that the user uses capacity as shown in Figure 1, may further comprise the steps:
Step 101: acting server judges whether the user's who receives request of access is to increase the operation that the user uses capacity, if then execution in step 102, otherwise, execution in step 107.
Here, described increase user uses the operation of capacity specifically can be provided with according to actual conditions for inserting (insert) or renewal (update) etc.
Before execution in step 101, whether acting server also can forbid that the part access rights make a decision to the user, if, the forbidden request of access of process user not then, otherwise then execution in step 101.
Step 102: acting server calculates the utilization rate of user capacity.
Concrete, acting server obtains the user and has used the record of capacity and the record of specified use capacity from the database server of database cloud service system, calculate the ratio that the user has used capacity and specified use capacity, draws the utilization rate of user capacity.
Step 103: whether the utilization rate of judging user capacity is higher than alarming threshold, if then execution in step 104, if not, then execution in step 107.
Step 104: whether the utilization rate of judging user capacity is higher than is forbidden thresholding, if, execution in step 106, otherwise execution in step 105.
Step 105: acting server proposes alarm for the user who sends request of access, and execution in step 107 then;
Here, described proposition alarm is: acting server sends to the management platform of cloud computing with this user's alarm, carries out record by management platform, and the management platform that concrete operations are used according to reality is decided.
Step 106: acting server is the request of access of transmission user not, and forbids this user's part access rights, finishes current treatment scheme.
Step 107: acting server is transferred to database server with user's request of access.
By above-mentioned steps, can realize user's actual use capacity is controlled, when user's actual use capacity surpassed certain threshold value, acting server can propose alarm and then the restriction of the authority that also can conduct interviews to the user.
In order to realize that above-mentioned control user uses the method for capacity, need the acting server that use in the database cloud service system be improved, therefore, as shown in Figure 2, the present invention also provides a kind of acting server, comprising: computing module 21, comparison module 22, control module 23, sending module 24 and receiver module 25; Wherein,
Computing module 21 is used to calculate the utilization rate of user capacity, and the utilization rate that calculates is sent to comparison module 22;
Comparison module 22 is used to receive the utilization rate of the user capacity that computing module 21 sends, and with utilization rate and the alarming threshold of user capacity and forbid the thresholding comparison, and comparative result is sent to control module 23;
Control module 23 is used to receive the comparative result that comparison module 22 sends, and when comparative result is that the utilization rate of user capacity is higher than alarming threshold and is not higher than inhibit gate in limited time, sends alarm command to sending module 24; When the utilization rate of user capacity is higher than inhibit gate in limited time, send the instruction of the part access rights of forbidding this user to receiver module 25;
Sending module 24 is used to receive the alarm command of control module 23, and alarm command is returned to management platform;
Here, describedly alarm command is returned management platform be: will send to the management platform of cloud computing at this user's alarm, and carry out record by management platform, the management platform that concrete operations are used according to reality is decided.
Receiver module 25 is used to receive the instruction of the part access rights of forbidding the user that control module 23 sends, and does the setting of the part access rights of forbidding this user according to instruction;
Here, described part access rights of forbidding this user refer to forbid that any increase of user uses the access rights of the operation of capacity.
Described receiver module 25, also be used to receive user's request of access, judge whether request of access is to increase the operation that the user uses capacity, is the notice that then sends the utilization rate of the capacity that calculates this user to computing module 21, is not then user's request of access to be issued sending module 24;
Accordingly, described computing module 21, the notice of the utilization rate of this user's of calculating that reception receiver module 25 is sent capacity, and carry out utilization rate according to notice and calculate;
Described sending module 24 also is used to receive the request of access from the user of receiver module 25, the database server that request of access is transmitted to.
The utilization rate that described computing module 21 calculates user's capacity is specially: obtain the user from database server and used the record of capacity and the record of specified use capacity, calculate the ratio that the user has used capacity and specified use capacity, draw the utilization rate of user capacity.
Described comparison module 22 also is used for when the utilization rate of user capacity is not higher than alarming threshold, sends the comparative result that is not higher than alarming threshold to control module 23;
Accordingly, described control module 23 specifically is used to receive comparison module 22 and sends the comparative result that is not higher than alarming threshold, and notice receiver module 25 is forwarded to sending module with user's request of access;
Described receiver module 25, the request of access with the user that also is used to receive control module 23 is forwarded to the notice of sending module.
Described receiver module 25, also be used for according to the record of forbidding user's part access rights, the user who the proposes request of access part access rights that whether have been under an embargo are made a decision, if done restriction, then do not handle the all-access request in the access rights that this user forbids, if do not carry out qualification, then receive user's request of access.
As seen, use above-mentioned scheme, the use capacity that just can control the user is no more than at its specified use capacity.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.
Claims (7)
1. control the method that the user uses capacity for one kind, it is characterized in that, this method comprises:
Acting server calculates the utilization rate of user capacity, and the utilization rate of user capacity is higher than alarming threshold and is not higher than inhibit gate in limited time, then sends alarm; The utilization rate of user capacity is higher than inhibit gate in limited time, the part access rights of then forbidding the user.
2. method according to claim 1 is characterized in that, described acting server calculates before the utilization rate of user capacity, and this method also comprises:
The user's that the acting server inspection receives request of access judges that whether request of access is to increase the operation that the user uses capacity, if, then calculate the utilization rate of user capacity, otherwise, user's request of access is sent to database server.
3. method according to claim 1, it is characterized in that, described being calculated as: acting server obtains the user from the database server of database cloud service and has used the record of capacity and the record of specified use capacity, calculate the ratio that the user has used capacity and specified use capacity, draw the utilization rate of user capacity.
4. method according to claim 1 is characterized in that, described send the alarm be: acting server will send to the management platform of cloud computing to this user's alarm, carry out record by management platform.
5. an acting server is characterized in that, this acting server comprises: computing module, comparison module, control module, sending module and receiver module; Wherein,
Computing module is used to calculate the utilization rate of user capacity, and the utilization rate that calculates is sent to comparison module;
Comparison module is used to receive the utilization rate of the user capacity that computing module sends, and with utilization rate and the alarming threshold of user capacity and forbid the thresholding comparison, and comparative result is sent to control module;
Control module is used to receive the comparative result that comparison module sends, and when comparative result is that the utilization rate of user capacity is higher than alarming threshold and is not higher than inhibit gate in limited time, sends alarm command to sending module; When the utilization rate of user capacity is higher than inhibit gate in limited time, send the instruction of the part access rights of forbidding this user to receiver module;
Sending module is used to receive the alarm command of control module, and alarm command is returned to management platform;
Receiver module is used to receive the instruction of the part access rights of forbidding the user that control module sends, and does the setting of the part access rights of forbidding this user according to instruction.
6. acting server according to claim 5 is characterized in that,
Described receiver module, also being used to receive user's request of access, judging whether request of access is to increase the operation that the user uses capacity, is the notice that then sends the utilization rate of the capacity that calculates this user to computing module, if not, then user's request of access is issued sending module;
Accordingly, described computing module, the notice of the utilization rate of this user's of calculating that the reception receiver module is sent capacity, and carry out utilization rate according to notice and calculate;
Described sending module also is used for user's that receiver module is sent request of access, the database server that request of access is transmitted to.
7. acting server according to claim 5 is characterized in that,
The utilization rate that described computing module calculates this user's capacity is specially, and obtains the user from database server and has used the record of capacity and the record of specified use capacity, calculates the ratio that the user has used capacity and specified use capacity, draws the utilization rate of user capacity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101996868A CN102289463A (en) | 2011-07-15 | 2011-07-15 | Method for controlling user use capacity and proxy server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101996868A CN102289463A (en) | 2011-07-15 | 2011-07-15 | Method for controlling user use capacity and proxy server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102289463A true CN102289463A (en) | 2011-12-21 |
Family
ID=45335890
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101996868A Pending CN102289463A (en) | 2011-07-15 | 2011-07-15 | Method for controlling user use capacity and proxy server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102289463A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915374A (en) * | 2012-11-07 | 2013-02-06 | 北京搜狐新媒体信息技术有限公司 | Method, device and system for controlling access to database resources |
CN103488575A (en) * | 2013-08-12 | 2014-01-01 | 记忆科技(深圳)有限公司 | Method for dynamically adjusting reserved space of solid-state hard disk and solid-state hard disk |
CN106790163A (en) * | 2016-12-29 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of mandate code management method and system towards storage device |
CN111090559A (en) * | 2018-10-23 | 2020-05-01 | 北京金山云网络技术有限公司 | Data monitoring method and device and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030187998A1 (en) * | 2002-03-27 | 2003-10-02 | Patrick Petit | System and method for detecting resource usage overloads in a portal server |
CN1579071A (en) * | 2001-08-31 | 2005-02-09 | 波音公司 | User bandwidth monitor and control management system and method |
CN101115299A (en) * | 2007-07-25 | 2008-01-30 | 上海华为技术有限公司 | Method and apparatus for controlling user access |
CN101523365A (en) * | 2006-09-28 | 2009-09-02 | 微软公司 | Rights management in a cloud |
CN101969401A (en) * | 2010-10-13 | 2011-02-09 | 中国科学院深圳先进技术研究院 | Adaptive cloud calculation method and system |
CN101986274A (en) * | 2010-11-11 | 2011-03-16 | 东软集团股份有限公司 | Resource allocation system and resource allocation method in private cloud environment |
-
2011
- 2011-07-15 CN CN2011101996868A patent/CN102289463A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1579071A (en) * | 2001-08-31 | 2005-02-09 | 波音公司 | User bandwidth monitor and control management system and method |
US20030187998A1 (en) * | 2002-03-27 | 2003-10-02 | Patrick Petit | System and method for detecting resource usage overloads in a portal server |
CN101523365A (en) * | 2006-09-28 | 2009-09-02 | 微软公司 | Rights management in a cloud |
CN101115299A (en) * | 2007-07-25 | 2008-01-30 | 上海华为技术有限公司 | Method and apparatus for controlling user access |
CN101969401A (en) * | 2010-10-13 | 2011-02-09 | 中国科学院深圳先进技术研究院 | Adaptive cloud calculation method and system |
CN101986274A (en) * | 2010-11-11 | 2011-03-16 | 东软集团股份有限公司 | Resource allocation system and resource allocation method in private cloud environment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915374A (en) * | 2012-11-07 | 2013-02-06 | 北京搜狐新媒体信息技术有限公司 | Method, device and system for controlling access to database resources |
CN102915374B (en) * | 2012-11-07 | 2016-04-06 | 北京搜狐新媒体信息技术有限公司 | A kind of method, Apparatus and system of resource access of controlling database |
CN103488575A (en) * | 2013-08-12 | 2014-01-01 | 记忆科技(深圳)有限公司 | Method for dynamically adjusting reserved space of solid-state hard disk and solid-state hard disk |
CN103488575B (en) * | 2013-08-12 | 2017-02-01 | 记忆科技(深圳)有限公司 | Method for dynamically adjusting reserved space of solid-state hard disk and solid-state hard disk |
CN106790163A (en) * | 2016-12-29 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of mandate code management method and system towards storage device |
CN106790163B (en) * | 2016-12-29 | 2020-05-29 | 郑州云海信息技术有限公司 | Authorization code management method and system for storage device |
CN111090559A (en) * | 2018-10-23 | 2020-05-01 | 北京金山云网络技术有限公司 | Data monitoring method and device and server |
CN111090559B (en) * | 2018-10-23 | 2023-09-08 | 北京金山云网络技术有限公司 | Data monitoring method, device and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9858013B1 (en) | Scalable distributed storage system infrastructure | |
US20130198050A1 (en) | Systems and methods for providing decision time brokerage in a hybrid cloud ecosystem | |
US20090106844A1 (en) | System and method for vulnerability assessment of network based on business model | |
US9436807B2 (en) | Method and apparatus for providing digital rights management service in the cloud | |
CN103268455A (en) | Method and device for accessing data | |
CN102281141B (en) | Document permission management method, apparatus and system | |
JP2005259126A (en) | Metered execution of code | |
CN103473142A (en) | Virtual machine transferring method and device under cloud computing operating system | |
CN102289463A (en) | Method for controlling user use capacity and proxy server | |
US20120246703A1 (en) | Email-based automated recovery action in a hosted environment | |
US9344435B2 (en) | Using a local authorization extension to provide access authorization for a module to access a computing system | |
Zong et al. | Robust l2− l∞ state feedback control for uncertain discrete‐time switched systems with mode‐dependent time‐varying delays | |
CN105930226B (en) | A kind of data processing method and device | |
CN108924086A (en) | A kind of host information acquisition method based on TSM Security Agent | |
CN113689005A (en) | Enhanced transverse federated learning method and device | |
CN110896489B (en) | Authentication method, device, equipment and storage medium | |
CN114598520B (en) | Method, device, equipment and storage medium for controlling resource access | |
CN113127921A (en) | Method, electronic device and computer program product for data management | |
CN116090015B (en) | Intelligent authority application management system and method based on big data | |
KR102165272B1 (en) | Method and server for managing data stored in block chain | |
CN103023943A (en) | Method, device and terminal equipment for task processing | |
KR101658064B1 (en) | System for preventing financial fraud transaction | |
CN102495987A (en) | Method and system for local confidence breach preventing access to electronic information | |
CN104853231B (en) | Information processing method, equipment and system | |
CN113966590A (en) | Site session termination method, device, terminal equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20111221 |