CN115242814A - Cloud space storage amount distribution method, device and medium based on idle storage amount - Google Patents

Cloud space storage amount distribution method, device and medium based on idle storage amount Download PDF

Info

Publication number
CN115242814A
CN115242814A CN202210679766.1A CN202210679766A CN115242814A CN 115242814 A CN115242814 A CN 115242814A CN 202210679766 A CN202210679766 A CN 202210679766A CN 115242814 A CN115242814 A CN 115242814A
Authority
CN
China
Prior art keywords
cloud space
storage amount
storage
target cloud
determining
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
Application number
CN202210679766.1A
Other languages
Chinese (zh)
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 Yliyun Technology Co ltd
Original Assignee
Shenzhen Yliyun 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 Yliyun Technology Co ltd filed Critical Shenzhen Yliyun Technology Co ltd
Priority to CN202210679766.1A priority Critical patent/CN115242814A/en
Publication of CN115242814A publication Critical patent/CN115242814A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

The invention discloses a cloud space storage amount distribution method, a device and a medium based on idle storage amount, wherein the method comprises the following steps: determining a target cloud space and determining the storage capacity of the target cloud space; determining a threshold to be optimized according to a numerical relation between the storage capacity and a preset storage capacity, wherein when the storage capacity of the target cloud space is greater than or equal to the preset storage capacity, a preset first percentage is used as the threshold to be optimized, and when the storage capacity of the target cloud space is less than the preset storage capacity, a preset second percentage is used as the threshold to be optimized; acquiring the maximum utilization rate of a target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to a threshold value to be optimized; and when the maximum utilization rate is less than or equal to the threshold to be optimized, reallocating the storage capacity of the target cloud space. The invention improves the utilization rate of the cloud space.

Description

Cloud space storage amount distribution method, device and medium based on idle storage amount
Technical Field
The invention relates to the technical field of data processing, in particular to a cloud space storage amount distribution method, a cloud space storage amount distribution device and a cloud space storage amount distribution medium based on idle storage amounts.
Background
Cloud space is being adopted by more and more enterprises due to its characteristics of flexibility, simplicity, high availability, and the like. With the popularization of cloud space, cloud space management becomes an indispensable technology in the storage field at present. For an existing cloud storage mode, cloud space with the same storage capacity is often allocated for different users. In the cloud space, the idle storage is often in an idle state for a long time, so that the utilization rate of the cloud space is low due to the existing cloud storage mode.
Disclosure of Invention
The embodiment of the invention provides a cloud space storage amount distribution method, a device and a medium based on idle storage amount, and aims to solve the technical problem of how to improve the utilization rate of cloud space.
The embodiment of the invention provides a cloud space storage amount distribution method based on idle storage amount, which comprises the following steps:
determining a target cloud space and determining the storage capacity of the target cloud space;
determining a threshold to be optimized according to a numerical relation between the storage amount and a preset storage amount, wherein when the storage amount of the target cloud space is greater than or equal to the preset storage amount, a preset first percentage is used as the threshold to be optimized, and when the storage amount of the target cloud space is less than the preset storage amount, a preset second percentage is used as the threshold to be optimized;
acquiring the maximum utilization rate of the target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to the threshold value to be optimized;
and when the maximum utilization rate is less than or equal to the threshold value to be optimized, reallocating the storage capacity of the target cloud space.
In one embodiment, the step of determining the target cloud space and the storage amount of the target cloud space comprises:
acquiring a cloud space corresponding to each user;
and determining the target cloud space with the idle storage capacity being more than or equal to the preset storage capacity in the cloud space, and determining the storage capacity of the target cloud space.
In an embodiment, the step of reallocating the storage amount of the target cloud space when the maximum usage rate is less than or equal to the threshold to be optimized includes:
when the maximum utilization rate is less than or equal to the threshold to be optimized, acquiring a utilization rate curve corresponding to the target cloud space in the preset time period;
determining distribution proportion according to the utilization rate curve;
determining a target idle storage amount corresponding to the distribution proportion in the target cloud space;
and re-partitioning the target idle storage amount to redistribute the storage amount of the target cloud space.
In one embodiment, the step of determining the distribution ratio according to the usage ratio curve includes:
when the usage rate curve is in a linear increasing trend, the distribution ratio is set to 0.
In an embodiment, after the step of reallocating the storage amount of the target cloud space when the maximum usage rate is less than or equal to the threshold to be optimized, the method further includes:
when the idle storage amount of the target cloud space is detected to be smaller than the preset minimum storage amount, the storage amount of the target cloud space is redistributed so that the storage amount of the target cloud space reaches a standard storage amount, and the standard storage amount is the storage amount displayed by a client interface.
In an embodiment, after the step of reallocating the storage amount of the target cloud space when it is detected that the idle storage amount of the target cloud space is less than the preset minimum storage amount, the method further includes:
when the ratio of the idle storage capacity of the target cloud space to the standard storage capacity is lower than a preset percentage, outputting prompt information for improving the storage capacity of the cloud space to a client corresponding to the target cloud space;
and when a promotion request which is sent by the client and allows the cloud space storage capacity to be promoted is received, updating the standard storage capacity of the target cloud space according to the promotion request.
In an embodiment, after the step of reallocating the storage amount of the target cloud space when it is detected that the idle storage amount of the target cloud space is less than a preset minimum storage amount, the method further includes:
when a promotion request which is sent by the client and allows the cloud space storage to be promoted is received, determining storage increment according to the promotion request;
and updating the standard storage of the target cloud space according to the storage increment.
In one embodiment, a cloud space corresponding to each user is obtained;
determining a cloud space to be screened, in which the idle storage capacity is greater than or equal to a preset storage capacity, in the cloud space;
and determining the target cloud space with the idle storage volume percentage smaller than a preset percentage in the cloud space to be screened, and determining the storage volume of the target cloud space.
The embodiment of the invention also provides a cloud space storage amount distribution device based on the idle storage amount, which comprises: the cloud space storage amount allocation method based on the idle storage amount comprises the following steps of a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the steps of the cloud space storage amount allocation method based on the idle storage amount.
An embodiment of the present invention further provides a medium, where a computer program is stored on the medium, and when the computer program is executed by a processor, the method implements each step of the cloud space storage amount allocation method based on the idle storage amount.
In the technical scheme of the embodiment, a cloud space storage amount distribution device based on idle storage amount determines a target cloud space and determines the storage amount of the target cloud space; determining a threshold to be optimized according to a numerical relation between the storage amount and a preset storage amount, wherein when the storage amount of the target cloud space is greater than or equal to the preset storage amount, a preset first percentage is used as the threshold to be optimized, and when the storage amount of the target cloud space is less than the preset storage amount, a preset second percentage is used as the threshold to be optimized; acquiring the maximum utilization rate of the target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to the threshold value to be optimized; and when the maximum utilization rate is less than or equal to the threshold value to be optimized, reallocating the storage capacity of the target cloud space. The cloud space storage allocation device based on the idle storage can determine the target cloud space, then determine the storage of the target cloud space, and then reallocate the idle storage of the cloud space according to the threshold to be optimized and the usage rule of the target cloud space in the preset time period, wherein the threshold to be optimized is determined by the storage of the target cloud space and the preset storage, and the maximum utilization rate of the preset time period is taken as the precondition for reallocation, so that the storage of the cloud space with the idle storage meeting a certain condition can be reallocated, and the utilization rate of the cloud space is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a hardware architecture of a cloud space storage amount allocation apparatus based on an idle storage amount according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first embodiment of a cloud space storage allocation method based on idle storage according to the present invention;
fig. 3 is a detailed flowchart of step S40 of the cloud space storage allocation method based on idle storage according to the second embodiment of the present invention;
fig. 4 is a flowchart illustrating a cloud space storage allocation method based on an idle storage according to a third embodiment of the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The main solution of the invention is: 8230and 8230.
As an implementation manner, the cloud space storage allocation apparatus based on the idle storage may be as shown in fig. 1.
The embodiment scheme of the invention relates to a cloud space storage amount distribution device based on idle storage amount, which comprises the following components: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, a detection program may be included in the memory 103 as a medium; and the processor 101 may be configured to invoke the detection program stored in the memory 102 and perform the following operations:
determining a target cloud space and determining the storage capacity of the target cloud space;
determining a threshold to be optimized according to a numerical relationship between the storage amount and a preset storage amount, wherein when the storage amount of the target cloud space is greater than or equal to the preset storage amount, a preset first percentage is used as the threshold to be optimized, and when the storage amount of the target cloud space is less than the preset storage amount, a preset second percentage is used as the threshold to be optimized;
acquiring the maximum utilization rate of the target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to the threshold value to be optimized;
and when the maximum utilization rate is less than or equal to the threshold value to be optimized, reallocating the storage capacity of the target cloud space.
In one embodiment, the processor 101 may be configured to invoke a computer program stored in the memory 102 and perform the following operations:
acquiring a cloud space corresponding to each user;
and determining the target cloud space with the idle storage capacity being more than or equal to the preset storage capacity in the cloud space, and determining the storage capacity of the target cloud space.
In one embodiment, the processor 101 may be configured to invoke a computer program stored in the memory 102 and perform the following operations:
when the maximum utilization rate is less than or equal to the threshold to be optimized, acquiring a utilization rate curve corresponding to the target cloud space in the preset time period;
determining distribution proportion according to the utilization rate curve;
determining a target idle storage amount corresponding to the distribution proportion in the target cloud space;
and re-partitioning the target idle storage amount to redistribute the storage amount of the target cloud space.
In one embodiment, the processor 101 may be configured to invoke a computer program stored in the memory 102 and perform the following operations:
when the usage rate curve is in a linear increasing trend, the distribution ratio is set to 0.
In one embodiment, the processor 101 may be configured to invoke a computer program stored in the memory 102 and perform the following operations:
when the fact that the idle storage amount of the target cloud space is smaller than the preset minimum storage amount is detected, the storage amount of the target cloud space is redistributed, so that the storage amount of the target cloud space reaches a standard storage amount, and the standard storage amount is the storage amount displayed by a client interface.
In one embodiment, the processor 101 may be configured to invoke a computer program stored in the memory 102 and perform the following operations:
when a promotion request which is sent by the client and allows the cloud space storage to be promoted is received, determining storage increment according to the promotion request;
and updating the standard storage of the target cloud space according to the storage increment.
When the ratio of the idle storage capacity of the target cloud space to the standard storage capacity is lower than a preset percentage, outputting prompt information for improving the storage capacity of the cloud space to a client corresponding to the target cloud space;
and when a promotion request which is sent by the client and allows the cloud space storage capacity to be promoted is received, updating the standard storage capacity of the target cloud space according to the promotion request.
In one embodiment, the processor 101 may be configured to invoke a computer program stored in the memory 102 and perform the following operations:
acquiring a cloud space corresponding to each user;
determining a cloud space to be screened, of which the idle storage capacity is greater than or equal to a preset storage capacity, in the cloud space;
and determining the target cloud space with the idle storage volume percentage smaller than a preset percentage in the cloud space to be screened, and determining the storage volume of the target cloud space.
In the technical scheme of the embodiment, a cloud space storage amount distribution device based on idle storage amount determines a target cloud space and determines the storage amount of the target cloud space; determining a threshold to be optimized according to a numerical relationship between the storage amount and a preset storage amount, wherein when the storage amount of the target cloud space is greater than or equal to the preset storage amount, a preset first percentage is used as the threshold to be optimized, and when the storage amount of the target cloud space is less than the preset storage amount, a preset second percentage is used as the threshold to be optimized; acquiring the maximum utilization rate of the target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to the threshold value to be optimized; and when the maximum utilization rate is less than or equal to the threshold to be optimized, reallocating the storage amount of the target cloud space. The cloud space storage allocation device based on the idle storage can determine the target cloud space, then determine the storage of the target cloud space, and then reallocate the idle storage of the cloud space according to the threshold to be optimized and the usage rule of the target cloud space in the preset time period, wherein the threshold to be optimized is determined by the storage of the target cloud space and the preset storage, and then the maximum utilization rate of the preset time period is combined to serve as the pre-condition of reallocation, so that the storage of the cloud space with the idle storage meeting a certain condition can be reallocated, and the utilization rate of the cloud space is improved.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, fig. 2 is a first embodiment of a cloud space storage amount allocation method based on an idle storage amount, and the method includes the following steps:
and S10, determining a target cloud space and determining the storage capacity of the target cloud space.
The cloud space refers to a data center constructed on a high-speed distributed storage network, and a large number of different types of storage devices in the network are integrated through application software to cooperatively work to form a safe data storage and access system, so that the cloud space is suitable for a series of requirements of data information storage, backup, filing and the like of various large, medium and small enterprises and individual users. Specifically, the cloud space is a concept extended and developed from a cloud computing concept, and a large number of storage devices of various types in a network are integrated and cooperatively work through application software through functions such as cluster application, a grid technology or a distributed file system, and a system for providing data storage and service access functions to the outside is provided. When the core of the operation and processing of the cloud computing system is the storage and management of a large amount of data, a large amount of storage devices need to be configured in the cloud computing system, and then the cloud computing system is converted into a cloud space system, so that the cloud space is the cloud computing system taking the data storage and management as the core.
In this embodiment, the target cloud space is an execution target of the cloud space storage allocation method based on the idle storage in this embodiment, where the target cloud space may be determined in a cloud space of an existing user. The cloud space of the user refers to the cloud space corresponding to the registered cloud office account.
Optionally, a cloud space corresponding to each user is obtained; and determining the target cloud space with the idle storage capacity being more than or equal to the preset storage capacity in the cloud space, and determining the storage capacity of the target cloud space.
Optionally, a cloud space corresponding to each user is obtained; determining a cloud space to be screened, of which the idle storage capacity is greater than or equal to a preset storage capacity, in the cloud space; and determining the target cloud space with the idle storage volume percentage smaller than a preset percentage in the cloud space to be screened, and determining the storage volume of the target cloud space. The target cloud space is determined based on the size and percentage of the idle storage, and the target cloud space suitable for reallocating the storage can be determined in the cloud space.
And step S20, determining a threshold to be optimized according to the numerical relationship between the storage amount and a preset storage amount, wherein when the storage amount of the target cloud space is greater than or equal to the preset storage amount, a preset first percentage is used as the threshold to be optimized, and when the storage amount of the target cloud space is less than the preset storage amount, a preset second percentage is used as the threshold to be optimized.
In this embodiment, considering that the storage amount of the cloud space is only reallocated according to the size of the idle storage amount, a part of the cloud space with large storage amount also enters the reallocated rank, so that the precondition of the reallocation is unreasonable, for example: the idle storage of cloud space a is 1T, but only one percent of its storage. Therefore, the threshold to be optimized is added as a precondition for reallocation, and the threshold to be optimized is used for judging whether the target cloud space meets the reallocation condition according to the fact that the idle storage amount is, so that the reallocation mode can be more reasonable.
Step S30, obtaining the maximum utilization rate of the target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to the threshold value to be optimized.
In this embodiment, the maximum utilization rate of the preset time period is used to represent the usage rule of the cloud space, and when the used storage amount of the target cloud space is lower than the maximum utilization rate for a long time, the idle storage amount of the cloud space is considered to be idle for a long time and can be used as a target for reallocation. By introducing the threshold to be optimized, whether the target cloud space meets the redistributed expected objects can be judged.
And S40, when the maximum utilization rate is less than or equal to the threshold value to be optimized, redistributing the storage amount of the target cloud space.
In the technical scheme of the embodiment, a cloud space storage allocation device based on idle storage determines a target cloud space and determines the storage of the target cloud space; determining a threshold to be optimized according to a numerical relationship between the storage amount and a preset storage amount, wherein when the storage amount of the target cloud space is greater than or equal to the preset storage amount, a preset first percentage is used as the threshold to be optimized, and when the storage amount of the target cloud space is less than the preset storage amount, a preset second percentage is used as the threshold to be optimized; acquiring the maximum utilization rate of the target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to the threshold value to be optimized; and when the maximum utilization rate is less than or equal to the threshold value to be optimized, reallocating the storage capacity of the target cloud space. The cloud space storage allocation device based on the idle storage can determine the target cloud space, then determine the storage of the target cloud space, and then reallocate the idle storage of the cloud space according to the threshold to be optimized and the usage rule of the target cloud space in the preset time period, wherein the threshold to be optimized is determined by the storage of the target cloud space and the preset storage, and the maximum utilization rate of the preset time period is taken as the precondition for reallocation, so that the storage of the cloud space with the idle storage meeting a certain condition can be reallocated, and the utilization rate of the cloud space is improved.
Referring to fig. 3, fig. 3 is a second embodiment of the cloud space storage amount allocation method based on the idle storage amount, and based on the first embodiment, step S40 includes:
step S41, when the maximum utilization rate is less than or equal to the threshold to be optimized, obtaining a utilization rate curve corresponding to the target cloud space in the preset time period.
In this embodiment, the usage rate is expressed in percentage, and the usage rate curve is used to characterize the usage rate versus time.
And S42, determining the distribution ratio according to the utilization rate curve.
And S43, determining a target idle storage amount corresponding to the distribution proportion in the target cloud space.
In this embodiment, different distribution ratios are determined according to the types of the usage rate curves, and then the storage amount of the target cloud space corresponding to the distribution ratio is reallocated, for example: when the usage curve is type a and the idle storage amount is 5 percent, 90 percent of the target cloud space is used as the allocation proportion.
Optionally, when the usage rate curve is in a linear increasing trend, the distribution ratio is set to 0.
And step S44, carrying out repartitioning on the target idle storage space so as to redistribute the storage space of the target cloud space.
In the technical scheme of the embodiment, the idle storage used for redistribution is determined according to the utilization rate curve, the size of the redistributed storage can be judged based on the trend of the rule that the user uses the cloud space storage at present, the cloud space idle storage of the user with linear demand on the storage can be effectively prevented from being redistributed, and the intelligent degree of cloud space storage distribution is improved.
Referring to fig. 4, fig. 4 is a third embodiment of the cloud space storage allocation method based on idle storage according to the present invention, and based on any one of the first to second embodiments, after step S40, the method includes:
and S50, when detecting that the idle storage amount of the target cloud space is smaller than a preset minimum storage amount, reallocating the storage amount of the target cloud space so that the storage amount of the target cloud space reaches a standard storage amount, wherein the standard storage amount is the storage amount displayed by a client interface.
In this embodiment, the standard storage amount is a storage amount of a cloud space allocated to a user, and belongs to a storage amount approved by a service party and a user party. And when the idle storage amount of the cloud space is lower than the preset minimum storage amount, the storage amount of the cloud space after being redistributed is readjusted back to the standard storage amount.
Optionally, when it is detected that the ratio of the idle storage capacity of the target cloud space to the standard storage capacity is lower than a preset percentage, outputting a prompt message for promoting the storage capacity of the cloud space to a client corresponding to the target cloud space; and when a promotion request which is sent by the client and allows the cloud space storage capacity to be promoted is received, updating the standard storage capacity of the target cloud space according to the promotion request.
Optionally, when a promotion request which is sent by the client and allows the cloud space storage to be promoted is received, a storage increment is determined according to the promotion request; and updating the standard storage of the target cloud space according to the storage increment.
In the technical scheme of the embodiment, whether the idle storage amount of the target cloud space is reduced to the standard storage amount is judged according to the size of the idle storage amount of the target cloud space, and the storage amount of the target cloud space can be recalled in time according to the requirement of the user on the storage amount after the storage amount of the target cloud space of the user is reduced. Furthermore, when the storage amount of the target cloud space is lower than the preset percentage, a user can be prompted to upgrade the cloud space, so that the maximum storage amount of the target cloud space is increased, and the function of timely reminding that the storage amount of the target cloud space is insufficient is achieved.
In order to achieve the above object, an embodiment of the present invention further provides a cloud space storage amount allocation apparatus based on an idle storage amount, where the cloud space storage amount allocation apparatus based on the idle storage amount includes: the cloud space storage amount allocation method based on the idle storage amount comprises the following steps of a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the steps of the cloud space storage amount allocation method based on the idle storage amount.
In order to achieve the above object, an embodiment of the present invention further provides a medium, where a computer program is stored on the medium, and when the computer program is executed by a processor, the steps of the cloud space storage amount allocation method based on idle storage amount as described above are implemented.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program embodied on one or more computer-usable media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A cloud space storage amount distribution method based on idle storage amounts is characterized by comprising the following steps:
determining a target cloud space and determining the storage capacity of the target cloud space;
determining a threshold to be optimized according to a numerical relationship between the storage amount and a preset storage amount, wherein when the storage amount of the target cloud space is greater than or equal to the preset storage amount, a preset first percentage is used as the threshold to be optimized, and when the storage amount of the target cloud space is less than the preset storage amount, a preset second percentage is used as the threshold to be optimized;
acquiring the maximum utilization rate of the target cloud space in a preset time period, and determining whether the maximum utilization rate is less than or equal to the threshold to be optimized;
and when the maximum utilization rate is less than or equal to the threshold value to be optimized, reallocating the storage capacity of the target cloud space.
2. The method according to claim 1, wherein the step of determining the target cloud space and determining the storage amount of the target cloud space comprises:
acquiring a cloud space corresponding to each user;
and determining the target cloud space with the idle storage capacity being more than or equal to the preset storage capacity in the cloud space, and determining the storage capacity of the target cloud space.
3. The method according to claim 1, wherein the step of reallocating the storage amount of the target cloud space when the maximum usage rate is less than or equal to the threshold to be optimized comprises:
when the maximum utilization rate is less than or equal to the threshold to be optimized, acquiring a utilization rate curve corresponding to the target cloud space in the preset time period;
determining distribution proportion according to the utilization rate curve;
determining a target idle storage amount corresponding to the distribution proportion in the target cloud space;
and re-partitioning the target idle storage amount to redistribute the storage amount of the target cloud space.
4. The method for allocating cloud space storage according to claim 3, wherein said step of determining an allocation ratio according to said usage rate curve comprises:
when the usage rate curve is in a linear increasing trend, the distribution ratio is set to 0.
5. The method according to claim 1, wherein after the step of reallocating the storage amount of the target cloud space when the maximum usage rate is less than or equal to the threshold to be optimized, the method further comprises:
when the fact that the idle storage amount of the target cloud space is smaller than the preset minimum storage amount is detected, the storage amount of the target cloud space is redistributed, so that the storage amount of the target cloud space reaches a standard storage amount, and the standard storage amount is the storage amount displayed by a client interface.
6. The cloud space storage amount allocation method based on idle storage amount according to claim 5, wherein after the step of reallocating the storage amount of the target cloud space when it is detected that the idle storage amount of the target cloud space is smaller than the preset minimum storage amount, the method further comprises:
when the ratio of the idle storage capacity of the target cloud space to the standard storage capacity is lower than a preset percentage, outputting prompt information for improving the storage capacity of the cloud space to a client corresponding to the target cloud space;
and when a promotion request which is sent by the client and allows the cloud space storage capacity to be promoted is received, updating the standard storage capacity of the target cloud space according to the promotion request.
7. The cloud space storage amount allocation method based on idle storage amount according to claim 6, wherein after the step of reallocating the storage amount of the target cloud space when detecting that the idle storage amount of the target cloud space is less than the preset minimum storage amount, the method further comprises:
when a promotion request which is sent by the client and allows the cloud space storage to be promoted is received, determining storage increment according to the promotion request;
and updating the standard storage amount of the target cloud space according to the storage amount increment.
8. The method according to claim 1, wherein the step of determining the target cloud space and determining the storage amount of the target cloud space comprises:
acquiring a cloud space corresponding to each user;
determining a cloud space to be screened, of which the idle storage capacity is greater than or equal to a preset storage capacity, in the cloud space;
and determining the target cloud space with the idle storage volume percentage smaller than a preset percentage in the cloud space to be screened, and determining the storage volume of the target cloud space.
9. A cloud space storage amount distribution device based on an idle storage amount is characterized by comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for cloud space storage allocation based on spare storage according to any of claims 1 to 8 when executing the computer program.
10. A medium, characterized in that the medium has a computer program stored thereon, and the computer program when executed by a processor implements the steps of the method for allocating cloud space storage amount based on spare storage amount according to any one of claims 1 to 8.
CN202210679766.1A 2022-06-16 2022-06-16 Cloud space storage amount distribution method, device and medium based on idle storage amount Pending CN115242814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210679766.1A CN115242814A (en) 2022-06-16 2022-06-16 Cloud space storage amount distribution method, device and medium based on idle storage amount

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210679766.1A CN115242814A (en) 2022-06-16 2022-06-16 Cloud space storage amount distribution method, device and medium based on idle storage amount

Publications (1)

Publication Number Publication Date
CN115242814A true CN115242814A (en) 2022-10-25

Family

ID=83668676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210679766.1A Pending CN115242814A (en) 2022-06-16 2022-06-16 Cloud space storage amount distribution method, device and medium based on idle storage amount

Country Status (1)

Country Link
CN (1) CN115242814A (en)

Similar Documents

Publication Publication Date Title
US10558498B2 (en) Method for scheduling data flow task and apparatus
US8726290B2 (en) System and/or method for balancing allocation of data among reduce processes by reallocation
US10572285B2 (en) Method and apparatus for elastically scaling virtual machine cluster
WO2021159638A1 (en) Method, apparatus and device for scheduling cluster queue resources, and storage medium
CN110413412B (en) GPU (graphics processing Unit) cluster resource allocation method and device
CN106874100B (en) Computing resource allocation method and device
CN110543352B (en) Task allocation method of scheduling system and related device thereof
CN111435354A (en) Data export method and device, storage medium and electronic equipment
CN106775975B (en) Process scheduling method and device
CN109347982A (en) A kind of dispatching method and device of data center
CN113672375B (en) Resource allocation prediction method, device, equipment and storage medium
CN110413393B (en) Cluster resource management method and device, computer cluster and readable storage medium
CN109462663B (en) Method for limiting system resource occupation, voice interaction system and storage medium
CN114860449A (en) Data processing method, device, equipment and storage medium
CN112860387A (en) Distributed task scheduling method and device, computer equipment and storage medium
CN115242814A (en) Cloud space storage amount distribution method, device and medium based on idle storage amount
CN107391262B (en) Job scheduling method and device
WO2017133421A1 (en) Method and device for sharing resources among multiple tenants
CN115016890A (en) Virtual machine resource allocation method and device, electronic equipment and storage medium
CN109901931B (en) Reduction function quantity determination method, device and system
CN109412973B (en) Audio processing method and device and storage medium
CN114253688A (en) Method and application for rescheduling application load in cloud environment
CN115391042B (en) Resource allocation method and device, electronic equipment and storage medium
CN111290850B (en) Data storage method, device and equipment
CN110750358B (en) Super computing platform resource utilization rate analysis method

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