CN104281538A - Storage device capacity expanding and snapping method and storage devices - Google Patents
Storage device capacity expanding and snapping method and storage devices Download PDFInfo
- Publication number
- CN104281538A CN104281538A CN201310277021.3A CN201310277021A CN104281538A CN 104281538 A CN104281538 A CN 104281538A CN 201310277021 A CN201310277021 A CN 201310277021A CN 104281538 A CN104281538 A CN 104281538A
- Authority
- CN
- China
- Prior art keywords
- memory device
- mapping table
- valid data
- data page
- snapshot
- 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
Links
Abstract
The invention provides a storage device capacity expanding and snapping method and storage devices and relates to the field of storage. The problem that new data can not be written in a physical page marked with a snapshot can be solved and capacity is expanded. The method includes the steps that the first storage device is externally connected with the second storage device, when a snapshot is created for the first storage device, effective data pages in the first storage device can be backed up to the second storage device according to a first mapping table, record logic addresses are created to a second mapping table of the physical address mapping relationship of the second storage device, and after the effective data pages in the first storage device are backed up to the second storage device, the effective data pages in the first storage device can be erased. The method is used for creating and restoring the snapshots for the storage devices.
Description
Technical field
The present invention relates to field of storage, particularly relate to a kind of dilatation of memory device and Snapshot Method and memory device.
Background technology
Solid state hard disc (Solid State Disk, SSD) is the hard disk made with solid-state electronic storage chip array, is made up of control module and storage unit.Wherein, control module part comprises host computer control logic (Host Control Logic, HCI), flash translation layer (FTL) (Flash Translation Layer, FTL), nandflash controls (NAND Flash Control, NFC), storage unit can be flash memory (Flash) chip or dynamic RAM (Dynamic Random Access Memory, DRAM).The space that the physical space size of SSD is provided by storage unit is decided, and be supplied to operating system (Operation System, OS) logical space size is determined by FTL, run and the backup of bad block for algorithm, so the logical space that SS provides is less than actual physics space because needs arrange headspace.Due to the distinctive read write attribute of SSD, when causing OS to read and write SSD, need to do special process to these read-write operations, thus introduce garbage reclamation (Garbage Collection, GC), abrasion equilibration (Wear Leveling, WL), write the concept of amplification coefficient (Write Amplifier, WA), wherein GC, WL are responsible for by FTL.In addition FTL also has an important function: the physical address when OS reads and writes SSD, logical address being converted to the flash memory of SSD, therefore FTL also maintains the conversion map relation from logical address to physical address, can referred to as mapping table (Mapping Table, MT).
Snapshot (Snapshot) refers to a complete usable copy of certain time point of specific data set, and this copy comprises the reflection of corresponding data at certain time point (time point that copy starts).Snapshot can be a copy of the data represented by it, also can be a duplicate of data.In prior art, data area and snapshot region is divided in portable hard drive, when creating snapshot, need the data-moving of data area to snapshot region, when recovering snapshot, needing the data-moving in snapshot region to go back to data area, when deleting snapshot, needing the data in snapshot region to delete.In above process, snapshot needs to take additional space, for the SSD of current main flow, hard-disk capacity is less, the exceptional space that snapshot takies is very large on the impact of user, and said process can relate to a large amount of read-write operations of data, the WA of SSD can be caused to amplify, reduce the serviceable life of SSD.
In order to solve the problem, in a kind of prior art, when creating snapshot, current logical address is saved to snapshot space to the mapping table of physical address, but data are not moved, but physical page address corresponding in mapping table is labeled as effectively, when snapshot deleted by needs, delete the mapping table of logical address to physical address of above-mentioned preservation, and active page corresponding for this mapping table table is changed into invalid, set up at snapshot in the process of deleting like this and just avoid a large amount of read-write operations of data.
In the process stated in realization, inventor finds that in prior art, at least there are the following problems: although said method can avoid a large amount of read-write operations of data in snapshot creation or delete procedure, but after snapshot creation, because physical page address corresponding in mapping table is labeled as effectively, when there being new data to write, these Physical Page can not being write, can only write not having markd Physical Page, only these Physical Page be changed to invalid after could write new data.So the Physical Page be labeled after snapshot creation is actually occupied, can not new data be write, still have larger impact to user when current main-stream SSD capacity is less.
Summary of the invention
Embodiments of the invention provide a kind of dilatation of memory device and Snapshot Method and memory device, and the Physical Page solving snapshot mark can not write the problem of new data, and expands capacity.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provide a kind of dilatation and Snapshot Method of memory device, described method comprises:
After first memory device is connected with the second memory device, described first memory device receives the snapshot creation instruction that operating system sends;
Described first memory device generates the second mapping table, and according to the first mapping table by valid data page copy extremely described second memory device; Described second mapping table is that logical address is to the mapping relations table of the physical address of described second memory device by after described valid data page copy to described second memory device, and described first mapping table is the mapping relations table that logical address arrives the physical address of described first memory device;
Described second mapping table is saved to described second memory device by the first memory device.
Second aspect, provide a kind of dilatation and Snapshot Method of memory device, described method comprises:
After first memory device is connected with the second memory device, described first memory device detects the mapping table in described second memory device;
The second mapping table detected is loaded on internal memory by described first memory device, so that operating system reads the data in described second memory device according to described second mapping table; Described second mapping table is the mapping relations table that logical address arrives the physical address of described second memory device.
The third aspect, provides a kind of memory device, and described memory device comprises:
Expansion interface, for being connected with the second memory device;
Receiving element, after being connected with the second memory device, receives the snapshot creation instruction that operating system sends;
Snapshot unit, for generating the second mapping table, and according to the first mapping table by valid data page copy extremely described second memory device; Described second mapping table is that logical address is to the mapping relations table of the physical address of described second memory device by after described valid data page copy to described second memory device, and described first mapping table is the mapping relations table that logical address arrives the physical address of described memory device;
Backup units, for being saved to described second memory device by described second mapping table.
Fourth aspect, provides a kind of memory device, and described memory device comprises:
Expansion interface, for being connected with the second memory device;
Detecting unit, after being connected with described second memory device, detects the mapping table in described second memory device;
Snapshot loading unit, for the detect second mapping table is loaded on internal memory, so that operating system reads the data in described second memory device according to described second mapping table; Described second mapping table is the mapping relations that logical address arrives the physical address of described second memory device.
The invention provides a kind of dilatation of memory device and Snapshot Method and memory device, by being external second memory device of the first memory device, when creating snapshot to the first memory device, according to the first mapping table, the valid data page in the first memory device can be backed up to the second memory device, and create second mapping table of logical address to physical address map relation of record second memory device, after the valid data page in the first memory device backs up to the second memory device, valid data page in first memory device can be wiped free of, therefore the Physical Page solving snapshot mark can not write the problem of new data, and expand capacity.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 the invention provides a kind of dilatation of memory device and the schematic flow sheet of Snapshot Method;
Fig. 2 the invention provides a kind of dilatation of memory device and the schematic flow sheet of Snapshot Method;
Fig. 3 the invention provides a kind of dilatation of memory device and the schematic flow sheet of Snapshot Method;
Fig. 4 is the schematic diagram that the invention provides a kind of Snapshot Method;
Fig. 5 the invention provides a kind of dilatation of memory device and the schematic flow sheet of Snapshot Method;
Fig. 6 the invention provides a kind of dilatation of memory device and the schematic flow sheet of Snapshot Method;
Fig. 7 the invention provides a kind of dilatation of memory device and the schematic flow sheet of Snapshot Method;
Fig. 8 is the structural representation that the invention provides a kind of memory device;
Fig. 9 is the structural representation that the invention provides a kind of memory device;
Figure 10 is the structural representation that the invention provides another kind of memory device;
Figure 11 is the structural representation that the invention provides another kind of memory device;
Figure 12 is the structural representation that the invention provides another kind of memory device.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of dilatation and Snapshot Method of memory device, and as shown in Figure 1, method comprises:
101, after the first memory device is connected with the second memory device, the first memory device receives the snapshot creation instruction that operating system sends.
102, the first memory device generates the second mapping table, and according to the first mapping table by valid data page copy to the second memory device.
Wherein, the second mapping table is by logical address after valid data page copy to the second memory device to the mapping relations table of the physical address of the second memory device, and the first mapping table is the mapping relations table of logical address to the physical address of the first memory device.It is worth mentioning that, valid data are copied to the process of the second memory device by the first memory device, can perform when the backstage free time, and such benefit makes to impinge upon soon to complete fast instantaneously.
103, the second mapping table is saved to the second memory device by the first memory device.
The second memory device is all saved at the valid data page of the second mapping table and the first memory device, just can pull out this second memory device, again the second memory device is connected with the first memory device when needing the data of recovery first memory device, as shown in Figure 2, recover the method for the first storage device data, comprising:
201, after the first memory device is connected with the second memory device, the first memory device detects the mapping table in the second memory device.
202, the second mapping table detected is loaded on internal memory by the first memory device, so that operating system reads the data in the second memory device according to the second mapping table.
Such first memory device just can read the snapshot data stored in the second memory device, and further, the method can also comprise:
203, the first memory device according to the second mapping table by valid data page copy to the first memory device in the second memory device.
So just the snapshot data stored in the second memory device can be returned to the first memory device.Identical with during snapshot creation, the process that the snapshot number stored in the second memory device is copied back the first memory device by the first memory device also can perform when the backstage free time.
The invention provides a kind of dilatation and Snapshot Method of memory device, by being external second memory device of the first memory device, when creating snapshot to the first memory device, according to the first mapping table, the valid data page in the first memory device can be backed up to the second memory device, and create second mapping table of logical address to physical address map relation of record second memory device, after the valid data page in the first memory device backs up to the second memory device, valid data page in first memory device can be wiped free of, therefore the Physical Page solving snapshot mark can not write the problem of new data, and expand capacity.
The technical scheme more clearly understood the embodiment of the present invention to enable those skilled in the art and provide, below by specific embodiment, be described in detail to the dilatation of a kind of memory device that the embodiment of the present invention provides and Snapshot Method, as shown in Figure 3, the method comprises:
301, the first memory device is connected with the second memory device.
302, the first memory device receives the snapshot creation instruction that operating system sends.
Then, the first memory device generates the second mapping table, and according to the first mapping table by valid data page copy to the second memory device.
Concrete can perform:
303, while generation second mapping table according to the first mapping table by valid data page copy to the second memory device.
Or, better, perform 304 ~ 305.
304, the second mapping table is generated.
305, backstage idle period is selected according to the first mapping table by valid data page copy to the second memory device.Such benefit makes to impinge upon soon to complete fast instantaneously.
Wherein, the second mapping table is by logical address after valid data page copy to the second memory device to the mapping relations table of the physical address of the second memory device, and the first mapping table is the mapping relations table of logical address to the physical address of the first memory device.Exemplary, be illustrated in figure 4 the schematic diagram of the first memory device valid data page copy to the second memory device, wherein, in Fig. 4, dash area is valid data page, and white portion is blank page.
306, the second mapping table is saved to the second memory device by the first memory device.Exemplary, the second mapping table can be stored in certain position of presetting in the second memory device.
Preferably, if select backstage idle period according to the first mapping table by valid data page copy to the second memory device, the moment in the moment and actual copy data that so create the second mapping table is two time points, so need the consistance ensureing data and the second mapping table.
Therefore, as shown in Figure 5, if the first memory device selects backstage idle period according to the first mapping table by valid data page copy to the second memory device after generation second mapping table, then the method is after the second mapping table generates, before valid data page is copied to the second memory device completely, also comprise:
307, valid data page is protected, forbid that the valid data page in the first memory device is wiped free of.
308, after valid data page is copied to the second memory device completely, the protection to valid data page is cancelled.
The second memory device is all saved at the valid data page of the second mapping table and the first memory device, just can pull out this second memory device, again the second memory device is connected with the first memory device when needing the data of recovery first memory device, as shown in Figure 6, recover the method for the first storage device data, comprising:
501, the first memory device is connected with the second memory device.
502, the first memory device detects the mapping table in the second memory device.
503, the second mapping table detected is loaded on internal memory by the first memory device, so that operating system reads the data in the second memory device according to the second mapping table.
Such first memory device just can read the snapshot data stored in the second memory device, and further, the method can also comprise:
Then, the first memory device according to the second mapping table by valid data page copy to the first memory device in the second memory device.Concrete, can perform:
504, after the second mapping table detected is loaded on internal memory by the first memory device, the first memory device according to the second mapping table by valid data page copy to the first memory device in the second memory device.
Or, preferably,
505, after the second mapping table detected is loaded on internal memory by the first memory device, the first memory device selects backstage idle period according to the second mapping table by valid data page copy to the first memory device in the second memory device.
Wherein, at the first memory device according to the second mapping table by the process of valid data page copy to the first memory device in the second memory device, need deserved amendment first mapping table.
Optionally, by in the second memory device during valid data page copy to the first memory device, the current data of the first memory device may be capped, therefore, if the current data of the first memory device is necessary to retain, then before by valid data page copy to the first memory device in the second memory device, as shown in Figure 7, can also comprise the following steps:
506, the first memory device receives the snapshot creation instruction that operating system sends;
507, the first memory device is that valid data page in the first memory device creates snapshot and backed up by the first mapping table.
Wherein, be that valid data page current in the first memory device can be stored into the second memory device with reference to step 301 ~ 308 by the method that valid data page in the first memory device creates snapshot, or also the physical page address in the first mapping table can be labeled as effectively, prevent the data of these Physical Page to be wiped free of.
Second memory device is the external equipment as the first memory device in embodiments of the present invention, in addition, the second memory device storing the first memory device snapshot data can also as the external equipment of other memory devices, and the first memory device also can store the memory device of snapshot data by external other.Such as, the second memory device is connected to the 3rd memory device, the 3rd memory device just can read the snapshot data of the first memory device that the second memory device stores, or is recovered on the 3rd memory device by the snapshot data of the first memory device; Or, the external equipment of the first memory device can be the 5th memory device of the snapshot data storing the 4th memory device, such first memory device just can read the snapshot data of the 4th memory device that the 5th memory device stores, or is recovered on the first memory device by the snapshot data of the 4th memory device.
In addition, the memory device mentioned in the embodiment of the present invention can be SSD, can be other inner flash-type memory devices using mapping table, here not limit.
The invention provides a kind of dilatation and Snapshot Method of memory device, by being external second memory device of the first memory device, when creating snapshot to the first memory device, according to the first mapping table, the valid data page in the first memory device can be backed up to the second memory device, and create second mapping table of logical address to physical address map relation of record second memory device, after the valid data page in the first memory device backs up to the second memory device, valid data page in first memory device can be wiped free of, therefore the Physical Page solving snapshot mark can not write the problem of new data, and expand capacity.
The embodiment of the present invention also provides a kind of memory device 1, and as shown in Figure 8, this memory device 1 comprises:
Expansion interface 11, for being connected with the second memory device;
Receiving element 12, after being connected with the second memory device, receives the snapshot creation instruction that operating system sends;
Snapshot unit 13, for generating the second mapping table, and according to the first mapping table by valid data page copy to the second memory device; Second mapping table is by logical address after valid data page copy to the second memory device to the mapping relations table of the physical address of the second memory device, and the first mapping table is the mapping relations table that logical address arrives the physical address of memory device 1;
Backup units 14, for being saved to the second memory device by the second mapping table.
Optionally, snapshot unit 13 can be specifically for:
Generate the second mapping table, simultaneously according to the first mapping table by valid data page copy to the second memory device; Or
Generate the second mapping table;
Select backstage idle period according to the first mapping table by valid data page copy to the second memory device.
Optionally, as shown in Figure 9, memory device 1 can also comprise:
Data protection unit 15, for generating from beginning second mapping table, before valid data page is copied to the second memory device completely, protects valid data page;
After valid data page is copied to the second memory device completely, cancel the protection to valid data page.
The invention provides a kind of memory device, by being external second memory device of this memory device, when creating snapshot to this memory device, according to the first mapping table, the valid data page in this memory device can be backed up to the second memory device, and create second mapping table of logical address to physical address map relation of record second memory device, after the valid data page in this memory device backs up to the second memory device, valid data page in this memory device can be wiped free of, therefore the Physical Page solving snapshot mark can not write the problem of new data, and expand capacity.
The embodiment of the present invention also provides another kind of memory device 2, and as shown in Figure 10, memory device 2 comprises:
Expansion interface 21, for being connected with the second memory device;
Detecting unit 22, after being connected with the second memory device, detects the mapping table in the second memory device;
Snapshot loading unit 23, for the detect second mapping table is loaded on internal memory, so that operating system reads the data in the second memory device according to the second mapping table; Second mapping table is the mapping relations table of logical address to the physical address of the second memory device.
Optionally, as shown in figure 11, memory device 2 can also comprise:
Recovery unit 24, for according to the second mapping table by valid data page copy in the second memory device to memory device 2, and corresponding amendment the first mapping table in copy procedure, the first mapping table is the mapping relations table that logical address arrives the physical address of memory device 2.
Optionally, recovery unit 24 can be specifically for:
After the detect second mapping table is loaded on internal memory, according to the second mapping table by valid data page copy in the second memory device to memory device 2; Or
After the detect second mapping table is loaded on internal memory, select backstage idle period according to the second mapping table by valid data page copy in the second memory device to memory device 2.
Optionally, as shown in figure 12, memory device 2 can also comprise:
Receiving element 25, for receiving the snapshot creation instruction that operating system sends;
Snapshot unit 26, for creating snapshot for the valid data page in memory device 2 and being backed up by the first mapping table.
The invention provides a kind of memory device, by being external second memory device of this memory device, when creating snapshot to this memory device, according to the first mapping table, the valid data page in this memory device can be backed up to the second memory device, and create second mapping table of logical address to physical address map relation of record second memory device, after the valid data page in this memory device backs up to the second memory device, the valid data page in this memory device can be wiped free of; After the second memory device turns back to, the snapshot data created before this subscriber equipment can read also recovers, therefore the Physical Page solving snapshot mark can not write the problem of new data, and expands capacity.
In several embodiments that the application provides, should be understood that disclosed method and apparatus can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprises the part steps of some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, be called for short ROM), random access memory (Random Access Memory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.
Claims (14)
1. the dilatation of memory device and a Snapshot Method, it is characterized in that, described method comprises:
After first memory device is connected with the second memory device, described first memory device receives the snapshot creation instruction that operating system sends;
Described first memory device generates the second mapping table, and according to the first mapping table by valid data page copy extremely described second memory device; Described second mapping table is that logical address is to the mapping relations table of the physical address of described second memory device by after described valid data page copy to described second memory device, and described first mapping table is the mapping relations table that logical address arrives the physical address of described first memory device;
Described second mapping table is saved to described second memory device by the first memory device.
2. method according to claim 1, is characterized in that, described first memory device generates the second mapping table, and is comprised by valid data page copy to described second memory device according to the first mapping table:
Described first memory device generates the second mapping table, simultaneously according to the first mapping table by described valid data page copy to described second memory device; Or
Described first memory device generates the second mapping table;
Described first memory device selects backstage idle period according to the first mapping table by described valid data page copy extremely described second memory device.
3. method according to claim 2, is characterized in that, if select backstage idle period according to the first mapping table by valid data page copy extremely described second memory device, then described method also comprises:
From beginning second mapping table generates, before described valid data page is copied to described second memory device completely, described valid data page is protected;
After described valid data page is copied to described second memory device completely, cancel the protection to described valid data page.
4. the dilatation of memory device and a Snapshot Method, it is characterized in that, described method comprises:
After first memory device is connected with the second memory device, described first memory device detects the mapping table in described second memory device;
The second mapping table detected is loaded on internal memory by described first memory device, so that operating system reads the data in described second memory device according to described second mapping table; Described second mapping table is the mapping relations table that logical address arrives the physical address of described second memory device.
5. method according to claim 4, is characterized in that, described method also comprises:
Described first memory device according to described second mapping table by valid data page copy in described second memory device to described first memory device, and corresponding amendment the first mapping table in copy procedure, described first mapping table is the mapping relations table that logical address arrives the physical address of described first memory device.
6. method according to claim 5, is characterized in that, valid data page copy in described second memory device to described first memory device comprises according to described second mapping table by described first memory device:
After the second mapping table detected is loaded on internal memory by described first memory device, described first memory device according to described second mapping table by valid data page copy in described second memory device to described first memory device; Or
After the second mapping table detected is loaded on internal memory by described first memory device, described first memory device selects backstage idle period according to described second mapping table by extremely described first memory device of valid data page copy in described second memory device.
7. the method according to claim 5 or 6, is characterized in that, at described first memory device according to described second mapping table by valid data page copy in described second memory device to before described first memory device, described method also comprises:
Described first memory device receives the snapshot creation instruction that operating system sends;
Described first memory device is that the valid data page in described first memory device creates snapshot and backed up by the first mapping table.
8. a memory device, is characterized in that, described memory device comprises:
Expansion interface, for being connected with the second memory device;
Receiving element, after being connected with the second memory device, receives the snapshot creation instruction that operating system sends;
Snapshot unit, for generating the second mapping table, and according to the first mapping table by valid data page copy extremely described second memory device; Described second mapping table is that logical address is to the mapping relations table of the physical address of described second memory device by after described valid data page copy to described second memory device, and described first mapping table is the mapping relations table that logical address arrives the physical address of described memory device;
Backup units, for being saved to described second memory device by described second mapping table.
9. memory device according to claim 8, is characterized in that, described snapshot unit specifically for:
Generate the second mapping table, simultaneously according to the first mapping table by described valid data page copy to described second memory device; Or
Generate the second mapping table;
Select backstage idle period according to the first mapping table by described valid data page copy extremely described second memory device.
10. memory device according to claim 9, is characterized in that, described memory device also comprises:
Data protection unit, for generating from beginning second mapping table, before described valid data page is copied to described second memory device completely, protects described valid data page;
After described valid data page is copied to described second memory device completely, cancel the protection to described valid data page.
11. 1 kinds of memory devices, is characterized in that, described memory device comprises:
Expansion interface, for being connected with the second memory device;
Detecting unit, after being connected with described second memory device, detects the mapping table in described second memory device;
Snapshot loading unit, for the detect second mapping table is loaded on internal memory, so that operating system reads the data in described second memory device according to described second mapping table; Described second mapping table is the mapping relations table that logical address arrives the physical address of described second memory device.
12. memory devices according to claim 11, is characterized in that, described memory device also comprises:
Recovery unit, for according to described second mapping table by valid data page copy in described second memory device to described memory device, and corresponding amendment the first mapping table in copy procedure, described first mapping table is the mapping relations table that logical address arrives the physical address of described memory device.
13. memory devices according to claim 12, is characterized in that, described recovery unit specifically for:
After the detect second mapping table is loaded on internal memory, according to described second mapping table by the extremely described memory device of valid data page copy in described second memory device; Or
After the detect second mapping table is loaded on internal memory, select backstage idle period according to described second mapping table by the extremely described memory device of valid data page copy in described second memory device.
14. memory devices according to claim 12 or 13, it is characterized in that, described memory device also comprises:
Receiving element, for receiving the snapshot creation instruction that operating system sends;
Snapshot unit, for creating snapshot for the valid data page in described memory device and being backed up by the first mapping table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310277021.3A CN104281538B (en) | 2013-07-03 | 2013-07-03 | It is a kind of store equipment dilatation and Snapshot Method and storage equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310277021.3A CN104281538B (en) | 2013-07-03 | 2013-07-03 | It is a kind of store equipment dilatation and Snapshot Method and storage equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104281538A true CN104281538A (en) | 2015-01-14 |
CN104281538B CN104281538B (en) | 2019-05-31 |
Family
ID=52256432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310277021.3A Active CN104281538B (en) | 2013-07-03 | 2013-07-03 | It is a kind of store equipment dilatation and Snapshot Method and storage equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104281538B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598418A (en) * | 2015-01-27 | 2015-05-06 | 北京奥普维尔科技有限公司 | System and method for controlling I2C communication based on FPGA (Field Programmable Gate Array) |
CN106469122A (en) * | 2015-08-14 | 2017-03-01 | 群联电子股份有限公司 | Valid data merging method, Memory Controller and memorizer memory devices |
CN107391391A (en) * | 2017-07-19 | 2017-11-24 | 深圳大普微电子科技有限公司 | The method, system and solid state hard disc of data copy are realized in the FTL of solid state hard disc |
CN109542672A (en) * | 2015-09-25 | 2019-03-29 | 伊姆西公司 | Method and apparatus for recycling the memory block in snapshot storage space |
CN109643276A (en) * | 2016-09-01 | 2019-04-16 | 华为技术有限公司 | Create the system and method for database subset snapshot |
CN112015341A (en) * | 2020-08-26 | 2020-12-01 | 合肥康芯威存储技术有限公司 | Data storage method, storage system and storage medium |
CN112445429A (en) * | 2020-10-30 | 2021-03-05 | 至誉科技(武汉)有限公司 | Management method and system for physical blocks of solid state disk |
CN113868018A (en) * | 2021-08-25 | 2021-12-31 | 苏州浪潮智能科技有限公司 | Data storage method and device and data recovery method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030167A (en) * | 2007-01-17 | 2007-09-05 | 忆正存储技术(深圳)有限公司 | Flash-memory zone block management |
CN101727403A (en) * | 2008-10-15 | 2010-06-09 | 深圳市朗科科技股份有限公司 | Data storage system, equipment and method |
US20110119455A1 (en) * | 2009-11-16 | 2011-05-19 | Jeng-Horng Tsai | Methods of utilizing address mapping table to manage data access of storage medium without physically accessing storage medium and related storage controllers thereof |
CN102508743A (en) * | 2011-11-10 | 2012-06-20 | 武汉噢易科技有限公司 | Multi-point backup and real-time protection method for Linux file system |
CN102591790A (en) * | 2011-12-30 | 2012-07-18 | 记忆科技(深圳)有限公司 | Method for implementing data storage snapshot based on solid state disk, and solid state disk |
CN103049349A (en) * | 2012-11-29 | 2013-04-17 | 记忆科技(深圳)有限公司 | Snapshot method and system based on tiered storage |
CN103064763A (en) * | 2012-12-27 | 2013-04-24 | 华为技术有限公司 | Data backup method and related device and system |
-
2013
- 2013-07-03 CN CN201310277021.3A patent/CN104281538B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030167A (en) * | 2007-01-17 | 2007-09-05 | 忆正存储技术(深圳)有限公司 | Flash-memory zone block management |
CN101727403A (en) * | 2008-10-15 | 2010-06-09 | 深圳市朗科科技股份有限公司 | Data storage system, equipment and method |
US20110119455A1 (en) * | 2009-11-16 | 2011-05-19 | Jeng-Horng Tsai | Methods of utilizing address mapping table to manage data access of storage medium without physically accessing storage medium and related storage controllers thereof |
CN102508743A (en) * | 2011-11-10 | 2012-06-20 | 武汉噢易科技有限公司 | Multi-point backup and real-time protection method for Linux file system |
CN102591790A (en) * | 2011-12-30 | 2012-07-18 | 记忆科技(深圳)有限公司 | Method for implementing data storage snapshot based on solid state disk, and solid state disk |
CN103049349A (en) * | 2012-11-29 | 2013-04-17 | 记忆科技(深圳)有限公司 | Snapshot method and system based on tiered storage |
CN103064763A (en) * | 2012-12-27 | 2013-04-24 | 华为技术有限公司 | Data backup method and related device and system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598418A (en) * | 2015-01-27 | 2015-05-06 | 北京奥普维尔科技有限公司 | System and method for controlling I2C communication based on FPGA (Field Programmable Gate Array) |
CN106469122B (en) * | 2015-08-14 | 2019-11-19 | 群联电子股份有限公司 | Valid data merging method, Memory Controller and memorizer memory devices |
CN106469122A (en) * | 2015-08-14 | 2017-03-01 | 群联电子股份有限公司 | Valid data merging method, Memory Controller and memorizer memory devices |
CN109542672B (en) * | 2015-09-25 | 2023-05-05 | 伊姆西Ip控股有限责任公司 | Method and apparatus for reclaiming memory blocks in snapshot memory space |
CN109542672A (en) * | 2015-09-25 | 2019-03-29 | 伊姆西公司 | Method and apparatus for recycling the memory block in snapshot storage space |
US11249853B2 (en) | 2016-09-01 | 2022-02-15 | Huawei Technologies Co., Ltd. | System and method for creating a snapshot of a subset of a database |
CN109643276A (en) * | 2016-09-01 | 2019-04-16 | 华为技术有限公司 | Create the system and method for database subset snapshot |
CN107391391A (en) * | 2017-07-19 | 2017-11-24 | 深圳大普微电子科技有限公司 | The method, system and solid state hard disc of data copy are realized in the FTL of solid state hard disc |
CN112015341A (en) * | 2020-08-26 | 2020-12-01 | 合肥康芯威存储技术有限公司 | Data storage method, storage system and storage medium |
CN112015341B (en) * | 2020-08-26 | 2024-03-22 | 合肥康芯威存储技术有限公司 | Data storage method, storage system and storage medium |
CN112445429A (en) * | 2020-10-30 | 2021-03-05 | 至誉科技(武汉)有限公司 | Management method and system for physical blocks of solid state disk |
CN112445429B (en) * | 2020-10-30 | 2022-08-05 | 至誉科技(武汉)有限公司 | Management method and system for physical blocks of solid state disk |
CN113868018A (en) * | 2021-08-25 | 2021-12-31 | 苏州浪潮智能科技有限公司 | Data storage method and device and data recovery method |
CN113868018B (en) * | 2021-08-25 | 2024-03-01 | 苏州浪潮智能科技有限公司 | Data storage method and device and data recovery method |
Also Published As
Publication number | Publication date |
---|---|
CN104281538B (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104281538A (en) | Storage device capacity expanding and snapping method and storage devices | |
CN102591807B (en) | Processing method for power down and abnormal writing of solid state disc and system | |
US8706989B2 (en) | Data storage device with power-off recovery system and method thereof | |
US8423710B1 (en) | Sequential writes to flash memory | |
US8762661B2 (en) | System and method of managing metadata | |
US20170228154A1 (en) | Device and method for power loss protection in solid state drive | |
CN103049349B (en) | Based on Snapshot Method and the system of Bedding storage | |
CN102591790B (en) | Data based on solid state hard disc store snapshot implementing method and solid state hard disc | |
CN104461391A (en) | Method and system for managing and processing metadata of storage equipment | |
CN109582217A (en) | Data storage device and method for writing data into memory device | |
US9146928B1 (en) | Techniques for storing metadata of a filesystem in persistent memory | |
CN102792276A (en) | Buffer disk in flashcopy cascade | |
CN102999564B (en) | Write the method for data, device and equipment | |
CN101963891A (en) | Method and device for data storage and processing, solid-state drive system and data processing system | |
CN112035294B (en) | Security log file system and implementation method and medium thereof | |
CN104461773A (en) | Backup deduplication method of virtual machine | |
CN104050014A (en) | Efficient storage management method based on virtualization platform | |
CN104915265B (en) | Data back up method and electronic equipment | |
CN105487824A (en) | Information processing method, storage device and electronic device | |
CN103559119B (en) | File operation requests disposal route and device | |
CN104281505A (en) | Data backup method and device and electronic device | |
CN111324289B (en) | Memory device | |
CN102737716B (en) | Memorizer memory devices, Memory Controller and method for writing data | |
CN109918228A (en) | A kind of data power-down retaining method and system | |
CN108733575B (en) | Method for reconstructing physical mapping table by logic after power-off restart and solid state disk |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |