CN103116553A - Data use control method, device and storage equipment - Google Patents

Data use control method, device and storage equipment Download PDF

Info

Publication number
CN103116553A
CN103116553A CN2011103640576A CN201110364057A CN103116553A CN 103116553 A CN103116553 A CN 103116553A CN 2011103640576 A CN2011103640576 A CN 2011103640576A CN 201110364057 A CN201110364057 A CN 201110364057A CN 103116553 A CN103116553 A CN 103116553A
Authority
CN
China
Prior art keywords
mapping table
electronic equipment
memory device
storage areas
physical storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103640576A
Other languages
Chinese (zh)
Other versions
CN103116553B (en
Inventor
周大凯
周浩强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110364057.6A priority Critical patent/CN103116553B/en
Publication of CN103116553A publication Critical patent/CN103116553A/en
Application granted granted Critical
Publication of CN103116553B publication Critical patent/CN103116553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a data use control method, a device and storage equipment. The data use control method is used in the storage equipment for providing access service based on mapping of a logic address and a physical address. The method comprises the following steps. Interaction is performed with electronic equipment, and a history mapping table which is stored in advance is obtained. The history mapping table records a mapping relation between the logic address and the physical address of a first physical storage area in the storage equipment, and the mapping table is set to be a mapping table used at present so that the electronic equipment can visit the first physical storage area based on the mapping table. The control method is convenient and flexible for data use of the data storage equipment.

Description

Data are used control method, device and memory device
Technical field
The invention belongs to electronic applications, particularly a kind of data are used control method, device and memory device.
Background technology
A large amount of digital storage equipments that are different from traditional mechanical storage equipment (as the hard disk that carries out the data storage based on the CD-ROM drive head, CD etc.) have been arranged at present, as the SSD hard disk etc.The mapping of these digital storage equipment logic-based addresses and physical address provides access services, it provides logical address to conduct interviews to external electronic device, and realize logical address and physical address translations in inside by the mapping of logical address and physical address, then the actual data access service in physical address is provided.
Yet prior art is not used for the data of this digital storage equipment a kind of convenient, flexible control method is provided.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of data to use control method, device and memory device, and using for the data of digital storage equipment provides a kind of convenient, flexible control method.
To achieve these goals, the embodiment of the present invention provides a kind of data to use control method, and the mapping that is used for logic-based address and physical address provides the memory device of access services, and described data use control method to comprise:
Mutual with electronic equipment, obtain the historical mapping table of a pre-save, described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Described mapping table is set to the mapping table of current use, makes the described electronic equipment can be based on described mapping table to described the first physical storage areas accessing operation.
Above-mentioned data are used control method, wherein, also comprise: described mapping table is set to remove after the mapping table of current use the guard mode of described the first physical storage areas.
Above-mentioned data are used control method, wherein, also comprise:
After based on described mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Described the first physical storage areas is carried out conservation treatment, make described the first physical storage areas be in a read states.
Above-mentioned data are used control method, and wherein, described memory device is solid state hard disc.
Above-mentioned data are used control method, and wherein mutual with electronic equipment, the historical mapping table that obtains a pre-save specifically comprises:
Receive the first instruction of indication the first mapping table from described electronic equipment;
Select described the first mapping table as described historical mapping table according to described the first instruction at least two pre-stored mapping tables from described memory device.
Above-mentioned data are used control method, and wherein mutual with electronic equipment, the historical mapping table that obtains a pre-save also comprises:
Send the list that records all pre-stored mapping tables of preserving in described memory device to described electronic equipment after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
Above-mentioned data are used control method, and wherein, the historical mapping table that obtains a pre-save specifically comprises:
The 3rd instruction from second mapping table of described electronic equipment reception pre-save in described electronic equipment;
With described the second mapping table of receiving as described historical mapping table.
Above-mentioned data are used control method, wherein, also comprise:
Receive the 4th instruction of indication the 3rd mapping table and new logical addresses from described electronic equipment;
Former logical address in described the first mapping table is replaced with described new logical addresses;
Preserve the 3rd mapping table after upgrading.
In order better to realize above-mentioned purpose, the embodiment of the present invention also provides a kind of data to use control device, and the mapping that is used for logic-based address and physical address provides the memory device of access services, and described data use control device to comprise:
Acquisition module for mutual with electronic equipment, obtains the historical mapping table of a pre-save, and described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Module is set, is used for the mapping table that described mapping table is set to current use, make the described electronic equipment can be based on described mapping table to described the first physical storage areas accessing operation.
Above-mentioned data are used control device, wherein, also comprise: module is removed in protection, is used for removing after mapping table that described mapping table is set to current use the guard mode of described the first physical storage areas.
Above-mentioned data are used control device, wherein, also comprise:
Preserve module, after being used for based on described mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Protection module is used for described the first physical storage areas is carried out conservation treatment, makes described the first physical storage areas be in a read states.
Above-mentioned data are used control device, and wherein, described memory device is solid state hard disc.
Above-mentioned data are used control device, and wherein, described acquisition module specifically comprises:
The first receiving element is used for receiving from described electronic equipment the first instruction of indication the first mapping table;
The first selected cell is used for selecting described the first mapping table as described historical mapping table according to described the first instruction from least two pre-stored mapping tables of described memory device.
Above-mentioned data are used control device, and wherein, described acquisition module also comprises:
Transmitting element, be used for sending to described electronic equipment the list that records all pre-stored mapping tables that described memory device is preserved after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
Above-mentioned data are used control device, and wherein, described acquisition module specifically comprises:
The second receiving element is used for receiving pre-save in the 3rd instruction of the second mapping table of described electronic equipment from described electronic equipment;
The second selected cell, described the second mapping table that is used for receiving is set to described historical mapping table.
Above-mentioned data are used control device, wherein, also comprise:
Receiver module is used for receiving from described electronic equipment the 4th instruction of indication the 3rd mapping table and new logical addresses;
Replacement module is used for the former logical address of described the first mapping table is replaced with described new logical addresses;
Preserve module, be used for preserving the 3rd mapping table after upgrading.
In order better to realize above-mentioned purpose, the embodiment of the present invention also provides a kind of memory device, and the mapping of described memory device logic-based address and physical address provides access services, and described memory device comprises:
Acquisition module for mutual with electronic equipment, obtains the historical mapping table of a pre-save, and described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Module is set, is used for the mapping table that described mapping table is set to current use, make the described electronic equipment can be based on described mapping table to described the first physical storage areas accessing operation.
Above-mentioned memory device wherein, also comprises:
Module is removed in protection, is used for removing after mapping table that described mapping table is set to current use the guard mode of described the first physical storage areas.
Above-mentioned memory device wherein, also comprises:
Preserve module, after being used for based on described mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Protection module is used for described the first physical storage areas is carried out conservation treatment, makes described the first physical storage areas be in a read states.
Above-mentioned memory device, wherein, described acquisition module specifically comprises:
The first receiving element is used for receiving from described electronic equipment the first instruction of indication the first mapping table;
The first selected cell is used for selecting described the first mapping table as described historical mapping table according to described the first instruction from least two pre-stored mapping tables of described memory device.
Above-mentioned memory device, wherein, described acquisition module also comprises:
Transmitting element, be used for sending to described electronic equipment the list that records all pre-stored mapping tables that described memory device is preserved after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
Above-mentioned memory device, wherein, described acquisition module specifically comprises:
The second receiving element is used for receiving pre-save in the 3rd instruction of the second mapping table of described electronic equipment from described electronic equipment;
The second selected cell, described the second mapping table that is used for receiving is set to described historical mapping table.
The embodiment of the present invention has following effective effect:
In the specific embodiment of the invention; memory device and electronic equipment are mutual; to indicate to select the mapping table of a pre-save according to the user; then this mapping table is set to the mapping table of current use; and the guard mode of the physical storage areas of releasing mapping table record; after this, electronic equipment just can be realized making the user to access easily the data that preserved in the past to the accessing operation of the physical storage areas of mapping table record based on this mapping table.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of a kind of concrete application of the method for the application embodiment of the present invention;
Fig. 3 is the structural representation of the device of the embodiment of the present invention.
Embodiment
The data of the embodiment of the present invention are used in control method, device and electronic equipment, by the control to current mapping table, make the user to access easily the data that preserved in the past, for user's data of providing convenience are flexibly used and controlled.
The data of the embodiment of the present invention are used control method, and the mapping that is used for logic-based address and physical address provides the memory device of access services, and as shown in Figure 1, described data use control method to comprise:
Step 11, mutual with electronic equipment, obtain the historical mapping table of a pre-save, described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Step 12, described historical mapping table is set to the mapping table of current use, makes the described electronic equipment can be based on described historical mapping table to described the first physical storage areas accessing operation.
In the specific embodiment of the invention, memory device and electronic equipment are mutual, to indicate to select the mapping table of a pre-save according to the user, then this mapping table is set to the mapping table of current use, after this, electronic equipment just can be realized making the user to access easily the data that preserved in the past to the accessing operation of the physical storage areas of mapping table record based on this mapping table.
Should be understood that, the electronic equipment in the embodiment of the present invention is all equipment that can use above-mentioned digital storage equipment, as computing machine, mobile phone, PDA etc.
In specific embodiments of the invention; be set to the mapping table of current use at mapping table before; for the data in physical storage areas corresponding to mapping table are protected; should be this region division one guard mode; can to be that physical storage areas is readable can not write described guard mode, can be also that physical storage areas is not read-write.
After described mapping table is set to the mapping table of current use, the guard mode of this physical storage areas can be removed according to different scenes, can not remove yet.
Illustrate as follows for the scene of not removing guard mode.
Suppose windows 7 systems have been installed on a SSD hard disk, start, all can generate a mapping table each time.
So in the system of current use, just the some parts in former all historical mapping tables can be mapped in a little space of appointment, the user just can pass through this little space like this, sectional data cases corresponding to each mapping table of seeing that user's start is each time in the past preserved, also just can browse the historical upheaval (in each historical mapping table, portion being arranged) of the file of more correcting one's mistakes just as a small tubes.
When the method for the embodiment of the present invention is applied to above-mentioned scene; do not need to remove the guard mode of amount of physical memory corresponding to above-mentioned mapping table; reason is if one section is shone upon; before removing this mapping; system power failure; then format the current mapping status of this hard disk, will cause by the data of that snapshot of part mapping destroyed.
From another perspective; in above-mentioned scene; if share identical physical region between a plurality of mapping tables; and historical mapping table may be shared identical physical region with current mapping table; so in case the mapping table that physical region is got up by some preservations is quoted; this physical region just can only be read, and can not write, namely can not the de-preservation state.
But in the specific embodiment of the invention, after described mapping table is set to the mapping table of current use, also the guard mode of this physical storage areas can be removed, the below will be elaborated.
The method of the embodiment of the present invention can be applied to many aspects, is exemplified below respectively.
<multiple operating system is selected 〉
Suppose that the user has installed an operating system A1 in the very first time, corresponding to physical storage areas B1, when the user uses operating system A1, use the first mapping table that the B1 zone of memory device is conducted interviews.
Suppose that the user has installed an operating system A2 in the second time, corresponding to physical storage areas B2, when the user uses operating system A2, use the second mapping table that the B2 zone of memory device is conducted interviews.
when certain is once started shooting, suppose that this moment, the user wanted to use operating system A1, the first mapping table was kept at a separate, stored zone of memory device or was stored in other memory devices of electronic equipment this moment, the user just can indicate memory device need to use the first mapping table (specifically how to indicate and will be elaborated follow-up) by electronic equipment, and memory device is set to the mapping table of current use based on this indication first mapping table, and the guard mode of physical storage areas B1 is removed, this moment, electronic equipment can be based on the first mapping table to the physical storage areas B1 operation that conducts interviews, realize the selection of multiple operating system.
The protection of<sensitive data 〉
Suppose that the user has generated a customer information record sheet; be stored in physical storage areas B3; but do not think to be read by others at any time for this record sheet user; this moment, the user can generate the 3rd mapping table; record the mapping relations of B3 and logical address, subsequently this mapping table is preserved, and this physical storage areas B3 is set, and to be in guard mode (can be to read and write; can be also read-only, but should be set in this example and can't read and write).
when the user wants to use this customer information record sheet some day, can indicate memory device need to use the 3rd mapping table (specifically how to indicate and to be elaborated follow-up) by electronic equipment, and the mapping table that memory device is set to current use based on this indication the 3rd mapping table (in this case, also have other mapping tables also to be in current use state), and the guard mode of physical storage areas B3 is removed, this moment, electronic equipment can be based on the 3rd mapping table to the physical storage areas B3 operation that conducts interviews, realize reading of customer information record sheet.
The backup of<system recovers 〉
Suppose that the user uses physical storage areas B4 under current environment; if the user wants to back up current system; can generate the 4th mapping table; record the mapping relations of B4 and logical address; subsequently this mapping table is preserved; and this physical storage areas B4 is set is in guard mode (can be to read and write, can be also read-only, but should be set in this example and can't read and write) backed off after random and gets final product.
During the state preserved before the user wants to return to; can indicate memory device; make memory device the 4th mapping table be set to the mapping table of current use; then physical storage areas B4 is cancelled guard mode; electronic equipment can be based on the 4th mapping table to the physical storage areas B4 operation that conducts interviews, and the system that realizes is recovered.
Certainly, above is only illustrating of two application scenarioss, and the method for the embodiment of the present invention can also be used for other the scene such as data rewind, and its specific implementation process is not described in detail at this.
In specific embodiments of the invention, this memory device is digital storage equipment, as SSD hard disk etc.The mapping of these digital storage equipment logic-based addresses and physical address provides access services, digital storage equipment provides logical address to conduct interviews to external electronic device, and realize logical address and physical address translations in inside by the mapping table of logical address and physical address, then the actual data access service in physical address is provided.
Mention before, under this a lot of scene, if the user utilize electronic equipment access the first physical storage areas complete after, for data are protected, also in order can also to use next time, the data of the embodiment of the present invention are used control method, also comprise:
After based on described mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Described the first physical storage areas is carried out conservation treatment, make described the first physical storage areas be in a read states.
After handling; this first physical storage areas just is in guard mode; can only read; perhaps can't read and write; and when needing to use next time; the mapping table that only needs this is saved in the separate, stored zone is re-set as current use, and cancels the guard mode of the first physical storage areas, can continue the first physical storage areas is conducted interviews.
In specific embodiments of the invention, at first memory device needs to obtain the historical mapping table of pre-save, and specifically how to obtain and can realize in several ways, is described as follows.
<implementation one 〉
In implementation one, mapping table is stored in described memory device, and is mutual with electronic equipment under this mode, and the historical mapping table that obtains a pre-save specifically comprises:
Receive the first instruction of indication the first mapping table from described electronic equipment;
Select described the first mapping table as described historical mapping table according to described the first instruction at least two pre-stored mapping tables from described memory device.
Be described as follows.
Suppose that in memory device, pre-save has 3 mapping tables, be respectively mapping table 1, mapping table 2 and mapping table 3, at this moment, if the user has known this 3 mapping tables in advance, think directly to use mapping table 2, can directly send the first instruction by electronic equipment to memory device, wherein this first instruction comprises the ID of mapping table 2.
After memory device receives this first instruction, resolve the ID that this first instruction can obtain mapping table 2, just can be from mapping table 1, select mapping table 2 as historical mapping table in mapping table 2 and mapping table 3, then carry out subsequent treatment.
<implementation two 〉
What implementation two was identical with implementation one is, mapping table is stored in described memory device, and is mutual with electronic equipment, and the historical mapping table that obtains a pre-save specifically comprises:
Send the list that records all pre-stored mapping tables of preserving in described memory device to described electronic equipment after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list;
Receive the first instruction of indication the first mapping table from described electronic equipment;
Select described the first mapping table as described historical mapping table according to described the first instruction at least two pre-stored mapping tables from described memory device.
Be described as follows.
Suppose that in memory device, pre-save has 3 mapping tables, be respectively mapping table 1, mapping table 2 and mapping table 3.
When the user need to select, send the second instruction by described electronic equipment to memory device, the indication memory device is informed the mapping table situation;
After memory device receives this second instruction, namely search the mapping table of self preserving, namely mapping table 1, and then mapping table 2 and mapping table 3 send the list that records all pre-stored mapping tables of preserving in described memory device to described electronic equipment;
After electronic equipment receives list, present this list to the user.
The user selects mapping table 2 based on this mapping table list that presents, and sends the first instruction by electronic equipment to memory device, and wherein this first instruction comprises the ID of mapping table 2.
After memory device receives this first instruction, resolve the ID that this first instruction can obtain mapping table 2, just can be from mapping table 1, select mapping table 2 as historical mapping table in mapping table 2 and mapping table 3, then carry out subsequent treatment.
<implementation three 〉
In above-mentioned implementation one and two, this mapping table all is stored in memory device, but this mapping table also can be stored in the electronic equipment end, and in this case, the historical mapping table that obtains a pre-save specifically comprises:
The 3rd instruction from second mapping table of described electronic equipment reception pre-save in described electronic equipment;
With described the second mapping table of receiving as described historical mapping table.
Under this mode, the mapping table that directly will be needed to use by electronic equipment sends to memory device, and after memory device receives this mapping table, directly preserves and its mapping table that is set to current use gets final product.
Certainly, to the mapping table in the embodiment of the present invention also can modify, the operation such as deletion, to be revised as example, the data of the embodiment of the present invention are used control method, also comprise:
Receive the 4th instruction of indication the 3rd mapping table and new logical addresses from described electronic equipment;
Former logical address in described the first mapping table is replaced with described new logical addresses;
Preserve the 3rd mapping table after upgrading.
And for deletion, not only needing also needs with the mapping table deletion physical storage areas de-preservation state that this mapping table is corresponding.
As shown in Figure 2, be a kind of specific implementation process flow diagram of the method for utilizing the embodiment of the present invention, comprise:
Step 21, electronic equipment presents the mapping table list to the user;
Step 22, electronic equipment select to generate the instruction of the ID of the mapping table that comprises that the user selects according to the user;
Step 23, the ID of the mapping table of selecting according to the user after memory device reception instruction selects corresponding mapping table, and the mapping table of selecting is set to the mapping table of current use;
Step 24; after described electronic equipment is carried out accessing operation based on the mapping table of current use to physical storage areas; indication according to electronic equipment; preserve described historical mapping table regional to a separate, stored; and described the first physical storage areas is carried out conservation treatment, make described the first physical storage areas be in a read states.
After this, the user can also select this mapping table that is saved in the separate, stored zone to realize recovering.
The embodiment of the present invention also provides a kind of data to use control device, and the mapping that is used for logic-based address and physical address provides the memory device of access services, and as shown in Figure 3, described data use control device to comprise:
Acquisition module for mutual with electronic equipment, obtains the historical mapping table of a pre-save, and described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Module is set, is used for the mapping table that described mapping table is set to current use, make the described electronic equipment can be based on described mapping table to described the first physical storage areas accessing operation.
In specific embodiments of the invention; be set to the mapping table of current use at mapping table before; for the data in physical storage areas corresponding to mapping table are protected; should be this region division one guard mode; can to be that physical storage areas is readable can not write described guard mode, can be also that physical storage areas is not read-write.
After described mapping table is set to the mapping table of current use, the guard mode of this physical storage areas can be removed according to different scenes, can not remove yet.
In the situation that needs are removed, the data of the embodiment of the present invention use control device also to comprise:
Module is removed in protection, is used for removing after mapping table that described mapping table is set to current use the guard mode of described the first physical storage areas.
After finishing using, the embodiment of the present invention can also be preserved mapping table, and the physical storage areas of correspondence is protected, so that follow-up recovery is again used, in this case, the data of the embodiment of the present invention use control device also to comprise:
Preserve module, after being used for based on described mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Protection module is used for described the first physical storage areas is carried out conservation treatment, makes described the first physical storage areas be in a read states.
The data of the embodiment of the present invention use control device can be used for various digital storage equipments, especially solid state hard disc.
In the specific embodiment of the invention, data use control device to obtain historical mapping table can be in several ways, as:
When mapping table was stored in memory device, described acquisition module specifically comprised:
The first receiving element is used for receiving from described electronic equipment the first instruction of indication the first mapping table;
The first selected cell is used for selecting described the first mapping table as described historical mapping table according to described the first instruction from least two pre-stored mapping tables of described memory device.
Certainly, described acquisition module can also comprise:
Transmitting element, be used for sending to described electronic equipment the list that records all pre-stored mapping tables that described memory device is preserved after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
In this case, acquisition module first sends the mapping table list and selects for the user, and then selects to determine mapping table according to the user.
Certainly, mapping table also can be stored in electronic equipment, and in this case, described acquisition module specifically comprises:
The second receiving element is used for receiving pre-save in the 3rd instruction of the second mapping table of described electronic equipment from described electronic equipment;
The second selected cell, described the second mapping table that is used for receiving is set to described historical mapping table.
When the data of the embodiment of the present invention use control device need to support the modification of mapping table, also need to comprise:
Receiver module is used for receiving from described electronic equipment the 4th instruction of indication the 3rd mapping table and new logical addresses;
Replacement module is used for the former logical address of described the first mapping table is replaced with described new logical addresses;
Preserve module, be used for preserving the 3rd mapping table after upgrading.
The embodiment of the present invention also provides a kind of memory device simultaneously, and the mapping of described memory device logic-based address and physical address provides access services, and described memory device comprises:
Acquisition module for mutual with electronic equipment, obtains the historical mapping table of a pre-save, and described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Module is set, is used for the mapping table that described mapping table is set to current use, make the described electronic equipment can be based on described mapping table to described the first physical storage areas accessing operation.
In specific embodiments of the invention; be set to the mapping table of current use at mapping table before; for the data in physical storage areas corresponding to mapping table are protected; should be this region division one guard mode; can to be that physical storage areas is readable can not write described guard mode, can be also that physical storage areas is not read-write.
After described mapping table is set to the mapping table of current use, the guard mode of this physical storage areas can be removed according to different scenes, can not remove yet.
In the situation that needs are removed, the memory device of the embodiment of the present invention also comprises:
Module is removed in protection, is used for removing after mapping table that described mapping table is set to current use the guard mode of described the first physical storage areas.
Above-mentioned memory device also comprises:
Preserve module, after being used for based on described mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Protection module is used for described the first physical storage areas is carried out conservation treatment, makes described the first physical storage areas be in a read states.
Above-mentioned memory device, described acquisition module specifically comprises:
The first receiving element is used for receiving from described electronic equipment the first instruction of indication the first mapping table;
The first selected cell is used for selecting described the first mapping table as described historical mapping table according to described the first instruction from least two pre-stored mapping tables of described memory device.
Above-mentioned memory device, described acquisition module also comprises:
Transmitting element, be used for sending to described electronic equipment the list that records all pre-stored mapping tables that described memory device is preserved after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
Above-mentioned memory device, described acquisition module specifically comprises:
The second receiving element is used for receiving pre-save in the 3rd instruction of the second mapping table of described electronic equipment from described electronic equipment;
The second selected cell, described the second mapping table that is used for receiving is set to described historical mapping table.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (22)

1. data are used control method, and the mapping that is used for logic-based address and physical address provides the memory device of access services, it is characterized in that, described data use control method to comprise:
Mutual with electronic equipment, obtain the historical mapping table of a pre-save, described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Described historical mapping table is set to the mapping table of current use, makes the described electronic equipment can be based on described historical mapping table to described the first physical storage areas accessing operation.
2. data according to claim 1 are used control method, it is characterized in that, also comprise: described mapping table is set to remove after the mapping table of current use the guard mode of described the first physical storage areas.
3. data according to claim 2 are used control method, it is characterized in that, also comprise:
After based on described historical mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Described the first physical storage areas is carried out conservation treatment, make described the first physical storage areas be in a read states.
4. according to claim 1 and 2 or 3 described data are used control method, it is characterized in that, described memory device is solid state hard disc.
5. according to claim 1 and 2 or 3 described data are used control method, it is characterized in that, mutual with electronic equipment, the historical mapping table that obtains a pre-save specifically comprises:
Receive the first instruction of indication the first mapping table from described electronic equipment;
Select described the first mapping table as described historical mapping table according to described the first instruction at least two pre-stored mapping tables from described memory device.
6. data according to claim 5 are used control method, it is characterized in that, mutual with electronic equipment, the historical mapping table that obtains a pre-save also comprises:
Send the list that records all pre-stored mapping tables of preserving in described memory device to described electronic equipment after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
7. according to claim 1 and 2 or 3 described data are used control method, it is characterized in that, the historical mapping table that obtains a pre-save specifically comprises:
The 3rd instruction from second mapping table of described electronic equipment reception pre-save in described electronic equipment;
With described the second mapping table of receiving as described historical mapping table.
8. data according to claim 2 are used control method, it is characterized in that, also comprise:
Receive the 4th instruction of indication the 3rd mapping table and new logical addresses from described electronic equipment;
Former logical address in described the first mapping table is replaced with described new logical addresses;
Preserve the 3rd mapping table after upgrading.
9. data are used control device, and the mapping that is used for logic-based address and physical address provides the memory device of access services, it is characterized in that, described data use control device to comprise:
Acquisition module for mutual with electronic equipment, obtains the historical mapping table of a pre-save, and described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Module is set, is used for the mapping table that described historical mapping table is set to current use, make the described electronic equipment can be based on described historical mapping table to described the first physical storage areas accessing operation.
10. data according to claim 9 are used control device, it is characterized in that, also comprise:
Module is removed in protection, is used for removing after mapping table that described mapping table is set to current use the guard mode of described the first physical storage areas.
11. according to claim 9 or 10 described data are used control device, it is characterized in that, also comprise:
Preserve module, after being used for based on described historical mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Protection module is used for described the first physical storage areas is carried out conservation treatment, makes described the first physical storage areas be in a read states.
12. according to claim 9 or 10 described data are used control device, it is characterized in that, described memory device is solid state hard disc.
13. according to claim 9 or 10 described data are used control device, it is characterized in that, described acquisition module specifically comprises:
The first receiving element is used for receiving from described electronic equipment the first instruction of indication the first mapping table;
The first selected cell is used for selecting described the first mapping table as described historical mapping table according to described the first instruction from least two pre-stored mapping tables of described memory device.
14. data according to claim 13 are used control device, it is characterized in that, described acquisition module also comprises:
Transmitting element, be used for sending to described electronic equipment the list that records all pre-stored mapping tables that described memory device is preserved after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
15. according to claim 9 or 10 described data are used control device, it is characterized in that, described acquisition module specifically comprises:
The second receiving element is used for receiving pre-save in the 3rd instruction of the second mapping table of described electronic equipment from described electronic equipment;
The second selected cell, described the second mapping table that is used for receiving is set to described historical mapping table.
16. according to claim 9 or 10 described data are used control device, it is characterized in that, also comprise:
Receiver module is used for receiving from described electronic equipment the 4th instruction of indication the 3rd mapping table and new logical addresses;
Replacement module is used for the former logical address of described the first mapping table is replaced with described new logical addresses;
Preserve module, be used for preserving the 3rd mapping table after upgrading.
17. a memory device, the mapping of described memory device logic-based address and physical address provides access services, it is characterized in that, described memory device comprises:
Acquisition module for mutual with electronic equipment, obtains the historical mapping table of a pre-save, and described historical mapping table has recorded the logical address of the first physical storage areas in described memory device and the mapping relations between physical address;
Module is set, is used for the mapping table that described historical mapping table is set to current use, make the described electronic equipment can be based on described historical mapping table to described the first physical storage areas accessing operation.
18. memory device according to claim 17 is characterized in that, also comprises:
Module is removed in protection, is used for removing after mapping table that described historical mapping table is set to current use the guard mode of described the first physical storage areas.
19. according to claim 17 or 18 described memory devices is characterized in that, also comprise:
Preserve module, after being used for based on described mapping table, described the first physical storage areas being carried out accessing operation at described electronic equipment, according to the indication of electronic equipment, preserve described historical mapping table regional to a separate, stored;
Protection module is used for described the first physical storage areas is carried out conservation treatment, makes described the first physical storage areas be in a read states.
20. according to claim 17 or 18 described memory devices is characterized in that, described acquisition module specifically comprises:
The first receiving element is used for receiving from described electronic equipment the first instruction of indication the first mapping table;
The first selected cell is used for selecting described the first mapping table as described historical mapping table according to described the first instruction from least two pre-stored mapping tables of described memory device.
21. memory device according to claim 20 is characterized in that, described acquisition module also comprises:
Transmitting element, be used for sending to described electronic equipment the list that records all pre-stored mapping tables that described memory device is preserved after receiving from the second instruction of described electronic equipment, make electronic equipment to select described the first mapping table based on described list.
22. according to claim 17 or 18 described memory devices is characterized in that, described acquisition module specifically comprises:
The second receiving element is used for receiving pre-save in the 3rd instruction of the second mapping table of described electronic equipment from described electronic equipment;
The second selected cell, described the second mapping table that is used for receiving is set to described historical mapping table.
CN201110364057.6A 2011-11-16 2011-11-16 data use control method, device and storage device Active CN103116553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110364057.6A CN103116553B (en) 2011-11-16 2011-11-16 data use control method, device and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110364057.6A CN103116553B (en) 2011-11-16 2011-11-16 data use control method, device and storage device

Publications (2)

Publication Number Publication Date
CN103116553A true CN103116553A (en) 2013-05-22
CN103116553B CN103116553B (en) 2017-12-26

Family

ID=48414933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110364057.6A Active CN103116553B (en) 2011-11-16 2011-11-16 data use control method, device and storage device

Country Status (1)

Country Link
CN (1) CN103116553B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182362A (en) * 2013-05-24 2014-12-03 联想(北京)有限公司 Data use control method and movable storage device
CN107797934A (en) * 2016-09-05 2018-03-13 北京忆恒创源科技有限公司 The method and storage device that distribution is ordered are gone in processing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043727A (en) * 2009-10-10 2011-05-04 成都市华为赛门铁克科技有限公司 Method and device for recovering solid-state hard disc mapping table

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043727A (en) * 2009-10-10 2011-05-04 成都市华为赛门铁克科技有限公司 Method and device for recovering solid-state hard disc mapping table

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182362A (en) * 2013-05-24 2014-12-03 联想(北京)有限公司 Data use control method and movable storage device
CN104182362B (en) * 2013-05-24 2019-07-26 联想(北京)有限公司 A kind of data use control method and movable storage device
CN107797934A (en) * 2016-09-05 2018-03-13 北京忆恒创源科技有限公司 The method and storage device that distribution is ordered are gone in processing

Also Published As

Publication number Publication date
CN103116553B (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US9767035B2 (en) Pass-through tape access in a disk storage environment
US20070214316A1 (en) RAID system and method in mobile terminal
CN102902637B (en) Solid-state hard disk data power-off protection method
CN103136116A (en) Memory storage system and central control device, management method and blackout recovery method thereof
CN103136074A (en) Data storage method and data storage system of multiple disk array systems
CN104216796A (en) Data backup and recovery method and electronic device
CN100437504C (en) Hard disc data backup system and method
CN102591790A (en) Method for implementing data storage snapshot based on solid state disk, and solid state disk
CN104281538A (en) Storage device capacity expanding and snapping method and storage devices
CN101937378B (en) Method for carrying out back-up protection on data of storage equipment and computer system
CN104572762A (en) Method and device for deleting and recovering video files
US10042570B2 (en) Tape backup and restore in a disk storage environment with intelligent data placement
US9772910B1 (en) Resource optimization for storage integrated data protection
CN102207905A (en) System recovery method, storage media controller and storage system
CN103116553A (en) Data use control method, device and storage equipment
US7600151B2 (en) RAID capacity expansion interruption recovery handling method and system
US20070043968A1 (en) Disk array rebuild disruption resumption handling method and system
CN103136487A (en) Method, device and system for managing data in hard disc hidden area
CN104765631A (en) Restoration method and device for application program of mobile terminal
CN107863127A (en) A kind of storage device memory cell selecting method and device
US8825600B2 (en) File backup apparatus and method for backing up one or more directories
CN112825098A (en) Data protection method and device, computing equipment and storage medium
CN103748568A (en) Indication of a destructive write via a notification from a disk drive that emulates blocks of a first block size within blocks of a second block size
CN105260132B (en) A kind of method and apparatus of heat load disk filter driving
CN101192174A (en) Rehabilitation processing method and system for magnetic disc array device capacity expansion interruption

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