CN110752941B - QOS control method and device of cloud storage system, storage medium and server - Google Patents

QOS control method and device of cloud storage system, storage medium and server Download PDF

Info

Publication number
CN110752941B
CN110752941B CN201910840663.7A CN201910840663A CN110752941B CN 110752941 B CN110752941 B CN 110752941B CN 201910840663 A CN201910840663 A CN 201910840663A CN 110752941 B CN110752941 B CN 110752941B
Authority
CN
China
Prior art keywords
qos
storage system
cloud storage
qos control
user account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910840663.7A
Other languages
Chinese (zh)
Other versions
CN110752941A (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.)
Shenzhen Ping An Communication Technology Co Ltd
Original Assignee
Shenzhen Ping An Communication 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 Shenzhen Ping An Communication Technology Co Ltd filed Critical Shenzhen Ping An Communication Technology Co Ltd
Priority to CN201910840663.7A priority Critical patent/CN110752941B/en
Publication of CN110752941A publication Critical patent/CN110752941A/en
Application granted granted Critical
Publication of CN110752941B publication Critical patent/CN110752941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of computers, and provides a QOS control method and device of a cloud storage system, a storage medium and a server. The QOS control method comprises the following steps: acquiring a user account currently logged in a cloud storage system; searching a QOS control strategy corresponding to the user grade of the user account from a pre-constructed database; constructing a constraint condition of a QOS parameter according to the current system time, the current performance state of the cloud storage system or the historical record of the user account accessing the cloud storage system; and if all the QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all the QOS parameters adopted by the QOS control of the cloud storage system to the values set in the QOS control strategy. Through the setting, the corresponding QOS control strategy can be selected and executed according to the user grade of the user, so that the requirements of different users are met, and the flexibility of QOS control of the cloud storage system is improved.

Description

QOS control method and device of cloud storage system, storage medium and server
Technical Field
The invention relates to the technical field of computers, in particular to a QOS control method and device of a cloud storage system, a storage medium and a server.
Background
With the rapid development and wide use of cloud storage systems, many enterprise developers and individual users migrate important data from traditional storage to the cloud storage systems for storage, and the stability of the cloud storage systems also becomes a focus of attention of the enterprise developers and the individual users.
In order to improve the Service stability Of the cloud storage system and the user experience, some QOS (Quality Of Service) control strategies need to be formulated, such as the limitation on the maximum connection number and the maximum concurrency number Of the bucket end and the setting Of the file download speed limit; the limitation of the maximum connection number and the maximum concurrency number which are set aiming at the client IP and the setting of the file downloading speed limit; or the limitation of the maximum connection number and the maximum concurrency number set for the request of the user operation under the bucket.
Currently, QOS control of cloud storage systems is typically implemented by relying on adding configuration on the nginx proxy server. However, the QOS control method has poor flexibility, for example, only one control strategy can be configured each time, and QOS control requirements of different users cannot be met.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a storage medium, and a server for QOS control of a cloud storage system, which can provide a corresponding QOS control policy for a user in a targeted manner, so as to meet requirements of different users and improve flexibility of QOS control of the cloud storage system.
In a first aspect of the embodiments of the present invention, a QOS control method for a cloud storage system is provided, including:
acquiring a user account currently logged in a cloud storage system;
searching a quality of service (QOS) control strategy corresponding to the user grade of the user account from a pre-constructed database;
constructing a constraint condition of a QOS parameter according to the current system time, the current performance state of the cloud storage system or the historical record of the user account accessing the cloud storage system;
and if all the QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all the QOS parameters adopted by the QOS control of the cloud storage system to the values set in the QOS control strategy.
In a second aspect of the embodiments of the present invention, a QOS control apparatus for a cloud storage system is provided, including:
the user account acquisition module is used for acquiring a user account currently logged in the cloud storage system;
the control strategy searching module is used for searching a quality of service (QOS) control strategy corresponding to the user grade of the user account from a pre-constructed database;
the constraint condition construction module is used for constructing a constraint condition of the QOS parameter according to the current system time, the current performance state of the cloud storage system or the historical record of the user account accessing the cloud storage system;
And the QOS control module is used for adjusting each QOS parameter adopted by the QOS control of the cloud storage system to a value set in the QOS control strategy if each QOS parameter set by the QOS control strategy meets the constraint condition.
In a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where computer-readable instructions are stored, and when executed by a processor, the computer-readable instructions implement the steps of the QOS control method for a cloud storage system as set forth in the first aspect of the embodiments of the present invention.
In a fourth aspect of the embodiments of the present invention, a server is provided, which includes a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, and when the processor executes the computer readable instructions, the steps of the QOS control method of a cloud storage system according to the first aspect of the embodiments of the present invention are implemented.
The QOS control method of the cloud storage system provided by the embodiment of the invention comprises the following steps: acquiring a user account currently logged in a cloud storage system; searching a QOS control strategy corresponding to the user grade of the user account from a pre-constructed database; constructing a constraint condition of a QOS parameter according to the current system time, the current performance state of the cloud storage system or the historical record of the user account accessing the cloud storage system; and if all the QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all the QOS parameters adopted by the QOS control of the cloud storage system to the values set in the QOS control strategy. By the arrangement, the corresponding QOS control strategy can be selected and executed according to the user grade of the user, so that the requirements of different users are met, the flexibility of QOS control of the cloud storage system is improved, a proper constraint condition can be constructed according to the state of the current cloud storage system, such as system time, performance state or historical records accessed by the user, the QOS parameter in the QOS control strategy is determined or adjusted by taking the constraint condition as a standard, the obtained QOS control strategy is suitable for the current cloud storage system, and the scientificity and practicability of establishing the QOS control strategy are embodied.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a QOS control method of a cloud storage system according to a first embodiment of the present invention;
fig. 2 is a flowchart of a QOS control method of a cloud storage system according to a second embodiment of the present invention;
fig. 3 is a structural diagram of an embodiment of a QOS control apparatus of a cloud storage system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a server according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a QOS control method, a device, a storage medium and a server of a cloud storage system, which can pointedly provide a corresponding QOS control strategy for a user so as to meet the requirements of different users and improve the flexibility of QOS control of the cloud storage system.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a QOS control method of a cloud storage system according to a first embodiment of the present invention includes:
101. acquiring a user account currently logged in a cloud storage system;
firstly, acquiring a user account currently logging in the cloud storage system, namely identity information such as a user name, a user ID, a user category and the like used by a user currently accessing a cloud storage system server.
102. Searching a QOS control strategy corresponding to the user grade of the user account from a pre-constructed database;
after determining the user account currently logging in the cloud storage system, inquiring the user grade of the user account, wherein the user grade is a grade parameter which is pre-allocated to each user account by the system server and corresponds to each QOS control strategy. For example, the user account of the cloud storage system may be divided into 3 user levels, i.e., a primary user, a middle-level user, and a high-level user, where each user level corresponds to a different QOS control policy. And then, searching a QOS control strategy corresponding to the user level of the user account from a pre-constructed database, wherein the higher the user level is, the more system resources are distributed to the user by the corresponding QOS control strategy, for example, the upper limit of the file downloading rate is higher, the maximum connection number is more, and the like. Specifically, one or more QOS control policies can be respectively allocated to each user level in advance, the QOS control requirements of users of different categories are respectively met, and the relevant parameter information of the established QOS control policies and the association relation between the QOS control policies and the user levels can be stored in a data table.
Illustratively, a QOS control policy specifically restricts the value of each QOS parameter, for example, the maximum connection number of a packet is set to be 1000, the maximum concurrency number is 30, and the limited download rate of a file exceeding 10M is 1 Mbps; the maximum connection number of the client IP is 1000, the maximum concurrency number is 50, and the download rate of the file exceeds 20M and is limited to 1.5 Mbps; the maximum connection number of the user uploading request under the Bucket is 300, the maximum concurrency number is 50, the maximum connection number of the downloading request is 200, the maximum concurrency number is 30, the maximum connection number of the query request is 100, and the maximum concurrency number is 40.
103. Constructing a constraint condition of a QOS parameter according to the current system time, the current performance state of the cloud storage system or a historical record of the user account accessing the cloud storage system;
then, the server constructs constraints of QOS parameters according to the current system time, the current performance state of the cloud storage system, or the history of accessing the cloud storage system by the user account, and the constraints make certain limits on each QOS parameter set by the currently executed QOS control policy, such as that the file download rate cannot exceed 1.2Mbps, the maximum concurrency number cannot exceed 50, and the like.
Further, the constraint condition for constructing QOS parameters according to the current system time may include:
(1) determining a time period in which the current system time is;
(2) determining a limit value of each QOS parameter according to the time period;
(3) and constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
For example, if the current time is 14:00, the current time belongs to a time period of a download peak period of the cloud storage system, a limit value of each QOS parameter is set in the time period, then a constraint condition of the QOS parameter is constructed according to the limit value of each QOS parameter, for example, the upper limit of the download rate is set to 1Mbps, and then the constructed constraint condition is that the maximum download rate set by the QOS control policy must be less than or equal to 1 Mbps. In the actual operation, a comparison table can be constructed in advance, the comparison table records the corresponding relation between each QOS parameter limit value and each time period, after the time period of the current system time is determined, the comparison table is inquired to search the limit value of each QOS parameter corresponding to the time period, and then constraint conditions are constructed according to the searched limit value of each QOS parameter.
Further, the constraint condition for constructing QOS parameters according to the current performance state of the cloud storage system may include:
(1) Acquiring current performance state parameters of the cloud storage system;
(2) determining the limit value of each QOS parameter according to the performance state parameters;
(3) and constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
The current performance state parameter of the cloud storage system can be a current number of connected users, a current used bandwidth, an available bandwidth and other parameters. After the performance state parameters are acquired, limit values of some corresponding QOS parameters can be set according to the parameters, for example, an appropriate upper limit value of the download rate can be set according to the margin of the available bandwidth, and then a constraint condition that the maximum download rate set by the QOS control policy must be less than or equal to the appropriate upper limit value of the download rate is also constructed to ensure stable and reliable operation of the cloud storage system. In practical operation, another comparison table can be also constructed, the comparison table records the corresponding relationship between each QOS parameter limit value and each performance state parameter, after the current performance state parameter of the cloud storage system is determined, the comparison table is inquired to search the limit value of each QOS parameter corresponding to the current performance state parameter, and then constraint conditions are constructed according to the searched limit value of each QOS parameter.
Further, the constraint condition for constructing the QOS parameter according to the history of the user account accessing the cloud storage system may include:
(1) acquiring a historical record of the user account accessing the cloud storage system;
(2) counting the average downloading amount and the average downloading speed of the data downloaded from the cloud storage system by the user account according to the historical records;
(3) determining the limit value of each QOS parameter according to the average downloading amount and the average downloading speed;
(4) and constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
According to the history of the user account accessing the cloud storage system, the average downloading amount and the average downloading speed of the user can be obtained through statistics, the average downloading amount is the average value of the data amount downloaded by accessing the cloud storage system each time, and the average downloading speed is the average downloading speed when the user accesses the cloud storage system to download data. According to the average downloading amount and the average downloading speed, the limit value of the corresponding QOS parameter can be determined, for example, the upper limit value of the downloading rate can be determined in the following manner: if the average downloading amount exceeds a preset downloading amount, determining that the upper limit value of the downloading rate is a first multiple of the average downloading amount; if the average downloading amount does not exceed the preset downloading amount, determining that the upper limit value of the downloading rate is a second multiple of the average downloading amount; wherein the first multiple and the second multiple are constants greater than 1, and the first multiple is greater than the second multiple. Assuming that the preset download amount is 5GB and the average download speed is 1Mbps, if the average download amount exceeds 5GB, an average download speed with an upper limit value of 1.2 times, that is, 1.2Mbps, may be set in consideration of a certain margin, and then a constraint condition is constructed that the maximum download speed set by the QOS control policy must be less than or equal to 1.2 Mbps. If the average download amount does not exceed 5GB, the set margin can be appropriately reduced when the download amount is relatively small, for example, it can be considered to set the average download speed with the upper limit of the download rate being 1.1 times, that is, 1.1Mbps, and then construct a constraint condition that the maximum download rate set by the QOS control policy must be less than or equal to 1.1 Mbps. Through the arrangement, on the basis of meeting the downloading requirement of the user, the system resource allowance of the cloud storage system can be ensured to a certain extent, so that the stable and reliable operation of the cloud storage system is ensured.
It should be noted that, the above 3 ways of constructing the constraint conditions may be adopted individually or in combination, if they are adopted in combination, a plurality of constraint conditions may be generated, and in the subsequent operation, each QOS parameter of the QOS control policy must satisfy all the constraint conditions before being adopted and executed.
104. And if all the QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all the QOS parameters adopted by the QOS control of the cloud storage system to the values set in the QOS control strategy.
After the constraint condition of the QOS parameters is established, it is determined whether each QOS parameter set by the QOS control policy searched in step 102 meets the requirement of the constraint condition, and if all QOS parameters meet the requirement of the constraint condition, each QOS parameter used for QOS control of the cloud storage system is adjusted to a value set in the QOS control policy, that is, the cloud storage system is controlled to execute QOS control by using the QOS control policy. If more than one QOS parameter in each QOS parameter set by the QOS control strategy does not meet the constraint condition, the QOS control strategy is not suitable for execution at present, and at the moment, the cloud storage system can adopt a certain default QOS control strategy which is initially set to execute QOS control.
Specifically, the step of determining whether each QOS parameter set by the QOS control policy satisfies the constraint condition may include: extracting each QOS parameter of the QOS control strategy; and substituting each extracted QOS parameter into the constraint condition, and judging that each QOS parameter set by the QOS control strategy meets the constraint condition if each QOS parameter is established after being substituted into the constraint condition.
For example, a certain QOS control policy has 2 QOS parameters, which are the maximum concurrency number (30) and the upper limit of the file download rate (1.2Mbps), respectively, and the corresponding constraint conditions are that the maximum concurrency number is less than or equal to 50, and the file download rate is less than or equal to 2Mbps, then the constraint conditions are both satisfied after the two QOS parameters are respectively substituted, and at this time, it is determined that each QOS parameter set by the QOS control policy satisfies the constraint conditions. If the constraint condition is not satisfied after any one or more QOS parameters are substituted, it can be determined that the QOS parameters set by the QOS control policy do not satisfy the constraint condition.
After the QOS control strategy corresponding to the user grade is obtained, whether the QOS control strategy meets the constraint condition of the constructed QOS parameter needs to be judged, and the obtained QOS control strategy is executed when the constraint condition is met. Through the setting, the QOS control strategy adopted can be further standardized by combining the current system time, the current performance state of the cloud storage system and the actual downloading requirement of a user, the problems that the cloud storage system is unstable and cannot work normally due to unreasonable setting of the QOS control strategy are avoided, and the practicability is improved.
The QOS control method of the cloud storage system provided by the embodiment of the invention comprises the following steps: acquiring a user account currently logged in a cloud storage system; searching a QOS control strategy corresponding to the user grade of the user account from a pre-constructed database; constructing a constraint condition of a QOS parameter according to the current system time, the current performance state of the cloud storage system or the historical record of the user account accessing the cloud storage system; and if all the QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all the QOS parameters adopted by the QOS control of the cloud storage system to the values set in the QOS control strategy. By the arrangement, the corresponding QOS control strategy can be selected and executed according to the user level of the user, so that the requirements of different users are met, the flexibility of QOS control of the cloud storage system is improved, a proper constraint condition can be constructed according to the state of the current cloud storage system, such as system time, performance state or historical records accessed by the user, the QOS parameter in the QOS control strategy is determined or adjusted by taking the constraint condition as a standard, the obtained QOS control strategy is suitable for the current cloud storage system, and the scientificity and the practicability of establishing the QOS control strategy are embodied.
Referring to fig. 2, a QOS control method of a cloud storage system according to a second embodiment of the present invention includes:
201. acquiring a user account currently logged in a cloud storage system;
202. searching a QOS control strategy corresponding to the user grade of the user account from a pre-constructed database;
203. constructing a constraint condition of a QOS parameter according to the current system time, the current performance state of the cloud storage system or the historical record of the user account accessing the cloud storage system;
the steps 201-203 are the same as the steps 101-103, and the related description of the steps 101-103 can be referred to.
204. Judging whether each QOS parameter set by the QOS control strategy meets the constraint condition;
after the constraint condition of the QOS parameters is constructed, it is determined whether each QOS parameter set by the found QOS control policy meets the requirement of the constraint condition, if so, step 205 is executed, otherwise, step 206 and 207 are executed.
205. Adjusting each QOS parameter adopted by the QOS control of the cloud storage system to a value set in the QOS control strategy;
each QOS parameter set by the QOS control policy satisfies the constraint condition, and at this time, each QOS parameter used for QOS control of the cloud storage system is adjusted to a value set in the QOS control policy, and the specific description may refer to step 104.
206. Adjusting the value of the target QOS parameter to enable the adjusted target QOS parameter to meet the constraint condition;
207. and controlling the cloud storage system to execute QOS control by adopting the QOS control strategy after QOS parameters are adjusted.
If more than one target QOS parameter does not meet the constraint condition in each QOS parameter set by the QOS control strategy, adjusting the value of the target QOS parameter to ensure that the adjusted target QOS parameter meets the constraint condition, and finally controlling the cloud storage system to execute QOS control by adopting the QOS control strategy adjusted by the QOS parameter, namely correcting each QOS parameter adopted by the QOS control of the cloud storage system into the value set in the adjusted QOS control strategy.
For example, assume that the constraint condition requires a file download rate less than or equal to 2Mbps, and the QOS control policy sets a file download rate upper limit of 2.5Mbps, i.e., the file download rate (target QOS parameter) does not meet the requirement of the constraint condition. At this time, the upper limit value of the file downloading rate is adjusted according to the requirement of the constraint condition, for example, adjusted to 1.8Mbps, so that the adjusted numerical value meets the requirement of the constraint condition. And finally, controlling the cloud storage system to execute QOS control by adopting the QOS control strategy after QOS parameters are adjusted.
For the QOS control strategy of which the QOS parameters do not meet the constraint conditions, only one or a small part of the QOS parameters do not meet the requirement of the constraint conditions, the embodiment of the invention finds out the QOS parameters which do not meet the requirement of the constraint conditions and adjusts the QOS parameters, and the QOS control strategy can still be adopted and executed after the QOS parameters are adjusted, thereby further improving the practicability and the adaptability of the control method.
The QOS control method of the cloud storage system provided by the embodiment of the invention comprises the following steps: acquiring a user account currently logged in a cloud storage system; searching a QOS control strategy corresponding to the user grade of the user account from a pre-constructed database; constructing a constraint condition of a QOS parameter according to the current system time, the current performance state of the cloud storage system or the historical record of the user account accessing the cloud storage system; if all QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all QOS parameters adopted by the QOS control of the cloud storage system to values set in the QOS control strategy; if more than one target QOS parameters in the QOS parameters set by the QOS control strategy do not meet the constraint condition, adjusting the value of the target QOS parameters to enable the adjusted target QOS parameters to meet the constraint condition, and finally controlling the cloud storage system to execute QOS control by adopting the QOS control strategy adjusted by the QOS parameters. Compared with the first embodiment of the invention, the embodiment of the invention can find out and adjust the part of the QOS parameters which do not meet the requirement of the constraint condition in the QOS control strategy, and execute the QOS control strategy after the QOS parameters are adjusted, thereby further improving the practicability and the adaptability of the QOS control method.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The QOS control method of the cloud storage system is mainly described above, and a QOS control apparatus of the cloud storage system will be described below.
Referring to fig. 3, an embodiment of a QOS control apparatus of a cloud storage system according to an embodiment of the present invention includes:
the user account acquisition module 301 is configured to acquire a user account currently logged in the cloud storage system;
a control policy search module 302, configured to search a QOS control policy corresponding to the user level of the user account from a pre-constructed database;
a constraint condition construction module 303, configured to construct a constraint condition of a quality of service QOS parameter according to a current system time, a current performance state of the cloud storage system, or a history record of access to the cloud storage system by the user account;
a QOS control module 304, configured to adjust each QOS parameter used for QOS control of the cloud storage system to a value set in the QOS control policy if each QOS parameter set by the QOS control policy satisfies the constraint condition.
Optionally, the constraint building module may include:
a time period determining unit, configured to determine a time period in which the current system time is located;
a first limit value determining unit for determining limit values of the respective QOS parameters according to the time period;
and the first constraint condition construction unit is used for constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
Optionally, the constraint building module may include:
the state parameter acquiring unit is used for acquiring the current performance state parameter of the cloud storage system;
a second limit value determining unit, which is used for determining the limit value of each QOS parameter according to the performance state parameter;
and the second constraint condition construction unit is used for constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
Optionally, the constraint building module may include:
the history record acquisition unit is used for acquiring the history record of the user account accessing the cloud storage system;
the data statistics unit is used for counting the average downloading amount and the average downloading speed of the data downloaded from the cloud storage system by the user account according to the historical records;
A third limit value determining unit, configured to determine a limit value of each QOS parameter according to the average download amount and the average download speed;
and the third constraint condition construction unit is used for constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
Further, the limit value of each QOS parameter includes a download rate upper limit value, and the third limit value determining unit includes:
a first limit value determining subunit, configured to determine that the upper limit value of the download rate is a first multiple of the average download amount if the average download amount exceeds a preset download amount;
a second limit determining subunit, configured to determine that the upper limit of the download rate is a second multiple of the average download amount if the average download amount does not exceed the preset download amount;
wherein the first multiple and the second multiple are constants greater than 1, and the first multiple is greater than the second multiple.
Further, the QOS control apparatus of the cloud storage system may further include:
a QOS parameter adjusting module, configured to adjust a value of the target QOS parameter if more than one target QOS parameter does not satisfy the constraint condition exists in each QOS parameter set by the QOS control policy, so that the adjusted target QOS parameter satisfies the constraint condition;
And the QOS control module is used for controlling the cloud storage system to execute QOS control by adopting the QOS control strategy after QOS parameters are adjusted.
Embodiments of the present invention further provide a computer-readable storage medium, which stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the QOS control method of the cloud storage system shown in fig. 1 or fig. 2 are implemented.
Embodiments of the present invention further provide a server, which includes a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor executes the computer readable instructions to implement the steps of the QOS control method of the cloud storage system as shown in fig. 1 or fig. 2.
Fig. 4 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 4, the server 4 of this embodiment includes: a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and executable on the processor 40. The processor 40, when executing the computer readable instructions 42, implements the steps in the various QOS control method embodiments described above, such as steps 101-104 shown in fig. 1. Alternatively, the processor 40, when executing the computer readable instructions 42, implements the functions of the modules/units in the above device embodiments, such as the functions of the modules 301 to 304 shown in fig. 3.
Illustratively, the computer-readable instructions 42 may be partitioned into one or more modules/units, which are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer-readable instruction segments capable of performing certain functions, which are used to describe the execution of the computer-readable instructions 42 in the server 4.
The server 4 may be a computing device such as a smart phone, a notebook, a palm computer, and a cloud server. The server 4 may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a server 4 and does not constitute a limitation of server 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., server 4 may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a CentraL Processing Unit (CPU), other general purpose Processor, a DigitaL SignaL Processor (DSP), an AppLication Specific Integrated Circuit (ASIC), an off-the-shelf ProgrammabLe Gate Array (FPGA) or other ProgrammabLe logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the server 4, such as a hard disk or a memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure DigitaL (SD) Card, a FLash memory Card (FLash Card), or the like, provided on the server 4. Further, the memory 41 may also include both an internal storage unit of the server 4 and an external storage device. The memory 41 is used to store the computer readable instructions and other programs and data required by the server. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-OnLy Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A QOS control method of a cloud storage system is characterized by comprising the following steps:
acquiring a user account currently logged in a cloud storage system;
searching a quality of service (QOS) control strategy corresponding to the user grade of the user account from a pre-constructed database;
constructing a constraint condition of a QOS parameter according to a historical record of the user account accessing the cloud storage system;
if all QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all QOS parameters adopted by the QOS control of the cloud storage system to values set in the QOS control strategy;
wherein the constraint condition for constructing the QOS parameter according to the historical record of the user account accessing the cloud storage system comprises:
acquiring a historical record of the user account accessing the cloud storage system;
according to the historical records, counting the average downloading amount and the average downloading speed of the data downloaded from the cloud storage system by the user account;
determining the limit value of each QOS parameter according to the average downloading amount and the average downloading speed;
constructing the constraint condition of the QOS parameters according to the limit value of each QOS parameter;
the determining the limit value of each QOS parameter according to the average download amount and the average download speed includes:
If the average downloading amount exceeds a preset downloading amount, determining that the upper limit value of the downloading rate is a first multiple of the average downloading amount;
if the average downloading amount does not exceed the preset downloading amount, determining that the upper limit value of the downloading rate is a second multiple of the average downloading amount;
wherein the first multiple and the second multiple are constants greater than 1, and the first multiple is greater than the second multiple.
2. The QOS control method of claim 1, further comprising:
determining a time period in which the current system time is;
determining a limit value of each QOS parameter according to the time period;
and constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
3. The QOS control method of claim 1, further comprising:
acquiring current performance state parameters of the cloud storage system;
determining the limit value of each QOS parameter according to the performance state parameters;
and constructing the constraint conditions of the QOS parameters according to the limit values of all the QOS parameters.
4. The QOS control method of any of claims 1 to 3, further comprising, after constructing constraints for QOS parameters:
If more than one target QOS parameters in the QOS parameters set by the QOS control strategy do not satisfy the constraint condition, adjusting the numerical value of the target QOS parameters to ensure that the adjusted target QOS parameters satisfy the constraint condition;
and controlling the cloud storage system to execute QOS control by adopting the QOS control strategy after QOS parameters are adjusted.
5. A QOS control device of a cloud storage system is characterized by comprising:
the user account acquisition module is used for acquiring a user account currently logged in the cloud storage system;
the control strategy searching module is used for searching a service quality QOS control strategy corresponding to the user grade of the user account from a pre-constructed database;
the constraint condition construction module is used for constructing a constraint condition of a QOS parameter according to a historical record of the cloud storage system accessed by the user account;
a QOS control module, configured to adjust each QOS parameter used for QOS control of the cloud storage system to a value set in the QOS control policy if each QOS parameter set by the QOS control policy satisfies the constraint condition;
wherein the constraint condition construction module comprises:
the history record acquisition unit is used for acquiring the history record of the user account accessing the cloud storage system;
The data statistics unit is used for counting the average downloading amount and the average downloading speed of the data downloaded from the cloud storage system by the user account according to the historical records;
a third limit value determining unit, configured to determine a limit value of each QOS parameter according to the average download amount and the average download speed;
a third constraint condition construction unit, configured to construct constraint conditions of the QOS parameters according to the limit values of the QOS parameters;
the limit value of each QOS parameter includes a download rate upper limit value, and the third limit value determining unit includes:
a first limit value determining subunit, configured to determine that the upper limit value of the download rate is a first multiple of the average download amount if the average download amount exceeds a preset download amount;
a second limit determining subunit, configured to determine that the upper limit of the download rate is a second multiple of the average download amount if the average download amount does not exceed the preset download amount;
wherein the first multiple and the second multiple are constants greater than 1, and the first multiple is greater than the second multiple.
6. A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the steps of the QOS control method of a cloud storage system according to any one of claims 1 to 4.
7. A server comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor when executing the computer readable instructions performs the steps of:
acquiring a user account currently logged in a cloud storage system;
searching a quality of service (QOS) control strategy corresponding to the user grade of the user account from a pre-constructed database;
constructing a constraint condition of a QOS parameter according to a historical record of the user account accessing the cloud storage system;
if all QOS parameters set by the QOS control strategy meet the constraint conditions, adjusting all QOS parameters adopted by the QOS control of the cloud storage system to values set in the QOS control strategy;
wherein the constraint condition for constructing the QOS parameter according to the historical record of the user account accessing the cloud storage system comprises:
acquiring a historical record of the user account accessing the cloud storage system;
counting the average downloading amount and the average downloading speed of the data downloaded from the cloud storage system by the user account according to the historical records;
determining the limit value of each QOS parameter according to the average downloading amount and the average downloading speed;
Constructing the constraint condition of the QOS parameters according to the limit value of each QOS parameter;
the determining the limit value of each QOS parameter according to the average download amount and the average download speed includes:
if the average downloading amount exceeds a preset downloading amount, determining that the upper limit value of the downloading rate is a first multiple of the average downloading amount;
if the average downloading amount does not exceed the preset downloading amount, determining that the upper limit value of the downloading rate is a second multiple of the average downloading amount;
wherein the first multiple and the second multiple are constants greater than 1, and the first multiple is greater than the second multiple.
8. The server of claim 7, after constructing constraints for QOS parameters, further comprising:
if more than one target QOS parameters in the QOS parameters set by the QOS control strategy do not satisfy the constraint condition, adjusting the numerical value of the target QOS parameters to ensure that the adjusted target QOS parameters satisfy the constraint condition;
and controlling the cloud storage system to execute QOS control by adopting the QOS control strategy after QOS parameters are adjusted.
CN201910840663.7A 2019-09-06 2019-09-06 QOS control method and device of cloud storage system, storage medium and server Active CN110752941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910840663.7A CN110752941B (en) 2019-09-06 2019-09-06 QOS control method and device of cloud storage system, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910840663.7A CN110752941B (en) 2019-09-06 2019-09-06 QOS control method and device of cloud storage system, storage medium and server

