CN110333953A - Data storage resource dispatching method and device - Google Patents

Data storage resource dispatching method and device Download PDF

Info

Publication number
CN110333953A
CN110333953A CN201910624435.6A CN201910624435A CN110333953A CN 110333953 A CN110333953 A CN 110333953A CN 201910624435 A CN201910624435 A CN 201910624435A CN 110333953 A CN110333953 A CN 110333953A
Authority
CN
China
Prior art keywords
storage
application
dilatation
storage group
target
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
CN201910624435.6A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910624435.6A priority Critical patent/CN110333953A/en
Publication of CN110333953A publication Critical patent/CN110333953A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/508Monitor

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a kind of data storage resource dispatching method and device, this method comprises: choosing several storage groups respectively as at least one corresponding storage group of application each in the target processing system in multiple storage groups that the memory capacity based on target processing system constructs in advance;Each utilization rate using itself corresponding each storage group is monitored respectively using preset dilatation condition;If knowing that there is currently the applications for meeting the dilatation condition through monitoring, capacity is then increased according to the target of the application and chooses at least one dilatation resource as the application in multiple candidate storage groups, wherein, the candidate storage group is that the storage group of corresponding relationship is currently not present with any application, it can be improved the degree of automation of data storage resource scheduling and improve the stability of application, and then improve the service efficiency of data storage resource.

Description

