CN101458668A - Caching data block processing method and hard disk - Google Patents

Caching data block processing method and hard disk Download PDF

Info

Publication number
CN101458668A
CN101458668A CNA200810187251XA CN200810187251A CN101458668A CN 101458668 A CN101458668 A CN 101458668A CN A200810187251X A CNA200810187251X A CN A200810187251XA CN 200810187251 A CN200810187251 A CN 200810187251A CN 101458668 A CN101458668 A CN 101458668A
Authority
CN
China
Prior art keywords
physical address
data block
volatile memory
hard disk
reserve area
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
CNA200810187251XA
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.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
Huawei Symantec 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CNA200810187251XA priority Critical patent/CN101458668A/en
Publication of CN101458668A publication Critical patent/CN101458668A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the invention discloses a processing method of cache data block and hard disk, the method comprises: obtaining a target rod physical address in a reserved area of non-volatile storage medium of the hard disk when the abnormal power down is detected; writing the data block in the cache of the hard disk onto a continuous physical address associated with the target rod physical address in the reserved area of the non-volatile storage medium of the hard disk in order. According to the embodiment of the invention, the saving speed of the cache data block can be improved, the process for looking for a mapping list in the existing CACHE back writing method can be avoided when abnormal power down, the standby power supply energy can be saved, and the reliability of the cache data block can be improved.

Description

The disposal route of caching data block and hard disk
Technical field
Embodiments of the invention relate to communication technical field, particularly a kind of disposal route of caching data block and hard disk.
Background technology
In traditional seagate,, do not relate to the powered-off fault protection of CACHE though comprise CACHE (buffer memory) in some conventional hard.
At SSD (Solid State Disk, solid state hard disc), a lot of slowly with respect to interface rate as Flash (flash memory) read or write speed of storage medium.Therefore if will be when the data block that main frame sends over is write direct the Flash dish, the most of the time be all spent on the write operation of Flash, thereby has reduced the performance of SSD greatly.
Therefore, in order to improve the performance of SSD, generally in SSD, design CACHE.CACHE generally is made up of storage medium at a high speed such as SDRAM (Synchronous Dynamic Random Access Memory, synchronous DRAM) or DDR (Double Date Rate SDRAM, Double Data Rate SDRAM).When main frame sends data block to SSD, on the room buffer memory among the CACHE that earlier data block write direct, when waiting SSD idle again data block is write Flash from CACHE.Therefore can solve the slow problem of Flash read or write speed preferably, thereby improve the performance of SSD.
Because the storage medium of high speed such as SDRAM, DDR all is a volatile storage medium, so when powered-off fault,, the data block among the CACHE will not cause dropout of data block if also being written back among the Flash.In order to address this problem, provide a kind of method in the prior art based on normal position write-back CACHE.In this method, when powered-off fault takes place SSD, start the power down protection program.All data blocks among the CACHE are written back among the Flash one by one.In the operating process as shown in Figure 1, safeguard the logical address of data block among the CACHE and the mapping relations of this data block place physical address in Flash in advance based on normal position write-back CACHE; When power down takes place, be example with data block 1, by searching the physical address that mapping table finds data block 1 among the CACHE, by hard disk controller data block 1 is write physical address corresponding among the Flash again; Carry out successively then, to the last a data block is written back among the Flash.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
In order to improve the read or write speed of hard disk, the CACHE capacity that adds in hard disk controller is all bigger usually in hard disk.Existing simultaneously CACHE write-back method need all remove to search mapping table at each blocks of data piece, is then written to storage medium after finding corresponding physical location.Under the bigger situation of CACHE capacity, this mode write-back speed is slow, and the write-back time that needs is longer, to having relatively high expectations of standby power supply energy.
Summary of the invention
The embodiment of the invention provides a kind of disposal route and hard disk of caching data block, is used for when power down takes place, and improves the preservation speed of caching data block, thereby saves the standby power supply energy.
The embodiment of the invention provides a kind of disposal route of caching data block, comprising:
When detecting powered-off fault, the mark post physical address in the reserve area of the non-volatile memory medium of acquisition hard disk;
According to described mark post physical address, the data block in the buffer memory of described hard disk is written to successively on the continuous physical address related in the reserve area of non-volatile memory medium of described hard disk with described mark post physical address.
The embodiment of the invention also provides a kind of hard disk, comprising:
Non-volatile memory cells is used to store data block, has reserve area in the described non-volatile memory cells;
Control module when being used to detect powered-off fault, obtains the mark post physical address in the reserve area of described non-volatile memory cells; According to described mark post physical address the data block in the buffer memory is written on the continuous physical address related with described mark post physical address in the described non-volatile memory cells reserve area successively.
Compared with prior art, in the embodiment of the invention, in the reserve area of the non-volatile memory medium by all data blocks in the buffer memory directly being stored when the powered-off fault into hard disk on the continuous physical address related with the mark post physical address, improved the preservation speed of caching data block, avoided when powered-off fault, the process of searching mapping table in the existing CACHE write-back method has been saved the standby power supply energy.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is based on the synoptic diagram of normal position write-back CACHE in the prior art;
Fig. 2 is the process flow diagram of caching data block disposal route in the embodiment of the invention;
Fig. 3 is another process flow diagram of caching data block disposal route in the embodiment of the invention;
Fig. 4 uses the data block stream of embodiment of the invention caching data block disposal route to synoptic diagram;
Fig. 5 is a process flow diagram again of caching data block disposal route in the embodiment of the invention;
Fig. 6 be when going up electric treatment in the embodiment of the invention data block flow to synoptic diagram;
Fig. 7 is the structural representation of hard disk in the embodiment of the invention;
Fig. 8 is another structural representation of hard disk in the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of caching data block disposal route, as shown in Figure 2, comprising:
Step s201, when detecting powered-off fault, obtain the mark post physical address in the reserve area of non-volatile memory medium of hard disk.
Under a kind of implementation, the mark post physical address here can be before hard disk dispatches from the factory, the first physical address of the described reserve area that sets in advance or other physical addresss, also can be a physical address in the scope of the described reserve area that dynamically obtains, this physical address plays the effect of mark post.
Step s202, according to described mark post physical address, the data block in the buffer memory of described hard disk is written to successively on the continuous physical address related in the reserve area of non-volatile memory medium of described hard disk with described mark post physical address.
As seen, in the method that embodiments of the invention provided, in the reserve area of the non-volatile memory medium by all data blocks in the buffer memory directly being stored when the powered-off fault into hard disk on the continuous physical address of mark post physical address association, improved the preservation speed of caching data block, avoided when powered-off fault, the process of searching mapping table in the existing CACHE write-back method has been saved the standby power supply energy.
Below in conjunction with a concrete application scenarios, the embodiment of caching data block disposal route in the embodiment of the invention is described.In the embodiments of the invention, in the non-volatile memory medium of hard disk, set up a reserve area in advance, be used for the data block of rapid saving buffer memory when abnormal power-down takes place.Concrete caching data block disposal route comprises as shown in Figure 3:
Step s301, when detecting powered-off fault, obtain the mark post physical address in the reserve area of non-volatile memory medium of hard disk.
Concrete, the mark post physical address here can be meant first physical address or other physical addresss of this reserve area that sets in advance, also can be a physical address in the scope of the described reserve area that dynamically obtains, this physical address plays the effect of mark post.
Step s302, the data block in the buffer memory is written to successively on the mark post physical address and the continuous physical address after this mark post physical address in the reserve area of non-volatile memory medium of this hard disk.
Being to be understood that, under a kind of realization, can be that all data blocks among the cache of solid state hard disc are all write on the mark post physical address and the continuous physical address after this mark post physical address in the reserve area that the Flash of solid state hard disc reserves successively.
Concrete, the space size of reserve area can be basic identical with the space size of buffer memory.During this powered-off fault, data block flows to synoptic diagram as shown in Figure 4 in the buffer memory.
Need to prove; in this flow process with mark post physical address in the reserve area that all data blocks in the buffer memory is written in order successively non-volatile memory medium and after the continuous physical address be that example describes, but and be not used in the protection domain that limits the embodiment of the invention.Also can take other modes as: the data block in the buffer memory is written to successively on the mark post physical address and the continuous physical address before the mark post physical address in the reserve area of non-volatile memory medium of hard disk; Perhaps, the data block in the buffer memory is written to successively in the reserve area of non-volatile memory medium of hard disk with the mark post physical address on the initial physical addresses and the continuous physical address before the initial physical addresses of specific range; Perhaps, data block in the buffer memory is written to successively in the reserve area of non-volatile memory medium of hard disk with the mark post physical address on the initial physical addresses and the continuous physical address after the initial physical addresses of specific range, as long as preserve on the continuous physical address in the reserve area of the non-volatile memory medium that data block in the buffer memory is written to this hard disk successively.
As seen, in the method that embodiments of the invention provided, in the reserve area of the non-volatile memory medium by all data blocks in the buffer memory directly being stored when the powered-off fault into hard disk on the continuous physical address of mark post physical address association, improved the preservation speed of caching data block, avoided when powered-off fault, the process of searching mapping table in the existing CACHE write-back method has been saved the standby power supply energy, and has been improved the reliability of caching data block.
Suppose a certain moment behind the powered-off fault, the normal power supply of hard disk recovered that then the caching data block disposal route in the embodiment of the invention also comprises as shown in Figure 5:
Behind step s501, the power-up initializing, when having data block when judgement power down last time is powered-off fault or in the reserve area of judgement hard disk, physical address pairing basic logical address in the buffer memory of hard disk of first data block in the reserve area of the non-volatile memory medium of acquisition hard disk.
In addition, judge power down last time be powered-off fault method can for:
Generate first random value behind the current electrifying startup and be stored in the primary importance of reserve area of the non-volatile memory medium of hard disk, also preserve second random value that once generates during electrifying startup on current in the second place of the reserve area of the non-volatile memory medium of hard disk.During normal power down, use first random value to upgrade second random value.
Behind the then current electrifying startup next time,, can think that power down last time is normal power down if first random value is identical with second random value; If first random value is different with second random value, can thinks that then power down last time is a powered-off fault, and use the 3rd random value that generates behind this electrifying startup to upgrade first random value at primary importance place.
Step s502, the data block in the reserve area is written to successively basic logical address in the buffer memory of hard disk and continuous logic address afterwards.Promptly revert to the preceding cache state of power down.In this step, the data block stream in from the hard disk to the buffer memory to synoptic diagram as shown in Figure 6.
Logical address pairing physical address in the user area of the non-volatile memory medium of hard disk of each data block in step s503, the acquisition buffer memory.
This user area refers to the position of the outer normal storage user data of reserve area of the non-volatile memory medium of hard disk, is understandable that the non-volatile memory medium of hard disk comprises reserve area and user area; The logical address of each data block pairing physical address in the user area can obtain by searching mapping table in the buffer memory, and this acquisition methods is identical with acquisition methods of the prior art, does not repeat them here.
Step s504, each data block in the buffer memory write pairing physical address in the user area of non-volatile memory medium of hard disk, be about to the normal position that the cache data are written back to hard disk; Because the write-back process of this caching data block is carried out, therefore can not consume the energy of reserve battery after powering on.
Need to prove, wherein the data block in the buffer memory is written back into the user area of hard disk, can be after recovering the cache data through step s502, directly be written back into the user area of hard disk, also can be that other newly are cached to the user area that data block among the cache is written back into hard disk together in the normal process process and in the hard disk.
Need to prove; in this flow process with all data blocks in the reserve area of non-volatile memory medium according to the physical address order copy to successively in the buffer memory a logical address and after be that example describes, but and be not used in the qualification embodiment of the invention protection domain.Also can take other modes as the physical address of first data block in the reserve area that obtains non-volatile memory medium in buffer memory after corresponding first logical address (basic logical address), with obtain data block in the reserve area of non-volatile memory medium store into successively first logical address and before continuous logic address or the continuous logic address after specific the byte of first logical address or the like.
As seen, in the method that the embodiment of the invention provides, in the reserve area of the non-volatile memory medium by all data blocks in the buffer memory directly being stored when the powered-off fault into hard disk on the continuous physical address of mark post physical address association, improved the preservation speed of caching data block, avoided when powered-off fault, the process of searching mapping table in the existing CACHE write-back method has been saved the standby power supply energy; And, reduced the requirement that discharges and recharges to standby power supply, also reduced the power consumption of hard disk to a certain extent;
And, behind the power-up initializing, recover the preceding cache data of power down, can adopt method same as the prior art data block among the hard disk cache to be written back in the user area of non-volatile memory medium of hard disk, because the write-back process of this caching data block is carried out, therefore can not consume the energy of reserve battery after powering on.
Embodiments of the invention also provide a kind of hard disk, as shown in Figure 7, comprising:
Non-volatile memory cells 10 is used to store data block, has reserve area in the non-volatile memory cells 10;
Control module 20, when being used to detect powered-off fault, the mark post physical address in the reserve area of acquisition non-volatile memory cells 10; According to the mark post physical address data block in the buffer memory is written on the continuous physical address related with this mark post physical address in non-volatile memory cells 10 reserve areas successively.
Under a kind of specific implementation, in this hard disk:
Above-mentioned control module 20 can be first control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of non-volatile memory cells 10, and the data block in the buffer memory is written to successively on the mark post physical address and the continuous physical address after the mark post physical address in the reserve area of non-volatile memory cells 10;
Perhaps, above-mentioned control module 20 can be second control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of non-volatile memory cells 10, and the data block in the buffer memory is written to successively on the mark post physical address and the continuous physical address before the mark post physical address in the reserve area of non-volatile memory cells 10;
Perhaps, above-mentioned control module 20 can be the 3rd control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of non-volatile memory cells 10, and the data block in the buffer memory is written to successively in the reserve area of non-volatile memory cells 10 with the mark post physical address on the initial physical addresses and the continuous physical address before the initial physical addresses of specific range; The specific range here can be set according to actual needs, for example: can write from the next physical address of mark post physical address.
Perhaps, above-mentioned control module 20 can be the 4th control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of non-volatile memory cells 10, and the data block in the buffer memory is written to successively in the reserve area of non-volatile memory cells 10 with the mark post physical address on the initial physical addresses and the continuous physical address after the initial physical addresses of specific range.
As seen, in the hard disk that embodiments of the invention provided, all data blocks in the buffer memory are directly stored on the continuous physical address of reserve area in the non-volatile memory cells 10 when the powered-off fault by control module 20, improved the preservation speed of caching data block, avoided when powered-off fault, the process of searching mapping table in the existing CACHE write-back scheme has been saved the standby power supply energy.
Suppose a certain moment behind the powered-off fault, the normal power supply of hard disk is recovered, further,
In addition, control module 20 can also be used for:
Behind power-up initializing, physical address pairing basic logical address in buffer memory of first data block in the reserve area of acquisition non-volatile memory cells 10; And the data block in non-volatile memory cells 10 reserve areas is written to basic logical address in the buffer memory and continuous logic address afterwards successively.Be in the hard disk of the embodiment of the invention, behind power-up initializing, control module 20 can also revert to the cache data before the powered-off fault.
As shown in Figure 8, under a kind of realization, this hard disk can also comprise: trigger element 30, be used for behind power-up initializing, and determine that power down last time is a powered-off fault; When perhaps determining to preserve data block in non-volatile memory cells 10 reserve areas, physical address pairing basic logical address in buffer memory of first data block in the reserve area of trigger control unit 20 acquisition non-volatile memory cells 10; And the data block in the reserve area of non-volatile memory cells 10 is written to basic logical address in the buffer memory and continuous logic address afterwards successively.
In addition, control module 20 also is used for:
Obtain logical address pairing physical address in the user area of non-volatile memory cells 10 of each data block in the described buffer memory; And each data block in the buffer memory is write pairing physical address in the user area of non-volatile memory cells 10.This physical address can obtain by searching mapping table, and this acquisition methods can be identical with acquisition methods of the prior art, do not repeat them here.
Should be understood that the hard disk of the embodiment of the invention under a kind of realization, can be a solid state hard disc, corresponding, non-volatile memory cells 10 can be Flash (flash memory).
As seen, in the hard disk that the embodiment of the invention provides, in the reserve area of the non-volatile memory medium by all data blocks in the buffer memory directly being stored when the powered-off fault into hard disk on the continuous physical address of mark post physical address association, improved the preservation speed of caching data block, avoided when powered-off fault, the process of searching mapping table in the existing CACHE write-back method has been saved the standby power supply energy; And, reduced the requirement that discharges and recharges to standby power supply, also reduced the power consumption of hard disk to a certain extent.
Above-mentioned module can be distributed in a device, also can be distributed in multiple arrangement.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1, a kind of disposal route of caching data block is characterized in that, comprising:
When detecting powered-off fault, the mark post physical address in the reserve area of the non-volatile memory medium of acquisition hard disk;
According to described mark post physical address, the data block in the buffer memory of described hard disk is written to successively on the continuous physical address related in the reserve area of non-volatile memory medium of described hard disk with described mark post physical address.
2, the method for claim 1, described according to described mark post physical address, data block in the buffer memory of described hard disk is written to successively on the continuous physical address related in the reserve area of non-volatile memory medium of described hard disk, comprises with described mark post physical address:
Data block in the described buffer memory is written to successively on the described mark post physical address and the continuous physical address after the described mark post physical address in the reserve area of non-volatile memory medium of described hard disk;
Perhaps, the data block in the described buffer memory is written to successively on the described mark post physical address and the continuous physical address before the described mark post physical address in the reserve area of non-volatile memory medium of described hard disk;
Perhaps, the data block in the described buffer memory is written to successively in the reserve area of non-volatile memory medium of described hard disk with described mark post physical address on the initial physical addresses and the continuous physical address before the described initial physical addresses of specific range;
Perhaps, the data block in the described buffer memory is written to successively in the reserve area of non-volatile memory medium of described hard disk with described mark post physical address on the initial physical addresses and the continuous physical address after the described initial physical addresses of specific range.
3, method as claimed in claim 1 or 2 also comprises:
Behind the power-up initializing, obtain physical address pairing basic logical address in the buffer memory of described hard disk of first data block in the reserve area of non-volatile memory medium of described hard disk;
Data block in the described reserve area is written to successively described basic logical address in the buffer memory of described hard disk and continuous logic address afterwards.
4, method as claimed in claim 3 is characterized in that, before the step of physical address pairing basic logical address in the buffer memory of described hard disk of first data block, also comprises in the reserve area of the non-volatile memory medium of the described hard disk of described acquisition:
Determine that power down last time is a powered-off fault; Perhaps, determine to preserve data block in the reserve area of non-volatile memory medium of described hard disk.
5, method as claimed in claim 3 is characterized in that, described method also comprises:
Obtain logical address pairing physical address in the user area of the non-volatile memory medium of hard disk of each data block in the described buffer memory;
Each data block in the described buffer memory is write pairing physical address in the user area of non-volatile memory medium of described hard disk.
6, a kind of hard disk is characterized in that, comprising:
Non-volatile memory cells is used to store data block, has reserve area in the described non-volatile memory cells;
Control module when being used to detect powered-off fault, obtains the mark post physical address in the reserve area of described non-volatile memory cells; According to described mark post physical address the data block in the buffer memory is written on the continuous physical address related with described mark post physical address in the described non-volatile memory cells reserve area successively.
7, as hard disk as described in the claim 6, it is characterized in that, described control module is first control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of described non-volatile memory cells, and the data block in the buffer memory is written to successively on the described mark post physical address and the continuous physical address after the described mark post physical address in the reserve area of described non-volatile memory cells;
Perhaps, described control module is second control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of described non-volatile memory cells, and the data block in the buffer memory is written to successively on the described mark post physical address and the continuous physical address before the described mark post physical address in the reserve area of described non-volatile memory cells;
Perhaps, described control module is the 3rd control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of described non-volatile memory cells, and the data block in the described buffer memory is written to successively in the reserve area of described non-volatile memory cells with described mark post physical address on the initial physical addresses and the continuous physical address before the described initial physical addresses of specific range;
Perhaps, described control module is the 4th control module, when being used to detect powered-off fault, obtain the mark post physical address in the reserve area of described non-volatile memory cells, and the data block in the described buffer memory is written to successively in the reserve area of described non-volatile memory cells with described mark post physical address on the initial physical addresses and the continuous physical address after the described initial physical addresses of specific range.
8, hard disk as claimed in claim 6 is characterized in that, described control module also is used for:
Behind power-up initializing, obtain physical address pairing basic logical address in buffer memory of first data block in the reserve area of described non-volatile memory cells; And the data block in the described non-volatile memory cells reserve area is written to described basic logical address in the described buffer memory and continuous logic address afterwards successively.
9, hard disk as claimed in claim 8 is characterized in that, also comprises: trigger element, be used for behind power-up initializing, and determine that power down last time is a powered-off fault; When perhaps determining to preserve data block in the reserve area of described non-volatile memory cells, trigger physical address pairing basic logical address in buffer memory of first data block in the reserve area that described control module obtains described non-volatile memory cells; And the data block in the reserve area of described non-volatile memory cells is written to described basic logical address in the described buffer memory and continuous logic address afterwards successively.
10, hard disk as claimed in claim 8 or 9 is characterized in that described control module also is used for:
Obtain logical address pairing physical address in the user area of non-volatile memory cells of each data block in the described buffer memory; And each data block in the described buffer memory is write pairing physical address in the user area of described non-volatile memory cells.
CNA200810187251XA 2008-12-19 2008-12-19 Caching data block processing method and hard disk Pending CN101458668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200810187251XA CN101458668A (en) 2008-12-19 2008-12-19 Caching data block processing method and hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200810187251XA CN101458668A (en) 2008-12-19 2008-12-19 Caching data block processing method and hard disk

Publications (1)

Publication Number Publication Date
CN101458668A true CN101458668A (en) 2009-06-17

Family

ID=40769537

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200810187251XA Pending CN101458668A (en) 2008-12-19 2008-12-19 Caching data block processing method and hard disk

Country Status (1)

Country Link
CN (1) CN101458668A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004707A (en) * 2010-11-15 2011-04-06 记忆科技(深圳)有限公司 Power-fail protection method and device for solid state disk
CN101719103B (en) * 2009-11-25 2012-07-18 成都市华为赛门铁克科技有限公司 Memory device and information processing method based on same
CN103019961A (en) * 2012-12-19 2013-04-03 创新科存储技术(深圳)有限公司 Cache flash processing method and device
CN103229136A (en) * 2012-12-26 2013-07-31 华为技术有限公司 Disk writing method for disk arrays and disk writing device for disk arrays
CN103455449A (en) * 2013-08-29 2013-12-18 华为技术有限公司 Nonvalatile storage medium access method as well as data updating method and equipment
CN104122977A (en) * 2014-07-11 2014-10-29 华为技术有限公司 Method for storing data and storage system
WO2015051633A1 (en) * 2013-10-10 2015-04-16 华为技术有限公司 Power failure processing method and system for storage system
WO2015149577A1 (en) * 2014-04-03 2015-10-08 华为技术有限公司 Storage system, storage device and data storage method
CN105405465A (en) * 2015-12-29 2016-03-16 中北大学 Data storing and processing circuit
WO2016078202A1 (en) * 2014-11-21 2016-05-26 上海宝存信息科技有限公司 Power failure protection method and solid state drive
CN105912481A (en) * 2015-02-25 2016-08-31 德州仪器公司 Compute Through Power Loss Approach For Processing Device Having Nonvolatile Logic Memory
CN106843775A (en) * 2017-03-06 2017-06-13 郑州云海信息技术有限公司 A kind of method for writing data and system
US9723021B2 (en) 2012-12-21 2017-08-01 Huawei Technologies Co., Ltd. Virus detecting method and device
CN108021512A (en) * 2017-11-22 2018-05-11 深圳忆联信息系统有限公司 A kind of solid state hard disc mapping management process and solid state hard disc
CN108446009A (en) * 2018-03-10 2018-08-24 北京联想核芯科技有限公司 Power down control method, device, equipment and medium
CN109597773A (en) * 2018-12-10 2019-04-09 浪潮(北京)电子信息产业有限公司 A kind of SSD and its method for power fail safeguard of data, system, device
CN110275596A (en) * 2019-06-20 2019-09-24 深圳忆联信息系统有限公司 Power-up initializing accelerated method, device and computer equipment based on solid state hard disk
CN110308872A (en) * 2019-05-16 2019-10-08 深圳市金泰克半导体有限公司 A kind of solid state hard disk data processing method, device, solid state hard disk and storage medium
WO2020052321A1 (en) * 2018-09-12 2020-03-19 华为技术有限公司 Data processing method and system
US11132050B2 (en) 2015-12-29 2021-09-28 Texas Instruments Incorporated Compute through power loss hardware approach for processing device having nonvolatile logic memory
US11243903B2 (en) 2015-10-20 2022-02-08 Texas Instruments Incorporated Nonvolatile logic memory for computing module reconfiguration

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719103B (en) * 2009-11-25 2012-07-18 成都市华为赛门铁克科技有限公司 Memory device and information processing method based on same
CN102004707A (en) * 2010-11-15 2011-04-06 记忆科技(深圳)有限公司 Power-fail protection method and device for solid state disk
CN103019961A (en) * 2012-12-19 2013-04-03 创新科存储技术(深圳)有限公司 Cache flash processing method and device
US9723021B2 (en) 2012-12-21 2017-08-01 Huawei Technologies Co., Ltd. Virus detecting method and device
US9582433B2 (en) 2012-12-26 2017-02-28 Huawei Technologies Co., Ltd. Disk array flushing method and disk array flushing apparatus
CN103229136A (en) * 2012-12-26 2013-07-31 华为技术有限公司 Disk writing method for disk arrays and disk writing device for disk arrays
WO2014100996A1 (en) * 2012-12-26 2014-07-03 华为技术有限公司 Disk writing method for disk arrays and disk writing device for disk arrays
CN103229136B (en) * 2012-12-26 2016-03-02 华为技术有限公司 Disk array brush method and disk array brush device
CN103455449A (en) * 2013-08-29 2013-12-18 华为技术有限公司 Nonvalatile storage medium access method as well as data updating method and equipment
WO2015051633A1 (en) * 2013-10-10 2015-04-16 华为技术有限公司 Power failure processing method and system for storage system
WO2015149577A1 (en) * 2014-04-03 2015-10-08 华为技术有限公司 Storage system, storage device and data storage method
CN104122977B (en) * 2014-07-11 2018-02-23 华为技术有限公司 The method and storage system of a kind of data storage
CN104122977A (en) * 2014-07-11 2014-10-29 华为技术有限公司 Method for storing data and storage system
WO2016078202A1 (en) * 2014-11-21 2016-05-26 上海宝存信息科技有限公司 Power failure protection method and solid state drive
US9997209B2 (en) 2014-11-21 2018-06-12 Shannon Systems Ltd. Power-failure protection method and solid state drive
CN105912481B (en) * 2015-02-25 2021-01-26 德州仪器公司 Method for calculating power loss for processing device with non-volatile logic memory
CN105912481A (en) * 2015-02-25 2016-08-31 德州仪器公司 Compute Through Power Loss Approach For Processing Device Having Nonvolatile Logic Memory
US11914545B2 (en) 2015-10-20 2024-02-27 Texas Instruments Incorporated Nonvolatile logic memory for computing module reconfiguration
US11243903B2 (en) 2015-10-20 2022-02-08 Texas Instruments Incorporated Nonvolatile logic memory for computing module reconfiguration
CN105405465A (en) * 2015-12-29 2016-03-16 中北大学 Data storing and processing circuit
US11953969B2 (en) 2015-12-29 2024-04-09 Texas Instruments Incorporated Compute through power loss hardware approach for processing device having nonvolatile logic memory
CN105405465B (en) * 2015-12-29 2019-07-23 中北大学 Data storage and processing circuit
US11132050B2 (en) 2015-12-29 2021-09-28 Texas Instruments Incorporated Compute through power loss hardware approach for processing device having nonvolatile logic memory
CN106843775A (en) * 2017-03-06 2017-06-13 郑州云海信息技术有限公司 A kind of method for writing data and system
CN108021512A (en) * 2017-11-22 2018-05-11 深圳忆联信息系统有限公司 A kind of solid state hard disc mapping management process and solid state hard disc
CN108446009A (en) * 2018-03-10 2018-08-24 北京联想核芯科技有限公司 Power down control method, device, equipment and medium
WO2020052321A1 (en) * 2018-09-12 2020-03-19 华为技术有限公司 Data processing method and system
CN109597773B (en) * 2018-12-10 2024-01-23 浪潮(北京)电子信息产业有限公司 SSD and data power-down protection method, system and device thereof
CN109597773A (en) * 2018-12-10 2019-04-09 浪潮(北京)电子信息产业有限公司 A kind of SSD and its method for power fail safeguard of data, system, device
CN110308872A (en) * 2019-05-16 2019-10-08 深圳市金泰克半导体有限公司 A kind of solid state hard disk data processing method, device, solid state hard disk and storage medium
CN110275596B (en) * 2019-06-20 2020-12-29 深圳忆联信息系统有限公司 Solid state disk-based power-on initialization acceleration method and device and computer equipment
CN110275596A (en) * 2019-06-20 2019-09-24 深圳忆联信息系统有限公司 Power-up initializing accelerated method, device and computer equipment based on solid state hard disk