Publications (2)

Publication Number Publication Date
CN110752941A CN110752941A (en) 2020-02-04
CN110752941B true CN110752941B (en) 2022-08-12

Family

ID=69276057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910840663.7A Active CN110752941B (en) 2019-09-06 2019-09-06 QOS control method and device of cloud storage system, storage medium and server

Country Status (1)

Country Link
CN (1) CN110752941B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115702B (en) * 2020-09-01 2024-04-30 中国电信股份有限公司 Storage control method, storage control device, storage system and storage medium
CN114791818B (en) * 2022-06-23 2022-10-28 苏州浪潮智能科技有限公司 Storage controller system update method, system, computer device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009074095A1 (en) * 2007-12-06 2009-06-18 Huawei Technologies Co., Ltd. A method, system and apparatus for adjusting users' quality of service
CN102170396A (en) * 2011-05-06 2011-08-31 浙江大学 QoS control method of cloud storage system based on differentiated service
CN103095846A (en) * 2013-02-02 2013-05-08 深圳先进技术研究院 A method and a system of user personalized scheduling of cloud calculation resources
CN103458452A (en) * 2012-05-29 2013-12-18 中兴通讯股份有限公司 Method and device for adjusting wireless resources
CN107800574A (en) * 2017-11-03 2018-03-13 郑州云海信息技术有限公司 Store QOS adjusting methods, system, equipment and computer-readable memory

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8631154B2 (en) * 2011-06-29 2014-01-14 International Business Machines Corporation Dynamically modifying quality of service levels for resources in a networked computing environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009074095A1 (en) * 2007-12-06 2009-06-18 Huawei Technologies Co., Ltd. A method, system and apparatus for adjusting users' quality of service
CN102170396A (en) * 2011-05-06 2011-08-31 浙江大学 QoS control method of cloud storage system based on differentiated service
CN103458452A (en) * 2012-05-29 2013-12-18 中兴通讯股份有限公司 Method and device for adjusting wireless resources
CN103095846A (en) * 2013-02-02 2013-05-08 深圳先进技术研究院 A method and a system of user personalized scheduling of cloud calculation resources
CN107800574A (en) * 2017-11-03 2018-03-13 郑州云海信息技术有限公司 Store QOS adjusting methods, system, equipment and computer-readable memory

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
严格服务等级约定的区分Web服务技术研究;杨勇勤等;《计算机学报》;20030812(第08期);全文 *

