TWI492060B - Computer system with built-in flash memory backup unit and method thereof - Google Patents
Computer system with built-in flash memory backup unit and method thereof Download PDFInfo
- Publication number
- TWI492060B TWI492060B TW098140320A TW98140320A TWI492060B TW I492060 B TWI492060 B TW I492060B TW 098140320 A TW098140320 A TW 098140320A TW 98140320 A TW98140320 A TW 98140320A TW I492060 B TWI492060 B TW I492060B
- Authority
- TW
- Taiwan
- Prior art keywords
- unit
- flash memory
- working
- hard disk
- booting
- Prior art date
Links
Landscapes
- Stored Programmes (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
本發明為一種內建具有對一快閃記憶體作業單元備援的快閃記憶體備援作業單元之電腦系統及方法,尤指一種電腦內建三個以上作業單元,其中至少一為硬碟機作業單元,另外至少兩個為快閃記憶體作業單元,且兩個快閃記憶體作業裝置具有相同資料內容,彼此互為備援。The present invention relates to a computer system and method for building a flash memory backup operation unit for a flash memory operation unit, in particular a computer built in three or more operation units, at least one of which is a hard disk. At least two of the machine working units are flash memory working units, and the two flash memory working devices have the same data content and are mutually redundant.
按,個人電腦都是以硬碟機作為作業系統的載入裝置,近年來由於半導體快閃記憶體(Flash Memory,一般使用NAND type)的快速發展,一些攜帶型個人電腦部份改採用快閃記憶體來取代硬碟機。但是由於記憶體單位容量成本過高,設若完全以快閃記憶體取代硬碟機,並不符合經濟實用原則,若容量過小,使用上也不便利。再者,電腦病毒猖獗,當快閃記憶體毀損後,使用者得花數小時時間重新安裝。According to the personal computer, the hard disk drive is used as the loading device of the operating system. In recent years, due to the rapid development of semiconductor flash memory (Generally used NAND type), some portable personal computers have been replaced with flash. Memory to replace the hard drive. However, due to the high cost per unit of memory, it is not economical or practical to replace the hard disk drive with flash memory. If the capacity is too small, it is not convenient to use. Furthermore, the computer virus is awkward, and when the flash memory is damaged, the user has to spend several hours reinstalling.
使用硬碟機作為作業裝置與使用快閃記憶體作為作業裝置各有其優缺點,簡述如下:The advantages and disadvantages of using a hard disk drive as a working device and using a flash memory as a working device are as follows:
一、硬碟機作業裝置,主要優點是記憶容量大,以目前硬碟機的產品規格而言,500GB及640GB已經可以大量生產且未來記憶容量將會更大,這樣的容量對於大部份的使用者而言是足夠的。但是相對於快閃記憶體作業裝置,硬碟機有不少缺點包括耗電量大以及噪音等等,但是最大的致命缺點是其穩定度,兩吋半硬碟機的轉軸馬達(Spindle motor)一般有5400rpm(每分鐘旋轉5,400圈)或7200rpm,高速旋轉之下很容易因為外部的碰撞、震動而受損,一旦磁軌受損,記錄於磁軌上的資料就很容易全部或部份毀損,這一直是電腦使用者最大的痛。First, the hard disk drive operating device, the main advantage is the large memory capacity, in terms of current hard disk drive product specifications, 500GB and 640GB can be mass-produced and the future memory capacity will be larger, such capacity for most of It is sufficient for the user. However, compared with the flash memory operating device, the hard disk drive has many disadvantages including large power consumption and noise, etc., but the biggest fatal disadvantage is its stability, the spindle motor of the two-and-a-half-semi-hard disk drive. Generally, there are 5400 rpm (5,400 laps per minute) or 7200 rpm. Under high-speed rotation, it is easy to be damaged by external collision and vibration. Once the track is damaged, the data recorded on the track is easily damaged in whole or in part. This has been the biggest pain for computer users.
二、快閃記憶體作業裝置,主要優點是速度快與無噪音(因不需馬達),但是缺點就是容量太小,目前單顆快閃記憶體容量約為8GB或16GB,因此,若要達到640GB容量則需40顆快閃記憶體。但是若僅僅儲存作業系統及一般的應用程式,16GB或32GB是足夠的。Second, the flash memory operating device, the main advantage is fast and no noise (because no motor), but the disadvantage is that the capacity is too small, the current single flash memory capacity is about 8GB or 16GB, therefore, to achieve 640GB capacity requires 40 flash memory. However, if only the operating system and general applications are stored, 16GB or 32GB is sufficient.
有鑑於習知技術之各項問題,為了能夠兼顧解決之,本發明人基於多年從事相關領域的研究開發與諸多實務經驗,乃思及改良之意念,窮其個人之專業知識,並經多方研究與專題探討,遂於本發明提出一種內建具有對一快閃記憶體作業單元備援的快閃記憶體備援作業單元之電腦系統及方法。In view of the problems of the prior art, in order to be able to solve the problem, the inventor has been engaged in research and development in related fields and many practical experiences for many years, thinking and improving ideas, diversifying his personal expertise, and conducting multi-party research. In connection with the special topic, the present invention provides a computer system and method for building a flash memory backup operation unit with backup for a flash memory operation unit.
爰此,為有效解決上述之問題,本發明主要目的提供一種電腦系統內建有三個以上的作業單元,其中包括至少兩快閃記憶體作業單元及至少一硬碟機作業單元,該等快閃記憶體作業單元可互為備援,其中之一為開機執行裝置供該電腦系統首選開機載入作業系統,另一則為備援裝置,在該開機執行裝置的作業系統不能執行或遭毀損時,該電腦系統隨即載入該備援裝置內的作業系統執行開機程序以替代該開機執行裝置。Therefore, in order to effectively solve the above problems, the main object of the present invention is to provide a computer system with more than three working units, including at least two flash memory working units and at least one hard disk working unit, and these flashes The memory operating units can be mutually redundant, one of which is a booting device for the computer system to be preferred to boot the operating system, and the other is a backup device, when the operating system of the booting device cannot be executed or damaged, The computer system then loads the operating system in the backup device to perform a booting process to replace the booting device.
本發明另一目的係提供一種電腦系統內建有三個以上的作業單元,其中包括至少兩快閃記憶體作業單元及至少一硬碟機作業單元,該等作業單元其中之一選擇為開機執行裝置則其電源開啟,另兩作業單元的電源則關閉,俾達節省電腦系統電源及減少作業單元運作所產生的熱能,得以降低電腦系統整體溫度,並防止病毒入侵電源關閉的作業單元。Another object of the present invention is to provide a computer system with more than three working units, including at least two flash memory working units and at least one hard disk working unit, one of the operating units being selected as the power-on executing device Then, the power is turned on, and the power of the other two operating units is turned off, which saves the power of the computer system and reduces the heat generated by the operation of the working unit, thereby reducing the overall temperature of the computer system and preventing the virus from invading the working unit with the power off.
本發明另一目的係提供一種應用在內建至少兩快閃記憶體作業單元及至少一硬碟機作業單元之電腦系統的備援方法,以令電腦系統不僅可快速開機並且可在作業系統不能執行或毀損後,迅速回復開機並進行作業系統及應用程式與資料復原的備援方法。Another object of the present invention is to provide a backup method for a computer system using at least two flash memory working units and at least one hard disk working unit, so that the computer system can not only be turned on quickly but also cannot be operated in the operating system. After execution or damage, quickly respond to the boot method and backup method for the operating system and application and data recovery.
本發明另一目的係提供一種電腦系統包括一基本輸入輸出單元(BIOS)及內建至少三個作業單元,其中具有至少兩快閃記憶體作業單元及至少一硬碟機作業單元,該基本輸入輸出單元(BIOS)及該等作業單元內分別設有一控制模組控制選擇該等作業單元其中之一為開機執行裝置,並發出訊號命令給中央處理單元經由一開關控制單元控制該等作業單元的電源開啟或關閉。Another object of the present invention is to provide a computer system including a basic input/output unit (BIOS) and at least three built-in working units, wherein at least two flash memory working units and at least one hard disk working unit, the basic input Each of the output unit (BIOS) and the operating unit is provided with a control module to control one of the operating units to be a power-on executing device, and issue a signal command to the central processing unit to control the working units via a switch control unit. The power is turned on or off.
根據上述目的,本發明之一實施為提供內建具有對一快閃記憶體作業單元備援的快閃記憶體備援作業單元之電腦系統,其包含:至少一作業介面;至少一硬碟機作業單元,具有一作業系統及應用程式與資料,並連接該作業介面;複數快閃記憶體作業單元,分別連接上述作業介面,並透過該作業介面複製該硬碟機作業單元內之內容,其中之一快閃記憶體作業單元選擇為開機執行裝置,其它的快閃記憶體作業單元為備援裝置,對該開機執行裝置的內容備援;一基本輸入輸出單元(BIOS),係選擇前述硬碟機作業單元及該等快閃記憶體作業單元其中任一作業系統載入(boot)一動態隨機存取記憶體執行;一中央處理單元,係經由前述作業介面對前述作業系統及應用程式執行運算;當該開機執行裝置不能執行開機作業時,該一備援裝置隨即執行開機作業替代該開機執行裝置,且對前述開機執行裝置重新格式化,將內存的作業系統及應用程式與資料複製到該開機執行裝置。According to the above objective, an embodiment of the present invention provides a computer system having a built-in flash memory backup operation unit for backup to a flash memory operating unit, comprising: at least one working interface; at least one hard disk drive a working unit having an operating system and application programs and data, and connecting the working interface; a plurality of flash memory working units respectively connected to the working interface, and copying contents of the hard disk working unit through the working interface, wherein One of the flash memory unit is selected as the booting device, and the other flash memory unit is the backup device, and the content of the booting device is reserved; a basic input/output unit (BIOS) selects the aforementioned hard The operating unit of the disk drive unit and the flash memory operating unit are booted by a dynamic random access memory; a central processing unit is executed by the operating system and the application program through the operation interface. Operation; when the booting execution device is unable to perform a booting operation, the backup device then performs a booting operation instead of the booting Line means and execution means for reformatting the boot copy of the operating system and memory applications and data to perform the booting device.
根據本發明上述之實施,更包括一開關控制單元,分別連接前述硬碟機作業單元及該等快閃記憶體作業單元,並分別控制該硬碟機作業單元及該等快閃記憶體作業單元開啟或關閉,且該基本輸入輸出單元未選擇的作業單元的電源經由該開關控制單元關閉,且該中央處理單元係接收至少一訊號命令,經由該開關控制單元控制前述該等快閃記憶體作業單元及硬碟機作業單元開啟或關閉。另外包括至少一控制模組分別設於硬碟機作業單元與每一快閃記憶體作業單元及基本輸入輸出單元內,控制所有的作業單元透過該作業介面進行同步更新,及發出該訊號命令給該中央處理單元,前述動態隨機存取記憶體,用以提供前述中央處理單元運算與暫存及載入與執行,前述作業介面為Parallel ATA(P-ATA)、Searial ATA(S-ATA)、SCSI、USB、系統記憶位址對映(system memory address map),前述作業系統包括微軟視窗(Microsoft window)系列作業系統、UNIX、BSD、Linux、MAC OS其中任一。According to the above implementation of the present invention, a switch control unit is further connected to the hard disk drive unit and the flash memory unit, and the hard disk drive unit and the flash memory unit are respectively controlled. Turning on or off, and the power of the unselected work unit of the basic input/output unit is turned off via the switch control unit, and the central processing unit receives at least one signal command, and controls the flash memory operation through the switch control unit. The unit and hard drive unit are turned on or off. In addition, at least one control module is respectively disposed in the hard disk drive working unit and each of the flash memory working unit and the basic input/output unit, and controls all the working units to perform synchronous update through the working interface, and sends the signal command to The central processing unit, the dynamic random access memory, is configured to provide operation, temporary storage, loading and execution of the central processing unit, and the working interface is Parallel ATA (P-ATA), Searial ATA (S-ATA), SCSI, USB, system memory address map, the aforementioned operating system includes Microsoft window series operating system, UNIX, BSD, Linux, MAC OS.
根據上述另一目的,本發明之一實施為提供一種內建具有對一快閃記憶體作業單元備援的快閃記憶體備援作業裝置之方法,適用於一電腦系統內包括至少一作業介面及第一及第二快閃記憶體作業單元,該等快閃記憶體作業單元及硬碟機作業單元分別連接至少一作業介面,該方法包含下列步驟:啟動電腦系統;選擇一快閃記憶體作業單元為開機執行裝置;選擇第一快閃記憶體作業單元為開機執行裝置,該第二快閃記憶作業單元為備援裝置;選擇第二快閃記憶體作業單元為開機執行裝置,該第一快閃記憶體作業單元為備援裝置;執行同步更新所有作業單元的內容,重新格式化另一快閃記憶體作業單元並複製資料;進行一般操作或關機。According to another aspect of the present invention, an aspect of the present invention provides a method for providing a flash memory backup operation device with a flash memory operation unit, which is suitable for use in a computer system including at least one operation interface. And the first and second flash memory working units, wherein the flash memory working unit and the hard disk working unit are respectively connected to at least one working interface, the method comprising the steps of: starting the computer system; selecting a flash memory The working unit is a booting execution device; the first flash memory working unit is selected as the booting executing device, the second flash memory working unit is the backup device; and the second flash memory working unit is selected as the booting executing device, the first A flash memory unit is a backup device; performs synchronous updating of the contents of all the job units, reformats another flash memory unit and copies the data; performs normal operations or shuts down.
根據本發明之上述實施例,啟動電腦後會先偵測第一及第二快閃記憶體作業單元內是否有作業系統,若無則選擇該硬碟機作業單元開機,並將硬碟機作業單元內的作業系統及應用程式與資料複製到第一及第二快閃記憶體作業單元內。According to the above embodiment of the present invention, after the computer is started, it is first detected whether there is an operating system in the first and second flash memory working units, and if not, the hard disk working unit is selected to be powered on, and the hard disk drive is operated. The operating system and applications and data in the unit are copied to the first and second flash memory unit.
根據本發明之上述實施例,該硬碟機作業單元及第一與第二快閃記憶體作業單元分別連接一開關控制單元,選擇第一快閃記憶體作業單元為開機執行裝置,該開關控制單元開啟第一快閃記憶體作業單元的電源,並關閉第二快閃記憶體作業單元及該硬碟機作業單元的電源;選擇第二快閃記憶體作業單元為開機執行裝置,該開關控制單元開啟第二快閃記憶體作業單元的電源,並關閉第一快閃記憶體作業單元及該硬碟機作業單元的電源。According to the above embodiment of the present invention, the hard disk drive unit and the first and second flash memory working units are respectively connected to a switch control unit, and the first flash memory working unit is selected as the power on execution device, and the switch control The unit turns on the power of the first flash memory working unit, and turns off the power of the second flash memory working unit and the hard disk working unit; and selects the second flash memory working unit as the power-on executing device, the switch controls The unit turns on the power of the second flash memory unit and turns off the power of the first flash memory unit and the hard disk unit.
有關本發明之上述目的及其他技術內容、特點與功效,在以下配合參考圖式的實施例詳細說明當中,將可清楚的呈現。The above and other technical contents, features and effects of the present invention will be apparent from the following detailed description of the embodiments of the invention.
本發明係提供一種內建對一快閃記憶體作業單元備援的快閃記憶體備援作業單元之電腦系統及其備援方法,圖示係為本發明電腦系統較佳實施例,第1圖係為本發明電腦系統之示意圖,其包含:至少一作業介面8000、至少一硬碟機作業單元5000、複數快閃記憶體作業單元、一基本輸入輸出單元(BIOS)3000及一中央處理單元1000。The present invention provides a computer system and a backup method thereof for a flash memory backup operation unit that is built-in for a flash memory operation unit. The figure is a preferred embodiment of the computer system of the present invention, the first The figure is a schematic diagram of the computer system of the present invention, comprising: at least one working interface 8000, at least one hard disk drive working unit 5000, a plurality of flash memory working units, a basic input output unit (BIOS) 3000 and a central processing unit 1000.
前述硬碟機作業單元5000,具有一作業系統10及應用程式與資料,並連接該作業介面8000,在本發明中該硬碟機作業單元5000係作為一大容量資料與檔案儲存裝置。The hard disk drive unit 5000 has an operating system 10, an application program and data, and is connected to the work interface 8000. In the present invention, the hard disk drive unit 5000 functions as a large-capacity data and file storage device.
前述複數快閃記憶體作業單元,在本較佳實施以一第一快閃記憶體作業單元6000及一第二快閃記憶體作業單元7000說明,該第一及第二快閃記憶體作業單元6000,7000分別連接上述作業介面8000,並透過該作業介面8000從該硬碟機作業單元5000複製作業系統20及應用程式與資料。The foregoing plurality of flash memory operating units are described in the preferred embodiment by a first flash memory operating unit 6000 and a second flash memory operating unit 7000, the first and second flash memory operating units 6000, 7000 are respectively connected to the working interface 8000, and the working system 20 and the application program and the data are copied from the hard disk working unit 5000 through the working interface 8000.
前述硬碟機作業單元5000與第一快閃及第二快閃記憶體作業單元6000,7000係內建於電腦系統中,且該第一及第二快閃記憶體作業單元6000,7000具有相同的內容(如作業系統與應用程式及資料)且互相備援,前述作業系統10包括微軟視窗(Microsoft window)系列作業系統、UNIX、BSD、Linux、MAC OS其中任一。另外本實施雖以一硬碟機作業單元5000及兩快閃記憶體作業單元6000,7000作說明,然並非在限制本發明的作業單元數量,亦可以一個硬碟機作業單元搭配兩個以上快閃記憶體作業單元或者以兩個硬碟機作業單元搭配兩個或兩個以上快閃記憶體作業單元。The hard disk drive unit 5000 and the first flash and second flash memory working units 6000, 7000 are built in the computer system, and the first and second flash memory working units 6000, 7000 have the same The contents (such as the operating system and applications and materials) are mutually redundant. The aforementioned operating system 10 includes any of the Microsoft window series operating systems, UNIX, BSD, Linux, and MAC OS. In addition, although the present embodiment is described by a hard disk drive unit 5000 and two flash memory working units 6000, 7000, it is not limited to the number of working units of the present invention, and a hard disk drive unit can be combined with two or more fast. A flash memory unit or two or more flash memory units with two hard drive units.
前述基本輸入輸出單元(BIOS)3000,選擇前述硬碟機作業單元5000及第一與第二快閃記憶體作業單元6000,7000其中任一作業系統載入(boot)一動態隨機存取記憶體2000執行。The basic input/output unit (BIOS) 3000 selects the hard disk drive unit 5000 and the first and second flash memory working units 6000, 7000, and any one of the operating systems boots a dynamic random access memory. 2000 implementation.
前述中央處理單元1000,係接收至少一訊號命令,並連接該開關控制單元4000,經由該開關控制單元4000控制第一與第二快閃記憶體作業單元6000,7000及硬碟機作業單元5000開啟或關閉,並經由前述作業介面8000對前述作業系統10及應用程式執行運算。The central processing unit 1000 receives at least one signal command and connects to the switch control unit 4000, and controls the first and second flash memory working units 6000, 7000 and the hard disk drive unit 5000 to be turned on via the switch control unit 4000. Alternatively, the operation is performed on the operating system 10 and the application program via the job interface 8000.
前述動態隨機存取記憶體(DRAM)2000在開機以後,提供該作業系統10、應用程式與資料載入,並用以提供前述中央處理單元1000運算與暫存及載入與執行。The dynamic random access memory (DRAM) 2000 provides the operating system 10, application and data loading after booting, and provides the central processing unit 1000 for operation and temporary storage and loading and execution.
至少一控制模組20分別設於硬碟機作業單元5000與第一及第二快閃記憶體作業單元6000,7000及基本輸入輸出單元3000內,控制所有的作業單元透過該作業介面8000進行同步更新,具體實現為該控制模組20透過一組設定的通行密碼,在每次開機時做一次密碼核對,正確後方能選擇欲載入作業系統10的作業單元。At least one control module 20 is respectively disposed in the hard disk drive working unit 5000 and the first and second flash memory working units 6000, 7000 and the basic input/output unit 3000, and controls all the working units to be synchronized through the working interface 8000. The update is specifically implemented by the control module 20 to perform a password check every time the power is turned on through a set of pass passwords, and the work unit to be loaded into the work system 10 can be selected correctly.
前述作業介面8000,係指硬碟機作業單元5000及第一快閃記憶體作業單元6000及第二快閃記憶體作業單元7000與電腦系統的硬體之介面,其包括Parallel ATA(P-ATA)、Searial ATA(S-ATA)、SCSI、USB、系統記憶位址對映(system memory address map),其中該硬碟機作業單元5000的作業介面較佳選用P-ATA(Parallel ATA,也稱EIDE介面)或S-ATA(Serial ATA)介面,另外若電腦系統使用SCSI卡則可選用SCSI介面作為作業介面;第一及第二快閃記憶作業單元6000,7000較佳選用SCSI及P-ATA與S-ATA、USB、系統記憶位址對映(System Memory Map)當作作業介面。The working interface 8000 refers to a hardware interface between the hard disk drive working unit 5000 and the first flash memory working unit 6000 and the second flash memory working unit 7000 and the computer system, and includes Parallel ATA (P-ATA). ), Searial ATA (S-ATA), SCSI, USB, system memory address map, wherein the hard disk drive unit 5000's working interface is preferably P-ATA (Parallel ATA, also known as EIDE interface) or S-ATA (Serial ATA) interface. In addition, if the computer system uses a SCSI card, the SCSI interface can be used as the working interface. The first and second flash memory operating units 6000 and 7000 are preferably SCSI and P-ATA. It is used as a job interface with S-ATA, USB, and System Memory Map.
前述系統記憶位址對映(System Memory Address Mapped)方式,係將第一及第二快閃記憶體作業單元6000,7000以系統記憶位址對映(System Memory Address Mapped)方式設計於電腦系統中,換言之電腦系統的記憶位址對映如第2圖,系統總記憶空間一般為4GB,其位址區域的使用如下:The system memory address mapping method is designed to design the first and second flash memory operating units 6000, 7000 in a system memory address mapped manner in a computer system. In other words, the memory address mapping of the computer system is shown in Figure 2. The total memory space of the system is generally 4 GB. The address area is used as follows:
(1)位址896K到位址1MB(1024K)以及位址4GB以下的128K為傳統的基本輸入輸出單元(BIOS)3000使用位址區域。(1) The address 896K to the address 1MB (1024K) and the address address below 4GB 128K are the conventional basic input/output unit (BIOS) 3000 using the address area.
(2)位址000到位址2GB,扣除基本輸入輸出單元(BIOS)3000的區域後為動態隨機存取記憶體(DRAM)2000的使用區域。(2) Address 000 to address 2 GB, after deducting the area of the basic input/output unit (BIOS) 3000, is the use area of the dynamic random access memory (DRAM) 2000.
(3)位址2GB以上至3GB的1GB位址空間為本發明第一快閃及第二快閃記憶體作業單元6000,7000的使用區域,其中每一快閃記憶體作業單元使用0.5GB的位址區域,並以Banking方式控制,每個裝置使用16個Bank總計每一裝置擁有8GB記憶容量。若快閃記憶體作業單元與系統的介面不是用系統記憶位址對映,則此位址空間則可作為其它用途或預留給動態隨機存取記憶體(DRAM)使用。當使用系統記憶位址對映(System Memory Address Mapped)方式作為介面時,需先將第一及第二快閃記憶體作業單元6000、7000予以格式化(Format),並從硬碟機作業單元5000內複製作業系統10與應用程式,該第一及第二快閃記憶體作業單元6000,7000即成為與硬碟機作業單元5000相容的裝置。(3) The 1 GB address space with the address of 2 GB or more to 3 GB is the use area of the first flash and the second flash memory working unit 6000, 7000 of the present invention, wherein each flash memory working unit uses 0.5 GB. The address area is controlled by Banking. Each device uses 16 banks and each device has 8 GB of memory capacity. If the interface between the flash memory unit and the system is not mapped to the system memory address, the address space can be used for other purposes or reserved for dynamic random access memory (DRAM). When using the System Memory Address Mapped mode as the interface, the first and second flash memory operating units 6000, 7000 must be formatted (Format) from the hard disk drive unit. The operating system 10 and the application program are copied within 5000, and the first and second flash memory operating units 6000, 7000 become devices compatible with the hard disk drive unit 5000.
(4)位址2GB以下1MB以上的位址空間為一般電腦的動態隨機存取記憶體(DRAM)2000的使用區域。(4) The address space of 1 MB or more with a address of 2 GB or less is a use area of a dynamic random access memory (DRAM) 2000 of a general computer.
另外要說明的是,上述的描述並非在限制任何一個作業單元的介面,以本實施例而言這三個作業單元可以使用相同或不同的介面,再者在第2圖的設計也並未限制第一及第二快閃記憶體作業單元6000,7000使用系統記憶對映的區域的大小,也並不限制使用多少個Bank。It should be noted that the above description is not intended to limit the interface of any one of the working units. In the present embodiment, the three working units may use the same or different interfaces, and the design of FIG. 2 is not limited. The first and second flash memory operating units 6000, 7000 use the size of the area in which the system memory is mapped, and do not limit how many banks are used.
在本發明前述基本輸入輸出單元(BIOS)3000,選擇第一快閃記憶體作業單元6000為開機執行裝置以執行開機程序,該第二快閃記憶體作業單元3000則為備援裝置,對該開機執行裝置的內容(包括作業系統、應用程式及資料)備援,並且當該開機執行裝置不能執行開機作業時,該備援作業裝置隨即執行開機作業,對前述開機執行裝置重新格式化,並將內存的作業系統及應用程式與資料複製到該開機執行裝置。In the foregoing basic input/output unit (BIOS) 3000 of the present invention, the first flash memory working unit 6000 is selected as the booting execution device to execute the booting process, and the second flash memory working unit 3000 is the backup device. The booting execution device content (including the operating system, the application program and the data) is backed up, and when the booting execution device is unable to perform the booting operation, the backup working device immediately performs a booting operation, reformatting the booting executing device, and Copy the operating system and applications and data from the memory to the boot device.
續參第3圖為本發明電腦系統之另一實施,其與前述第一實施的電腦系統相同,惟不同處在於本實施的電腦系統更包括一開關控制單元4000分別連接前述硬碟機作業單元5000及第一與第二快閃記憶體作業單元6000,7000,以控制硬碟機作業單元5000及第一與第二快閃記憶體作業單元6000,7000開啟或關閉。3 is another embodiment of the computer system of the present invention, which is the same as the computer system of the first embodiment, except that the computer system of the present embodiment further includes a switch control unit 4000 for respectively connecting the hard disk drive unit. The 5000 and the first and second flash memory operating units 6000, 7000 are used to control the hard disk drive unit 5000 and the first and second flash memory working units 6000, 7000 to be turned on or off.
在本實施中該基本輸入輸出單元(BIOS)3000選擇前述硬碟機作業單元5000及第一與第二快閃記憶體作業單元6000,7000其中任一作業系統載入(boot)一動態隨機存取記憶體2000執行,而未被選擇的作業單元的電源則選擇開啟或關閉。In this embodiment, the basic input/output unit (BIOS) 3000 selects the hard disk drive unit 5000 and the first and second flash memory working units 6000, 7000, and any one of the operating systems boots a dynamic random memory. The memory 2000 is executed, and the power of the unselected work unit is selected to be turned on or off.
前述中央處理單元1000,係接收該控制模組20的至少一訊號命令,並連接該開關控制單元1000,經由該開關控制單元1000控制第一與第二快閃記憶體作業單元6000,7000及硬碟機作業單元5000開啟或關閉,並經由前述作業介面8000對前述作業系統10及應用程式執行運算。The central processing unit 1000 receives at least one signal command of the control module 20, and is connected to the switch control unit 1000, and controls the first and second flash memory working units 6000, 7000 and hard via the switch control unit 1000. The disk drive unit 5000 is turned on or off, and an operation is performed on the operating system 10 and the application program via the job interface 8000.
該控制模組20分別設於硬碟機作業單元5000與第一及第二快閃記憶體作業單元6000,7000及基本輸入輸出單元3000內,控制所有的作業單元透過該作業介面8000進行同步更新,具體實現為該控制模組20透過一組設定的通行密碼,在每次開機時做一次密碼核對,正確後方能選擇欲載入作業系統10的作業單元,且開啟被選擇的作業單元的電源開啟,未被選擇的作業單元的電源則關閉,例如本較佳實施該第一快閃記憶體作業單元6000被選擇為開機執行裝置則其電源開啟,第二快閃記憶體作業單元7000及硬碟機作業單元5000的電源則關閉。The control module 20 is respectively disposed in the hard disk drive working unit 5000 and the first and second flash memory working units 6000, 7000 and the basic input/output unit 3000, and controls all the working units to be synchronously updated through the working interface 8000. Specifically, the control module 20 performs a password check every time the power is turned on through a set of passwords, and can select the working unit to be loaded into the operating system 10 and turn on the power of the selected working unit. The power of the unselected working unit is turned off. For example, in the preferred embodiment, the first flash memory operating unit 6000 is selected as the power-on executing device, and the power is turned on, the second flash memory working unit 7000 and the hard The power of the disc drive unit 5000 is turned off.
前述開關控制單元4000控制各作業單元的電源開啟或關閉,俾使病毒不能入侵電源為關閉狀態的作業單元,且只有作為開機執行裝置的作業單元的電源開啟,其餘作業單元的電源關閉相較於習知的電腦系統更節省電源,另外電源關閉的作業單元沒在運作更降低電腦系統內的熱能。The foregoing switch control unit 4000 controls the power of each work unit to be turned on or off, so that the virus cannot invade the work unit whose power is off, and only the power of the work unit as the booting device is turned on, and the power of the remaining work units is turned off. The conventional computer system saves power, and the operating unit that is powered off is not operating to reduce the heat energy in the computer system.
一併參閱第1、3及4圖所示,將詳述本發明之備援方法,該方法包含以下步驟:S100開始,啟動電腦系統。Referring to Figures 1, 3 and 4, the backup method of the present invention will be described in detail. The method comprises the following steps: S100 starts, and the computer system is started.
S200偵測作業單元,基本輸入輸出系統(BIOS)3000進行電腦系統的開機自我測試(Power On Self Test,POST)時,偵測作業單元的數量,及各作業單元是否內載有作業系統10,若是則進行步驟400,若否則進行步驟300。The S200 detects the operating unit, and the basic input/output system (BIOS) 3000 detects the number of working units and the operating system 10 in each working unit when performing a Power On Self Test (POST) of the computer system. If yes, proceed to step 400, otherwise proceed to step 300.
在本發明較佳實施,該基本輸出入系統(BIOS)3000偵測一硬碟機作業單元5000及第一快閃記憶體6000及第二快閃記憶體7000。In a preferred embodiment of the present invention, the basic input/output system (BIOS) 3000 detects a hard disk drive unit 5000 and the first flash memory 6000 and the second flash memory 7000.
S300複製,在本發明首次開機時僅硬碟機作業單元5000有作業系統及應用程式(含控制模組)與資料,該第一快閃記憶體作業單元6000及第二快閃記憶體作業單元7000為空的內容,所以基本輸出入系統(BIOS)3000會將硬碟機作業單元5000內的作業系統10載入動態隨機存取記憶體2000執行,也就是以硬碟機作業單元5000為開機執行裝置,並在硬碟機作業單元5000的作業系統中將其內的作業系統10及應用程式(含控制模組)與資料複製到第一快閃記憶體作業單元6000及第二快閃記憶體作業單元7000內。The S300 is copied. In the first booting of the present invention, only the hard disk drive unit 5000 has an operating system and an application (including a control module) and data, and the first flash memory working unit 6000 and the second flash memory working unit The 7000 is empty content, so the basic input/output system (BIOS) 3000 loads the operating system 10 in the hard disk drive unit 5000 into the dynamic random access memory 2000, that is, the hard disk drive unit 5000 is powered on. Executing the device and copying the operating system 10 and the application program (including the control module) and the data therein to the first flash memory working unit 6000 and the second flash memory in the operating system of the hard disk drive unit 5000 Inside the body working unit 7000.
在本步驟完成後硬碟機作業單元5000與第一快閃記憶體作業單元6000及第二快閃記憶體作業單元7000成為相容的作業裝置,並到步驟600在硬碟機作業單元5000內的作業系統10進行一般的操作或者關機。After the completion of this step, the hard disk drive unit 5000 and the first flash memory working unit 6000 and the second flash memory working unit 7000 become compatible working devices, and go to step 600 in the hard disk drive unit 5000. The operating system 10 performs general operations or shuts down.
S400選擇一快閃記憶體為開機執行裝置,在本步驟基本輸入輸出系統(BIOS)3000偵測到第一快閃記憶體作業單元6000及第二快閃記憶體作業單元7000內有作業系統10,並利用在基本輸入輸出單元(BIOS)3000內的控制模組20選擇兩快閃記憶體作業單元6000,7000其中一為開機執行裝置,並關閉另一快閃記憶體作業單元及硬碟機作業單元5000的電源,並且當該開機執行裝置不能執行或毀損時,立即以備援裝置執行。The S400 selects a flash memory as the booting execution device. In this step, the basic input/output system (BIOS) 3000 detects that the first flash memory operating unit 6000 and the second flash memory working unit 7000 have the operating system 10 therein. And using the control module 20 in the basic input/output unit (BIOS) 3000 to select two flash memory working units 6000, one of which is a booting execution device, and close another flash memory working unit and a hard disk drive The power of the work unit 5000, and when the power-on execution device cannot be executed or damaged, is immediately executed by the backup device.
S410選擇第一快閃記憶體作業單元6000為開機執行裝置,則該第二快閃記體作業單元7000為備援裝置,基本輸入輸出系統(BIOS)3000會將第一快閃記憶體作業單元6000內的作業系統10載入動態隨機存取記憶體2000內。(如第1圖電腦系統實施)S410 selects the first flash memory working unit 6000 as the booting execution device, and the second flash memory working unit 7000 is the backup device, and the basic input/output system (BIOS) 3000 will be the first flash memory working unit 6000. The internal operating system 10 is loaded into the dynamic random access memory 2000. (as shown in Figure 1 computer system implementation)
另外在本步驟中該開關控制單元4000開啟第一快閃記憶體作業單元6000的電源,並關閉第二快閃記憶體作業單元7000及該硬碟機作業單元5000的電源。In addition, in this step, the switch control unit 4000 turns on the power of the first flash memory working unit 6000, and turns off the power of the second flash memory working unit 7000 and the hard disk working unit 5000.
S420選擇第二快閃記憶體作業單元7000為開機執行裝置,則該第一快閃記憶體作業單元6000為備援裝置,基本輸入輸出系統(BIOS)3000會將第二快閃記憶體作業單元7000內的作業系統10載入動態隨機存取記憶體2000內。(如第1圖電腦系統實施)S420 selects the second flash memory working unit 7000 as the booting execution device, the first flash memory working unit 6000 is the backup device, and the basic input/output system (BIOS) 3000 will be the second flash memory working unit. The operating system 10 within the 7000 is loaded into the dynamic random access memory 2000. (as shown in Figure 1 computer system implementation)
另外在本步驟中該開關控制單元4000開啟第二快閃記憶體作業單元7000的電源,並關閉第一快閃記憶體作業單元6000及該硬碟機作業單元5000的電源。In addition, in this step, the switch control unit 4000 turns on the power of the second flash memory working unit 7000, and turns off the power of the first flash memory working unit 6000 and the hard disk working unit 5000.
S500執行同步更新所有作業單元的內容,及重新格式化另一快閃記憶體作業單元並複製資料,本步驟選擇執行以下的次步驟:S501控制模組20開啟備援裝置及/或硬碟機作業單元5000的電源(例如步驟410為第二快閃記憶體作業單元7000及/或硬碟機作業單元5000;步驟420為第一快閃記憶體作業單元6000及/或硬碟機作業單元5000),並知會作業系統10;S502同步更新備援裝置及/或硬碟機作業單元5000內容;S503在開機執行裝置的作業系統10毀損或不能執行,備援裝置的作業系統被載入(即備援裝置被開啟)以代替開機執行裝置後,格式化該開機執行裝置,並將備援裝置內的作業系統及應用程式與資料複製到該開機執行裝置;S504關閉未運作作業單元的電源,並知會作業系統10。The S500 performs the synchronous update of the contents of all the work units, and reformats another flash memory unit and copies the data. In this step, the following steps are performed: the S501 control module 20 turns on the backup device and/or the hard disk drive. The power of the working unit 5000 (for example, step 410 is the second flash memory working unit 7000 and/or the hard disk working unit 5000; step 420 is the first flash memory working unit 6000 and/or the hard disk working unit 5000 And knowing the operating system 10; S502 synchronously updating the backup device and/or the hard disk drive unit 5000 content; S503 is damaged or unexecutable in the operating system 10 of the booting execution device, and the operating system of the backup device is loaded (ie, After the boot device is turned on, the boot device is formatted, and the operating system and the application program and data in the backup device are copied to the boot device; S504 turns off the power of the unoperated work unit. The operating system 10 is also known.
S600執行一般操作或關機。The S600 performs general operations or shuts down.
綜上所述,本發明具備下列各項優點:In summary, the present invention has the following advantages:
1.以兩個快閃記憶體作業單元6000,7000其中之一作為開機執行裝置另外一個作為備援裝置,可達到快速回復,當開機執行裝置一旦遭受毀損時可以在三秒內由備援裝置開機替代為開機執行裝置,並對已毀損的快閃記憶體作業單元立即重新格式化並複製作業系統。1. One of the two flash memory operating units 6000, 7000 is used as the booting device as a backup device, which can achieve a quick reply. When the booting device is damaged, it can be used by the backup device within three seconds. The power-on is replaced by the boot-up device and the operating system is reformatted and copied immediately to the corrupted flash memory unit.
2.正常使用下,作為開機執行裝置的作業單元的電源開啟,餘下的作業單元的電源則關閉,可節省電源使用及機器運作熱能的產生,並防止病毒入侵。2. Under normal use, the power of the working unit as the power-on execution device is turned on, and the power of the remaining working unit is turned off, which can save power generation and heat generation of the machine operation, and prevent virus intrusion.
3.硬碟機作業單元5000僅作為一大容量資料與檔案儲存裝置,平時又處於不開機狀態,因此可以減少因震動、摔撞而毀損的風險,也斷絕了遭受病毒入侵而毀損的機會。3. The hard disk drive unit 5000 is only used as a large-capacity data and file storage device. It is usually not turned on, so it can reduce the risk of damage caused by vibration and collision, and also cut off the chance of being damaged by virus invasion.
雖然本發明以實施方式揭露如上,然其並非用以限定本發明,任何熟悉此技藝者,在不脫離本發明的精神和範圍內,當可作各種的更動與潤飾,因此本發明之保護範圍當視後附的申請專利範圍所定者為準。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.
1000...中央處理單元1000. . . Central processing unit
2000...動態隨機存取記憶體2000. . . Dynamic random access memory
3000‧‧‧基本輸入輸出單元3000‧‧‧Basic input and output unit
4000‧‧‧開關控制單元4000‧‧‧Switch Control Unit
5000‧‧‧硬碟機作業單元5000‧‧‧ hard disk drive unit
6000‧‧‧第一快閃記憶體作業單元6000‧‧‧First flash memory unit
7000‧‧‧第二快閃記憶體作業單元7000‧‧‧Second flash memory unit
8000‧‧‧作業介面8000‧‧‧Working interface
10‧‧‧作業系統10‧‧‧Operating system
20‧‧‧控制模組20‧‧‧Control Module
為讓本發明之上述和其他目的、特徵、優點與實施例能更明確易懂,所附圖式之說明如下:The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt;
第1圖為本發明電腦系統示意方塊圖;Figure 1 is a schematic block diagram of a computer system of the present invention;
第2圖為本發明之系統記憶位址對映圖;Figure 2 is a system memory address mapping of the present invention;
第3圖為本發明電腦系統另一示意方塊圖;Figure 3 is another schematic block diagram of the computer system of the present invention;
第4圖為本發明備援方法流程示意圖。Figure 4 is a schematic flow chart of the backup method of the present invention.
1000‧‧‧中央處理單元1000‧‧‧Central Processing Unit
2000‧‧‧動態隨機存取記憶體2000‧‧‧ Dynamic Random Access Memory
3000‧‧‧基本輸入輸出單元3000‧‧‧Basic input and output unit
5000‧‧‧硬碟機作業單元5000‧‧‧ hard disk drive unit
6000‧‧‧第一快閃記憶體作業單元6000‧‧‧First flash memory unit
7000‧‧‧第二快閃記憶體作業單元7000‧‧‧Second flash memory unit
8000‧‧‧作業介面8000‧‧‧Working interface
10‧‧‧作業系統10‧‧‧Operating system
20‧‧‧控制模組20‧‧‧Control Module
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098140320A TWI492060B (en) | 2009-11-26 | 2009-11-26 | Computer system with built-in flash memory backup unit and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098140320A TWI492060B (en) | 2009-11-26 | 2009-11-26 | Computer system with built-in flash memory backup unit and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201118580A TW201118580A (en) | 2011-06-01 |
TWI492060B true TWI492060B (en) | 2015-07-11 |
Family
ID=44935734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW098140320A TWI492060B (en) | 2009-11-26 | 2009-11-26 | Computer system with built-in flash memory backup unit and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI492060B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020120836A1 (en) * | 2001-01-31 | 2002-08-29 | International Business Machines Corporation | Method for switching between boot devices in information processing unit |
TW200305807A (en) * | 2002-03-27 | 2003-11-01 | Intel Corp | Basic input/output system (BIOS) shadowed small-print hard disk drive as robust, always on, backup for hard disk image & software failure |
TW563032B (en) * | 2001-06-08 | 2003-11-21 | Teac Corp | Data processing device and method for recovering a program |
TW200713053A (en) * | 2005-09-28 | 2007-04-01 | Lite On Technology Corp | Method and computer system for securing backup data from damage by virus and hacker program |
US20090172382A1 (en) * | 2007-12-27 | 2009-07-02 | Te-Chuan Hsieh | Multi-function computer system |
-
2009
- 2009-11-26 TW TW098140320A patent/TWI492060B/en not_active IP Right Cessation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020120836A1 (en) * | 2001-01-31 | 2002-08-29 | International Business Machines Corporation | Method for switching between boot devices in information processing unit |
TW563032B (en) * | 2001-06-08 | 2003-11-21 | Teac Corp | Data processing device and method for recovering a program |
TW200305807A (en) * | 2002-03-27 | 2003-11-01 | Intel Corp | Basic input/output system (BIOS) shadowed small-print hard disk drive as robust, always on, backup for hard disk image & software failure |
TW200713053A (en) * | 2005-09-28 | 2007-04-01 | Lite On Technology Corp | Method and computer system for securing backup data from damage by virus and hacker program |
US20090172382A1 (en) * | 2007-12-27 | 2009-07-02 | Te-Chuan Hsieh | Multi-function computer system |
Also Published As
Publication number | Publication date |
---|---|
TW201118580A (en) | 2011-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7111203B2 (en) | Method for implementing data backup and recovery in computer hard disk | |
US7689802B2 (en) | Controlling memory access in a multi-booting system | |
US9195472B2 (en) | System and method for booting up a computer based on data captured in a non-volatile semiconductor memory during a learn mode | |
TWI514408B (en) | Handling errors during device bootup from a non-volatile memory | |
EP2380081B1 (en) | Method and system for hibernation or suspend using a non-volatile-memory device | |
KR102329762B1 (en) | Electronic system with memory data protection mechanism and method of operation thereof | |
US20070233933A1 (en) | Hard disk drive cache memory and playback device | |
TWI509513B (en) | Load boot data | |
US20160117225A1 (en) | Mobile flash storage boot partition and/or logical unit shadowing | |
TW200847021A (en) | Automatic backup, restore and update BIOS computer system | |
KR20140121233A (en) | Electronic device having a booting function of operating system by bootloader, method of performing the same function and storage medium | |
WO2021233363A1 (en) | Computing device and bios update method therefor, and medium | |
TW201525869A (en) | System and method for dual OS memory switching | |
EP0636979B1 (en) | Information processing system | |
TW201117008A (en) | Electronic equipment and boot method, storage medium thereof | |
TWI534707B (en) | Computer system, shutdown and boot method thereof | |
CN101788913B (en) | Computer system with double operating devices and monitoring method thereof | |
JP2003085041A (en) | Disc cache system | |
TWI492060B (en) | Computer system with built-in flash memory backup unit and method thereof | |
TWI559227B (en) | Computer system having two built-in operating devices that can be dynamically powered on or powered off | |
KR101582919B1 (en) | Electronic apparatus and booting method of the same | |
JP5894044B2 (en) | Method and portable computer for storing data in a hybrid disk drive | |
TW201027339A (en) | OS protecting method | |
TWI274996B (en) | Method for protecting data stored in a hard disk | |
CN102141945B (en) | Computer system with built-in flash memory standby operating units and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |