CN102290089B - Storage device with multiple storage units and control method thereof - Google Patents
Storage device with multiple storage units and control method thereof Download PDFInfo
- Publication number
- CN102290089B CN102290089B CN201010201926.9A CN201010201926A CN102290089B CN 102290089 B CN102290089 B CN 102290089B CN 201010201926 A CN201010201926 A CN 201010201926A CN 102290089 B CN102290089 B CN 102290089B
- Authority
- CN
- China
- Prior art keywords
- storage unit
- unit
- solid
- state storage
- control unit
- 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
Links
- 238000000034 method Methods 0.000 title description 18
- 239000007787 solid Substances 0.000 claims abstract description 82
- 230000001360 synchronised effect Effects 0.000 claims description 30
- 230000005540 biological transmission Effects 0.000 description 27
- 230000015654 memory Effects 0.000 description 19
- 230000009471 action Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 208000005374 Poisoning Diseases 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000005055 memory storage Effects 0.000 description 2
- 231100000572 poisoning Toxicity 0.000 description 2
- 230000000607 poisoning effect Effects 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 230000035939 shock Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000013403 standard screening design Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
技术领域technical field
本发明有关于一种具有多储存单元的储存装置及其控制方法,尤指设有至少两个储存单元,且其中之一为存储器储存单元的储存装置。The invention relates to a storage device with multiple storage units and its control method, especially to a storage device with at least two storage units, one of which is a memory storage unit.
背景技术Background technique
个人电脑都是以硬盘机(Hard Disk Drive,简称HDD)作为作业系统的载入装置,其使用坚硬的旋转盘片为基础的非挥发性(non-volatile)储存装置,并在平整的磁性表面储存和检索数字资料。资讯透过离磁性表面很近的磁头,由电磁流来改变极性方式被电磁流写到磁盘上。资讯可以透过相反的方式回读,例如磁场导致线圈中电力的改变或磁头经过它的上方。Personal computers use Hard Disk Drive (HDD for short) as the loading device for the operating system, which uses a non-volatile (non-volatile) storage device based on a hard rotating disk, and is mounted on a flat magnetic surface. Store and retrieve digital data. Information is written to the disk by electromagnetic currents that change the polarity of the magnetic head through a head that is very close to the magnetic surface. Information can be read back by the opposite way, such as a magnetic field causing a change in electricity in a coil or a head passing over it.
且随着各式电子产品的发展,硬盘机发展各式不同的标准尺寸以应用在这些电子产品中,例如:0.85英寸,多用于手机等携带装置中。1英寸(微型硬盘,MicroDrive),多用于数字相机(CF type II介面)。1.8英寸,多用于笔记型电脑及外置硬盘盒中。2.5英寸,多用于笔记型电脑及外置硬盘盒中。3.5英寸,多用于桌上型电脑中,采用3.5″硬盘的外置硬盘盒需要外接电源、比较不方便。And along with the development of various electronic products, hard drives have developed various standard sizes for application in these electronic products, for example: 0.85 inches, which are mostly used in portable devices such as mobile phones. 1 inch (micro hard disk, MicroDrive), mostly used in digital cameras (CF type II interface). 1.8 inches, mostly used in notebook computers and external hard disk boxes. 2.5 inches, mostly used in notebook computers and external hard disk boxes. 3.5 inches, mostly used in desktop computers, the external hard disk box with 3.5" hard disk needs an external power supply, which is inconvenient.
后有进者,改采用永久性存储器来取代硬盘机,这种基于永久性存储器,如快闪存储器的电脑外部储存装置称为固态硬盘(Solid State Disk、Solid StateDrive,简称SSD)。固态硬盘被制作成与常规硬盘相同的外形,例如常见的1.8英寸、2.5英寸或3.5英寸规格,并采用了相互相容的介面,用来在电脑中代替前述的标准尺寸的硬盘机(HDD)。虽然在固态硬盘中已经没有可以旋转的盘状磁盘结构,但是依照命名习惯,这类存储器仍然被称为硬盘。Later advancers use permanent memory to replace the hard disk drive. This kind of computer external storage device based on permanent memory, such as flash memory, is called Solid State Disk (Solid State Disk, Solid State Drive, SSD for short). Solid-state drives are made into the same shape as conventional hard drives, such as the common 1.8-inch, 2.5-inch or 3.5-inch specifications, and use a compatible interface to replace the aforementioned standard-sized hard disk drives (HDDs) in computers. . Although there is no rotatable disk structure in solid-state drives, this type of memory is still called a hard drive according to naming conventions.
虽然固态硬盘(SSD)具有低功耗、无噪音、抗震动、低热量的特点。这些特点不仅使得资料能更加安全地得到保存,而且也延长了靠电池供电的装置的连续运转时间。然而成本及使用寿命是限制固态硬盘普及的最大问题。目前无论是永久性存储器还是非永久性存储器,其每百万位元组成本都远远高于硬盘机,且由于Flash Memory都有一定的写入寿命、而且寿命届满后资料会读不出来,因此成为大众接受固态硬盘的另一个障碍。再者固态硬盘数据损坏后是难以修复的,当负责储存资料的快闪存储器颗粒有毁损,现时的数据修复技术是不可能在损坏的晶片中救回资料,反观传统机械硬盘(HDD)或许还能挽回一些数据。Although solid-state drives (SSD) have the characteristics of low power consumption, no noise, anti-vibration, and low heat. These features not only allow data to be stored more securely, but also extend the continuous operation time of battery-powered devices. However, cost and service life are the biggest problems that limit the popularity of SSDs. At present, whether it is a permanent memory or a non-permanent memory, its cost per million bytes is much higher than that of a hard disk drive, and because Flash Memory has a certain write life, and the data will not be read after the life expires, Therefore, it has become another obstacle for the public to accept solid-state drives. Furthermore, it is difficult to repair the data of the solid-state hard disk after it is damaged. When the flash memory particles responsible for storing data are damaged, it is impossible for the current data repair technology to rescue the data from the damaged chip. On the other hand, traditional mechanical hard disk (HDD) may still Some data can be recovered.
另外使用硬盘机作为作业装置与使用快闪存储器作为作业装置其优缺点,如下:In addition, the advantages and disadvantages of using a hard disk drive as an operating device and using a flash memory as an operating device are as follows:
使用硬盘机,主要优点是记忆容量大,以目前硬盘机的产品规格而言,500GB及640GB已经可以大量生产且未来记忆容量将还会更大,这样的容量对于大部份的使用者而言是足够的。但是相对于快闪存储器作储存单元,硬盘机有不少缺点,包括耗电量大、温度高以及噪音等等,但是最大的致命缺点则是其稳定度,两时半硬盘机的转轴马达(Spindle motor)一般有5,400rpm(每分钟旋转5,400圈)或7,200rpm甚至达10,000rpm,硬盘机高速旋转之下很容易因为外部的碰撞、震动而受损,一旦磁轨受损,记录于磁轨上的资料就很容易全部或部份毁损,这一直是电脑使用者最大的痛。The main advantage of using hard drives is the large memory capacity. According to the current product specifications of hard drives, 500GB and 640GB can already be mass-produced, and the memory capacity will be even larger in the future. Such a capacity is not enough for most users. is enough. However, compared to flash memory as a storage unit, hard disk drives have many disadvantages, including high power consumption, high temperature, and noise, etc., but the biggest fatal flaw is its stability. Spindle motor) generally has 5,400rpm (5,400 revolutions per minute) or 7,200rpm or even 10,000rpm. Under high-speed rotation of the hard disk drive, it is easy to be damaged by external collisions and vibrations. Once the magnetic track is damaged, it will be recorded on the magnetic track. It is easy to destroy all or part of the data on the computer, which has always been the biggest pain for computer users.
使用快闪存储器,主要优点是速度快与无噪音(因不需马达),但是缺点就是容量太小,且成本过高。目前单颗快闪存储器容量约为8GB或16GB,因此,若要达到640GB容量则需40颗快闪存储器。但是若仅仅储存作业系统及一般的应用程式,16GB或32GB是足够的。The main advantages of using flash memory are fast speed and no noise (because no motor is needed), but the disadvantages are that the capacity is too small and the cost is too high. Currently, the capacity of a single flash memory is about 8GB or 16GB. Therefore, 40 flash memories are required to achieve a capacity of 640GB. But if you only store the operating system and general applications, 16GB or 32GB is enough.
缘是,有鉴于习知技术的各项问题,为了能够兼顾解决之,发明人基于多年从事相关领域的研究开发与诸多实务经验,乃思及改良的意念,穷其个人的专业知识,并经多方研究与专题探讨,终于成功研发完成本发明所述的具有多储存单元的储存装置及其控制方法,实为一具功效增进的创作。The reason is that, in view of the various problems of the known technology, in order to be able to solve them, the inventor based on many years of research and development in related fields and a lot of practical experience, thinking and improving ideas, using his personal professional knowledge and experience After many researches and special discussions, the storage device with multiple storage units and the control method thereof of the present invention have been successfully developed, which is indeed a creation with enhanced efficacy.
发明内容Contents of the invention
因此,为有效解决上述的问题,本发明主要目的提供一种在具有一第一储存单元的一硬盘机或一固态硬盘机中另外设有至少一固态储存单元作为首选开机执行单元,并与该第一储存单元互为备援及更新。Therefore, in order to effectively solve the above-mentioned problems, the main purpose of the present invention is to provide a hard disk drive or a solid-state hard disk drive with a first storage unit that is additionally provided with at least one solid-state storage unit as the preferred boot execution unit, and with the The first storage units are mutually redundant and updated.
本发明另一目的为以一固态储存单元处于电源开启状态并作为开机执行单元,而第一储存单元及其他固态储存单元则处于电源关闭状态,如此一来不仅可以达到高速开机、节省耗电与低噪音的效果,同时因为其他储存单元的电源关闭的则不会产生中毒与因震动撞击毁损的风险。Another object of the present invention is to use a solid-state storage unit in the power-on state as the boot execution unit, while the first storage unit and other solid-state storage units are in the power-off state, so that not only can achieve high-speed boot, save power consumption and The effect of low noise, and at the same time, because the power of other storage units is turned off, there will be no risk of poisoning and damage due to shock and impact.
本发明另一目的为在一储存装置中具有一开机执行单元及至少一备援执行单元,若该开机执行单元毁损,则立即切换为备援执行单元替代该开机执行单元,不需另外的储存装置即可达到备援与替代开机的技术特征。Another object of the present invention is to have a boot execution unit and at least one backup execution unit in a storage device. If the boot execution unit is damaged, it will immediately switch to the backup execution unit to replace the boot execution unit without additional storage. The device can achieve the technical characteristics of backup and replacement booting.
本发明另一目的为一储存装置中设有至少一传输介面,并经该多工控制单元控制各储存单元共同使用一传输介面。Another object of the present invention is to provide at least one transmission interface in a storage device, and control each storage unit to share a transmission interface through the multiplexing control unit.
本发明另一目的为提供一种控制方法,用以分别控制一储存装置内的多储存单元的电源开及关。Another object of the present invention is to provide a control method for separately controlling the power on and off of multiple storage units in a storage device.
为达上述的目的,本发明的一具体实施为一种具有多储存单元的储存装置,应用一系统端中,该储存装置包括:至少一介面单元,与该系统端电性连接;一第一储存单元,具有一软件元件包括至少一作业系统;至少一固态储存单元,与该第一储存单元互为备援及更新,并储存有前述软件元件,且作为首选开机执行单元;一多工控制单元,透过该介面单元与该系统端资料传输,并存取该第一储存单元及该至少一固态储存单元内的软件元件,且根据一工作模式参数产生一模式选择信号;一电源控制单元,分别连接该多工控制单元及该第一储存单元与该等固态储存单元,根据该模式选择信号分别控制该第一储存单元及该等固态储存单元的电源开及关。In order to achieve the above-mentioned purpose, a specific implementation of the present invention is a storage device with multiple storage units, which is applied to a system end, and the storage device includes: at least one interface unit electrically connected to the system end; a first The storage unit has a software component including at least one operating system; at least one solid-state storage unit, which is mutually backed up and updated with the first storage unit, and stores the aforementioned software components, and is used as the preferred boot execution unit; a multiplex control A unit, through the interface unit and the system end data transmission, and accesses the software components in the first storage unit and the at least one solid-state storage unit, and generates a mode selection signal according to a working mode parameter; a power control unit , respectively connecting the multiplexing control unit, the first storage unit and the solid state storage units, and controlling the power on and off of the first storage unit and the solid state storage units respectively according to the mode selection signal.
前述介面单元包括Parallel ATA系列及Serial ATA系列及SCSI系列及USB系列及SAS系列的传输介面。前述操作模式选择单元更包括一同步更新参数。前述该多工控制单元根据该同步更新参数产生一同步更新信号。前述第一储存单元为一硬盘式元件及一固态储存式元件其中任一。前述硬盘式元件包括:一马达(spindle motor)带动多磁片(media)旋转,及多驱动臂(arm actuator)藉由一磁头定位马达(Head positioner motor)的作动以分别带动一磁头(Read Write Head)在该等磁片(media)上存取。前述该至少一固态储存单元包括一第一固态储存单元作为该首选开机执行单元。The aforementioned interface unit includes transmission interfaces of Parallel ATA series, Serial ATA series, SCSI series, USB series and SAS series. The aforementioned operation mode selection unit further includes a synchronous update parameter. The aforementioned multiplexing control unit generates a synchronous update signal according to the synchronous update parameter. The aforementioned first storage unit is any one of a hard disk type component and a solid state storage type component. The aforementioned hard disk components include: a motor (spindle motor) drives multiple magnetic sheets (media) to rotate, and multiple drive arms (arm actuator) drive a magnetic head (Read Write Head) is accessed on these disks (media). The aforementioned at least one solid state storage unit includes a first solid state storage unit as the preferred boot execution unit.
前述第一储存单元为备援执行单元。前述固态储存单元包括一第一固态器储存单元及一第二固态储存单元,该第一固态储存单元为该首选开机执行单元,该第二固态储存单元为备援执行单元。前述第一固态储存单元为首选开机执行单元,该第二固态储存单元为备援执行单元。The aforementioned first storage unit is a backup execution unit. The aforementioned solid-state storage unit includes a first solid-state storage unit and a second solid-state storage unit, the first solid-state storage unit is the preferred boot execution unit, and the second solid-state storage unit is a backup execution unit. The aforementioned first solid-state storage unit is a preferred boot execution unit, and the second solid-state storage unit is a backup execution unit.
本发明应用在一种电子设备,该电子设备经该介面单元与该多工控制单元连接。前述电子设备包括电脑及携带式机器。所述的携带式机器包括手机及个人数字助理及摄录影机及数字相机。The invention is applied to an electronic device, which is connected with the multiplexing control unit through the interface unit. The aforementioned electronic devices include computers and portable machines. The portable machines include mobile phones, personal digital assistants, video recorders and digital cameras.
本发明还提供了一种电子设备,具有如上述的储存装置,该电子设备经该介面单元与该多工控制单元连接。The present invention also provides an electronic device with the above-mentioned storage device, the electronic device is connected to the multiplexing control unit through the interface unit.
本发明还提供了一种储存装置的控制方法,应用于与一系统端连接的一储存装置,该储存装置具有一介面单元具有至少一传输介面、一第一储存单元、一第一固态储存单元、一多工控制单元及一电源控制单元,该方法包括下列步骤:The present invention also provides a method for controlling a storage device, which is applied to a storage device connected to a system end, the storage device has an interface unit having at least one transmission interface, a first storage unit, and a first solid-state storage unit , a multiplex control unit and a power control unit, the method comprises the following steps:
系统端开机,多工控制单元进行自我检查动作,并决定与系统端连接的传输介面种类;When the system end is turned on, the multiplexing control unit performs a self-inspection action, and determines the type of transmission interface connected to the system end;
工作模式选择,多工控制单元发送一模式选择要求到系统端,系统端选择标准工作模式或智慧型工作模式;Working mode selection, the multiplexing control unit sends a mode selection request to the system side, and the system side selects the standard working mode or the intelligent working mode;
选择标准工作模式,多工控制单元送出该第一储存单元及第一固态储存单元的资讯至系统端;Selecting the standard working mode, the multiplexing control unit sends the information of the first storage unit and the first solid state storage unit to the system end;
选择开机执行单元,系统端读取第一储存单元及第一固态储存单元,并选择其中之一为开机执行单元;Select the boot execution unit, the system reads the first storage unit and the first solid state storage unit, and selects one of them as the boot execution unit;
选择第一固态储存单元为开机执行单元,多工控制单元透过介面单元将第一固态储存单元内的软件元件传至系统端,完成作业系统载入;Selecting the first solid-state storage unit as the boot execution unit, the multiplexing control unit transmits the software components in the first solid-state storage unit to the system side through the interface unit, and completes the loading of the operating system;
选择第一储存单元为开机执行单元,多工控制单元透过介面单元将第一储存单元内的软件元件传至系统端,完成作业系统载入;The first storage unit is selected as the boot execution unit, and the multiplexing control unit transmits the software components in the first storage unit to the system side through the interface unit to complete the loading of the operating system;
进行一般操作或关机。Perform normal operations or shut down.
本发明还提供了一种储存装置的控制方法,应用于与一系统端连接的一储存装置,该储存装置具有一介面单元具有至少一传输介面、一第一储存单元、一第一固态储存单元、一第二固态储存单元、一多工控制单元及一电源控制单元,该方法包括下列步骤:The present invention also provides a method for controlling a storage device, which is applied to a storage device connected to a system end, the storage device has an interface unit having at least one transmission interface, a first storage unit, and a first solid-state storage unit , a second solid-state storage unit, a multiplexing control unit and a power control unit, the method includes the following steps:
系统端开机,多工控制单元进行自我检查动作,并决定与系统端连接的传输介面种类;When the system end is turned on, the multiplexing control unit performs a self-inspection action, and determines the type of transmission interface connected to the system end;
工作模式选择,多工控制单元发送一模式选择要求到系统端,系统端选择标准工作模式或智慧型工作模式;Working mode selection, the multiplexing control unit sends a mode selection request to the system side, and the system side selects the standard working mode or the intelligent working mode;
选择标准工作模式,多工控制单元送出该第一储存单元及第一固态储存单元及第二固态储存单元的资讯至系统端;Select the standard working mode, and the multiplexing control unit sends the information of the first storage unit, the first solid state storage unit and the second solid state storage unit to the system end;
选择开机执行单元,系统端读取第一储存单元及第一固态储存单元及第二固态储存单元,并选择其中一为开机执行单元;Select the boot execution unit, the system reads the first storage unit, the first solid state storage unit and the second solid state storage unit, and selects one of them as the boot execution unit;
选择第一固态储存单元为开机执行单元,多工控制单元透过介面单元将第一固态储存单元内的软件元件传至系统端,完成作业系统载入;Selecting the first solid-state storage unit as the boot execution unit, the multiplexing control unit transmits the software components in the first solid-state storage unit to the system side through the interface unit, and completes the loading of the operating system;
选择第二固态储存单元为开机执行单元,多工控制单元透过介面单元将第二固态储存单元内的软件元件传至系统端,完成作业系统载入;Selecting the second solid-state storage unit as the boot execution unit, the multiplexing control unit transmits the software components in the second solid-state storage unit to the system side through the interface unit, and completes the loading of the operating system;
进行系统端要求的一般操作或关机。Perform normal operations or shutdown as required by the system side.
与现有技术相比,本发明提供了一种具有多储存单元的储存装置及其控制方法,尤指设有至少两个储存单元,且其中之一为固态储存单元的储存装置。Compared with the prior art, the present invention provides a storage device with multiple storage units and a control method thereof, especially a storage device with at least two storage units, one of which is a solid state storage unit.
为使更进一步了解本发明的特征及技术内容,请参阅以下有关本发明的详细说明与附图。In order to further understand the features and technical content of the present invention, please refer to the following detailed description and accompanying drawings related to the present invention.
附图说明Description of drawings
为让本发明的上述和其他目的、特征、优点与实施例能更明确易懂,所附图式的说明如下:In order to make the above and other purposes, features, advantages and embodiments of the present invention clearer and easier to understand, the accompanying drawings are described as follows:
图1为本发明较佳实施与系统端连接的示意图;Fig. 1 is the schematic diagram that the preferred implementation of the present invention is connected with the system end;
图2为本发明储存装置具有两个储存单元的示意图:Fig. 2 is the schematic diagram that storage device of the present invention has two storage units:
图3为本发明储存装置具有三个储存单元的示意图:Fig. 3 is the schematic diagram that storage device of the present invention has three storage units:
图4为本发明储存装置另具有一操作模式选择单元的示意图:FIG. 4 is a schematic diagram of the storage device of the present invention further having an operation mode selection unit:
图5为本发明储存装置的控制方法的流程示意图:Fig. 5 is a schematic flow chart of the control method of the storage device of the present invention:
图6为本发明储存装置的智慧型控制方法的流程示意图;FIG. 6 is a schematic flowchart of an intelligent control method for a storage device of the present invention;
图7为本发明储存装置内具三个储存单元的控制方法的流程示意图:FIG. 7 is a schematic flowchart of a control method with three storage units in the storage device of the present invention:
图8为本发明储存装置内具三个储存单元的智慧型控制方法的流程示意图。FIG. 8 is a schematic flowchart of an intelligent control method with three storage units in a storage device according to the present invention.
附图标记说明:储存装置-10;系统端-20;介面-21;传输线-22;介面单元-11;第一储存单元-12;第一固态储存单元-131;第二固态储存单元-132;多工控制单元-14;电源控制单元-15;模式选择单元-16;软件元件-17。Explanation of reference signs: storage device-10; system terminal-20; interface-21; transmission line-22; interface unit-11; first storage unit-12; first solid state storage unit-131; second solid state storage unit-132 ; Multiplexing control unit-14; Power control unit-15; Mode selection unit-16; Software components-17.
具体实施方式Detailed ways
本发明提供一种具有多储存单元的储存装置及其控制方法,图示是本发明较佳实施例,请参阅图1是本发明具有多储存单元的储存装置10示意图,储存装置10系应用在一系统端20中,其中该系统端20具有一介面21,该储存装置10的介面单元11经由一传输线22与该介面21连接,前述储存装置10是标准尺寸(如0.85英寸、1英寸、1.8英寸,2.5英寸、3.5英寸等)的硬盘机(HDD)或固态硬盘机(SSD),该系统端20具体为一电子设备包括电脑及携带式机器,该携带式机器包括手机及个人数字助理及摄录影机及数字相机。The present invention provides a storage device with multiple storage units and its control method. The diagram is a preferred embodiment of the present invention. Please refer to FIG. 1 which is a schematic diagram of a storage device 10 with multiple storage units according to the present invention. In a system terminal 20, wherein the system terminal 20 has an interface 21, the interface unit 11 of the storage device 10 is connected to the interface 21 via a transmission line 22, the aforementioned storage device 10 is a standard size (such as 0.85 inches, 1 inch, 1.8 inch, 2.5 inches, 3.5 inches, etc.) hard disk drive (HDD) or solid state drive (SSD), the system terminal 20 is specifically an electronic device including a computer and a portable machine, and the portable machine includes a mobile phone and a personal digital assistant and Camcorders and digital cameras.
如图2所示该储存装置10主要包括至少一介面单元11、一第一储存单元12、至少一固态储存单元、一多工控制单元14及一电源控制单元15。As shown in FIG. 2 , the storage device 10 mainly includes at least one interface unit 11 , a first storage unit 12 , at least one solid state storage unit, a multiplexing control unit 14 and a power control unit 15 .
前述介面单元11与该系统端20的介面21电气连接,并具有至少一传输介面包括:Parallel ATA系列、Serial ATA(简称SATA)系列、SCSI系列、USB系列、SAS系列的传输介面其中任一,所谓的系列例如:SAS I及SAS II或USB1.0及USB2.0及USB3.0或SATA I及SATAII及SATAIII等。The aforementioned interface unit 11 is electrically connected to the interface 21 of the system end 20, and has at least one transmission interface including: any one of the transmission interfaces of Parallel ATA series, Serial ATA (abbreviated as SATA) series, SCSI series, USB series, and SAS series, The so-called series are, for example: SAS I and SAS II or USB1.0 and USB2.0 and USB3.0 or SATA I and SATAII and SATAIII.
在本发明中一个储存装置10该介面单元11可以仅有一个传输介面,或者设有两个传输介面或两个以上传输介面,其中两个或两个以上的传输介面可以是相同系列或不相同系列,例如其中之一为SATA系列另一则为USB系列。In the present invention, the interface unit 11 of a storage device 10 may have only one transmission interface, or be provided with two transmission interfaces or more than two transmission interfaces, wherein the two or more transmission interfaces may be of the same series or different series, for example, one of them is a SATA series and the other is a USB series.
前述第一储存单元12具有一软件元件17,该软件元件17包括至少一作业系统及驱动程式及应用程式及资料,该第一储存单元12可以为一机械式硬盘或一固态式硬盘。亦即该储存装置10为硬盘机(HDD)则该第一储存单元12为机械式硬盘。The aforementioned first storage unit 12 has a software component 17, and the software component 17 includes at least one operating system, driver program, application program and data. The first storage unit 12 can be a mechanical hard disk or a solid state hard disk. That is, if the storage device 10 is a hard disk drive (HDD), then the first storage unit 12 is a mechanical hard disk.
前述机械式硬盘包括一马达(spindle motor)带动多磁片(media)旋转,及多驱动臂(arm actutor)其一端分别设有一磁头(Head),另一端藉由一磁头定位马达(Head positioner motor)带动,以令该磁头在该磁片上读写资料。The aforementioned mechanical hard disk includes a motor (spindle motor) to drive multiple magnetic sheets (media) to rotate, and one end of the multi-drive arm (arm actuator) is respectively provided with a magnetic head (Head), and the other end is positioned by a magnetic head positioning motor (Head positioner motor). ) to drive the magnetic head to read and write data on the magnetic disk.
前述采用固态式硬盘则该储存装置10为固态硬盘机(SSD),该存储器包括永久性存储器,如快闪存储器,或非永久性存储器,同步动态随机存取存储器(SDRAM)等。If the aforementioned solid-state hard disk is used, the storage device 10 is a solid-state hard disk (SSD), and the memory includes permanent memory, such as flash memory, or non-permanent memory, synchronous dynamic random access memory (SDRAM) and the like.
如图2所示,前述固态储存单元包括一第一固态储存单元131与该第一储存单元12互为备援及更新,并储存有前述软件元件,且作为首选开机执行单元,则该第一储存单元12做为备援执行单元,在该第一固态储存单元131不能开机或中毒或毁损时,该第一储存单元12立即开机运作,并对该第一固态储存单元131重新格式化,及将第一储存单元12内的软件元件17复制到第一固态储存单元131内,本发明将以图2作为主要实施说明。As shown in Figure 2, the aforementioned solid-state storage unit includes a first solid-state storage unit 131 and the first storage unit 12 for mutual backup and updating, and stores the aforementioned software components, and as the preferred boot execution unit, the first solid-state storage unit 131 The storage unit 12 is used as a backup execution unit. When the first solid state storage unit 131 cannot be powered on or is poisoned or damaged, the first storage unit 12 is immediately powered on and operated, and the first solid state storage unit 131 is reformatted, and To copy the software components 17 in the first storage unit 12 to the first solid state storage unit 131 , the present invention will use FIG. 2 as the main implementation description.
另外前述不局限本发明的实施,亦可如图3所示,该存储器储存单元包括一第一固态储存单元131与一第二固态储存单元132与该第一储存单元12三者互为备援及更新,其中该第一固态储存单元131作为首选开机执行单元,该第二固态储存单元132作为第一备援执行单元,该第一储存单元12则作为第二备援执行单元。In addition, the foregoing does not limit the implementation of the present invention. As shown in FIG. 3, the memory storage unit includes a first solid-state storage unit 131 and a second solid-state storage unit 132, and the first storage unit 12 is a backup for each other. And update, wherein the first solid state storage unit 131 is used as the preferred boot execution unit, the second solid state storage unit 132 is used as the first backup execution unit, and the first storage unit 12 is used as the second backup execution unit.
前述多工控制单元14,为一集成电路处理器(IC Processor)其内包括控制韧体(Firmware)及控制晶片(Chip),该多工控制单元14透过前述介面单元11与该系统端20资料传输,并存取该第一储存单元12及该至少一固态储存单元(如第一固态储存单元131及第二固态储存单元132)内的软件元件。The aforementioned multiplex control unit 14 is an integrated circuit processor (IC Processor) which includes control firmware (Firmware) and a control chip (Chip). The multiplex control unit 14 communicates with the system end 20 through the aforementioned interface unit Data transmission, and access to software components in the first storage unit 12 and the at least one solid-state storage unit (such as the first solid-state storage unit 131 and the second solid-state storage unit 132 ).
前述多工控制单元14包括多参数建立在该轫体内,该多参数包括工作模式参数及同步更新参数及三储存单元资料备援参数(如表1),该多工控制单元14根据该工作模式参数(如表1)产生模式选择信号,根据该同步更新参数(如表1)产生同步更新信号,该三储存单元资料备援参数则应用如图3在本发明储存装置10内建有三个储存单元时使用,其详细将在后面介绍。The aforementioned multiplexing control unit 14 includes multiple parameters built in the firmware. The multiple parameters include working mode parameters, synchronous update parameters and three storage unit data backup parameters (as shown in Table 1). The multiplexing control unit 14 is based on the working mode Parameters (as in Table 1) generate a mode selection signal, and generate a synchronous update signal according to the synchronous update parameters (as in Table 1), and the data backup parameters of the three storage units are applied as shown in FIG. unit, its details will be introduced later.
所述模式选择信号根据标准工作模式参数及智慧型操作模式参数决定该储存装置10的工作模式是在标准操作模式或智慧型操作模式;所述同步更新参数使用于智慧型操作模式下,且该同步更新信号依据同步更新参数决定自动同步更新的时间。The mode selection signal determines whether the working mode of the storage device 10 is in the standard operating mode or the smart operating mode according to the standard operating mode parameters and the smart operating mode parameters; the synchronous update parameters are used in the smart operating mode, and the The synchronous update signal determines the time of automatic synchronous update according to the synchronous update parameter.
前述电源控制单元15具体为一电源控制IC,分别连接该多工控制单元14及该第一储存单元12与该第一固态储存单元131,根据该多工控制单元14产生的模式选择信号以控制该第一储存单元12及该第一固态储存单元131的电源开或关。The aforementioned power control unit 15 is specifically a power control IC, which is respectively connected to the multiplexing control unit 14, the first storage unit 12 and the first solid-state storage unit 131, and is controlled according to the mode selection signal generated by the multiplexing control unit 14. The power of the first storage unit 12 and the first solid state storage unit 131 is turned on or off.
另外如图1和图4所示,为本发明另一较佳实施,其整体与前述实施相同,但不同处在于该储存装置10更包括:一操作模式选择单元16具体实施为一颗EEPROM IC并与该多工控制单元14连接,且该多工作模式参数及同步更新参数及三储存单元资料备援参数(如上表1)内建在该操作模式选择单元16内,非内建在该多工控制单元14的韧体内。In addition, as shown in Figure 1 and Figure 4, it is another preferred implementation of the present invention, and its whole is the same as the aforementioned implementation, but the difference is that the storage device 10 further includes: an operation mode selection unit 16 is embodied as an EEPROM IC And be connected with this multiplexing control unit 14, and this multiple working mode parameter and synchronous update parameter and three storage unit data backup parameters (as above table 1) are built in this operating mode selection unit 16, non-built in this multiple In the firmware of the industrial control unit 14.
前述多工控制单元14根据操作模式选择单元16内的参数产生如前一实施例所述的模式选择信号、同步更新信号及三储存单元资料备援参数的控制。The aforementioned multiplexing control unit 14 generates the control of the mode selection signal, the synchronous update signal and the data backup parameters of the three storage units as described in the previous embodiment according to the parameters in the operation mode selection unit 16 .
请续参阅图1、图2和图5所示,上述储存装置10的控制方法如下列步骤:Please continue to refer to Fig. 1, Fig. 2 and Fig. 5, the control method of the above-mentioned storage device 10 is as follows:
(SP10)系统端20开机,多工控制单元14接收到系统端20的开机信号随即进行自我检查动作,并藉由介面单元11经传输线22与系统端20连接通讯,以决定使用的传输介面种类;传输介面初始设定为SATA,但是该多工控制单元14可依实际连接去判断切换为其它传输种类例如USB;(SP10) The system terminal 20 is turned on, and the multiplexing control unit 14 receives the start signal of the system terminal 20 and then performs a self-check action, and communicates with the system terminal 20 through the interface unit 11 through the transmission line 22 to determine the type of transmission interface used. ; The transmission interface is initially set to SATA, but the multiplexing control unit 14 can switch to other transmission types such as USB according to the actual connection;
(SP20)工作模式选择,储存装置10内的多工控制单元14发送一模式选择要求到系统端20,系统端20选择标准工作模式或智慧型工作模式,其中系统端20可从一基本输出入系统(BIOS)或作业系统(O.S)环境下以一应用程式来选择工作模式;(SP20) work mode selection, the multiplexing control unit 14 in the storage device 10 sends a mode selection request to the system end 20, and the system end 20 selects a standard work mode or an intelligent work mode, wherein the system end 20 can be input from a basic input Use an application program to select the working mode in the system (BIOS) or operating system (O.S) environment;
(SP100)选择标准工作模式,多工控制单元14送出该第一储存单元12及第一固态储存单元131的资讯(包括制造商、产品型号及容量)至系统端20,在此工作模式下,对于系统端20而言如同多个储存装置同时与系统相接,例如一个人电脑同时安装了Drive C(如第一固态储存单元131)及Drive D(如第一储存单元12);(SP100) Select the standard work mode, the multiplexing control unit 14 sends the information (comprising manufacturer, product model and capacity) of the first storage unit 12 and the first solid state storage unit 131 to the system terminal 20, under this work mode, For the system terminal 20, it is as if multiple storage devices are connected to the system at the same time, for example, a personal computer is installed with Drive C (such as the first solid-state storage unit 131) and Drive D (such as the first storage unit 12);
(SP110)选择开机执行单元,系统端20读取第一储存单元12及第一固态储存单元131,并选择其中一为开机执行单元,以本发明较佳实施而言该第一固态储存单元131为首选开机执行单元;(SP110) Select the boot execution unit, the system terminal 20 reads the first storage unit 12 and the first solid state storage unit 131, and selects one of them as the boot execution unit, the first solid state storage unit 131 in terms of the preferred implementation of the present invention It is the preferred boot execution unit;
(SP120)选择第一固态储存单元131为开机执行单元,多工控制单元14透过介面单元11将第一固态储存单元131内的软件元件17传至系统端20,完成作业系统载入;(SP120) Selecting the first solid state storage unit 131 as the boot execution unit, the multiplexing control unit 14 transmits the software components 17 in the first solid state storage unit 131 to the system terminal 20 through the interface unit 11, and completes the loading of the operating system;
(SP130)选择第一储存单元12为开机执行单元,多工控制单元14透过介面单元11将第一储存单元12内的软件元件17传至系统端20,完成作业系统载入;(SP130) Selecting the first storage unit 12 as the boot execution unit, the multiplexing control unit 14 transmits the software components 17 in the first storage unit 12 to the system terminal 20 through the interface unit 11, and completes the loading of the operating system;
(SP28)进行一般操作或关机。(SP28) for general operation or shutdown.
在作业系统载入后,该储存装置10即可根据系统端20的要求去执行的对第一储存单元12或第一固态储存单元131的读出与写入等动作,或者系统端20在作业系统中操作关机,进而关闭储存装置10。After the operating system is loaded, the storage device 10 can perform actions such as reading and writing to the first storage unit 12 or the first solid-state storage unit 131 according to the requirements of the system terminal 20, or the system terminal 20 can perform operations such as reading and writing to the first storage unit 12 or the first solid-state storage unit 131, or Shutdown is performed in the system, thereby shutting down the storage device 10 .
请续参考图1、图2和图6所示,系统端20选择智慧型工作模式则其步骤如下:Please continue to refer to Fig. 1, Fig. 2 and Fig. 6. If the system terminal 20 selects the smart working mode, the steps are as follows:
(SP200)选择智慧型工作模式,多工控制单元14送出该第一储存单元12及第一固态储存单元131的资讯(包括制造商、产品型号及容量)至系统端20,在此工作模式下,对于系统端20而言如同多个储存装置同时与系统相接,例如一个人电脑同时安装了Drive C(如第一固态储存单元131)及Drive D(如第一储存单元12)。(SP200) select the intelligent working mode, the multiplexing control unit 14 sends the information (including manufacturer, product model and capacity) of the first storage unit 12 and the first solid state storage unit 131 to the system terminal 20, in this working mode For the system terminal 20, it is like multiple storage devices connected to the system at the same time, for example, a personal computer is installed with Drive C (such as the first solid state storage unit 131) and Drive D (such as the first storage unit 12).
(SP210)选择开机执行单元,系统端20读取第一储存单元12及第一固态存单元131,并选择其中一为开机执行单元,以本发明较佳实施而言该第一固态储存单元131为首选开机执行单元。(SP210) Select the boot execution unit, the system terminal 20 reads the first storage unit 12 and the first solid-state storage unit 131, and selects one of them as the boot execution unit, the first solid-state storage unit 131 in terms of the preferred implementation of the present invention It is the preferred boot execution unit.
(SP220)选择第一固态储存单元131为开机执行单元,多工控制单元14经由该电源控制单元15开启第一固态储存单元131的电源,并关闭该第一储存单元12的电源,并透过介面单元11将第一固态储存单元11内的软件元件17传至系统端20,完成作业系统载入。(SP220) Select the first solid-state storage unit 131 as the boot execution unit, the multiplexing control unit 14 turns on the power supply of the first solid-state storage unit 131 through the power control unit 15, and closes the power supply of the first storage unit 12, and through The interface unit 11 transmits the software components 17 in the first solid state storage unit 11 to the system terminal 20 to complete the loading of the operating system.
(SP230)选择第一储存单元12为开机执行单元,多工控制单元14经由该电源控制单元15开启第一储存单元12的电源,并关闭该第一固态储存单元131的电源,并透过介面单元11将第一储存单元12内的软件元件17传至系统端20,完成作业系统载入。 (SP230) Select the first storage unit 12 as the boot execution unit, the multiplexing control unit 14 opens the power supply of the first storage unit 12 through the power control unit 15, and closes the power supply of the first solid state storage unit 131, and through the interface The unit 11 transfers the software components 17 in the first storage unit 12 to the system end 20 to complete the loading of the operating system.
(SP240)设定同步更新参数及开始计时。(SP240) Set synchronous update parameters and start timing.
在本步骤中同步更新参数如表1,系统端20设定Default自动同步更新参数所对应的时间,且更可进一步依照使用者的需要去变更设定时间,储存装置10的多工控制单元14则根据最后一次所设定的自动同步更新参数的时间后,在多工控制单元14内的一计时器根据同步更新参数所对应的时间开始计时。In this step, the synchronous update parameters are shown in Table 1. The system terminal 20 sets the time corresponding to the Default automatic synchronous update parameters, and can further change the set time according to the needs of the user. The multiplexing control unit 14 of the storage device 10 Then, after the time set for the last automatic synchronous update parameter, a timer in the multiplexing control unit 14 starts counting according to the time corresponding to the synchronous update parameter.
(SP250)一般操作及判断时间到否。(SP250) General operation and judging whether the time is up or not.
一般操作是该作业系统载入后,该储存装置10即可根据系统端20的要求去执行的对第一储存单元12或第一固态储存单元131的读出与写入等动作,且在执行一般操作的同时该多工控制单元14判断计时器的计时是否到达所对应的时间,如果是则进行步骤SP260,若否则进行步骤SP29。The general operation is that after the operating system is loaded, the storage device 10 can perform operations such as reading and writing to the first storage unit 12 or the first solid-state storage unit 131 according to the requirements of the system terminal 20, and when executing During normal operation, the multiplexing control unit 14 judges whether the timer has reached the corresponding time, if yes, proceed to step SP260, otherwise proceed to step SP29.
(SP260)备援更新。(SP260) Backup update.
在本步骤中多工控制单元14执行资料复制动作,比较第一储存单元12及第一固态储存单元131两者的档案内容,将新档案或同档名但资料日期时间最新者复制到这两者的其中之一者,这样的目的可以预防这两者其中任一储存单元资料毁损时可以立即恢复,其具体执行的次步骤如下:In this step, the multiplexing control unit 14 executes the data duplication action, compares the file contents of the first storage unit 12 and the first solid state storage unit 131, and copies the new file or the same file name but the latest date and time of the data to the two One of them, this purpose can prevent the data of any one of the two storage units from being restored immediately when it is damaged, and the specific implementation steps are as follows:
(SP261)电源开启,多工控制单元14开启第一储存单元12(或第一固态储存单元131)的电源后执行步骤SP262。(SP261) The power is turned on, the multiplexing control unit 14 turns on the power of the first storage unit 12 (or the first solid state storage unit 131 ) and then executes step SP262.
(SP262)复制档案,将第一固态储存单元131(或第一储存单元12)的最新更新档案复制到第一储存单元12(或第一固态储存单元131)后执行步骤SP263。(SP262) Copy the file, copy the latest update file of the first solid state storage unit 131 (or the first storage unit 12) to the first storage unit 12 (or the first solid state storage unit 131), and then perform step SP263.
(SP263)电源关闭,复制完成后关闭第一储存单元12(或第一固态储存单元131)的电源后执行步骤SP264。(SP263) Turn off the power. After the copying is completed, turn off the power of the first storage unit 12 (or the first solid state storage unit 131 ) and execute step SP264.
(SP264)重新读取(reread)同步更新参数(如表1)后跳至(SP29)。(SP264) Skip to (SP29) after rereading (reread) the synchronous update parameters (such as Table 1).
(SP29)判断是否关机。(SP29) judge whether to shut down.
在本步骤中多工控制单元14判断系统端20是否选择关机,若是则进行步骤SP30,若否则表示系统端20还在进行一般操作,并回到步骤SP250执行一般操作及判断时间到否。In this step, the multiplexing control unit 14 judges whether the system terminal 20 chooses to shut down, if so, proceed to step SP30, if otherwise, it indicates that the system terminal 20 is still performing general operations, and returns to step SP250 to perform general operations and determine whether the time is up.
(SP30)关机。(SP30) shutdown.
系统端20在作业系统中操作关机,进而关闭储存装置10。The system terminal 20 shuts down the operating system, and then shuts down the storage device 10 .
另外请参考第1、3及7图所示,储存装置10内包括第一固态储存单元131与一第二固态储存单元132与该第一储存单元12的控制方法如下:Please also refer to Figures 1, 3 and 7, the storage device 10 includes a first solid-state storage unit 131 and a second solid-state storage unit 132, and the control method of the first storage unit 12 is as follows:
(SP10)系统端20开机,多工控制单元14接收到系统端20的开机信号随即进行自我检查动作,并藉由介面单元11经传输线22与系统端20连接通讯,以确认使用的传输介面种类;介面初始设定为S-ATA,但是该多工控制单元14可依实际连接切换为其它传输种类例如USB。(SP10) The system terminal 20 is turned on, and the multiplexing control unit 14 receives the start signal of the system terminal 20 and then performs a self-check action, and communicates with the system terminal 20 through the interface unit 11 through the transmission line 22 to confirm the type of transmission interface used. ; The interface is initially set to S-ATA, but the multiplexing control unit 14 can be switched to other transmission types such as USB according to the actual connection.
(SP20)工作模式选择,储存装置10内的多工控制单元14发送一模式选择要求到系统端20,系统端20选择标准工作模式或智慧型工作模式,其中系统端20可从一基本输出入系统(BIOS)或作业系统(O.S)环境下以一应用程式来选择工作模式。(SP20) work mode selection, the multiplexing control unit 14 in the storage device 10 sends a mode selection request to the system end 20, and the system end 20 selects a standard work mode or an intelligent work mode, wherein the system end 20 can be input from a basic input Use an application program to select the working mode in the system (BIOS) or operating system (O.S) environment.
(SP400)选择标准工作模式,多工控制单元14送出该第一储存单元12及第一固态储存单元131及第二固态储存单元132的资讯(包括制造商、产品型号及容量)至系统端20,在此工作模式下,对于系统端而言如同多个储存装置同时与系统相接,例如一个人电脑同时安装了Drive C(如第一固态储存单元131)及Drive D(如第二固态储存单元132)及Drive E(如第一储存单元12)。(SP400) Select the standard operating mode, and the multiplexing control unit 14 sends the information (including manufacturer, product model and capacity) of the first storage unit 12, the first solid state storage unit 131 and the second solid state storage unit 132 to the system terminal 20 , in this mode of operation, for the system side, it is as if multiple storage devices are connected to the system at the same time, for example, a personal computer is installed with Drive C (such as the first solid state storage unit 131) and Drive D (such as the second solid state storage unit 131) Unit 132) and Drive E (such as the first storage unit 12).
(SP410)选择开机执行单元,系统端20读取第一储存单元12及第一固态储存单元131及第二固态储存装置132,并选择其中一为开机执行单元,以本发明较佳实施而言该第一固态储存单元131为首选开机执行单元。(SP410) Select the boot execution unit, the system terminal 20 reads the first storage unit 12, the first solid state storage unit 131 and the second solid state storage device 132, and selects one of them as the boot execution unit, in terms of the preferred implementation of the present invention The first solid state storage unit 131 is a preferred boot execution unit.
(SP420)选择第一固态储存单元131为开机执行单元,多工控制单元14透过介面单元11将第一固态储存单元131内的软件元件17传至系统端20,完成作业系统载入。(SP420) Select the first solid-state storage unit 131 as the boot execution unit, and the multiplexing control unit 14 transmits the software components 17 in the first solid-state storage unit 131 to the system terminal 20 through the interface unit 11 to complete the loading of the operating system.
(SP430)选择第二固态储存单元132为开机执行单元,多工控制单元14透过介面单元11将第二固态储存单元132内的软件元件17传至系统端20,完成作业系统载入。(SP430) Select the second solid-state storage unit 132 as the boot execution unit, and the multiplexing control unit 14 transmits the software components 17 in the second solid-state storage unit 132 to the system terminal 20 through the interface unit 11 to complete the loading of the operating system.
(SP28)执行一般操作或关机。(SP28) Perform normal operations or shut down.
在作业系统载入后,该储存装置10即可根据系统端20的要求去执行的对第一固态储存单元131或第二固态储存单元132的读出与写入等动作,或者系统端20在作业系统中操作关机,进而关闭储存装置10。After the operating system is loaded, the storage device 10 can perform operations such as reading and writing to the first solid-state storage unit 131 or the second solid-state storage unit 132 according to the requirements of the system terminal 20, or the system terminal 20 Shutdown is performed in the operating system, thereby shutting down the storage device 10 .
再请参考图1、图3和图8所示,储存装置10内包括第一固态储存单元131与一第二固态储存单元132与该第一储存单元12则系统端20选择智慧型工作模式的步骤如下:Please refer to FIG. 1, FIG. 3 and FIG. 8 again, the storage device 10 includes a first solid-state storage unit 131 and a second solid-state storage unit 132 and the first storage unit 12, then the system terminal 20 selects the smart working mode. Proceed as follows:
(SP500)选择智慧型工作模式,多工控制单元14送出该第一储存单元12及第一固态储存单元131及第二固态储存单元132的资讯(包括制造商、产品型号及容量)至系统端20,在此工作模式下,对于系统端20而言如同多个储存装置同时与系统相接,例如一个人电脑同时安装了Drive C(如第一固态储存单元131)及Drive D(如第二固态储存单元132)及Drive E(如第一储存单元132)。(SP500) Select the smart working mode, and the multiplexing control unit 14 sends the information (including manufacturer, product model and capacity) of the first storage unit 12, the first solid state storage unit 131 and the second solid state storage unit 132 to the system end 20. In this working mode, for the system side 20, it is as if multiple storage devices are connected to the system at the same time. For example, a personal computer is installed with Drive C (such as the first solid state storage unit 131) and Drive D (such as the second solid state storage unit 131) at the same time. solid state storage unit 132) and Drive E (such as the first storage unit 132).
(SP510)选择开机执行单元,系统端20读取第一储存单元12及第一固态储存单元131及第二固态储存单元132,并选择其中一为开机执行单元,以本发明较佳实施而言该第一固态储存单元131为首选开机执行单元。(SP510) Select the boot execution unit, the system terminal 20 reads the first storage unit 12, the first solid state storage unit 131 and the second solid state storage unit 132, and selects one of them as the boot execution unit, in terms of the preferred implementation of the present invention The first solid state storage unit 131 is a preferred boot execution unit.
(SP520)选择第一固态储存单元131为开机执行单元,多工控制单元14经由该电源控制单元15开启第一固态储存单元131的电源,并关闭该第一储存单元12及第二固态储存单元132的电源,并透过介面单元11将第一固态储存单元11内的软件元件17传至系统端20,完成作业系统载入。(SP520) Select the first solid state storage unit 131 as the boot execution unit, the multiplex control unit 14 turns on the power supply of the first solid state storage unit 131 through the power control unit 15, and closes the first storage unit 12 and the second solid state storage unit 132, and transmit the software components 17 in the first solid-state storage unit 11 to the system terminal 20 through the interface unit 11 to complete the loading of the operating system.
(SP530)选择第二固态储存单元132为开机执行单元,多工控制单元14经由该电源控制单元15开启第二固态储存单元12的电源,并关闭该第一储存单元12及第一固态储存单元131的电源,并透过介面单元11将第二固态储存单元132内的软件元件17传至系统端20,完成作业系统载入。(SP530) Select the second solid state storage unit 132 as the boot execution unit, the multiplexing control unit 14 turns on the power supply of the second solid state storage unit 12 through the power control unit 15, and closes the first storage unit 12 and the first solid state storage unit 131, and transmit the software components 17 in the second solid-state storage unit 132 to the system terminal 20 through the interface unit 11 to complete the loading of the operating system.
(SP540)设定同步更新参数,并开始计时。(SP540) Set the synchronous update parameters and start timing.
在本步骤中同步更新参数如表1,依据需求设定Default自动同步更新参数所对应的时间,且更可进一步依照使用者的需要去变更设定时间,储存装置10的多工控制单元14则根据最后一次所设定的自动同步更新参数的时间后,在多工控制单元14内的一计时器根据同步更新参数所对应的时间开始计时。In this step, the synchronous update parameters are shown in Table 1. The time corresponding to the Default automatic synchronous update parameters is set according to the requirements, and the set time can be further changed according to the needs of the user. The multiplex control unit 14 of the storage device 10 then A timer in the multiplexing control unit 14 starts counting according to the time corresponding to the synchronization update parameter according to the time set for the last automatic synchronization update parameter.
(SP550)一般操作及判断时间到否。(SP550) General operation and judging whether the time is up or not.
一般操作是该作业系统载入后,该储存装置10即可根据系统端20的要求去执行的对第一储存单元12或第一固态储存单元131或第二固态储存单元132的读出与写入等动作,且在执行一般操作的同时该多工控制单元14判断计时器的计时是否到达所对应的时间,如果是则进行步骤SP560,若否则进行步骤SP29。The general operation is that after the operating system is loaded, the storage device 10 can read and write to the first storage unit 12 or the first solid-state storage unit 131 or the second solid-state storage unit 132 according to the requirements of the system terminal 20. Waiting for action, and while performing general operations, the multiplexing control unit 14 judges whether the timer has reached the corresponding time, if yes, proceed to step SP560, otherwise proceed to step SP29.
(SP560)备援更新。(SP560) Backup update.
在本步骤中多工控制单元14执行资料复制动作,并根据表1三储存单元资料备援参数进行备援,备援参数1为第一固态储存单元131与第二固态储存单元132彼此备援,此时第一储存单元12不作动。In this step, the multiplexing control unit 14 executes the data duplication action, and performs backup according to the three storage unit data backup parameters in Table 1. The backup parameter 1 is that the first solid state storage unit 131 and the second solid state storage unit 132 back up each other. , at this time the first storage unit 12 does not operate.
备援参数2是第一储存单元12及第一固态储存单元131与第二固态储存单元132互为备援,此时这三个储存单元均作动,多工控制单元14系比较这三个储存单元的档案内容,将其中任一储存单元内的最新档案或同档名但资料日期时间最新者复制到另外两个储存单元。The backup parameter 2 is that the first storage unit 12 and the first solid-state storage unit 131 and the second solid-state storage unit 132 are mutually redundant. At this time, these three storage units are all actuated, and the multiplex control unit 14 compares the three For the file content of the storage unit, copy the latest file in any one of the storage units or the one with the same file name but the latest data date and time to the other two storage units.
这样的目的可以预防当其中任何一个储存单元资料毁损时可以立即恢复。Such a purpose can prevent the data from being restored immediately when any one of the storage units is damaged.
多工控制单元14根据备援参数1执行以下的次步骤:The multiplexing control unit 14 performs the following sub-steps according to the backup parameter 1:
(SP561)电源开启,多工控制单元14开启第二固态储存单元132(或第一固态储存单元131)的电源后执行SP562。(SP561) The power is turned on, and the multiplexing control unit 14 turns on the power of the second solid-state storage unit 132 (or the first solid-state storage unit 131 ) and executes SP562.
(SP562)复制档案,将第一固态储存单元131(或第二固态储存单元132)的最新更新档案复制到第二固态储存单元132(或第一固态储存单元131)后执行SP563。(SP562) Copy the file, copy the latest update file of the first solid state storage unit 131 (or the second solid state storage unit 132) to the second solid state storage unit 132 (or the first solid state storage unit 131) and execute SP563.
(SP563)电源关闭,复制完成后关闭第二固态储存单元132(或第一固态储存单元131)的电源。(SP563) Turn off the power supply, and turn off the power supply of the second solid state storage unit 132 (or the first solid state storage unit 131 ) after the copying is completed.
(SP564)重新读取(reread)同步更新参数(如表1)后跳至(SP29)。(SP564) Skip to (SP29) after rereading (reread) the synchronous update parameters (such as Table 1).
另外若多工控制单元14根据备援参数2则其执行以下的次步骤:In addition, if the multiplexing control unit 14 performs the following sub-steps according to the backup parameter 2:
(SP561)电源开启,多工控制单元14开启第一储存单元12及第二固态储存单元132(或第一固态储存单元131)的电源后执行SP562。(SP561) The power is turned on, the multiplexing control unit 14 turns on the power of the first storage unit 12 and the second solid state storage unit 132 (or the first solid state storage unit 131 ) and then executes SP562.
(SP562)复制档案,将第一固态储存单元131(或第二固态储存单元132)的最新更新档案复制到第一储存单元12及第二固态储存单元132(或第一固态储存单元131)后执行SP563。(SP562) copy files, copy the latest update file of the first solid state storage unit 131 (or the second solid state storage unit 132) to the first storage unit 12 and the second solid state storage unit 132 (or the first solid state storage unit 131) Execute SP563.
(SP563)电源关闭,复制完成后关闭第一储存单元12及第二固态储存单元132(或第一固态储存单元131)的电源。(SP563) Turn off the power supply, and turn off the power supplies of the first storage unit 12 and the second solid-state storage unit 132 (or the first solid-state storage unit 131 ) after the copying is completed.
(SP564)重新读取(reread)同步更新参数(如表1)后跳至(SP29)。(SP564) Skip to (SP29) after rereading (reread) the synchronous update parameters (such as Table 1).
(SP29)判断是否关机。(SP29) judge whether to shut down.
在本步骤中多工控制单元14判断系统端20是否选择关机,若是则进行步骤SP30,若否则表示系统端20还在进行一般操作,并回到步骤SP550执行一般操作及判断时间到否。In this step, the multiplexing control unit 14 judges whether the system terminal 20 chooses to shut down, if so, proceed to step SP30, if otherwise, it indicates that the system terminal 20 is still performing general operations, and returns to step SP550 to perform general operations and determine whether the time is up.
(SP30)关机。(SP30) shutdown.
系统端20在作业系统中操作关机,进而关闭储存装置10。The system terminal 20 shuts down the operating system, and then shuts down the storage device 10 .
前述两种工作模式的设定具体可以多种方式的一实现,例如:The setting of the aforementioned two working modes can be realized in various ways, for example:
在储存装置10出厂前,预先设定其工作模式。Before the storage device 10 leaves the factory, its working mode is preset.
透过系统端下命令设定或改变工作模式,系统端下达工作模式设定则通常可以两方式达成,包括在基本输出入系统内(BIOS)或以一应用程式在作业系统(O.S.)下执行。Setting or changing the working mode by issuing commands from the system side, the setting of the working mode issued by the system side can usually be achieved in two ways, including in the basic input/output system (BIOS) or by executing an application program under the operating system (O.S.) .
综上所述,本发明具备下列各项优点:In summary, the present invention has the following advantages:
在具有一第一储存单元12的储存装置10中另外设有至少一固态储存单元作为首选开机执行单元,并与该第一储存单元12互为备援及更新。In addition, at least one solid-state storage unit is provided in the storage device 10 having a first storage unit 12 as a preferred boot execution unit, and is mutually backed up and updated with the first storage unit 12 .
以一固态储存单元(如第一固态储存单元131)处于电源开启状态并作为开机执行单元,而第一储存单元12及其他固态储存单元(如第二固态储存单元132)则处于电源关闭状态,如此一来不仅可以达到高速开机、节省耗电与低噪音的效果,同时因为其他储存单元的电源关闭的则不会产生中毒与因震动撞击毁损的风险。A solid-state storage unit (such as the first solid-state storage unit 131) is in the power-on state and serves as a boot execution unit, while the first storage unit 12 and other solid-state storage units (such as the second solid-state storage unit 132) are in the power-off state, In this way, not only can it achieve high-speed booting, power saving and low noise, but also because the power of other storage units is turned off, there will be no risk of poisoning or damage due to shock and impact.
在一储存装置10中具有一开机执行单元及至少一备援执行单元,若该开机执行单元毁损,则立即切换为备援执行单元替代该开机执行单元,不需另外的储存装置即可达到备援与替代开机。There is a boot execution unit and at least one backup execution unit in a storage device 10. If the boot execution unit is damaged, it will be immediately switched to a backup execution unit to replace the boot execution unit, and the backup can be achieved without additional storage devices. Aid and alternate boot.
在一储存装置10中的介面单元11设有至少一传输介面,并经该多工控制单元控制各储存单元共同使用一介面传输介面或每一储存单元分别对应使用一传输介面的储存装置。The interface unit 11 in a storage device 10 is provided with at least one transmission interface, and the multiplex control unit controls each storage unit to share one transmission interface or each storage unit corresponds to a storage device using a transmission interface.
提供两种工作模式的控制方法用以控制一储存装置10内的多储存单元。A control method with two working modes is provided for controlling multiple storage units in a storage device 10 .
虽然本发明以实施方式揭露如上,然其并非用以限定本发明,任何熟悉此技艺者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰,因此本发明的保护范围当视后附的申请专利范围所定者为准。Although the present invention is disclosed as above in terms of implementation, it is not intended to limit the present invention. Any skilled person can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall prevail as defined in the scope of the appended patent application.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010201926.9A CN102290089B (en) | 2010-06-17 | 2010-06-17 | Storage device with multiple storage units and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010201926.9A CN102290089B (en) | 2010-06-17 | 2010-06-17 | Storage device with multiple storage units and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102290089A CN102290089A (en) | 2011-12-21 |
CN102290089B true CN102290089B (en) | 2014-07-16 |
Family
ID=45336423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010201926.9A Expired - Fee Related CN102290089B (en) | 2010-06-17 | 2010-06-17 | Storage device with multiple storage units and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102290089B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970684A (en) * | 2013-02-04 | 2014-08-06 | 联想(北京)有限公司 | Data storage method and electronic device |
CN106293534A (en) * | 2016-08-12 | 2017-01-04 | 深圳市金泰克半导体有限公司 | A kind of solid state hard disc with multiple-working mode and its implementation |
JP6808507B2 (en) * | 2017-01-25 | 2021-01-06 | キヤノン株式会社 | Information processing equipment, its control method, and programs |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1460210A (en) * | 2001-04-25 | 2003-12-03 | 成津C&C株式会社 | Device and method for preventing damage to computer operating system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3629517B2 (en) * | 2001-01-31 | 2005-03-16 | インターナショナル・ビジネス・マシーンズ・コーポレーション | A boot device switching method for an information processing apparatus. |
US20090172382A1 (en) * | 2007-12-27 | 2009-07-02 | Te-Chuan Hsieh | Multi-function computer system |
-
2010
- 2010-06-17 CN CN201010201926.9A patent/CN102290089B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1460210A (en) * | 2001-04-25 | 2003-12-03 | 成津C&C株式会社 | Device and method for preventing damage to computer operating system |
Also Published As
Publication number | Publication date |
---|---|
CN102290089A (en) | 2011-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8412876B2 (en) | Storage device with multiple storage units and control method thereof | |
KR102168838B1 (en) | Mapping tables for storage devices | |
US9110787B2 (en) | Initiating memory wear leveling | |
JP4327585B2 (en) | Storage device | |
JP4791286B2 (en) | Disk device and electronic device | |
US20120072755A1 (en) | Method of controlling operation mode of storage device, and storage device implementing the storage | |
US9015459B2 (en) | Method of initializing operation of a memory system | |
CN101494086A (en) | Flash memory storage device, flash memory controller and switching method thereof | |
TWI450096B (en) | An expandable hybrid storage device and computer system and control method | |
WO2008022567A1 (en) | Flash memory body storing mechanism with data restoring function | |
KR20130024271A (en) | Storage system including hdd and nvm | |
US8626985B2 (en) | Hybrid optical disk drive, method of operating the same, and electronic system adopting the hybrid optical disk drive | |
TWI454922B (en) | Memory storage device and memory controller and data writing method thereof | |
KR20040074432A (en) | Potable very small data storage device | |
CN102290089B (en) | Storage device with multiple storage units and control method thereof | |
CN105244056A (en) | Solid state disk device | |
JP4533960B2 (en) | Storage device and information processing device | |
TWI608418B (en) | Storage device with multiple storage units and its control method | |
JP2020177415A (en) | Information processing device, control method thereof and program | |
JP2008059007A (en) | Semiconductor memory device | |
US20060242359A1 (en) | Data storage device | |
TWI390399B (en) | External device having a virtual storage device | |
JP2011022752A (en) | Storage controller and control method | |
TWI410802B (en) | Storage system for enhancing operation speed and the peocedure thereof | |
TWM347614U (en) | Device of information backup |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: XINGFUJU FUERMOSHA CO., LTD. Free format text: FORMER OWNER: YU JUNDE Effective date: 20130529 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20130529 Address after: China Taiwan Taipei Songshan Road four No. 678 pate 7 floor 3 Applicant after: HAPPY HABITAT FORMOSA CO., LTD. Address before: Taipei City, Taiwan, China Applicant before: Yu Junde |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: China Taiwan Taipei Songshan Road four No. 678 pate 7 floor 3 Patentee after: Happy New Technology Co.,Ltd. Address before: China Taiwan Taipei Songshan Road four No. 678 pate 7 floor 3 Patentee before: XINGFUJU FORMOSA Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140716 Termination date: 20210617 |