TWI608418B - Storage device with multiple storage units and its control method - Google Patents

Storage device with multiple storage units and its control method Download PDF

Info

Publication number
TWI608418B
TWI608418B TW099118410A TW99118410A TWI608418B TW I608418 B TWI608418 B TW I608418B TW 099118410 A TW099118410 A TW 099118410A TW 99118410 A TW99118410 A TW 99118410A TW I608418 B TWI608418 B TW I608418B
Authority
TW
Taiwan
Prior art keywords
storage unit
unit
solid state
storage device
control unit
Prior art date
Application number
TW099118410A
Other languages
Chinese (zh)
Other versions
TW201145165A (en
Inventor
Jun De Yu
Original Assignee
Felicity Taiwan Corp
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 Felicity Taiwan Corp filed Critical Felicity Taiwan Corp
Priority to TW099118410A priority Critical patent/TWI608418B/en
Publication of TW201145165A publication Critical patent/TW201145165A/en
Application granted granted Critical
Publication of TWI608418B publication Critical patent/TWI608418B/en

Links

Description

具有多儲存單元之儲存裝置及其控制方法 Storage device with multiple storage units and control method thereof

本發明係有關於一種具有多儲存單元之儲存裝置及其控制方法,尤指設有至少兩個儲存單元,且其中之一為固態儲存單元之儲存裝置。 The invention relates to a storage device with multiple storage units and a control method thereof, in particular to a storage device provided with at least two storage units, one of which is a solid storage unit.

按,個人電腦都是以硬碟機(Hard Disk Drive,簡稱HDD)作為作業系統的載入裝置,其使用堅硬的旋轉碟片為基礎的非揮發性(non-volatile)儲存裝置,並在平整的磁性表面儲存和檢索數位資料。資訊透過離磁性表面很近的磁頭,由電磁流來改變極性方式被電磁流寫到磁碟上。資訊可以透過相反的方式回讀,例如磁場導致線圈中電力的改變或磁頭經過它的上方。 Press, the personal computer is a Hard Disk Drive (HDD) as the loading device of the operating system, which uses a rigid rotating disc-based non-volatile storage device and is flat. The magnetic surface stores and retrieves digital data. The information is written to the disk by electromagnetic flow through a magnetic head that is close to the magnetic surface and is changed in polarity by electromagnetic flow. Information can be read back in the opposite way, such as a magnetic field causing a change in power in the coil or a head passing over it.

且隨著各式電子產品的發展,硬碟機發展各式不同的標準尺寸以應用在這些電子產品中,例如:0.85英寸,多用於手機等攜帶裝置中。1英寸(微型硬碟,MicroDrive),多用於數位相機(CF type II介面)。1.8英寸,多用於筆記型電腦及外置硬碟盒中。2.5英寸,多用於筆記型電腦及外置硬碟盒中。3.5英寸,多用於桌上型電腦中,採用3.5"硬碟的外置硬碟盒需要外接電源、比較不方便。 With the development of various electronic products, hard disk drives have developed various standard sizes for use in these electronic products, for example, 0.85 inches, which are mostly used in portable devices such as mobile phones. 1 inch (micro hard drive, 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 using 3.5" hard disk requires external power supply, which is inconvenient.

後有進者,改採用永久性記憶體來取代硬碟機,這種基於永久性記憶體,如快閃記憶體的電腦外部儲存裝置稱為固態硬碟(Solid State Disk、Solid State Drive,簡稱SSD)。固態硬碟被製作成與常規硬碟相同的外形,例如常見的1.8英寸、2.5英寸或3.5英寸規格,並採用了相互相容的介面,用來在電腦中代替前述的標準尺寸的硬碟機(HDD)。雖然在固態硬碟中已經沒有可以旋轉的盤狀磁碟結構,但是依照命名習慣,這類記憶體仍然被稱為「硬碟」。 Later, there is a permanent memory instead of a hard disk drive. This external storage device based on permanent memory, such as flash memory, is called Solid State Disk (Solid State Disk, Solid State Drive, short for SSD). Solid-state hard drives are made in the same shape as conventional hard drives, such as the usual 1.8-inch, 2.5-inch or 3.5-inch sizes, and use a compatible interface to replace the aforementioned standard-size hard drive in a computer. (HDD). Although there is no disc-shaped disk structure that can be rotated in the solid state hard disk, according to the naming convention, such memory is still called a "hard disk."

雖然固態硬碟(SSD)具有低功耗、無噪音、抗震動、低 熱量的特點。這些特點不僅使得資料能更加安全地得到保存,而且也延長了靠電池供電的裝置的連續運轉時間。然而成本及使用壽命是限制固態硬碟普及的最大問題。目前無論是永久性記憶體還是非永久性記憶體,其每百萬位元組成本都遠遠高於硬碟機,且由於Flash Memory都有一定的寫入壽命、而且壽命屆滿後資料會讀不出來,因此成為大眾接受固態硬碟的另一個障礙。再者固態硬碟數據損壞後是難以修復的,當負責儲存資料的快閃記憶體顆粒有毀損,現時的數據修復技術是不可能在損壞的晶片中救回資料,反觀傳統機械硬碟(HDD)或許還能挽回一些數據。 Although solid state drives (SSDs) have low power consumption, no noise, vibration resistance, and low The characteristics of heat. These features not only make the data more secure, but also extend the continuous running time of battery-powered devices. However, cost and service life are the biggest problems limiting the popularity of solid state drives. At present, whether it is permanent memory or non-permanent memory, its composition per million is far higher than that of hard disk drives, and since Flash Memory has a certain write life, and the data will be read after the life span expires. Not coming out, it has become another obstacle for the public to accept solid state drives. In addition, the hard disk data is difficult to repair after the data is damaged. When the flash memory particles responsible for storing data are damaged, the current data repair technology is impossible to save the data in the damaged chip, and the traditional mechanical hard disk (HDD) ) Maybe still recover some data.

另外使用硬碟機作為作業裝置與使用快閃記憶體作為作業裝置其優缺點,如下: In addition, the advantages and disadvantages of using a hard disk drive as a working device and using flash memory as a working device are as follows:

1.使用硬碟機,主要優點是記憶容量大,以目前硬碟機的產品規格而言,500GB及640GB已經可以大量生產且未來記憶容量將還會更大,這樣的容量對於大部份的使用者而言是足夠的。但是相對於快閃記憶體作儲存單元,硬碟機有不少缺點,包括耗電量大、溫度高以及噪音等等,但是最大的致命缺點則是其穩定度,兩吋半硬碟機的轉軸馬達(Spindle motor)一般有5,400rpm(每分鐘旋轉5,400圈)或7,200rpm甚至達10,000rpm,硬碟機高速旋轉之下很容易因為外部的碰撞、震動而受損,一旦磁軌受損,記錄於磁軌上的資料就很容易全部或部份毀損,這一直是電腦使用者最大的痛。 1. The main advantage of using a hard disk drive is that the memory capacity is large. In terms of the current product specifications of the hard disk drive, 500GB and 640GB can be mass-produced and the memory capacity will be larger in the future. It is sufficient for the user. However, compared to flash memory as a storage unit, hard disk drives have many shortcomings, including large power consumption, high temperature and noise, etc., but the biggest fatal flaw is its stability, two and a half hard disk drives. The Spindle motor generally has 5,400 rpm (5,400 laps per minute) or 7,200 rpm or even 10,000 rpm. The hard disk drive is easily damaged by external impact and vibration at high speed. Once the track is damaged, The data recorded on the track is easily destroyed in whole or in part, which has been the biggest pain for computer users.

2.使用快閃記憶體,主要優點是速度快與無噪音(因不需馬達),但是缺點就是容量太小,且成本過高。目前單顆快閃記憶體容量約為8GB或16GB,因此,若要達到640GB容量則需40顆快閃記憶體。但是若僅僅儲存作業系統及一般的應用程式,16GB或32GB是足夠的。 2. The use of flash memory, the main advantage is fast and no noise (because no motor), but the disadvantage is that the capacity is too small, and the cost is too high. At present, the capacity of a single flash memory is about 8GB or 16GB, so 40 flash memory is required to reach 640GB capacity. However, if only the operating system and general applications are stored, 16GB or 32GB is sufficient.

緣是,有鑑於習知技術之各項問題,為了能夠兼顧解決 之,發明人基於多年從事相關領域的研究開發與諸多實務經驗,乃思及改良之意念,窮其個人之專業知識,並經多方研究與專題探討,終於成功研發完成本件「具有多儲存單元之儲存裝置及其控制方法」一案,實為一具功效增進之創作。 The reason is that in view of the problems of the prior art, in order to be able to solve the problem Inventors, based on years of research and development in related fields and many practical experiences, are thinking and improving ideas, poor personal expertise, and through multi-disciplinary research and topical discussions, have finally successfully developed this piece "with multiple storage units." The case of the storage device and its control method is actually an effect-enhancing creation.

爰此,為有效解決上述之問題,本發明主要目的提供一種在具有一第一儲存單元之一硬碟機或一固態硬碟機中另外設有至少一固態儲存單元作為首選開機執行單元,並與該第一儲存單元互為備援及更新。 Therefore, in order to effectively solve the above problems, the main object of the present invention is to provide at least one solid state storage unit as a preferred boot execution unit in a hard disk drive or a solid state drive having a first storage unit, and The first storage unit is redundant and updated with each other.

本發明另一目的為以一固態儲存單元處於電源開啟狀態並作為開機執行單元,而第一儲存單元及其他固態儲存單元則處於電源關閉狀態,如此一來不僅可以達到高速開機、節省耗電與低噪音之效果,同時因為其他儲存單元的電源關閉的則不會產生中毒與因震動撞擊毀損的風險。 Another object of the present invention is to use a solid state storage unit in a power-on state and as a power-on execution unit, and the first storage unit and other solid-state storage units are in a power-off state, so that not only high-speed power-on, but also power-saving and power saving can be achieved. The low noise effect, while the power of other storage units is turned off, there is no risk of poisoning and damage due to shock.

本發明另一目的為在一儲存裝置中具有一開機執行單元及至少一備援執行單元,若該開機執行單元毀損,則立即切換為備援執行單元替代該開機執行單元,不需另外的儲存裝置即可達到備援與替代開機的技術特徵。 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, immediately switch to the backup execution unit instead of the boot execution unit, without additional storage. The device can achieve the technical features of backup and replacement.

本發明另一目的為一儲存裝置中設有至少一傳輸介面,並經該多工控制單元控制各儲存單元共同使用一介面傳輸介面或每一儲存單元分別對應使用一傳輸介面的儲存裝置。 Another object of the present invention is to provide at least one transmission interface in a storage device, and control, by the multiplex control unit, each storage unit to use an interface transmission interface or a storage device corresponding to each storage unit.

本發明另一目的為提供一種控制方法,用以控制一儲存裝置內的複數儲存單元的電源開及關。 Another object of the present invention is to provide a control method for controlling power on and off of a plurality of storage units in a storage device.

為達上述之目的,本發明之一具體實施為一種具有多儲存單元之儲存裝置,係應用一系統端中,該儲存裝置包括:至少一介面單元,係與該系統端電性連接;一第一儲存單元,具有一軟體元件包括至少一作業系統;至少一記憶體固態儲存單 元,與該第一儲存單元互為備援及更新,並儲存有前述軟體元件,且作為首選開機執行單元;一多工控制單元,係透過該介面單元與該系統端資料傳輸,並存取該第一儲存單元及該等固態儲存單元內的軟體元件,且根據一工作模式參數產生一模式選擇訊號;一電源控制單元,係分別連接該多工控制單元及該第一儲存單元與該等固態儲存單元,根據該模式選擇訊號控制該第一儲存單元及該等固態儲存單元之電源開及關。 In order to achieve the above object, one embodiment of the present invention is a storage device having multiple storage units, which is applied to a system end, the storage device includes: at least one interface unit electrically connected to the system end; a storage unit having a software component including at least one operating system; at least one memory solid storage order And the first storage unit is mutually redundant and updated, and stores the foregoing software component, and is used as a preferred boot execution unit; a multiplex control unit transmits and accesses data through the interface unit and the system end The first storage unit and the software components in the solid state storage units generate a mode selection signal according to an operating mode parameter; a power control unit is respectively connected to the multiplex control unit and the first storage unit and the same The solid state storage unit controls the power of the first storage unit and the solid storage unit to be turned on and off 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 the transmission interface of Parallel ATA series and Serial ATA series and SCSI series and USB series and SAS series. The foregoing operation mode selection unit further includes a synchronization update parameter. The multiplex control unit generates a synchronization update signal according to the synchronization update parameter. The first storage unit is any one of a hard disk component and a solid component. The hard disk type component includes: a spindle motor drives a plurality of media rotations, and a plurality of arm actuators respectively actuate a head by a head positioner motor (Read) Write Head) is accessed on the media. The aforementioned solid state storage unit includes a first solid state storage unit as the preferred boot execution unit.

前述第一儲存單元為備援開機執行單元。前述固態儲存單元包括一第一固態儲存單元及一第二固態儲存單元,該第一記憶體儲存單元為該首選開機執行單元,該第二固態儲存單元為備援開機執行單元。前述第一固態儲存單元為首選開機執行單元,該第二固態儲存單元為備援開機執行單元。 The foregoing first storage unit is a backup boot execution unit. The solid state storage unit includes a first solid state storage unit and a second solid state storage unit. The first memory storage unit is the preferred booting execution unit, and the second solid state storage unit is a backup booting execution unit. The first solid state storage unit is a preferred boot execution unit, and the second solid state storage unit is a backup boot execution unit.

本發明係應用在一種電子設備,該電子設備經該介面單元與該多工控制單元連接。前述電子設備包括電腦及攜帶式機器。所述之攜帶式機器包括手機及個人數位助理及攝錄影機及數位相機。 The invention is applied to an electronic device connected to the multiplex control unit via the interface unit. The aforementioned electronic device includes a computer and a portable machine. The portable device includes a mobile phone and a personal digital assistant and a video camera and a digital camera.

為使更進一步瞭解本發明之特徵及技術內容,請參閱以下有關本發明之詳細說明與附圖。 For a further understanding of the features and technical aspects of the present invention, reference should be made

本發明係提供一種具有多儲存單元之儲存裝置及其控制方法,圖示係為本發明較佳實施例,請參閱第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 having multiple storage units and a control method thereof. The present invention is a preferred embodiment of the present invention. Referring to FIG. 1 , a storage device 10 having a plurality of storage units and a system connection diagram thereof are provided. The storage device 10 is applied to a system terminal 20, wherein the system terminal 20 has an interface 21, and the interface unit 11 of the storage device 10 is coupled to the interface 21 via a transmission line 22, and the storage device 10 is of a standard size (eg, 0.85 inch, 1 inch, 1.8 inch, 2.5 inch, 3.5 inch, etc. hard disk drive (HDD) or solid state drive (SSD), the system end 20 is specifically an electronic device including a computer and a portable machine, the carrying The machine includes a mobile phone and a personal digital assistant and a video camera and a digital camera.

如第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 storage unit, a multiplex control unit 14, and a power control unit 15.

前述介面單元11具有至少一傳輸介面與該系統端20的介面21電性連接,該傳輸介面包括:Parallel ATA系列及Serial ATA(簡稱SATA)系列及SCSI系列及USB系列及SAS系列之傳輸介面其中任一,所謂的系列例如:SAS I及SAS Ⅱ或USB1.0及USB2.0及USB3.0或SATA I及SATA Ⅱ及SATA Ⅲ等。 The interface unit 11 has at least one transmission interface electrically connected to the interface 21 of the system end 20, and the transmission interface includes: a Parallel ATA series and a Serial ATA (SATA) series, and a transmission interface of the SCSI series and the USB series and the SAS series. Any of the so-called series are: SAS I and SAS II or USB 1.0 and USB 2.0 and USB 3.0 or SATA I and SATA II and SATA III.

在本發明中一個儲存裝置10該介面單元11可以僅有一個傳輸介面,或者設有兩個傳輸介面或兩個以上傳輸介面,其中兩個或兩個以上的傳輸介面可以是相同系列或不相同系列,例如其中之一為SATA系列另一則為USB系列。 In the storage device 10 of the present invention, the interface unit 11 may have only one transmission interface, or two transmission interfaces or two or more transmission interfaces, wherein two or more transmission interfaces may be the same series or different. The series, for example one of them is the SATA series and the other is the USB series.

前述第一儲存單元12具有一軟體元件17,該軟體元件17包括至少一作業系統及驅動程式及規劃時程應用程式及資料,該第一儲存單元12可以為一機械式硬碟或一固態式硬碟。該第一儲存單元12為機械式硬碟,則該第一儲存單元12 包括一馬達(spindle motor)帶動複數磁片(media)旋轉,及複數驅動臂(arm actutor)其一端分別設有一磁頭(Head),另一端藉由一磁頭定位馬達(Head positioner motor)帶動,以令該磁頭在該磁片上讀寫資料。該固態式硬碟機(SSD)包括永久性記憶體,如快閃記憶體等。 The first storage unit 12 has a software component 17 including at least one operating system and a driver and a planning application and data. The first storage unit 12 can be a mechanical hard disk or a solid state. Hard drive. The first storage unit 12 is a mechanical hard disk, and the first storage unit 12 The utility model comprises a spindle motor for driving a plurality of media pieces, and an arm actuor having a head at one end and a head positioner motor at the other end. The magnetic head is caused to read and write data on the magnetic sheet. The solid state drive (SSD) includes permanent memory such as flash memory.

如第2圖所示,前述固態儲存單元包括一第一固態儲存單元131與該第一儲存單元12互為備援及更新,並儲存有前述軟體元件,且作為首選開機執行單元,則該第一儲存單元12做為備援開機執行單元,在該第一固態儲存單元131不能開機或中毒或毀損時,該第一儲存單元12立即開機運作,並對該第一固態儲存單元131重新格式化,及將第一儲存單元12內的軟體元件複製到第一固態儲存單元131內,本發明將以第2圖作為主要實施說明。 As shown in FIG. 2, the solid state storage unit includes a first solid state storage unit 131 and the first storage unit 12 are mutually redundant and updated, and the foregoing software component is stored, and the booting execution unit is the preferred booting unit. A storage unit 12 is used as a backup power-on execution unit. When the first solid-state storage unit 131 cannot be powered on or poisoned or damaged, the first storage unit 12 immediately starts to operate and reformats the first solid-state storage unit 131. And copying the software components in the first storage unit 12 into the first solid-state storage unit 131. The present invention will be described with reference to FIG. 2 as a main implementation.

另外前述不侷限本發明的實施,亦可如第3圖所示,該固態儲存單元包括一第一固態儲存單元131與一第二固態儲存單元132與該第一儲存單元12三者互為備援及更新,其中該第一固態儲存單元131作為首選開機執行單元,該第二固態儲存單元132作為第一備援開機執行單元,該第一儲存單元則作為第二備援開機執行單元。 The foregoing solid storage unit includes a first solid state storage unit 131 and a second solid state storage unit 132 and the first storage unit 12. The first solid-state storage unit 131 serves as a first boot-up execution unit, and the first storage unit serves as a second backup boot-up unit.

前述多工控制單元14,為一積體電路處理器(IC Processor)其內包括控制軔體(Firmware)及控制晶片(Chip),該多工控制單元14係透過前述介面單元11與該系統端20資料傳輸,並存取該第一儲存單元12及該等固態儲存單元(如第一固態儲存單元131及第二固態儲存單元132)內的軟體元件。如圖二所示,該多功控制單元14分別透過第一傳輸線31與第二傳輸線32以控制該第一儲存單元12與第一固態儲存單元131。 The multiplex control unit 14 is an IC processor including a control device and a control chip. The multiplex control unit 14 transmits the interface unit 11 and the system end. The data is transmitted and accesses the software components in the first storage unit 12 and the solid state storage units (such as the first solid state storage unit 131 and the second solid state storage unit 132). As shown in FIG. 2 , the multi-function control unit 14 passes through the first transmission line 31 and the second transmission line 32 to control the first storage unit 12 and the first solid-state storage unit 131 .

前述多工控制單元14包括複數參數建立在該軔體內,該 等參數包括工作模式參數及同步更新參數及三儲存單元資料備援參數(如表1),該多工控制單元14根據該工作模式參數(如表1)產生模式選擇訊號,根據該同步更新參數(如表1)產生同步更新訊號,該三儲存單元資料備援參數則應用如第3圖在本發明儲存裝置10有內建有三個儲存單元時使用,其詳細將在後面介紹。 The foregoing multiplex control unit 14 includes a plurality of parameters established in the body, The parameters include the working mode parameter and the synchronous update parameter and the three storage unit data backup parameters (such as Table 1). The multiplex control unit 14 generates a mode selection signal according to the working mode parameter (such as Table 1), and updates the parameter according to the synchronization parameter. (Scheme 1) A synchronous update signal is generated. The three storage unit data backup parameters are applied as shown in FIG. 3 when the storage device 10 of the present invention has three built-in storage units, which will be described later.

所述模式選擇訊號係根據標準工作模式參數及智慧型操作模式參數決定該儲存裝置10的工作模式是在標準操作模式或智慧型操作模式;所述同步更新參數使用於智慧型操作模式下,且該同步更新訊號係依據同步更新參數決定自動同步更新在該第一儲存單元12及該第一固態儲存單元131內的軟體元件17的時間。 The mode selection signal determines whether the working mode of the storage device 10 is in a standard operation mode or a smart operation mode according to the standard working mode parameter and the intelligent operation mode parameter; the synchronization update parameter is used in the smart operation mode, and The synchronization update signal determines the time for automatically updating the software component 17 in the first storage unit 12 and the first solid state storage unit 131 according to the synchronization update parameter.

前述電源控制單元15具體為一電源控制IC,係分別連接該多工控制單元14及該第一儲存單元12與該第一固態儲存單元131,根據該多工控制單元14產生的模式選擇訊號以控制 該第一儲存單元12及該第一固態儲存單元131之電源開或關。 The power control unit 15 is specifically a power control IC, which is respectively connected to the multiplex control unit 14 and the first storage unit 12 and the first solid storage unit 131, and selects a signal according to a mode generated by the multiplex control unit 14. control The power of the first storage unit 12 and the first solid state storage unit 131 is turned on or off.

另外如第4圖所示,為本發明另一較佳實施,其整體與前述實施相同,惟不同處在於該儲存裝置10更包括:一操作模式選擇單元16具體實施為一顆EEPROM IC並與該多工控制單元14連結,且該等工作模式參數及同步更新參數及三儲存單元資料備援參數(如上表1)係內建在該操作模式選擇單元16內,非內建在該多工控制單元14的韌體內。 In addition, as shown in FIG. 4, another preferred embodiment of the present invention is the same as the foregoing implementation, except that the storage device 10 further includes: an operation mode selection unit 16 is embodied as an EEPROM IC and The multiplex control unit 14 is coupled, and the operating mode parameters and the synchronous update parameters and the three storage unit data backup parameters (as in Table 1 above) are built in the operating mode selecting unit 16, and are not built in the multiplex The tough body of the control unit 14.

前述多工控制單元14根據操作模式選擇單元16內的參數產生如前一實施例所述的模式選擇訊號、同步更新訊號及三儲存單元資料備援參數的控制。 The multiplex control unit 14 generates the control of the mode selection signal, the synchronization update signal, and the three storage unit data backup parameters according to the previous embodiment according to the parameters in the operation mode selection unit 16.

請續參閱第1、2及5圖所示,上述儲存裝置10的控制方法如下列步驟:(SP10)系統端20開機,多工控制單元14接收到系統端20的開機訊號隨即進行自我檢查動作,並藉由介面單元11經傳輸線22與系統端20連接通訊,以決定使用的傳輸介面種類;傳輸介面初始設定為S-ATA,但是該多工控制單元14可依實際連接去判斷切換為其它傳輸種類例如USB;(SP20)工作模式選擇,儲存裝置10內的多工控制單元14係發送一模式選擇要求到系統端20,系統端20選擇標準工作模式及智慧型工作模式其中任一,其中系統端可從一基本輸出入系統(BIOS)或作業系統(O.S)環境下以一應用程式來選擇工作模式;(SP100)選擇標準工作模式,多工控制單元14送出該第一儲存單元12及第一固態儲存單元131的資訊(包括製造商、產品型號及容量)至系統端20,在此工作模式 下,對於系統端而言如同複數個儲存裝置同時與系統相接,例如一個人電腦同時安裝了Drive C(如第一固態儲存單元131)及Drive D(如第一儲存單元12);(SP110)選擇開機執行裝置,系統端20讀取第一儲存單元12及第一固態儲存單元131,並選擇其中一為開機執行裝置,以本發明較佳實施而言該第一固態儲存單元131為首選開機執行裝置;(SP120)選擇第一固態儲存單元131為開機執行裝置,多工控制單元14透過介面單元11將第一固態儲存單元131內的軟體元件17傳至系統端20,完成作業系統載入;(SP130)選擇第一儲存單元12為開機執行裝置,多工控制單元14透過介面單元11將第一儲存單元12內的軟體元件17傳至系統端20,完成作業系統載入;(SP28)進行一般操作或關機。 Referring to Figures 1, 2 and 5, the control method of the storage device 10 is as follows: (SP10) The system terminal 20 is powered on, and the multiplex control unit 14 receives the boot signal of the system terminal 20 and then performs a self-checking action. And the interface unit 11 is connected to the system end 20 via the transmission line 22 to determine the type of the transmission interface to be used; the transmission interface is initially set to S-ATA, but the multiplex control unit 14 can determine to switch to other according to the actual connection. Transmission type such as USB; (SP20) working mode selection, the multiplex control unit 14 in the storage device 10 transmits a mode selection request to the system terminal 20, and the system terminal 20 selects either the standard working mode or the intelligent working mode, wherein The system can select an operating mode by an application from a basic input/output system (BIOS) or an operating system (OS) environment; (SP100) selects a standard working mode, and the multiplex control unit 14 sends the first storage unit 12 and Information (including manufacturer, product model and capacity) of the first solid state storage unit 131 to the system end 20, in this working mode For the system side, as many storage devices are connected to the system at the same time, for example, a personal computer is equipped with a Drive C (such as the first solid state storage unit 131) and a Drive D (such as the first storage unit 12); (SP110) Selecting the booting device, the system terminal 20 reads the first storage unit 12 and the first solid state storage unit 131, and selects one of them to be the booting device. In the preferred embodiment of the present invention, the first solid state storage unit 131 is the preferred booting device. Executing the device; (SP120) selecting the first solid state storage unit 131 as the booting execution device, and the multiplex control unit 14 transmits the software component 17 in the first solid state storage unit 131 to the system end 20 through the interface unit 11 to complete the loading of the operating system. (SP130) selects the first storage unit 12 as the booting execution device, and the multiplex control unit 14 transmits the software component 17 in the first storage unit 12 to the system end 20 through the interface unit 11 to complete the loading of the operating system; (SP28) Perform general operations or shut down.

在作業系統載入後,該儲存裝置10即可根據系統端20的要求去執行的對第一儲存單元12或第一固態儲存單元131的讀出與寫入等動作,或者系統端20在作業系統中操作關機,進而關閉儲存裝置10。 After the operating system is loaded, the storage device 10 can perform the operations of reading and writing the first storage unit 12 or the first solid-state storage unit 131 according to the requirements of the system end 20, or the system end 20 is working. The system is shut down in operation, thereby turning off the storage device 10.

請續參考第1、2及6圖所示,系統端20選擇智慧型工作模式則其步驟如下: Please continue to refer to Figures 1, 2 and 6 and the system side 20 selects the smart working mode. The steps are as follows:

(SP200)選擇智慧型工作模式,多工控制單元14送出該第一儲存單元12及第一固態儲存單元131的資訊(包括製造商、產品型號及容量)至系統端20,在此工作模式下,對於系統端而言如同複數個儲存裝置同時與系統相接,例如一個人電腦同時安裝了Drive C(如第一固態儲存單元131)及Drive D(如第一儲存單元 12)。 (SP200) selecting a smart working mode, the multiplex control unit 14 sends the information (including the manufacturer, product model and capacity) of the first storage unit 12 and the first solid storage unit 131 to the system end 20, in this working mode For the system side, as many storage devices are connected to the system at the same time, for example, a personal computer is equipped with a Drive C (such as the first solid-state storage unit 131) and a Drive D (such as the first storage unit). 12).

