CN103116553B - data use control method, device and storage device - Google Patents

data use control method, device and storage device Download PDF

Info

Publication number
CN103116553B
CN103116553B CN201110364057.6A CN201110364057A CN103116553B CN 103116553 B CN103116553 B CN 103116553B CN 201110364057 A CN201110364057 A CN 201110364057A CN 103116553 B CN103116553 B CN 103116553B
Authority
CN
China
Prior art keywords
mapping table
electronic equipment
history
instruction
mapping
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.)
Active
Application number
CN201110364057.6A
Other languages
Chinese (zh)
Other versions
CN103116553A (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

Landscapes

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

Abstract

The invention discloses a kind of data to use control method, device and storage device, and the mapping that the data are used for logic-based address and physical address using control method is provided in the storage device of the service of access, including:Interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table have recorded the mapping relations between the logical address of the first physical storage areas in the storage device and physical address;The mapping table is arranged to currently used mapping table so that the electronic equipment can be based on the mapping table and first physical storage area domain browsing is operated.The present invention uses for the data of digital storage equipment and provides a kind of convenient, flexible control method.

Description

Data use control method, device and storage device
Technical field
The invention belongs to electronic applications, more particularly to a kind of data use control method, device and storage device.
Background technology
There is the substantial amounts of tradition machinery storage device that is different from (such as to carry out the hard of data storage based on CD-ROM drive head at present Disk, CD etc.) digital storage equipment, such as SSD hard disks.These digital storage equipment logic-based addresses and physical address reflect Offer is provided and accesses service, it provides logical address to external electronic device and conducted interviews, and internally passes through logical address and thing Logical address and physical address translations are realized in the mapping for managing address, then provide the actual data access clothes in physical address Business.
But prior art does not use a kind of convenient, flexible control of offer for the data of this digital storage equipment Method processed.
The content of the invention
The purpose of the embodiment of the present invention is that providing a kind of data uses control method, device and storage device, for numeral The data of storage device use a kind of convenient, flexible control method of offer.
To achieve these goals, the embodiments of the invention provide a kind of data to use control method, for logic-based The mapping of address and physical address is provided in the storage device of the service of access, and the data are included using control method:
Interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table have recorded described deposit Store up the mapping relations between the logical address of the first physical storage areas in equipment and physical address;
The mapping table is arranged to currently used mapping table so that the electronic equipment can be based on the mapping table First physical storage area domain browsing is operated.
Above-mentioned data use control method, wherein, in addition to:The mapping table is arranged to currently used mapping table The guard mode of first physical storage areas is released afterwards.
Above-mentioned data use control method, wherein, in addition to:
After the electronic equipment is based on the mapping table to first physical storage areas execution access operation, foundation The instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection processing is carried out to first physical storage areas so that first physical storage areas is in read-only shape State.
Above-mentioned data use control method, wherein, the storage device is solid state hard disc.
Above-mentioned data use control method, wherein, interacted with electronic equipment, obtain a history mapping table pre-saved Specifically include:
The first instruction of the first mapping table of instruction is received from the electronic equipment;
At least two mapping tables selection described first prestored according to the described first instruction from the storage device Mapping table is as the history mapping table.
Above-mentioned data use control method, wherein, interacted with electronic equipment, obtain a history mapping table pre-saved Also include:
In the storage device is sent to the electronic equipment after receiving the from the electronic equipment second instruction The record of preservation has the list of all mapping tables prestored so that electronic equipment can be based on list selection described the One mapping table.
Above-mentioned data use control method, wherein, obtain a history mapping table pre-saved and specifically include:
The 3rd instruction for pre-saving the second mapping table in the electronic equipment is received from the electronic equipment;
Using second mapping table received as the history mapping table.
Above-mentioned data use control method, wherein, in addition to:
The 4th instruction of the 3rd mapping table of instruction and new logical addresses is received from the electronic equipment;
Former logical address in first mapping table is replaced with into the new logical addresses;
Preserve the 3rd mapping table after renewal.
In order to preferably realize above-mentioned purpose, the embodiment of the present invention additionally provides a kind of data and uses control device, is used for The mapping of logic-based address and physical address is provided in the storage device of the service of access, and the data use control device bag Include:
Acquisition module, for being interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table It has recorded the mapping relations between the logical address of the first physical storage areas in the storage device and physical address;
Setup module, for the mapping table to be arranged into currently used mapping table so that the electronic equipment can First physical storage area domain browsing is operated based on the mapping table.
Above-mentioned data use control device, wherein, in addition to:Protection releases module, for the mapping table to be set To release the guard mode of first physical storage areas after currently used mapping table.
Above-mentioned data use control device, wherein, in addition to:
Preserving module, for performing visit to first physical storage areas based on the mapping table in the electronic equipment After asking operation, according to the instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection module, for carrying out protection processing to first physical storage areas so that first physical store Region is in read-only status.
Above-mentioned data use control device, wherein, the storage device is solid state hard disc.
Above-mentioned data use control device, wherein, the acquisition module specifically includes:
First receiving unit, for receiving the first instruction of the first mapping table of instruction from the electronic equipment;
First choice unit, at least two for being prestored according to the described first instruction from the storage device reflect Firing table selects first mapping table as the history mapping table.
Above-mentioned data use control device, wherein, the acquisition module also includes:
Transmitting element, for sending institute to the electronic equipment after the from the electronic equipment second instruction is received Stating the record preserved in storage device has the list of all mapping tables prestored so that electronic equipment can be based on the row Table selects first mapping table.
Above-mentioned data use control device, wherein, the acquisition module specifically includes:
Second receiving unit, for receiving the second mapping pre-saved in the electronic equipment from the electronic equipment 3rd instruction of table;
Second selecting unit, for second mapping table received to be arranged into the history mapping table.
Above-mentioned data use control device, wherein, in addition to:
Receiving module, for receiving the 4th instruction of the 3rd mapping table of instruction and new logical addresses from the electronic equipment;
Replacement module, for the former logical address in first mapping table to be replaced with into the new logical addresses;
Preserving module, for preserving the 3rd mapping table after updating.
In order to preferably realize above-mentioned purpose, the embodiment of the present invention additionally provides a kind of storage device, the storage device The mapping of logic-based address and physical address provides the service of access, and the storage device includes:
Acquisition module, for being interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table It has recorded the mapping relations between the logical address of the first physical storage areas in the storage device and physical address;
Setup module, for the mapping table to be arranged into currently used mapping table so that the electronic equipment can First physical storage area domain browsing is operated based on the mapping table.
Above-mentioned storage device, wherein, in addition to:
Protection releases module, for being arranged to the mapping table to release first thing after currently used mapping table Manage the guard mode of storage region.
Above-mentioned storage device, wherein, in addition to:
Preserving module, for performing visit to first physical storage areas based on the mapping table in the electronic equipment After asking operation, according to the instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection module, for carrying out protection processing to first physical storage areas so that first physical store Region is in read-only status.
Above-mentioned storage device, wherein, the acquisition module specifically includes:
First receiving unit, for receiving the first instruction of the first mapping table of instruction from the electronic equipment;
First choice unit, at least two for being prestored according to the described first instruction from the storage device reflect Firing table selects first mapping table as the history mapping table.
Above-mentioned storage device, wherein, the acquisition module also includes:
Transmitting element, for sending institute to the electronic equipment after the from the electronic equipment second instruction is received Stating the record preserved in storage device has the list of all mapping tables prestored so that electronic equipment can be based on the row Table selects first mapping table.
Above-mentioned storage device, wherein, the acquisition module specifically includes:
Second receiving unit, for receiving the second mapping pre-saved in the electronic equipment from the electronic equipment 3rd instruction of table;
Second selecting unit, for second mapping table received to be arranged into the history mapping table.
The embodiment of the present invention has following effective effect:
In the specific embodiment of the invention, storage device interacts with electronic equipment, one advance to select to be indicated according to user The mapping table of preservation, the mapping table is then arranged to currently used mapping table, and the physical store of unmapped token record The guard mode in region, hereafter, electronic equipment can be just realized based on the mapping table to the physical storage areas of mapping table record Access operation so that user can be easily accessed the previously saved data got off.
Brief description of the 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 using a kind of concrete application of the method for the 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, pass through the control to current mapping table System so that user can be easily accessed the previously saved data got off, and providing the user convenient, flexible data makes With control.
The data of the embodiment of the present invention use control method, and the mapping for logic-based address and physical address provides visit In the storage device for asking service, as shown in figure 1, the data are included using control method:
Step 11, interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table have recorded Mapping relations between the logical address and physical address of the first physical storage areas in the storage device;
Step 12, the history mapping table is arranged to currently used mapping table so that the electronic equipment being capable of base First physical storage area domain browsing is operated in the history mapping table.
In the specific embodiment of the invention, storage device interacts with electronic equipment, one advance to select to be indicated according to user The mapping table of preservation, the mapping table is then arranged to currently used mapping table, hereafter, electronic equipment just can be based on the mapping Table realizes that the access of the physical storage areas to mapping table record operates so that user can enter to the previously saved data got off Accommodating access.
It should be appreciated that the electronic equipment in the embodiment of the present invention is all can be set using above-mentioned stored digital Standby equipment, such as computer, mobile phone, PDA.
In a particular embodiment of the present invention, before the mapping table that mapping table is arranged to currently used, in order to mapping Data in physical storage areas corresponding to table are protected, it should set a guard mode, described protection shape for the region State can be that physical storage areas is readable not writeable or physical storage areas can not be read and write.
After the mapping table that the mapping table is arranged to currently used, the physics can be deposited according to different scenes The guard mode in storage area domain releases, and can not also release.
It is illustrated below for the scene for not releasing guard mode.
It is assumed that being mounted with a system of windows 7 on a SSD hard disk, start shooting each time, can all generate one and reflect Firing table.
So in currently used system, it is possible to by some one in former all history mapping tables Divide and be mapped in the small space specified, such user's can is by this small space, one just as a small tubes One section of section sees that user starts shooting data cases corresponding to each mapping table of preservation each time in the past, and also can browses more The historical upheaval (having portion in each history mapping table) for the file corrected one's mistakes.
When the method for the embodiment of the present invention is applied to above-mentioned scene, it is not necessary to release physical store corresponding to above-mentioned mapping table The guard mode in space, reason be if by one section be mapped into come, release this mapping before, system power failure, Ran Houge The data for that snapshot for causing to be partly mapped, then be destroyed by the current mapping status of this hard disk of formulaization.
From another perspective, in above-mentioned scene, if identical physical region is shared between multiple mapping tables, and History mapping table may share identical physical region with current mapping table, so once a physical region is preserved by some The mapping table reference to get up, then this physical region can only just read, it is impossible to write, that is, be unable to de-preservation state.
But in the specific embodiment of the invention, after the mapping table that the mapping table is arranged to currently used, also may be used So that the guard mode of the physical storage areas to be released, will be made below describing in detail.
The method of the embodiment of the present invention can apply to many aspects, be exemplified below respectively.
<Multiple operating system selects>
It is assumed that user is mounted with an operating system A1 in the very first time, corresponding to physical storage areas B1, make in user During with operating system A1, the B1 regions of storage device are conducted interviews using the first mapping table.
It is assumed that user is mounted with an operating system A2 in the second time, corresponding to physical storage areas B2, make in user During with operating system A2, the B2 regions of storage device are conducted interviews using the second mapping table.
When certain is once started shooting, it is assumed that now user wants to use operating system A1, and now the first mapping table, which is stored in, deposits Store up a separate storage region of equipment or be stored in other storage devices of electronic equipment, user's can passes through electronics Equipment instruction storage device needs to use the first mapping table (specifically how indicating subsequently to be described in detail), and stores and set It is standby that first mapping table is arranged to by currently used mapping table based on the instruction, and by physical storage areas B1 guard mode solution Remove, now electronic equipment can be conducted interviews operation based on the first mapping table to physical storage areas B1, realize multiple operating system Selection.
<The protection of sensitive data>
It is assumed that user generates a customer information record sheet, physical storage areas B3 is stored in, but for the record sheet User is not desired to be read by others at any time, and now user can generate the 3rd mapping table, records B3 and logical address Mapping relations, then the mapping table is saved, and it (can be nothing to set physical storage areas B3 to be in guard mode Method read and write or it is read-only, but should be arranged to read and write in this example).
When user wants to use the customer information record sheet some day, then storage device can be indicated by electronic equipment Need to use the 3rd mapping table (specifically how indicating subsequently to be described in detail), and storage device is based on the instruction by the The mapping table that three mapping tables are arranged to currently used (in this case, also has other mapping tables to be also at currently used shape State), and physical storage areas B3 guard mode is released, now electronic equipment can be based on the 3rd mapping table to physical store Region B3 conducts interviews operation, realizes the reading of customer information record sheet.
<The Backup and Restore of system>
It is assumed that user uses physical storage areas B4 under the present circumstances, if user wants the current system of backup, The 4th mapping table can be generated, the mapping relations of B4 and logical address is recorded, then saves the mapping table, and set Putting physical storage areas B4 and being in guard mode (can not read and write or read-only, but in this example should It is arranged to read and write) backed off after random.
During the state preserved before user wants to return to, then storage device can be indicated, make storage device by the 4th Mapping table is arranged to currently used mapping table, physical storage areas B4 then is cancelled into guard mode, then electronic equipment Physical storage areas B4 is conducted interviews operation based on the 4th mapping table, realize that system is recovered.
Certainly, it is only two application scenarios above for example, the method for the embodiment of the present invention can be also used for counting According to other scenes such as rollback, its specific implementation process is not described in detail herein.
In a particular embodiment of the present invention, the storage device is digital storage equipment, such as SSD hard disks.These numerals The mapping of storage device logic-based address and physical address provides the service of access, and digital storage equipment carries to external electronic device Conducted interviews for logical address, and logical address and physics are internally realized by the mapping table of logical address and physical address Address conversion, then provide the actual data access service in physical address.
Mention, under many scenes, finished if user accesses the first physical storage areas using electronic equipment before Afterwards, in order to be protected to data, also for can also use next time, the data of the embodiment of the present invention use controlling party Method, in addition to:
After the electronic equipment is based on the mapping table to first physical storage areas execution access operation, foundation The instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection processing is carried out to first physical storage areas so that first physical storage areas is in read-only shape State.
After having handled, first physical storage areas is at guard mode, can only read, or can not read and write, and under When once needing to use, it is only necessary to be re-set as the mapping table for being saved in separate storage region currently used, and cancel The guard mode of first physical storage areas, then it can continue to conduct interviews to the first physical storage areas.
In a particular embodiment of the present invention, the history mapping table that storage device pre-saves firstly the need of acquisition, and have How body, which obtains, to realize in several ways, be described as follows.
<Implementation one>
In implementation one, mapping table is stored in the storage device, under this mode, is interacted with electronic equipment, A history mapping table pre-saved is obtained to specifically include:
The first instruction of the first mapping table of instruction is received from the electronic equipment;
At least two mapping tables selection described first prestored according to the described first instruction from the storage device Mapping table is as the history mapping table.
It is described as follows.
It is assumed that 3 mapping tables, respectively mapping table 1, mapping table 2 and mapping table 3 have been pre-saved in storage device, this When, if user has been known a priori by this 3 mapping tables, think directly to use mapping table 2, then can directly by electronic equipment to Storage device sends the first instruction, and wherein first instruction includes the ID of mapping table 2.
After storage device receives first instruction, the ID that first instruction can obtain mapping table 2 is parsed, it is possible to from Choose for user table 2 is used as history mapping table in mapping table 1, mapping table 2 and mapping table 3, then carries out subsequent treatment.
<Implementation two>
Implementation two is that mapping table is stored in the storage device with the identical of implementation one, with electronic equipment Interaction, obtain a history mapping table pre-saved and specifically include:
In the storage device is sent to the electronic equipment after receiving the from the electronic equipment second instruction The record of preservation has the list of all mapping tables prestored so that electronic equipment can be based on list selection described the One mapping table;
The first instruction of the first mapping table of instruction is received from the electronic equipment;
At least two mapping tables selection described first prestored according to the described first instruction from the storage device Mapping table is as the history mapping table.
It is described as follows.
It is assumed that 3 mapping tables, respectively mapping table 1, mapping table 2 and mapping table 3 are pre-saved in storage device.
When user needs selection, the second instruction is sent to storage device by the electronic equipment, indicates storage device Inform mapping table situation;
After storage device receives second instruction, that is, search the mapping table of itself preservation, i.e. mapping table 1, the He of mapping table 2 Mapping table 3, the record preserved in the storage device is then sent to the electronic equipment all mapping tables prestored List;
After electronic equipment receives list, the list is presented to user.
Mapping table list Choose for user table 2 of the user based on the presentation, then send the to storage device by electronic equipment One instruction, wherein first instruction include the ID of mapping table 2.
After storage device receives first instruction, the ID that first instruction can obtain mapping table 2 is parsed, it is possible to from Choose for user table 2 is used as history mapping table in mapping table 1, mapping table 2 and mapping table 3, then carries out subsequent treatment.
<Implementation three>
In above-mentioned implementation one and two, the mapping table is all stored in storage device, but the mapping table can also be protected Electronic equipment end is stored in, in this case, a history mapping table pre-saved is obtained and specifically includes:
The 3rd instruction for pre-saving the second mapping table in the electronic equipment is received from the electronic equipment;
Using second mapping table received as the history mapping table.
Under this mode, the mapping table needed to use is directly sent to by storage device by electronic equipment, and storage device After receiving the mapping table, directly preserve and be set to currently used mapping table.
Certainly, the operation such as can also modify to the mapping table in the embodiment of the present invention, delete, by taking modification as an example, this The data of inventive embodiments use control method, in addition to:
The 4th instruction of the 3rd mapping table of instruction and new logical addresses is received from the electronic equipment;
Former logical address in first mapping table is replaced with into the new logical addresses;
Preserve the 3rd mapping table after renewal.
And for deletion, not only need to delete mapping table, it is also necessary to by physical storage area corresponding to the mapping table Domain de-preservation state.
As shown in Fig. 2 to implement flow chart using the method for embodiment of the present invention one kind, including:
Step 21, mapping table list is presented to user in electronic equipment;
Step 22, electronic equipment selects to generate the ID for the mapping table for including user's selection instruction according to user;
Step 23, storage device receives mapping table corresponding to the ID selections of the mapping table selected after instruction according to user, and The mapping table of selection is arranged to currently used mapping table;
Step 24, physical storage areas is performed based on currently used mapping table in the electronic equipment and accesses operation Afterwards, the instruction according to electronic equipment, preserves the history mapping table to a separate storage region, and to first physical store Region carries out protection processing so that first physical storage areas is in read-only status.
After this, user is also an option that this is saved in the mapping table of separate storage region and recovered to realize.
The embodiment of the present invention additionally provides a kind of data and uses control device, for logic-based address and physical address Mapping is provided in the storage device of the service of access, as shown in figure 3, the data are included using control device:
Acquisition module, for being interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table It has recorded the mapping relations between the logical address of the first physical storage areas in the storage device and physical address;
Setup module, for the mapping table to be arranged into currently used mapping table so that the electronic equipment can First physical storage area domain browsing is operated based on the mapping table.
In a particular embodiment of the present invention, before the mapping table that mapping table is arranged to currently used, in order to mapping Data in physical storage areas corresponding to table are protected, it should set a guard mode, described protection shape for the region State can be that physical storage areas is readable not writeable or physical storage areas can not be read and write.
After the mapping table that the mapping table is arranged to currently used, the physics can be deposited according to different scenes The guard mode in storage area domain releases, and can not also release.
In the case where needing to release, the data of the embodiment of the present invention are also included using control device:
Protection releases module, for being arranged to the mapping table to release first thing after currently used mapping table Manage the guard mode of storage region.
After use finishes, the embodiment of the present invention can also preserve mapping table, and to corresponding physical storage areas Protected, in order to which follow-up recovery again uses, in this case, the data of the embodiment of the present invention use control device Also include:
Preserving module, for performing visit to first physical storage areas based on the mapping table in the electronic equipment After asking operation, according to the instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection module, for carrying out protection processing to first physical storage areas so that first physical store Region is in read-only status.
The data of the embodiment of the present invention can be used for various digital storage equipments using control device, and especially solid-state is hard Disk.
In the specific embodiment of the invention, data obtain history mapping table using control device can in several ways, such as:
When mapping table is stored in storage device, the acquisition module specifically includes:
First receiving unit, for receiving the first instruction of the first mapping table of instruction from the electronic equipment;
First choice unit, at least two for being prestored according to the described first instruction from the storage device reflect Firing table selects first mapping table as the history mapping table.
Certainly, the acquisition module can also include:
Transmitting element, for sending institute to the electronic equipment after the from the electronic equipment second instruction is received Stating the record preserved in storage device has the list of all mapping tables prestored so that electronic equipment can be based on the row Table selects first mapping table.
In this case, acquisition module first sends mapping table list and selected for user, then selects to determine further according to user Mapping table.
Certainly, mapping table can also be stored in electronic equipment, and in this case, the acquisition module specifically includes:
Second receiving unit, for receiving the second mapping pre-saved in the electronic equipment from the electronic equipment 3rd instruction of table;
Second selecting unit, for second mapping table received to be arranged into the history mapping table.
When the data of the embodiment of the present invention need to support the modification of mapping table using control device, then also need to include:
Receiving module, for receiving the 4th instruction of the 3rd mapping table of instruction and new logical addresses from the electronic equipment;
Replacement module, for the former logical address in first mapping table to be replaced with into the new logical addresses;
Preserving module, for preserving the 3rd mapping table after updating.
The embodiment of the present invention additionally provides a kind of storage device simultaneously, the storage device logic-based address and physically The mapping of location provides the service of access, and the storage device includes:
Acquisition module, for being interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table It has recorded the mapping relations between the logical address of the first physical storage areas in the storage device and physical address;
Setup module, for the mapping table to be arranged into currently used mapping table so that the electronic equipment can First physical storage area domain browsing is operated based on the mapping table.
In a particular embodiment of the present invention, before the mapping table that mapping table is arranged to currently used, in order to mapping Data in physical storage areas corresponding to table are protected, it should set a guard mode, described protection shape for the region State can be that physical storage areas is readable not writeable or physical storage areas can not be read and write.
After the mapping table that the mapping table is arranged to currently used, the physics can be deposited according to different scenes The guard mode in storage area domain releases, and can not also release.
In the case where needing to release, the storage device of the embodiment of the present invention also includes:
Protection releases module, for being arranged to the mapping table to release first thing after currently used mapping table Manage the guard mode of storage region.
Above-mentioned storage device, in addition to:
Preserving module, for performing visit to first physical storage areas based on the mapping table in the electronic equipment After asking operation, according to the instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection module, for carrying out protection processing to first physical storage areas so that first physical store Region is in read-only status.
Above-mentioned storage device, the acquisition module specifically include:
First receiving unit, for receiving the first instruction of the first mapping table of instruction from the electronic equipment;
First choice unit, at least two for being prestored according to the described first instruction from the storage device reflect Firing table selects first mapping table as the history mapping table.
Above-mentioned storage device, the acquisition module also include:
Transmitting element, for sending institute to the electronic equipment after the from the electronic equipment second instruction is received Stating the record preserved in storage device has the list of all mapping tables prestored so that electronic equipment can be based on the row Table selects first mapping table.
Above-mentioned storage device, the acquisition module specifically include:
Second receiving unit, for receiving the second mapping pre-saved in the electronic equipment from the electronic equipment 3rd instruction of table;
Second selecting unit, for second mapping table received to be arranged into the history mapping table.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection with principle.

Claims (22)

1. a kind of data use control method, the mapping for logic-based address and physical address provides the storage of the service of access In equipment, it is characterised in that the data are included using control method:
Interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table have recorded the storage and set Mapping relations between the logical address and physical address of the first physical storage areas in standby, the history mapping table is described At least two mapping tables that are prestored in storage device pre-save the mapping table in the electronic equipment;Wherein, institute Stating the history mapping table that acquisition one pre-saves includes:One mapping table pre-saved is selected according to user's instruction, then will The mapping table is arranged to currently used mapping table;
The history mapping table is arranged to currently used mapping table so that the electronic equipment can be reflected based on the history Firing table operates to first physical storage area domain browsing.
2. data according to claim 1 use control method, it is characterised in that also include:The mapping table is set To release the guard mode of first physical storage areas after currently used mapping table.
3. data according to claim 2 use control method, it is characterised in that also include:
After the electronic equipment is based on the history mapping table to first physical storage areas execution access operation, foundation The instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection processing is carried out to first physical storage areas so that first physical storage areas is in read-only status.
4. the data according to claim 1 or 2 or 3 use control method, it is characterised in that the storage device is solid-state Hard disk.
5. the data according to claim 1 or 2 or 3 use control method, it is characterised in that interact, obtain with electronic equipment A history mapping table pre-saved is taken to specifically include:
The first instruction of the first mapping table of instruction is received from the electronic equipment;
At least two mapping tables selection, first mapping prestored according to the described first instruction from the storage device Table is as the history mapping table.
6. data according to claim 5 use control method, it is characterised in that are interacted with electronic equipment, it is pre- to obtain one The history mapping table first preserved also includes:
Preserved in the storage device is sent to the electronic equipment after receiving the from the electronic equipment second instruction Record have the lists of all mapping tables prestored so that electronic equipment can be based on list selection described first and reflect Firing table.
7. the data according to claim 1 or 2 or 3 use control method, it is characterised in that what acquisition one pre-saved goes through History mapping table specifically includes:
The 3rd instruction for pre-saving the second mapping table in the electronic equipment is received from the electronic equipment;
Using second mapping table received as the history mapping table.
8. data according to claim 2 use control method, it is characterised in that also include:
The 4th instruction of the 3rd mapping table of instruction and new logical addresses is received from the electronic equipment;
Former logical address in first mapping table is replaced with into the new logical addresses;
Preserve the 3rd mapping table after renewal.
9. a kind of data use control device, the mapping for logic-based address and physical address provides the storage of the service of access In equipment, it is characterised in that the data are included using control device:
Acquisition module, for being interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table record Mapping relations between the logical address and physical address of the first physical storage areas in the storage device, the history Mapping table is at least two mapping tables prestored in the storage device or pre-saves reflecting in the electronic equipment Firing table;Wherein, the history mapping table pre-saved that obtains includes:According to user's instruction come select one pre-save reflect Firing table, the mapping table is then arranged to currently used mapping table;
Setup module, for the history mapping table to be arranged into currently used mapping table,
The electronic equipment to be based on the history mapping table to operate first physical storage area domain browsing.
10. data according to claim 9 use control device, it is characterised in that also include:
Protection releases module, is deposited for the mapping table to be arranged to release first physics after currently used mapping table The guard mode in storage area domain.
11. the data according to claim 9 or 10 use control device, it is characterised in that also include:
Preserving module, for performing visit to first physical storage areas based on the history mapping table in the electronic equipment After asking operation, according to the instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection module, for carrying out protection processing to first physical storage areas so that first physical storage areas In read-only status.
12. the data according to claim 9 or 10 use control device, it is characterised in that the storage device is solid-state Hard disk.
13. the data according to claim 9 or 10 use control device, it is characterised in that the acquisition module specifically wraps Include:
First receiving unit, for receiving the first instruction of the first mapping table of instruction from the electronic equipment;
First choice unit, at least two mapping tables prestored according to the described first instruction from the storage device First mapping table is selected as the history mapping table.
14. data according to claim 13 use control device, it is characterised in that the acquisition module also includes:
Transmitting element, for being deposited after the from the electronic equipment second instruction is received to described in electronic equipment transmission The record preserved in storage equipment has the list of all mapping tables prestored so that electronic equipment can be based on the list and select Select first mapping table.
15. the data according to claim 9 or 10 use control device, it is characterised in that the acquisition module specifically wraps Include:
Second receiving unit, for pre-saving the second mapping table in the electronic equipment from electronic equipment reception 3rd instruction;
Second selecting unit, for second mapping table received to be arranged into the history mapping table.
16. the data according to claim 9 or 10 use control device, it is characterised in that also include:
Receiving module, for receiving the 4th instruction of the 3rd mapping table of instruction and new logical addresses from the electronic equipment;
Replacement module, for the former logical address in the first mapping table to be replaced with into the new logical addresses;
Preserving module, for preserving the 3rd mapping table after updating.
17. a kind of storage device, the mapping of the storage device logic-based address and physical address provides the service of access, and it is special Sign is that the storage device includes:
Acquisition module, for being interacted with electronic equipment, obtain a history mapping table pre-saved, the history mapping table record Mapping relations between the logical address and physical address of the first physical storage areas in the storage device, the history Mapping table is at least two mapping tables prestored in the storage device or pre-saves reflecting in the electronic equipment Firing table;Wherein, the history mapping table pre-saved that obtains includes:According to user's instruction come select one pre-save reflect Firing table, the mapping table is then arranged to currently used mapping table;
Setup module, for the history mapping table to be arranged into currently used mapping table so that the electronic equipment can First physical storage area domain browsing is operated based on the history mapping table.
18. storage device according to claim 17, it is characterised in that also include:
Protection releases module, for being arranged to the history mapping table to release first thing after currently used mapping table Manage the guard mode of storage region.
19. the storage device according to claim 17 or 18, it is characterised in that also include:
Preserving module, access behaviour is performed to first physical storage areas for being based on the mapping table in the electronic equipment After work, according to the instruction of electronic equipment, the history mapping table is preserved to a separate storage region;
Protection module, for carrying out protection processing to first physical storage areas so that first physical storage areas In read-only status.
20. the storage device according to claim 17 or 18, it is characterised in that the acquisition module specifically includes:
First receiving unit, for receiving the first instruction of the first mapping table of instruction from the electronic equipment;
First choice unit, at least two mapping tables prestored according to the described first instruction from the storage device First mapping table is selected as the history mapping table.
21. storage device according to claim 20, it is characterised in that the acquisition module also includes:
Transmitting element, for being deposited after the from the electronic equipment second instruction is received to described in electronic equipment transmission The record preserved in storage equipment has the list of all mapping tables prestored so that electronic equipment can be based on the list and select Select first mapping table.
22. the storage device according to claim 17 or 18, it is characterised in that the acquisition module specifically includes:
Second receiving unit, for pre-saving the second mapping table in the electronic equipment from electronic equipment reception 3rd instruction;
Second selecting unit, for second mapping table received to be arranged into the history 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 CN103116553A (en) 2013-05-22
CN103116553B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182362B (en) * 2013-05-24 2019-07-26 联想(北京)有限公司 A kind of data use control method and movable storage device
CN107797934B (en) * 2016-09-05 2022-07-22 北京忆恒创源科技股份有限公司 Method for processing de-allocation command and storage device

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

Also Published As

Publication number Publication date
CN103116553A (en) 2013-05-22

Similar Documents

Publication Publication Date Title
CN105027070B (en) Roll up the security of operation
JP5756394B2 (en) Computer program, system, and method for restoring a restore set of files from backup objects stored in a sequential backup device
US20050182796A1 (en) Method and system for protecting data associated with a replaced image file during a re-provisioning event
JP6381570B2 (en) A program for restoring data objects from a backup device
EP2713275A1 (en) Virtual tape library device and data restoration method
CN106569742A (en) Storage management method and storage equipment
EP2711841A1 (en) Data processing method, device and system based on block storage
CN104020961A (en) Distributed data storage method, device and system
CN108536392B (en) Mixed data searching method
US20190050164A1 (en) System, method , and computer program product for securely delivering content between storage mediums
US20160196072A1 (en) Random read performance of optical media library
US8745331B2 (en) Technique for improving replication persistance in a caching applicance structure
CN104572762B (en) The method and apparatus for deleting and restoring video file
CN101149693A (en) Computer hard disk data continuous time point storage and recovery method
JP5956971B2 (en) WORM cartridge support realized by LTFS (LinearTapeFileSystem)
CN103116553B (en) data use control method, device and storage device
CN104050014A (en) Efficient storage management method based on virtualization platform
US8271717B2 (en) Computing machine with virtual machine monitor
CN104581403A (en) Method and device for sharing video content
CN104298469B (en) Storage device configurations device and storage device configurations method
CN102063473A (en) Method for expanding storage space on line
US20080028163A1 (en) Method and apparatus for repurposing compute resources to implement, or not implement, storage access protocols
US20140215209A1 (en) Enterprise distributed free space file system
JP5972455B2 (en) How to delete information
JP2015141446A (en) Information processing device, index creation control method and index creation control program

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