TW201528138A - Updating method for computer operating system and computer system - Google Patents

Updating method for computer operating system and computer system Download PDF

Info

Publication number
TW201528138A
TW201528138A TW102144885A TW102144885A TW201528138A TW 201528138 A TW201528138 A TW 201528138A TW 102144885 A TW102144885 A TW 102144885A TW 102144885 A TW102144885 A TW 102144885A TW 201528138 A TW201528138 A TW 201528138A
Authority
TW
Taiwan
Prior art keywords
computer
storage server
upgrade
operating system
file storage
Prior art date
Application number
TW102144885A
Other languages
Chinese (zh)
Inventor
jin-song Zhu
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102144885A priority Critical patent/TW201528138A/en
Publication of TW201528138A publication Critical patent/TW201528138A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

An updating method for computer operating system includes the following steps. One of GPIO pins of a system chip of a computer system is set as a switch pin. Enter into a guiding system of the computer system. Detect if the switch pin of the system chip is opened. Fetch a updating image from a file server. Update the operating system through the updating image. A computer system is further disclosed.

Description

電腦作業系統升級方法及電腦系統Computer operating system upgrade method and computer system

本發明涉及一種電腦作業系統升級方法及一電腦系統。The invention relates to a computer operating system upgrading method and a computer system.

電腦系統為了增加新功能與提高穩定性等需求每隔一段時間就需要進行作業系統升級。習知之升級方法是針對每一電腦作業系統藉由光碟或記憶體逐一進行手動升級,如果需要之伺服器較多時,會消耗較多時間。尤其對某些伺服器,如ARM伺服器內往往同時安裝有多個主機板以實現功能性需求,每一主機板均是一獨立之系統,當需要進行作業系統升級時伺服器內每一主機板均需要逐一進行升級,費時費力。In order to increase new functions and improve stability, the computer system needs to upgrade the operating system at regular intervals. The conventional upgrade method is to manually upgrade each computer operating system by CD or memory one by one. If more servers are needed, it will consume more time. Especially for some servers, such as ARM servers, there are often multiple motherboards installed at the same time to achieve functional requirements. Each motherboard is a separate system. When the operating system is upgraded, each host in the server is required. The boards need to be upgraded one by one, which is time consuming and laborious.

鑒於以上內容,提供一種方便快捷之電腦作業系統升級方法及一方便升級之電腦系統。In view of the above, a convenient and quick computer operating system upgrade method and a computer system for convenient upgrade are provided.

一種電腦作業系統升級方法包括以下步驟:A computer operating system upgrade method includes the following steps:

設定一電腦系統內系統晶片之一GPIO引腳作為開關引腳;Setting a GPIO pin of a system chip in a computer system as a switch pin;

進入該電腦系統之引導系統;Enter the boot system of the computer system;

檢測該系統晶片上之開關引腳是否開啟;Detecting whether the switch pin on the system wafer is turned on;

連接一檔存儲伺服器以獲取升級檔包;及Connect a storage server to obtain an upgrade package; and

藉由該升級檔包升級該電腦作業系統。The computer operating system is upgraded by the upgrade package.

優選地,該引導系統為Uboot系統。Preferably, the boot system is a Uboot system.

優選地,該系統晶片為ARM晶片。Preferably, the system wafer is an ARM wafer.

優選地,該連接該檔存儲伺服器以獲取升級檔包之步驟進一步包括:藉由一TFTP協定連接該檔存儲伺服器以獲取升級檔包。Preferably, the step of connecting the file storage server to obtain the upgrade package further comprises: connecting the file storage server by a TFTP protocol to obtain an upgrade package.

優選地,該連接該檔存儲伺服器以獲取升級檔包之步驟進一步包括:藉由一區域網連接該檔存儲伺服器以獲取升級檔包。Preferably, the step of connecting the file storage server to obtain the upgrade package further comprises: connecting the file storage server by a regional network to obtain the upgrade package.

一種電腦系統,該電腦系統包括複數電腦主機板,該複數電腦主機板連接一檔存儲伺服器,每一主機板包括系統晶片及引導模組,該系統晶片設定一GPIO引腳作為開關引腳,該引導模組能判斷該開關引腳是否開啟,當該開關引腳開啟時,該引導模組能連接該檔存儲伺服器獲取升級檔包並藉由該升級檔包升級電腦作業系統。A computer system comprising a plurality of computer motherboards, wherein the plurality of computer motherboards are connected to a storage server, each motherboard includes a system chip and a boot module, and the system chip sets a GPIO pin as a switch pin. The guiding module can determine whether the switch pin is turned on. When the switch pin is turned on, the guiding module can be connected to the file storage server to obtain an upgrade package and upgrade the computer operating system by using the upgrade package.

優選地,該引導模組安裝有Uboot系統。Preferably, the boot module is equipped with a Uboot system.

優選地,該系統晶片為ARM晶片。Preferably, the system wafer is an ARM wafer.

優選地,該複數電腦主機板藉由一TFTP協定連接該檔存儲伺服器。Preferably, the plurality of computer motherboards are connected to the file storage server by a TFTP protocol.

優選地,該複數電腦主機板與該檔存儲伺服器位於同一區域網內。Preferably, the plurality of computer motherboards are located in the same regional network as the file storage server.

與習知技術相比,該電腦作業系統升級方法及該電腦系統可於電腦系統啟動時自動判斷是否有升級需求,引導系統能自動將連接檔存儲伺服器對電腦系統進行升級,方便快捷,節省人力成本。Compared with the prior art, the computer operating system upgrade method and the computer system can automatically determine whether there is an upgrade requirement when the computer system is started, and the guiding system can automatically upgrade the connection file storage server to the computer system, which is convenient and quick, and saves Labor costs.

圖1是本發明一較佳實施例中一電腦系統、一交換機及一檔存儲伺服器之功能模組及連接關係圖。1 is a functional block diagram and a connection diagram of a computer system, a switch, and a storage server in accordance with a preferred embodiment of the present invention.

圖2是本發明一較佳實施例中一電腦作業系統升級方法之流程圖。2 is a flow chart of a method for upgrading a computer operating system in accordance with a preferred embodiment of the present invention.

請參考圖1,本發明之一較佳實施方式中,一電腦系統100包括複數電腦主機板102。每一電腦主機板102包括一系統晶片1021及一引導模組1025。該系統晶片1021包括一GPIO(General Purpose Input Output,通用輸入與輸出)引腳1023作為一開關引腳。該電腦系統100為一伺服器。該系統晶片1021為一ARM(Advanced RISC Machine)晶片。該引導模組1025內存儲有一引導系統,該引導系統可為一Uboot系統。Referring to FIG. 1, in a preferred embodiment of the present invention, a computer system 100 includes a plurality of computer motherboards 102. Each computer motherboard 102 includes a system wafer 1021 and a boot module 1025. The system chip 1021 includes a GPIO (General Purpose Input Output) pin 1023 as a switch pin. The computer system 100 is a server. The system wafer 1021 is an ARM (Advanced RISC Machine) wafer. A boot system is stored in the boot module 1025, and the boot system can be a Uboot system.

該電腦系統100藉由一交換機200連接一檔存儲伺服器300。該複數電腦主機板102分別連接該交換機200使該複數電腦主機板102與該檔存儲伺服器300位於同一區域網內。該檔存儲伺服器300藉由一TFTP(Trivial File Transfer Protocol,簡單檔傳輸協定)協定連接該交換機200。The computer system 100 is coupled to a storage server 300 by a switch 200. The plurality of computer motherboards 102 are respectively connected to the switch 200 such that the plurality of computer motherboards 102 are located in the same area network as the file storage server 300. The file storage server 300 is connected to the switch 200 by a TFTP (Trivial File Transfer Protocol) protocol.

該電腦系統100開啟時,該電腦系統100先啟動該引導系統,當該引導系統通過後進入一電腦作業系統使該電腦系統100正常工作。當需要對電腦作業系統進行升級時,先將升級檔包310放置於該檔存儲伺服器300內,將該複數電腦主機板102之GPIO引腳1023手動或自動設置成開啟狀態。當該電腦系統100開啟後,該電腦系統100進入該引導系統,該引導系統會判斷該GPIO引腳1023之開啟狀態。當引導系統檢測到該GPIO開啟時,該引導系統藉由該交換機200連接該檔存儲伺服器300。該引導系統下載並安裝該檔存儲伺服器300內之升級檔包310以升級該作業系統。When the computer system 100 is turned on, the computer system 100 first starts the booting system, and when the booting system passes, enters a computer operating system to make the computer system 100 work normally. When the computer operating system needs to be upgraded, the upgrade package 310 is first placed in the file storage server 300, and the GPIO pin 1023 of the plurality of computer motherboards 102 is manually or automatically set to the on state. When the computer system 100 is turned on, the computer system 100 enters the boot system, and the boot system determines the on state of the GPIO pin 1023. When the booting system detects that the GPIO is turned on, the booting system connects to the file storage server 300 by the switch 200. The boot system downloads and installs the upgrade package 310 within the file storage server 300 to upgrade the operating system.

