TWI391861B - Boot systems and methods, and related devices - Google Patents
Boot systems and methods, and related devices Download PDFInfo
- Publication number
- TWI391861B TWI391861B TW98107102A TW98107102A TWI391861B TW I391861 B TWI391861 B TW I391861B TW 98107102 A TW98107102 A TW 98107102A TW 98107102 A TW98107102 A TW 98107102A TW I391861 B TWI391861 B TW I391861B
- Authority
- TW
- Taiwan
- Prior art keywords
- input
- booting
- output
- output chip
- hard disk
- Prior art date
Links
Landscapes
- Stored Programmes (AREA)
Description
本發明係有關於一種開機系統及方法,且特別有關於一種可以透過電子裝置中之輸入/輸出晶片進行開機之系統及方法,及其相關裝置。The present invention relates to a booting system and method, and more particularly to a system and method for booting through an input/output chip in an electronic device, and related devices.
一般來說,電腦系統的資料儲存裝置,如硬碟中必須具有作業系統。作業系統通常包含了硬體驅動程式與應用程式,用以將電腦系統進行開機,且提供電腦系統運作上所需之功能。In general, a data storage device of a computer system, such as a hard disk, must have an operating system. The operating system usually includes hardware drivers and applications to boot the computer system and provide the functions required for the operation of the computer system.
電腦在出貨時通常會附上一片回復光碟。當電腦發生故障,如電腦的硬碟或作業系統發生損害、或硬碟中的檔案遭受到電腦病毒感染,導致電腦無法正常運作甚至無法開機時,便需要使用回復光碟來將電腦重新開機,並且藉此回復電腦的作業系統。然而,若使用者不慎將回復光碟遺失或是無法啟始光碟機的操作來讀取回復光碟上的資料,則無法順利回復電腦。When the computer is shipped, it usually comes with a reply CD. When the computer malfunctions, such as damage to the hard disk or operating system of the computer, or the file on the hard disk is infected with a computer virus, causing the computer to malfunction and cannot be turned on, you need to use the recovery CD to reboot the computer, and This will restore the computer's operating system. However, if the user accidentally loses the recovery disc or cannot start the operation of the optical disc drive to read the data on the reply disc, the computer cannot be successfully recovered.
另外,在一些習知技術中,電腦系統可以具有一個包括多個分區的硬碟或是多個硬碟。在不同的硬碟分區/硬碟中可以存放不同的作業系統。當每一硬碟分區/硬碟中的作業系統故障時,可以切換至其他的硬碟分區/硬碟,並依據其中的作業系統來進行開機。然而,在這些習知技術中,電腦系統必須規劃額外的硬碟空間來存放這些備份的作業系統,從而增加電腦製造商的成本。In addition, in some prior art, a computer system may have a hard disk or a plurality of hard disks including a plurality of partitions. Different operating systems can be stored in different hard disk partitions/hard disks. When the operating system in each hard disk partition/hard disk fails, you can switch to another hard disk partition/hard disk and boot according to the operating system. However, in these prior art techniques, computer systems must plan for additional hard disk space to store these backup operating systems, thereby increasing the cost to the computer manufacturer.
有鑑於此,本發明提供開機系統及方法,及其相關裝置。In view of this, the present invention provides a booting system and method, and related devices.
本發明實施例之一種開機系統,包括一輸入/輸出晶片、一記憶體裝置、與一基本輸入/輸出系統。記憶體裝置與輸入/輸出晶片進行耦接,且至少包括一救援作業系統。基本輸入/輸出系統透過輸入/輸出晶片從記憶體裝置讀取救援作業系統,且依據救援作業系統將一電子裝置開機。A booting system in accordance with an embodiment of the present invention includes an input/output chip, a memory device, and a basic input/output system. The memory device is coupled to the input/output chip and includes at least one rescue operating system. The basic input/output system reads the rescue operation system from the memory device through the input/output chip, and turns on an electronic device according to the rescue operation system.
本發明實施例之一種開機方法。首先,透過一輸入/輸出晶片從一記憶體裝置讀取一救援作業系統。之後,依據救援作業系統將一電子裝置開機。A booting method of an embodiment of the present invention. First, a rescue operating system is read from a memory device through an input/output chip. Thereafter, an electronic device is powered on according to the rescue operation system.
本發明實施例之一種開機裝置包括一輸入/輸出晶片與一記憶體裝置。記憶體裝置與輸入/輸出晶片進行耦接,且至少包括一救援作業系統。其中,記憶體裝置中之救援作業系統透過輸入/輸出晶片被讀取且執行,從而將一電子裝置進行開機。A booting device according to an embodiment of the invention includes an input/output chip and a memory device. The memory device is coupled to the input/output chip and includes at least one rescue operating system. Wherein, the rescue operation system in the memory device is read and executed through the input/output chip, thereby turning on an electronic device.
本發明上述方法可以透過程式碼方式存在。當程式碼被機器載入且執行時,機器變成用以實行本發明之裝置。The above method of the present invention can exist in a coded manner. When the code is loaded and executed by the machine, the machine becomes the means for practicing the invention.
為使本發明之上述目的、特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖示,詳細說明如下。The above described objects, features, and advantages of the invention will be apparent from the description and appended claims appended claims
第1圖顯示依據本發明實施例之開機系統。Figure 1 shows a booting system in accordance with an embodiment of the present invention.
依據本發明實施例之開機系統1000可以適用於一電子裝置,如電腦系統。開機系統1000包括一基本輸入/輸出系統(Basic Input/Output System,BIOS)1100、一硬碟1200、一輸入/輸出晶片1300、與一記憶體裝置1400。基本輸入/輸出系統(Basic Input/Output System,BIOS)1100係電腦系統之主機板上的韌體(Firmware),儲存在主機板的唯讀記憶體上。基本輸入/輸出系統1100的基本功能可以提供電腦系統的基本輸入與輸出、設定電腦系統、與執行硬體測試等功能。硬碟1200可以至少包括一原始作業系統、相應之系統檔案與應用程式(第1圖中未顯示)等。硬碟1200可以是電子裝置的主要開機硬碟。換言之,在一般情況中,基本輸入/輸出系統1100可以控制由硬碟1200進行開機,且依據硬碟1200中之原始作業系統將電子裝置進行開機。輸入/輸出晶片1300與記憶體裝置1400可以組合為一開機裝置。第2圖顯示依據本發明實施例之開機裝置。如第2圖所示,開機裝置2000包括輸入/輸出晶片1300與記憶體裝置1400。輸入/輸出晶片1300可以是一超級輸入/輸出晶片(Super IO)或一鍵盤控制器(Keyboard Controller)。記憶體裝置1400可以是一快閃記憶體,且透過一介面1500,如串列周邊設備介面(Serial Peripheral Interface,SPI)非揮發性記憶體(Non-Volatile Memory,NVM)介面耦接至輸入/輸出晶片1300。必須提醒的是,記憶體裝置1400並不限定於任何型態的快閃記憶體,且輸入/輸出晶片1300與記憶體裝置1400間的介面亦可依據不同型態的快閃記憶體而有所不同,本案並不限定於此。記憶體裝置1400可以至少包括一救援作業系統1410與一修復工具1420、與/或相應電子裝置中相關硬體之驅動程式(未顯示)等。救援作業系統1410與修復工具1420可以用來將電子裝置進行開機,其細節將於後進行說明。The booting system 1000 according to an embodiment of the present invention can be applied to an electronic device such as a computer system. The booting system 1000 includes a basic input/output system (BIOS) 1100, a hard disk 1200, an input/output chip 1300, and a memory device 1400. The basic input/output system (BIOS) 1100 is the firmware on the motherboard of the computer system and is stored on the read-only memory of the motherboard. The basic functions of the basic input/output system 1100 can provide basic input and output of a computer system, setting up a computer system, and performing hardware testing. The hard disk 1200 can include at least an original operating system, corresponding system files and applications (not shown in FIG. 1), and the like. The hard disk 1200 can be the main boot disk of the electronic device. In other words, in a general case, the basic input/output system 1100 can control booting from the hard disk 1200 and power on the electronic device according to the original operating system in the hard disk 1200. The input/output chip 1300 and the memory device 1400 can be combined into a boot device. Figure 2 shows a boot device in accordance with an embodiment of the present invention. As shown in FIG. 2, the boot device 2000 includes an input/output chip 1300 and a memory device 1400. The input/output chip 1300 can be a super input/output chip (Super IO) or a keyboard controller. The memory device 1400 can be a flash memory and coupled to the input via an interface 1500, such as a Serial Peripheral Interface (SPI) Non-Volatile Memory (NVM) interface. The wafer 1300 is output. It should be noted that the memory device 1400 is not limited to any type of flash memory, and the interface between the input/output chip 1300 and the memory device 1400 may also be according to different types of flash memory. Different, this case is not limited to this. The memory device 1400 can include at least a rescue operating system 1410 and a repair tool 1420, and/or a driver (not shown) of a related hardware in the corresponding electronic device. The rescue operating system 1410 and the repair tool 1420 can be used to power on the electronic device, the details of which will be described later.
第3圖顯示依據本發明實施例之開機方法。依據本發明實施例之開機方法可以適用於一電子裝置,如電腦系統。Figure 3 shows a boot method in accordance with an embodiment of the present invention. The booting method according to an embodiment of the present invention can be applied to an electronic device such as a computer system.
如步驟S302,透過輸入/輸出晶片1300從記憶體裝置1400讀取救援作業系統1410。之後,如步驟S304,執行救援作業系統1410以將電子裝置開機。In step S302, the rescue operating system 1410 is read from the memory device 1400 through the input/output wafer 1300. Thereafter, in step S304, the rescue operating system 1410 is executed to turn on the electronic device.
必須說明的是,如前所述,在一般情況中,基本輸入/輸出系統1100係控制由主要開機硬碟1200進行開機。因此,在一些實施例中,當基本輸入/輸出系統110無法偵測到硬碟1200時,第3圖之實施例被執行。另外,在一些實施例中,開機系統1000可以更包括一溫度感測器,用以偵測硬碟1200的溫度。當硬碟的溫度超過一既定值時,第3圖之實施例被執行。再者,在一些實施例中,基本輸入/輸出系統1100可以提供一多重開機選單。使用者可以透過多重開機選單選擇欲使電子裝置開機的位置,如硬碟1200或記憶體裝置1400。當使用者選擇記憶體裝置1400時,第3圖之實施例被執行。It must be noted that, as previously mentioned, in the general case, the basic input/output system 1100 controls the booting of the main bootable hard disk 1200. Thus, in some embodiments, the embodiment of FIG. 3 is executed when the basic input/output system 110 is unable to detect the hard disk 1200. In addition, in some embodiments, the booting system 1000 can further include a temperature sensor for detecting the temperature of the hard disk 1200. The embodiment of Fig. 3 is executed when the temperature of the hard disk exceeds a predetermined value. Moreover, in some embodiments, the basic input/output system 1100 can provide a multiple boot menu. The user can select a location to turn on the electronic device, such as the hard disk 1200 or the memory device 1400, through the multiple boot menu. When the user selects the memory device 1400, the embodiment of FIG. 3 is executed.
第4圖顯示依據本發明另一實施例之開機方法。依據本發明實施例之開機方法可以適用於一電子裝置,如電腦系統。Figure 4 shows a booting method in accordance with another embodiment of the present invention. The booting method according to an embodiment of the present invention can be applied to an electronic device such as a computer system.
如步驟S402,透過輸入/輸出晶片1300從記憶體裝置1400讀取救援作業系統1410。之後,如步驟S404,執行救援作業系統1410以將電子裝置開機。接著,如步驟S406,透過輸入/輸出晶片1300從記憶體裝置1400讀取且執行修復工具1420,用以對於硬碟1200進行檢查與/或修復。值得注意的是,在一些實施例中,對於硬碟1200進行檢查可以係檢查硬碟1200中之至少一系統檔案,且對於此系統檔案進行修復。注意的是,在一些情況中,記憶體裝置1400中相應電子裝置中相關硬體之驅動程式亦可以被讀取來重新安裝。在一些實施例中,當修復工具1420執行時,修復工具1420可以依據一內建網址透過一網路連接至一伺服器。此伺服器可以係相應此電子裝置之廠商所建置與維護。伺服器可以透過網路對於硬碟1200進行線上病毒掃描與/或系統修復。In step S402, the rescue operating system 1410 is read from the memory device 1400 through the input/output wafer 1300. Thereafter, in step S404, the rescue operating system 1410 is executed to turn on the electronic device. Next, in step S406, the repair tool 1420 is read from the memory device 1400 through the input/output wafer 1300 for inspection and/or repair of the hard disk 1200. It should be noted that in some embodiments, checking the hard disk 1200 may check at least one system file in the hard disk 1200 and repair the system file. It is noted that in some cases, the driver of the associated hardware in the corresponding electronic device in the memory device 1400 can also be read and reinstalled. In some embodiments, when the repair tool 1420 is executed, the repair tool 1420 can connect to a server via a network in accordance with a built-in web address. This server can be built and maintained by the manufacturer of the corresponding electronic device. The server can perform online virus scanning and/or system repair on the hard disk 1200 through the network.
當檢查與/或修復結束之後,如步驟S408,將相應硬碟1200之檢查結果進行儲存、透過電子裝置之一顯示單元(未顯示)進行顯示、與/或透過網路傳送至相應此電子裝置之廠商的伺服器。值得注意的是,檢查結果可以係修復工具1420所執行動作的細節、系統檔案的檢查與修復結果、與/或當無法完成修復時提醒使用者須準備或注意的事項等。使用者看到檢查結果時便可得知相關修復的資訊。廠商透過伺服器接收到使用者的檢查結果時,亦可進行相關記錄與/或事先準備相關修復所需工具或材料,以加速整個修復程序。在一些實施例中,當相應硬碟1200之系統修復完成之後,基本輸入/輸出系統1100可以重新依據硬碟中之原始作業系統將電子裝置進行開機。After the inspection and/or repair is completed, in step S408, the inspection result of the corresponding hard disk 1200 is stored, displayed by a display unit (not shown) of the electronic device, and/or transmitted to the corresponding electronic device through the network. The vendor's server. It is worth noting that the inspection result may be the details of the action performed by the repair tool 1420, the inspection and repair results of the system file, and/or the items that the user is required to prepare or pay attention to when the repair cannot be completed. When the user sees the result of the inspection, they can know the information about the repair. When the manufacturer receives the user's inspection result through the server, it can also perform related records and/or prepare tools or materials needed for the relevant repair in advance to speed up the entire repair process. In some embodiments, after the system repair of the corresponding hard disk 1200 is completed, the basic input/output system 1100 can re-power the electronic device according to the original operating system in the hard disk.
必須說明的是,類似地,在一些實施例中,當基本輸入/輸出系統110無法偵測到硬碟1200時,第4圖之實施例可以被執行。另外,在一些實施例中,開機系統1000可以更包括一溫度感測器,用以偵測硬碟1200的溫度。當硬碟的溫度超過一既定值時,第4圖之實施例可以被執行。再者,在一些實施例中,基本輸入/輸出系統1100可以提供一多重開機選單。使用者可以透過多重開機選單選擇欲使電子裝置開機的位置,如硬碟1200或記憶體裝置1400。當使用者選擇記憶體裝置1400時,第4圖之實施例可以被執行。It must be noted that, similarly, in some embodiments, when the basic input/output system 110 is unable to detect the hard disk 1200, the embodiment of FIG. 4 can be executed. In addition, in some embodiments, the booting system 1000 can further include a temperature sensor for detecting the temperature of the hard disk 1200. The embodiment of Fig. 4 can be executed when the temperature of the hard disk exceeds a predetermined value. Moreover, in some embodiments, the basic input/output system 1100 can provide a multiple boot menu. The user can select a location to turn on the electronic device, such as the hard disk 1200 or the memory device 1400, through the multiple boot menu. When the user selects the memory device 1400, the embodiment of FIG. 4 can be executed.
因此,透過本案之開機系統及方法可以直接透過電子裝置中與輸入/輸出晶片耦接之記憶體裝置進行開機。由於輸入/輸出晶片係電子裝置,如電腦系統中的必要元件,因此可以減少習知技術中為了解決系統回復時所需建置相關硬體/光碟所需的成本。另一方面,透過本案亦可以縮短當使用者發生電腦故障問題時所需的反應/修復時間,以增加使用者的滿意度。Therefore, the booting system and method of the present invention can be powered on directly through the memory device coupled to the input/output chip in the electronic device. Since the input/output chip is an electronic device, such as a necessary component in a computer system, it is possible to reduce the cost required in the prior art to solve the system hardware and optical disk required for the system to recover. On the other hand, through this case, the response/repair time required when a user has a computer malfunction can be shortened to increase user satisfaction.
本發明之方法,或特定型態或其部份,可以以程式碼的型態存在。程式碼可以包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,亦或不限於外在形式之電腦程式產品,其中,當程式碼被機器,如電腦/工作站等載入且執行時,此機器變成用以參與本發明之裝置。程式碼也可以透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦/工作站等接收、載入且執行時,此機器變成用以參與本發明之裝置。當在一般用途處理單元實作時,程式碼結合處理單元提供一操作類似於應用特定邏輯電路之獨特裝置。The method of the invention, or a particular type or portion thereof, may exist in the form of a code. The code may be included in a physical medium such as a floppy disk, a CD, a hard disk, or any other machine readable (such as computer readable) storage medium, or is not limited to an external computer program product, wherein When the code is loaded and executed by a machine, such as a computer/workstation, etc., the machine becomes a device for participating in the present invention. The code can also be transmitted over some transmission medium, such as wire or cable, fiber optics, or any transmission type, where the machine becomes available when the code is received, loaded, and executed by a machine, such as a computer/workstation. To participate in the device of the present invention. When implemented in a general purpose processing unit, the code combination processing unit provides a unique means of operation similar to application specific logic.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做些許更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.
1000...開機系統1000. . . Boot system
1100...基本輸入/輸出系統1100. . . Basic input/output system
1200...硬碟1200. . . Hard disk
1300...輸入/輸出晶片1300. . . Input/output chip
1400...記憶體裝置1400. . . Memory device
1410...救援作業系統1410. . . Rescue operation system
1420...修復工具1420. . . Repair tool
1500...介面1500. . . interface
2000...開機裝置2000. . . Boot device
S302、S304...步驟S302, S304. . . step
S402、S404、S406、S408...步驟S402, S404, S406, S408. . . step
第1圖為一示意圖係顯示依據本發明實施例之開機系統。Figure 1 is a schematic diagram showing a booting system in accordance with an embodiment of the present invention.
第2圖為一示意圖係顯示依據本發明實施例之開機裝置。Fig. 2 is a schematic view showing a booting apparatus according to an embodiment of the present invention.
第3圖為一流程圖係顯示依據本發明實施例之開機方法。Figure 3 is a flow chart showing a booting method in accordance with an embodiment of the present invention.
第4圖為一流程圖係顯示依據本發明另一實施例之開機方法。Figure 4 is a flow chart showing a booting method in accordance with another embodiment of the present invention.
S402、S404、S406、S408...步驟S402, S404, S406, S408. . . step
Claims (34)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW98107102A TWI391861B (en) | 2009-03-05 | 2009-03-05 | Boot systems and methods, and related devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW98107102A TWI391861B (en) | 2009-03-05 | 2009-03-05 | Boot systems and methods, and related devices |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201033902A TW201033902A (en) | 2010-09-16 |
TWI391861B true TWI391861B (en) | 2013-04-01 |
Family
ID=44855329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW98107102A TWI391861B (en) | 2009-03-05 | 2009-03-05 | Boot systems and methods, and related devices |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI391861B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI236625B (en) * | 2004-03-12 | 2005-07-21 | Acer Inc | Method for installing an operating system |
TW200723106A (en) * | 2005-12-09 | 2007-06-16 | Wistron Corp | Method for making a bootable USB storage device |
US7265578B1 (en) * | 2005-04-04 | 2007-09-04 | Lattice Semiconductor Corporation | In-system programming of non-JTAG device using SPI and JTAG interfaces of FPGA device |
US20080052507A1 (en) * | 2000-01-06 | 2008-02-28 | Super Talent Electronics Inc. | Multi-Partition USB Device that Re-Boots a PC to an Alternate Operating System for Virus Recovery |
US20080184025A1 (en) * | 2001-06-07 | 2008-07-31 | Lenovo (Singapore) Pte. Ltd. | Booting to a recovery/maintenance environment |
-
2009
- 2009-03-05 TW TW98107102A patent/TWI391861B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080052507A1 (en) * | 2000-01-06 | 2008-02-28 | Super Talent Electronics Inc. | Multi-Partition USB Device that Re-Boots a PC to an Alternate Operating System for Virus Recovery |
US20080184025A1 (en) * | 2001-06-07 | 2008-07-31 | Lenovo (Singapore) Pte. Ltd. | Booting to a recovery/maintenance environment |
TWI236625B (en) * | 2004-03-12 | 2005-07-21 | Acer Inc | Method for installing an operating system |
US7265578B1 (en) * | 2005-04-04 | 2007-09-04 | Lattice Semiconductor Corporation | In-system programming of non-JTAG device using SPI and JTAG interfaces of FPGA device |
TW200723106A (en) * | 2005-12-09 | 2007-06-16 | Wistron Corp | Method for making a bootable USB storage device |
Also Published As
Publication number | Publication date |
---|---|
TW201033902A (en) | 2010-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI530790B (en) | System boot code recovery method, computing system, and controller for use in a system | |
TWI470420B (en) | Dubugging method and computer system using the smae | |
US9672112B2 (en) | Backing up firmware during initialization of device | |
US20210342217A1 (en) | System and method for remotely diagnosing and repairing a computing device | |
JP5509568B2 (en) | Computer apparatus, processor diagnosis method, and processor diagnosis control program | |
JP4746455B2 (en) | Computer apparatus, start control method, and start control program | |
US20120191965A1 (en) | Boot systems and methods, and related devices | |
TW201520895A (en) | System and method for automatically recovering BIOS of a computer | |
US8281119B1 (en) | Separate normal firmware and developer firmware | |
TW201230057A (en) | Handling errors during device bootup from a non-volatile memory | |
US20110126043A1 (en) | Operating System-Firmware Interface Update Recovery | |
JP6740789B2 (en) | Storage control device and storage device management program | |
EP2650781A2 (en) | Method for detecting hardware | |
US20100049961A1 (en) | Update method for basic input/output system and update system thereof | |
JP6698467B2 (en) | Electronic circuit system and method for starting control device | |
TW201818253A (en) | Detection system and detection method | |
JP5293062B2 (en) | Computer apparatus, memory diagnosis method, and memory diagnosis control program | |
TW200809489A (en) | BIOS damage detection and repair method and the motherboard | |
TWI515557B (en) | Computer system and control method | |
TW201716999A (en) | Method for startup inspection and computer system using the same | |
TW201616273A (en) | System and method for recovering BIOS data of a computer | |
CN104657232A (en) | BIOS automatic recovery system and BIOS automatic recovery method | |
CN105630523A (en) | Computer BIOS data recovery system and method | |
KR20150116020A (en) | Apparatus for computer diagnostics and recovery using wireless network and method thereof | |
JP2010257340A (en) | Information processor, information processing method and program |