CN102945208B - Multiuser hard disk system and its implementation - Google Patents

Multiuser hard disk system and its implementation Download PDF

Info

Publication number
CN102945208B
CN102945208B CN201210411887.4A CN201210411887A CN102945208B CN 102945208 B CN102945208 B CN 102945208B CN 201210411887 A CN201210411887 A CN 201210411887A CN 102945208 B CN102945208 B CN 102945208B
Authority
CN
China
Prior art keywords
account
hard disk
mapping table
multiuser
system account
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.)
Expired - Fee Related
Application number
CN201210411887.4A
Other languages
Chinese (zh)
Other versions
CN102945208A (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.)
Ramaxel Technology Shenzhen Co Ltd
Original Assignee
Ramaxel Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ramaxel Technology Shenzhen Co Ltd filed Critical Ramaxel Technology Shenzhen Co Ltd
Priority to CN201210411887.4A priority Critical patent/CN102945208B/en
Publication of CN102945208A publication Critical patent/CN102945208A/en
Application granted granted Critical
Publication of CN102945208B publication Critical patent/CN102945208B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention is applicable to field of computer technology, it is provided that the implementation method of a kind of multiuser hard disk system, and described method includes: after described hard disk initialization, and the mapping table of the logical address preserved in described hard disk to physical address is carried out classification process by hard disk firmware;Mapping table described in each class is respectively distributed a different account identification, the corresponding different system account of described each class mapping table.The present invention also correspondingly provides a kind of multiuser hard disk system realizing said method.Whereby, the present invention can not rely on specific operating system, and it is empty quasi-independent for setting up the data between different system account, and different accounts, it is ensured that the privacy of each account data.

Description