(SP210)選擇開機執行裝置,系統端20讀取第一儲存單元12及第一固態儲存單元131,並選擇其中一為開機執行裝置,以本發明較佳實施而言該第一固態儲存單元131為首選開機執行裝置。 (SP210) Selecting the booting execution device, 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 booting execution device. In the preferred embodiment of the present invention, the first solid state storage unit 131 It is the preferred boot device.

(SP220)選擇第一固態儲存單元131為開機執行裝置,多工控制單元14經由該電源控制單元15開啟第一固態儲存單元131的電源,並關閉該第一儲存單元12的電源,並透過介面單元11將第一固態儲存單元11內的軟體元件17傳至系統端20,完成作業系統載入。 (SP220) selecting the first solid state storage unit 131 as the booting execution device, and the multiplex control unit 14 turns on the power of the first solid state storage unit 131 via the power control unit 15, and turns off the power of the first storage unit 12, and through the interface The unit 11 transmits the software component 17 in the first solid state storage unit 11 to the system end 20 to complete the loading of the operating system.

(SP230)選擇第一儲存單元12為開機裝置,多工控制單元14經由該電源控制單元15開啟第一儲存單元12的電源,並關閉該第一固態儲存單元131的電源,並透過介面單元11將第一儲存單元12內的軟體元件17傳至系統端20,完成作業系統載入。 (SP230), the first storage unit 12 is selected as the booting device, and the multiplex control unit 14 turns on the power of the first storage unit 12 via the power control unit 15, and turns off the power of the first solid-state storage unit 131, and transmits the power through the interface unit 11. The software component 17 in the first storage unit 12 is transferred to the system end 20 to complete the loading of the operating system.

(SP240)設定同步更新參數及開始計時。 (SP240) Set the synchronization update parameters and start timing.

在本步驟中同步更新參數如表1,系統端設定Default自動同步更新參數所對應的時間,且更可進一步依照使用者的需要去變更設定時間,儲存裝置10的多工控制單元14則根據最後一次所設定的自動同步更新參數的時間後,在多工控制單元14內之一計時器根據同步更新參數所對應的時間開始計時。 In this step, the synchronization update parameters are as shown in Table 1. The system side sets the time corresponding to the Default automatic synchronization update parameter, and the setting time can be further changed according to the user's needs. The multiplex control unit 14 of the storage device 10 is based on the last. After the set time of the automatic synchronization update parameter is once, one of the timers in the multiplex control unit 14 starts counting according to the time corresponding to the synchronization update parameter.