Data storage resource dispatching method and device
Technical field
This application involves storage resource technical field more particularly to a kind of data storage resource dispatching methods and device.
Background technique
The data storage resource distribution of host system is mainly completed by interactive storage management software with scheduling, general Storage resource distribution method is: before carrying out data set distribution, needing to write storage strategy, the data for specifying certain class application to be related to Collect title and corresponding storage group, is compiled and comes into force;The title of all storage groups needs in advance in interactive storage tube It is defined in reason software;It needs to estimate the capacity for needing to initialize disk storage resource according to the capacity of each application simultaneously, and The label of these disk volumes is defined into corresponding storage group, completes to distribute the memory capacity of the application.
In actual use, the above method frequently encounters following problem: estimating capacity and is largely higher than reality Using capacity, so that storage resource be caused to waste;Capacity is estimated lower than actual use capacity, so that using because of memory space inadequate And stops or report an error.For the first case, it is often necessary to stop application with recovery section storage resource;For second of feelings Condition needs timely manual intervention, re-starts Capacity Assessment, disk volume initialization and label and defines etc. and completes to deposit the application Store up resource capacity expansion.In fact, the recycling or reallocation of storage resource, equally face the gap problem estimated with actual use, no More manpower and time are only consumed, and influences being normally carried out for application.
Summary of the invention
For the problems of the prior art, present applicant proposes a kind of data storage resource dispatching method and devices, can It improves the degree of automation of data storage resource scheduling and improves the stability of application, and then improve making for data storage resource Use efficiency.
In order to solve the above-mentioned technical problem, the application the following technical schemes are provided:
In a first aspect, the application provides a kind of data storage resource dispatching method, comprising:
In multiple storage groups that the memory capacity based on target processing system constructs in advance, several storage components are chosen It Zuo Wei not each at least one corresponding storage group of application in the target processing system;Using preset dilatation condition to every A utilization rate using itself corresponding each storage group is monitored respectively;
If knowing through monitoring there is currently the application for meeting the dilatation condition, capacity is increased according to the target of the application At least one dilatation resource as the application is chosen in multiple candidate storage groups, wherein the candidate storage group is current The storage group of corresponding relationship is not present with any application.
Further, the data storage resource dispatching method, in described several storage groups of selection respectively as this In target processing system before each at least one corresponding storage group of application, further includes: according to target processing system Memory capacity, building include the storage group map of whole multiple storage groups constructed in advance;It is corresponding, described Increase capacity according to the target of the application and choose at least one dilatation resource as the application in multiple candidate storage groups, wraps It includes: capacity being increased according to the target of the application for meeting preset dilatation condition, chooses and corresponds in the storage group map Dilatation resource of at least one candidate storage group as the application.
Further, described that capacity is increased according to the target of the application for meeting preset dilatation condition, it is deposited described Dilatation resource of at least one the corresponding candidate storage group as the application is chosen in storage group map, comprising: according to the satisfaction Storage group distribution condition, service condition and the preset dilatation threshold value of the application of preset dilatation condition obtain the target application Target increases capacity;According to the target increase capacity, chosen in the storage group map it is corresponding at least one alternatively deposit Dilatation resource of the storage group as the application.
Further, described several storage groups of selection are respectively corresponding respectively as application each in the target processing system At least one storage group, comprising: according to the corresponding storage strategy of preset each application, choose several storages Group is respectively as at least one corresponding storage group of application each in the target processing system;It is corresponding, at described When choosing at least one dilatation resource as the application in multiple candidate storage groups according to the target increase capacity of the application Or later, further includes: corresponding modification be assigned after dilatation resource using the corresponding storage strategy.
Further, described several storage groups of selection are respectively corresponding respectively as application each in the target processing system At least one storage group before, further includes: local disk volume is initialized, and according to capacity planning, will be described Local disk volume is included into the storage group of specified number and names the storage group.
Further, include: storage group mark, title, capacity, utilization rate in the storage group map and corresponding answer Use unique identification.
Further, described that each utilization rate using itself corresponding each storage group is monitored respectively, also It include: to judge whether the time interval of present system time and last monitoring reaches preset monitoring and be spaced, if so, will work as The utilization rate of preceding all storage groups is updated into storage group map;Storage group map is scanned, is obtained each described using itself The utilization rate of corresponding each storage group.
Further, the data storage resource dispatching method, further includes: judge present system time and last prison Whether the time interval of survey reaches preset monitoring interval, if it is not, then judging what present system time and last time monitored again Whether time interval reaches preset monitoring interval.
Further, the data storage resource dispatching method, further includes: if knowing that there is currently no satisfactions through monitoring The application of preset dilatation condition, then judge whether present system time and the time interval of last time monitoring reach default again Monitoring interval.
Further, the dilatation resource includes: and accurately matches the target if it exists and increase the storage group of capacity then to select Dilatation resource of the storage group for accurately matching the target increase capacity as the application is selected, if increasing without the target is accurately matched The storage group for adding capacity, then selecting capacity is more than dilatation money of the minimum memory group as the application that required target increases capacity Source.
Further, before after the corresponding modification is assigned dilatation resource using the corresponding storage strategy also Include: reading and parse the storage strategy, obtains between target application and the storage group or storage Groups List of distributing to the application Corresponding relationship;It is corresponding, it is described to choose at least one in multiple candidate storage groups according to the target of application increase capacity A dilatation resource as the application includes: to increase capacity according to the target of the application to choose at least in multiple candidate storage groups One increases in the storage Groups List of the application.
Second aspect, the application provide a kind of data storage resource dispatching device, comprising:
Monitoring modular, for choosing in multiple storage groups that the memory capacity based on target processing system constructs in advance Several storage groups are respectively as at least one corresponding storage group of application each in the target processing system;Using default Dilatation condition each utilization rate using itself corresponding each storage group is monitored respectively;
Dilatation module, if for knowing that there is currently the applications for meeting the dilatation condition through monitoring, according to the application Target increase capacity at least one dilatation resource as the application is chosen in multiple candidate storage groups, wherein it is described standby Selecting storage group is that the storage group of corresponding relationship is currently not present with any application.
Further, the data storage resource dispatching device, further includes: storage map structuring module, in institute State choose several storage groups respectively as corresponding at least one storage group of each application in the target processing system it Before, according to the memory capacity of target processing system, building includes the storage of whole multiple storage groups constructed in advance Group map;It is corresponding, the dilatation module, comprising: candidate storage group selection unit, for meeting preset expansion according to described The target of the application of appearance condition increases capacity, at least one corresponding candidate storage group conduct is chosen in the storage group map The dilatation resource of the application.
Further, the dilatation module, further includes: capacity calculating unit, for meeting preset dilatation according to described The target that storage group distribution condition, service condition and the preset dilatation threshold value of the application of condition obtain the target application, which increases, to be held Amount;Corresponding, the candidate storage group selection unit is also used to increase capacity according to the target, in the storage group Dilatation resource of at least one the corresponding candidate storage group as the application is chosen in figure.
Further, the monitoring modular is also used to according to preset each corresponding storage strategy of application, Several storage groups are chosen respectively as at least one corresponding storage group of application each in the target processing system;Relatively It answers, in the dilatation module, further includes: storage strategy modifies unit, for increasing capacity more according to the target of the application When choosing at least one dilatation resource as the application in a candidate storage group or later, corresponding modification is assigned dilatation money Behind source using the corresponding storage strategy.
Further, the data storage resource dispatching device, further includes: initialization module, for local disk Volume initializes, and according to capacity planning, local disk volume is included into the storage group of specified number and is deposited to this The name of storage group.
Further, include: storage group mark, title, capacity, utilization rate in the storage group map and corresponding answer Use unique identification.
Further, the monitoring modular, further includes: utilization rate sniff unit, for judge present system time with Whether the time interval once monitored reaches preset monitoring interval, if so, more by the utilization rate of current all storage groups Newly into storage group map;It is corresponding each to obtain each application itself for scanning storage group map for target selection unit The utilization rate of a storage group.
Further, the utilization rate sniff unit is also used to judge the time of present system time and last monitoring Whether interval reaches preset monitoring interval, if it is not, then judging the time interval of present system time and last monitoring again Whether preset monitoring interval is reached.
Further, the monitoring modular further include: dilatation condition judgment unit, if not deposited currently for knowing through monitoring In the application for meeting preset dilatation condition, then judge whether present system time and the time interval of last time monitoring reach again It is spaced to preset monitoring.
Further, the dilatation resource includes: and accurately matches the target if it exists and increase the storage group of capacity then to select Dilatation resource of the storage group for accurately matching the target increase capacity as the application is selected, if increasing without the target is accurately matched The storage group for adding capacity, then selecting capacity is more than dilatation money of the minimum memory group as the application that required target increases capacity Source.
Further, the dilatation module, further includes: storage strategy resolution unit, in the corresponding modification distribution After having dilatation resource using the corresponding storage strategy before, read and parse the storage strategy, obtain target application With the corresponding relationship between the storage group of distributing to the application or storage Groups List;It is corresponding, the storage strategy modified module It is also used to, choosing at least one in multiple candidate storage groups according to the target of application increase capacity increases to the application It stores in Groups List.
The third aspect, the application provides a kind of electronic equipment, including memory, processor and storage are on a memory and can The computer program run on a processor, the processor realize the data storage resource scheduling when executing described program The step of method.
Fourth aspect, the application provide a kind of computer readable storage medium, are stored thereon with computer instruction, the finger It enables and is performed the step of realizing the data storage resource dispatching method.
As shown from the above technical solution, the embodiment of the present application provides a kind of data storage resource dispatching method and device, In, which includes: the multiple storages constructed in advance in the memory capacity based on target processing system In group, several storage groups are chosen respectively as at least one corresponding storage of application each in the target processing system Group;Each utilization rate using itself corresponding each storage group is monitored respectively using preset dilatation condition; If knowing through monitoring there is currently the application for meeting the dilatation condition, capacity is increased multiple standby according to the target of the application Select the dilatation resource that at least one is chosen in storage group as the application, wherein the candidate storage group is currently to answer with any With the storage group that corresponding relationship is not present, can the storage group utilization rate that uses of periodic monitor types of applications, and it is dry reaching Automatically dilatation is carried out after pre- threshold value, is not necessarily to human intervention, it is transparent to user.Can change existing capacity estimate with actually use it is poor The passive processing mode of different bring storage resource recycling and dilatation, on the one hand, so that storage resource utilization rate is stablized reasonable Level, can be avoided storage resource waste;On the other hand, it can substantially reduce because memory space inadequate makes using interruption May, it can effectively solve the problem that the problem of conventional store pre-allocation of resources mechanism is brought.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the data storage resource dispatching method in the embodiment of the present application;
Fig. 2 is the flow diagram of the data storage resource dispatching method in another embodiment of the application;
Fig. 3 is the structural schematic diagram of the data storage resource dispatching device in the embodiment of the present application;
Fig. 4 is the structural schematic diagram of the data storage resource dispatching device in another embodiment of the application;
Fig. 5 is the structural schematic diagram of the dilatation module in the data storage resource dispatching device in the embodiment of the present application;
Fig. 6 is the structural schematic diagram of the monitoring modular in the data storage resource dispatching device in the embodiment of the present application;
Fig. 7 is the structural schematic diagram of the data storage resource dispatching device in the application specific application example;
Fig. 8 is the flow diagram of the data storage resource dispatching method in the application specific application example;
Fig. 9 is that the system of the electronic equipment 600 of the embodiment of the present application constitutes schematic block diagram.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is general Logical technical staff every other embodiment obtained without making creative work belongs to what the present invention protected Range.
Based on this, in order to improve the degree of automation of data storage resource scheduling and improve the stability of application, in turn The service efficiency of data storage resource is improved, considers to start with from change data storage resource scheduling mechanism, it will be available in environment Disk volume is divided into several storage groups, establishes storage group map;When building storage environment for certain application, distribute for the first time less Storage resource, all storage group utilization rates of the application are distributed in monitoring later, after meeting or exceeding given threshold, automatically Capacity of expansion is calculated, and chooses the storage group of capacity matching in storage group map, automatic modification storage strategy increase is answered for this Standby memory space, monitoring are not necessarily to human intervention with dilation process, before the initial capacity distribution of application, without being held Amount is estimated, and the application can start dilatation module when storage group utilization rate reaches the intervention threshold of setting, short the time required to dilatation, The probability caused because of off-capacity using interrupting can largely be reduced;At the same time, the application will be according to reasonable Targets threshold carries out dilatation, to effectively avoid estimating capacity and actual use capacity volume variance bring problem of resource waste.
Based on above content, the data storage resource dispatching device can be server or client device, Ke Yili Solution, the client device may include smart phone, Flat electronic equipment, network machine top box, portable computer, platform Formula computer, personal digital assistant (PDA), mobile unit, intelligent wearable device etc..Wherein, the intelligent wearable device can wrap Include smart glasses, smart watches, Intelligent bracelet etc..
In practical applications, the part for carrying out data storage resource scheduling can be in the server side as described in above content It executes, operation that can also be all is all completed in the client device.It specifically can be according to the place of the client device Reason ability and the limitation of user's usage scenario etc. select.The application is not construed as limiting this.If all operations are all in institute It states in client device and completes, the client device can also include processor.
Above-mentioned client device can have communication module (i.e. communication unit), can be led to long-range server Letter connection, realizes and transmits with the data of the server.The server may include the server of task schedule center side, It also may include the server of halfpace in other implement scenes, such as have communication linkage with task schedule central server Third-party server platform server.The server may include single computer unit, also may include multiple The server cluster of server composition or the server architecture of distributed devices.
Any suitable network protocol can be used between the server and the client device to be communicated, including In the network protocol that the application submitting day is not yet developed.The network protocol for example may include ICP/IP protocol, UDP/IP Agreement, http protocol, HTTPS agreement etc..Certainly, the network protocol for example can also include using on above-mentioned agreement RPC agreement (Remote Procedure Call Protocol, remote procedure call protocol), REST agreement (Representational State Transfer, declarative state transfer protocol) etc..
In one or more embodiments of the application, the calculate node and the host node belong to same Linux Cluster (load balancing cluster).The operating system of the Linux cluster is one and is used to come into contacts with hardware and be user program The rudimentary support programs of one limited service set are provided.One computer system is the homobium of a hardware and software, they It interdepends, it is indivisible.The hardware of computer contains peripheral equipment, processor, memory, hard disk and other electronic equipments Form the engine of computer.But operate without software and control it, it itself is inoperable.Complete this control work The software of work is known as operating system, is referred to as " kernel " in the term of Linux, is referred to as " core ".Linux kernel Main modular (or component) divide following components: storage management, CPU and management of process, file system, equipment management and drive Dynamic, network communication and the initialization of system (guidance), system calling etc..
It is illustrated especially by following each embodiments.
In order to improve the degree of automation of data storage resource scheduling and improve the stability of application, and then improve The service efficiency of data storage resource, the application provide the data storage that a kind of executing subject is data storage resource dispatching device Resource regulating method, referring to Fig. 1, this method specifically includes:
Step 1000: in multiple storage groups that the memory capacity based on target processing system constructs in advance, choosing several A storage group is respectively as at least one corresponding storage group of application each in the target processing system;Using preset expansion Appearance condition is monitored each utilization rate using itself corresponding each storage group respectively.
Specifically, the preset dilatation condition includes: it is more than default for judging whether there is each storage group utilization rate Intervention threshold application, if so, the application meets the dilatation condition.Wherein, the preset intervention threshold is artificial Setting a parameter, can be set according to practical application, the application to this with no restriction.
For example, described each at least one corresponding storage group of application, can make depositing compared with low capacity Storage group can be improved the utilization rate of storage resource, when avoiding the first sub-distribution storage group, result in holding using the storage group of setting Amount is higher than actual use capacity.
Specifically, the system that the target processing system can be that by data processing and storage.
Step 2000: if knowing that there is currently the applications for meeting the dilatation condition through monitoring, according to the mesh of the application Mark increases capacity and chooses at least one dilatation resource as the application in multiple candidate storage groups, wherein described alternatively to deposit The storage group of corresponding relationship is currently not present in Chu Zuwei with any application.
It specifically, can be more than answering for preset intervention threshold according to preset dilatation threshold value, each storage group utilization rate The application is obtained with allocated storage group number, the capacity using each storage group and the utilization rate using each storage group Target increase capacity, wherein the preset dilatation threshold value be manually set a parameter, can according to practical application into Row setting, the application to this with no restriction.
Specifically, the candidate storage group is storage group also unassigned at present in target processing system;It is all described The summation of the capacity of candidate storage group and the capacity of all storage groups for having distributed to the application is equivalent in step 1000 The capacity summation of the storage group.
The dilatation resource includes: increasing capacity if existing in the multiple candidate storage group and accurately matching the target Storage group then select accurately to match the target and increase dilatation resource of the storage group of capacity as the application, if without accurate The storage group for increasing capacity with the target, then selecting capacity is more than that the minimum memory group of required target increase capacity is answered as this Dilatation resource.
In the application one or more embodiment, for the high efficiency of data storage resource scheduling, unnecessary expansion is saved The memory source of appearance process consumption, step 2000 also includes:
Step 2001: if knowing that there is currently no the applications for meeting preset dilatation condition through monitoring, judgement is worked as again Whether preceding system time and the time interval of last monitoring, which reach preset monitoring, is spaced.
Wherein, the preset monitoring interval is a parameter being manually set, and can be set according to practical application, this Apply to this with no restriction.
In the application one or more embodiment, storage group is divided in target processing system in order to realize, referring to figure 2, also include before step 1000:
Step 0001: local disk volume being initialized, and according to capacity planning, local disk volume is returned Enter the storage group of specified number and the storage group is named.
It specifically, include at least one described local disk volume in a storage group.The capacity planning can To be configured according to practical application, by the capacity planning to the number of storage group in target processing system and each storage group Size etc. planned.
Specifically, storage group is based primarily upon capacity planning and is named in the embodiment of the present application, for example, the storage of 10TB Group can be named as SG10Txxx, wherein xxx is the storage group # of the capacity.
In order to improve the degree of automation of data storage resource scheduling, in the embodiment of the present application, in step 0001 and Also include between 1000:
Step 0002: according to the memory capacity of target processing system, building include it is whole it is described construct in advance it is more The storage group map of a storage group.
Specifically, include in the storage group map: storage group identifies (SG_ID), title (SG_NAME), capacity (SG_CAP (TB)), utilization rate (USED%) and corresponding application unique identification (FL_ID).If not distributed to storage group specific Using then setting 000 for corresponding application unique identification.The storage group mark is the unique identification of storage group, can be distinguished Different storage groups can be string number and be also possible to a string of letters etc..
Specifically, also include between step 0001 and step 0002:
Initialize installation is carried out to preset each corresponding storage strategy of application, specifies target processing system In each application mark with its used storage group or store Groups List corresponding relationship, wherein each application Mark is the unique identification of each application, can distinguish different storage groups.
Corresponding, step 2000 also includes:
Step 2001: capacity being increased according to the target of the application for meeting preset dilatation condition, in the storage group Dilatation resource of at least one the corresponding candidate storage group as the application is chosen in map.
The corresponding relationship in the candidate storage group between each parameter is shown referring to table 1 for the example of storage group map, If it is 1TB that the target for meeting the application of preset dilatation condition, which increases capacity, then storage group is identified as 002 candidate storage group It can be used as the dilatation resource of the application.
Table 1
SG_ID SG_NAME SG_CAP(TB) USED% FL_ID
001 SG1T1 1 10 002
002 SG1T2 1 0 000
003 SG5T1 5 50 001
004 SG5T2 5 85 002
From above-mentioned storage group map it is found that being to be assigned with storage group SG5T1, utilization rate 50% using FL001;It has been It is assigned with storage group SG1T1 and SG5T2 using FL002, utilization rate is 10% and 85% respectively;And storage group SG1T2 is not divided Match.
In the application one or more embodiment, in order to further increase the efficiency of data storage resource adjusting, step 2001 include:
Step 2011: according to the storage group distribution condition of the application for meeting preset dilatation condition, service condition and The target that preset dilatation threshold value obtains the target application increases capacity.
The storage group distribution condition and service condition include the application distribution for meeting preset dilatation condition Each storage group and the corresponding dosage of each storage group and utilization rate, for some specific application, it is assumed that be that it distributes n Storage group, wherein the capacity of i-th of storage group is SG_CAPi, utilization rate USEDi, the preset dilatation threshold value of THR2 expression, then Increase the calculation formula of capacity C AP_ADD for it are as follows:
Step 2012: capacity being increased according to the target, chooses that corresponding at least one is standby in the storage group map Select dilatation resource of the storage group as the application.
Specifically, if choosing corresponding candidate storage group number in the storage group map is two or more, It then generates and applies corresponding storage Groups List with this.
In order to further increase the high efficiency and the degree of automation of data storage resource scheduling, step 1000 includes:
Step 1001: according to preset each corresponding storage strategy of application, choosing several storage components It Zuo Wei not each at least one corresponding storage group of application in the target processing system.
Specifically, preset each corresponding storage strategy of application specifies each application identities and its institute Matched storage group or the corresponding relationship for storing Groups List.The corresponding storage strategy of preset each application is The parameter of artificial settings can be configured according to practical application, the application to this with no restriction.
It is corresponding, it also include step 2002 in step 2000 or later: after corresponding modification is assigned dilatation resource Using the corresponding storage strategy.
For example, this is as shown in table 2 using the corresponding storage strategy before dilatation, this is using corresponding after dilatation The storage strategy is as shown in table 3.
Table 2
FL_ID SG_ID
002 003
002 004
Table 3
FL_ID SG_ID
002 003
002 004
002 005
In the application one or more embodiment, in order to further increase the degree of automation of data resource scheduling, Before step 2002, also include:
Step 2021: read and parse the storage strategy, obtain target application and the storage group for distributing to the application or Store the corresponding relationship between Groups List.
Corresponding, step 2000 also includes:
Step 2003: choosing at least one in multiple candidate storage groups according to the target of application increase capacity increases to In the storage Groups List of the application.
In the application one or more embodiment, for the efficiency and the degree of automation for further increasing monitoring, in step Include in 1000:
Step 1002: between judging whether present system time and the last time interval monitored reach preset monitoring Every if so, updating the utilization rate of current all storage groups into storage group map.
Step 1002 particularly may be divided into:
Step 1002a: between judging whether present system time and the last time interval monitored reach preset monitoring Every.
Step 1002b: if so, updating the utilization rate of current all storage groups into storage group map.
Step 1003: scanning storage group map obtains each utilization rate using itself corresponding each storage group.
In order to improve the efficiency of data storage resource scheduling, in the application one or more embodiment, in step 1002a Also include step 1021 between 1002b: judging whether present system time and the time interval of last time monitoring reach pre- If monitoring interval, if it is not, then judging whether present system time and the time interval of last monitoring reach preset again Monitoring interval.
For from software view, in order to improve the degree of automation of data storage resource scheduling and improve application Stability, and then improve the service efficiency of data storage resource, the application is provided in a kind of data storage resource dispatching method The embodiment of the data storage resource dispatching device of all or part of the content, the data storage resource dispatching device, referring to figure 3, specifically include following content:
Monitoring modular 10, for selecting in multiple storage groups that the memory capacity based on target processing system constructs in advance Take several storage groups respectively as at least one corresponding storage group of application each in the target processing system;Using pre- If dilatation condition each utilization rate using itself corresponding each storage group is monitored respectively;
Dilatation module 20, if being answered for knowing through monitoring there is currently the application for meeting the dilatation condition according to this The target used increases capacity and chooses at least one in multiple candidate storage groups as the dilatation resource of the application, wherein described Candidate storage group is that the storage group of corresponding relationship is currently not present with any application.
Specifically, in the embodiment of the present application, the dilatation resource includes:
The storage group for accurately matching the target increase capacity if it exists then selects accurately to match the target increase capacity Dilatation resource of the storage group as the application, if selecting capacity without the storage group for accurately matching the target and increasing capacity Increase dilatation resource of the minimum memory group of capacity as the application more than required target.
In the application one or more embodiment, referring to fig. 4, the data storage resource dispatching device also includes: Map structuring module 30 is stored, is used in described several storage groups of selection respectively as each application in the target processing system Before at least one corresponding storage group, according to the memory capacity of target processing system, building includes whole described The storage group map of the multiple storage groups constructed in advance.
Specifically, include in the storage group map: storage group mark, title, capacity, utilization rate and corresponding answering Use unique identification.
Corresponding, referring to Fig. 5, the dilatation module 20 includes:
Candidate storage group selection unit 21 holds for being increased according to the target of the application for meeting preset dilatation condition Amount, chooses dilatation resource of at least one the corresponding candidate storage group as the application in the storage group map.
In order to further increase the degree of automation and efficiency of data storage resource scheduling, the dilatation module 20 is also wrapped Contain: capacity calculating unit 22, for the storage group distribution condition according to the application for meeting preset dilatation condition, use The target that situation and preset dilatation threshold value obtain the target application increases capacity.
Corresponding, the candidate storage group selection unit 21 is also used to increase capacity according to the target, deposit described Dilatation resource of at least one the corresponding candidate storage group as the application is chosen in storage group map.
The monitoring modular 10 is also used to according to preset each corresponding storage strategy of application, if choosing Dry storage group is respectively as at least one corresponding storage group of application each in the target processing system;
It is corresponding, in the dilatation module 20, also include:
Storage strategy modifies unit 23, chooses in multiple candidate storage groups for increasing capacity according to the target of the application When at least one dilatation resource as the application or later, corresponding modification be assigned after dilatation resource using corresponding institute State storage strategy.
In the application one or more embodiment, referring to fig. 4, the data storage resource dispatching device also includes: Initialization module 40 returns local disk volume for initializing to local disk volume, and according to capacity planning Enter the storage group of specified number and the storage group is named.
Specifically, to meet various capacity requirements as far as possible, and it is unlikely excessive to take into account the storage group quantity in system, the appearance The method that gauge is drawn can refer to but be not limited to following formula, can be advised in actual use according to capacity common in system Mould determines the combined situation of formula:
100TB=10TB+20TB+20TB+50TB
10TB=1TB+2TB+2TB+5TB
1TB≈100GB+200GB+200GB+500GB
100GB≈M27×4
For example, the memory capacity of 27 types (M27) disk volume is about 26GB, if mainly using M27 magnetic in system It coils, then 100GB is about the memory capacity of 4 M27.Specifically, the storage group map by the storage group and can be deposited Storage strategy setting situation is constructed, and is ranked up according to storage group disk size.
In the application one or more embodiment, in order to improve the monitoring efficiency of data storage resource, referring to Fig. 6, institute Stating monitoring modular 10 also includes:
Utilization rate sniff unit 11, for judging whether present system time and the time interval of last time monitoring reach pre- If monitoring interval, if so, updating the utilization rate of current all storage groups into storage group map.
Specifically, the utilization rate sniff unit 11 is also used to judge the time of present system time and last monitoring Whether interval reaches preset monitoring interval, if it is not, then judging the time interval of present system time and last monitoring again Whether preset monitoring interval is reached.
Target selection unit 12 obtains each itself corresponding each storage of application for scanning storage group map The utilization rate of group.
In the application one or more embodiment, referring to Fig. 6, the monitoring modular also includes: the judgement of dilatation condition Unit 13, if judging current system again for knowing through monitoring there is currently no the application for meeting preset dilatation condition Whether the time interval of time and last monitoring, which reaches preset monitoring, is spaced.
In the application one or more embodiment, referring to Fig. 5, the dilatation module 20 also includes: storage strategy solution Unit 24 is analysed, before after the corresponding modification is assigned dilatation resource using the corresponding storage strategy, is read And the storage strategy is parsed, obtain the corresponding pass between target application and the storage group or storage Groups List for distributing to the application System;
Corresponding, the storage strategy modified module 23 is also used to, and increases capacity multiple according to the target of the application At least one is chosen in candidate storage group increases in the storage Groups List of the application.
Based on above-mentioned data storage resource dispatching method and device, the embodiment of the present application can pass through data storage resource tune The process that device executes data storage resource scheduling is spent, in order to further increase the degree of automation of data storage resource scheduling simultaneously And the stability of application is improved, and then improve the service efficiency of data storage resource, below described in application the embodiment of the present application Data storage resource dispatching method and the application scenarios of device be specifically described.
(1) data storage resource dispatching device
In the application example of the application, referring to Fig. 7, data storage resource dispatching device mainly includes that there are three main Module: initialization module, monitoring module and dilatation module;Wherein, the function that the initialization module is realized is equivalent to above-mentioned The function that initialization module 40 and storage map structuring module 30 are implemented in combination with, the function that the dilatation module is realized are equivalent to The function of the realization of dilatation module 20 is stated, the function that the monitoring module is realized is equivalent to the function that above-mentioned monitoring modular 10 is realized Can, it is described in detail below:
The initialization module is used for the initialization process of data storage resource, and it includes have: storage group building submodule, Storage strategy initialization submodule and storage map structuring submodule;
The monitoring module is used for the service condition of supervising data storage resource capacity, and it includes utilization rate sniff submodules With target selection submodule;
The dilatation module is used for the dispatch deal according to the automatic dilatation of data storage resource capacity, and it includes calculation of capacity Submodule, standby storage group selection submodule, storage strategy analyzing sub-module and storage strategy modify submodule.
Each functions of modules is described below:
1. the initialization module mainly includes three submodules, be respectively completed the definition of storage group, storage strategy definition and The work such as storage group map structuring, each submodule function are described as follows:
1) storage group constructs module: major function be complete disk initialization, storage group define and storage group in disk Volume shares out the work, and the disk volume in system is included into different storage groups respectively and is managed and uses.Different from traditional root The thinking of storage group is divided according to application type, storage group used in this system is based primarily upon capacity specifications and is divided and ordered Name.Illustrate: the capacity of 27 types (M27) disk volume is about 26GB, if mainly using M27 disk volume in system, 100GB is about For the capacity of 4 M27.
2) storage strategy initialization submodule: major function is to carry out initial storage policy definition, specifies each application unique The corresponding relationship for the storage group (or storage Groups List) that mark FL_ID is used with it.
3) storage group map structuring module: major function is the storage group and storage strategy facilities combined in system, Storage group map is established, and is ranked up according to storage group disk size.Map content mainly includes all storages in system Group mark (SG_ID), title (SG_NAME), capacity (SG_CAP, unit TB), utilization rate (USED%) and corresponding application (0) FL_ID is set to unique identification if being not yet assigned to concrete application.
2. the monitoring module mainly includes two submodules, utilization rate sniff submodule is called every one section of set time Block carries out the monitoring of storage group utilization rate, and the application of dilatation in need is detected whether by target selection submodule.Each module function It can be described as follows:
1) utilization rate sniff submodule: the module will actively obtain current all storage groups every one section of regular time Utilization rate, and to corresponding utilization rate (USED%) field of storage group each in storage group map carry out assignment.
2) target selection submodule: scanning storage group map, if the utilization rate of certain all storage group applied is more than thing The intervention threshold THR1 first set, then as dilatation object.
3. the dilatation module mainly includes four submodules, memory capacity meter needed for mainly completing application to be expanded It calculates, choose storage group for dilatation, and modified and storage strategy and come into force according to selection result.Each submodule major function description It is as follows:
1) capacity calculation module: scanning storage group map obtains the distribution of storage group and service condition of application to be expanded, and Capacity of expansion is calculated according to the targets threshold THR2 being previously set.
2) standby stores group selection module: assuming that the available storage group resource of various capacity scales is sufficient in system, not examining The case where considering inadequate resource.The capacity of expansion being calculated according to capacity calculation module scans storage group map, obtains capacity most Matched unallocated storage group, such as the storage group without capacity needed for accurate match, then selecting capacity is more than the minimum of required capacity Storage group.
3) storage strategy parsing module: main to complete storage strategy reading and analytic function.Parsing result is types of applications Relevant dataset name and the corresponding storage group inventory used.
Storage strategy modified module: mainly according to the calculated result of dilatation module, storage strategy is modified, by new storage group Increase and stored for the standby of dilatation object, and is compiled and comes into force.
(2) process of data storage resource scheduling
In conjunction with above-mentioned data storage resource dispatching device, the application provides a kind of concrete application of data storage resource scheduling Example specifically includes following content referring to Fig. 8:
S1: it firstly, the disk volume of data storage resource scheduling system administration is initialized, and is advised according to capacity It draws, disk volume is divided into different storage groups, and be named to store pool-size.
S2: setting storage strategy according to the application demand in system, specifies each relevant dataset name of application and its institute Use the corresponding relationship of storage group.At the beginning of use, can distribute compared with low capacity, it is subsequent according to the actual operation, by this scheduling System carries out dilatation automatically.
S3: according to having storage group and storage strategy situation, storage group map, each storage group mark in record system are established Knowledge, title, capacity, utilization rate and corresponding application unique identification (0 is set to if being not yet assigned to concrete application).
S4: setting timer triggers the monitoring of storage group utilization rate at regular intervals.
S5: judging whether to reach setting time, if so, then entering step S6;If not, entering step S5;
S6: current each storage group utilization rate is obtained, and is updated in storage group map.
S7: scanning storage group map is retrieved as the utilization rate of all storage groups of each application distribution.
S8: judge whether there is all storage group utilization rates be more than the application of intervention threshold THR1 is previously set, if so, It is then chosen as dilatation target, enters step S9;If not, entering step S5.
S9: it according to each storage group service condition for the targets threshold THR2 and dilatation target application being previously set, calculates and expands Hold capacity.
S10: scanning storage group map finds appearance in storage group map according to the capacity of expansion that step S9 is calculated Measure most matched available storage group.
S11: taking and parses current storage strategy, acquisition application and the storage group or storage Groups List of distributing to the application Between corresponding relationship.
S12: modification storage strategy, the available storage group that step S10 is chosen are stored as standby, increase to be expanded answer It in the storage Groups List used, and is compiled and comes into force, complete dilatation work.
As can be seen from the above description, a kind of data storage resource dispatching method provided by the embodiments of the present application and device, it can It improves the degree of automation of data storage resource scheduling and improves the stability of application, and then improve making for data storage resource Use efficiency.
The embodiment of the present application provides a kind of electronic equipment, which can be desktop computer, tablet computer and shifting Dynamic terminal etc., the present embodiment is without being limited thereto.In the present embodiment, which is referred to data described in above-described embodiment Storage resource dispatching device, content are incorporated in this, and overlaps will not be repeated.
Fig. 9 is the schematic block diagram that the system of the electronic equipment 600 of the embodiment of the present application is constituted.As shown in figure 9, the electronics is set Standby 600 can wrap containing central processing unit 100 and memory 140;Memory 140 is coupled to central processing unit 100.It is worth noting , which is exemplary;Other kinds of structure can also be used, to supplement or replace the structure, to realize pre-control Function or other function.
In one embodiment of the application, the function of data storage resource scheduling can be integrated into central processing unit In 100.Wherein, it is control as follows to can be configured as progress for central processing unit 100:
Step 1000: in multiple storage groups that the memory capacity based on target processing system constructs in advance, choosing several A storage group is respectively as at least one corresponding storage group of application each in the target processing system;Using preset expansion Appearance condition is monitored each utilization rate using itself corresponding each storage group respectively.
Step 2000: if knowing that there is currently the applications for meeting the dilatation condition through monitoring, according to the mesh of the application Mark increases capacity and chooses at least one dilatation resource as the application in multiple candidate storage groups, wherein described alternatively to deposit The storage group of corresponding relationship is currently not present in Chu Zuwei with any application.
In another embodiment, data storage resource dispatching device can be with 100 separate configuration of central processing unit, example Data storage resource dispatching device can such as be configured to the chip connecting with central processing unit 100, pass through central processing unit Control the degree of automation to realize high data storage resource scheduling.
As shown in figure 9, the electronic equipment 600 can also include: communication module 110, input unit 120, audio processing Device 130, display 160, power supply 170.It is worth noting that, electronic equipment 600 is also not necessary to include shown in Fig. 9 All components;In addition, electronic equipment 600 can also include the component being not shown in Fig. 9, the prior art can be referred to.
As shown in figure 9, central processing unit 100 is otherwise referred to as controller or operational controls, can wrap containing microprocessor Or other processor devices and/or logic device, the central processing unit 100 receive each of input and controlling electronic devices 600 The operation of component.
Wherein, memory 140, such as can be buffer, flash memory, hard disk driver, removable medium, volatile memory, non- One of volatile memory or other appropriate devices or more.The related letter of above-mentioned each equipment given parameters can be stored Breath can additionally store the program executed for information about.And being somebody's turn to do for the memory 140 storage can be performed in central processing unit 100 Program, to realize information storage or processing etc..
Input unit 120 provides input to central processing unit 100.The input unit 120 is, for example, key or touch input Device.Power supply 170 is used to provide electric power to electronic equipment 600.Display 160 is used to carry out image and text etc. and shows object Display.The display may be, for example, LCD display, and but it is not limited to this.
The memory 140 can be solid-state memory, for example, read-only memory (ROM), random access memory (RAM), SIM card etc..The memory that may also is that, saves information when power is off, can be selectively erased and be equipped with More data, the example of the memory are sometimes referred to as EPROM etc..Memory 140 can also be some other type of device. Memory 140 includes buffer storage 141 (sometimes referred to as buffer).Memory 140 can wrap to be deposited containing applications/functions Storage portion 142, the applications/functions storage unit 142 is for storing application program and function program or for by central processing unit 100 Execute the process of the operation of electronic equipment 600.
Memory 140 can also include data store 143, which for storing data, such as joins It is people, numerical data, picture, sound and/or any other data used by electronic equipment.The driver of memory 140 Storage unit 144 can wrap (such as disappearing for communication function and/or the other function for executing electronic equipment containing electronic equipment Breath transmission application, address list application etc.) various drivers.
Communication module 110 is the transmitter receiver 110 sent and received signal via antenna 111.Communication module (transmitter receiver) 110 is coupled to central processing unit 100, with provide input signal and receive output signal, this can with it is normal The case where advising mobile communication terminal is identical.
Based on the different communication technologys, in same electronic equipment, multiple communication modules 110 can be set, such as honeycomb Network module, bluetooth module and/or Wireless LAN module etc..Communication module (transmitter receiver) 110 also via audio at Reason device 130 is coupled to loudspeaker 131 and microphone 132, to provide audio output via loudspeaker 131, and receives and comes from Mike The audio input of wind 132, to realize common telecommunications functions.Audio processor 130 can wrap containing any suitable buffering Device, decoder, amplifier etc..In addition, audio processor 130 is additionally coupled to central processing unit 100, so that passing through wheat The sound that gram wind 132 can record in system, and allow to store in play system by loudspeaker 131.
Foregoing description can effectively improve data storage resource tune it is found that the electronic equipment that embodiments herein provides The degree of automation of degree and the stability for improving application, and then improve the service efficiency of data storage resource.
Embodiments herein also provides in the data storage resource dispatching method that can be realized in above-described embodiment all A kind of computer readable storage medium of step is stored with computer program on the computer readable storage medium, the calculating Machine program realizes the Overall Steps of the data storage resource dispatching method in above-described embodiment when being executed by processor, for example, institute It states when processor executes the computer program and realizes following step:
Step 1000: in multiple storage groups that the memory capacity based on target processing system constructs in advance, choosing several A storage group is respectively as at least one corresponding storage group of application each in the target processing system;Using preset expansion Appearance condition is monitored each utilization rate using itself corresponding each storage group respectively.
Step 2000: if knowing that there is currently the applications for meeting the dilatation condition through monitoring, according to the mesh of the application Mark increases capacity and chooses at least one dilatation resource as the application in multiple candidate storage groups, wherein described alternatively to deposit The storage group of corresponding relationship is currently not present in Chu Zuwei with any application.As can be seen from the above description, the embodiment of the present application provides Computer readable storage medium, can effectively improve data storage resource scheduling the degree of automation and improve the steady of application It is qualitative, and then improve the service efficiency of data storage resource.
Various embodiments are described in a progressive manner for the above method in the application, identical phase between each embodiment As partially may refer to each other, each embodiment focuses on the differences from other embodiments.Related place Illustrate referring to the part of embodiment of the method.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specific embodiment is applied in the application, and the principle and implementation of this application are described, above embodiments Explanation be merely used to help understand the present processes and its core concept;At the same time, for those skilled in the art, According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion in this specification Hold the limitation that should not be construed as to the application.

