CN1713144A - Firmware storage medium and method thereof - Google Patents
Firmware storage medium and method thereof Download PDFInfo
- Publication number
- CN1713144A CN1713144A CNA2004100499603A CN200410049960A CN1713144A CN 1713144 A CN1713144 A CN 1713144A CN A2004100499603 A CNA2004100499603 A CN A2004100499603A CN 200410049960 A CN200410049960 A CN 200410049960A CN 1713144 A CN1713144 A CN 1713144A
- Authority
- CN
- China
- Prior art keywords
- firmware
- program
- storing media
- firmware program
- reading device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 19
- 230000006870 function Effects 0.000 claims description 19
- 230000002093 peripheral effect Effects 0.000 claims description 8
- 230000003287 optical effect Effects 0.000 description 12
- 230000000694 effects Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明有关于一种固件储存媒介及其方法,用以应用至计算机中,使该计算机具有开机以及更新固件的功能。The invention relates to a firmware storage medium and its method, which are used in a computer to enable the computer to have the functions of booting up and updating firmware.
背景技术Background technique
计算机(computer)是目前人们不可或缺的一种工具,它的多功能性带给人们比以往更为便利的生活,也强化了人们处理事情的能力。Computer (computer) is an indispensable tool for people at present. Its versatility brings people a more convenient life than before, and also strengthens people's ability to deal with things.
一般的计算机是由许许多多的硬件所构成,若是要让计算机可以正常运作,一般需要先进行开机的程序,也就是让计算机的硬件,执行所需要的程序后,才能具备所需要的功能;一般来说,计算机开机程序中所需要加载的程序大多以固件的形式储存在内存(ROM)中,这样的内存不会因为计算机的关机而将所储存的固件程序消除,以便计算机于开机程序中可以直接自内存中读取程序,进而使计算机顺利开机,以下将针对现有的计算机架构做进一步的说明:A general computer is composed of many pieces of hardware. To make the computer work normally, it generally needs to start the program first, that is, let the computer hardware execute the required program before it can have the required function; Generally speaking, most of the programs that need to be loaded in the computer booting process are stored in the memory (ROM) in the form of firmware. The program can be read directly from the memory, so that the computer can be turned on smoothly. The following will further explain the existing computer architecture:
请参照图1,本图所示为现有的计算机的部分功能方块示意图,可知一计算机至少包含一控制单元10、一内存12以及一硬盘14;一般来说,控制单元10由中央处理器(CPU)、至少一系统芯片组(System Chip Set)以及一高速缓存(RAM)所构成(上述皆未于图中显示),控制单元10的主要功能在于从事运算以及收发执行指令,运作方式由中央处理器将所要执行的指令经由系统芯片储存于高速缓存之中,再由中央处理器读取后判断而执行,以达到所欲达成的功能,其构成的方式则是日新月异,其中系统芯片组有部份的功能将会逐步整合至中央处理器之中,在此不再赘述;内存(ROM)12则是电连接于控制单元10,主要用以储存开机程序120以及主固件程序122,其中开机程序120为一低阶的程序语言用以提供计算机必要的开机指令,当计算机的控制单元10读取开机程序120后,可以使计算机具备基本的演算以及控制指令的能力,而主固件程序122是依据不同厂商所设计而有所不同,其主要内容大致包含开机接口、周边装置驱动程序以及一些功能性程序(如提供密码管理程序等),上述的开机程序120以及主固件程序122以固件的形式储存在内存12中,其特征在于当计算机关机时,开机程序120以及主固件程序122不会因此被消除,以利下一次计算机开机时读取之用;而硬盘(HardDisk)14则是以磁性纪录媒介所构成,通常用以储存一些应用软件程序以及资料等,以供控制单元10执行之用。Please refer to FIG. 1 , which is a schematic diagram of some functional blocks of an existing computer. It can be seen that a computer at least includes a
上述为现有计算机的运作原理与方式,但是,计算机的制造商为了使计算机的功能增进,或是希望改善使用者接口往往会针对主固件程序122进行改进,其中包含将主固件程序122中的开机接口进行改进,令使用者可以有更为亲和与漂亮的接口来使用,甚至,计算机的制造商也会改进主固件程序122的周边装置驱动程序,使其计算机可以更为广泛地支持更多的周边装置,或是,使增加更多的功能性程序,如多重密码管理程序、硬盘格式化程序等等,此番设计无不是希望使计算机可以具备更多的能力,以期获得消费者的青睐,但是,若要加入这些进阶的功能,则必须扩充内存12的空间才能办到,但是一般来说,内存12的价格相较于其它种类的存储装置(如硬盘等)来说是偏高的,故计算机的制造商在设计上往往会出现这样捉襟见肘的困境,如何可以设计出一具有多功能性的电脑,而同时兼具有低成本的效果确实是计算机的制造商所欲解决的必要问题。The above is the operation principle and mode of the existing computer, but, in order to increase the function of the computer or to improve the user interface, the manufacturer of the computer will often improve the
发明内容Contents of the invention
本发明主要提供一种固件(firmware)储存媒介,可以应用于计算机上,该计算机至少包含一内存(ROM)以及一硬盘(Hard disk),本发明将开机程序储存于内存中,而将主固件程序储存于硬盘之中,使该计算机的内存容量可以大幅降低,在不影响计算机功能的状况下,以使计算机的制造成本下降。The present invention mainly provides a kind of firmware (firmware) storage medium, can be applied on the computer, and this computer at least comprises a memory (ROM) and a hard disk (Hard disk), and the present invention stores the boot program in the memory, and the main firmware The program is stored in the hard disk, so that the memory capacity of the computer can be greatly reduced, and the manufacturing cost of the computer can be reduced without affecting the function of the computer.
根据上述构想,本发明提供一固件储存媒介,运用于一计算机中,其包含一控制单元,控制单元包含一中央处理器、一高速缓存以及一系统芯片组;一内存,电连接于控制单元,其中内存包含一开机程序:以及一硬盘,电连接于控制单元,其中硬盘包含一主固件程序;当控制单元自内存读取开机程序后,控制单元会自硬盘中执行主固件程序。更有甚者,本发明可以将节省下来的内存容量,用以储存一更新固件程序,用以当计算机的主固件程序损坏时,可以令计算机的控制单元由一储存媒介读取装置读取一备份主固件程序,以更新损坏的主固件程序,进而避免整体计算机无法使用。According to the above idea, the present invention provides a firmware storage medium used in a computer, which includes a control unit, the control unit includes a central processing unit, a high-speed cache, and a system chipset; a memory, electrically connected to the control unit, The memory includes a boot program: and a hard disk electrically connected to the control unit, wherein the hard disk includes a main firmware program; when the control unit reads the boot program from the memory, the control unit executes the main firmware program from the hard disk. What's more, the present invention can use the saved memory capacity to store an updated firmware program, so that when the main firmware program of the computer is damaged, the control unit of the computer can be read by a storage medium reading device. Back up the main firmware program to update the damaged main firmware program, thereby preventing the entire computer from being unusable.
根据上述构想,本发明提供一固件储存媒介,运用于一计算机中,其包含一控制单元;一内存,电连接于控制单元,其中内存包含一开机程序及一更新固件程序;一硬盘,电连接于控制单元,其中硬盘包含一主固件程序;以及一储存媒介读取装置,电连接于控制单元,用以读取一备份主固件程序;当控制单元由储存媒介读取装置读取备份主固件程序时,控制单元会自内存中执行更新固件程序,使备份主固件程序更新主固件程序。According to the above idea, the present invention provides a firmware storage medium used in a computer, which includes a control unit; a memory, electrically connected to the control unit, wherein the memory includes a boot program and a firmware update program; a hard disk, electrically connected In the control unit, wherein the hard disk includes a main firmware program; and a storage medium reading device is electrically connected to the control unit for reading a backup main firmware program; when the control unit reads the backup main firmware by the storage medium reading device When programming, the control unit will execute the update firmware program from the memory, so that the backup main firmware program can update the main firmware program.
根据上述构想,内存为一快闪内存(flash ROM)。According to the above idea, the memory is a flash memory (flash ROM).
根据上述构想,主固件程序至少包含一使用者接口程序、一功能设定程序以及外围装置强动程序,而功能设定程序至少用以设定一密码。According to the idea above, the main firmware program at least includes a user interface program, a function setting program and a peripheral device activation program, and the function setting program is at least used to set a password.
根据上述构想,储存媒介读取装置为光学储存媒介读取装置,用以读取光盘中的备份主固件程序,光学储存媒介读取装置选自于下列其中之一:CD光驱、CD光盘刻录机、DVD光驱、DVD光盘刻录机与COMBO光驱等;或是,储存媒介读取装置为一软驱,用以读取一软盘中的备份主固件程序;或是,储存媒介读取装置为一外接式硬盘,用以存取该备份主固件程序。According to the above idea, the storage medium reading device is an optical storage medium reading device, which is used to read the backup main firmware program in the optical disc, and the optical storage medium reading device is selected from one of the following: CD drive, CD recorder , DVD drive, DVD burner and COMBO drive, etc.; or, the storage medium reading device is a floppy drive, used to read the backup main firmware program in a floppy disk; or, the storage medium reading device is an external The hard disk is used for accessing the backup main firmware program.
根据上述构想,本发明更提供一种固件储存方法,使计算机可以据以开机运作,固件储存方法包含下列步骤:当控制单元接收开机指令后,自内存中读取开机程序;控制单元确认储存媒介读取装置是否可读取备份主固件程序:若是储存媒介读取装置无法读取备份主固件程序时,控制单元会自一硬盘中执行主固件程序;若是储存媒介读取装置可以读取备份主固件程序时,控制单元会自内存中执行一更新固件程序,使备份主固件程序主动更新主固件程序后,计算机将重新开机。According to the above idea, the present invention further provides a firmware storage method, so that the computer can be turned on for operation. The firmware storage method includes the following steps: after the control unit receives the boot command, it reads the boot program from the memory; the control unit confirms the storage medium Whether the reading device can read the backup main firmware program: if the storage medium reading device cannot read the backup main firmware program, the control unit will execute the main firmware program from a hard disk; if the storage medium reading device can read the backup main firmware program During the firmware program, the control unit will execute a firmware update program from the memory, so that the backup main firmware program actively updates the main firmware program, and the computer will be restarted.
附图说明Description of drawings
图1为现有计算机的架构方块示意图。FIG. 1 is a schematic block diagram of an existing computer architecture.
图2为本发明固件储存媒介运用在一计算机中的架构方块示意图。FIG. 2 is a schematic structural block diagram of a firmware storage medium used in a computer according to the present invention.
图3为本发明的固件储存方法的步骤流程图。FIG. 3 is a flow chart of the steps of the firmware storage method of the present invention.
图号说明Description of figure number
10 控制单元 12 内存10
120 开机程序 122 主固件程序120
14 硬盘 20 控制单元14
22 内存 220 开机程序22
224 更新固件程序 24 硬盘224
242 主固件程序 26 储存媒介读取装置242
260 备份主固件程序260 backup main firmware program
31~37 本发明固件储存方法的步骤31~37 The steps of the firmware storage method of the present invention
具体实施方式Detailed ways
本发明的较佳实施例请参见图2所示,图中所示为本发明的固件储存媒介应用于计算机中的功能方块示意图,其中,本发明的固件储存媒介包含一控制单元20、一内存22(ROM)以及一硬盘24(Hard disk)等,其中,控制单元20、内存22以及硬盘24的相互配置与现有技术大致相同,但是,本发明将原本储存于内存22中的主固件程序120改为储存于硬盘24之中,且适度地修改其开机程序220,使开机程序220可以令控制单元20在自内存22读取开机程序220之后,转而于硬盘24的相对位置上读取主固件程序242,再使控制单元120加载主固件程序242产生相对应的开机接口、周边装置驱动程序以及一些功能性程序(如提供密码管理程序等),本发明如上述的巧妙配置后,可以有效将内存22的容量减小,节省计算机整体的成本。A preferred embodiment of the present invention is shown in FIG. 2 , which shows a functional block diagram of the firmware storage medium of the present invention applied to a computer, wherein the firmware storage medium of the present invention includes a
由于本发明将内存22的空间节省下来,本发明更进一步提供一种可以自动更新主固件程序的功能,请再参照图2所示,本发明的固件储存媒介更进一步包含一储存媒介读取装置26,同样电连接于控制单元20,储存媒介读取装置26用以储存一备份主固件程序260,同时,内存22中更进一步包含一更新固件程序224,如此,当控制单元20于开机后读取更新固件程序224后,可以自储存媒介读取装置26读取备份主固件程序260,并覆盖硬盘24中的主固件程序242,以便修正主固件程序242的错误,修复计算机不能顺利开机的问题;其中,上述的储存媒介读取装置26可以为一光学储存媒介读取装置,例如为CD光驱、CD光盘刻录机、DVD光盘机、DVD光盘刻录机与COMBO光驱等。其中,备份主固件程序260可以储存至一光盘(图中未显示)中;或是,上述的储存媒介读取装置26亦可以为一软式磁盘驱动器,其中,备份主固件程序260可以储存至一软盘(图中未显示)中;或是,上述的储存媒介读取装置26亦可以为一外接式硬盘,备份主固件程序260可以储存至外接式硬盘的扇区(图中未显示)中,同样可以达到相同的功效。Because the present invention saves the space of the
本发明基于上述构想,在计算机达到相同功效的前提下,确实可以省下不少内存22的空间,进而节省计算机的制造成本;更进一步,亦可以利用节省下来的内存22空间,置入自动更新固件的功能,可以防止当主固件程序失效时,可以径行修复。The present invention is based on the above idea, and on the premise that the computer achieves the same effect, it can indeed save a lot of
此外,依据上述的实施方式,本案提供一种固件储存方法,其中储存媒介读取装置26若以光驱为例,其步骤如下所述:In addition, according to the above-mentioned embodiment, this application provides a firmware storage method, wherein if the storage
请参照图3,图中所示为本发明固件储存方法的步骤:首先,进行步骤31「开机」。一般来说,使用者会按下计算机的开机钮(图中未显示)后,将启动一开机指令;接下来进入步骤32「控制单元自内存中读取开机程序」,该步骤令控制单元20自内存22中读取开机程序220,用以提供计算机开机程序中必要的指令;之后,进一步骤33「检查光驱中是否有备份主固件程序」,该步骤条令控制单元20检查光驱中是否有光盘,该光盘中是否有储存备份固件程序260:若步骤33的输出为「否」,则进入步骤34「控制单元自硬盘中读取主固件程序,控制单元20将自硬盘24中读取主固件程序242,进而完成计算机的开机程序;若步骤33的输出为是,表示需要进行更新主固件程序242的状态,则进入步骤35「控制单元自内存中读更新固件程序,控制单元将自光驱中读取一备份主固件程序,用以覆盖主固件程序,此时,控制单元20自内存22中加载更新固件程序224之后,控制单元20将自光驱中读取备份主固件程序260,用以覆盖主固件程序242,以修复损坏的主固件程序242;之后进入步骤36取出光盘,即取出光盘;之后进入步骤37“结束,重新开机”,控制单元20将结束上述步骤,并回到步骤31,电脑重新开机。Please refer to FIG. 3 , which shows the steps of the firmware storage method of the present invention: first, perform
上述步骤37结束后亦可以设计成直接回到步骤33,重新检查光驱中是否有光盘,该光盘中是否有储存备份固件程序260,亦可达到相同的功效。After the above-mentioned
此外,上述储存媒介读取装置26以光驱为例,同样地,储存媒介读取装置26亦可以为软式磁盘驱动器或是一外接式硬盘,亦同样可以达到相同的功效。In addition, the above-mentioned storage
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2004100499603A CN1713144A (en) | 2004-06-22 | 2004-06-22 | Firmware storage medium and method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2004100499603A CN1713144A (en) | 2004-06-22 | 2004-06-22 | Firmware storage medium and method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1713144A true CN1713144A (en) | 2005-12-28 |
Family
ID=35718776
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2004100499603A Pending CN1713144A (en) | 2004-06-22 | 2004-06-22 | Firmware storage medium and method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1713144A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1356635A (en) * | 2001-12-30 | 2002-07-03 | 技嘉科技股份有限公司 | Method for displaying file information and directory information in BIOS update step of computer system |
| CN1371051A (en) * | 2001-02-20 | 2002-09-25 | 技嘉科技股份有限公司 | BIOS update method in computer system |
| CN1504888A (en) * | 2002-12-03 | 2004-06-16 | 技嘉科技股份有限公司 | Method for detecting and updating boot program of basic input and output system |
-
2004
- 2004-06-22 CN CNA2004100499603A patent/CN1713144A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1371051A (en) * | 2001-02-20 | 2002-09-25 | 技嘉科技股份有限公司 | BIOS update method in computer system |
| CN1356635A (en) * | 2001-12-30 | 2002-07-03 | 技嘉科技股份有限公司 | Method for displaying file information and directory information in BIOS update step of computer system |
| CN1504888A (en) * | 2002-12-03 | 2004-06-16 | 技嘉科技股份有限公司 | Method for detecting and updating boot program of basic input and output system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1163824C (en) | Quick start device and method | |
| CN1296835C (en) | Apparatus and method for controlling booting operation of computer system | |
| US7412565B2 (en) | Memory optimization for a computer system having a hibernation mode | |
| US6963951B2 (en) | Partition recovery method | |
| JP4965824B2 (en) | Information processing apparatus and data relief method | |
| US8589913B2 (en) | Tracking block-level writes | |
| JP5077726B1 (en) | Computer, control method thereof and program | |
| TWI404054B (en) | Device for microcode updating error handling and method thereof | |
| US20150143098A1 (en) | Method for updating firmware of an electronic device within a computer | |
| CN1584848A (en) | Systems and methods for storing data on computer systems | |
| TWI813869B (en) | Data storage device and method for maintaining normal boot operation of data storage device | |
| CN1841323A (en) | How to use hotkeys to switch operating systems | |
| CN114063901A (en) | SSD-supported read-only mode after PLP backup failure | |
| US8291206B2 (en) | Method for booting computer system | |
| US20040044886A1 (en) | Partition recovery method | |
| CN1235149C (en) | Restoration method and device for computer operating system and method for producing the system | |
| JP2002099390A (en) | Disk controller | |
| TWI559227B (en) | Computer system having two built-in operating devices that can be dynamically powered on or powered off | |
| CN100336036C (en) | Multiple OS bootloading methods | |
| CN1713144A (en) | Firmware storage medium and method thereof | |
| CN1195268C (en) | Fast-bootable computer system | |
| CN1282922C (en) | Method and device for updating firmware using memory card | |
| CN101739262A (en) | Firmware updating method and electronic device applying same | |
| JP2003122644A (en) | Computer and its storage device | |
| CN101359300B (en) | Management method of special data of computer device and starting method suitable for management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| ASS | Succession or assignment of patent right |
Owner name: YUDONG OPTICAL CO., LTD. Free format text: FORMER OWNER: HONGYOU SCIENCE AND TECHNOLOGY CO LTD Effective date: 20070105 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20070105 Address after: Delaware Applicant after: Hongyou Science & Technology Co., Ltd. Address before: Hsinchu city of Taiwan Province Applicant before: Hongyou Science and Technology Co., Ltd. |
|
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20051228 |