TW201042640A - Hard disk drive device capable of increasing the execution efficiency, and its read/write method - Google Patents

Hard disk drive device capable of increasing the execution efficiency, and its read/write method Download PDF

Info

Publication number
TW201042640A
TW201042640A TW98117669A TW98117669A TW201042640A TW 201042640 A TW201042640 A TW 201042640A TW 98117669 A TW98117669 A TW 98117669A TW 98117669 A TW98117669 A TW 98117669A TW 201042640 A TW201042640 A TW 201042640A
Authority
TW
Taiwan
Prior art keywords
hard disk
program
section
data
solid state
Prior art date
Application number
TW98117669A
Other languages
Chinese (zh)
Other versions
TWI386922B (en
Inventor
Yu-Ting Chiu
Chih-Liang Yen
Cheng-Wei Yang
Original Assignee
Waremax Electronics 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 Waremax Electronics Corp filed Critical Waremax Electronics Corp
Priority to TW98117669A priority Critical patent/TWI386922B/en
Publication of TW201042640A publication Critical patent/TW201042640A/en
Application granted granted Critical
Publication of TWI386922B publication Critical patent/TWI386922B/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

This invention relates to a disk drive device capable of increasing the execution efficiency, and its read/write method. The hard disk drive device is embedded with a normal hard disk drive (HDD), a solid state drive (SSD) and a controller. Each of the disk drives is connected with the controller respectively. The controller is connected with a computer. When the controller is connected with the computer, and the computer performs an initialization operation on the hard disk drive, the controller uses the redundant array of independent disks (RAID0) technology to arrange a normal execution sector, and the computer treats the normal execution sector and the solid sate drive as independent logic storage units for storing the program data specified by the computer (such as booting, drawing program, text processing program, etc). When writing the program data into the logic storage units, the controller uses the RAID0 technology to divide the program data into several sections and then writes them into the normal execution sector and solid state hard disk drive respectively. When reading the executed data from the logic storage unit, the controller uses the RAID0 technology to read the program data from the normal execution sector and the solid state hard disk drive respectively. Since the read/write speed of the solid state hard disk drive is several times higher than that of the normal hard disk drive, the execution efficiency of the program can thus be increased greatly. Moreover, The controller uses RAID1 technology to arrange a normal back-up sector on the normal hard disk drive and the program data written in the solid state hard disk drive is mirror-mapped to the normal back-up sector. Therefore, the integrity and security of the program data are ensured. In case that the solid state hard disk drive is out of order or damaged, the controller can still enable the computer to complete the execution of the program through the program data stored in the normal execution sector and the normal back-up sector.

Description

201042640 六、發明說明: 【發明所屬之技術領域】 本發明係關於硬碟裝置,尤指·一種能k南執行效率的硬碟裝詈, 該硬碟裝置之控制器能使用RAID 0 (Redundant Array of Independent201042640 VI. Description of the Invention: [Technical Field] The present invention relates to a hard disk device, and more particularly to a hard disk device capable of performing efficiency, and the controller of the hard disk device can use RAID 0 (Redundant Array) Of Independent

Disks ’簡稱RAID ’獨立磁碟冗餘陣列)技術,將電腦指定的一程式 的資料(如:開機資料、繪圖程式、文書作業程式……等)分成數個 區段’分別寫入一常規硬碟(Hard Disk Drive,簡稱HDD)及一固雜 硬碟(Solid State Drive,簡稱SSD)中’並在讀取該程式的資料時, 分別自各該硬碟中讀取該程式的資料,藉此提高該程式之執行效率。 【先前技術】 一般言,當使用者將一電腦開機時,該電腦均會執行一開機程 序,讀取與其相連接之一硬碟中所儲存的一開機資料,使得該電腦之 作業系統能依該開機資料完成各項初始化設定,該電腦始能順利執行 該=業系統,完成整個開機程序,嗣,當使用者將該電腦關機時,該 電f需將使用者在操作該作業系統之期間,對該作業系統進行的變 ^又又’寫人該硬射’以在使用者下次將電腦職時,能得到與前 次進行關機時相同的作業系統的設定資料,故,根據前述可知,影響 電腦開機(或關機)效率的主要因素’係電腦上開機硬碟的讀寫速^曰。 近年來,普及於市面上的硬碟共有下列二種類型: 又 卜常規硬碟(Hard Disk Drive,簡稱_,係包括一磁性讀寫頭及 個磁性翻’其中該磁性讀寫頭係設在鄰近各該磁性碟片的 置,各該磁性碟片上分別設有複數個磁執,該常規硬碟在 讀寫動作時’各該磁闕#將會被鷄_ ’使該磁性讀寫頭能 201042640 依序以各該雜中,或自各翻财依序搜尋及讀取資 2、固態硬碟(s〇iid State Drive,簡稱SSD),係包括 至少一個儲存單元(DRAM或FLASH ,' _ = Γ 接’使該處理單元能直接地膽料寫入各 該儲存早70中,或讀取儲存在各該儲存單元中的資料。 Ο 大且Ζ,’Γ在常ΓΓ屬於一麵式結構,其體積及重量必然較 性碑片等舰ί 讀絲作時,目必需驅_磁_寫頭或磁 均卓ΓΓ 故其執行資料讀寫動作所耗費_間及電能 規㈣不會如該固態硬碟之儲存單元,僅具備有限 店 般έ,該常規硬碟的使用壽命係高於該固態硬碟; 之’該固態硬碟係屬於一種電子式結構,其體 交常 !硬=輕’且在執行資料讀寫動作時,僅透過該處理二: 寫動作所耗f的時間及電能亦 0可,因與其執行·寫入的次數成反比,故僅具備有限的寫入次 且目同儲存容量的固態硬碟的價格亦遠高於常規硬碟。 據^所述’常規硬碟顯然較固態硬碟更為經濟實惠,且具有較長 命’故仍被業者選擇作為各式電腦上的開機硬碟,然而,由 …吊規硬碟麵行資料讀寫時,需驅動各該磁性碟片及該磁性讀寫 二動作,因此’導致各式電堀在執行開機 時必需耗費極長的時間,甚至達到令使用者誤以為 二故=的程度。因此,若欲有效提高電腦開機或關機之效率’業者 义僅此選擇使用具有高讀寫速度之嶋硬碟,目前,業者所使用的 201042640 解決方案可概分為下列二種: (A)開發出一種新型的混合式硬碟(jjybridHardDrive),如美國微 軟公司與硬碟大廠專為Windows Vista作業系統量身設計的混 合式硬碟,該混合式硬碟係内建NAND快閃記憶體(即固態硬碟 之一種)於一常規硬碟的電路板上’該混合式硬碟中,費用較 低廉之常規硬碟的部分,係採用較大_存容量,以儲存一般 性的數據餅’而費賴昂貴之讎雄體的部分,則採 用較小的儲存容量’僅用以儲存該電腦開機時Wind〇ws 作業系統所需的開機資料,藉此避免採用單一大容量的似肋 快閃記憶體,導致成本大幅增加,且造成㈣者必須負擔該 NAND快閃記憶體的昂貴費用的問題;及 (B)採用一種近似於該混合式硬碟的概念,如Intel公司的Robson 系列電腦,將NAND子夬閃記憶體設計在搭載R〇bs〇n晶片組的電 腦主機板上,其儲存容量僅供儲存該電腦開機時腕〇抓伽 作業系統所需的開機資料,常規硬碟則係與電腦相連接’且採 用較大的儲存容量,供儲存一般性的數據資料。 ::Ξ=::==== 因屆滿、^硬碟使用&細後’極有可能在無鮮的狀態下, 二二辟=數,而發城壞’導致㈣關賴險及困擾, 開機資料進二=僅="機時’須對該固態_存的 時針對各種執行程==使用者操作電腦的過程中,電腦亦可能隨 若將門棬眘41 …要’而對該固態硬碟進行讀寫動作’因此, _料完全儲存於該固態硬碟中,可預見的是,該固態硬碟必 201042640 定需執行大量的寫入動作,使得該固態硬碟的使用壽命更 而4成使用者常會因該固態硬碟的損壞,而須重新購買或進 硬碟或電腦’且必彡貞鑛絲及奴關機資料,故,’該開機 導致使用者在使用上的不便及困擾。 '、方案仍將 Ο 因此,如何設計出一種能提高執行效率的硬碟裝置及其士 法’ j令使用者能藉由該硬碟裝置,使該電腦在開機與關機時,= 效提高效率’並緖止因硬碟損壞,而發生·機:#料毁損的風= 困擾’有舰確健議資料找紐縣錄,喊為目前^ 關業者致力研究並亟欲解決之一重要課題。 '、 【發明内容】 有鏗於前述習知用以提高執行效率的方法中存在的諸多 以期藉由本 缺點’發明人乃根據多年的實務經驗及研究實驗,終於開發設計出本 發明之一種「能提高執行效率的硬碟裝置及其讀寫方法 發明’能有效地令硬碟裝置達成提高程式執行效率之目的,且解 〇知方法可制猶發生轉或損壞,而造成·所需執行之程式的 料(如:開機資料、_程式、文書作業程式.·...·等)毁損的問題,、 進而有效確保該程式的資料之完整性及安全性。 本發明之目的,係提供—雜提高執行效率的硬魏置,該硬 碟裝置内設有-常規硬碟(Hard Disk Drive,簡稱_、一固熊硬 碟(SoHd S她Drive,簡稱SSD)及一控制器,該常規硬碟及固離 硬碟係分顺雜懒树接,該讀_雜—魏相連接,當該 1 更碟裝置進行初始化作業時,輪制雜使用_ q 恤Disks 'short for RAID 'independent disk redundant arrays' technology, which divides the data of a program specified by the computer (such as boot data, drawing program, paperwork program, etc.) into several sections 'written separately into a regular hard In the Hard Disk Drive (HDD) and a Solid State Drive (SSD), when reading the data of the program, the data of the program is read from each of the hard disks. Improve the efficiency of the program. [Prior Art] Generally speaking, when a user turns on a computer, the computer executes a booting process to read a booting data stored in one of the hard disks connected thereto, so that the operating system of the computer can The boot data completes the initialization settings, the computer can successfully execute the system, complete the boot process, and when the user shuts down the computer, the power f needs to be used by the user during the operation of the operating system. The change of the operating system and the 'write the hard shot' to the user's next time when the user is in the computer, can obtain the same setting information of the operating system as when the previous shutdown, so according to the above The main factor affecting the efficiency of the computer boot (or shutdown) is the speed of reading and writing the hard disk on the computer. In recent years, there are two types of hard disks popular in the market: Hard Disk Drive (referred to as _, including a magnetic head and a magnetic flip), wherein the magnetic head is provided Adjacent to each of the magnetic discs, each of the magnetic discs is respectively provided with a plurality of magnetic handles, and the conventional hard discs are readable by the chickens during the reading and writing operation. Can 201042640 in order to search for and read in each of the miscellaneous, or from each turnaround 2, solid state drive (s〇iid State Drive, SSD for short), including at least one storage unit (DRAM or FLASH, ' _ = Γ Connect 'to enable the processing unit to directly write bile into each storage 70, or to read the data stored in each storage unit. Ο Large and Ζ, 'Γ is a one-sided structure The volume and weight of the ship must be compared with the singularity of the monument, such as the singer, the magnetic _ write head or the magnetic average ΓΓ 故 故 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行 执行The storage unit of the solid state hard disk has only a limited store, and the life of the conventional hard disk It is higher than the solid state hard disk; the 'solid-state hard disk is an electronic structure, its body is often regular! Hard = light' and when performing data reading and writing, only through the processing two: write action f The time and power are also 0. Because it is inversely proportional to the number of executions and writes, the price of a solid-state hard disk with only a limited number of writes and the same storage capacity is much higher than that of a conventional hard disk. 'Regular hard disk is obviously more economical than solid-state hard disk, and has a long life', so it is still chosen by the industry as a bootable hard disk on various computers. However, when reading and writing hard disk data, it is required. Driving each of the magnetic discs and the magnetic reading and writing two actions, so that "the various types of electric cymbals must take a very long time to perform the power-on, even to the extent that the user mistakenly thinks that the two are =. Therefore, if it is to be effective Improve the efficiency of turning the computer on or off. The industry's only choice is to use hard disk with high read/write speed. At present, the 201042640 solution used by the industry can be divided into the following two types: (A) Develop a new type of hybrid Hard disk (jjy bridHardDrive), such as Microsoft's Microsoft and hard disk manufacturers designed for Windows Vista operating system hybrid hard drive, the hybrid hard drive is built-in NAND flash memory (a kind of solid state hard disk) in one On the board of a conventional hard disk, the part of the conventional hard disk, which is a lower-cost conventional hard disk, uses a larger storage capacity to store a general data cake, which is more expensive than a male. In part, the smaller storage capacity is used to store only the boot data required by the Wind〇ws operating system when the computer is turned on, thereby avoiding the use of a single large-capacity ribbed flash memory, resulting in a significant increase in cost, and The problem that the (4) person must bear the expensive cost of the NAND flash memory; and (B) adopt a concept similar to the hybrid hard disk, such as Intel's Robson series computer, designing the NAND sub-flash memory in The computer motherboard equipped with the R〇bs〇n chipset has a storage capacity for storing the boot data required for the wristwatch capture system when the computer is turned on, and the conventional hard disk is connected to the computer. Large storage capacity for storing general data. ::Ξ=::==== Due to expiration, ^hard disk use & fine after 'very likely in the absence of fresh state, two or two counts, and the bad city's cause (four) care and trouble , boot data into the second = only = " machine time 'has to be the solid state _ when the time for the various execution procedures == user operation of the computer, the computer may also be careful with the door 41 ... to 'and The solid-state hard disk is read and written. Therefore, the solid-state hard disk must be stored in the solid-state hard disk. It is foreseeable that the solid-state hard disk must be executed in a large number of write operations, so that the life of the solid-state hard disk is more And 40% of the users often have to re-purchase or enter the hard disk or the computer due to the damage of the solid state hard disk, and the mine wire and the slave must shut down the data. Therefore, the booting causes the user to be inconvenienced in use. Troubled. ', the solution will still be Ο Therefore, how to design a hard disk device that can improve the efficiency of execution and its method can enable users to use the hard disk device to make the computer improve efficiency when it is turned on and off. 'And the machine is damaged due to the damage of the hard disk. The machine: #料的失的风=麻烦' has the ship's health information to find the New County record, shouting for the current ^ Guanye is committed to research and want to solve an important issue. 'The content of the invention is based on the above-mentioned conventional methods for improving the efficiency of execution. The inventors have finally developed and designed a kind of "energy" of the present invention based on years of practical experience and research experiments. The invention relates to a hard disk device for improving execution efficiency and a method for reading and writing the same, which can effectively make the hard disk device achieve the purpose of improving the execution efficiency of the program, and the method for solving the problem can be changed or damaged, resulting in a program to be executed. The material (such as: boot data, _ program, paperwork program, etc.) damage, and thus effectively ensure the integrity and security of the program's data. The purpose of the present invention is to provide - miscellaneous To improve the efficiency of the implementation, the hard disk device is provided with a conventional hard disk (Hard Disk Drive, referred to as _, a hard disk (SoHd S her Drive, SSD) and a controller, the conventional hard disk And the solid-free hard disk system is divided into a lazy tree connection, the read-missing-wei-phase connection, when the 1-disc device is initialized, the wheel miscellaneous use _ q-shirt

Array of Independent Disks > ®S RAID > } ^ , 201042640 在該吊規硬碟上規劃出-常規指定區段,使得該電腦將該常規指定區 段及該固態硬碟視為-個獨立的邏輯儲存單元,用以儲存該程式的資 料’該控彻能以RAID G技術賴雜式資料分成數_段並寫入 至該邏輯贿單元巾’分卿肋常規指定區段及嶋硬碟的位置, 且能以RAID 0技術由該邏輯健存單元之該魏指定區段及固態硬碟的 位置’分別讀取該程式的資料’以藉各該f規指定區段及固態硬碟的 分工,提高該電腦讀寫該程式的資料及執行該程式的程序之效率,同 時’該控制器能使用刪i技術,在該常規硬碟上規劃一常規備份區 段,且將寫人至_態硬射的雜式的資料鏡槪該常規備份區段 中,以避免因使用壽命較短暫之固態硬碟發生故障或損壞,而使該固 態硬碟中的該程式的資料毁損’導致料腦無法順利完成執行該程式 的程序之問題。 本發明之另-目的’係提供—觀用在前述猶裝置之方法,以 令該電腦能順利地藉由該硬碟裝置,達成提高執行該程式的效率之目 的,且有效地將儲存在該固態硬碟中的該程式的資料,備份於該常規 備份區段中,進而大幅提高該程式的資料的完整性及安全性。 本發月之X目的’係提供一種能提高執行效率的硬碟襄置,該 硬碟袭置崎有-控制H,該控繼係分顺規硬碟及—固態硬/ 碟相連接,當該硬碟裝置進行初始化作業時,該控制器係使用獅0 技術’在該關硬碟上細出—_起純段,且在該魏硬碟上規 劃出-纽指定區段’使得該電腦觸常規敏區段及_態起始 段視為-侧立的邏鑛存單元,用_存該程摘資料,該控制哭 能以RAI爾娜_摘請分絲麵段,縣人至該邏輯館^ 羊兀中’分別對應該常規指定區段及固態起始區段的位置且能以 201042640 RAID 0技術由該邏輯儲存單元之該常規指定區段及固胁始區段的位 置,分別讀取該程式的資料,以藉各該常規指定區段及固態起始區段 的分工’提高該電腦讀寫雜式的資料及完成該程式的程序之效率, 同時,該控制器能使用RAID 1技術,在該常規硬碟上規劃一常規備份 區段,以備份該固態起始區段中的該程式的資料,且在該電腦進行常 態作業’且對制態起始區段之雜式的資料進行寫人雜態下,將 被寫入的資訊記錄為一變動表格,並儲存在該變動記錄區段中,使得 該控制器能在滿足一預定條件(如:每間隔一預定時間、接收到一備 份指令或觸猶裝置處糊置··.·.·#)敝n下,;^獅變動表格, 將被寫入更新過的該程式的資料備份於該常規備份區段中,如此,不 僅能避免目個壽命較蹄之_、硬縣生轉或損壞,而使該固態 硬碟中的雜式的資概損,導致該賴無法糊完成雜式的程序 之問題’尚能據以提高該硬碟裝置之執行效率。 本發明之又另一目的,係提供一種應用在前述硬碟裝置之方法, 以令該電腦能順利地藉由該硬碟裝置,達成提高執行該程式的效率之 〇目的且有效地將儲存在該固態起始區段中的該程式的資料,間接地 備份於該常規備份區段中,進而大幅提高該程式的資料的完整性及安 全性,並能使該硬碟裝置在閒置的狀態下(或其他條件下,如:間隔 一預定時間、接收到一備份指令……等),始將該程式的資料備份於讀 寫速度較慢之常規硬碟的常規備份區段’以提高該硬碟裝置之執行效 率。 為便貴審查委員能對本發明之構造、設計原理及其功效,有更進 一步之認識與瞭解’茲列舉實施例,並配合圖式,詳細說明如下: 9 201042640 【實施方式】 本發明係-雜提高執紐麵硬碟裝置及其讀寫方法,在本發 明之-較佳實施射,請翔第1騎示,該硬碟裝置丨魄有一^ 規硬碟10(HardDiskDrive’簡稱咖)、—固態硬碟^ (s〇lids如〇 Drive ’簡稱SSD)及一控制器12,該常規硬襟1〇係透過一第一 介面100 (如:ΑΤΑ、SATA、SCSI、SAS..·.··等)與該控制器12電氣連 接,且該常規硬碟10之儲存容量係大於該固態硬碟u,該固態硬碟 11係透過一第二連接介面11〇 (如:ΑΤΑ、SATA、SCSI、SAS......等) 與該控制器12電氣連接,該固態硬碟η之儲存單元係可為單階儲存 單元(Single-Level Cell,簡稱SLC)快閃記憶體、多階儲存單元 (Multi-Level Cell,簡稱MLC)快閃記憶體或二者之組合,而該控 制器12係透過一第三連接介面12〇 (如:ΑΤΑ、SATA、SCSI、SAS...... 等)與一電腦2電氣連接。 承上,當該硬碟裝置1被電氣連接至該電腦2,且該電腦2對該 硬碟裝置1進行初始化作業或使用者經由該硬碟裝置丨提供的人機介 面來進行該硬碟裝置1的初始化作業時,該控制器‘12係使用RAID 〇 (Redundant Array of Independent Disks ’ 簡稱RAID ’ 獨立磁碟冗 餘陣列)技術’在該常規硬碟10上規劃一常規指定區段101,使得該 電月1¾ 2將該常規指定區段101及該固態硬碟11視為一個獨立的邏輯儲 存單元,用以健存電腦2指定的一程式的資料(如:開機資料、繪圖 程式、文書作業程式……等)’以在將該程式的資料寫入該邏輯儲存單 元日π ’忐將該程式的資料分成數個區段,分別寫入至該常規指定區段 101及固態硬碟11中,而在讀取該邏輯儲存單元中的該程式的資料 時,分別自該常規指定區段101及固態硬碟中讀取該程式的資料, 201042640 :^規才曰定區段101及固態硬碟U的分工,提高寫入及讀取該 王工的貧料之效率’同時’該控制器12並使用RAID 1技術,在該常 *更碟ίο上規劃一常規備份區段1〇2,用以備份該固態硬碟η中儲 二的式的貝料’再者’該控制器12能將該常規硬碟1〇上,除該 吊規才曰疋區段ΐίη及該常規備份區段1〇2外的部分,規劃為一常規其 他區段103,用以儲存—般性的數據資料。 2此’當該控制器12接收到該電腦2傳來的一讀取指令時,若讀 ¢)取的係位於包含該常規指定區段101及該固態硬碟11的獨立邏輯 儲存單7G的範_之雜式的f料,醜控儀12將以膽G技術, 直接讀取儲存在該常規指定區段101及固態硬碟u内的該程式的資 料,而當該控制器12接收到該電腦2傳來的一寫入指令時,若寫入的 斗係位於包含該常規指定區段丨Q1及該_硬碟i i _立邏輯儲存 早70的範圍内之該程式的資料,則該控制器12將以刪G技術,直 接將該程式的資料寫入至該常規指定區段101及固態硬碟n,並使用 RAID 1技術,將寫入至該固態硬碟u中的該程式的資料’鏡射至該 〇常規備份區段102中’以在該固態硬碟^發生故障或損壞時,使雛 制器12仍能分別透過該常規指定區段1〇1及常規備份區段脱中儲存 的該程式的資料,完成該電腦2執行該程式的的程序。 在該實施例中,復請參閱第!圖所示,由於該固態硬碟u的讀寫 速度雜該常規硬碟1G高,故該控制器12使謂则技術,讀寫該 程式的資料,將能大幅地提高電腦2執行該程式時的讀寫效率,且^ 過使用RAID 1技術,備份該固態硬碟u中的該程式的資料,尚能確 保該程式的資料的完整性及安全性,進而有效避免因使用壽命較短暫 之固態硬碟11發生故障或損壞,而使該固態硬碟】i中的該程式的資 11 201042640 料毀損’導致該電腦2無法順利完成執行該程式的程序之問題。 在該實施例中’請參閱第1及2圖所示,該硬碟裝置讀寫方 法係應用在該硬碟裝置1上,當該硬碟裝置i被連接至該電腦2,且 該電腦2 _硬魏置1進行初始化作麵使財經由該硬碟装置^ 提供的人機介面來精該硬縣置丨的初始化作業時,該㈣ 能執行下列步驟: m (200)使用RAID 〇技術’在該常規硬碟1〇上規劃出一常規指定區段 ⑻’使得該電腦2將該常規指定區段1〇1及該固態硬碟u視 為-侧立的賴儲存單元,用以儲存電腦2指定的一 資料; (2〇1)在該程式的資料寫μ該邏輯儲存單元時,係以μ胸技術, 將該程式的龍分賴鐘段,分職人至騎規指定區段 101及固態硬碟11中; (202)在讀取該邏輯儲存單元中的該程式的資料時,係以腿"技 術分別自該常規指定區段m及固態硬碟丨丨中讀取該程式的資 料;及 (203)使用_丨技術,在該常規硬碟1〇上規劃出一常規備份區段 1〇2 ’剩’將寫入至該固態硬碟u内的該程式的資料鏡射至該 常規備份區段1〇2,以在該固態硬碟u發生故障或損壞時,能 分別透過該常規指定區段1G1及常規備份區段⑽⑽存的該 程式的資料,完成該電腦2執行該程式的程序。 如此該硬碟裝置1藉由該方法,即能在處理電腦2之開機、關 機程序或-般作餘序的㈣時,透過各該硬碟ig、n的分工,而大 幅地提升魏行轉,对效歸齡在_態㈣u㈣該程式的 12 201042640 她峨㈣,邮帛綱靡資料的 在本發明之另一較佳實施例中,請參閱第3圖所示,該硬碟裝置 1内設有4規硬碟1G、—關硬碟n、—控繼12及—記憶體13, Ο 〜㊉規更碟10係透過一第一連接介面議與該控制器電氣連接, 且該㊉規硬碟10之齡容量係大贿哪猶n,該目態硬碟^係 透過-第二連接介面110與該控制器12電氣連接,該固態硬碟U之 儲存單元係可為單_存單元_記倾、多階儲存單元㈣記憶體 或=者之組合,而該控制器12係透過—第三連接介面i2G與一電腦2 電氣連接’又’該記憶體13係與該控制器12相電氣連接,該記憶體 13係可為揮發性或非揮發性記憶體。 承上’當該硬碟裝置1被電氣連接至該電蹈2,且該冑腦2對該 硬碟裝置1進行初始化作業或使用者經由該硬碟裝置j提供的人機介 面來進行該硬碟裝置1的初始化作業時,該控制器12係使用咖〇 技術,在該常規硬碟10上規劃一常規指定區段1〇1,且在該固態硬碟 〇 11上規劃出一固態起始區段111,使得該電腦2將該常規指定區段ι〇ι 及該固態起始區段m視為-蝴立的邏輯儲存單元,用以儲存電腦 2指定的一程式的資料,以在將該程式的資料寫入該邏輯儲存單元 時,能將該程式的資料分成數個區段’分別寫入至該常規指定區段10 i 及固悲起始區4又111中,而在讀取該邏輯健存單元中的該程式的資料 時,分別自該常規指定區段101及固態起始區段lu中讀取該程式的 資料,以藉各該常規指定區段101及固態起始區段ηι的分工,提高 寫入及讀取該程式的資料之效率,同時,該控制器12並使用raid 1 技術,在該常規硬碟10上規劃一常規備份區段1〇2,該常規備份區段 13 201042640 102能用以備份該固態起始區段中儲存的該程式的資料,且該控 制器12能在該固態硬碟11 (或該記憶體13或該常規其他區段1〇3) 上規劃出一變動記錄區段112 ’再者,該控制器12能將該常規硬碟10 上’除該常規指定區段101及該常規備份區段1〇2外的部分,規劃為 一常規其他區段103,用以儲存一般性的數據資料。 如此,當該控制器12接收到該電腦2傳來的一讀取指令時,若讀 取的資料係位於包含該常規指定區段1〇1及該固態起始區段m的獨 立邏輯儲存單το的範圍内之該程式的資料,則該控制器12將以狀11)〇 技術,直接讀取儲存在該常規指定區段1〇1及固態起始區段iU内的 該程式的資料,而當該控制器12接收到該電腦2傳來的一寫入指令 時,若寫入的資料係位於包含該常規指定區段1〇1及該固態起始區段 m的獨立邏輯齡單元的範圍内之練式的紐’卿控制器12將 以RAID 0技術,直接將該程式的資料寫入至該常規指定區段1〇1及固 態起始區段111 ’並使用MID 1技術,在該電腦2進行常態作業,且 對該固態起始n段m之該程式㈣料進行寫人陳態下,將被寫入 的資訊(如:資料位置、資料長度、寫入時間··.···等)記錄為一變動 表格,並儲存在該變動記錄區段112、常規其他區段1〇3或該記憶體 13中’且在滿足—預定條件(如:每_—預定時間、接收到一備份 指令或待_碟裝置處於間置....··等)的狀態下,使得該控制器12 能,據該變動表格’將該固態起始區段111中被寫人更新過的該程式 的貝料,鏡射至該常規備份區段102 +,以在該固態硬碟u發生故障 或損壞時’使該控制器12仍能分別透過該常規指定區段ι〇ι及常規備 伤區& 102中儲存的該程式的資料,順利地完成該電腦2執行該程式 14 201042640 在該只施例巾’復sf參閱第3崎示,由於_態硬碟11的 速度遠較該钱硬㈣高,故雜_ 12使賴㈣技術 ^ 程式的資料’絲大幅地提高電腦2執行練式時的讀寫效率,且^ 過使用隱i技術,將該程式的資料被寫入更新過的資訊先儲存卿 變動記錄區段112、常規其他區段⑽或記憶體13中,並在滿足該預 定條件的狀態下’鱗照該變動表格,將該程式的資料中受到更新寫 入的部分,備份於該魏備份區段⑽巾,意即料規備份區段1〇2 〇僅需更新該程式的資料中受到寫人過的部分,而無須重新將整個該程 式的賴進行更新或備份’耻,不舰避免因壽命較短暫之固 錢碟11發生故障或損壞’而使該固態硬碟U +的該程式的資料毁 損’導致該電腦2無法順利完成執行該程式的程序之問題,尚能據以 提高該硬碟裝置1之執行效率。 又,在該實%例中,晴參閱第3及4圖所示,該硬碟裝置讀寫方 法係應用在該硬碟裝置1上,當該硬碟裝置i被連接至該電腦2,且 該電腦2對該硬碟裝置1進行初始化作業或使用者經由該硬碟裝置工 〇提供的人機介面來進行該硬碟裝置i的初始化作業時,該控制器12 能執行下列步驟: (400) 使用RAID 0技術,在該常規硬碟1〇上規劃出一常規指定區段 101,且在該固態硬碟11上規劃出一固態起始區段111,使得 該電腦2將該常規指定區段ιοί及該固態起始區段lu視為一 個獨立的邏輯儲存單元,用以儲存電腦2指定的一程式的資料; (401) 在該程式的資料寫入至該邏輕儲存單元時,係以RAID 〇技術, 將該程式的資料分成數個區段,分別寫入至該常規指定區段 101及固態起始區段111中; 15 201042640 (402)在讀取該邏輯儲存單元中的該程式的資料時,係以臥比〇技 術分別自該常規指定區段101及固態起始區段U1中讀取該程 式的資料;及 (403 )使用RAID 1技術,在該常規硬碟1 〇上規劃出一常規備份區段 102’以備份該固態起始區段1U中的該程式的資料,且在該固 態硬碟11 (或該記憶體13或該常規其他區段1〇3)上規劃出一 變動記錄區段112,嗣’在該電腦2進行常態作業,且對該固 態起始區段111之該程式的資料進行寫入的狀態下,將被寫入 的資訊記錄為變動表格,並儲存在該變動記錄區段112、常規 其他區段103或記憶體13中,以在滿足一預定條件的狀態下, 如:每間隔-預定時間、接㈣—備份指令·^該硬碟裝置i 處於閒置……等’即根據該變動表格,將該固態起始區段in 内被寫入更新過的該程式的資料^:射至該常規備份區段1〇2, 以在該固態硬碟11發生故障或損壞時,能分別透過該常規指定 區段101及常規備份區段102内儲存的該程式的資料 該 電腦2執行該程式的程序。 以 如此,該硬碟裝置1藉由該方法,即能在處理電腦2之開機、關 機程序或一般作業程序的資料時,透過各該硬碟1〇、n的分工,而大 幅地提升其執行效率’且有效地將齡在_驗健段m中的該 程式的資料,離地備份於該常規備份區段1G2巾,進而大幅提高該 程式的資料的完整性及安全性,並能使該硬碟裝置i在閒置的狀^ ^或前述其他條件下,如:間隔一預定時間、接收到一備份指令二... 等),始將被S人更_絲式㈣料備份於讀寫速度贿之常規硬碟 忉的系規備份區段102 ’而無須重新將整個該程式的資料進行更新戍 16 201042640 備份’進而魏提高該硬縣置丨之執行效率的目的。 Ζ所述’復請參閲第3圖所示,藉由本發曰月 般作業的執彳瓣,爾細_效率暨一 :t;=rr使用者即必須重新購買用以儲存該該程 僅rr重新安歧設定該作業系統之開機資料的問 Ο 〇 範圍,並不局限於此,按凡孰轉項枯蔽人:本^月所主張之榷利 技術内容,•轉狀料’絲本㈣所揭露之 變化均應屬不脫離本發明之保護範疇。 【圖式簡單說明】 此硬縣㈣第—㈣體實酬之示意圖; ί程圖 硬雜置雜麵料體實施例之 第3圖所示乃本發曰月之硬魏置的第 第4圖所示乃本發明之硬縣罢體只施例之不思圖,及 流程圖。 縣置11寫方法的第二個具體實施例之 【主要元件符號說明】 硬碟裝置 ...... 10 100 101 102 常規硬碟 ...... 第一連接介面··.·.· 常規指定區段...... 常規備份區段·..·.. 17 201042640 常規其他區段 ..................103 固態硬碟 ..................11 第二連接介面 ..................110 固態起始區段 ..................111 變動記錄區段 ..................112 控制器 ..................12 第三連接介面 ..................120 記憶體 13 電腦 ..................2 18Array of Independent Disks > ®S RAID > } ^ , 201042640 The -specified designated section is planned on the cradle, so that the computer treats the regular designated zone and the solid state drive as independent A logical storage unit for storing the data of the program. The control can be divided into a number of segments by the RAID G technology and written to the logical bribe unit. Position, and can read the data of the program by the location of the Wei specified section of the logical storage unit and the location of the solid state drive in the RAID 0 technology to specify the division of the sector and the solid state drive by each of the specifications To improve the efficiency of the computer to read and write the program's data and the program that executes the program, and 'the controller can use the delete i technology to plan a regular backup section on the conventional hard disk, and will write to the _ state A hard-shot miscellaneous data mirror is used in the conventional backup section to avoid the failure or damage of the solid-state hard disk with a short service life, and the data of the program in the solid-state hard disk is damaged. Successfully completed the execution of the program The problem with the program. Another object of the present invention is to provide a method for viewing the foregoing device, so that the computer can smoothly improve the efficiency of executing the program by the hard disk device, and effectively store the data in the program. The data of the program in the SSD is backed up in the regular backup section, thereby greatly improving the integrity and security of the program data. The X-purpose of this month provides a hard disk device that can improve the efficiency of execution. The hard disk is equipped with a control-H, which is connected to a hard disk and a solid-state hard disk. When the hard disk device performs an initializing operation, the controller uses the lion 0 technology to 'fine the hard disk on the hard disk - the pure segment, and the - designated segment on the Wei hard disk makes the computer Touching the conventional sensitive section and the initial section of the _ state are regarded as the side-side logical storage unit, and the data is extracted by the method, and the control can be cryed to the RAI Erna. The logical hall ^ 兀 ' ' corresponds to the position of the regular designated section and the solid start section respectively and can be used by the 201042640 RAID 0 technology from the position of the conventional designated section and the stagnation section of the logical storage unit, respectively Reading the data of the program to improve the efficiency of the computer to read and write miscellaneous data and the program for completing the program by using the division of the conventional designated section and the solid start section, and the controller can use the RAID. 1 technique, planning a regular backup section on the conventional hard disk to back up the solid state start The information of the program in the section, and in the normal operation of the computer', and the miscellaneous data of the starting state of the state is written, the information to be written is recorded as a change table, and Stored in the change record section, so that the controller can satisfy a predetermined condition (for example, every time a predetermined time interval is received, a backup command is received, or the device is touched, .....). Next, the ^ lion change table, the data of the program that has been written to the update is backed up in the regular backup section, so that not only can the life of the hoof, the hard county be changed or damaged, but The problem of the miscellaneous liability in the solid-state hard disk leads to the problem that the program cannot be completed. The efficiency of the hard disk device can be improved. Still another object of the present invention is to provide a method for applying the hard disk device to enable the computer to smoothly improve the efficiency of executing the program by the hard disk device and effectively store the data in the program. The data of the program in the solid start section is indirectly backed up in the regular backup section, thereby greatly improving the integrity and security of the program data, and enabling the hard disk device to be idle. (or other conditions, such as: interval for a predetermined time, receiving a backup command, etc.), the data of the program is backed up in the regular backup section of the conventional hard disk with slower read and write speeds to improve the hard The efficiency of the disc device. In order to facilitate the review committee, the structure, design principle and function of the present invention can be further understood and understood. The embodiments are listed below, and the drawings are described in detail as follows: 9 201042640 [Embodiment] The present invention is a hybrid To improve the hard disk device and the reading and writing method thereof, in the preferred embodiment of the present invention, please take the first riding device, and the hard disk device has a hard disk 10 (HardDiskDrive). Solid state hard disk ^ (s〇lids such as 〇 Drive 'SSD for short) and a controller 12, the conventional hard 襟 1 透过 through a first interface 100 (eg: ΑΤΑ, SATA, SCSI, SAS........ And the controller 12 is electrically connected, and the storage capacity of the conventional hard disk 10 is greater than the solid state hard disk u, and the solid state hard disk 11 is transmitted through a second connection interface 11 (eg, SATA, SATA, SCSI, The SAS is connected to the controller 12, and the storage unit of the solid state hard disk η can be a single-level cell (SLC) flash memory, multi-level storage unit. (Multi-Level Cell, MLC for short) flash memory or a combination of the two, and the controller The 12 Series is electrically connected to a computer 2 via a third connection interface 12 (eg, ΑΤΑ, SATA, SCSI, SAS, etc.). The hard disk device 1 is electrically connected to the computer 2, and the computer 2 performs an initialization operation on the hard disk device 1 or a human-machine interface provided by the user via the hard disk device to perform the hard disk device. When the initialization operation of 1 is performed, the controller '12 uses a RAID 〇 (Redundant Array of Independent Disks 'abbreviated RAID 'independent disk redundant array) technology to plan a conventional designated section 101 on the conventional hard disk 10, so that The electricity month 13⁄2 2 regards the conventional designated section 101 and the solid state hard disk 11 as a separate logical storage unit for storing data of a program specified by the computer 2 (eg, booting data, drawing program, paperwork) Program...etc.] 'When the data of the program is written to the logical storage unit day π ', the data of the program is divided into several sections and written into the regular designated section 101 and the solid state hard disk 11 respectively. And when reading the data of the program in the logical storage unit, reading the data of the program from the regular designated section 101 and the solid state hard disk respectively, 201042640: ^ rules to determine the section 101 and the solid state hard Disc U Division of labor, improve the efficiency of writing and reading the poor material of the Wanggong 'at the same time' the controller 12 uses RAID 1 technology, planning a regular backup section 1〇2 on the regular disc The solid state hard disk η is stored in a type of bedding 'further'. The controller 12 can smash the conventional hard disk, except the hanging gauge 曰疋 η η η and the conventional backup section 1 〇 2 The outer part is planned as a regular other section 103 for storing general data. 2 When the controller 12 receives a read command from the computer 2, if it is read, it is located in the independent logical storage list 7G including the regular designated section 101 and the solid state drive 11 In the genre of the genre, the smuggler 12 will directly read the data of the program stored in the regular designated section 101 and the solid state hard disk u in the biliary G technology, and when the controller 12 receives When a write command is sent from the computer 2, if the written bucket is located in the data of the program including the regular designated section 丨Q1 and the _ hard disk ii _ logical storage early 70, then the program The controller 12 will directly write the data of the program to the regular designated section 101 and the solid state hard disk n by using the G technology, and use the RAID 1 technology to write the program to the solid state disk u. The data is mirrored into the conventional backup section 102 to enable the prototype 12 to still pass through the conventional designated section 1〇1 and the conventional backup section respectively when the solid state hard disk fails or is damaged. The data stored in the program is completed, and the program for executing the program on the computer 2 is completed. In this embodiment, please refer to the first! As shown in the figure, since the read/write speed of the solid-state hard disk u is higher than that of the conventional hard disk 1G, the controller 12 enables the technology to read and write the program, which can greatly improve the execution of the program by the computer 2. The read and write efficiency, and the use of RAID 1 technology to back up the data in the SSD, can ensure the integrity and security of the program's data, thus effectively avoiding the short-lived solid state The failure or damage of the hard disk 11 causes the firmware of the program in the solid state drive to be corrupted, which causes the computer 2 to fail to successfully complete the program for executing the program. In the embodiment, please refer to FIGS. 1 and 2, the hard disk device reading and writing method is applied to the hard disk device 1, when the hard disk device i is connected to the computer 2, and the computer 2 _ Hard Wei set 1 to initialize the face to make the initialization of the hard county device through the human-machine interface provided by the hard disk device ^, (4) can perform the following steps: m (200) using RAID 〇 technology ' A conventional designated section (8) is planned on the conventional hard disk 1 such that the computer 2 regards the conventional designated section 1〇1 and the solid state hard disk u as a side-mounted storage unit for storing a computer. 2Specified information; (2〇1) When the data of the program is written to the logical storage unit, the system is based on the μ-thorax technique, and the dragon of the program is divided into segments, and the person is assigned to the designated section 101 of the riding regulations. In the solid state hard disk 11; (202) when reading the data of the program in the logical storage unit, the program is read from the regular designated segment m and the solid state hard disk by the leg " technology respectively Data; and (203) using the _丨 technology, a conventional backup segment is planned on the conventional hard disk 1〇2〇2 Mirroring the data of the program written in the solid-state hard disk u to the regular backup section 1〇2, so that when the solid-state hard disk u fails or is damaged, the conventional designated section 1G1 and The program of the program stored in the regular backup section (10) (10) completes the program of the computer 2 executing the program. Thus, the hard disk device 1 can greatly improve the Wei Xing turn through the division of labor of the hard disks ig and n when the computer 2 is turned on, turned off, or (4). In the other preferred embodiment of the present invention, please refer to FIG. 3, the hard disk device 1 is shown in Fig. 3, in the other preferred embodiment of the present invention, in the preferred embodiment of the present invention. There are 4 gauge hard disk 1G, - hard disk n, - control 12 and - memory 13, Ο ~ 10 gauge 10 is electrically connected to the controller through a first connection interface, and the ten gauge The capacity of the hard disk 10 is a large bribe. The hard disk is electrically connected to the controller 12 through the second connection interface 110. The storage unit of the solid state hard disk U can be a single storage unit. a combination of a dumping, multi-level storage unit (4) memory or a combination of the controller 12, and the controller 12 is electrically connected to a computer 2 via a third connection interface i2G 'again' the memory 13 is associated with the controller 12 Electrically connected, the memory 13 can be a volatile or non-volatile memory. The hard disk device 1 is electrically connected to the circuit 2, and the camphor 2 performs an initialization operation on the hard disk device 1 or a human interface provided by the user via the hard disk device j to perform the hard When the disk device 1 is initialized, the controller 12 uses a curry technique to plan a conventional designated segment 1〇1 on the conventional hard disk 10, and a solid-state start is planned on the solid-state hard disk 11 Section 111, such that the computer 2 regards the regular designated section ι〇ι and the solid-state starting section m as a logical storage unit for storing a program of data specified by the computer 2, When the data of the program is written into the logical storage unit, the data of the program can be divided into several sections 'written separately into the regular designated section 10 i and the solid sad start zone 4 and 111, while being read. The data of the program in the logical storage unit reads the data of the program from the regular designated section 101 and the solid start section lu, respectively, to borrow the conventional designated section 101 and the solid starting area. Segment ηι division of labor, improve the efficiency of writing and reading the program's data, while The controller 12 also uses raid 1 technology to plan a conventional backup section 1 〇 2 on the conventional hard disk 10, the conventional backup section 13 201042640 102 can be used to back up the program stored in the solid state starting section. And the controller 12 can plan a change recording section 112 on the solid state hard disk 11 (or the memory 13 or the other conventional section 1 〇 3), and the controller 12 can The portion of the conventional hard disk 10 except for the conventional designated section 101 and the conventional backup section 1〇2 is planned as a conventional other section 103 for storing general data. Thus, when the controller 12 receives a read command from the computer 2, if the read data is located in an independent logical storage list including the regular designated segment 1-1 and the solid start segment m For the data of the program in the range of το, the controller 12 will directly read the data of the program stored in the regular designated section 1〇1 and the solid-state starting section iU by the technique 11). When the controller 12 receives a write command from the computer 2, if the written data is located in an independent logical age unit including the regular designated segment 〇1 and the solid start segment m. In the scope of the training, the New's controller 12 will directly write the data of the program to the regular designated segment 1〇1 and the solid-state starting segment 111' using the RAID 0 technology and use the MID 1 technology. The computer 2 performs a normal operation, and writes information about the program (four) of the solid-start n-segment m (eg, data location, data length, write time, etc.). ··etc.) is recorded as a change table and stored in the change record section 112, other regular areas 1〇3 or in the memory 13' and in the state of satisfying-predetermined conditions (eg, every _-predetermined time, receiving a backup command or waiting for the disc device to be interposed, etc.), Enabling the controller 12 to mirror the bedding of the program updated by the writer in the solid start section 111 to the regular backup section 102+ according to the change table to be on the solid state drive u When the fault occurs or is damaged, 'the controller 12 can still successfully complete the computer 2 to execute the program through the data of the program stored in the regular designated section ι〇ι and the conventional wounded area & 102 respectively. 201042640 In the case of the only case towel, the sf refers to the third saki, because the speed of the _ state hard disk 11 is much harder than the money (four), so the miscellaneous _ 12 makes the reliance (four) technology ^ program data 'silk greatly improve the computer (2) the efficiency of reading and writing when performing the practice, and using the hidden i technology, the data of the program is written into the updated information first stored in the change record section 112, the conventional other section (10) or the memory 13, And in the state that the predetermined condition is satisfied, 'the scale of the change table, the data of the program The part that is updated and written is backed up in the Wei backup section (10), which means that the backup section 1〇2 only needs to update the part of the program whose data has been written, without having to re-create the whole The program is updated or backed up as 'shame, and the ship is prevented from being damaged or damaged due to the short-lived solid currency disk 11', and the data of the program of the solid-state hard disk U+ is corrupted', resulting in the computer 2 failing to complete successfully. The program of the program can still improve the execution efficiency of the hard disk device 1. Moreover, in the actual example, as shown in FIGS. 3 and 4, the hard disk device reading and writing method is applied to the hard disk device 1 when the hard disk device i is connected to the computer 2, and When the computer 2 performs an initialization operation on the hard disk device 1 or a user performs an initialization operation of the hard disk device i via the human-machine interface provided by the hard disk device, the controller 12 can perform the following steps: Using the RAID 0 technology, a conventional designated section 101 is planned on the conventional hard disk 1 and a solid starting section 111 is planned on the solid state hard disk 11 so that the computer 2 sets the regular designated area Segment ιοί and the solid start segment lu are regarded as a separate logical storage unit for storing data of a program specified by the computer 2; (401) when the data of the program is written to the logical storage unit In the RAID technology, the data of the program is divided into a plurality of segments, which are respectively written into the regular designated segment 101 and the solid-state starting segment 111; 15 201042640 (402) reading the logical storage unit The program data is from the usual Reading the data of the program in the designated section 101 and the solid state starting section U1; and (403) using the RAID 1 technology, planning a regular backup section 102' on the conventional hard disk 1 to back up the solid state The data of the program in the beginning section 1U, and a change recording section 112 is planned on the solid state hard disk 11 (or the memory 13 or the other conventional section 1〇3), 嗣' in the computer 2 When the normal operation is performed and the data of the program of the solid start section 111 is written, the written information is recorded as a change table, and stored in the change record section 112 and other regular sections. 103 or memory 13, in a state in which a predetermined condition is satisfied, such as: every interval - predetermined time, connected (four) - backup command ^ ^ the hard disk device i is idle ... etc., that is, according to the change table, The solid start section in is written to the updated data of the program ^: to the regular backup section 1〇2, so that when the solid state drive 11 fails or is damaged, the conventional designation can be respectively performed. The data of the program stored in the section 101 and the regular backup section 102 The computer 2 executes the program of the program. In this way, the hard disk device 1 can greatly improve its execution by processing the data of the hard disk 1 〇 and n when processing the data of the power on/off program or the general operating program of the computer 2 by the method. Efficiently and effectively backing up the data of the program in the _inspection segment m to the normal backup segment 1G2, thereby greatly improving the integrity and security of the program data, and enabling the The hard disk device i is backed up and read by the S person in the idle state or other conditions, such as: a predetermined time interval, receiving a backup command 2, etc.) Speed bribes the regular hard drive 系 备份 备份 102 102 102 102 102 102 102 102 ' 而 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 Ζ Ζ ' 复 复 复 复 复 复 复 复 复 复 复 复 复 复 复 复 复 , , , , , , , , , 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉 藉Rr re-ambiguity set the scope of the operating system's boot data, not limited to this, according to the transfer of the item: the technical content claimed by this ^ month, • turn material 'wire (4) The changes disclosed shall be within the protection scope of the present invention. [Simple diagram of the diagram] This hard county (four) - (four) body remuneration diagram; ί Cheng map hard miscellaneous fabric body example shown in Figure 3 is the fourth figure of the hard Wei set of the hairpin It is shown in the hard case of the hard county of the present invention, and the flow chart. [The main component symbol description] of the second embodiment of the county 11 writing method] Hard disk device... 10 100 101 102 Conventional hard disk... First connection interface····. · Regularly specified sections... General Backup Sections·.... 17 201042640 General Other Sections..................103 Solid State Drives. .................11 Second connection interface..................110 Solid start section... ..............111 Change Record Section..................112 Controller.......... ........12 Third connection interface..................120 Memory 13 Computer.............. ....2 18

Claims (1)

201042640 七、申請專利範圍: 1、一種能提高執行效率的硬碟裝置,包括: 一固態硬碟; 苇規硬碟,其儲存容量係大於該固態硬碟;及 控制器’係分別與該常規硬碟、_硬碟及—電滕相連接,該 控制器在該硬縣置進行祕猶鱗,難彻係制RAID 0 技術,在該常規硬碟上規劃出一常規指定區段,使得該電腦將該 〇 钱指定區段及該111態硬碟視為—個獨立的邏輯齡單元,用以 儲存電耐曰定的-程式的資料,以RAID 〇技術將該程式的資料寫 入至該邏輯齡單70時,係將雜搞資料錢數舰段,分別 寫入至該常規指定區段及固態硬碟,而以娜〇技術讀取該邏輯 儲存單元_該程式的龍時,係分別自騎規指段及固態 ㈣内讀取雜式的聽,城控繼制_丨技術,在該常 規硬碟上賴出-常規備純段,骑以至該嶋硬碟中的該 程式的資料,鏡射至該常規備份區段,使得該控制器能在該固態 0 ㈣損麟,分麻常触•奴f規備腿彻儲存的 程式的資料’完成該電腦執行該程式的程序。 2、如請求。項1所述之能提高執行效率的硬碟震置,其中該固態硬碟之 儲存單元係為單階儲存單元快閃記憶體。 、如請=i所述之能提高執行效率的硬碟震置,其中該固態硬碟之 儲存早元係為多階儲存·%元快閃記俟體。 ” 、如請求項i所述之能提高執行效率的硬碟裝置 體及多騎存杨it 憶體 201042640 5、一種能提高執行效率的硬碟裝置,包括·· 一固態硬碟; 一常規硬碟,其儲存容量係大於該固態硬碟;及 -控制器’係分別與該常規硬碟、固態硬碟及一電蹈相連接,該 控制器在該硬魏置進行初始化作鱗,該控繼係使用麵〇 技術’在該常規硬碟上規劃出一常規指定區段,且在該固態硬碟 士規劃m態起始區段’使得該電腦將該常規指定區段及該固 態起始區段視為-個獨立的邏輯儲存單元,用以儲存電腦指定的 程式的=貝料,以RAID 0技術將該程式的資料寫入至該邏輯儲存 :兀時,係將該程式的資料分成數個區段,分別g人至該常規指 疋區段及嶋缺區段’而以RAID Q技術讀取該邏輯儲存單元内 的該程式的資料時,係分別自該常規指定區段及固態起始區段内 讀取該程式的資料,且該控制器使用難i技術,在該常規硬碟 規劃出-常規備份區段’以備份該關起始區段中的該程式的 $料’並該控制器能在該電腦進行常態作業,且對該固態起始區 段之該程式的㈣進行寫人的絲下,將被寫人的資訊記錄為一 變動表格’使得該控制器能根據該變動祕,將該固態起始區段 中被寫入更新過的雜式的資料,麵至財職份區段,使得 該控制器能在該固態硬碟損壞時,分別透過該常規指定區段及常 規備份區段内儲存的該程式的資料,完成該電職行該程式的程 序。 6如句求項5所述之能提高執行效率的硬碟裝置,其中該固態硬碟之 儲存單元係為單階儲存單元快閃記憶體。 如明求項5所述之此提咼執行效率的硬碟裝置,其中該固態硬碟之 20 201042640 儲存單元係為多階儲存單元快閃記憶體。 8、 如請求。項5所述之能提高執行效率的硬碟裝置,其中該_硬碟之 儲存早凡係包括單階儲存單元侧記憶體及多階儲存單元快閃記 憶體。 、" 9、 -種能提高執行效率的裝置讀寫方法,該方法係顧至一硬様 裝置’該硬魏置内設有一常規硬碟、一固態硬碟及一控制器,該 常規硬碟及固態硬碟係分別與該控制器相連接,該控制器則係與: ο 電腦相連接,當該硬碟裝置進行初始化作業時,該控制器^ 列步驟: 使用RAID 術’在該常規硬碟上規劃出一常規指定區段使得 ,電腦將該常助㈣段及該_硬魏為—侧立的邏輯儲存 單7G,用以儲存電腦指定的一程式的資料,以_ 〇技術將該程 式的貧料寫人至該邏輯齡單元時,係將雜式的資料分成數個 區段,分別寫入至該常規指定區段及固態硬碟中,如乂只娜〇技 〇 術讀取該邏_存單元巾的絲式㈣料時,係分別自該常規指 定區段及固態硬碟中讀取該程式的資料;及 曰 使用RAID 1技術,在該常規硬碟上規劃出—常規備份區段,飼, 將寫入至該固態硬碟内的該程式的資料鏡射至該常規備份區段, 以在該固態硬碟損壞時’能分別透過該常規指定區段及常規^份 區段内儲存的該程式的資料,完成該電腦執行該程式的程序。习 10、 -種能提高執行效率的硬碟裝置讀寫方法,該方法係應用至一硬 碟裝置,該硬碟裝置内設有一常規硬碟、一固態硬碟及―㈣器, 該常規硬碟及固態硬碟係分別與該控制器相連接,該控制器則係與 -電腦相連接,當該硬碟裝置進行祕化作鱗,該控制器能執行 21 201042640 下列步驟: 使用RAID 0技術,在該常規硬碟上規劃出一常規指定區段,且在 該固態硬碟上規劃出一固態起始區段’使得該電腦將該常規指定 區段及該固態起始區段視為一個獨立的邏輯儲存單元,用以儲存 電腦指定的一程式的資料,以RAID 0技術將該程式的資料寫入至 該邏輯儲存單元時,係將該程式的資料分成數個區段,分別寫入 至該常規指定區段及固態起始區段中,而以RAID 0技術讀取該邏 輯儲存單元中的該程式的資料時,係分別自該常規指定區段及固 態起始區段中讀取該程式的資料;及 使用RAID 1技術,在該常規硬碟上規劃出一常規備份區段,以備 份該固態起始區段中的該程式的資料,接著規劃出一變動記錄區 段,嗣,在該電腦進行常態作業,且對該固態起始區段之該程式 的資料進行寫入的狀態下,將被寫入的資訊記錄為一變動表格, 並儲存在該變動記錄區段中,以在滿足一預定條件的狀態下,根 據該變動表格將該固態起始區段内被寫入更新過的該程式的資料 鏡射至該常規備份區段,以在該固態硬碟損壞時,能分別透過該 系規指定區段及常規備份區段内儲存的該程式的資料,完成該電 腦執行該程式的程序。 η、如請求項ίο所述之能提S執行解的硬碟裝置讀寫方法,其中該 預定條件係每間隔一預定時間,即根據該變動表格,將該固態起 始區段内被寫入更新過的該程式的資料鏡射至該常規備份區段。 12、如輕項1〇所述之能提高執行效麵硬碟裝置讀寫方法,盆中該 預定條件係待該硬碟裝置處於閒置的狀態下,即根據該變動表格, 將該固態起始區段内被寫入更新過的該程式的資料鏡射至該常規 22 201042640 備份區段。 13、如明求項10所述之能提高執行效率的硬碟裴置讀寫方法,其中該 預定條件係待該控制器接收到—備份指令的狀態下即根據該變動 表格’將該固態起始區段内被寫入更新過的該程式的資料鏡射至該 常規備份區段。201042640 VII. Patent application scope: 1. A hard disk device capable of improving execution efficiency, comprising: a solid state hard disk; a hard disk with a storage capacity greater than the solid state hard disk; and a controller's system and the conventional Hard disk, _ hard disk and - electric connection, the controller in the hard county to carry out the secret scale, difficult to systemize RAID 0 technology, planning a conventional designated section on the conventional hard disk, so that The computer regards the money-sending designated section and the 111-state hard disk as an independent logical age unit for storing the data of the electrical-resistance-program, and writing the data of the program to the RAID 〇 technology When the logic age is 70, it is written into the regular designated section and the solid state hard disk, and the logical storage unit is read by Nayong technology. The self-riding section and the solid-state (4) read the miscellaneous type of listening, the city control succeeds in the _ 丨 technology, on the conventional hard disk - the conventional pure section, riding the data of the program in the hard disk Mirroring to the conventional backup section so that the controller can be in the solid State 0 (4) Loss of the lining, the division of the numb often touches the slaves and prepares the data of the program stored in the leg. 'Complete the program for executing the program on the computer. 2. As requested. The hard disk shake capable of improving the execution efficiency described in Item 1, wherein the storage unit of the solid state hard disk is a single-stage storage unit flash memory. For example, please refer to the iZ to improve the efficiency of the hard disk, in which the storage of the solid state hard disk is a multi-level storage ·% flash flash memory. , as described in claim i, the hard disk device body capable of improving the execution efficiency and the multi-riding memory device, the memory device, the hard disk device capable of improving the execution efficiency, including a solid state hard disk; The storage capacity of the disc is greater than the solid state hard disk; and the controller is connected to the conventional hard disk, the solid state hard disk and the electric circuit respectively, and the controller performs initialization and scaling on the hard device. The successor uses a facial mask technique to 'plan a regular designated segment on the conventional hard disk, and in the solid state hard disk plan m state start segment' causes the computer to specify the regular designated segment and the solid state The segment is regarded as a separate logical storage unit for storing the data of the program specified by the computer, and the data of the program is written to the logical storage by the RAID 0 technology: when the data of the program is divided into When the data of the program in the logical storage unit is read by the RAID Q technology in a plurality of sections, respectively, to the conventional fingerprint section and the missing section, respectively, the predetermined designated section and the solid state are respectively Read the program in the starting section Information, and the controller uses a difficult technology, in which the regular hard disk is planned - the regular backup section 'to back up the program's material in the beginning section and the controller can be performed on the computer Normal operation, and writing the (4) of the program in the solid start section, recording the information of the written person as a change table 'so that the controller can start the solid state according to the change secret The updated data of the miscellaneous data is written in the section to the financial section, so that the controller can store the solid-state hard disk through the conventional designated section and the regular backup section respectively. The program of the program completes the program of the program. The hard disk device of the solid state drive is a single-stage storage unit flash memory. The hard disk device of the present invention as described in claim 5, wherein the solid state drive 20 201042640 storage unit is a multi-level storage unit flash memory. 8. As claimed in item 5. Hard to improve execution efficiency The device, wherein the storage of the hard disk includes a single-stage storage unit side memory and a multi-level storage unit flash memory. , " 9, a device reading and writing method capable of improving execution efficiency, the method is A hard disk device is provided with a conventional hard disk, a solid state hard disk and a controller. The conventional hard disk and solid state hard disk are respectively connected to the controller, and the controller is connected to the controller. : ο The computer is connected. When the hard disk device is initialized, the controller steps: Use RAID technology to plan a regular designated section on the conventional hard disk so that the computer will use the regular (4) segment and The _hard Wei is a side-by-side logical storage list 7G for storing data of a program specified by the computer, and when the _ 〇 technology is used to write the poor material of the program to the logical age unit, the miscellaneous data is used. Divided into a plurality of segments, respectively written into the regular designated segment and the solid state hard disk, such as the 乂 〇 〇 technology to read the silk (four) material of the logical storage unit towel, respectively, from the conventional designation Read the program in the sector and solid state drive And using the RAID 1 technology to plan a conventional backup section on the conventional hard disk, feeding, and mirroring the data written to the solid-state hard disk to the regular backup section to When the solid state hard disk is damaged, the program for executing the program can be completed by the data of the program stored in the regular designated section and the conventional section. A method for reading and writing a hard disk device capable of improving execution efficiency, the method being applied to a hard disk device having a conventional hard disk, a solid state hard disk, and a "four" device, the conventional hard The disc and the solid state hard disk are respectively connected to the controller, and the controller is connected to the computer. When the hard disk device is secreted, the controller can execute 21 201042640. The following steps: Using the RAID 0 technology Planning a conventional designated section on the conventional hard disk, and planning a solid starting section on the solid state hard disk so that the computer regards the regular designated section and the solid starting section as one A separate logical storage unit for storing data of a program specified by the computer. When the data of the program is written to the logical storage unit by the RAID 0 technology, the data of the program is divided into several segments and written separately. When the data of the program in the logical storage unit is read by the RAID 0 technology, the data is read from the regular designated segment and the solid start segment respectively. The program Data; and using RAID 1 technology, a regular backup section is planned on the conventional hard disk to back up the data of the program in the solid start section, and then a change record section is planned, 嗣, in the When the computer performs a normal operation and writes the data of the program in the solid start section, the written information is recorded as a change table and stored in the change record section to satisfy Under the condition of a predetermined condition, the data of the program written in the solid start section is mirrored to the regular backup section according to the change table, so that when the solid state hard disk is damaged, it can be separately transmitted. The system specifies the data of the program stored in the section and the regular backup section to complete the program for executing the program on the computer. η. The hard disk device read/write method capable of performing a solution according to the claim ίο, wherein the predetermined condition is written in the solid start segment according to the change table every predetermined time interval. The updated data of the program is mirrored to the regular backup section. 12. The method of reading and writing the hard disk device according to the light item 1 can improve the read/write method of the hard disk device. The predetermined condition in the basin is to wait for the hard disk device to be idle, that is, according to the change table, the solid state start The data of the program written in the section that has been updated is mirrored to the regular 22 201042640 backup section. 13. The method for reading and writing a hard disk according to claim 10, wherein the predetermined condition is that the controller receives the state of the backup command, that is, according to the change table, the solid state is The data of the program written to the updated section in the initial section is mirrored to the regular backup section. 〇 23〇 23
TW98117669A 2009-05-27 2009-05-27 Can improve the efficiency of the implementation of the hard disk device and its reading and writing methods TWI386922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98117669A TWI386922B (en) 2009-05-27 2009-05-27 Can improve the efficiency of the implementation of the hard disk device and its reading and writing methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98117669A TWI386922B (en) 2009-05-27 2009-05-27 Can improve the efficiency of the implementation of the hard disk device and its reading and writing methods

Publications (2)

Publication Number Publication Date
TW201042640A true TW201042640A (en) 2010-12-01
TWI386922B TWI386922B (en) 2013-02-21

Family

ID=45000644

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98117669A TWI386922B (en) 2009-05-27 2009-05-27 Can improve the efficiency of the implementation of the hard disk device and its reading and writing methods

Country Status (1)

Country Link
TW (1) TWI386922B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423892A (en) * 2013-08-29 2015-03-18 宏碁股份有限公司 Data writing method, disk module and data writing system
US9229655B2 (en) 2010-12-30 2016-01-05 Sandisk Technologies Inc. Controller and method for performing background operations
US9372802B2 (en) 2013-08-22 2016-06-21 Acer Incorporated Data writing method, hard disc module, and data writing system
TWI620067B (en) * 2016-12-01 2018-04-01 英業達股份有限公司 Server system and reading method
CN115826882A (en) * 2023-02-15 2023-03-21 苏州浪潮智能科技有限公司 Storage method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8341332B2 (en) * 2003-12-02 2012-12-25 Super Talent Electronics, Inc. Multi-level controller with smart storage transfer manager for interleaving multiple single-chip flash memory devices
US8499168B2 (en) * 2007-05-09 2013-07-30 Kingston Technology Corporation Secure and scalable solid state disk system
US20090063895A1 (en) * 2007-09-04 2009-03-05 Kurt Smith Scaleable and maintainable solid state drive
TWM344552U (en) * 2008-05-28 2008-11-11 Silicon Power Comp & Comm Inc Solid state disk

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9229655B2 (en) 2010-12-30 2016-01-05 Sandisk Technologies Inc. Controller and method for performing background operations
US9372802B2 (en) 2013-08-22 2016-06-21 Acer Incorporated Data writing method, hard disc module, and data writing system
CN104423892A (en) * 2013-08-29 2015-03-18 宏碁股份有限公司 Data writing method, disk module and data writing system
TWI620067B (en) * 2016-12-01 2018-04-01 英業達股份有限公司 Server system and reading method
CN115826882A (en) * 2023-02-15 2023-03-21 苏州浪潮智能科技有限公司 Storage method, device, equipment and storage medium
CN115826882B (en) * 2023-02-15 2023-05-30 苏州浪潮智能科技有限公司 Storage method, device, equipment and storage medium

Also Published As

Publication number Publication date
TWI386922B (en) 2013-02-21

Similar Documents

Publication Publication Date Title
TWI362667B (en) Data writing method for flash memory and controller thereof
US9841911B2 (en) Green NAND device (GND) driver with DRAM data persistence for enhanced flash endurance and performance
TWI375962B (en) Data writing method for flash memory and storage system and controller using the same
US9923562B1 (en) Data storage device state detection on power loss
JP4439578B1 (en) Nonvolatile semiconductor memory drive device and data management method for nonvolatile semiconductor memory drive device
TW200917270A (en) Wear leveling method and controller using the same
TW200828273A (en) Hard disk cache device and method
TWI506417B (en) Handling unclean shutdowns for a system having non-volatile memory
TW201007449A (en) Flash memory storage system and data writing method thereof
CN102193869B (en) Memory management and write-in method, memory controller and storage system
TW201117001A (en) Data backup method for a flash memory and controller and storage system using the same
JP2010152516A (en) Nonvolatile semiconductor memory drive, information processing apparatus, and management method of storage area in nonvolatile semiconductor memory drive
US9015459B2 (en) Method of initializing operation of a memory system
WO2014132373A1 (en) Storage system and memory device fault recovery method
TW200929227A (en) Method for preventing read-disturb happened in non-volatile memory and controller thereof
TW201443776A (en) Firmware code loading method, memory controller and memory storage apparatus
TWI498738B (en) File protecting method and system, and memory controller and memory storage apparatus thereof
TWI421870B (en) Data writing method for a flash memory, and controller and storage system using the same
TW201042640A (en) Hard disk drive device capable of increasing the execution efficiency, and its read/write method
BR112014009915B1 (en) METHOD FOR ALLOCATION OF MEMORY, DEVICE AND NON TRANSIENT MACHINE-READABLE STORAGE MEANS
US8953269B1 (en) Management of data objects in a data object zone
KR100816763B1 (en) Electronic system using flash memory module by a main storage and booting method thereof
TW201239623A (en) Data merging method for non-volatile memory and controller and stoarge apparatus using the same
TW201441927A (en) A solid state disk device
CN111984441A (en) Instantaneous power failure recovery processing method and device and computer readable storage medium