Claims (24)

1. a kind of data storage resource dispatching method characterized by comprising
In multiple storage groups that the memory capacity based on target processing system constructs in advance, chooses several storage groups and make respectively For at least one corresponding storage group of application each in the target processing system;Using preset dilatation condition to each institute It states and is monitored respectively using the utilization rate of itself corresponding each storage group;
If knowing through monitoring there is currently the application for meeting the dilatation condition, capacity is increased more according to the target of the application At least one dilatation resource as the application is chosen in a candidate storage group, wherein the candidate storage group be currently with appoint The storage group of corresponding relationship is not present in one application.
2. data storage resource dispatching method according to claim 1, which is characterized in that choose several storages described Before group is respectively as at least one corresponding storage group of application each in the target processing system, further includes:
According to the memory capacity of target processing system, building includes the storage of whole multiple storage groups constructed in advance Group map;
It is corresponding, it is described that at least one is chosen as this in multiple candidate storage groups according to the target of application increase capacity The dilatation resource of application, comprising:
Increase capacity according to the target of the application for meeting preset dilatation condition, chooses and correspond in the storage group map Dilatation resource of at least one candidate storage group as the application.
3. data storage resource dispatching method according to claim 2, which is characterized in that described default according to the satisfaction Dilatation condition application target increase capacity, at least one corresponding candidate storage group is chosen in the storage group map Dilatation resource as the application, comprising:
According to the storage group distribution condition, service condition and preset dilatation threshold value of the application for meeting preset dilatation condition The target for obtaining the target application increases capacity;
Increase capacity according to the target, corresponding at least one candidate storage group conduct is chosen in the storage group map should The dilatation resource of application.
4. data storage resource dispatching method according to claim 1, which is characterized in that described several storage groups of selection Respectively as at least one corresponding storage group of application each in the target processing system, comprising:
According to the corresponding storage strategy of preset each application, choose several storage groups respectively as the target at Each at least one corresponding storage group of application in reason system;
It is corresponding, at least one conduct is chosen in multiple candidate storage groups according to the target of application increase capacity described When the dilatation resource of the application or later, further includes:
Corresponding modification be assigned after dilatation resource using the corresponding storage strategy.
5. data storage resource dispatching method according to claim 1, which is characterized in that described several storage groups of selection Before at least one corresponding storage group of application each in the target processing system, further includes:
Local disk volume is initialized, and according to capacity planning, local disk volume is included into specified number Storage group simultaneously names the storage group.
6. data storage resource dispatching method according to claim 2, which is characterized in that wrapped in the storage group map It includes: storage group mark, title, capacity, utilization rate and corresponding using unique identification.
7. data storage resource dispatching method according to claim 2, which is characterized in that it is described to it is each it is described application from The utilization rate of the corresponding each storage group of body is monitored respectively, further includes:
Judge whether the time interval of present system time and last monitoring reaches preset monitoring interval, if so, will work as The utilization rate of preceding all storage groups is updated into storage group map;
Storage group map is scanned, each utilization rate using itself corresponding each storage group is obtained.
8. data storage resource dispatching method according to claim 7, which is characterized in that further include: judge current system Whether the time interval of time and last monitoring, which reaches preset monitoring, is spaced, if it is not, then judging present system time again It is spaced with whether the time interval of last time monitoring reaches preset monitoring.
9. data storage resource dispatching method according to claim 7, which is characterized in that further include: if knowing through monitoring There is currently no the applications for meeting preset dilatation condition, then judge again between present system time and the time of last monitoring Every whether reaching preset monitoring interval.
10. data storage resource dispatching method according to claim 1, which is characterized in that the dilatation resource includes:
The storage group for accurately matching the target increase capacity if it exists then selects accurately to match depositing for the target increase capacity Dilatation resource of the storage group as the application, if selecting the capacity to be more than without the storage group for accurately matching the target and increasing capacity Required target increases dilatation resource of the minimum memory group of capacity as the application.
11. data storage resource dispatching method according to claim 4, which is characterized in that in the corresponding modification distribution After having dilatation resource using the corresponding storage strategy before further include:
The storage strategy is read and parsed, is obtained between target application and the storage group or storage Groups List of distributing to the application Corresponding relationship;
It is corresponding, it is described that at least one is chosen as this in multiple candidate storage groups according to the target of application increase capacity The dilatation resource of application includes:
Choosing at least one in multiple candidate storage groups according to the target of application increase capacity increases to depositing for the application It stores up in Groups List.
12. a kind of data storage resource dispatching device characterized by comprising
Monitoring modular, for choosing several in multiple storage groups that the memory capacity based on target processing system constructs in advance A storage group is respectively as at least one corresponding storage group of application each in the target processing system;Using preset expansion Appearance condition is monitored each utilization rate using itself corresponding each storage group respectively;
Dilatation module, if for knowing that there is currently the applications for meeting the dilatation condition through monitoring, according to the mesh of the application Mark increases capacity and chooses at least one dilatation resource as the application in multiple candidate storage groups, wherein described alternatively to deposit The storage group of corresponding relationship is currently not present in Chu Zuwei with any application.
13. data storage resource dispatching device according to claim 12, which is characterized in that further include:
Map structuring module is stored, for answering in described several storage groups of selection respectively as each in the target processing system Before at least one corresponding storage group, according to the memory capacity of target processing system, building includes whole institute State the storage group map of the multiple storage groups constructed in advance;
It is corresponding, the dilatation module, comprising:
Candidate storage group selection unit, for increasing capacity according to the target of the application for meeting preset dilatation condition, Dilatation resource of at least one the corresponding candidate storage group as the application is chosen in the storage group map.
14. data storage resource dispatching device according to claim 13, which is characterized in that the dilatation module is also wrapped It includes:
Capacity calculating unit, for according to the application for meeting preset dilatation condition storage group distribution condition, using feelings The target that condition and preset dilatation threshold value obtain the target application increases capacity;
Corresponding, the candidate storage group selection unit is also used to increase capacity according to the target, in the storage group Dilatation resource of at least one the corresponding candidate storage group as the application is chosen in figure.
15. data storage resource dispatching device according to claim 12, which is characterized in that
The monitoring modular is also used to choose several according to preset each corresponding storage strategy of application and deposit Storage group is respectively as at least one corresponding storage group of application each in the target processing system;
It is corresponding, in the dilatation module, further includes:
Storage strategy modifies unit, chooses at least one in multiple candidate storage groups for increasing capacity according to the target of the application When a dilatation resource as the application or later, corresponding modification be assigned after dilatation resource using the corresponding storage Strategy.
16. data storage resource dispatching device according to claim 12, which is characterized in that further include: initialization module, For initializing to local disk volume, and according to capacity planning, local disk volume is included into specified number Storage group simultaneously names the storage group.
17. data storage resource dispatching device according to claim 13, which is characterized in that wrapped in the storage group map It includes: storage group mark, title, capacity, utilization rate and corresponding using unique identification.
18. data storage resource dispatching device according to claim 13, which is characterized in that the monitoring modular also wraps It includes:
Utilization rate sniff unit, for judging whether present system time and the time interval of last monitoring reach preset prison Interval is surveyed, if so, updating the utilization rate of current all storage groups into storage group map;
Target selection unit obtains each described make using itself corresponding each storage group for scanning storage group map With rate.
19. data storage resource dispatching device according to claim 18, which is characterized in that the utilization rate sniff list Member, is also used to judge whether the time interval of present system time and last monitoring reaches preset monitoring interval, if it is not, then Judge whether the time interval of present system time and last monitoring reaches preset monitoring interval again.
20. data storage resource dispatching device according to claim 18, which is characterized in that the monitoring modular also wraps It includes: dilatation condition judgment unit, if for knowing that there is currently no the applications for meeting preset dilatation condition through monitoring, again Judge whether the time interval of present system time and last monitoring reaches preset monitoring interval.
21. data storage resource dispatching device according to claim 12, which is characterized in that the dilatation resource includes:
The storage group for accurately matching the target increase capacity if it exists then selects accurately to match depositing for the target increase capacity Dilatation resource of the storage group as the application, if selecting the capacity to be more than without the storage group for accurately matching the target and increasing capacity Required target increases dilatation resource of the minimum memory group of capacity as the application.
22. data storage resource dispatching device according to claim 15, which is characterized in that the dilatation module is also wrapped It includes:
Storage strategy resolution unit, for after the corresponding modification is assigned dilatation resource using the corresponding storage plan Before slightly, the storage strategy is read and parsed, obtain target application and distributes to the storage group or storage Groups List of the application Between corresponding relationship;
Corresponding, the storage strategy modified module is also used to, and is increased capacity according to the target of the application and is alternatively deposited multiple Chu Zuzhong, which chooses at least one, to be increased in the storage Groups List of the application.
23. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that realize that the described in any item data of claim 1 to 11 are deposited when the processor executes described program The step of storing up resource regulating method.
24. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that described instruction is performed The step of Shi Shixian claim 1 to 11 described in any item data storage resource dispatching methods.
CN201910624435.6A 2019-07-11 2019-07-11 Data storage resource dispatching method and device Pending CN110333953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910624435.6A CN110333953A (en) 2019-07-11 2019-07-11 Data storage resource dispatching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910624435.6A CN110333953A (en) 2019-07-11 2019-07-11 Data storage resource dispatching method and device

