TWI796904B - Recovery method and system - Google Patents
Recovery method and system Download PDFInfo
- Publication number
- TWI796904B TWI796904B TW110149020A TW110149020A TWI796904B TW I796904 B TWI796904 B TW I796904B TW 110149020 A TW110149020 A TW 110149020A TW 110149020 A TW110149020 A TW 110149020A TW I796904 B TWI796904 B TW I796904B
- Authority
- TW
- Taiwan
- Prior art keywords
- file
- cloud server
- electronic device
- serial number
- boot
- Prior art date
Links
Images
Landscapes
- Stored Programmes (AREA)
- Multi Processors (AREA)
- Purification Treatments By Anaerobic Or Anaerobic And Aerobic Bacteria Or Animals (AREA)
Abstract
Description
本發明是有關於一種還原機制,且特別是有關於一種基於雲端服務的還原方法及系統。The present invention relates to a restoration mechanism, and in particular to a restoration method and system based on cloud services.
一般電子產品在銷售之後,倘若機器有還原需求,則消費者需將整台機器送至供應商的客服中心,因此需花費時間在產品的遞送。另外,一般作業系統中雖具有還原(recovery)功能,然,必需進入作業系統才能使用還原功能。因此,在機器無法進入作業系統的情況下便無法來使用還原功能。雖可事先利用隨身碟或光碟等儲存媒介來製作還原疊,然事先製作的還原碟有遺失的疑慮。另外,在後疫情時代,原有服務模式亦需進行調整。因此,如何減少實體接觸但仍維持相同售後服務品質受到挑戰。After the sale of general electronic products, if the machine needs to be restored, the consumer needs to send the entire machine to the supplier's customer service center, so it takes time to deliver the product. In addition, although there is a recovery function in the general operating system, it is necessary to enter the operating system to use the recovery function. Therefore, the restore function cannot be used when the machine cannot enter the operating system. Although you can use storage media such as flash drives or optical discs to create recovery stacks in advance, there is a risk of losing the recovery discs you have created in advance. In addition, in the post-epidemic era, the original service model also needs to be adjusted. Therefore, how to reduce physical contact but still maintain the same after-sales service quality is challenged.
本發明提供一種還原方法及系統,提供無時限的遠距即時還原服務。The present invention provides a restoration method and system, which provide remote instant restoration service without time limit.
本發明的還原方法,包括下述步驟。在電子裝置中,包括:於開機階段中,透過開機韌體傳送電子裝置的機器序號至雲端伺服器;自雲端伺服器接收對應於機器序號的啟動程式;透過啟動程式執行小型作業系統;透過小型作業系統基於機器序號自雲端伺服器下載還原檔;以及透過小型作業系統安裝還原檔。The reduction method of the present invention includes the following steps. In the electronic device, it includes: during the booting stage, sending the machine serial number of the electronic device to the cloud server through the boot firmware; receiving the startup program corresponding to the machine serial number from the cloud server; executing a small operating system through the startup program; The operating system downloads the recovery file from the cloud server based on the serial number of the machine; and installs the recovery file through the small operating system.
在本發明的一實施例中,在電子裝置的開機階段中,透過開機韌體傳送電子裝置的機器序號雲端伺服器之後,在雲端伺服器中,包括:在自電子裝置接收到機器序號之後,基於機器序號所獲得的多個相關資訊,建立啟動程式;以及傳送啟動程式至電子裝置。In one embodiment of the present invention, in the booting phase of the electronic device, after the machine serial number of the electronic device is transmitted to the cloud server through the boot firmware, the cloud server includes: after receiving the machine serial number from the electronic device, Based on a plurality of relevant information obtained by the serial number of the machine, an activation program is established; and the activation program is sent to the electronic device.
在本發明的一實施例中,在雲端伺服器中,更包括:在傳送啟動程式至電子裝置的同時,一併傳送對應於機器序號的開機組態資料檔(Boot Configuration Database,BCD)以及開機管理韌體檔(Boot Manager Firmware)至電子裝置,其中開機組態資料檔與開機管理韌體檔搭配啟動程式來執行小型作業系統。In an embodiment of the present invention, in the cloud server, it further includes: while transmitting the boot program to the electronic device, the boot configuration data file (Boot Configuration Database, BCD) corresponding to the machine serial number and the boot Manage the firmware file (Boot Manager Firmware) to the electronic device, wherein the boot configuration data file and the boot management firmware file cooperate with the startup program to execute the small operating system.
在本發明的一實施例中,透過小型作業系統基於機器序號自雲端伺服器下載還原檔的步驟包括:於小型作業系統中,連線至雲端伺服器,以自雲端伺服器取得與機器序號對應的映像檔資訊以及切區資訊;透過小型作業系統基於切區資訊將電子裝置的儲存裝置格式化為多個分割磁區;以及透過小型作業系統基於映像檔資訊自雲端伺服器下載對應的還原檔,並儲存還原檔至其中一個分割磁區。In one embodiment of the present invention, the step of downloading the restore file from the cloud server based on the machine serial number through the small operating system includes: connecting to the cloud server in the small operating system to obtain the corresponding machine serial number from the cloud server Image file information and cut area information; format the storage device of the electronic device into multiple partitions based on the cut area information through the small operating system; and download the corresponding restore file from the cloud server based on the image file information through the small operating system , and save the restore file to one of the partitions.
在本發明的一實施例中,透過小型作業系統安裝還原檔的步驟包括:透過小型作業系統自還原檔獲得部署工具以及系統檔;以及透過小型作業系統利用部署工具來安裝系統檔。In an embodiment of the present invention, the step of installing the recovery file through the mini-OS includes: obtaining a deployment tool and system files from the recovery file through the mini-OS; and installing the system files through the deployment tool through the mini-OS.
本發明的還原系統,包括:雲端伺服器以及電子裝置。電子裝置透過網路連線至雲端伺服器。電子裝置經配置以:於開機階段中,透過開機韌體傳送電子裝置的機器序號至雲端伺服器;自雲端伺服器接收對應於機器序號的啟動程式;透過啟動程式執行小型作業系統;透過小型作業系統基於機器序號自雲端伺服器下載還原檔;以及透過小型作業系統安裝還原檔。The restoration system of the present invention includes: a cloud server and an electronic device. The electronic device is connected to the cloud server through the network. The electronic device is configured to: transmit the machine serial number of the electronic device to the cloud server through the boot firmware during the boot phase; receive the boot program corresponding to the machine serial number from the cloud server; execute the small operating system through the boot program; The system downloads the recovery file from the cloud server based on the serial number of the machine; and installs the recovery file through the small operating system.
基於上述,本揭露利用雲端伺服器來提供還原檔,使得電子裝置在無法正常進入作業系統時,能夠自雲端伺服器來下載最適切的還原檔。據此,可即時提供系統還原服務,並且服務時間沒有限制。Based on the above, the present disclosure utilizes the cloud server to provide the recovery file, so that the electronic device can download the most suitable recovery file from the cloud server when the operating system cannot be entered normally. Accordingly, the system restore service can be provided immediately, and the service time is not limited.
圖1是依照本發明一實施例的還原系統的方塊圖。請參照圖1,還原系統100包括電子裝置110以及雲端伺服器120。電子裝置110與雲端伺服器120透過網路130進行連線。電子裝置110為消費者所購入的裝置,雲端伺服器120為廠商所建構的運算能力高且儲存容量大的伺服器,用以提供還原檔供消費者下載。FIG. 1 is a block diagram of a restoration system according to an embodiment of the present invention. Please refer to FIG. 1 , the
圖2是依照本發明一實施例的電子裝置的方塊圖。請參照圖2,電子裝置110包括處理器210、韌體儲存單元220、通訊元件230以及儲存裝置240。處理器210耦接至韌體儲存單元220、通訊元件230以及儲存裝置240。FIG. 2 is a block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 2 , the
處理器210例如為中央處理單元(Central Processing Unit,CPU)、可程式化之微處理器(Microprocessor)、嵌入式控制晶片、數位訊號處理器(Digital Signal Processor,DSP)、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)或其他類似裝置。The
韌體儲存單元220例如為唯讀記憶體(Read Only Memory,ROM)或快閃記憶體(flash memory)。韌體儲存單元220中儲存了開機韌體221。開機韌體221用以在開機過程中執行硬體初始化以及測試系統硬體構件,並且載入啟動載入器(boot loader)或作業系統。開機韌體221例如為基本輸入輸出系統(Basic Input/Output System,BIOS)、可延伸韌體介面(Extensible Firmware Interface,EFI)BIOS或聯合可延伸韌體介面(Unified Extensible Firmware Interface,UEFI)BIOS。The
通訊元件230可以是採用區域網路(Local Area Network,LAN)技術、無線區域網路(Wireless LAN,WLAN)技術或行動通訊技術的晶片或電路。區域網路例為乙太網路(Ethernet)。無線區域網路例如為Wi-Fi。行動通訊技術例如為全球行動通訊系統(Global System for Mobile Communications,GSM)、第三代行動通訊技術(third-Generation,3G)、第四代行動通訊技術(fourth-Generation,4G)、第五代行動通訊技術(fifth-Generation,5G)等。The
儲存裝置240例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合。The
圖3是依照本發明一實施例的還原方法的流程圖。請同時參照圖1~圖3,在步驟S305中,於開機階段中,透過開機韌體221傳送電子裝置110的機器序號至雲端伺服器120。例如,透過開機韌體220啟用通訊元件230的連線功能,以透過網路130傳送夾帶有機器序號的連線要求至雲端伺服器120。雲端伺服器120利用機器序號來驗證電子裝置110是否為供應商自家出貨的機器,並進一步利用機器序號來搜尋適合的還原檔。FIG. 3 is a flowchart of a reduction method according to an embodiment of the present invention. Please refer to FIG. 1 to FIG. 3 at the same time. In step S305 , the machine serial number of the
在建立連線後,在步驟S310中,自雲端伺服器120接收對應於機器序號的啟動(boot)程式。啟動程式為啟動映像檔,內含小型作業系統的啟動文件。小型作業系統為輕量版本(lightweight version)的作業系統,其提供個人電腦開發商、工作站、伺服器等打造客製化的作業系統環境,或進行故障排除來使用。在一實施例中,小型作業系統可採用Windows預先安裝環境(Windows Preinstallation Environment,WinPE),而啟動程式為boot.wim,其格式為Windows映像檔案格式(Windows Imaging Format,WIM)。After the connection is established, in step S310 , a boot program corresponding to the serial number of the machine is received from the
在電子裝置110接收到啟動程式之後,在步驟S315中,透過啟動程式執行小型作業系統,即進入還原環境。接著,在步驟S320中,透過小型作業系統基於機器序號自雲端伺服器120下載還原檔。之後,在步驟S325中,透過小型作業系統安裝還原檔。在開機階段中無法執行還原動作,因此,透過啟動程式進入小型作業系統,以在小型作業系統的環境下自雲端伺服器120下載映像檔資訊以及切區資訊,進而來完成還原動作。底下再舉一實施例來說明。After the
圖4是依照本發明一實施例的透過雲端伺服器提供還原服務的功能架構圖。請參照圖4,在電子裝置110電力開啟(power on)時,處理器210自韌體儲存單元220中讀取開機韌體221進而執行開機程序。在開機階段中,開機韌體221進入EFI殼層(shell)41,並透過連線模組42連線至雲端伺服器120。在一實施例中,可在需要執行還原功能時才啟動連線模組42。FIG. 4 is a functional architecture diagram of providing a restore service through a cloud server according to an embodiment of the present invention. Referring to FIG. 4 , when the
在電子裝置110連線至雲端伺服器120的情況下,在步驟S401中,電子裝置110傳送機器序號至雲端伺服器120。接著,在步驟S403中,雲端伺服器120基於開機序號來建立啟動程式。具體而言,雲端伺服器120會基於機器序號來取出對應的多個相關資訊(例如驅動程式等相關資訊),進而建立啟動程式。啟動程式例如為boot.wim。雲端伺服器120在傳送啟動程式至電子裝置110的同時,還會一併傳送對應於機器序號的開機組態資料檔(Boot Configuration Database,BCD)以及開機管理韌體檔(Boot Manager Firmware)至電子裝置110,以供電子裝置110利用開機組態資料檔與開機管理韌體檔搭配啟動程式來執行小型作業系統43。When the
電子裝置110在接收啟動程式、開機組態資料檔以及開機管理韌體檔之後,利用預啟動執行環境(Preboot eXecution Environment,PXE)44重新開機,使得開機韌體221基於開機組態資料檔與開機管理韌體檔搭配啟動程式來執行小型作業系統43。在執行小型作業系統43的環境下,連線至雲端伺服器120。由於啟動程式僅包括需要還原的檔案資訊,並不包括實際要安裝的還原檔,因此,在進入小型作業系統43之後,需要再連線至雲端伺服器120來下載還原檔。在一實施例中,在重新開機進入小型作業系統43之後,可透過顯示於螢幕中的訊息來詢問消費者是否要進行系統還原,在確認消費者要進行系統還原的情況下,透過通訊元件230連線至雲端伺服器120來再次傳送機器序號。After receiving the boot program, the boot configuration data file and the boot management firmware file, the
在步驟S407中,透過小型作業系統43再次傳送機器序號至雲端伺服器120。在一實施例中,雲端伺服器120中還包括多個料號資料庫,這些料號資料庫分別針對不同料號來提供對應的還原資訊。雲端伺服器120根據機器序號而自對應的料號資料庫來取得所需的還原資訊,進而產生映像檔資訊(image information)以及切區(partition)資訊,以傳送至電子裝置110。In step S407 , the machine serial number is sent to the
之後,在步驟S409中,透過小型作業系統43自雲端伺服器120來下載映像檔資訊以及切區資訊。小型作業系統43基於切區資訊將電子裝置110的儲存裝置240格式化為多個分割磁區。之後,在步驟S411中,基於映像檔資訊自雲端伺服器120下載對應的還原檔(例如為光碟映像檔),並儲存還原檔至對應的一個分割磁區中。而後,小型作業系統43對還原檔進行解壓縮以獲得部署工具45以及系統檔。Afterwards, in step S409 , the image file information and the cut region information are downloaded from the
之後,在步驟S413中,小型作業系統43進入安裝階段。在安裝階段中,利用部署工具45來安裝系統檔。安裝階段完成後,透過開機韌體221移除部署工具45及用不到的檔案,系統還原即完成,並停在首次開機畫面。After that, in step S413, the
綜上所述,本揭露利用雲端伺服器來提供還原檔,使得電子裝置在無法正常進入作業系統時,能夠自雲端伺服器來下載啟動程式,以進入還原環境。據此,消費者有還原需求時,不需要等待營業時間才可以接受服務,只要利用網路環境即可享有雲端伺服器提供的智能服務,並且服務時間沒有限制,進而提高服務滿意度。對於供應商而言,透過自動化的還原機制,完成無人值守的還原服務,進一步節省了人力成本。To sum up, this disclosure utilizes the cloud server to provide the recovery file, so that when the electronic device cannot normally enter the operating system, it can download the startup program from the cloud server to enter the recovery environment. Accordingly, when consumers have restoration needs, they do not need to wait for business hours to receive services. They only need to use the network environment to enjoy the intelligent services provided by the cloud server, and the service hours are not limited, thereby improving service satisfaction. For suppliers, through the automated restoration mechanism, unattended restoration services are completed, further saving labor costs.
100:還原系統 110:電子裝置 120:雲端伺服器 130:網路 210:處理器 220:韌體儲存單元 221:開機韌體 230:通訊元件 240:儲存裝置 41:EFI殼層 42:連線模組 43:小型作業系統 44:預啟動執行環境 45:部署工具 S305~S325:還原方法的步驟 S401~S413:步驟100: restore system 110: Electronic device 120:Cloud server 130: Network 210: Processor 220: firmware storage unit 221:Boot firmware 230: communication components 240: storage device 41: EFI Shell 42:Connection module 43: Small Operating System 44: Pre-boot execution environment 45: Deployment tools S305~S325: the steps of the reduction method S401~S413: Steps
圖1是依照本發明一實施例的還原系統的方塊圖。 圖2是依照本發明一實施例的電子裝置的方塊圖。 圖3是依照本發明一實施例的還原方法的流程圖。 圖4是依照本發明一實施例的透過雲端伺服器提供還原服務的功能架構圖。 FIG. 1 is a block diagram of a restoration system according to an embodiment of the present invention. FIG. 2 is a block diagram of an electronic device according to an embodiment of the invention. FIG. 3 is a flowchart of a reduction method according to an embodiment of the present invention. FIG. 4 is a functional architecture diagram of providing a restore service through a cloud server according to an embodiment of the present invention.
S305~S325:還原方法的步驟 S305~S325: the steps of the reduction method
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110149020A TWI796904B (en) | 2021-12-28 | 2021-12-28 | Recovery method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110149020A TWI796904B (en) | 2021-12-28 | 2021-12-28 | Recovery method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI796904B true TWI796904B (en) | 2023-03-21 |
TW202326351A TW202326351A (en) | 2023-07-01 |
Family
ID=86692483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110149020A TWI796904B (en) | 2021-12-28 | 2021-12-28 | Recovery method and system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI796904B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100257346A1 (en) * | 2009-04-03 | 2010-10-07 | Microsoft Corporation | Bare metal machine recovery from the cloud |
CN102567042A (en) * | 2010-12-14 | 2012-07-11 | 国际商业机器公司 | Method and system for managing multiple software images with relocation of boot blocks |
TW201640343A (en) * | 2015-01-16 | 2016-11-16 | 惠普發展公司有限責任合夥企業 | Communicating a data image for installing an operating system |
US20180276003A1 (en) * | 2017-03-22 | 2018-09-27 | Vmware, Inc. | Internet recovery of a windows configuration |
TW202137002A (en) * | 2020-03-27 | 2021-10-01 | 宜鼎國際股份有限公司 | Data storage device and method for maintaining normal boot operation of data storage device |
-
2021
- 2021-12-28 TW TW110149020A patent/TWI796904B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100257346A1 (en) * | 2009-04-03 | 2010-10-07 | Microsoft Corporation | Bare metal machine recovery from the cloud |
CN102567042A (en) * | 2010-12-14 | 2012-07-11 | 国际商业机器公司 | Method and system for managing multiple software images with relocation of boot blocks |
TW201640343A (en) * | 2015-01-16 | 2016-11-16 | 惠普發展公司有限責任合夥企業 | Communicating a data image for installing an operating system |
US20180276003A1 (en) * | 2017-03-22 | 2018-09-27 | Vmware, Inc. | Internet recovery of a windows configuration |
TW202137002A (en) * | 2020-03-27 | 2021-10-01 | 宜鼎國際股份有限公司 | Data storage device and method for maintaining normal boot operation of data storage device |
Also Published As
Publication number | Publication date |
---|---|
TW202326351A (en) | 2023-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10613773B2 (en) | Backing up firmware during initialization of device | |
US20170228228A1 (en) | Remote launch of deploy utility | |
CN100561957C (en) | Network switch collocation method and system | |
US6813708B2 (en) | System and method for searching a BIOS for a type of computer network drive to boot and an operating system for migrating an operating system to a computer | |
US7506144B2 (en) | Dynamic pre-operating system billboard service | |
US20040025155A1 (en) | Method, computer program product, and system for configuring a software image for installation into a computer system | |
US9311107B2 (en) | Booting devices via the cloud | |
US7159106B2 (en) | Information handling system manufacture method and system | |
CN102135893A (en) | Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server | |
CN104185836A (en) | Method and system for verifying proper operation of computing device after system change | |
US9792111B2 (en) | Obtaining device drivers from an out-of-band management network | |
JP2002236590A (en) | Installing method for software | |
TW515996B (en) | Method and system for transferring an application program from system firmware to a storage device | |
EP3614258A1 (en) | Retrieving updated firmware code | |
US11030047B2 (en) | Information handling system and method to restore system firmware to a selected restore point | |
CN111078305A (en) | Information acquisition method and device, server and information management system | |
US20040221024A1 (en) | Apparatus and method for setting environment of client in client / server system, and program recording medium therefor | |
TWI796904B (en) | Recovery method and system | |
JP2002123401A (en) | Processing apparatus, managing device, recording medium and program | |
JP5619999B2 (en) | Method for executing utility program, computer system and computer program product | |
US20240036896A1 (en) | Generating installation images based upon dpu-specific capabilities | |
US20240028343A1 (en) | Unified boot image for multiple operating systems | |
US11675601B2 (en) | Systems and methods to control software version when deploying OS application software from the boot firmware | |
US20230350756A1 (en) | Out of band method to change boot firmware configuration | |
JP4051711B2 (en) | How to install the software |