CN109614040A - Storage method, storage medium, electronic equipment and system with more storage pools - Google Patents

Storage method, storage medium, electronic equipment and system with more storage pools Download PDF

Info

Publication number
CN109614040A
CN109614040A CN201811418268.1A CN201811418268A CN109614040A CN 109614040 A CN109614040 A CN 109614040A CN 201811418268 A CN201811418268 A CN 201811418268A CN 109614040 A CN109614040 A CN 109614040A
Authority
CN
China
Prior art keywords
storage
data
storage pool
sub
data type
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.)
Granted
Application number
CN201811418268.1A
Other languages
Chinese (zh)
Other versions
CN109614040B (en
Inventor
窦锐元
刘晓阳
李海静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd
Original Assignee
WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd filed Critical WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd
Priority to CN201811418268.1A priority Critical patent/CN109614040B/en
Publication of CN109614040A publication Critical patent/CN109614040A/en
Application granted granted Critical
Publication of CN109614040B publication Critical patent/CN109614040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems

Abstract

The invention discloses a kind of storage method with more storage pools, storage medium, electronic equipment and systems, it is related to technical field of data storage, it includes storing default process and data storage procedure to this method, and it includes: that storage pool is divided into the sub- storage pool of at least two that storage pool, which presets process,;Storing data type is configured to sub- storage pool;According to the storing data type of sub- storage pool, Xiang Gezi storage pool distributes storage driving corresponding with storing data type;Data storage procedure includes: the data type of the target data stored as needed, selects corresponding storing data type;According to storing data type corresponding with target data, sub- storage pool corresponding with storing data type is selected;Target data is stored into sub- storage pool.Storage pool according to different Stored Data Type subregions, to provide more convenient data store organisation for staff, is met staff in follow-up data and extracts and store work requirements various in work by the present invention.

Description

Storage method, storage medium, electronic equipment and system with more storage pools
Technical field
The present invention relates to technical field of data storage, and in particular to a kind of storage method with more storage pools, storage are situated between Matter, electronic equipment and system.
Background technique
In current field of data storage, especially when using OpenStack construction public cloud and private clound, mirror image clothes Business can drive according to provided by different types of storage, interact with corresponding storage rear end, meet user to mirror As using upper demand;
But under existence conditions, for the storage rear end of most of type, mirroring service can only use its configuration A storage pool, and can not simultaneously using multiple storage pools carry out data storage, can not adapt to multiplicity data storage requirement;
Therefore, it is badly in need of the new-type storage method of one kind to solve the above problems.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of storage sides with more storage pools Method, storage medium, electronic equipment and system, by storage pool according to different Stored Data Type subregions, each sub- storage pool is corresponding A kind of storing data type meets staff in subsequent number to provide more convenient data store organisation for staff According to work requirements various in extraction and storage work.
To achieve the above objectives, the technical solution adopted by the present invention is that:
In a first aspect, the present invention provides a kind of storage method with more storage pools comprising store default process and Data storage procedure, the storage pool preset process the following steps are included:
Storage pool is divided into the sub- storage pool of at least two;
Storing data type is configured to the sub- storage pool;
According to the storing data type of the sub- storage pool, to each sub- storage pool distribution and the storing data The corresponding storage driving of type;
The data storage procedure the following steps are included:
The data type of the target data stored as needed selects the corresponding storing data type;
According to the storing data type corresponding with the target data, select corresponding with the storing data type The sub- storage pool;
The target data is stored into the sub- storage pool.
Based on the above technical solution, it is further comprising the steps of to preset process for the storage pool:
Data access interface is set, and the data access interface is for accessing each sub- storage pool and reading each described The storing data type of sub- storage pool.
Based on the above technical solution, the data storage procedure the following steps are included:
Using the data access interface, each storing data type is obtained;
The data type of the target data stored as needed selects the corresponding storing data type;
According to the storing data type corresponding with the target data, select corresponding with the storing data type The sub- storage pool;
The target data is stored to the sub- storage pool using the data access interface.
Based on the above technical solution, described to be stored the target data to institute using the data access interface Sub- storage pool is stated, specifically includes the following steps:
The residual memory space size of the sub- storage pool is obtained using the data access interface;
It, will using the data access interface when the residual memory space size is greater than the size of the target data The target data is stored into the sub- storage pool;
When the residual memory space size is less than the size of the target data, stop data storing work.
Second aspect is stored with computer program, the meter the present invention also provides a kind of storage medium on the storage medium Calculation machine program realizes the storage method for having more storage pools of above-mentioned first aspect when being executed by processor.
The third aspect stores on memory the present invention also provides a kind of electronic equipment, including memory and processor The computer program run on processor, the processor realize that having for above-mentioned first aspect is more when executing the computer program The storage method of storage pool.
Fourth aspect, the present invention also provides a kind of storage systems with more storage pools comprising store default unit with And data storage cell, the default unit of storage specifically include:
Storage pool divides subelement, is used to for storage pool to be divided into the sub- storage pool of at least two;
Information configuration subelement is used for the sub- storage pool configuration storing data type;
Driving configuration subelement, according to the storing data type of the sub- storage pool, to each sub- storage pool point With storage driving corresponding with the storing data type;
The data storage cell specifically includes:
Type matching subelement, the data type for the target data for being used to store as needed select corresponding The storing data type;
Sub- storage pool selectes subelement, is used for according to the storing data type corresponding with the target data, choosing The fixed sub- storage pool corresponding with the storing data type;
Data storage subunit operable is used to store the target data into the sub- storage pool.
Based on the above technical solution, the default unit of the storage is specific further include:
Data access interface is used to access each sub- storage pool and reads the storage of each sub- storage pool Data type.
Based on the above technical solution, the type matching subelement is used for using the data access interface, Each storing data type, and then the data type of the target data stored as needed are obtained, corresponding institute is selected State storing data type;
The data storage subunit operable is used to store the target data to described using the data access interface Sub- storage pool.
Based on the above technical solution, the data storage cell further include:
Residual memory space acquiring size subelement is used to obtain the sub- storage pool using the data access interface Residual memory space size;
The data storage subunit operable is used to be greater than the size of the target data when the residual memory space size When, the target data is stored into the sub- storage pool using the data access interface, when the residual memory space When size is less than the size of the target data, stop data storing work.
Compared with the prior art, the advantages of the present invention are as follows:
For the present invention by storage pool according to different Stored Data Type subregions, each sub- storage pool corresponds to a kind of storing data class Type meets staff in follow-up data and extracts and store work to provide more convenient data store organisation for staff Various work requirements in work.
Detailed description of the invention
Fig. 1 is that a kind of storage pool for storage method with more storage pools that the embodiment of the present invention one, two provides was preset The step flow chart of journey;
Fig. 2 is a kind of data storage procedure for storage method with more storage pools that the embodiment of the present invention one, two provides Step flow chart;
Fig. 3 is that a kind of storage method with more storage pools that the embodiment of the present invention one, two provides is being based on data access When interface, storage pool presets the step flow chart of process;
Fig. 4 is a kind of storage method with more storage pools that provides of the embodiment of the present invention one, two in, is visited using data Ask that interface stores target data to the step flow chart of sub- storage pool;
Fig. 5 is a kind of knot of the default unit of storage for storage system with more storage pools that the embodiment of the present invention three provides Structure block diagram;
Fig. 6 is a kind of knot of the data storage cell for storage system with more storage pools that the embodiment of the present invention three provides Structure block diagram;
In figure: 1, storing default unit;10, storage pool divides subelement;11, information configuration subelement;12, driving configuration Subelement;13, data access interface;2, data storage cell;20, type matching subelement;21, the selected son of sub- storage pool is single Member;22, data storage subunit operable;23, residual memory space acquiring size subelement.
Specific embodiment
The embodiment of the present invention is described in further detail below in conjunction with attached drawing.
The embodiment of the present invention provides a kind of storage method with more storage pools, storage medium, electronic equipment and system, will Storage pool corresponds to a kind of storing data type according to different Stored Data Type subregions, each sub- storage pool, to be work people Member provides more convenient data store organisation, meets staff in follow-up data and extracts and store work need various in work It asks.
To reach above-mentioned technical effect, the general thought of the application is as follows:
A kind of storage method with more storage pools comprising store default process and data storage procedure, storage pool Default process the following steps are included:
A1, storage pool is divided into the sub- storage pool of at least two;
A2, storing data type is configured to sub- storage pool;
A3, the storing data type according to sub- storage pool, the distribution of Xiang Gezi storage pool is corresponding with storing data type to deposit Storage driving;
Data storage procedure the following steps are included:
The data type of B1, the target data stored as needed select corresponding storing data type;
B2, basis storing data type corresponding with target data, select sub- storage pool corresponding with storing data type;
B3, target data is stored into sub- storage pool.
The embodiment of the present invention, by storage pool according to different Stored Data Type subregions, each sub- storage pool corresponds to one kind and deposits Data type is stored up, to provide more convenient data store organisation for staff, meets staff and is extracted in follow-up data With work requirements various in storage work.
Embodiment one
Referring to shown in Fig. 1 to 4, the embodiment of the present invention provides a kind of storage method with more storage pools comprising storage Default process and data storage procedure, storage pool preset process the following steps are included:
A1, storage pool is divided into the sub- storage pool of at least two;
A2, storing data type is configured to sub- storage pool;
A3, the storing data type according to sub- storage pool, the distribution of Xiang Gezi storage pool is corresponding with storing data type to deposit Storage driving;
Data storage procedure the following steps are included:
The data type of B1, the target data stored as needed select corresponding storing data type;
B2, basis storing data type corresponding with target data, select sub- storage pool corresponding with storing data type;
B3, target data is stored into sub- storage pool.
In the embodiment of the present invention, first in step A1, storage pool is divided, so that different storage demands will be coped with Storage region carry out subregion, each sub- storage pool copes with respective store tasks respectively, avoids the data respectively stored mutually mixed Confuse,;
Then, storing data type, storing data type, that is, sub- storage pool storage then are configured to sub- storage pool in step A2 Data data type, every sub- storage pool is for storing the corresponding consistent data of storing data type;
In the final step for storing default process, i.e. step A3, since every sub- storage pool stores different types of data, So needing the storing data type according to sub- storage pool, Xiang Gezi storage pool distributes storage corresponding with storing data type and drives It is dynamic, so that each sub- storage pool can complete respective data storing work;
In data storage procedure, B1 step first needs to select sub- storage pool corresponding with target data, so it is preferred The data type for the target data that can be stored as needed selects corresponding storing data type, and then carries out step again B2 selectes sub- storage pool corresponding with storing data type, final step according to storing data type corresponding with target data B3 stores target data into sub- storage pool, to complete data storing steps.
The embodiment of the present invention, by storage pool according to different Stored Data Type subregions, each sub- storage pool corresponds to one kind and deposits Data type is stored up, to provide more convenient data store organisation for staff, meets staff and is extracted in follow-up data With work requirements various in storage work.
It should be noted that the storage driving of each sub- storage pool is present in the server end of storage pool, for respectively to depositing Each sub- storage pool of reservoir carries out data communication and management, is also convenient for the later period to the progress dilatation of sub- storage pool or upgrading processing.
In the embodiment of the present invention, it is further comprising the steps of that storage pool presets process:
Data access interface is set, and data access interface is used to access each sub- storage pool and reads depositing for each sub- storage pool Store up data type;
Notebook data access interface is used to carry out data communication with each sub- storage pool in storage pool and reads each sub- storage On the one hand the storing data type in pond can be convenient for that staff is allowed to understand the corresponding storing data type of each sub- storage pool, from And knowing each sub- storage pool, for storing which type of data, on the other hand can read the data in each sub- storage pool Write operation.
In the embodiment of the present invention, data storage procedure the following steps are included:
C1, using data access interface, obtain each storing data type;
The data type of C2, the target data stored as needed select corresponding storing data type;
C3, basis storing data type corresponding with target data, select sub- storage pool corresponding with storing data type;
C4, target data is stored to sub- storage pool using data access interface;
I.e. in data storage procedure, the acquisition of storing data type is mainly completed using data access interface, thus According to the data type of target data, sub- storage pool corresponding with the data type of the target data is found, is deposited to complete son The selected work of reservoir.
In the embodiment of the present invention, target data is stored to sub- storage pool using data access interface, is specifically included following Step:
D1, the residual memory space size that sub- storage pool is obtained using data access interface;
D2, when residual memory space size is greater than the size of target data, using data access interface by target data It stores into sub- storage pool;
D3, when residual memory space size be less than target data size when, stop data storing work;
I.e. in data storage procedure, the storage work of target data is mainly completed using data access interface.
It should be noted that target data is specifically stored in the memory space of the server of storage pool, this storage Space refers to the usable storage medium of server, such as hard disk, external storage, shared storage etc..
Embodiment two
Referring to shown in Fig. 1 to 4, the embodiment of the present invention provides a kind of storage method with more storage pools, specifically with its packet Include the default process of storage and data storage procedure, storage pool preset process the following steps are included:
A1, storage pool is divided into the sub- storage pool of at least two;
A2, storing data type is configured to sub- storage pool;
A3, the storing data type according to sub- storage pool, the distribution of Xiang Gezi storage pool is corresponding with storing data type to deposit Storage driving;
Data storage procedure the following steps are included:
The data type of B1, the target data stored as needed select corresponding storing data type;
B2, basis storing data type corresponding with target data, select sub- storage pool corresponding with storing data type;
B3, target data is stored into sub- storage pool.
In the embodiment of the present invention, first in step A1, storage pool is divided, so that different storage demands will be coped with Storage region carry out subregion, each sub- storage pool copes with respective store tasks respectively, avoids the data respectively stored mutually mixed Confuse,;
Then, storing data type, storing data type, that is, sub- storage pool storage then are configured to sub- storage pool in step A2 Data data type, every sub- storage pool is for storing the corresponding consistent data of storing data type;
In the final step for storing default process, i.e. step A3, since every sub- storage pool stores different types of data, So needing the storing data type according to sub- storage pool, Xiang Gezi storage pool distributes storage corresponding with storing data type and drives It is dynamic, so that each sub- storage pool can complete respective data storing work;
In data storage procedure, B1 step first needs to select sub- storage pool corresponding with target data, so it is preferred The data type for the target data that can be stored as needed selects corresponding storing data type, and then carries out step again B2 selectes sub- storage pool corresponding with storing data type, final step according to storing data type corresponding with target data B3 stores target data into sub- storage pool, to complete data storing steps.
The embodiment of the present invention, by storage pool according to different Stored Data Type subregions, each sub- storage pool corresponds to one kind and deposits Data type is stored up, to provide more convenient data store organisation for staff, meets staff and is extracted in follow-up data With work requirements various in storage work.
The embodiment of the present invention can be applied to more storage rear ends field of OpenStack mirroring service, and concrete operations are as follows:
Storage pool is configured according to storage demand first, the multiple sons for being set as individually carrying out storage work are deposited Reservoir, and storage driving is distributed to each storage pool, storage driving can be rbq, vmware and ovirt;
Wherein, rbd is the Block Device Driver of the docking Glance component provided in distributed storage Ceph, can dock Ceph The block storage pool provided is provided;
Vmware is that the driving for the docking Glance component that VMware is provided can be docked by the driving for storing mirror As the storage pool of data;
Ovirt is the driving for the docking Glance component that oVirt is provided, and by the driving, Glance can dock oVirt and mention The storage pool of confession;
When specific operation, user is by interface or order line, and into OpenStack, mirroring service initiation uploads mirror image and asks It asks, after the glance-api module in mirroring service receives request and handles, so that the data type stored as needed, choosing Corresponding driving is selected, and mirror image data is stored into the sub- storage pool of specified type;
Herein, it should be noted that the storage driving of each sub- storage pool is present in the server end of storage pool, for distinguishing Data communication and management are carried out to each sub- storage pool of storage pool, being also convenient for the later period carries out at dilatation or upgrading sub- storage pool Reason.
It should be noted that OpenStack is a free software and open source code with Apache licensing authorization Project, OpenStack are the cloud computing management platform projects of an open source, and being combined by several main components, it is specific to complete Work;
OpenStack supports almost all kinds of cloud environment, and project objective is to provide that implementation is simple, can expand on a large scale Exhibition, the cloud computing that abundant, standard is unified manage platform.OpenStack provides the foundation facility i.e. by the service of various complementations The solution of (IaaS) is serviced, each service provides API to be integrated.
In the embodiment of the present invention, it is further comprising the steps of that storage pool presets process:
Data access interface is set, and data access interface is used to access each sub- storage pool and reads depositing for each sub- storage pool Store up data type;
Notebook data access interface is used to carry out data communication with each sub- storage pool in storage pool and reads each sub- storage On the one hand the storing data type in pond can be convenient for that staff is allowed to understand the corresponding storing data type of each sub- storage pool, from And knowing each sub- storage pool, for storing which type of data, on the other hand can read the data in each sub- storage pool Write operation.
In the embodiment of the present invention, data storage procedure the following steps are included:
C1, using data access interface, obtain each storing data type;
The data type of C2, the target data stored as needed select corresponding storing data type;
C3, basis storing data type corresponding with target data, select sub- storage pool corresponding with storing data type;
C4, target data is stored to sub- storage pool using data access interface;
I.e. in data storage procedure, the acquisition of storing data type is mainly completed using data access interface, thus According to the data type of target data, sub- storage pool corresponding with the data type of the target data is found, is deposited to complete son The selected work of reservoir.
In the embodiment of the present invention, target data is stored to sub- storage pool using data access interface, is specifically included following Step:
D1, the residual memory space size that sub- storage pool is obtained using data access interface;
D2, when residual memory space size is greater than the size of target data, using data access interface by target data It stores into sub- storage pool;
D3, when residual memory space size be less than target data size when, stop data storing work;
I.e. in data storage procedure, the storage work of target data is mainly completed using data access interface.
Based on the same inventive concept, this application provides the realities of the corresponding storage system with more storage pools of embodiment one Apply example, detailed in Example three
Embodiment three
As shown in Figure 5,6, third embodiment of the invention provides a kind of storage system with more storage pools comprising deposits Default unit 1 and data storage cell 2 are stored up, default unit 1 is stored and specifically includes:
Storage pool divides subelement 10, is used to for storage pool to be divided into the sub- storage pool of at least two;
Information configuration subelement 11 is used to configure storing data type to sub- storage pool;
Driving configuration subelement 12, according to the storing data type of sub- storage pool, the distribution of Xiang Gezi storage pool and storage number According to the corresponding storage driving of type;
Data storage cell 2 specifically includes:
Type matching subelement 20, the data type for the target data for being used to store as needed select corresponding Storing data type;
Sub- storage pool selectes subelement 21, is used to select and deposit according to storing data type corresponding with target data Store up the corresponding sub- storage pool of data type;
Data storage subunit operable 22 is used to store target data into sub- storage pool.
Based on the above technical solution, it is specific to store default unit 1 further include:
Data access interface 13 is used to access each sub- storage pool and reads the storing data type of each sub- storage pool.
Based on the above technical solution, type matching subelement 20 is used to obtain using data access interface 13 Each storing data type, and then the data type of the target data stored as needed select corresponding storing data class Type;
Data storage subunit operable 22 is used to store target data to sub- storage pool using data access interface 13.
Based on the above technical solution, data storage cell 2 further include:
Residual memory space acquiring size subelement 23 is used to obtain the surplus of sub- storage pool using data access interface 13 Remaining storage size.
Data storage subunit operable 22 is used to utilize number when residual memory space size is greater than the size of target data Target data is stored into sub- storage pool according to access interface 13, when residual memory space size is less than the size of target data When, stop data storing work.
Based on the same inventive concept, this application provides the embodiment of the corresponding storage medium of embodiment one, it is detailed in implementation Example four
Example IV
Fourth embodiment of the invention provides a kind of computer readable storage medium, is stored thereon with computer program, meter All method and steps or Part Methods step in first embodiment are realized when calculation machine program is executed by processor.
The present invention realizes all or part of the process in above-mentioned first embodiment, can also be instructed by computer program Relevant hardware is completed, and computer program can be stored in a computer readable storage medium, which is being located It manages when device executes, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, computer program includes computer program code, Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer Readable medium may include: any entity or device, recording medium, USB flash disk, mobile hard that can carry computer program code Disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, R andom Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that computer-readable medium includes can carry out appropriate according to the requirement made laws in jurisdiction with patent practice Increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include electric carrier signal and Telecommunication signal.
Based on the same inventive concept, this application provides the embodiment of the corresponding electronic equipment of embodiment one, it is detailed in implementation Example four
Embodiment five
Fifth embodiment of the invention also provides a kind of electronic equipment, including memory and processor, stores on memory The computer program run on a processor, processor realize all methods step in first embodiment when executing computer program Rapid or Part Methods step.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng processor is the control centre of computer installation, utilizes each portion of various interfaces and the entire computer installation of connection Point.
Memory can be used for storing computer program and/or module, and processor is stored in memory by operation or execution Interior computer program and/or module, and the data being stored in memory are called, realize the various function of computer installation Energy.Memory can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least Application program needed for one function (such as sound-playing function, image player function etc.) etc.;Storage data area can store root Created data (such as audio data, video data etc.) etc. are used according to mobile phone.In addition, memory may include high speed with Machine accesses memory, can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least One disk memory, flush memory device or other volatile solid-state parts.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system, server or calculating Machine program product.Therefore, the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes computer usable program code that the present invention, which can be used in one or more, The computer program implemented in computer-usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, equipment (system), server and computer program product Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
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.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of storage method with more storage pools, which is characterized in that it includes that the default process of storage and data stored Journey, the storage pool preset process the following steps are included:
Storage pool is divided into the sub- storage pool of at least two;
Storing data type is configured to the sub- storage pool;
According to the storing data type of the sub- storage pool, to each sub- storage pool distribution and the storing data type Corresponding storage driving;
The data storage procedure the following steps are included:
The data type of the target data stored as needed selects the corresponding storing data type;
According to the storing data type corresponding with the target data, select corresponding with the storing data type described Sub- storage pool;
The target data is stored into the sub- storage pool.
2. the method as described in claim 1, which is characterized in that the storage pool preset process the following steps are included:
Data access interface is set, and the data access interface is deposited for accessing each sub- storage pool and reading each son The storing data type of reservoir.
3. method according to claim 2, which is characterized in that the data storage procedure the following steps are included:
Using the data access interface, each storing data type is obtained;
The data type of the target data stored as needed selects the corresponding storing data type;
According to the storing data type corresponding with the target data, select corresponding with the storing data type described Sub- storage pool;
The target data is stored to the sub- storage pool using the data access interface.
4. method as claimed in claim 3, which is characterized in that described to utilize the data access interface by the target data It stores to the sub- storage pool, specifically includes the following steps:
The residual memory space size of the sub- storage pool is obtained using the data access interface;
It, will be described using the data access interface when the residual memory space size is greater than the size of the target data Target data is stored into the sub- storage pool;
When the residual memory space size is less than the size of the target data, stop data storing work.
5. a kind of storage medium, computer program is stored on the storage medium, it is characterised in that: the computer program is located It manages when device executes and realizes the described in any item methods of Claims 1-4.
6. a kind of electronic equipment, including memory and processor, the computer journey run on a processor is stored on memory Sequence, it is characterised in that: the processor realizes the described in any item methods of Claims 1-4 when executing the computer program.
7. a kind of storage system with more storage pools, which is characterized in that it includes storing default unit and data storage list Member, the default unit of storage specifically include:
Storage pool divides subelement, is used to for storage pool to be divided into the sub- storage pool of at least two;
Information configuration subelement is used for the sub- storage pool configuration storing data type;
Driving configuration subelement, according to the storing data type of the sub- storage pool, to each sub- storage pool distribution with The corresponding storage driving of the storing data type;
The data storage cell specifically includes:
Type matching subelement, the data type for the target data for being used to store as needed select corresponding described Storing data type;
Sub- storage pool selectes subelement, is used for according to the storing data type corresponding with the target data, select with The corresponding sub- storage pool of the storing data type;
Data storage subunit operable is used to store the target data into the sub- storage pool.
8. system as claimed in claim 7, which is characterized in that the default unit of storage is specific further include:
Data access interface is used to access each sub- storage pool and reads the storing data of each sub- storage pool Type.
9. system as claimed in claim 8, it is characterised in that:
The type matching subelement is used to obtain each storing data type, in turn using the data access interface The data type of the target data stored as needed selects the corresponding storing data type;
The data storage subunit operable is used to store the target data to the son using the data access interface Storage pool.
10. method according to claim 8, which is characterized in that the data storage cell further include:
Residual memory space acquiring size subelement is used to obtain the surplus of the sub- storage pool using the data access interface Remaining storage size;
The data storage subunit operable is used for when the residual memory space size is greater than the size of the target data, The target data is stored into the sub- storage pool using the data access interface, when the residual memory space size Less than the target data size when, stop data storing work.
CN201811418268.1A 2018-11-26 2018-11-26 Storage method, storage medium, electronic device and system with multiple storage pools Active CN109614040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811418268.1A CN109614040B (en) 2018-11-26 2018-11-26 Storage method, storage medium, electronic device and system with multiple storage pools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811418268.1A CN109614040B (en) 2018-11-26 2018-11-26 Storage method, storage medium, electronic device and system with multiple storage pools

Publications (2)

Publication Number Publication Date
CN109614040A true CN109614040A (en) 2019-04-12
CN109614040B CN109614040B (en) 2022-04-29

Family

ID=66003601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811418268.1A Active CN109614040B (en) 2018-11-26 2018-11-26 Storage method, storage medium, electronic device and system with multiple storage pools

Country Status (1)

Country Link
CN (1) CN109614040B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471862A (en) * 2019-07-16 2019-11-19 杭州电子科技大学 A kind of the address of variable distribution system and method for programmable controller
CN111427666A (en) * 2020-04-01 2020-07-17 山东汇贸电子口岸有限公司 Method and system for quickly importing virtual machine image in OpenStack environment
CN111444152A (en) * 2020-03-30 2020-07-24 北京小米移动软件有限公司 File system, file system access method, electronic device, and storage medium
CN111831232A (en) * 2020-07-22 2020-10-27 浙江大华技术股份有限公司 Data storage method and device, storage medium and electronic device
CN113660180A (en) * 2021-07-30 2021-11-16 鹏城实验室 Data storage method, device, terminal and storage medium
CN113721855A (en) * 2021-09-01 2021-11-30 中国建设银行股份有限公司 Storage method and device of storage resources, electronic equipment and computer storage medium
CN113741790A (en) * 2020-05-29 2021-12-03 杭州海康威视数字技术股份有限公司 Multi-video-recording-plan storage method and device for video data and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313446A1 (en) * 2008-06-12 2009-12-17 Sun Microsystems, Inc. Method and system for cross-domain data sharing
US20100235831A1 (en) * 2009-03-12 2010-09-16 Arend Erich Dittmer Method for dynamic configuration of virtual machine
US20110185148A1 (en) * 2005-10-04 2011-07-28 Hitachi, Ltd. Data Management Method in Storage Pool and Virtual Volume in DKC
CN102301355A (en) * 2008-12-31 2011-12-28 英特尔公司 Providing Differentiated I/o Services Within A Hardware Storage Controller
US8473678B1 (en) * 2010-06-29 2013-06-25 Emc Corporation Managing multi-tiered storage pool provisioning
US8732354B1 (en) * 2005-09-30 2014-05-20 Symantec Operating Corporation Method and apparatus for controlling access to a storage area network
CN104881259A (en) * 2015-06-29 2015-09-02 联想(北京)有限公司 Data processing method and device and storage device
CN104903874A (en) * 2012-09-06 2015-09-09 百科容(科技)公司 Large-scale data storage and delivery system
CN104991736A (en) * 2015-06-15 2015-10-21 联想(北京)有限公司 Method and device for typing in data and storage equipment
US20160150047A1 (en) * 2014-11-21 2016-05-26 Security First Corp. Gateway for cloud-based secure storage
CN106354431A (en) * 2016-08-26 2017-01-25 浪潮(北京)电子信息产业有限公司 Data storage method and device
CN106708430A (en) * 2016-11-30 2017-05-24 浪潮软件集团有限公司 Cloud hard disk implementation method under cloud computing architecture
CN107908372A (en) * 2017-12-14 2018-04-13 南京云创大数据科技股份有限公司 A kind of more fusion storage methods of strange land isomery

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732354B1 (en) * 2005-09-30 2014-05-20 Symantec Operating Corporation Method and apparatus for controlling access to a storage area network
US20110185148A1 (en) * 2005-10-04 2011-07-28 Hitachi, Ltd. Data Management Method in Storage Pool and Virtual Volume in DKC
US20090313446A1 (en) * 2008-06-12 2009-12-17 Sun Microsystems, Inc. Method and system for cross-domain data sharing
CN102301355A (en) * 2008-12-31 2011-12-28 英特尔公司 Providing Differentiated I/o Services Within A Hardware Storage Controller
US20100235831A1 (en) * 2009-03-12 2010-09-16 Arend Erich Dittmer Method for dynamic configuration of virtual machine
US8473678B1 (en) * 2010-06-29 2013-06-25 Emc Corporation Managing multi-tiered storage pool provisioning
CN104903874A (en) * 2012-09-06 2015-09-09 百科容(科技)公司 Large-scale data storage and delivery system
US20160150047A1 (en) * 2014-11-21 2016-05-26 Security First Corp. Gateway for cloud-based secure storage
CN104991736A (en) * 2015-06-15 2015-10-21 联想(北京)有限公司 Method and device for typing in data and storage equipment
CN104881259A (en) * 2015-06-29 2015-09-02 联想(北京)有限公司 Data processing method and device and storage device
CN106354431A (en) * 2016-08-26 2017-01-25 浪潮(北京)电子信息产业有限公司 Data storage method and device
CN106708430A (en) * 2016-11-30 2017-05-24 浪潮软件集团有限公司 Cloud hard disk implementation method under cloud computing architecture
CN107908372A (en) * 2017-12-14 2018-04-13 南京云创大数据科技股份有限公司 A kind of more fusion storage methods of strange land isomery

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471862A (en) * 2019-07-16 2019-11-19 杭州电子科技大学 A kind of the address of variable distribution system and method for programmable controller
CN111444152A (en) * 2020-03-30 2020-07-24 北京小米移动软件有限公司 File system, file system access method, electronic device, and storage medium
CN111427666A (en) * 2020-04-01 2020-07-17 山东汇贸电子口岸有限公司 Method and system for quickly importing virtual machine image in OpenStack environment
CN111427666B (en) * 2020-04-01 2022-04-12 浪潮云信息技术股份公司 Method and system for quickly importing virtual machine image in OpenStack environment
CN113741790A (en) * 2020-05-29 2021-12-03 杭州海康威视数字技术股份有限公司 Multi-video-recording-plan storage method and device for video data and storage medium
CN111831232A (en) * 2020-07-22 2020-10-27 浙江大华技术股份有限公司 Data storage method and device, storage medium and electronic device
CN113660180A (en) * 2021-07-30 2021-11-16 鹏城实验室 Data storage method, device, terminal and storage medium
CN113660180B (en) * 2021-07-30 2023-11-28 鹏城实验室 Data storage method, device, terminal and storage medium
CN113721855A (en) * 2021-09-01 2021-11-30 中国建设银行股份有限公司 Storage method and device of storage resources, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN109614040B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN109614040A (en) Storage method, storage medium, electronic equipment and system with more storage pools
US11204793B2 (en) Determining an optimal computing environment for running an image
CN101561769B (en) Process migration tracking method based on multi-core platform virtual machine
US11119562B2 (en) Power sharing among user devices
CN104142853B (en) Virtual machine storage resource dispositions method and device
CN107977268A (en) Method for scheduling task, device and the computer-readable recording medium of the isomerization hardware of artificial intelligence
CN106953893A (en) Data Migration between cloud storage system
US10223152B2 (en) Optimized migration of virtual objects across environments in a cloud computing environment
US10146665B2 (en) Systems and methods for providing dynamic and real time simulations of matching resources to requests
US11074134B2 (en) Space management for snapshots of execution images
US20160283275A1 (en) Dynamic workload deployment for data integration services
US20120323821A1 (en) Methods for billing for data storage in a tiered data storage system
CN102426523A (en) Multi-dimensional objects
US10664786B2 (en) Using run time and historical customer profiling and analytics to determine customer test vs. production differences, and to enhance customer test effectiveness
WO2020170049A1 (en) Native code generation for cloud services
EP4222598A1 (en) Optimizing job runtimes via prediction-based token allocation
CN104104705A (en) Access method and device of distributed storage system
CN109213429B (en) Storage management method and device
US20180357228A1 (en) Automated hardware device storage tiering
WO2022100439A1 (en) Workflow patching
CN111176790A (en) Active maintenance method and device of cloud platform physical host and readable storage medium
CN110826786A (en) Method and device for predicting number of target place population and storage medium
CN111078152B (en) Cloud hard disk creation method and device based on cloud platform
US10229041B2 (en) Run time TPNS workload controls for test workload tuning in relation to customer profiling workload
US20210149717A1 (en) Parallel execution of applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant