CN108932114A - A kind of method and device of data storage - Google Patents

A kind of method and device of data storage Download PDF

Info

Publication number
CN108932114A
CN108932114A CN201810745477.0A CN201810745477A CN108932114A CN 108932114 A CN108932114 A CN 108932114A CN 201810745477 A CN201810745477 A CN 201810745477A CN 108932114 A CN108932114 A CN 108932114A
Authority
CN
China
Prior art keywords
hard disk
storage device
mechanical hard
target
access frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810745477.0A
Other languages
Chinese (zh)
Inventor
郭平加
王艳清
徐洪志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810745477.0A priority Critical patent/CN108932114A/en
Publication of CN108932114A publication Critical patent/CN108932114A/en
Pending legal-status Critical Current

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/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • 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
    • 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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device

Abstract

This application discloses a kind of method and devices of data storage, comprising: obtains the history access frequency of target data;The target storage device of target data is determined according to history access frequency;Wherein, the read and write rate of history access frequency and target storage device is positively correlated;By target data storage into target storage device.It can be seen that the target storage device of target data and the history access frequency of target data are related using scheme provided by the embodiments of the present application, history access frequency is high, then the read and write rate for storing the target storage device of the target data is also relatively high.Since the history access frequency of target data can embody the access frequency in the current even following certain time to a certain extent, therefore, the high target data of history access frequency is stored in the high target storage device of read and write rate, when user reads the target data, target storage device can as early as possible read out target data, to improve user experience.

Description