(SP250)一般操作及判斷時間到否。 (SP250) General operation and judgment time is up.

一般操作係為該作業系統載入後,該儲存裝置10即可根據系統端20的要求去執行的對第一儲存單元12或第一固態儲存單元131的讀出與寫入等動作,且在執行一般操作的同時該多工控制單元14判斷計時器的計時是否到達所對應的時間,如果是則進行步驟SP260,若否則進行步驟SP29。 The general operation is the operation of reading and writing the first storage unit 12 or the first solid storage unit 131 according to the requirements of the system end 20 after the loading of the operating system, and While performing the normal operation, the multiplex control unit 14 determines whether the timer has reached the corresponding time, and if so, proceeds to step SP260, otherwise proceeds to step SP29.

(SP260)備援更新。 (SP260) Backup update.

在本步驟中多工控制單元14執行資料複製動作,比較第一儲存單元12及第一固態儲存單元131兩者的檔案內容,將新檔案或同檔名但資料日期時間最新者複製到這兩者的其中之一者,這樣的目的可以預防這兩者其中任一儲存單元資料毀損時可以立即恢復,其具體執行的次步驟如下: In this step, the multiplex control unit 14 performs a data copying operation, compares the file contents of both 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 the reasons, such a purpose can prevent the recovery of any of the two storage unit data can be immediately restored, the specific steps of the implementation are as follows:

(SP261)電源開啟,多工控制單元14開啟第一儲存單元12(或第一固態儲存單元131)的電源。 (SP261) The power is turned on, and the multiplex control unit 14 turns on the power of the first storage unit 12 (or the first solid storage unit 131).

(SP262)複製檔案,將第一固態儲存單元131(或第一儲存單元12)的最新更新檔案複製到第一儲存單元12(或第一固態儲存單元131)。 (SP262) Copy the file and 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).

(SP263)電源關閉,複製完成後關閉第一儲存單元12(或第一固態儲存單元131)之電源。 (SP263) The power is turned off, and the power of the first storage unit 12 (or the first solid-state storage unit 131) is turned off after the copying is completed.

(SP264)重新讀取(reread)同步更新參數(如表1)後跳至(SP29)。 (SP264) Reread the synchronous update parameters (as in Table 1) and jump to (SP29).

(SP29)判斷是否關機。 (SP29) Determine if it is turned off.

在本步驟中多工控制單元14判斷系統端20是否選擇關機,若是則進行步驟SP30,若否則表示系統端20還在進行一般操作,並回到步驟SP550執行一般操作及判斷時間到否。 In this step, the multiplex control unit 14 determines whether the system terminal 20 selects to shut down, and if so, proceeds to step SP30. Otherwise, it indicates that the system terminal 20 is still performing normal operations, and returns to step SP550 to perform a general operation and judges that the time is up.

(SP30)關機。 (SP30) Shut down.

系統端20在作業系統中操作關機,進而關閉儲存裝置10。 The system terminal 20 is shut down in the operating system to shut down the storage device 10.

另外請參考第1、3及7圖所示,儲存裝置10內包括第一固態儲存單元131與一第二固態儲存單元132與該第一儲存單元12的控制方法如下:(SP10)系統端20開機,多工控制單元14接收到系統端20 的開機訊號隨即進行自我檢查動作,並藉由介面單元11經傳輸線22與系統端20連接通訊,以確認使用的傳輸介面種類;介面初始設定為S-ATA,但是該多工控制單元14可依實際連接切換為其它傳輸種類例如USB;;(SP20)工作模式選擇,儲存裝置10內的多工控制單元14係發送一模式選擇要求到系統端20,系統端20選擇標準工作模式及智慧型工作模式其中任一,其中系統端20可從一基本輸出入系統(BIOS)或作業系統(O.S)環境下以一應用程式來選擇工作模式;;(SP400)選擇標準工作模式,多工控制單元14送出該第一儲存單元12及第一固態儲存單元131及第二固態儲存單元132的資訊(包括製造商、產品型號及容量)至系統端20,在此工作模式下,對於系統端而言如同複數個儲存裝置同時與系統相接,例如一個人電腦同時安裝了Drive C(如第一固態儲存單元131)及Drive D(如第二固態儲存單元132)及Drive E(如第一儲存單元132);(SP410)選擇開機執行裝置,系統端20讀取第一儲存單元12及第一固態儲存單元131及第二固態儲存裝置132,並選擇其中一為開機執行裝置,以本發明較佳實施而言該第一固態儲存單元131為首選開機執行裝置;(SP420)選擇第一固態儲存單元131為開機執行裝置,多工控制單元14透過介面單元11將第一固態儲存單元131內的軟體元件17傳至系統端20,完成作業系統載入;(SP430)選擇第二固態儲存單元132為開機執行裝置,多工控制單元14透過介面單元11將第二固態儲存單元12內的軟體元件17傳至系統端20,完成作業系統載入; (SP28)執行一般操作或關機。 Please refer to the first, third and seventh diagrams. The control method for the first solid state storage unit 131 and the second solid state storage unit 132 and the first storage unit 12 in the storage device 10 is as follows: (SP10) system end 20 Turning on, the multiplex control unit 14 receives the system end 20 The boot signal then performs a self-checking operation, and communicates with the system terminal 20 via the transmission line 22 through the interface unit 11 to confirm the type of the transmission interface used; the interface is initially set to S-ATA, but the multiplex control unit 14 can The actual connection is switched to other transmission types such as USB; (SP20) working mode selection, the multiplex control unit 14 in the storage device 10 sends a mode selection request to the system terminal 20, and the system terminal 20 selects the standard working mode and intelligent work. Any one of the modes, wherein the system terminal 20 can select an operating mode by an application from a basic input/output system (BIOS) or an operating system (OS) environment; (SP400) selects a standard working mode, and the multiplex control unit 14 Sending information (including manufacturer, product model and capacity) of the first storage unit 12 and the first solid storage unit 131 and the second solid storage unit 132 to the system end 20, in this working mode, for the system side A plurality of storage devices are simultaneously connected to the system. For example, a personal computer is equipped with a Drive C (such as the first solid-state storage unit 131) and a Drive D (such as a second solid-state storage). The first storage unit 12 and the first solid storage unit 131 and the second solid storage unit 132 are selected and selected by the system end 20 In one embodiment, the first solid state storage unit 131 is the preferred booting device; (SP420) selects the first solid state storage unit 131 as the booting device, and the multiplex control unit 14 transmits the interface. The unit 11 transmits the software component 17 in the first solid state storage unit 131 to the system end 20 to complete the loading of the operating system; (SP430) selects the second solid state storage unit 132 as the booting execution device, and the multiplex control unit 14 transmits through the interface unit 11 Transfer the software component 17 in the second solid state storage unit 12 to the system end 20 to complete the loading of the operating system; (SP28) Perform general operations or shut down.

在作業系統載入後,該儲存裝置10即可根據系統端20的要求去執行的對第一固態儲存單元131或第二固態儲存單元132的讀出與寫入等動作,或者系統端20在作業系統中操作關機,進而關閉儲存裝置10。 After the operating system is loaded, the storage device 10 can perform the operations of reading and writing the first solid-state storage unit 131 or the second solid-state storage unit 132 according to the requirements of the system end 20, or the system end 20 is The operation is shut down in the operating system, thereby turning off the storage device 10.

另外請參考第1、3及8圖所示,儲存裝置10內包括第一固態儲存單元131與一第二固態儲存單元132與該第一儲存單元12則系統端20選擇智慧型工作模式的步驟如下: In addition, as shown in FIGS. 1 , 3 and 8 , 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 and the system end 20 selects a smart working mode. as follows:

(SP500)選擇智慧型工作模式,多工控制單元14送出該第一儲存單元12及第一固態儲存單元131及第二固態儲存單元132的資訊(包括製造商、產品型號及容量)至系統端20,在此工作模式下,對於系統端20而言如同複數個儲存裝置同時與系統相接,例如一個人電腦同時安裝了Drive C(如第一固態儲存單元131)及Drive D(如第二固態儲存單元132)及Drive E(如第一儲存單元132); (SP500) selects the smart working mode, and the multiplex control unit 14 sends the information (including the manufacturer, product model and capacity) of the first storage unit 12 and the first solid storage unit 131 and the second solid storage unit 132 to the system side. 20, in this working mode, for the system end 20 as 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) The storage unit 132) and the Drive E (such as the first storage unit 132);

(SP510)選擇開機執行裝置,系統端20讀取第一儲存單元12及第一固態儲存單元131及第二固態儲存單元132,並選擇其中一為開機執行裝置,以本發明較佳實施而言該第一固態儲存單元131為首選開機執行裝置; (SP510) Selecting the booting execution device, the system terminal 20 reads the first storage unit 12 and the first solid state storage unit 131 and the second solid state storage unit 132, and selects one of them as the booting execution device, in the preferred embodiment of the present invention. The first solid state storage unit 131 is a preferred booting execution device;

(SP520)選擇第一固態儲存單元131為開機執行裝置,多工控制單元14經由該電源控制單元15開啟第一固態儲存單元131的電源,並關閉該第一儲存單元12及第二固態儲存單元132的電源,並透過介面單元11將第一固態儲存單元11內的軟體元件17傳至系統端20,完成作業系統載入; (SP520) selecting the first solid state storage unit 131 as the booting execution device, and the multiplex control unit 14 turns on the power of the first solid state storage unit 131 via the power control unit 15, and turns off the first storage unit 12 and the second solid state storage unit. The power supply of 132 is transmitted to the system end 20 through the interface unit 11 to transfer the software component 17 in the first solid state storage unit 11 to complete the loading of the operating system;

(SP530)選擇第二固態儲存單元132為開機裝置,多工控制單 元14經由該電源控制單元15開啟第二固態儲存單元12的電源,並關閉該第一儲存單元12及第一固態儲存單元131的電源,並透過介面單元11將第二固態儲存單元132內的軟體元件17傳至系統端20,完成作業系統載入。 (SP530) selecting the second solid state storage unit 132 as the booting device, the multiplex control list The power of the second solid state storage unit 12 is turned on by the power control unit 15 , and the power of the first storage unit 12 and the first solid state storage unit 131 is turned off, and the second solid storage unit 132 is disposed through the interface unit 11 . The software component 17 is passed to the system end 20 to complete the loading of the operating system.

(SP540)設定同步更新參數,並開始計時。 (SP540) Set the synchronization update parameters and start timing.

在本步驟中同步更新參數如表1,依據需求設定Default自動同步更新參數所對應的時間,且更可進一步依照使用者的需要去變更設定時間,儲存裝置10的多工控制單元14則根據最後一次所設定的自動同步更新參數的時間後,在多工控制單元14內之一計時器根據同步更新參數所對應的時間開始計時。 In this step, the synchronization update parameters are as shown in Table 1. The time corresponding to the Default automatic synchronization update parameter is set according to the requirement, 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 is based on the last. After the set time of the automatic synchronization update parameter is once, one of the timers in the multiplex control unit 14 starts counting according to the time corresponding to the synchronization update parameter.

(SP550)一般操作及判斷時間到否。 (SP550) General operation and judgment time is up.

一般操作係為該作業系統載入後,該儲存裝置10即可根據系統端20的要求去執行的對第一儲存單元12或第一固態儲存單元131或第二固態儲存單元132的讀出與寫入等動作,且在執行一般操作的同時該多工控制單元14判斷計時器的計時是否到達所對應的時間,如果是則進行步驟SP560,若否則進行步驟SP29。 The general operation is the readout of the first storage unit 12 or the first solid storage unit 131 or the second solid storage unit 132 according to the requirements of the system end 20 after the operation system is loaded. The operation is written, and the multiplex control unit 14 determines whether or not the timer has reached the corresponding time while performing the normal operation. If yes, the process proceeds to step SP560, otherwise, the process proceeds to step SP29.

(SP560)備援更新。 (SP560) Backup update.

在本步驟中多工控制單元14執行資料複製動作,並根據表1三儲存單元資料備援參數進行備援,備援參數1為第一固態儲存單元131與第二固態儲存單元132彼此備援,此時第一儲存單元12不作動;備援參數2是第一儲存單元12及第一固態儲存單元131與第二固態儲存單元132互為備援,此時這三個儲存單元均作動,多工控制單元14係比較這三個儲存單元的檔案內容,將其中任一儲存單元內的最新檔案或同檔名但資料日期時間最新者複製到另外兩個儲存 單元,這樣的目的可以預防當其中任何一個儲存單元資料毀損時可以立即恢復,多工控制單元14根據備援參數1執行以下的次步驟: In this step, the multiplex control unit 14 performs a data copying operation, and performs backup according to the storage unit data backup parameter of Table 1. The backup parameter 1 is that the first solid-state storage unit 131 and the second solid-state storage unit 132 are mutually redundant. At this time, the first storage unit 12 is not activated; the backup parameter 2 is that the first storage unit 12 and the first solid storage unit 131 and the second solid storage unit 132 are mutually redundant, and at this time, the three storage units are all activated. The multiplex control unit 14 compares the archive contents of the three storage units, and copies the latest file or the same file name in any of the storage units but the latest date of the data to the other two storages. Unit, such a purpose can prevent immediate recovery when any one of the storage unit data is damaged, and the multiplex control unit 14 performs the following secondary steps according to the backup parameter 1:

(SP561)電源開啟,多工控制單元14開啟第二固態儲存單元132(或第一固態儲存單元131)的電源後執行SP562。 (SP561) The power is turned on, and the multiplex control unit 14 turns on the power of the second solid-state storage unit 132 (or the first solid-state storage unit 131) to execute the SP562.

(SP562)複製檔案,將第一固態儲存單元131(或第二固態儲存單元132)的最新更新檔案複製到第二固態儲存單元132(或第一固態儲存單元131)後執行SP562。 (SP562) Copy the file and 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) to execute SP562.

(SP563)電源關閉,複製完成後關閉第二固態儲存單元132(或第一固態儲存單元131)之電源。 (SP563) The power is turned off, and the power of the second solid-state storage unit 132 (or the first solid-state storage unit 131) is turned off after the copying is completed.

(SP564)重新讀取(reread)同步更新參數(如表1)後跳至(SP29)。 (SP564) Reread the synchronization update parameters (as in Table 1) and jump to (SP29).

另外若多工控制單元14根據備援參數2則其執行以下的次步驟: In addition, if the multiplex control unit 14 performs the following secondary steps according to the backup parameter 2:

(SP561)電源開啟,多工控制單元14開啟第一儲存單元12及第二固態儲存單元132(或第一固態儲存單元131)的電源後執行SP562。 (SP561) The power is turned on, and the multiplex control unit 14 turns on the power of the first storage unit 12 and the second solid storage unit 132 (or the first solid storage unit 131) to execute SP562.

(SP562)複製檔案,將第一固態儲存單元131(或第二固態儲存單元132)的最新更新檔案複製到第一儲存單元12及第二固態儲存單元132(或第一固態儲存單元131)後執行SP562。 (SP562) copying the file, copying 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 storage unit 132 (or the first solid state storage unit 131) Execute SP562.

(SP563)電源關閉,複製完成後關閉第一儲存單元12及第二固態儲存單元132(或第一固態儲存單元131)之電源。 (SP563) The power is turned off, and the power of the first storage unit 12 and the second solid storage unit 132 (or the first solid storage unit 131) is turned off after the copying is completed.

(SP564)重新讀取(reread)同步更新參數(如表1)後跳至(SP29)。 (SP564) Reread the synchronization update parameters (as in Table 1) and jump to (SP29).

(SP29)判斷是否關機。 (SP29) Determine if it is turned off.

在本步驟中多工控制單元14判斷系統端20是否選擇關機,若是則進行步驟SP30,若否則表示系統端20還在進行一般操作,並回到步驟SP550執行一般操作及判斷時間到否。 In this step, the multiplex control unit 14 determines whether the system terminal 20 selects to shut down, and if so, proceeds to step SP30. Otherwise, it indicates that the system terminal 20 is still performing normal operations, and returns to step SP550 to perform a general operation and judges that the time is up.

(SP30)關機。 (SP30) Shut down.

系統端20在作業系統中操作關機,進而關閉儲存裝置10。 The system terminal 20 is shut down in the operating system to shut down the storage device 10.

前述兩種工作模式的設定具體可以多種方式之一實現,例如: The setting of the foregoing two working modes can be implemented in one of several ways, for example:

1.在儲存裝置10出廠前,預先設定其工作模式。 1. Before the storage device 10 is shipped from the factory, its working mode is set in advance.

2.透過系統端下命令設定或改變工作模式,系統端下達工作模式設定則通常可以兩方式達成,包括在基本輸出入系統內(BIOS)或以一應用程式在作業系統(O.S.)下執行。 2. Set or change the working mode through the system command. The system-side working mode setting can usually be achieved in two ways, including in the basic input/output system (BIOS) or in an operating system (O.S.).

綜上所述,本發明具備下列各項優點: In summary, the present invention has the following advantages:

1.在具有一第一儲存單元12的儲存裝置10中另外設有至少一固態儲存單元作為首選開機執行單元,並與該第一儲存單元12互為備援及更新。 1. At least one solid state storage unit is additionally provided as the preferred booting execution unit in the storage device 10 having a first storage unit 12, and is mutually redundant and updated with the first storage unit 12.

2.以一固態儲存單元(如第一固態儲存單元131)處於電源開啟狀態並作為開機執行單元,而第一儲存單元12及其他固態儲存單元(如第二固態儲存單元132)則處於電源關閉狀態,如此一來不僅可以達到高速開機、節省耗電與低噪音之效果,同時因為其他儲存單元的電源關閉的則不會產生中毒與因震動撞擊毀損的風險。 2. A solid state storage unit (such as the first solid state storage unit 131) is in a power-on state and serves as a power-on execution unit, and the first storage unit 12 and other solid-state storage units (such as the second solid-state storage unit 132) are powered off. The state, in this way, not only can achieve high-speed boot, save power and low noise, and because the power of other storage units is turned off, there is no risk of poisoning and damage due to shock.

3.在一儲存裝置10中具有一開機執行單元及至少一備援執行單元,若該開機執行單元毀損,則立即切換為備援執行單元替代該開機執行單元,不需另外的儲存裝置即可達到備援與替代開機。 3. 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 is immediately switched to the backup execution unit instead of the boot execution unit, and no additional storage device is needed. Reach backup and replace boot.

4.在一儲存裝置10中的介面單元11設有至少一傳輸介面,並經該多工控制單元控制各儲存單元共同使用一介面傳輸介面或每一儲存單元分別對應使用一傳輸介面的儲存裝置。 4. The interface unit 11 in a storage device 10 is provided with at least one transmission interface, and the multiplex control unit controls the storage units to jointly use an interface transmission interface or each storage unit respectively corresponding to a storage device using a transmission interface. .

5.提供兩種工作模式的控制方法用以控制一儲存裝置內的複數儲存單元。 5. A control method for providing two modes of operation for controlling a plurality of storage units within a storage device.

雖然本發明以實施方式揭露如上,然其並非用以限定本發明,任何熟悉此技藝者,在不脫離本發明的精神和範圍內,當可作各種的更動與潤飾,因此本發明之保護範圍當視後附的申請專利範圍所定者為準。 While the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and the scope of the present invention can be varied and modified without departing from the spirit and scope of the invention. The scope of the patent application is subject to the provisions of the attached patent application.

10‧‧‧儲存裝置 10‧‧‧Storage device

20‧‧‧系統端 20‧‧‧System side

21‧‧‧介面 21‧‧‧ interface

22‧‧‧傳輸線 22‧‧‧ transmission line

11‧‧‧介面單元 11‧‧‧Interface unit

12‧‧‧第一儲存單元 12‧‧‧First storage unit

31‧‧‧第一傳輸線 31‧‧‧First transmission line

32‧‧‧第二傳輸線 32‧‧‧Second transmission line

131‧‧‧第一固態儲存單元 131‧‧‧First solid state storage unit

132‧‧‧第二固態儲存單元 132‧‧‧Second solid state storage unit

14‧‧‧多工控制單元 14‧‧‧Multiplex control unit

15‧‧‧電源控制單元 15‧‧‧Power Control Unit

16‧‧‧模式選擇單元 16‧‧‧Mode selection unit

17‧‧‧軟體元件 17‧‧‧Software components

為讓本發明之上述和其他目的、特徵、優點與實施例能更明確易懂,所附圖式之說明如下:第1圖 為本發明較佳實施與系統端連接之示意圖;第2圖 為本發明儲存裝置具有兩個儲存單元之結構圖:第3圖 為本發明儲存裝置具有三個儲存單元之結構圖:第4圖 為本發明儲存裝置另具有一操作模式選擇單元之示意圖:第5圖 為本發明儲存裝置之控制方法之流程示意圖:第6圖 為本發明儲存裝置之智慧型控制方法之流程示意圖;第7圖 為本發明儲存裝置內具三個儲存單元之控制方法之流程示意圖:第8圖 為本發明儲存裝置內具三個儲存單元之智慧型控制方法之流程示意圖。 BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; The storage device of the present invention has a structural view of two storage units: FIG. 3 is a structural view of the storage device of the present invention having three storage units: FIG. 4 is a schematic view of the storage device of the present invention having an operation mode selection unit: FIG. 6 is a schematic flow chart of a smart control method for a storage device according to the present invention; FIG. 7 is a flow chart showing a control method for three storage units in a storage device according to the present invention; FIG. 8 is a schematic flow chart of a smart control method with three storage units in the storage device of the present invention.

10‧‧‧儲存裝置 10‧‧‧Storage device

11‧‧‧介面單元 11‧‧‧Interface unit

12‧‧‧第一儲存單元 12‧‧‧First storage unit

31‧‧‧第一傳輸線 31‧‧‧First transmission line

32‧‧‧第二傳輸線 32‧‧‧Second transmission line

131‧‧‧第一固態儲存單元 131‧‧‧First solid state storage unit

132‧‧‧第二固態儲存單元 132‧‧‧Second solid state storage unit

14‧‧‧多工控制單元 14‧‧‧Multiplex control unit

15‧‧‧電源控制單元 15‧‧‧Power Control Unit

17‧‧‧軟體元件 17‧‧‧Software components

Claims (11)

一種用以存取資料之儲存裝置,包括:一多工控制單元;一硬碟介面,係連結該多工控制單元至外部一系統端;一第一固態儲存單元,係由非揮發性記憶體所形成並受該多工控制單元控制以儲存資料;以及一第一儲存單元,係由磁碟所形成並受該多工控制單元控制以儲存資料;其中,該多工控制單元分別透過不同的傳輸線以控制該第一固態儲存單元及該第一儲存單元,以及該第一固態儲存單元和該第一儲存單元係藉由該多工控制單元及該硬碟介面而於該系統端分別被視為一獨立碟。 A storage device for accessing data includes: a multiplex control unit; a hard disk interface connecting the multiplex control unit to an external system end; and a first solid state storage unit being made of non-volatile memory Formed and controlled by the multiplex control unit to store data; and a first storage unit formed by the disk and controlled by the multiplex control unit to store data; wherein the multiplex control unit transmits different a transmission line for controlling the first solid state storage unit and the first storage unit, and the first solid state storage unit and the first storage unit are respectively viewed at the system end by the multiplex control unit and the hard disk interface For a separate disc. 如申請專利範圍第1項所述之儲存裝置,其中該儲存裝置係以硬碟的標準編碼格式配置,該第一固態儲存單元係建構為C碟(Drive C:),且該第一儲存單元係建構為D碟(Drive D:)。 The storage device of claim 1, wherein the storage device is configured in a standard encoding format of a hard disk, the first solid storage unit is constructed as a C drive (Drive C:), and the first storage unit The system is constructed as a D disc (Drive D:). 如申請專利範圍第1項所述之儲存裝置,其中該第一固態儲存單元係由一第一電源供電,且該第一儲存單元係由一第二電源供電,更包括一電源控制單元,用以開啟/關閉該第一電源及該第二電源,其中在一第一工作模式中時,該第二電源係關閉,且該系統端係由該第一固態儲存單元進行開機。 The storage device of claim 1, wherein the first solid state storage unit is powered by a first power source, and the first storage unit is powered by a second power source, further comprising a power control unit. To turn on/off the first power source and the second power source, wherein in a first mode of operation, the second power source is turned off, and the system end is powered on by the first solid state storage unit. 如申請專利範圍第3項所述之儲存裝置,其中該第一儲存單元係以一規劃時程軟體元件被重複供電開啟,使得該第一儲存單元中的資料與該第一固態儲存單元中的資料進行同步,其中該規劃時程軟體元件係根據一第一組參數所訂定,該第一組參數係由該系統端經該硬碟介面傳送至該儲存裝置。 The storage device of claim 3, wherein the first storage unit is repeatedly powered on by a planned time-course software component, such that the data in the first storage unit and the first solid-state storage unit The data is synchronized, wherein the planning time-course software component is defined according to a first set of parameters transmitted by the system end to the storage device via the hard disk interface. 如申請專利範圍第3項所述之儲存裝置,其中該第一工作模式係選自一模式參數,該模式參數係由該系統端經該硬碟介面傳送至該儲存裝置。 The storage device of claim 3, wherein the first mode of operation is selected from a mode parameter, and the mode parameter is transmitted from the system end to the storage device via the hard disk interface. 如申請專利範圍第3項所述之儲存裝置,其中當該第一固態儲存單元在該第一工作模式中執行開機失敗時,該第一儲存單元被供電開啟以執行開機。 The storage device of claim 3, wherein when the first solid state storage unit fails to perform power on in the first working mode, the first storage unit is powered on to perform power on. 如申請專利範圍第3項所述之儲存裝置,其中該規劃時程軟體元件係由該系統端經該硬碟介面傳送至該儲存裝置的該多工控制單元,其中該多工控制單元係執行獨立於該系統端的一備援作業。 The storage device of claim 3, wherein the planning time-course software component is transmitted from the system end to the multiplex control unit of the storage device via the hard disk interface, wherein the multiplex control unit performs A backup operation independent of the system side. 如申請專利範圍第1項所述之儲存裝置,其中該第一固態儲存單元係作為首選開機執行單元,該第一儲存單元係作為備援開機執行單元。 The storage device of claim 1, wherein the first solid state storage unit is a preferred boot execution unit, and the first storage unit is used as a backup boot execution unit. 如申請專利範圍第1項所述之儲存裝置,其中該系統端與該儲存裝置係設置於一電子裝備中。 The storage device of claim 1, wherein the system end and the storage device are disposed in an electronic device. 如申請專利範圍第1項所述之儲存裝置,更包括:一第二固態儲存單元,係由非揮發性記憶裝置所形成,用以儲存資料。 The storage device of claim 1, further comprising: a second solid state storage unit formed by a non-volatile memory device for storing data. 如申請專利範圍第10項所述之儲存裝置,其中該第一固態儲存單元係作為該首選開機執行單元,該第二固態儲存單元係作為一第一備援開機執行單元,該第一儲存單元係作為一第二備援開機執行單元。 The storage device of claim 10, wherein the first solid state storage unit is the preferred booting execution unit, and the second solid state storage unit is a first backup booting execution unit, the first storage unit It is used as a second backup boot execution unit.
TW099118410A 2010-06-07 2010-06-07 Storage device with multiple storage units and its control method TWI608418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099118410A TWI608418B (en) 2010-06-07 2010-06-07 Storage device with multiple storage units and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099118410A TWI608418B (en) 2010-06-07 2010-06-07 Storage device with multiple storage units and its control method

Publications (2)

Publication Number Publication Date
TW201145165A TW201145165A (en) 2011-12-16
TWI608418B true TWI608418B (en) 2017-12-11

Family

ID=46765864

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099118410A TWI608418B (en) 2010-06-07 2010-06-07 Storage device with multiple storage units and its control method

Country Status (1)

Country Link
TW (1) TWI608418B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI798672B (en) * 2021-03-30 2023-04-11 幸福新科技股份有限公司 Storage device having a drive arm with multiple read-write head

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070055853A1 (en) * 2005-09-02 2007-03-08 Hitachi, Ltd. Method for changing booting configuration and computer system capable of booting OS
TWI291087B (en) * 2005-05-10 2007-12-11 Quanta Comp Inc Portable computer and data backup method thereof
TW200846911A (en) * 2007-04-19 2008-12-01 Microsoft Corp Composite solid state drive identification and optimization technologies
TW201007405A (en) * 2008-08-08 2010-02-16 Au Optronics Corp Temperature control apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI291087B (en) * 2005-05-10 2007-12-11 Quanta Comp Inc Portable computer and data backup method thereof
US20070055853A1 (en) * 2005-09-02 2007-03-08 Hitachi, Ltd. Method for changing booting configuration and computer system capable of booting OS
TW200846911A (en) * 2007-04-19 2008-12-01 Microsoft Corp Composite solid state drive identification and optimization technologies
TW201007405A (en) * 2008-08-08 2010-02-16 Au Optronics Corp Temperature control apparatus

Also Published As

Publication number Publication date
TW201145165A (en) 2011-12-16

Similar Documents

Publication Publication Date Title
US8412876B2 (en) Storage device with multiple storage units and control method thereof
US10381040B1 (en) Dynamic hybrid shingled magnetic recording device
US9110787B2 (en) Initiating memory wear leveling
US10289544B2 (en) Mapping tables for storage devices
TWI385519B (en) Data writing method, and flash storage system and controller using the same
US9652164B2 (en) Solid-state mass storage device and method for processing forced unit access write commands
US9864529B1 (en) Host compatibility for host managed storage media
TW200929232A (en) Wear leveling method and controller thereof
TW201501131A (en) Green NAND device (GND) driver with dram data persistence for enhanced flash endurance and performance
KR102114109B1 (en) Data storage device
US9015459B2 (en) Method of initializing operation of a memory system
US9639287B1 (en) Write command reporting
US20120072755A1 (en) Method of controlling operation mode of storage device, and storage device implementing the storage
WO2005064454A1 (en) Storage device and information processing system
JP2008040948A (en) Disk device and electronic equipment
TWI454922B (en) Memory storage device and memory controller and data writing method thereof
TW201441927A (en) A solid state disk device
JP4533960B2 (en) Storage device and information processing device
US8775721B1 (en) Controlling memory operations using a driver and flash memory type tables
TWI386922B (en) Can improve the efficiency of the implementation of the hard disk device and its reading and writing methods
TWI608418B (en) Storage device with multiple storage units and its control method
CN102290089B (en) Storage device with a plurality of storage units and control method thereof
JP2008059007A (en) Semiconductor storage device
US20120311195A1 (en) Method, system and computer-readable medium for switching access mode of hard drive
US9785563B1 (en) Read command processing for data storage system based on previous writes