Multiuser hard disk system and its implementation
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of multiuser hard disk system and its implementation.
Background technology
Along with the raising of the penetration of computer use, it is extremely important that information security also becomes.Existing computer system, When multi-user uses, different accounts can be set up.Implement and generally have following two mode: 1) logical Crossing operating system, be managed users multiple in system, it is right typically to be realized by control file access authority The management of different user data;2) hard disk carried out point according to methods such as ATA agreement and file system rule District, different system is installed on different subregion, utilizes the Bootloader visible hard disk to different operating system Space is managed.Both the above many accounts hard disk data management system has following defects that existing scheme is real It is the management carried out under same address mapping table on border, so different account datas simply cannot be had The isolation of effect, the processing ease of user influences each other, and for the management of different account datas, depends on behaviour Making system, the impact that account data is managed by the characteristic of operating system itself is big.
In summary, existing computer Multi-user management system, there will naturally be in actual use inconvenience with Defect, it is therefore necessary to improved.
Summary of the invention
For above-mentioned defect, it is an object of the invention to provide a kind of multiuser hard disk system and realization side thereof Method, it can realize point account management of hard disk easily, and guarantee the safety of each account.
To achieve these goals, the present invention provides the implementation method of a kind of multiuser hard disk system, described side Method includes:
After described hard disk initialization, the mapping table of the logical address preserved in described hard disk to physical address is entered Row classification processes;
Mapping table described in each class is respectively distributed a different account identification, described each class mapping table correspondence one Different system account.
The implementation method of the multiuser hard disk system according to the present invention, described method also includes:
Receive and perform the select command of described system account, load address corresponding to described system account and map Table.
The implementation method of the multiuser hard disk system according to the present invention, described method also includes:
Receive and perform the switching command of described system account, by mapping table switching corresponding for current system account To the mapping table that another system account is corresponding.
The implementation method of the multiuser hard disk system according to the present invention, described method also includes: by different be System account encryption is arranged.
The implementation method of the multiuser hard disk system according to the present invention, described method also includes: system start-up is transported After row, update and preserve the mapping table that current system account is corresponding.
The present invention also correspondingly provides a kind of multiuser hard disk system, including:
Sort module, after described hard disk initialization, by the logical address of preservation in described hard disk to physics The mapping table of address carries out classification process;
Mark arranges module, for respectively distributing a different account identification by mapping table described in each class, described The corresponding different system account of each class mapping table.
According to the multiuser hard disk system of the present invention, described system also includes:
First command execution module, for receiving and perform the select command of described system account, loads described The address mapping table that system account is corresponding.
According to the multiuser hard disk system of the present invention, described system also includes:
Second command execution module, for receiving and perform the switching command of described system account, will be currently System mapping table corresponding to account switches to the mapping table that another system account is corresponding.
According to the multiuser hard disk system of the present invention, described system also includes encrypting module, for by different System account encryption is arranged.
According to the multiuser hard disk system of the present invention, described system also includes more new module, for described system After startup optimization, update and preserve the mapping table that current system account is corresponding.
The present invention is by after hard disk initialization, and the mapping table in hard disk is classified by hard disk firmware, and right The account identification that the distribution of each class is different, the corresponding system account of each class mapping table, hard disk firmware distinguishes account Family loads different address mapping tables, so that each account exists according to different accounts after managing mapping table, and start Can only get the data of oneself in computer system, the physical address of other account datas is invisible to it, Will not be read and write, guaranteed data security whereby.
Accompanying drawing explanation
Fig. 1 is the structural representation of the multiuser hard disk system of one embodiment of the invention;
Fig. 2 is the structural representation of the multiuser hard disk system of another embodiment of the present invention;
Fig. 3 is the implementation method flow chart of the multiuser hard disk system of one embodiment of the invention;
Fig. 4 is the flow chart of the concrete application of the multiuser hard disk system of one embodiment of the invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
Seeing Fig. 1, the present invention provides a kind of multiuser hard disk system 100, and it is hard that this system 100 is preferably solid-state Disc system, it includes that sort module 10 and mark arrange module 20, and sort module 10 and mark arrange mould Block 20 belongs to the firmware of hard disk, concrete:
Sort module 10 is after hard disk initialization, by the mapping of the logical address that preserves in hard disk to physical address Table carries out classification process.It is said that in general, hard-disk system 100 receives external command, data are operated, number According to access be the physical address that by mapping table, the logical address of access is corresponded to hard disk, then could visit Ask and operate the data of correspondence.When, after hard disk initialization, the address in hard disk can be mapped by sort module 10 Table carries out classification process, concrete, such as the mapping table of logical address 1110~1210 correspondence is divided into first Class, the mapping table of logical address 1211~1311 correspondence is divided into Equations of The Second Kind, by that analogy.Need explanation, Logical address for of a sort mapping table needs not to be continuous print, and it can be compartment.The most permissible Be logical address be the mapping table of odd number be the first kind, logical address be even number be divided into Equations of The Second Kind etc., it is possible to To be other irregular setting.
Mark arranges module 20, for respectively distributing a different account identification, institute by mapping table described in each class State the corresponding different system account of each class mapping table.Concrete, each system account correspondence inhomogeneity Address mapping table, hard-disk system 100 can distinguish different system account, whereby side according to account identification Just multiple system account is set up.When system 100 starts, load correspondence according to the different system account selected Mapping table.
In conjunction with Fig. 2, hard-disk system 100 also includes that the first command execution module 30, second is ordered and performs mould Block 40, encrypting module 50 and more new module 60.When system 100 starts, user can carry according to system Showing the corresponding system account of selection, the first command execution module 30 receives and performs the select command of system account, And the address mapping table that the system account that loads selection is corresponding.When user needs switched system account, permissible According to system suggestion reselecting the system account needing to perform, the second command execution module 40 receives and performs The switching command of described system account, switches to another system account by mapping table corresponding for current system account Corresponding mapping table.Preferably, each system account can be encrypted setting by encrypting module 50, makes Other user can not at will enter other system account, ensures the privacy of data whereby.When system 100 is transported During certain account of row, the mapping table under the account is carried out synchronized update by more new module 60 and is preserved.
The data access of the different accounts on the same computer of the present invention is isolated by bottom, it is achieved that to hard disk Virtual exclusive, reduce the complexity of account management, improve the durability of computer resource and each account number According to safe independence.The present invention can effectively manage and user-isolated data, and does not relies on computer behaviour Making system, Linux/Windows/UNIX can support.Meanwhile, this programme and the data of hard disk storage devices Interface bus is unrelated, and storage device applicatory includes solid state hard disc and/or the hybrid hard disk of each class interface, as (mechanical hard disk is with solid for the solid state hard disc of the EBIs such as PATA/SATA/SAS/PCIE/USB and hybrid hard disk The combination of state hard disk).
Seeing Fig. 3, the invention provides the implementation method of a kind of multiuser hard disk system, it can be by such as figure System 100 shown in 1 realizes, and the method includes:
Step S301, after hard disk initialization, by the mapping table of the logical address that preserves in hard disk to physical address Carry out classification process.
Step S302, respectively distributes a different account identification, each class mapping table by mapping table described in each class A corresponding different system account.
Seeing Fig. 4, the concrete application process of the one of the present invention specifically includes:
Step S401, system 100 opening initialization, receive user's select command to system account.
Step S402, loads the mapping table that the system account selected is corresponding.System 100 after performing this step is Entering the account, user can operate within the account accordingly, needs explanation, and user is by being somebody's turn to do After account is logined, it is only capable of the data that the address of the acquisition mapping table corresponding with the account is corresponding, and for hard disk Other interior data, this user cannot access and obtain.
Step S403, receives user's select command to system account.In concrete application, if same calculating Machine changes by different user operations, then typically require the user account that switching is corresponding, and user only need to be in system 100 Input-output system guide the lower system account selecting to need switching.
Step S404, switches to the newly selected system account by mapping table corresponding for current system account corresponding Mapping table.
Step S405, receives user's operation to current account data.User can after logining a certain system account With to the data respective operations under the account, such as delete, copy etc..
Step S406, real-time update also preserves the mapping table that current system account is corresponding.
Preferably, each system account can be arranged with system 100 and individually log in password by user, protects whereby Demonstrate,prove independence and the safety of each account.
In sum, the present invention is by after hard disk initialization, and the mapping table in hard disk is carried out by hard disk firmware Classification, and the account identification different to the distribution of each class, the corresponding system account of each class mapping table, hard disk Firmware is distinguished after account manages mapping table, and start and is loaded different address mapping tables according to different accounts, with Make each account can only get the data of oneself, the physical address pair of other account datas in computer systems It is invisible, will not be read and write, guarantees data security whereby.
Certainly, the present invention also can have other various embodiments, without departing substantially from present invention spirit and the feelings of essence thereof Under condition, those of ordinary skill in the art work as can make various corresponding change and deformation according to the present invention, but These change accordingly and deform the protection domain that all should belong to appended claims of the invention.