Publications (1)

Publication Number Publication Date
CN110333953A true CN110333953A (en) 2019-10-15

Family

ID=68146381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910624435.6A Pending CN110333953A (en) 2019-07-11 2019-07-11 Data storage resource dispatching method and device

Country Status (1)

Country Link
CN (1) CN110333953A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190324A (en) * 2020-01-14 2021-07-30 阿里巴巴集团控股有限公司 Flow distribution method, device, system and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685219A (en) * 2012-04-27 2012-09-19 浪潮电子信息产业股份有限公司 Method for increasing use ratio of storage resources through dynamic expansion in SAN storage system
CN103338135A (en) * 2013-07-05 2013-10-02 山东大学 Real-time monitoring method of cluster storage capacity
US9135031B1 (en) * 2010-04-28 2015-09-15 Netapp, Inc. System and method for determining storage resources of a virtual machine in a virtual server environment
CN105653373A (en) * 2016-02-25 2016-06-08 腾讯科技(深圳)有限公司 Resource distributing method and device
CN107770236A (en) * 2017-07-04 2018-03-06 中国电子科技集团公司电子科学研究院 A kind of storage resource distribution method, device and computer-readable medium
CN108111566A (en) * 2016-11-25 2018-06-01 杭州海康威视数字技术股份有限公司 A kind of cloud storage system expansion method, device and cloud storage system
CN108509268A (en) * 2018-02-24 2018-09-07 宁波诺信睿聚投资有限责任公司 Cluster resource distribution method, device, equipment and computer readable storage medium
CN108572795A (en) * 2017-12-21 2018-09-25 北京金山云网络技术有限公司 Based on expansion method, device, equipment and the storage medium for building Storage Virtualization
CN109117273A (en) * 2018-08-17 2019-01-01 腾讯科技(深圳)有限公司 Date storage method, device and equipment
CN109428913A (en) * 2017-08-25 2019-03-05 浙江宇视科技有限公司 A kind of storage expansion method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9135031B1 (en) * 2010-04-28 2015-09-15 Netapp, Inc. System and method for determining storage resources of a virtual machine in a virtual server environment
CN102685219A (en) * 2012-04-27 2012-09-19 浪潮电子信息产业股份有限公司 Method for increasing use ratio of storage resources through dynamic expansion in SAN storage system
CN103338135A (en) * 2013-07-05 2013-10-02 山东大学 Real-time monitoring method of cluster storage capacity
CN105653373A (en) * 2016-02-25 2016-06-08 腾讯科技(深圳)有限公司 Resource distributing method and device
CN108111566A (en) * 2016-11-25 2018-06-01 杭州海康威视数字技术股份有限公司 A kind of cloud storage system expansion method, device and cloud storage system
CN107770236A (en) * 2017-07-04 2018-03-06 中国电子科技集团公司电子科学研究院 A kind of storage resource distribution method, device and computer-readable medium
CN109428913A (en) * 2017-08-25 2019-03-05 浙江宇视科技有限公司 A kind of storage expansion method and device
CN108572795A (en) * 2017-12-21 2018-09-25 北京金山云网络技术有限公司 Based on expansion method, device, equipment and the storage medium for building Storage Virtualization
CN108509268A (en) * 2018-02-24 2018-09-07 宁波诺信睿聚投资有限责任公司 Cluster resource distribution method, device, equipment and computer readable storage medium
CN109117273A (en) * 2018-08-17 2019-01-01 腾讯科技(深圳)有限公司 Date storage method, device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
温静等: "分区分配算法", 《计算机操作***原理》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190324A (en) * 2020-01-14 2021-07-30 阿里巴巴集团控股有限公司 Flow distribution method, device, system and storage medium

Similar Documents

Publication Publication Date Title
CN108510389A (en) Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain
CN105809323A (en) Task allocation method and system
CN108364146A (en) Logistics distribution emulation mode and device
CN104540176B (en) Wireless network access method, device and terminal
US20170041384A1 (en) Cloud service broker apparatus and method thereof
CN110084616A (en) Intelligence pays a return visit method, apparatus, computer installation and storage medium
CN104734997A (en) Determining rules for partitioning internet connection bandwidth
CN109978292B (en) Intelligent management method and device for store
US20200402648A1 (en) Generating high confidence refills for unified workforce management
CN107609907A (en) The regulation and control method and device of advertisement position
CN106372881A (en) Payment management system and method
CN110826786A (en) Method and device for predicting number of target place population and storage medium
CA2902141C (en) Automated hospital workforce system for load driven scheduling optimization
CN110009387A (en) A kind of publicity orders fixed direction allocation method and apparatus
CN110333953A (en) Data storage resource dispatching method and device
CN105931344A (en) Mobile terminal, service device and method for automatic queuing
WO2013018390A1 (en) Reservation management device, reservation management method, reservation management program, and computer-readable recording medium storing program for same
CN112116369B (en) Advertisement putting method and device
CN114140033B (en) Service personnel allocation method and device, electronic equipment and storage medium
US11755379B2 (en) Liaison system and method for cloud computing environment
CN106250433A (en) A kind of dynamically APP application methods of exhibiting and terminal unit
KR20100019016A (en) Game advertisements system based on the amount of exposure of the advertisement and method thereof
CN111163237B (en) Call service flow control method and related device
CN113242457B (en) Resource distribution method and device, electronic equipment and storage medium
CN116074541B (en) Resource processing method, system, device and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191015