A kind of method and device of data storage
Technical field
This application involves field of data storage, more particularly to a kind of method and device of data storage.
Background technique
With the development of information technology, some variations are also had occurred in the mode of data storage.The storage of data is deposited by papery The mode of storage is gradually converted into the mode of Electronic saving, and therefore, storage equipment is come into being, and storage equipment can store data.
It is understood that then needing to come out reading data from storage equipment when user needs to access data.And The performance (such as read and write rate) of storage equipment influences whether the time for reading out data from storage equipment, to influence To the waiting time of user accesses data.If the waiting time is too long when user accesses data, bad user experience can be brought.
It is, therefore, desirable to provide a kind of scheme, can promote the performance of storage equipment, to improve user experience as far as possible.
Summary of the invention
Technical problems to be solved in this application are how to promote the performance of storage equipment as far as possible, to improve user Experience provides a kind of method and device of data storage.
In a first aspect, the embodiment of the present application provides a kind of date storage method, comprising:
Obtain the history access frequency of target data;
The corresponding target storage device of the target data is determined according to the history access frequency;Wherein, the history The read and write rate of access frequency and the target storage device is positively correlated;
By target data storage into the target storage device.
Optionally, the target storage device includes:
Solid state hard disk or mechanical hard disk.
Optionally, described that the corresponding target storage device of the target data is determined according to the history access frequency, packet It includes:
If the history access frequency is more than or equal to first frequency threshold value, it is determined that the target storage device is solid State hard disk;
And/or
If the history access frequency is less than the first frequency threshold value, it is determined that the target storage device is mechanical hard Disk.
Optionally, if the mechanical hard disk includes the first mechanical hard disk and the second mechanical hard disk, wherein described first is mechanical The read and write rate of hard disk is higher than the read and write rate of second mechanical hard disk, and the determination target storage device is mechanical hard Disk, comprising:
If the history access frequency is less than or equal to second frequency threshold value, it is determined that the target storage device is institute State the second mechanical hard disk;
And/or
If the history access frequency is greater than the second frequency threshold value, it is determined that the target storage device is described the One mechanical hard disk;
Wherein, the second frequency threshold value is less than the first frequency threshold value.
Optionally, the read and write rate of first mechanical hard disk is higher than the read and write rate of second mechanical hard disk, comprising:
The revolving speed of first mechanical hard disk is higher than the revolving speed of second mechanical hard disk.
Second aspect, the embodiment of the present application provide a kind of data storage device, comprising:
Acquiring unit, for obtaining the history access frequency of target data;
Determination unit, for determining the corresponding target storage device of the target data according to the history access frequency; Wherein, the read and write rate of the history access frequency and the target storage device is positively correlated;
Storage unit, for storing the target data into the target storage device.
Optionally, the target storage device includes:
Solid state hard disk or mechanical hard disk.
Optionally, the determination unit, is specifically used for:
If the history access frequency is more than or equal to first frequency threshold value, it is determined that the target storage device is solid State hard disk;
And/or
If the history access frequency is less than the first frequency threshold value, it is determined that the target storage device is mechanical hard Disk.
Optionally, if the mechanical hard disk includes the first mechanical hard disk and the second mechanical hard disk, wherein described first is mechanical The read and write rate of hard disk is higher than the read and write rate of second mechanical hard disk, and the determination target storage device is mechanical hard Disk, comprising:
If the history access frequency is less than or equal to second frequency threshold value, it is determined that the target storage device is institute State the second mechanical hard disk;
And/or
If the history access frequency is greater than the second frequency threshold value, it is determined that the target storage device is described the One mechanical hard disk;
Wherein, the second frequency threshold value is less than the first frequency threshold value.
Optionally, the read and write rate of first mechanical hard disk is higher than the read and write rate of second mechanical hard disk, comprising:
The revolving speed of first mechanical hard disk is higher than the revolving speed of second mechanical hard disk.
Compared with prior art, the embodiment of the present application has the advantage that
The method and device of data storage provided by the embodiments of the present application, comprising: obtain the history access frequency of target data Rate;The target storage device of the target data is determined according to the history access frequency;Wherein, the history access frequency with The read and write rate of the target storage device is positively correlated;By target data storage into the target storage device.Thus As it can be seen that the target storage device of target data and the history of target data access frequency using scheme provided by the embodiments of the present application Rate is related, and history access frequency is high, then the read and write rate for storing the target storage device of the target data is also relatively high.Due to mesh The history access frequency of mark data can embody the access frequency in the current even following certain time to a certain extent, Therefore, the high target data of history access frequency is stored in the high target storage device of read and write rate, is somebody's turn to do when user reads When target data, target storage device can as early as possible be read out target data, to improve user experience.
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 The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of date storage method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another date storage method provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of data storage device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this Apply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
Present inventor has found after study, in the prior art, it is to be understood that when user needs to access data When, then it needs to come out reading data from storage equipment.And the performance (such as read and write rate) for storing equipment influence whether by The time that data are read out from storage equipment, to influence the waiting time of user accesses data.If user's access number According to when the waiting time it is too long, then can bring bad user experience.
The present inventor has found under study for action, in order to shorten the time for reading out data from storage equipment, Can use readwrite performance, good storage equipment carrys out storing data.But, it is contemplated that in practical applications, on the one hand, storage number According to data volume it is bigger, and readwrite performance it is good storage equipment price general charged it is relatively high, therefore, if all data utilize The relatively good storage equipment storage of readwrite performance, then cost is too high.On the other hand, some although there are many data of storage Data not may be useful for family within some time probably and access, if these data also are stored in, readwrite performance is good to be deposited It stores up in equipment, wastes the storage resource of the good storage equipment of these performances to a certain extent.
In consideration of it, the embodiment of the present application provides a kind of method and device of data storage, comprising: obtain target data History access frequency;The target storage device of the target data is determined according to the history access frequency;Wherein, the history The read and write rate of access frequency and the target storage device is positively correlated;The target data is stored to the target storage and is set In standby.It can be seen that using scheme provided by the embodiments of the present application, the target storage device of target data and going through for target data History access frequency is related, and history access frequency is high, then the read and write rate for storing the target storage device of the target data also compares It is high.Since the history access frequency of target data can be embodied to a certain extent in the current even following certain time Therefore the high target data of history access frequency is stored in the high target storage device of read and write rate by access frequency, when with When the target data is read at family, target storage device can as early as possible be read out target data, to improve user experience.
With reference to the accompanying drawing, the various non-limiting embodiments of the application are described in detail.
Illustrative methods
Referring to Fig. 1, which is a kind of flow diagram of date storage method provided by the embodiments of the present application.
It should be noted that date storage method provided by the embodiments of the present application, can be applied to storage system, and/or, Storage server.
It should be noted that the storage system and/or storage server, may include a plurality of types of storage equipment, For example, may include solid state hard disk (Solid State Drives, SDD) and mechanical hard disk (Hard Disk Drive, HDD). Also it may include the storage equipment of a type of multiple performance, for example, the mechanical hard disk different comprising two kinds of performances.
In the present embodiment, the method can for example be realized with S101-S103 as follows.
S101: the history access frequency of target data is obtained.
It should be noted that the embodiment of the present application does not limit the target data specifically.In other words, in the embodiment of the present application The target data referred to can be any kind of data.For example, the target data can be video data, it is for another example, described Target data may be text data.
It should be noted that the history access frequency referred in the embodiment of the present application, can be presented as default historical time The accessed number of the target data in section.
It should be noted that the embodiment of the present application does not limit the default historical time section specifically, when the default history Between section can specifically determine according to the actual situation.For example, the default historical time section can be yesterday;For another example, described default Historical time section can be one week had been subjected to.
It should be noted that the embodiment of the present application does not limit the specific implementation for obtaining history access data specifically, In a kind of possible implementation, access record can be recorded when target data is accessed.So as to be gone through according to default The accessed number of the target data, obtains the history access frequency of target data in the history period.
S102: the corresponding target storage device of the target data is determined according to the history access frequency, wherein described The read and write rate of history access frequency and the target storage device is positively correlated.
It should be noted that the embodiment of the present application does not limit the target storage device, the target storage device specifically It may include existing/following/being developed storage equipment that can be used for storing data.
In a kind of possible implementation of the embodiment of the present application, the target storage device may include: that solid-state is hard Disk or mechanical hard disk.It is understood that the read and write rate of solid state hard disk is very high, it might even be possible to reach standard machinery hard disk 20 times.And mechanical hard disk currently on the market has very much, the read and write rate between different mechanical hard disks can also have difference.
It should be noted that step S102 is in specific implementation, can be realized with A as follows and/or B.
Step A: if the history access frequency is more than or equal to first frequency threshold value, it is determined that the target storage is set Standby is solid state hard disk.
Step B: if the history access frequency is less than and the first frequency threshold value, it is determined that the target storage device For mechanical hard disk.
About step A and step B, it should be noted that the embodiment of the present application does not limit the first frequency threshold value specifically, The first frequency threshold value can be determined specifically according to the actual situation.
It is understood that the first frequency threshold value is a bigger value, when the history access frequency is greater than Or when being equal to the first frequency threshold value, it may be considered that the target data is hot spot data, i.e., user is following certain It is bigger to the amount of access of target data in time.Therefore, target storage device can be determined as solid state hard disk, so as to shorten Target storage device reads the time of the target data when user's access target data.
When the history access frequency is less than the first frequency threshold value, it is believed that the target data may not be Hot spot data, i.e. user are possible to the amount of access of target data within the following certain time can't be very big.It therefore, can be by mesh Mark storage equipment is determined as mechanical hard disk, to reduce cost.
As previously mentioned, the storage system and/or storage server, may include the storage of a type of multiple performance Equipment, for example, the mechanical hard disk different comprising two kinds of performances.Therefore, in the embodiment of the present application, when the storage system and/ Or storage server include multiple mechanical hard disks when, can also further determine that the corresponding target storage device of the target data Specially which mechanical hard disk.
It include below two mechanical hard disks with the mechanical hard disk, respectively the first mechanical hard disk and the second mechanical hard disk are Example is illustrated.Step B in specific implementation, can be realized with B1-B2 as follows.
Step B1: if the history access frequency is less than or equal to second frequency threshold value, it is determined that the target storage Equipment is second mechanical hard disk.
Step B2: if the history access frequency is greater than the second frequency threshold value, and the history access frequency is less than The first frequency threshold value, it is determined that the target storage device is first mechanical hard disk.
About step A and step B, it should be noted that the read and write rate of first mechanical hard disk is than second machine The read and write rate of tool hard disk is high.
It is understood that the read and write rate of mechanical hard disk is related to many factors, and in the embodiment of the present application, described The read and write rate of one mechanical hard disk is higher than the read and write rate of second mechanical hard disk, can be presented as first mechanical hard disk Revolving speed be higher than second mechanical hard disk revolving speed.As an example, the revolving speed of first mechanical hard disk is 15000 turns Every point (Revolutions Per Minute, RPM), the revolving speed of second mechanical hard disk is 7200RPM.
It is understood that the second frequency threshold value is a smaller value, when the history access frequency is less than When the first frequency threshold value, it may be considered that the target data is hardly often to be accessed, i.e., user will be in future one It fixes time interior smaller to the amount of access of target data.Therefore, target storage device can be determined as read and write rate smaller The second mechanical hard disk, to improve the utilization rate of the bigger mechanical hard disk of read and write rate.
When the history access frequency be greater than the second frequency threshold value, and the history access frequency be less than described first When frequency threshold, it is believed that the target data may not be hot spot data, but the amount of access of user be not yet seldom, Although i.e. user is not more to the amount of access of hot spot data to the amount of access of target data within the following certain time, also not It can be seldom.Therefore, target storage device can be determined as to the first relatively high mechanical hard disk of read and write rate, shorten use as far as possible Target storage device reads the time of the target data when access target data of family.
S103: the target data is stored in the target storage device.
After executing step S102, i.e., executable step S103, by target data storage into the target storage device. When user needs to access the target data, the target data can be obtained by the target storage device.
It can be seen that providing date storage method, the target storage device and mesh of target data using the embodiment of the present application The history access frequency for marking data is related, and history access frequency is high, then stores the read-write of the target storage device of the target data Rate is also relatively high.Since the history access frequency of target data can embody current even future one to a certain extent Therefore the high target data of history access frequency is stored in the high target of read and write rate and stored by interior access frequency of fixing time In equipment, when user reads the target data, target storage device can as early as possible be read out target data, to improve User experience.
It should be noted that the target data in the embodiment of the present application, can be and be stored in mesh mentioned above originally The data in storage system (or storage server) where mark storage equipment, are also possible to be stored in other storage systems originally Data in (or storage server), the embodiment of the present application are not specifically limited.
It is understood that when the target data is the storage system being stored in where target storage device originally Data in (or storage server), then method provided by the embodiments of the present application can be to storage system (or storage server) Execute during data maintenance, to promote the whole readwrite performance of the storage system (or storage server).
It should be noted that in a scene of the embodiment of the present application, it can also be to the storage system and/or storage Storage equipment in server is layered.Specifically, can according to storage equipment read and write rate to the storage equipment into Row layering, and establish each level and store the mapping relations of equipment.For example, the storage system includes three kinds of storage equipment, Respectively solid state hard disk, revolving speed be 15000RPM the first mechanical hard disk and revolving speed be 7200RPM the second mechanical hard disk.Then The storage equipment can be divided into three layers, respectively the 0th layer, layers 1 and 2.Wherein, the 0th layer and the solid state hard disk Corresponding, storage history access frequency is more than or equal to the target data of first frequency threshold value;1st layer mechanical hard with described first Disk is corresponding, and storage history access frequency is less than the first frequency domain threshold value and greater than the target data of second frequency threshold value;2nd layer and institute It states the second mechanical hard disk to correspond to, storage history access frequency is less than or equal to the target data of second frequency threshold value.
It should be noted that the above only schematical explanation, establishes each level and stores the mapping relations of equipment Can be in the way of the following table 1, it can also be otherwise.The embodiment of the present application is not specifically limited.
Table 1
Date storage method provided by the embodiments of the present application is described above, below in conjunction with concrete scene to this Shen Please embodiment provide method be introduced.
In this scenario, for the first mechanical hard disk of 15000RPM and turn in storage system including solid state hard disk, revolving speed Speed is the second mechanical hard disk of 7200RPM.History access frequency refers to one day accessed number in the past.First frequency threshold value is 10000, second frequency threshold value is 200.
Under the scene, storage is re-started to current storage and the target data of the first mechanical hard disk.
Referring to fig. 2, which is a kind of flow diagram of date storage method provided by the embodiments of the present application.
The method for example may include steps of S201-S203 realization.
S201: target data is obtained in the access times of 00:00 to 24:00 yesterday yesterday, determines the target data History access frequency is 12000 times.
S202: determine that the target storage device is solid state hard disk according to the history access frequency.
It is understood that since the history access frequency is greater than the first frequency threshold value 10000, then by the mesh Mark storage equipment is determined as the solid state hard disk.
If the history access frequency is greater than 200 less than 10000, then the target storage device is determined as described First mechanical hard disk.If the history access frequency is less than or equal to 200, the target storage device is determined as described Second mechanical hard disk.
S203: the target data is read out from first mechanical hard disk, and the target data is stored Into the solid state hard disk.
It is understood that by target data storage into the solid state hard disk after, then can discharge described the The space that the target data is stored in one mechanical hard disk avoids repeating to store, causes the unnecessary wasting of resources.
Example devices
Referring to Fig. 3, which is a kind of structural schematic diagram of the device of data storage provided by the embodiments of the present application.
Described device 300 can for example specifically include: acquiring unit 310, determination unit 320 and storage unit 330.
Acquiring unit 310, for obtaining the history access frequency of target data;
Determination unit 320, for determining that the corresponding target storage of the target data is set according to the history access frequency It is standby;Wherein, the read and write rate of the history access frequency and the target storage device is positively correlated;
Storage unit 330, for storing the target data into the target storage device.
Optionally, the target storage device includes:
Solid state hard disk or mechanical hard disk.
Optionally, the determination unit 320, is specifically used for:
If the history access frequency is more than or equal to first frequency threshold value, it is determined that the target storage device is solid State hard disk;
And/or
If the history access frequency is less than the first frequency threshold value, it is determined that the target storage device is mechanical hard Disk.
Optionally, if the mechanical hard disk includes the first mechanical hard disk and the second mechanical hard disk, wherein described first is mechanical The read and write rate of hard disk is higher than the read and write rate of second mechanical hard disk, and the determination target storage device is mechanical hard Disk, comprising:
If the history access frequency is less than or equal to second frequency threshold value, it is determined that the target storage device is institute State the second mechanical hard disk;
And/or
If the history access frequency is greater than the second frequency threshold value, it is determined that the target storage device is described the One mechanical hard disk;
Wherein, the second frequency threshold value is less than the first frequency threshold value.
Optionally, the read and write rate of first mechanical hard disk is higher than the read and write rate of second mechanical hard disk, comprising:
The revolving speed of first mechanical hard disk is higher than the revolving speed of second mechanical hard disk.
Since described device 300 is device corresponding with the method for above method embodiment offer, therefore, about described device The description of 300 each unit can refer to the description section of above method embodiment, and details are not described herein again.
It can be seen that providing data storage device, the target storage device and mesh of target data using the embodiment of the present application The history access frequency for marking data is related, and history access frequency is high, then stores the read-write of the target storage device of the target data Rate is also relatively high.Since the history access frequency of target data can embody current even future one to a certain extent Therefore the high target data of history access frequency is stored in the high target of read and write rate and stored by interior access frequency of fixing time In equipment, when user reads the target data, target storage device can as early as possible be read out target data, to improve User experience.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (10)

1. a kind of date storage method characterized by comprising
Obtain the history access frequency of target data;
The corresponding target storage device of the target data is determined according to the history access frequency;Wherein, the history access The read and write rate of frequency and the target storage device is positively correlated;
By target data storage into the target storage device.
2. the method according to claim 1, wherein the target storage device includes:
Solid state hard disk or mechanical hard disk.
3. according to the method described in claim 2, it is characterized in that, described determine the target according to the history access frequency The corresponding target storage device of data, comprising:
If the history access frequency is more than or equal to first frequency threshold value, it is determined that the target storage device is that solid-state is hard Disk;
And/or
If the history access frequency is less than the first frequency threshold value, it is determined that the target storage device is mechanical hard disk.
4. according to the method described in claim 3, it is characterized in that, if the mechanical hard disk includes the first mechanical hard disk and second Mechanical hard disk, wherein the read and write rate of first mechanical hard disk is higher than the read and write rate of second mechanical hard disk, described true The fixed target storage device is mechanical hard disk, comprising:
If the history access frequency is less than or equal to second frequency threshold value, it is determined that the target storage device is described the Two mechanical hard disks;
And/or
If the history access frequency is greater than the second frequency threshold value, it is determined that the target storage device is first machine Tool hard disk;
Wherein, the second frequency threshold value is less than the first frequency threshold value.
5. according to the method described in claim 4, it is characterized in that, the read and write rate of first mechanical hard disk is higher than described the The read and write rate of two mechanical hard disks, comprising:
The revolving speed of first mechanical hard disk is higher than the revolving speed of second mechanical hard disk.
6. a kind of data storage device characterized by comprising
Acquiring unit, for obtaining the history access frequency of target data;
Determination unit, for determining the corresponding target storage device of the target data according to the history access frequency;Wherein, The read and write rate of the history access frequency and the target storage device is positively correlated;
Storage unit, for storing the target data into the target storage device.
7. device according to claim 6, which is characterized in that the target storage device includes:
Solid state hard disk or mechanical hard disk.
8. device according to claim 7, which is characterized in that the determination unit is specifically used for:
If the history access frequency is more than or equal to first frequency threshold value, it is determined that the target storage device is that solid-state is hard Disk;
And/or
If the history access frequency is less than the first frequency threshold value, it is determined that the target storage device is mechanical hard disk.
9. device according to claim 8, which is characterized in that if the mechanical hard disk includes the first mechanical hard disk and second Mechanical hard disk, wherein the read and write rate of first mechanical hard disk is higher than the read and write rate of second mechanical hard disk, described true The fixed target storage device is mechanical hard disk, comprising:
If the history access frequency is less than or equal to second frequency threshold value, it is determined that the target storage device is described the Two mechanical hard disks;
And/or
If the history access frequency is greater than the second frequency threshold value, it is determined that the target storage device is first machine Tool hard disk;
Wherein, the second frequency threshold value is less than the first frequency threshold value.
10. device according to claim 9, which is characterized in that the read and write rate of first mechanical hard disk is higher than described The read and write rate of second mechanical hard disk, comprising:
The revolving speed of first mechanical hard disk is higher than the revolving speed of second mechanical hard disk.
CN201810745477.0A 2018-07-09 2018-07-09 A kind of method and device of data storage Pending CN108932114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810745477.0A CN108932114A (en) 2018-07-09 2018-07-09 A kind of method and device of data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810745477.0A CN108932114A (en) 2018-07-09 2018-07-09 A kind of method and device of data storage

Publications (1)

Publication Number Publication Date
CN108932114A true CN108932114A (en) 2018-12-04

Family

ID=64447615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810745477.0A Pending CN108932114A (en) 2018-07-09 2018-07-09 A kind of method and device of data storage

Country Status (1)

Country Link
CN (1) CN108932114A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992210A (en) * 2019-03-29 2019-07-09 重庆紫光华山智安科技有限公司 Date storage method, device and electronic equipment
CN112433679A (en) * 2020-12-01 2021-03-02 广州城市职业学院 Data storage method and device, electronic equipment and storage medium
CN112767972A (en) * 2021-01-26 2021-05-07 联想(北京)有限公司 Vibration detection method and electronic equipment
CN112783423A (en) * 2019-11-08 2021-05-11 阿里巴巴集团控股有限公司 Data object storage method and device, electronic equipment and computer readable medium
CN114398006A (en) * 2021-12-24 2022-04-26 中国电信股份有限公司 Distributed storage mode control method, device, equipment and storage medium
CN114489492A (en) * 2021-12-31 2022-05-13 华能烟台八角热电有限公司 Data storage method, safety device and data storage system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156738A (en) * 2011-04-13 2011-08-17 成都市华为赛门铁克科技有限公司 Method for processing data blocks, and data block storage equipment and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156738A (en) * 2011-04-13 2011-08-17 成都市华为赛门铁克科技有限公司 Method for processing data blocks, and data block storage equipment and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992210A (en) * 2019-03-29 2019-07-09 重庆紫光华山智安科技有限公司 Date storage method, device and electronic equipment
CN109992210B (en) * 2019-03-29 2020-10-23 重庆紫光华山智安科技有限公司 Data storage method and device and electronic equipment
CN112783423A (en) * 2019-11-08 2021-05-11 阿里巴巴集团控股有限公司 Data object storage method and device, electronic equipment and computer readable medium
CN112433679A (en) * 2020-12-01 2021-03-02 广州城市职业学院 Data storage method and device, electronic equipment and storage medium
CN112433679B (en) * 2020-12-01 2023-06-16 广州城市职业学院 Data storage method and device, electronic equipment and storage medium
CN112767972A (en) * 2021-01-26 2021-05-07 联想(北京)有限公司 Vibration detection method and electronic equipment
CN114398006A (en) * 2021-12-24 2022-04-26 中国电信股份有限公司 Distributed storage mode control method, device, equipment and storage medium
CN114489492A (en) * 2021-12-31 2022-05-13 华能烟台八角热电有限公司 Data storage method, safety device and data storage system
CN114489492B (en) * 2021-12-31 2024-01-30 华能烟台八角热电有限公司 Data storage method, safety device and data storage system

Similar Documents

Publication Publication Date Title
CN108932114A (en) A kind of method and device of data storage
CN104679661B (en) hybrid storage control method and hybrid storage system
JP6286478B2 (en) Storage device and storage space allocation method
TWI416323B (en) Method,system and semiconductor device for management workload
US8650379B2 (en) Data processing method for nonvolatile memory system
US20140254042A1 (en) Dynamic allocation of lba to un-shingled media partition
US20170206014A1 (en) Tier based data file management
CN108647151A (en) It is a kind of to dodge system metadata rule method, apparatus, equipment and storage medium entirely
CN110018788A (en) It is classified storage method, device, electronic equipment and computer readable storage medium
EP3000042B1 (en) Dirty data management for hybrid drives
CN103294604A (en) Flash memory device and electronic device employing thereof
CN106201652B (en) Data processing method and virtual machine
JP4905810B2 (en) Storage device, area allocation method, and program
CN110515549B (en) Data migration method and device
US9612746B1 (en) Allocation method for meeting system performance and application service level objective (SLO)
CN108874309A (en) The method and apparatus of physical block in a kind of management solid state hard disk
CN109471843A (en) A kind of metadata cache method, system and relevant apparatus
JP5956971B2 (en) WORM cartridge support realized by LTFS (LinearTapeFileSystem)
CN106844491B (en) Temporary data writing and reading method and device
JP6680069B2 (en) Storage control device, storage system, and storage device control program
CN110147203A (en) A kind of file management method, device, electronic equipment and storage medium
US9395930B2 (en) Information processing system, control method of information processing system, and recording medium
CN105426125B (en) A kind of date storage method and device
US10606501B2 (en) Management of paging in compressed storage
KR101575369B1 (en) Method for writing to and erasing a non-volatile memory

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: 20181204