請參閱圖2,一種電腦作業系統升級方法包括以下步驟:Referring to FIG. 2, a computer operating system upgrade method includes the following steps:

步驟S201:設定電腦主機板102上系統晶片1021之一GPIO引腳1023作為開關引腳。Step S201: Set one of the GPIO pins 1023 of the system chip 1021 on the computer motherboard 102 as a switch pin.

步驟S203:開啟該電腦系統100,使電腦系統100進入該引導系統。Step S203: Turn on the computer system 100 to cause the computer system 100 to enter the guiding system.

步驟S205:該引導系統檢測該系統晶片1021上之開關引腳是否開啟。如是,則到步驟S207,如否,則到步驟S206。Step S205: The guiding system detects whether the switch pin on the system wafer 1021 is turned on. If yes, go to step S207, if no, go to step S206.

步驟S206:繼續啟動該電腦系統100。Step S206: Continue to start the computer system 100.

步驟S207:該引導系統連接該檔存儲伺服器300以獲取升級檔包310。Step S207: The booting system connects to the file storage server 300 to obtain the upgrade package 310.

步驟S209:藉由該升級檔包310升級該電腦系統100之電腦作業系統。Step S209: The computer operating system of the computer system 100 is upgraded by the upgrade package 310.

步驟S211:重啟該電腦系統100。Step S211: Restart the computer system 100.

該電腦作業系統升級方法及該電腦系統可於電腦系統啟動時自動判斷是否有升級需求,引導系統能自動將連接檔存儲伺服器對電腦系統進行升級,方便快捷,無需人工幹預,節省人力成本。該電腦系統100內配置之多個電腦主機板可省時省力之完成作業系統升級。The computer operating system upgrade method and the computer system can automatically determine whether there is an upgrade requirement when the computer system is started, and the guiding system can automatically upgrade the connection file storage server to the computer system, which is convenient and quick, requires no manual intervention, and saves labor costs. The plurality of computer motherboards disposed in the computer system 100 can save time and effort to complete the operation system upgrade.

綜上所述,本發明確已符合發明專利之要件,遂依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,自不能以此限制本案之申請專利範圍。舉凡熟悉本案技藝之人士爰依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention has indeed met the requirements of the invention patent, and has filed a patent application according to law. However, the above description is only a preferred embodiment of the present invention, and it is not possible to limit the scope of the patent application of the present invention. Equivalent modifications or variations made by persons skilled in the art in light of the spirit of the invention are intended to be included within the scope of the following claims.

100‧‧‧電腦系統100‧‧‧ computer system

102‧‧‧電腦主機板102‧‧‧Computer motherboard

1021‧‧‧系統晶片1021‧‧‧System Chip

1023‧‧‧GPIO引腳1023‧‧‧GPIO pins

1025‧‧‧引導模組1025‧‧‧Guide Module

200‧‧‧交換機200‧‧‧Switch

300‧‧‧檔存儲伺服器300‧‧ ‧ storage server

310‧‧‧升級檔包310‧‧‧Upgrade package

no

Claims (10)

一種電腦作業系統升級方法,該電腦作業系統升級方法包括以下步驟:
設定一電腦系統內系統晶片之一GPIO作為開關引腳;
進入該電腦系統之引導系統;
檢測該系統晶片上之開關引腳是否開啟;
連接一檔存儲伺服器以獲取升級檔包;及
藉由該升級檔包升級該電腦作業系統。
A computer operating system upgrade method, the computer operating system upgrade method comprises the following steps:
Setting a GPIO of a system chip in a computer system as a switch pin;
Enter the boot system of the computer system;
Detecting whether the switch pin on the system wafer is turned on;
Connecting a storage server to obtain an upgrade package; and upgrading the computer operating system by the upgrade package.
如請求項第1項所述之電腦作業系統升級方法,其中該引導系統為Uboot系統。The computer operating system upgrade method of claim 1, wherein the booting system is a Uboot system. 如請求項第1項所述之電腦作業系統升級方法,其中該系統晶片為ARM晶片。The computer operating system upgrade method of claim 1, wherein the system chip is an ARM chip. 如請求項第1項所述之電腦作業系統升級方法,其中該連接該檔存儲伺服器以獲取升級檔包之步驟進一步包括:藉由一TFTP協定連接該檔存儲伺服器以獲取升級檔包。The computer operating system upgrade method of claim 1, wherein the step of connecting the file storage server to obtain an upgrade package further comprises: connecting the file storage server by a TFTP protocol to obtain an upgrade package. 如請求項第1項所述之電腦作業系統升級方法,其中該連接該檔存儲伺服器以獲取升級檔包之步驟進一步包括:藉由一區域網連接該檔存儲伺服器以獲取升級檔包。The computer operating system upgrade method of claim 1, wherein the step of connecting the file storage server to obtain an upgrade package further comprises: connecting the file storage server by a regional network to obtain an upgrade package. 一種電腦系統,該電腦系統包括複數電腦主機板,該複數電腦主機板連接一檔存儲伺服器,每一主機板包括系統晶片及引導模組,該系統晶片設定一GPIO引腳作為開關引腳,該引導模組能判斷該開關引腳是否開啟,當該開關引腳開啟時,該引導模組能連接該檔存儲伺服器獲取升級檔包並藉由該升級檔包升級電腦作業系統。A computer system comprising a plurality of computer motherboards, wherein the plurality of computer motherboards are connected to a storage server, each motherboard includes a system chip and a boot module, and the system chip sets a GPIO pin as a switch pin. The guiding module can determine whether the switch pin is turned on. When the switch pin is turned on, the guiding module can be connected to the file storage server to obtain an upgrade package and upgrade the computer operating system by using the upgrade package. 如請求項第6項所述之電腦系統,其中該引導模組安裝有Uboot系統。The computer system of claim 6, wherein the boot module is installed with a Uboot system. 如請求項第6項所述之電腦系統,其中該系統晶片為ARM晶片。The computer system of claim 6, wherein the system chip is an ARM chip. 如請求項第6項所述之電腦系統,其中該複數電腦主機板藉由一TFTP協定連接該檔存儲伺服器。The computer system of claim 6, wherein the plurality of computer motherboards are connected to the file storage server by a TFTP protocol. 如請求項第6項所述之電腦系統,其中該複數電腦主機板與該檔存儲伺服器位於同一區域網內。
The computer system of claim 6, wherein the plurality of computer motherboards are located in the same regional network as the file storage server.
TW102144885A 2013-12-06 2013-12-06 Updating method for computer operating system and computer system TW201528138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102144885A TW201528138A (en) 2013-12-06 2013-12-06 Updating method for computer operating system and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102144885A TW201528138A (en) 2013-12-06 2013-12-06 Updating method for computer operating system and computer system

Publications (1)

Publication Number Publication Date
TW201528138A true TW201528138A (en) 2015-07-16

Family

ID=54198313

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102144885A TW201528138A (en) 2013-12-06 2013-12-06 Updating method for computer operating system and computer system

Country Status (1)

Country Link
TW (1) TW201528138A (en)

Similar Documents

Publication Publication Date Title
US9563442B2 (en) Baseboard management controller and method of loading firmware
CN106445576B (en) Motherboard and its computer implemented method and the readable storage device of non-transient computer
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
US9680712B2 (en) Hardware management and control of computer components through physical layout diagrams
US20060020845A1 (en) Unattended BIOS recovery
CN105791362B (en) A kind of server operating system dispositions method and server
US20130080752A1 (en) Method and apparatus for implementing compatiblity of different processors
TW201351286A (en) System and method of updating firmware
US8898345B2 (en) Out-of-band management of third party adapter configuration settings in a computing system
TWI598815B (en) A bridge module for updating basic input/output system and updating method thereof
US10564707B2 (en) System management controller
TW201430561A (en) System and method of starting baseboard management controller
WO2013131347A1 (en) System and method for loading program for multiple touch screens
US20190205109A1 (en) Computer system, baseboard management controller, and os installation method
CN105068845A (en) Method for quickly updating firmware and guiding firmware to enter operating system
KR20150072963A (en) Multisystem, and method of booting the same
US11256519B2 (en) Using a single process to install a UEFI-supported OS or a non-UEFI supported OS on a hardware platform
TWI486876B (en) Host and method of upgrading connection manager of dongle
CN109669727B (en) Server configuration method, system and related components
CN106095643A (en) The establishing method of systematic parameter access and server thereof
TW201528138A (en) Updating method for computer operating system and computer system
CN104679438A (en) Serial Attached SCSI (SAS) interface card drive mounting system and method
CN104778048A (en) Method and device for installing and setting up server web environment on the basis of Linux system
TWI733284B (en) Hardware setting device and hardware setting method thereof
CN117931069A (en) Hard disk management method and computing device