Also Published As

Publication number Publication date
CN110752941A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
US11601512B2 (en) System and method for throttling service requests having non-uniform workloads
CN110535777B (en) Access request control method and device, electronic equipment and readable storage medium
CN108965381B (en) Nginx-based load balancing implementation method and device, computer equipment and medium
US9419904B2 (en) System and method for throttling service requests using work-based tokens
US20130332516A1 (en) Polling protocol for automatic load limiting
CN110708256B (en) CDN scheduling method, CDN scheduling device, network equipment and storage medium
CN111478857B (en) Interface current limiting control method and device and electronic equipment
CN110752941B (en) QOS control method and device of cloud storage system, storage medium and server
CN111490963A (en) Data processing method, system, equipment and storage medium based on QUIC protocol stack
CN108989471A (en) The management method and device of log in network system
CN110784336A (en) Multi-device intelligent timing delay scene setting method and system based on Internet of things
US11444998B2 (en) Bit rate reduction processing method for data file, and server
US10579676B2 (en) Highly scalable fine grained rate limiting
WO2014138892A1 (en) Method and apparatus for peer-to-peer file sharing
CN114443581B (en) Download control method, device, equipment and storage medium
WO2023142351A1 (en) Weight adjustment method and apparatus, and storage medium and electronic apparatus
CN116166181A (en) Cloud monitoring method and cloud management platform
CN115515188A (en) Flow control method and device, electronic equipment and storage medium
US11334558B2 (en) Adaptive metadata refreshing
CN110636104B (en) Resource request method, electronic device and storage medium
CN113872871A (en) Network acceleration method and system
CN111182027A (en) Flow data distribution method and device based on novel architecture
CN113132324B (en) Sample identification method and system
JP6646340B2 (en) Dispersing apparatus and dispersing method
WO2017131674A1 (en) Managing network traffic using experiential capacity

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