[go: up one dir, main page]

TWI326408B - Method of updating an image file - Google Patents

Method of updating an image file Download PDF

Info

Publication number
TWI326408B
TWI326408B TW95142185A TW95142185A TWI326408B TW I326408 B TWI326408 B TW I326408B TW 95142185 A TW95142185 A TW 95142185A TW 95142185 A TW95142185 A TW 95142185A TW I326408 B TWI326408 B TW I326408B
Authority
TW
Taiwan
Prior art keywords
image
update
value
work
file
Prior art date
Application number
TW95142185A
Other languages
Chinese (zh)
Other versions
TW200821812A (en
Inventor
Tsung Pin Wang
Chen Chi Yuan Chu
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW95142185A priority Critical patent/TWI326408B/en
Publication of TW200821812A publication Critical patent/TW200821812A/en
Application granted granted Critical
Publication of TWI326408B publication Critical patent/TWI326408B/en

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Retry When Errors Occur (AREA)

Description

1326408 九、發明說明: 【發明所屬之技術領域】 旦,本發縣有_舰器,尤指-種能夠自動選擇工作 影像槽案或備份影雜案完姐動作㈣⑽處理,且在 伺服器選擇以備份影像檔案啟動作#系統的處理時,伺服 器能夠自動恢復儲存單元在更新前的狀態之方法者。 【先前技術】 按,伺服器是一種高性能電腦,其主要作用在於作為 網路的節點’收存或處糊路±的資料,饲職具有比 一般個人電腦更高的處理能力、穩定性、可靠性、安全性、 可擴展性及可管理性,尤其是,隨著當前各種電子通訊技 術的進步,及與日俱增的資訊流通需求,一般公司或團體 使用伺服器以提供相關資訊、下載、郵件等服務,係已成 為司空見慣之常事。因此,如何伺服器之處理能力及穩定 性能夠提高,使得伺服器可以提供更穩定、更人性化的資 訊使用環境及服務環境,乃成為評價伺服器最重要的關鍵 之一。基於4述原因,祠服器的製造業者乃針對伺服器因 各種原因產生的異常狀況,導致伺服器的資料存取或網路 服務中斷之問題,不斷地開發新的技術,期能解決各種問 題,提高伺服器的穩定性。 舉例而言,目前的伺服器内係設有一智慧平臺管理介 面(Intelligent Platform Management Interface,簡稱: ΙΡΜΙ) ’智慧平臺管理介面係以基板管理控制器 (Baseboard Management controller,簡稱:BMC),透過 -6- : ίΐ/ίΡΜβ . 户理與飼服器内需要被監控的元件(如:中央 二::又、電壓、風扇轉速等)所設的感測器連接,用 測。器從感 ^服态破監控的元件有嚴重的異常事件產生 择土板g理控制器可以執行糾正動作,使得伺服器可繼 ’只"供^務’或暫停提供服務以免發生更嚴重的錯誤。 —7削述的基板官理控制器用以判斷饲服器被監控的 元件是否有嚴重的異常事件產生的_(firm_),係以 =像槽,的方式儲存在—贿單元(如:制記憶體)中, 當基板管理控制體需要更新時,乃使賴存單元的 開機區塊巾的_載人程式(bQQt 1Qader)騎更新,然 而’開機載人程式下在磁碟作㈣統(Disk Gperating System,簡稱:D0S)進行處理的,因此,開機載入程式提 供用以更_體的使用者介面設計_#鮮,故,造成 使用者在更新韌體的影像檔案上是相當不便的。 另為有效的管理伺服器的機箱(chassis,或稱 enclosure)及交換器(switch),使得伺服器可以穩定的提 供各種服務或資源,伺服器係安裝一機箱暨交換器管理系 統(如.Roadrunner & Chassis Management System ,簡 稱:RCMS),而機箱暨交換器管理系統乃使用檔案系統 (File System)儲存在儲存益(如:硬碟)内的___個以上的 影像權案中,對於使用者而言,若要在檔案系統進行機箱 暨交換器管理系統的更新,實在是太過於複雜,又,若機 ㈣失敗繼自_復到之前的 定性藉==為令舰器具有更高的處理能力、穩 m。φ *全性、可擴紐及骑理,時目的,要 狀操yr?細___巾,財如上所 ” 或無法自動恢復到之前的影像檔案等問 題’故,若能開發出一種更新影像槽案的方 办° 問題’相信技者及消都樂見的。 解决Μ 【發明内容】 —有鐘於前述之諸多缺失,發明人經過長久努力研究盘 貝驗’終於開發設計出本發明之—種「更新影像槽案的方 法」,以_由本發明的提出,能夠對社會大眾有所貢獻。 /本發明之—目的,係提供一種更新影像檔案的方法, 係應用在-做器,當舰驗對—功影像槽案進行更 新時,·將卫作影像儲存為—備份影像稽案,令祠 服器重新開機後,以更新後的工作影像難進行啟動作業 系統的處理,而若鑛㈣糊機後,並無法以更新後的 工作影像_進行啟動作㈣統的處理,伺服器能夠自動 k擇以備仏景)像植案再進行啟動作業系統的處理,並自動 恢復儲存單元在更新前的狀態,如此,即解決傳統饲服器 操作不便及無法自動恢復儲存單元之問題。 為便貴審查委員能對本發明之目的、技術特徵及其 功效,做更進一步之認識與瞭解,茲舉實施例配合圖式, 詳細說明如下:1326408 IX. Description of the invention: [Technical field to which the invention belongs] Once, the county has a _ship, especially a type that can automatically select a working image slot case or a backup copy case (4) (10), and select it on the server. When the backup image file is started to be processed by the system, the server can automatically restore the state of the storage unit before the update. [Prior Art] Press, the server is a high-performance computer whose main function is to store or paste data as a node of the network. The job has higher processing power and stability than the average personal computer. Reliability, security, scalability and manageability, especially with the advancement of various electronic communication technologies and the increasing demand for information circulation, companies or groups use servers to provide relevant information, downloads, emails, etc. Service has become a commonplace. Therefore, how to improve the processing power and stability of the server, so that the server can provide a more stable and more user-friendly information environment and service environment, is one of the most important evaluation servers. Based on the reasons described above, the manufacturer of the server is constantly developing new technologies for solving the problem of abnormal access to the server due to various reasons, resulting in the server's data access or network service interruption. Improve the stability of the server. For example, the current server has an intelligent platform management interface (Intelligent Platform Management Interface, referred to as: ΙΡΜΙ). The smart platform management interface is a Baseboard Management Controller (BMC). - : ΐ ΐ ΡΜ . 户 户 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The component from the sensory state of the device has a serious abnormal event, and the controller can perform the corrective action, so that the server can continue to provide services only to prevent the occurrence of more serious problems. error. -7 The substrate controller used to determine whether the component to be monitored by the feeder is _(firm_) generated by a serious abnormal event, is stored in the form of a slot, and is stored in a bribe unit (eg, memory) In the case of the substrate management control unit, the _ manned program (bQQt 1Qader) of the boot unit of the storage unit is updated, but the boot loader is on the disk (four) system (Disk). Gperating System (referred to as: D0S) for processing, therefore, the boot loader provides a more user interface design _# fresh, so it is quite inconvenient for the user to update the image file of the firmware. Another effective management server chassis (enclosure) and switch (switch), so that the server can provide a variety of services or resources, the server is installed a chassis and switch management system (such as .Roadrunner & Chassis Management System (RCMS), and the Chassis and Switch Management System uses Archives (File System) to store ___ or more image rights in storage benefits (such as hard drives). Users, if you want to update the chassis and switch management system in the file system, it is too complicated, and if the machine (4) fails, the qualitative loan from the _ before the return to the ship is higher. Processing capacity, stability m. φ * fullness, expandable and rideable, the purpose of the time, to be yr? fine ___ towel, as above, or unable to automatically recover to the previous image file and other issues, so if you can develop an update The problem of the image trough case ° Problem 'I believe that the technician and the consumer are happy to see. Solve the problem 】 【Inventive content — There are many defects in the above, the inventor has worked hard to study the disk test, and finally developed the invention The "method of updating the image groove case" can contribute to the public by the proposal of the present invention. / The purpose of the present invention is to provide a method for updating an image file, which is applied to a device, and when the ship inspection is performed, the image of the image is stored as a backup image file, After the server is restarted, it is difficult to start the operation system with the updated working image, and if the mine (4) pastes the machine, it cannot process the updated working image _ for the startup (four) system, the server can automatically k chooses to prepare for the scene, like the planting case, then starts the operation system, and automatically restores the state of the storage unit before the update, thus solving the problem that the traditional feeding device is inconvenient to operate and the storage unit cannot be automatically restored. To further understand and understand the purpose, technical features and efficacy of the present invention, the present embodiment will be described in detail as follows:

Claims (1)

1:1326408 、申請專利範圍: 、一種更新影像播案的方法,係庫 一 ::=,_更_二= 將錯存該他器的-鍺存單元所設之—第一 内的,作%像齡’用以複製_儲存單元攸之一第二1:1326408, the scope of application for patents: a method for updating the video broadcast case, the library one::=, _more_two= will be stored in the wrong device - the first one, the first % like age 'used to copy _ storage unit 攸 one of the second 作為縣職,縣新1作雜齡複製财 一衫像區作為工作影像檔案;及 重新開機’並根猶贿單元所設之—職區塊内一 2更新㈣碼蚊扣紅作影像職或備份影像檀 杗進行重新開機作業。 、如請求項1所述之方法,其中該伺服器更新工作 衫像檔案及備份影像檔案之步驟,係包括:As a county magistrate, the county's new one is used as a work image file for the copying of the wealthy shirt area; and the re-booting of the 'Establishment of the Essence and Bribery Unit' is a 2nd update (4) code mosquito buckle red for the image job or Back up the image to restart the job. The method of claim 1, wherein the step of updating the server image file and the backup image file comprises: —開始更新的初始化,將該影像更新狀树狀為一第 :數值’該第-數值表示目前不是該第—影像區的工作影 ί棺案被更新後的第—次_,以及鋪《在此次開機 枯應是以工作影像檔案進行開機作業; 判斷該新工作影像檔案的内容是否完整; …虽判斷出該新工作影_案的内容是完整的,即設定 §〜像更新狀況碼為—第二數值,並將第—影像區中的工 作如像槽紐制第二景彡像區作為備份影像樓案 ,且該新 作衫像檔案複製到該第—影像區中作紅作影像檔 案i而該第二數值侧來表示並非第一次開機 ,以及該祠 服器要是以備份影像檔案進行更新; -16- 換頁 區中判:是否成功地將新工作影像 一:3出已成功地將該新工作影像檔案複製到” ’則將影像更新狀況碼為一第三數值,該第: 、不該工作影像齡更新後第—次職 喊以第-雜區中的工作影姆進行開機^新開機 3、如睛求項2所述之方法,其中當判 =像槽案的内容並非完整的,則再 步驟進行處理。 又訢叼初始化的 狀心=:製到弟-影像區中’則將影像更新 接收2所叙方法,其_職係檢杳所 得收的該新工作影像檀案的容 -τ 該新工作峨編容是否完整=杨作為判斷 檢查計所述之方法,其__、依據- 得到—檢杳(trr像槽案的内容進行計算,用以 用以判=1= ) ’並麟檢查碼是否正確, 清新工作讀_的内容是否完整。 工作影像法’其__行更新 值,第-_ L後’該影像更新狀況碼係為該第一數 四數值:a:+ —第二數值或影像更新狀況碼被設定為一第 新開機後:服哭=四數值用以表示在第-次更新且重 时…'法以工作影像檔案成功地執行作業系 •17- 牛l· 1 牛l· 1 統 再進:::::檔案並未能運作’且需要以備份物案 開機方法’其中雜服器進行重新 備份新狀況職要以該工作影像槽案或該 財切像棺案進行重新開機作業; 當接_的f彡像更新航碼被奴為鶴三數值 、不要以該J1作影像齡進行重賴機作業; 將該影像更新狀況瑪設定為該第四數值; 利用工作影像齡啟動作業系統; 判斷作業系統是否成功的被啟動; 作統已成功的被啟動,再判斷是由該工 作業及糸綠妓由該備份影像檀案啟動 2判斷蚊由該工作影像齡啟動作衫統 像更新狀況碼設定_第—數值。 將, 9、如請求項8所述之方法,豆 未成功的被⑽,則進行麵職分^。作業系統 、如請求項δ所述之方法,財當判斷出是由_ =像播_作業系統,則該細依照下列步驟進: 作為=;=,==^影_ 進行更新前的狀態; 〜區ft復到未 -18- 1326408 判斷儲存單元是否恢復成功;及 當判斷出該儲存單元已恢復成功,麟該影像更新狀 況碼設定為該第-魏,進人等待下―:欠麵開機 態。 - j、如請求項1〇所述之方法,其中當判斷出儲存單 兀、/ k成功’職影像更新狀況碼設定為第二, 進入等待下一次重新開機的狀態。 12如μ求項8所述之方法’其巾當舰器進行重新 開麟1接收到的該影像更新狀況碼被設定為該第一數 值、苐一數值或第四數值 驟,包括: 魏射之-,則飼服器處理的步 傻作影像槽案啟動作業系統或是由備份影 像檔术啟動作業系統;及 -像由該備份影像檔案啟動作業時,即以該備份 作業’再依照觸作業緖是否成功的被啟 動的步驟進行處理。 像槽===述之方法’其中當判斷出由工作影 業系統步魏行纽/職_社俩彡像儲啟動作 -19-- Initialization of the update, the image update tree is a first: the value 'the first value indicates that the work image of the first image area is not updated, the first time _, and the shop The booting should be started with the working image file; determine whether the content of the new working image file is complete; ... although it is determined that the content of the new working image is complete, that is, the setting § ~ like the update status code is a second value, and the work in the first image area is like a second image of the slot image as a backup image building, and the new shirt image file is copied into the first image area as a red image file. i and the second value side indicates that it is not the first time to boot, and the server is to be updated with the backup image file; -16- The page change area determines whether the new work image is successfully: 3 out Copy the new working image file to " ', then update the image update status code to a third value. The first: the first job should not be used to start the work in the first-missing area. ^New boot 3. The method according to item 2, wherein when the content of the judgment slot is not complete, the processing is further processed. The state of the initialization is also changed: the system is in the image area. The image update receives the method described in 2, and the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ According to - get - check (trr is calculated according to the content of the trough case, used to judge = 1 =) 'The parallel check code is correct, the content of the fresh work read _ is complete. Work image method 'its __ line Update value, after -_L, the image update status code is the first number four values: a: + - the second value or image update status code is set to a new boot: service cry = four values In order to successfully execute the operating system in the first-time update and heavy-time... method, the work image file is successfully executed: 17: 牛 l· 1 牛 l· 1 re-entry::::: The file does not work' and needs to The backup file boot method 'where the miscellaneous device is re-backup the new status job to the work image slot Or the money cuts like a file to restart the work; when the _ 彡 更新 更新 更新 更新 更新 更新 更新 被 被 被 被 被 被 被 被 被 被 被 被 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤 鹤The fourth value; using the working image age to start the operating system; determining whether the operating system is successfully started; the system has been successfully started, and then judging that the work industry and the green 妓 are determined by the backup image The mosquito is activated by the working image age to update the status code setting_first-value. 9., as described in claim 8, the bean is unsuccessful (10), then the job is divided into ^. As the method described in the request item δ, the financial judgment is made by the _ = broadcast _ operating system, then the fine proceeds according to the following steps: as =; =, == ^ shadow _ before the update state; ~ area ft If it is determined that the storage unit has been successfully restored, and the image update status code is set to the first-wei, the waiter waits for the following: the under-surface state. - j. The method of claim 1, wherein when it is determined that the storage unit /, / k successful job image update status code is set to the second, the state of waiting for the next power-on is entered. 12 The method of claim 8, wherein the image update status code received by the ship is re-opened 1 is set to the first value, the first value or the fourth value, including: - the step of the feeding device processing the image slot to start the operating system or start the operating system by the backup image file; and - when the job is started by the backup image file, the backup operation is followed by The step in which the job is successfully started is processed. Like the method of slot ===, which is judged to be initiated by the working film system, Wei Xing, New Zealand, and
TW95142185A 2006-11-15 2006-11-15 Method of updating an image file TWI326408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95142185A TWI326408B (en) 2006-11-15 2006-11-15 Method of updating an image file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95142185A TWI326408B (en) 2006-11-15 2006-11-15 Method of updating an image file

Publications (2)

Publication Number Publication Date
TW200821812A TW200821812A (en) 2008-05-16
TWI326408B true TWI326408B (en) 2010-06-21

Family

ID=44770619

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95142185A TWI326408B (en) 2006-11-15 2006-11-15 Method of updating an image file

Country Status (1)

Country Link
TW (1) TWI326408B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI486877B (en) * 2013-09-26 2015-06-01 Wistron Corp Method of firmware upgrade
TWI576682B (en) * 2015-01-05 2017-04-01 營邦企業股份有限公司 Cabinet with multi-cabinet management module and firmware update method thereof

Also Published As

Publication number Publication date
TW200821812A (en) 2008-05-16

Similar Documents

Publication Publication Date Title
US7870548B2 (en) Method for updating an image file
US7689859B2 (en) Backup system and method
JP5575338B2 (en) Information processing apparatus, information processing method, and computer program
US8578203B2 (en) Providing a backup service from a remote backup data center to a computer through a network
CN105138430A (en) Embedded operating system backup and restoration method and device
KR101696490B1 (en) Partial rebooting recovery apparatus and method
WO2017028375A1 (en) Version upgrading method and system
JP5665889B2 (en) Method and apparatus for backing up subversion repository
US20220027241A1 (en) System and method for efficient replication
CN107608828A (en) Method, system, device and the storage medium that data center's power down recovers automatically
CN106407045A (en) Data disaster recovery method and system, and server virtualization system
TW202131170A (en) Firmware corruption recovery
CN113849343A (en) Disaster recovery backup method, device and storage medium
CN103902336A (en) Method and device for controlling starting of operating system
TWI326408B (en) Method of updating an image file
CN112416527A (en) Data recovery method, device, equipment and storage medium
CN114995852A (en) Device upgrade method, device and computer-readable storage medium
CN110597660A (en) Data backup method, device, equipment and medium for virtual machine
US20150317742A1 (en) Digital Content Insurance and Restoration
CN112579361B (en) Backup data reconstruction method, device, equipment and storage medium
US7991850B2 (en) Resilient system partition for personal internet communicator
CN109634782B (en) A system robustness detection method, device, storage medium and terminal
CN111752749A (en) CORS terminal host, automatic backup and recovery method and storage device
CN101192161B (en) Method for updating image file
CN102902607A (en) Data backup and recovery method for Android thin client

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees