The present invention relates to methods of a storage device, and more particularly to a loading method and a dividing method of a storage device.
With growing of the human civilization, science, technology and modernization, the development of data storage approaches mature and perfect. A variety of storage devices are developed for storing data. In recent years, solid-state disks (SSDs) play an important role in the industry.
In general, A SSD can be a 2.5 inches disk, a small module or a small chip. The usage of SSD is gradually increased for replacing the conventional hard-disk drive (HDD). The conventional SSD is usually operated with a single disk and connected through a serial advanced technology attachment (SATA) port. Since only one single disk can be connected and identified with one SATA port due to the characteristics of SATA ports, a system for multiple users configured within a SSD can be classified into two types. The first type provides a system with account managements, in which the quotas and permissions of each user are managed by an system administrator. The second type provides a system with a multiboot function, in which the single SSD is divided as at most four divisions for different users.
However, the two types mentioned above still have some drawbacks. For example, in a low level system, or A SSD is pulled out and installed as an external disk, the SSD may be simply accessed or cracked. That is, the conventional SSD is not safe enough to preventing the data from stealing Moreover, since the conventional SSD can only be divided as at most four divisions for four users, the additional SSDs have to be installed when the amount of users is larger than 4. The management of the system is limited, and the costs of the hardware are increased.
Therefore, there is a need of providing an improved loading method and an improved dividing method in order to overcome the above drawbacks.
The present invention provides a loading method and a dividing method in order to overcome the above-mentioned drawbacks encountered by the prior arts.
The present invention provides a loading method and a dividing method. By the identifying program, accesses of unauthorized users are avoided, and external accesses and software cracking are also avoided. Meanwhile, the management of the system is simplified, and a real multiboot function is achieved.
The present invention provides a loading method and a dividing method. Since the storage device is divided to have physical storage partitions corresponding to the amount of users, multiple users may share single storage device. Furthermore, the amount of users is unlimited, the limitation of the management and the costs of the hardware of the system are reduced.
In accordance with an aspect of the present invention, there is provided a loading method. The loading method includes steps of providing a storage device and a system, among which the storage device having at least one physical storage partition is installed in the system, booting the system, loading an identifying program, inputting an identifying information corresponding to an user, and loading the physical storage partition of the storage device corresponding to the user according to the identifying information.
In accordance with another aspect of the present invention, there is provided a dividing method. The dividing method includes steps of providing a storage device, and dividing the storage device to have n physical storage partitions corresponding to n users, wherein n is a natural number.
The above contents of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only. It is not intended to be exhaustive or to be limited to the precise form disclosed.
Please refer to
In some embodiments, if an error identifying information is inputted by the user, none of any physical storage partition is loaded by the system, hence the high-safety information security is implemented.
Please refer to
As shown in steps S152 and S153, since the master boot record (MBR) will be loaded by the BIOS, a master boot record (MBR) of the physical storage partition of the storage device corresponding to the user is loaded into a specific address of the system so as to be converted into a specific storage region at first. In most embodiments, the specific address is 0x0000:7C00 in hexadecimal code. That is, in most systems, the MBR is loaded into the 0x0000:7C00 address. Under this circumstance, a MBR of the physical storage partition of the storage device corresponding to the user is loaded into a specific address of the system to replace the original MBR stored in the memory of the system, such that the original MBR is replaced by the MBR corresponding to the specific storage region as shown in step S152. Then, as shown in step S153, jumping to the specific address for operating.
As shown in steps S153 and 153, an address mapping technology is utilized for corresponding a disk logical block address of the physical storage partition corresponding to the user to a system logical block address of the system, and the system is operated according to the system logical block address. Please refer to
Furthermore, according to the embodiments mentioned above, it should be noted that when an user wants to execute a switch operation in manner of the loading method of the storage device of the present invention, at least one cold boot has to be executed for accomplishing the switch operation.
Please refer to
In some embodiments, the storage device divided by the above-mentioned dividing operation may be divided to have physical storage partitions in proportional ratio, unequal proportional ratio or any ratio.
From the above descriptions, the present invention provides a loading method and a dividing method. By the identifying program, accesses of unauthorized users are avoided, and external accesses and software cracking are also avoided. Meanwhile, the management of the system is simplified, and a real multiboot function is achieved. In addition, since the storage device is divided to have physical storage partitions corresponding to the amount of users, multiple users may share single storage device. Furthermore, the amount of users is unlimited, the limitation of the management and the costs of the hardware of the system are reduced.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
103125415 | Jul 2014 | TW | national |