CN109358810A - A kind of storage resource management method and relevant apparatus - Google Patents
A kind of storage resource management method and relevant apparatus Download PDFInfo
- Publication number
- CN109358810A CN109358810A CN201811142817.7A CN201811142817A CN109358810A CN 109358810 A CN109358810 A CN 109358810A CN 201811142817 A CN201811142817 A CN 201811142817A CN 109358810 A CN109358810 A CN 109358810A
- Authority
- CN
- China
- Prior art keywords
- disk
- state
- quotas
- storage capacity
- disk quotas
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3034—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0631—Configuration or reconfiguration of storage systems by allocating resources to storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0653—Monitoring storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Abstract
This application discloses a kind of storage resource management methods, the function of reception of magnetic disc quota inquiry instruction can be provided, to make the side for needing to inquire Disk Quotas state that the function of quota inquiry may be implemented, after receiving Disk Quotas inquiry instruction, it can be according to instructions query to Disk Quotas state, namely inquire the first storage capacity information specifically for cloud computing and the second storage capacity information for personal storage, then Disk Quotas state is returned, the side for sending quota inquiry instruction is set to be recognized that specific Disk Quotas state, to can more easily manage according to Disk Quotas state and use disk.Present invention also provides a kind of storage resource management device, equipment and computer readable storage mediums, and above-mentioned technical effect equally may be implemented.
Description
Technical field
The application design disk management technical field, more specifically to a kind of storage resource management method, apparatus,
Equipment and computer readable storage medium.
Background technique
With the development of computer technology, raising with people to storage demand, for managing the intelligence of hard-disc storage function
Energy hardware also just occurs therewith, can make the part storage resource of hard disk that the hard disk owner be transferred to use by Intelligent hardware, make
For personal memory space, the idle resource of another part then transfers to cloud calculation service, to would sit idle for resource-sharing to internet
Other users use, thus make other users enjoy faster, the cloud computing resources of higher price-performance ratio.
The memory space as used in individual subscriber storage service is using same with the memory space for cloud computing
One disk, and the two business are independent from each other business, but user can not but know that shares away is used for cloud
The situation of the disk resource of calculating, so that the use and management to disk cause great inconvenience.
Therefore, how convenient hyperdisk storage resource, be those skilled in the art's problem to be solved.
Summary of the invention
The application's is designed to provide a kind of storage resource management method, apparatus, equipment and computer-readable storage medium
Matter, with solve the problems, such as how convenient hyperdisk storage resource.
To achieve the above object, the embodiment of the present application provides following technical solution:
A kind of storage resource management method, comprising:
Reception of magnetic disc quota inquiry instruction;
Disk Quotas state is inquired using the Disk Quotas inquiry instruction;Wherein, the Disk Quotas state includes point
It is used in the second storage capacity information of the first storage capacity information and distribution of cloud computing for personal storage;
Return to the Disk Quotas state.
Wherein, the reception of magnetic disc quota inquiry instruction, comprising:
Receive the Disk Quotas inquiry instruction that user's application system is sent;
It is then described to return to the Disk Quotas state, comprising:
Second storage capacity information is back to user's application system, so that user's application system utilizes
Personal memory capacity restriction information is arranged in second storage capacity information.
Wherein, the reception of magnetic disc quota inquiry instruction, comprising:
Receive the Disk Quotas inquiry instruction that income voucher clearing factor acquisition module is sent;
It is then described to return to the Disk Quotas state, comprising:
First storage capacity information is back to the income voucher clearing factor acquisition module;
It is determined according to first storage capacity information for settling accounts using income voucher clearing factor acquisition module
The clearing factor that income proves.
Wherein, the reception of magnetic disc quota inquiry instruction, comprising:
Receive the Disk Quotas inquiry instruction that cloud computing module is sent;
It is then described to return to the Disk Quotas state, comprising:
First storage capacity information is back to the cloud computing module;
The memory capacity of cloud computing is used for according to first storage capacity information adjustment using the cloud computing module.
Wherein, further includes:
It receives the Disk Quotas that user's application system is sent and modifies instruction;
According to Disk Quotas state described in Disk Quotas modification instruction modification.
Wherein, further includes:
Detect whether the Disk Quotas state exception occurs;
If so, exception information is back to user's application system.
Wherein, whether the detection Disk Quotas state there is exception, comprising:
Whether actual storage capacity of the detection for personal storage exceeds second storage capacity information;
If so, the method, further includes:
The Disk Quotas state is modified according to the actual storage capacity.
Wherein, detect whether the Disk Quotas state exception occurs, comprising:
Whether content of the detection in the memory space of cloud computing is tampered.
Present invention also provides a kind of storage resource management systems, comprising:
Receiving module is used for reception of magnetic disc quota inquiry instruction;
Enquiry module, for inquiring Disk Quotas state using the Disk Quotas inquiry instruction;Wherein, the disk is matched
Volume state includes that second memory capacity of the distribution for the first storage capacity information of cloud computing and distribution for personal storage is believed
Breath;
Return module, for returning to the Disk Quotas state.
Present invention also provides a kind of storage resource management devices, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of the storage resource management method.
Present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program is realized when the computer program is executed by processor such as the step of the storage resource management method.
Present invention also provides a kind of storage resource management equipment characterized by comprising
Shared disk management module is used for reception of magnetic disc quota inquiry instruction;It is looked into using the Disk Quotas inquiry instruction
Ask Disk Quotas state;Wherein, the Disk Quotas state includes distribution for the first storage capacity information of cloud computing and divides
It is used in the second storage capacity information of personal storage;Return to the Disk Quotas state.
Wherein, the equipment further include:
Income voucher settles accounts factor acquisition module, refers to for sending Disk Quotas inquiry to the shared disk management module
It enables, and after receiving the first storage capacity information that the shared disk management module is sent, is held according to first storage
Amount information determines the clearing factor for settling accounts income voucher.
Wherein, the equipment further include:
Cloud computing module for sending Disk Quotas inquiry instruction to the shared disk management module, and is receiving
After the first storage capacity information that the shared disk management module is sent, it is used for according to first storage capacity information adjustment
The memory capacity of cloud computing.
Wherein, the shared disk management module is specifically used for receiving the Disk Quotas that user's application system is sent and inquiring referring to
It enables;Disk Quotas state is inquired using the Disk Quotas inquiry instruction;Wherein, the Disk Quotas state includes that distribution is used for
Second storage capacity information of the first storage capacity information and distribution of cloud computing for personal storage;Second storage is held
Amount information is back to user's application system, so that user's application system is arranged using second storage capacity information
Personal memory capacity restriction information.
Wherein, the shared disk management module is modified specifically for receiving the Disk Quotas that user's application system is sent
Instruction;According to Disk Quotas state described in Disk Quotas modification instruction modification.
Wherein, the shared disk management module, specifically for detecting whether the Disk Quotas state exception occurs;If
It is that exception information is then back to user's application system.
Wherein, whether the shared disk management module is used for the personal actual storage capacity stored specifically for detecting
Beyond second storage capacity information;If so, exception information is back to user's application system, and actually deposited according to described
It stores up capacity and modifies the Disk Quotas state.
Wherein, the shared disk management module, the content specifically for detection in the memory space of cloud computing are
It is no to be tampered;If so, exception information is back to user's application system.By above scheme it is found that provided by the present application one
Kind storage resource management method, comprising: reception of magnetic disc quota inquiry instruction;Disk is inquired using the Disk Quotas inquiry instruction
Quota state;Wherein, the Disk Quotas state includes that first storage capacity information of the distribution for cloud computing is used for distribution
Second storage capacity information of individual's storage;Return to the Disk Quotas state.
It can be seen that a kind of storage resource management method provided by the present application, can provide the inquiry of reception of magnetic disc quota and refer to
The function of order is receiving disk to make the side for needing to inquire Disk Quotas state that the function of quota inquiry may be implemented
After quota inquiry instruction, can according to instructions query to Disk Quotas state, that is, inquire specifically for cloud computing
One storage capacity information and the second storage capacity information for personal storage, then return to Disk Quotas state, make to send
One side of quota inquiry instruction is recognized that specific Disk Quotas state, to can be more convenient according to Disk Quotas state
Management with use disk.
Present invention also provides a kind of storage resource management device, equipment and computer readable storage mediums, equally can be with
Realize above-mentioned technical effect.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application 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 a kind of storage resource management method flow diagram disclosed in the embodiment of the present application;
Fig. 2 is a kind of specific storage resource management method flow diagram disclosed in the embodiment of the present application;
Fig. 3 is a kind of specific storage resource management method flow diagram disclosed in the embodiment of the present application;
Fig. 4 is a kind of specific storage resource management method flow diagram disclosed in the embodiment of the present application;
Fig. 5 is a kind of specific storage resource management method flow diagram disclosed in the embodiment of the present application;
Fig. 6 is a kind of specific storage resource management method flow diagram disclosed in the embodiment of the present application;
Fig. 7 is a kind of specific storage resource management system structural schematic diagram disclosed in the embodiment of the present application;
Fig. 8 is a kind of specific storage resource management apparatus structure schematic diagram disclosed in the embodiment of the present application;
Fig. 9 is a kind of specific storage resource management device structure schematic diagram disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of storage resource management method, system, device and computer readable storage medium,
With solve the problems, such as how convenient hyperdisk storage resource.
Referring to Fig. 1, a kind of storage resource management method provided by the embodiments of the present application is specifically included:
S101, reception of magnetic disc quota inquiry instruction.
The storage resource management method that this programme provides, specifically can be applied to the intelligence for managing hard-disc storage function
In hardware.
The function of receiving quota inquiry instruction is provided first, receives the quota inquiry instruction that any sender sends.Quota
Inquiry instruction is the instruction for inquiring Disk Quotas, that is to say, that quota inquiry instruction is for inquiring in disk for individual
It stores with the quota of the memory capacity for cloud computing is how many respectively.
It should be noted that the sender for sending quota inquiry instruction can include but is not limited to: user's application system, example
Such as user APP;Income voucher settles accounts factor acquisition module;And the module for cloud computing.
Wherein, user's application system it needs to be determined that user can be used the memory capacity for personal storage when, to
Intelligent hardware system sends above-mentioned quota inquiry instruction.
Income voucher settles accounts factor acquisition module and is needing to be determined the clearing of income voucher because of the period of the day from 11 p.m. to 1 a.m, intelligence according to quota situation
Hardware system sends quota inquiry instruction.Specific introduction in relation to income voucher, income voucher clearing factor acquisition module, will be
Following embodiments do specific introduction, will no longer repeat herein.
Module for cloud computing sends Disk Quotas to Intelligent hardware system when determining for shared storage resource
Inquiry instruction, so that it is determined that being used for the storage capacity information of cloud computing.
It should be noted that income voucher clearing factor acquisition module may each be intelligence firmly with the module for cloud computing
Computing module in part, and Disk Quotas inquiry instruction is sent by IPC (Inter-Process Communication) respectively and receives query result, just
It is Disk Quotas state.
S102 inquires Disk Quotas state using the Disk Quotas inquiry instruction;Wherein, the Disk Quotas state packet
Include second storage capacity information of the distribution for the first storage capacity information of cloud computing and distribution for personal storage.
Specifically, after receiving Disk Quotas inquiry instruction, Disk Quotas state can be inquired, that is, determine disk
In, for the first storage capacity information of cloud computing, and for the second storage capacity information of individual's storage.Memory capacity letter
Breath can be specific storage capacity value.
It should be noted that Disk Quotas state can be according to default rule, it is arranged automatically by system, is also possible to
According to the modification instruction setting of user, be also possible to not to be inconsistent in system detection to quota state actual conditions and facilities and
It is modified automatically when occurring abnormal, operation is specifically set about Disk Quotas state, will be specifically introduced in following embodiments,
It is no longer repeated herein.
S103 returns to the Disk Quotas state.
Specifically, after determining Disk Quotas state, Disk Quotas state is returned to and sends Disk Quotas inquiry instruction
Sender so that sender according to Disk Quotas state carry out corresponding operation.
It can be seen that a kind of storage resource management method provided by the embodiments of the present application, can provide reception of magnetic disc quota
The function of inquiry instruction is receiving to make the side for needing to inquire Disk Quotas state that the function of quota inquiry may be implemented
, can be according to instructions query to Disk Quotas state to after Disk Quotas inquiry instruction, that is, inquire specifically for cloud meter
The first storage capacity information calculated and the second storage capacity information for personal storage, then return to Disk Quotas state,
The side for sending quota inquiry instruction is set to be recognized that specific Disk Quotas state, thus can be with according to Disk Quotas state
It more easily manages and uses disk.
A kind of specific storage resource management method provided by the embodiments of the present application is introduced below, it is described below
A kind of specific disk storage method for managing resource, in above-described embodiment, when Disk Quotas inquiry instruction is applied by user
Such case that system is sent has made further restriction and explanation, and other content can be cross-referenced with above-described embodiment.
Referring to fig. 2, a kind of specific storage resource management method provided by the embodiments of the present application, specifically includes:
S201 receives the Disk Quotas inquiry instruction that user's application system is sent.
In the present solution, Disk Quotas inquiry instruction is sent by user's application system, wherein user's application system has
Body can be APP for users to use.User's application system can by HTTP (HyperText Transfer Protocol,
Hyper text transfer) agreement and Intelligent hardware system interaction.
It should be noted that a part of memory capacity of hard disk can be made for personal storage by Intelligent hardware system
Function, personal store function can be for user provide personal NAS (Network Attached Storage, it is network attached
Storage) service, user can by user's application system to disk carry out using with management.
It is used for cloud computing since a part of quota of disk is the allocated, in the disk size that user can be used
With regard to needing to be limited, exceed its quota to avoid the memory capacity that user uses.
Therefore, user's application system can send Disk Quotas inquiry instruction, can user is arranged according to the quota inquired
Limitation with the disk size used.
S202 inquires Disk Quotas state using the Disk Quotas inquiry instruction;Wherein, the Disk Quotas state packet
Include second storage capacity information of the distribution for the first storage capacity information of cloud computing and distribution for personal storage.
Second storage capacity information is back to user's application system by S203, so that user application system
Personal memory capacity restriction information is arranged using second storage capacity information in system.
Specifically, after inquiring Disk Quotas state, Disk Quotas state can be returned to user's application system, with
Make user's application system that personal memory capacity is set using the second storage capacity information in Disk Quotas state and uses limitation, it is a
People's memory capacity limits user using limitation and does not exceed the second storage capacity information to the use scope of disk.
It should be noted that user's application system only can also be back to the second storage capacity information.
The idle disk size of oneself is transferred to cloud calculation service by user, thus share oneself slack resources to network,
Therefore, in order to ensure that the stability of the whole resource for cloud computing, can encourage user sharing slack resources, it is the shared of user
Some remunerations are fed back in behavior.Block chain common recognition mechanism is loaded in Intelligent hardware system can count the shared behavior of user
Amount and registration, form open and clear distributed account book, and all shared behaviors of user all can be recorded and be verified by the whole network.It completes
After record and verifying, user can obtain Tenants-in-common and prove, that is, proof of work, and proof of work is more, Yong Hushou
Benefit is more, therefore in the present solution, income voucher of the proof of work as user.But at present due to that can not determine use
The concrete condition of the shared disk resource in family, the standard often measured are once to share behavior then corresponding disk according to number
Resource is a fixed disk size, however under actual conditions, user is not to share fixed disk size each time,
The clearing of proof of work so are just unfair.
Therefore, the embodiment of the present application provides a kind of specific storage resource management method, and income voucher settles accounts factor acquisition
Module can send Disk Quotas inquiry instruction to system, thus the specifying information for the Disk Quotas gone out according to user sharing come
Determine that proof of work settles accounts the factor, so that more fair determine proof of work for user.
Referring to Fig. 3, a kind of specific storage resource management method provided by the embodiments of the present application is specifically included:
S301 receives the Disk Quotas inquiry instruction that income voucher clearing factor acquisition module is sent.
Specifically, the Disk Quotas inquiry instruction that income voucher clearing factor acquisition module is sent is received.
It should be noted that income voucher settles accounts factor acquisition module, it is primarily used to the acquisition clearing factor, the clearing
The factor is for determining the corresponding proof of work for working as front disk user, that is, income voucher.
S302 inquires Disk Quotas state using the Disk Quotas inquiry instruction;Wherein, the Disk Quotas state packet
Include second storage capacity information of the distribution for the first storage capacity information of cloud computing and distribution for personal storage.
First storage capacity information is back to the income voucher and settles accounts factor acquisition module by S303.
Specifically, after inquiring Disk Quotas state, Disk Quotas state can be returned to user's application system,
In, the first storage capacity information only can also be back to income voucher clearing factor acquisition module.
S304 is used for using income voucher clearing factor acquisition module according to first storage capacity information determination
Settle accounts the clearing factor of proof of work.
After first storage capacity information is settled accounts factor acquisition module back to income voucher, so that it may utilize the module
According to the first storage capacity information determine clearing the factor, the calculating factor be for determine the clearing of proof of work because
Son.
It can be seen that since the clearing factor is determined according to the first storage capacity information, that is, according to actual point
It is used in the quota determination of cloud computing, therefore the determination for settling accounts the factor is also just more acurrate, so that proof of work is also just more quasi-
Really, to keep the income of user more fair.
A kind of specific storage resource management method provided by the embodiments of the present application is introduced below, it is described below
A kind of specific storage resource management method can be cross-referenced with any of the above-described embodiment.
Referring to fig. 4, a kind of storage resource management method provided by the embodiments of the present application, specifically includes:
S401 receives the Disk Quotas inquiry instruction that cloud computing module is sent.
In the present solution, receiving the Disk Quotas inquiry instruction of cloud computing module transmission.It should be noted that cloud computing mould
Block is the module for part disk size will to be made to be used for cloud computing.
S402 inquires Disk Quotas state using the Disk Quotas inquiry instruction;Wherein, the Disk Quotas state packet
Include second storage capacity information of the distribution for the first storage capacity information of cloud computing and distribution for personal storage.
First storage capacity information is back to the cloud computing module by S403.
S404 is used for the memory capacity of cloud computing using the cloud computing module according to first memory capacity adjustment.
Specifically, after the first storage capacity information returns to cloud computing module, cloud computing module can be deposited according to first
Capacity information is stored up, namely for the Disk Quotas of cloud computing, to adjust the memory capacity for being actually used in cloud computing.
Due to the individual subscriber storage service in the prior art and the business for cloud computing be all using same
Disk, however user but cannot adjust quota according to the wish of oneself, bring big inconvenience to the use of user.Therefore originally
Application provides a kind of specific storage resource management method, in user it is known that on the basis of Disk Quotas state, may be used also
To be adjusted to quota.
Referring to Fig. 5, a kind of specific storage resource management method provided by the embodiments of the present application, in the base of above-described embodiment
On plinth, further comprise:
S501 receives the Disk Quotas that user's application system is sent and modifies instruction.
Specifically, the Disk Quotas that system receives that user's application system is sent modifies instruction, includes disk in the instruction
The content of quota modification, such as to the modified values for the first storage capacity information for being applied to cloud computing and second for personal storage
Storage capacity information modified values.User's application system can also only send a modified values, and system is being received including the modification
After the modification instruction of value, another modified values is determined according to the total capacity of disk.Such as, user's application system sends modification first and deposits
The instruction that capacity information increases nGB is stored up, system receives modification instruction, determines and increases by the first amount of storage nGB, and reduces second and deposit
Store up capacity nGB.
S502, according to Disk Quotas state described in Disk Quotas modification instruction modification.
Specifically, it is modified and is instructed according to Disk Quotas, execute the operation of modification Disk Quotas state.
It should be noted that currently, Intelligent hardware is to be managed by the connection relationship with user disk to disk
Operation, when user disk and Intelligent hardware disconnect, user disk is i.e. no longer by the control of Intelligent hardware, it is thus possible to can go out
Current family disconnects, it is independent using entire disk the case where, therefore, the quota status information determined for Intelligent hardware is also
Invalid, therefore, in order to ensure quota status information is accurate, true, the embodiment of the present application provides a kind of specific storage money
Power supply management method can be monitored the abnormal conditions of disk, and when Disk Quotas state is abnormal, and timely update true
Real Disk Quotas status information.
Referring to Fig. 6, a kind of specific storage resource management method provided by the embodiments of the present application, in any of the above-described embodiment
On the basis of further include:
S601, detects whether the Disk Quotas state exception occurs.
Specifically, after disk and Intelligent hardware system establish connection, i.e., whether detection Disk Quotas state occurs different
Often.Obviously the step of detection is also possible to real-time perfoming, or establishes connection in disk and Intelligent hardware system and just detect exception
On the basis of, then be spaced preset time and detected.
In a specific embodiment, whether detection exceeds described second for the actual storage capacity of personal storage
Capacity information.
The quota being currently set whether is had exceeded for the actual storage capacity of personal storage that is, needing to detect.
After user disk and Intelligent hardware system disconnect, it is possible that the case where user distorts the practical quota of disk, it will
One's duty is used in the disk size of cloud computing, is changed to used in oneself individual's storage, therefore in the present solution, needing to detect for a
Whether the actual storage capacity of people's storage has exceeded the quota being currently set.
It should be noted that if user has distorted the actual memory capacity for personal storage, it is, detecting
When actual storage capacity for individual's storage exceeds second capacity information, then need to be repaired according to the actual storage capacity
Change the Disk Quotas state.
Specifically, when detecting second capacity information of the actual storage capacity beyond setting for individual's storage, then just
Needing to adjust Disk Quotas state is state corresponding with actual conditions.
On the other hand, user is also possible to after user disk and Intelligent hardware system disconnect, and distorts and saves originally
In the content of this part disk space for cloud computing, therefore in order to find to distort situation in time, the application is in another tool
In the embodiment of body, whether content of the detection in the memory space of cloud computing is tampered.The time of the detection with it is above-mentioned
The time of detection can be identical, is detected, is also possible in real time after user disk restores connection with Intelligent hardware system
It carries out, or on the basis of disk and Intelligent hardware system establish connection and just detect exception, then is spaced preset time and is detected.
S602, if so, exception information is back to user's application system.
If exception occurs in Disk Quotas state, user's application will be sent to abnormal relevant information by, which needing, is
System, so that user recognizes exception information in time.Exception information can specifically include anomalous content, and Exception Type detects exception
Time etc., particular content can be not specifically limited in this programme determines according to actual conditions.
A kind of storage resource management system provided by the embodiments of the present application is introduced below, one kind described below is deposited
Storing up resource management system can be cross-referenced with above-described embodiment.
Referring to Fig. 7, a kind of storage resource management system provided by the embodiments of the present application is specifically included:
Receiving module 701 is used for reception of magnetic disc quota inquiry instruction.
Enquiry module 702, for inquiring Disk Quotas state using the Disk Quotas inquiry instruction;Wherein, the magnetic
Disk quota state includes that second storage of the distribution for the first storage capacity information of cloud computing and distribution for personal storage is held
Measure information.
Return module 703, for returning to the Disk Quotas state.
In a specific embodiment, the receiving module 701 is specifically used for receiving what user's application system was sent
Disk Quotas inquiry instruction;Then the return module 703 is specifically used for second storage capacity information being back to the use
Family application system, so that personal memory capacity, which is arranged, using second storage capacity information in user's application system uses limit
Information processed.
In another particular embodiment of the invention, receiving module 701 is specifically used for receiving the magnetic that user's application system is sent
Disk quota inquiry instruction;Then the return module 703 is specifically used for first storage capacity information being back to the income
Voucher settles accounts factor acquisition module;Using income voucher clearing factor acquisition module according to first storage capacity information
Determine the clearing factor for settling accounts proof of work.
In another particular embodiment of the invention, receiving module 701 is specifically used for receiving the disk that cloud computing module is sent
Quota inquiry instruction;Then the return module 703 is specifically used for first storage capacity information being back to the cloud computing
Module;The memory capacity of cloud computing is used for according to first storage capacity information adjustment using the cloud computing module.
The storage resource management system of the present embodiment is for realizing storage resource management method above-mentioned, therefore storage resource
The embodiment part of the visible storage resource management method hereinbefore of specific embodiment in management system, for example, receiving mould
Block 701, enquiry module 702, return module 703 are respectively used to realize step S101 in above-mentioned storage resource management method,
S102, S103, so, specific embodiment is referred to the description of corresponding various pieces embodiment, and details are not described herein.
On the basis of the above system embodiment, a kind of specific storage resource management system provided in this embodiment, also
Include:
Detection module, for detecting whether the Disk Quotas state exception occurs.
Exception information is back to use when for detecting that the Disk Quotas state occurs abnormal by abnormal return module
Family application system.
In a specific embodiment, detection module is specifically used for actual storage capacity of the detection for personal storage
Whether second storage capacity information is exceeded;Then the system also includes:
Modified module, for detecting the actual storage capacity for individual's storage beyond second memory capacity letter
When breath, the Disk Quotas state is modified according to the actual storage capacity.
In another particular embodiment of the invention, detection module is specifically used for detection in the memory space of cloud computing
Whether content is tampered.
A kind of storage resource management device provided by the embodiments of the present application is introduced below, one kind described below is deposited
Resource management apparatus is stored up, it can be cross-referenced with any of the above-described embodiment.
Referring to Fig. 8, a kind of storage resource management device provided by the embodiments of the present application is specifically included:
Memory 801, for storing computer program;
Processor 802, performs the steps of when for executing the computer program
Reception of magnetic disc quota inquiry instruction;Disk Quotas state is inquired using the Disk Quotas inquiry instruction;Wherein, institute
Stating Disk Quotas state includes that first storage capacity information of the distribution for cloud computing is deposited with distribution for the second of personal storage
Store up capacity information;Return to the Disk Quotas state.
In some specific embodiments, the processor 802 executes the calculating loom journey saved in the memory 801
When sequence, following steps specifically may be implemented:
Receive the Disk Quotas inquiry instruction that user's application system is sent;Second storage capacity information is back to institute
User's application system is stated, so that personal memory capacity, which is arranged, using second storage capacity information in user's application system makes
Use restricted information.
In some specific embodiments, the processor 802 executes the calculating loom journey saved in the memory 801
When sequence, following steps specifically may be implemented:
Receive the Disk Quotas inquiry instruction that income voucher clearing factor acquisition module is sent;By first memory capacity
Information is back to the income voucher clearing factor acquisition module;Using income voucher clearing factor acquisition module according to institute
It states the first storage capacity information and determines the clearing factor for settling accounts proof of work.
In some specific embodiments, the processor 802 executes the calculating loom journey saved in the memory 801
When sequence, following steps specifically may be implemented:
Receive the Disk Quotas inquiry instruction that cloud computing module is sent;First storage capacity information is back to described
Cloud computing module;Storage using the cloud computing module according to first storage capacity information adjustment for cloud computing is held
Amount.
In some specific embodiments, the processor 802 executes the calculating loom journey saved in the memory 801
When sequence, following steps specifically may be implemented:
It receives the Disk Quotas that user's application system is sent and modifies instruction;Instruction modification institute is modified according to the Disk Quotas
State Disk Quotas state.
In some specific embodiments, the processor 802 executes the calculating loom journey saved in the memory 801
When sequence, following steps specifically may be implemented:
Detect whether the Disk Quotas state exception occurs;If so, exception information is back to user's application system.
In some specific embodiments, the processor 802 executes the calculating loom journey saved in the memory 801
When sequence, following steps specifically may be implemented:
Whether actual storage capacity of the detection for personal storage exceeds second storage capacity information;If so, according to
The actual storage capacity modifies the Disk Quotas state.
In some specific embodiments, the processor 802 executes the calculating loom journey saved in the memory 801
When sequence, following steps specifically may be implemented:
Whether content of the detection in the memory space of cloud computing is tampered.
Storage resource management device provided in this embodiment can be applied to CDN (Content Delivery Network,
Content distributing network) node device, also can be applied to the node device of block chain.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer
Step provided by above-described embodiment may be implemented when program is executed by processor.The storage medium may include: USB flash disk, movement
Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), the various media that can store program code such as magnetic or disk.
A kind of storage resource management equipment provided by the embodiments of the present application is introduced below, one kind described below is deposited
Asset management device is stored up, it can be cross-referenced with any of the above-described embodiment.
Referring to Fig. 9, a kind of storage resource management equipment provided by the embodiments of the present application is specifically included:
Shared disk management module 901 is used for reception of magnetic disc quota inquiry instruction;Utilize the Disk Quotas inquiry instruction
Inquire Disk Quotas state;Wherein, the Disk Quotas state include distribution for cloud computing the first storage capacity information with
Second storage capacity information of the distribution for personal storage;Return to the Disk Quotas state.
In one preferred embodiment, the shared deposit management module 901 is specifically used for receiving user's application system
The Disk Quotas that system is sent modifies instruction;According to Disk Quotas state described in Disk Quotas modification instruction modification.
In one preferred embodiment, the shared disk management module 901 is matched specifically for detecting the disk
Whether volume state there is exception;If so, exception information is back to user's application system.
In one preferred embodiment, the shared disk management module 901 is deposited specifically for detecting for individual
Whether the actual storage capacity of storage exceeds second storage capacity information;If so, exception information is back to user's application
System, and the Disk Quotas state is modified according to the actual storage capacity.
In one preferred embodiment, the shared disk management module 901 is specifically used for detection and is used for cloud computing
Memory space in content whether be tampered;If so, exception information is back to user's application system.
Further, the storage resource management equipment further include:
Income voucher settles accounts factor acquisition module 902, looks into for sending Disk Quotas to the shared disk management module
Instruction is ask, and after receiving the first storage capacity information that the shared disk management module is sent, is deposited according to described first
Storage capacity information determines the clearing factor for settling accounts proof of work.
Cloud computing module 903 for sending Disk Quotas inquiry instruction to the shared disk management module, and is receiving
After the first storage capacity information sent to the shared disk management module, is adjusted and used according to first storage capacity information
In the memory capacity of cloud computing.
In a specific embodiment, the shared disk management module 901 is applied by http protocol and user
System interacts, and settles accounts factor acquisition module 902 with income voucher respectively by IPC agreement and cloud computing module 903 carries out
Interaction.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (18)
1. a kind of storage resource management method characterized by comprising
Reception of magnetic disc quota inquiry instruction;
Disk Quotas state is inquired using the Disk Quotas inquiry instruction;Wherein, the Disk Quotas state includes that distribution is used
In the first storage capacity information of cloud computing and distribution for personal the second storage capacity information stored;
Return to the Disk Quotas state.
2. the method according to claim 1, wherein the reception of magnetic disc quota inquiry instruction, comprising:
Receive the Disk Quotas inquiry instruction that user's application system is sent;
It is then described to return to the Disk Quotas state, comprising:
Second storage capacity information is back to user's application system, so that described in user's application system utilization
Personal memory capacity restriction information is arranged in second storage capacity information.
3. the method according to claim 1, wherein the reception of magnetic disc quota inquiry instruction, comprising:
Receive the Disk Quotas inquiry instruction that income voucher clearing factor acquisition module is sent;
It is then described to return to the Disk Quotas state, comprising:
First storage capacity information is back to the income voucher clearing factor acquisition module;
It is determined according to first storage capacity information for settling accounts income using income voucher clearing factor acquisition module
The clearing factor of voucher.
4. the method according to claim 1, wherein the reception of magnetic disc quota inquiry instruction, comprising:
Receive the Disk Quotas inquiry instruction that cloud computing module is sent;
It is then described to return to the Disk Quotas state, comprising:
First storage capacity information is back to the cloud computing module;
The memory capacity of cloud computing is used for according to first storage capacity information adjustment using the cloud computing module.
5. the method according to claim 1, wherein further include:
It receives the Disk Quotas that user's application system is sent and modifies instruction;
According to Disk Quotas state described in Disk Quotas modification instruction modification.
6. method according to any one of claims 1 to 5, which is characterized in that further include:
Detect whether the Disk Quotas state exception occurs;
If so, exception information is back to user's application system.
7. according to the method described in claim 6, it is characterized in that, the detection Disk Quotas state whether occur it is different
Often, comprising:
Whether actual storage capacity of the detection for personal storage exceeds second storage capacity information;
If so, the method, further includes:
The Disk Quotas state is modified according to the actual storage capacity.
8. according to the method described in claim 6, wrapping it is characterized in that, detect whether the Disk Quotas state exception occurs
It includes:
Whether content of the detection in the memory space of cloud computing is tampered.
9. a kind of storage resource management device characterized by comprising
Memory, for storing computer program;
Processor realizes the storage resource management side as described in any one of claim 1 to 8 when for executing the computer program
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the storage resource management method as described in any one of claim 1 to 8 when the computer program is executed by processor
The step of.
11. a kind of storage resource management equipment characterized by comprising
Shared disk management module is used for reception of magnetic disc quota inquiry instruction;Magnetic is inquired using the Disk Quotas inquiry instruction
Disk quota state;Wherein, the Disk Quotas state includes that distribution is used for the first storage capacity information of cloud computing and distribution
In the second storage capacity information of individual's storage;Return to the Disk Quotas state.
12. equipment according to claim 11, which is characterized in that the equipment further include:
Income voucher settles accounts factor acquisition module, for sending Disk Quotas inquiry instruction to the shared disk management module,
And after receiving the first storage capacity information that the shared disk management module is sent, believed according to first memory capacity
Breath determines the clearing factor for settling accounts income voucher.
13. equipment according to claim 11, which is characterized in that the equipment further include:
Cloud computing module, for sending Disk Quotas inquiry instruction to the shared disk management module, and it is described receiving
After the first storage capacity information that shared disk management module is sent, according to first storage capacity information adjustment based on cloud
The memory capacity of calculation.
14. equipment according to claim 11, which is characterized in that the shared disk management module, which is specifically used for receiving, to be used
The Disk Quotas inquiry instruction that family application system is sent;Disk Quotas state is inquired using the Disk Quotas inquiry instruction;Its
In, the Disk Quotas state includes distribution for the first storage capacity information of cloud computing and distribution for personal storage the
Two storage capacity informations;Second storage capacity information is back to user's application system, so that the user applies
Personal memory capacity restriction information is arranged using second storage capacity information in system.
15. equipment according to claim 11, which is characterized in that the shared disk management module is specifically used for receiving
The Disk Quotas that user's application system is sent modifies instruction;According to Disk Quotas shape described in Disk Quotas modification instruction modification
State.
16. 1 to 15 described in any item equipment according to claim 1, which is characterized in that the shared disk management module, tool
Body is for detecting whether the Disk Quotas state exception occurs;If so, exception information is back to user's application system.
17. 1 to 15 described in any item equipment according to claim 1, which is characterized in that the shared disk management module, tool
Body is used to detect whether exceed second storage capacity information for the actual storage capacity of personal storage;If so, by different
Normal information is back to user's application system, and modifies the Disk Quotas state according to the actual storage capacity.
18. 1 to 15 described in any item equipment according to claim 1, which is characterized in that the shared disk management module, tool
Whether the content that body is used to detect in the memory space for cloud computing is tampered;If so, exception information is back to user
Application system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811142817.7A CN109358810A (en) | 2018-09-28 | 2018-09-28 | A kind of storage resource management method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811142817.7A CN109358810A (en) | 2018-09-28 | 2018-09-28 | A kind of storage resource management method and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109358810A true CN109358810A (en) | 2019-02-19 |
Family
ID=65348272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811142817.7A Pending CN109358810A (en) | 2018-09-28 | 2018-09-28 | A kind of storage resource management method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109358810A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101911047A (en) * | 2007-11-06 | 2010-12-08 | 瑞士信贷证券(美国)有限责任公司 | Distribute according to service level agreement prediction and management resource |
CN102823221A (en) * | 2010-03-26 | 2012-12-12 | 高通股份有限公司 | Network resource leasing |
CN103491191A (en) * | 2013-09-30 | 2014-01-01 | 深圳市龙视传媒有限公司 | Method and system for expanding space capacity of personal network disk |
CN103607469A (en) * | 2013-11-28 | 2014-02-26 | 东莞中国科学院云计算产业技术创新与育成中心 | Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof |
CN103733599A (en) * | 2011-08-18 | 2014-04-16 | 三星电子株式会社 | Apparatus and method for supporting family cloud in cloud computing system |
CN104125297A (en) * | 2014-08-06 | 2014-10-29 | 华为技术有限公司 | Virtual resource sharing method, device and system |
CN104903908A (en) * | 2012-11-07 | 2015-09-09 | 英特托拉斯技术公司 | Personalized data management systems and methods |
CN107360156A (en) * | 2017-07-10 | 2017-11-17 | 广东工业大学 | P2P network method for cloud storage based on block chain under a kind of big data environment |
CN107563850A (en) * | 2017-08-16 | 2018-01-09 | 广州亦云信息技术股份有限公司 | Based on shared economic virtual resource management method, application method, apparatus and system |
WO2018101008A1 (en) * | 2016-11-30 | 2018-06-07 | 横河電機株式会社 | Information processing device, resource allocation system, and resource allocation method |
-
2018
- 2018-09-28 CN CN201811142817.7A patent/CN109358810A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101911047A (en) * | 2007-11-06 | 2010-12-08 | 瑞士信贷证券(美国)有限责任公司 | Distribute according to service level agreement prediction and management resource |
CN102823221A (en) * | 2010-03-26 | 2012-12-12 | 高通股份有限公司 | Network resource leasing |
CN103733599A (en) * | 2011-08-18 | 2014-04-16 | 三星电子株式会社 | Apparatus and method for supporting family cloud in cloud computing system |
CN104903908A (en) * | 2012-11-07 | 2015-09-09 | 英特托拉斯技术公司 | Personalized data management systems and methods |
CN103491191A (en) * | 2013-09-30 | 2014-01-01 | 深圳市龙视传媒有限公司 | Method and system for expanding space capacity of personal network disk |
CN103607469A (en) * | 2013-11-28 | 2014-02-26 | 东莞中国科学院云计算产业技术创新与育成中心 | Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof |
CN104125297A (en) * | 2014-08-06 | 2014-10-29 | 华为技术有限公司 | Virtual resource sharing method, device and system |
WO2018101008A1 (en) * | 2016-11-30 | 2018-06-07 | 横河電機株式会社 | Information processing device, resource allocation system, and resource allocation method |
CN107360156A (en) * | 2017-07-10 | 2017-11-17 | 广东工业大学 | P2P network method for cloud storage based on block chain under a kind of big data environment |
CN107563850A (en) * | 2017-08-16 | 2018-01-09 | 广州亦云信息技术股份有限公司 | Based on shared economic virtual resource management method, application method, apparatus and system |
Non-Patent Citations (1)
Title |
---|
小花花啦啦女神: "《windows 10如何设置磁盘共享》", 《互联网》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10447594B2 (en) | Ensuring predictable and quantifiable networking performance | |
JP6126099B2 (en) | Marketplace for timely event data distribution | |
KR101865318B1 (en) | Burst mode control | |
US10334070B2 (en) | Method and system for real-time resource consumption control in a distributed computing environment | |
Das et al. | A QoS and profit aware cloud confederation model for IaaS service providers | |
EP2497293A1 (en) | Method and apparatus for pre-caching in a telecommunication system | |
CN109032800A (en) | A kind of load equilibration scheduling method, load balancer, server and system | |
CN108900314A (en) | A kind of the number of request charging method and device of network acceleration service | |
CN109358810A (en) | A kind of storage resource management method and relevant apparatus | |
CN109918366A (en) | A kind of data safety processing method based on big data | |
Molina-Jimenez et al. | On the feasibility of bilaterally agreed accounting of resource consumption | |
KR20130007508A (en) | System and method for intermediating chauffeur service | |
KR20120097120A (en) | System and method for intermediating chauffeur service | |
Smith et al. | Decentralized market-based resource allocation in a heterogeneous computing system | |
Li et al. | Cloud Computing Networks: Utilizing the Content Delivery Network |
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: 20190219 |