Similar Documents

Publication Publication Date Title
CN101458668A (en) Caching data block processing method and hard disk
US10255192B2 (en) Data storage device and data maintenance method thereof
US7130962B2 (en) Writing cache lines on a disk drive
EP3121703B1 (en) Data caching method, cache and computer system
US8799553B2 (en) Memory controller mapping on-the-fly
TWI590049B (en) Memory device and operating method of same
EP2889773B1 (en) Method for backing up data during memory system power-down, and memory system controller
CN101446926B (en) Method for storing power-fail data of cache memory, equipment and system thereof
US20060181949A1 (en) Operating system-independent memory power management
EP2626792A1 (en) Wear leveling method, memory device, and information system
US9823731B2 (en) Adaptive power control of address map memory devices
WO2015149577A1 (en) Storage system, storage device and data storage method
US9465426B2 (en) Method for backing up data in a case of power failure of storage system, and storage system controller
JP2009510552A (en) Data management method in flash memory media
CN105630405B (en) A kind of storage system and the reading/writing method using the storage system
KR101127686B1 (en) Semiconductor memory device
JP2007080325A (en) Semiconductor storage device
US8250298B2 (en) Mechanisms for reducing DRAM power consumption
US9047923B1 (en) Fast shingled tracks recording
CN102789422B (en) The method for writing data of solid state hard disc
JP2020191055A (en) Recovery processing method and device from instantaneous interruption, and computer readable storage medium
CN104866438B (en) Storage device, storage apparatus control method and electronic equipment
CN101807212B (en) Caching method for embedded file system and embedded file system
JP2016085677A (en) Memory management method, memory management program, and information processing device
CN105138294B (en) A kind of hard disc apparatus and information processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090617