Claims (6)

1. the implementation method of a multiuser hard disk system, it is characterised in that described method includes:
After described hard disk initialization, the mapping table of the logical address preserved in described hard disk to physical address is entered Row classification processes;
Mapping table described in each class is respectively distributed a different account identification, described each class mapping table correspondence one Different system account, and the logical address of of a sort mapping table can be continuous print, it is also possible to it is interval Formula;
Receive and perform the select command of described system account, load address corresponding to described system account and map Table;
Described method also includes: after system start-up runs, updates and preserves the mapping that current system account is corresponding Table.
The implementation method of multiuser hard disk system the most according to claim 1, it is characterised in that described Method also includes:
Receive and perform the switching command of described system account, by mapping table switching corresponding for current system account To the mapping table that another system account is corresponding.
The implementation method of multiuser hard disk system the most according to claim 1, it is characterised in that described Method also includes: different system account encryptions arranged.
4. a multiuser hard disk system, it is characterised in that including:
Sort module, after described hard disk initialization, by the logical address of preservation in described hard disk to physics The mapping table of address carries out classification process;
Mark arranges module, for respectively distributing a different account identification by mapping table described in each class, described The corresponding different system account of each class mapping table, and the logical address of of a sort mapping table can be company Continue, it is also possible to be compartment;
First command execution module, for receiving and perform the select command of described system account, loads described The address mapping table that system account is corresponding;
Described system also includes more new module, after described system start-up runs, updates and preserves current system The mapping table that system account is corresponding.
Multiuser hard disk system the most according to claim 4, it is characterised in that described system is also wrapped Include:
Second command execution module, for receiving and perform the switching command of described system account, will be currently System mapping table corresponding to account switches to the mapping table that another system account is corresponding.
Multiuser hard disk system the most according to claim 4, it is characterised in that described system also includes Encrypting module, for arranging different system account encryptions.
CN201210411887.4A 2012-10-25 2012-10-25 Multiuser hard disk system and its implementation Expired - Fee Related CN102945208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210411887.4A CN102945208B (en) 2012-10-25 2012-10-25 Multiuser hard disk system and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210411887.4A CN102945208B (en) 2012-10-25 2012-10-25 Multiuser hard disk system and its implementation

Publications (2)

Publication Number Publication Date
CN102945208A CN102945208A (en) 2013-02-27
CN102945208B true CN102945208B (en) 2016-09-14

Family

ID=47728156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210411887.4A Expired - Fee Related CN102945208B (en) 2012-10-25 2012-10-25 Multiuser hard disk system and its implementation

Country Status (1)

Country Link
CN (1) CN102945208B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182349A (en) 2013-05-27 2014-12-03 联想(北京)有限公司 Information processing method and electronic device
CN104216796B (en) * 2013-06-04 2018-02-09 北京联想核芯科技有限公司 A kind of data backup, restoration methods and electronic equipment
CN104933374A (en) * 2015-07-07 2015-09-23 山东中孚信息产业股份有限公司 Storage medium isolation method
CN105389266B (en) * 2015-10-16 2019-03-01 北京联想核芯科技有限公司 A kind of data managing method and device
CN109711206A (en) * 2018-12-17 2019-05-03 杭州华澜微电子股份有限公司 A kind of safe hard disk of multi-user and its control method
CN109815737A (en) * 2019-01-30 2019-05-28 山东华芯半导体有限公司 A kind of single-deck multi-user's physical isolation method based on address of cache
CN112015668B (en) * 2019-05-31 2023-03-31 西安诺瓦星云科技股份有限公司 Physical address acquisition method and device and multimedia playing box

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1170160A (en) * 1996-07-09 1998-01-14 李志淮 Method and device for safety accessing files in DOS
JP3445525B2 (en) * 1999-04-02 2003-09-08 松下電器産業株式会社 Arithmetic processing device and method
CN1340765A (en) * 2000-08-29 2002-03-20 廖瑞民 Method for dividing one hard disk into more partitions separated fully
CN100433195C (en) * 2003-12-31 2008-11-12 深圳市朗科科技股份有限公司 Flash memory medium data writing method
EP1717814B1 (en) * 2004-02-20 2012-09-19 Spansion LLc Semiconductor storage device and semiconductor storage device control method
CN100383761C (en) * 2005-03-10 2008-04-23 联想(北京)有限公司 Method for setting hard disk physical partition
CN1959587A (en) * 2005-11-01 2007-05-09 联想(北京)有限公司 Method for realizing isolation among multiple users of using same computer
CN101436233B (en) * 2007-11-12 2010-09-01 中国长城计算机深圳股份有限公司 Hard disk multi-user partition switch control method, system and computer terminal
CN101296313B (en) * 2008-04-21 2010-06-16 上海大学 SDRAM address mapping and read-write rotation method for real-time interlaced and non-interlaced scanning
CN101661378B (en) * 2008-08-29 2011-09-21 智微科技股份有限公司 Disk array 1 system and reading method for improving reading efficiency
CN101826021A (en) * 2009-03-03 2010-09-08 英业达股份有限公司 Multiplex virtual hard disk method

Also Published As

Publication number Publication date
CN102945208A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
CN102945208B (en) Multiuser hard disk system and its implementation
US11321452B2 (en) Execution environment virtualization method and apparatus and virtual execution environment access method and apparatus
JP6903682B2 (en) Data protection using virtual resource view
US8438185B2 (en) File storage apparatus and access control method
CN104461685B (en) Virtual machine processing method and virtual computer system
CN103853664B (en) A kind of method and electronic equipment for realizing multiple operating system
CN103064797B (en) Data processing method and virtual machine management platform
KR101323858B1 (en) Apparatus and method for controlling memory access in virtualized system
EP2081127A1 (en) Controller for controlling logical volume-related settings
CN103581183B (en) A kind of virtualization security isolation method and device
CN102882928A (en) Hierarchical storage management method of cloud storing system
CN107111561A (en) In the device and method of Full-virtualization system monitoring resource
EP3274896B1 (en) Configuration of a memory controller for copy-on-write with a resource controller
CN105404565B (en) A kind of dual-active data guard method and device
CN104104705A (en) Access method and device of distributed storage system
US20180157605A1 (en) Configuration of a memory controller for copy-on-write
CN102413183A (en) Cloud intelligence switch and processing method and system thereof
JP2011221597A (en) Clone disk creation method and program
US10296468B2 (en) Storage system and cache control apparatus for storage system
CN102110059A (en) Access method and system for multi-user hard disk data
JP6311365B2 (en) Storage area management device, storage area management method, and storage area management program
CN102622315A (en) Method, device and system for controlling disc visiting
CN103019847A (en) Method and system for migrating data of virtual machine
CN102508743A (en) Multi-point backup and real-time protection method for Linux file system
US10216433B2 (en) Accessing a virtual volume on a storage array

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160914