TWI493458B - Computer apparatus and reboot method thereof - Google Patents

Computer apparatus and reboot method thereof Download PDF

Info

Publication number
TWI493458B
TWI493458B TW102114206A TW102114206A TWI493458B TW I493458 B TWI493458 B TW I493458B TW 102114206 A TW102114206 A TW 102114206A TW 102114206 A TW102114206 A TW 102114206A TW I493458 B TWI493458 B TW I493458B
Authority
TW
Taiwan
Prior art keywords
computer device
program
reset
microcontroller
time
Prior art date
Application number
TW102114206A
Other languages
Chinese (zh)
Other versions
TW201441930A (en
Inventor
Kim Yeung Sip
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW102114206A priority Critical patent/TWI493458B/en
Publication of TW201441930A publication Critical patent/TW201441930A/en
Application granted granted Critical
Publication of TWI493458B publication Critical patent/TWI493458B/en

Links

Description

電腦裝置及其重開機方法Computer device and restart method thereof

本發明是有關於一種電腦裝置及其重開機方法,且特別是有關於一種可自動重開機的電腦裝置及其重開機方法。The invention relates to a computer device and a restarting method thereof, and in particular to a computer device capable of automatically restarting and a restarting method thereof.

近年來,隨著網際網路的快速發展、軟體與硬體的技術提升,使用者對於資訊服務的需求越來越高,雲端技術很快地發展壯大。雲端技術代表了規模龐大的運算能力以及儲存能力,其可在本地端資源有限的情況下,利用網路取得遠方的運算資源、儲存資源或服務。In recent years, with the rapid development of the Internet, the improvement of software and hardware technology, users have more and more demand for information services, and cloud technology has grown rapidly. Cloud technology represents a large computing power and storage capacity, which can use the network to obtain remote computing resources, storage resources or services when the local resources are limited.

舉例來說,宏碁所提供之雲端服務Acer Cloud可讓使用者透過雲端系統,串連使用個人電腦、平板、智慧型手機等產品,讓使用者可以在安全的環境下,在裝置間分享、管理個人使用的各項產品。例如可讓使用者於手機上播放或瀏覽儲存在家中或辦公室的個人電腦中的影音檔案或文件,即使出門在外,仍可享受個人喜愛的影片、音樂及相片,或是即時查詢及瀏覽重要文件。For example, Acer Cloud, a cloud service provided by Acer, allows users to serially use PCs, tablets, smart phones and other products through the cloud system, allowing users to share and manage devices in a secure environment. Various products used by individuals. For example, users can play or browse audio and video files or files stored on their personal computers at home or in the office. Even when they are away from home, they can enjoy their favorite videos, music and photos, or instantly query and browse important documents. .

然由於一般電腦的穩定性並非完美,有時會因軟體或硬 體的缺陷導致電腦出現死當(crash)的情形,通常此時鍵盤或滑鼠等周邊裝置亦失去效用,而須藉由使用者以手動的方式進行重開機,才能使電腦回復正常狀態。但由於使用者在透過雲端服務存取電腦時,往往不會在電腦旁,因而無法對其進行手動重開機,而電腦在死當的狀態下,將會讓使用者無法自遠端對電腦進行存取,因此如何使電腦可自動地重開機而回復至正常的運作狀態,為雲端技術應用所必須克服的問題。However, because the stability of the general computer is not perfect, sometimes it is due to software or hard. The defect of the body causes the computer to crash. Usually, the peripheral device such as the keyboard or the mouse is also ineffective, and the user has to manually restart the computer to return the computer to the normal state. However, because users access the computer through the cloud service, they are often not at the computer, so they cannot be manually rebooted. If the computer is dead, the user will not be able to remotely access the computer. Access, so how to make the computer automatically reboot and return to normal operation, which must be overcome for cloud technology applications.

本發明提供一種電腦裝置及其重開機方法,可有效地在電腦裝置狀態異常時自動進行重開機,以使電腦保持正常的工作狀態,進而避免無法提供雲端服務給使用者的情形發生。The invention provides a computer device and a restarting method thereof, which can automatically restart the computer when the state of the computer device is abnormal, so that the computer maintains a normal working state, thereby avoiding the situation that the cloud service cannot be provided to the user.

本發明的電腦裝置,包括微控制器以及中央處理單元。其中微控制器倒數一計數時間,並於計數時間倒數完畢後對電腦裝置執行重開機。中央處理單元耦接微控制器,用以執行重置程式,重置程式每隔一預設期間重置計數時間,其中預設期間小於計數時間。The computer device of the present invention includes a microcontroller and a central processing unit. The microcontroller counts down the count time and restarts the computer device after the counting time is counted down. The central processing unit is coupled to the microcontroller for executing a reset program, and the reset program resets the counting time every preset period, wherein the preset period is less than the counting time.

在本發明的一實施例中,上述的重置程式為作業系統程式或雲端服務程式,當電腦裝置處於休眠狀態時,作業系統程式或雲端服務程式週期性地每間隔一休眠期間醒來一檢查期間,並於檢查期間重置計數時間。In an embodiment of the invention, the reset program is an operating system program or a cloud service program. When the computer device is in a sleep state, the operating system program or the cloud service program periodically wakes up during a sleep period. During the period, the count time is reset during the check.

在本發明的一實施例中,上述的微控制器包括看門狗計 時器,用以倒數計數時間,當電腦裝置處於休眠狀態時,微控制器每隔預設期間重置計數時間。In an embodiment of the invention, the microcontroller includes a watchdog meter The timer is used to count down the time. When the computer device is in the sleep state, the microcontroller resets the counting time every preset period.

在本發明的一實施例中,上述的重置程式為雲端服務程式,當電腦裝置處於活動狀態時,雲端服務程式每隔預設期間重置計數時間。In an embodiment of the invention, the reset program is a cloud service program, and when the computer device is in an active state, the cloud service program resets the count time every preset period.

在本發明的一實施例中,上述的中央處理單元更接收來自雲端伺服器的資料存取請求,並控制電腦裝置將對應資料存取請求的資料傳送至雲端伺服器。In an embodiment of the invention, the central processing unit further receives a data access request from the cloud server, and controls the computer device to transmit the data corresponding to the data access request to the cloud server.

在本發明的一實施例中,上述的雲端伺服器更執行雲端服務程式,當電腦裝置處於活動狀態時,雲端服務程式每隔預設期間重置計數時間。In an embodiment of the invention, the cloud server further executes a cloud service program, and when the computer device is in an active state, the cloud service program resets the counting time every preset period.

在本發明的一實施例中,其中在電腦裝置開機後,上述重置程式致能微控制器開始進行倒數。In an embodiment of the invention, wherein the reset program enables the microcontroller to begin counting down after the computer device is turned on.

在本發明的一實施例中,其中當中央處理單元接收關機指令時,上述重置程式禁能微控制器所執行的倒數。In an embodiment of the invention, wherein the resetting process disables the reciprocal executed by the microcontroller when the central processing unit receives the shutdown command.

在本發明的一實施例中,上述的微控制器為嵌入式控制器,嵌入式控制器自其通用輸入輸出埠輸出重開機訊號,以控制電腦裝置進行重開機。In an embodiment of the invention, the microcontroller is an embedded controller, and the embedded controller outputs a restart signal from its general-purpose input/output to control the computer device to restart.

本發明的電腦裝置的重開機方法,其中電腦裝置包括微控制器,電腦裝置的重開機方法包括下列步驟。致能微控制器倒數一計數時間。執行一重置程式,重置程式每隔預設期間重置計數時間,其中預設期間小於計數時間。The method for restarting a computer device of the present invention, wherein the computer device comprises a microcontroller, and the method for restarting the computer device comprises the following steps. Enable the microcontroller to count down the countdown time. A reset program is executed, and the reset program resets the count time every preset period, wherein the preset period is less than the count time.

在本發明的一實施例中,上述每隔預設期間重置計數時間的步驟包括下列步驟。判斷電腦裝置所處之狀態。當電腦裝置處於活動狀態時,每隔預設期間重置計數時間,其中重置程式為雲端服務程式。In an embodiment of the invention, the step of resetting the counting time every preset period includes the following steps. Determine the state of the computer device. When the computer device is active, the counting time is reset every preset period, wherein the reset program is a cloud service program.

在本發明的一實施例中,其中當電腦裝置處於休眠狀態時,重置程式週期性地控制電腦裝置每間隔一休眠期間醒來一檢查期間,並於檢查期間重置計數時間,其中上述重置程式為作業系統程式或雲端服務程式。In an embodiment of the invention, when the computer device is in a sleep state, the reset program periodically controls the computer device to wake up during an interval of sleep, and resets the counting time during the check, wherein the weight is The program is a operating system program or a cloud service program.

在本發明的一實施例中,其中當電腦裝置處於休眠狀態時,利用微控制器每隔預設期間重置計數時間。In an embodiment of the invention, when the computer device is in a sleep state, the counting time is reset by the microcontroller every preset period.

在本發明的一實施例中,上述的雲端服務程式儲存於電腦裝置或與電腦裝置相連結的雲端伺服器中。In an embodiment of the invention, the cloud service program is stored in a computer device or a cloud server connected to the computer device.

在本發明的一實施例中,上述電腦裝置的重開機方法,更包括下列步驟。判斷接收到一關機指令。若接收到該關機指令,禁能微控制器所執行的倒數。In an embodiment of the invention, the method for restarting the computer device further includes the following steps. It is judged that a shutdown command is received. If the shutdown command is received, the countdown performed by the microcontroller is disabled.

基於上述,本發明藉由作業系統程式或雲端服務程式來重置微控制器的計數時間,以使電腦裝置在死當時可自動重新開機,進而避免電腦裝置處於無法提供雲端服務給使用者的狀態。Based on the above, the present invention resets the counting time of the microcontroller by the operating system program or the cloud service program, so that the computer device can be automatically restarted when it is dead, thereby preventing the computer device from being in a state incapable of providing the cloud service to the user. .

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

100‧‧‧電腦裝置100‧‧‧ computer equipment

102‧‧‧微控制器102‧‧‧Microcontroller

104‧‧‧中央處理單元104‧‧‧Central Processing Unit

TS‧‧‧休眠期間TS‧‧‧sleep period

TC‧‧‧檢查期間TC‧‧‧ inspection period

S302~S314、S402‧‧‧重開機方法的流程步驟S302~S314, S402‧‧‧Restart process steps

圖1繪示為本發明一實施例之電腦裝置的示意圖。FIG. 1 is a schematic diagram of a computer device according to an embodiment of the invention.

圖2繪示為本發明一實施例之電腦裝置處於休眠狀態時作業系統的運作示意圖。FIG. 2 is a schematic diagram showing the operation of the operating system when the computer device is in a sleep state according to an embodiment of the invention.

圖3繪示為本發明一實施例之電腦裝置的重開機方法的流程示意圖。FIG. 3 is a schematic flow chart of a method for restarting a computer device according to an embodiment of the invention.

圖4繪示為本發明另一實施例之電腦裝置的重開機方法的流程示意圖。FIG. 4 is a schematic flow chart of a method for restarting a computer device according to another embodiment of the present invention.

圖1繪示為本發明一實施例之電腦裝置的示意圖。電腦裝置100包括微控制器102與中央處理單元104,其中微控制器102與中央處理單元104相互耦接。微控制器102用以倒數一計數時間,並於計數時間倒數完畢後對電腦裝置100執行重開機,微控制器102可例如為嵌入式控制器(Embedded Controller,EC),當對電腦裝置102執行重開機時,嵌入式控制器可自其通用輸入輸出埠(General Purpose Input/Output,GPIO)輸出重開機訊號,以重開機電腦裝置100。FIG. 1 is a schematic diagram of a computer device according to an embodiment of the invention. The computer device 100 includes a microcontroller 102 and a central processing unit 104, wherein the microcontroller 102 and the central processing unit 104 are coupled to each other. The microcontroller 102 is configured to count down the count time and perform a reboot on the computer device 100 after the counting time is counted down. The microcontroller 102 can be, for example, an embedded controller (EC), when the computer device 102 is When the reboot is performed, the embedded controller can output a restart signal from its General Purpose Input/Output (GPIO) to restart the computer device 100.

中央處理單元104用以於電腦裝置100開機後執行重置程式致能微控制器102開始進行計數時間的倒數。此外,重置程式亦可重置微控制器102所倒數的計數時間,其重置計數時間的 方式為每隔一預設期間對計數時間進行重置。其中預設期間的時間長度須小於計數時間的時間長度,以避免微控制器102在重置程式重置計數時間前對電腦裝置102執行重開機。此外,當電腦裝置100進行關機時,中央處理單元104依據其所接收到的關機指令透過執行重置程式來禁能微控制器102的倒數,以避免電腦裝置100在關機後因微控制器102倒數計數時間完畢而開啟。The central processing unit 104 is configured to enable the reset program to enable the microcontroller 102 to begin counting the countdown time after the computer device 100 is powered on. In addition, the reset program can also reset the counting time of the countdown of the microcontroller 102, which resets the counting time. The method is to reset the counting time every other preset period. The length of time of the preset period must be less than the length of time of the counting time to prevent the microcontroller 102 from performing a reboot on the computer device 102 before resetting the program reset counting time. In addition, when the computer device 100 is powered off, the central processing unit 104 disables the countdown of the microcontroller 102 by executing a reset program according to the shutdown command it receives, so as to prevent the computer device 100 from being turned off by the microcontroller 102. The countdown time is over and turned on.

如此,當電腦裝置100因軟體或硬體上的錯誤而陷入死當的狀態時,由於中央處理單元104所執行的重置程式無法重置計數時間,因此微控制器102在計數時間倒數完畢後將會執行重開機的動作。在重開機完成後,中央處理單元104便可正常地接收來自雲端伺服器的資料存取請求,並控制電腦裝置100將對應資料存取請求的資料傳送至雲端伺服器,而使遠端的可攜式電子裝置(如手機、平板電腦、筆記型電腦等)得以透過雲端服務(如Acer cloud)取得所需的資料。其中電腦裝置100的死當情形可例如為微軟Windows作業系統在無法從系統錯誤中恢復時所顯示之藍屏當機(Blue Screen of Death,BSoD)的情形,或是其他導致電腦裝置100無法提供雲端服務的情形。Thus, when the computer device 100 is in a dead state due to a software or hardware error, the resetting program executed by the central processing unit 104 cannot reset the counting time, so the microcontroller 102 counts down after the counting time is completed. The action of rebooting will be performed. After the reboot is completed, the central processing unit 104 can normally receive the data access request from the cloud server, and control the computer device 100 to transmit the data corresponding to the data access request to the cloud server, so that the remote end can be Portable electronic devices (such as mobile phones, tablets, notebooks, etc.) can obtain the required information through cloud services such as Acer cloud. The dead situation of the computer device 100 can be, for example, the case of the Blue Screen of Death (BSoD) displayed when the Microsoft Windows operating system cannot recover from the system error, or the other causes the computer device 100 to fail to provide the cloud. The situation of the service.

進一步來說,上述中央處理單元104所執行之重置計數時間的重置程式可例如為作業系統程式亦或是一般應用程式,例如雲端服務程式,在本實施例中雲端服務程式可用以執行重置計數時間。舉例來說,圖2繪示為本發明一實施例之電腦裝置100處於休眠狀態時作業系統的運作示意圖,如圖2所示,當電腦裝 置100處於休眠狀態時,中央處理單元104所執行的重置程式可為作業系統程式或雲端服務程式,中央處理單元104可每隔一段休眠期間TS醒來一段檢查期間TC,並於檢查期間TC內執行作業系統程式或雲端服務程式,以完成重置計數時間的任務。Further, the reset program of the reset count time executed by the central processing unit 104 can be, for example, an operating system program or a general application, such as a cloud service program. In this embodiment, the cloud service program can be used to perform heavy Set the count time. For example, FIG. 2 is a schematic diagram showing the operation of the operating system when the computer device 100 is in a sleep state according to an embodiment of the present invention, as shown in FIG. When the reset 100 is in the sleep state, the reset program executed by the central processing unit 104 may be an operating system program or a cloud service program, and the central processing unit 104 may wake up a check period TC every other period of sleep, and during the check period TC Execute the operating system program or the cloud service program to complete the task of resetting the counting time.

值得注意的是,其中作業系統程式執行重置計數時間的時間間隔仍須短於計數時間,以避免微控制器102在作業系統程式重置計數時間前對電腦裝置102執行重開機。舉例來說,若上述之休眠期間TS為30秒,而檢查期間TC為500毫秒,則計數時間不可短於30秒,為避免上述微控制器102在作業系統程式重置計數時間前對電腦裝置102執行重開機的情形發生,可例如將計數時間設定為休眠期間TS的1.5倍或2倍的時間長度,然不以此為限。It is worth noting that the time interval during which the operating system program executes the reset count time must still be shorter than the count time to prevent the microcontroller 102 from performing a reboot of the computer device 102 before the operating system program resets the counting time. For example, if the sleep period TS is 30 seconds and the check period TC is 500 milliseconds, the count time may not be shorter than 30 seconds, in order to avoid the above-mentioned microcontroller 102 from operating the system program before resetting the counting time to the computer device. The case where the reboot is performed 102 may occur, for example, the counting time is set to be 1.5 times or 2 times the length of the sleep period TS, but not limited thereto.

此外,上述利用作業系統程式重置計數時間的方式可應用於微軟Windows作業系統或Android作業系統等作業系統中,而不會造成額外的成本開銷,舉例來說,其可應用於微軟Windows 8作業系統的連網待機(Connected Standby)模式中。在Windows 8作業系統的連網待機(Connected Standby)模式中,Windows 8作業系統每休眠一段期間後,便會醒來執行預設的任務,例如檢查有無郵件、待印文件、即時訊息等等,待執行完預設的任務後便再度進入休眠。藉由將上述作業系統程式重置計數時間的工作排入Windows 8作業系統所預設的任務,即可在不須增加硬體成本且不額外消耗電源的情形下達到使電腦裝置100處於異常狀態下仍能 自動重新開機的目的。In addition, the above method of resetting the counting time by using the operating system program can be applied to an operating system such as a Microsoft Windows operating system or an Android operating system without incurring additional cost, for example, it can be applied to Microsoft Windows 8 jobs. In the system's Connected Standby mode. In the Connected Standby mode of the Windows 8 operating system, the Windows 8 operating system wakes up to perform scheduled tasks after a period of sleep, such as checking for mail, documents to be printed, instant messages, and so on. After the preset task is executed, it will go to sleep again. By discharging the work of resetting the counting time of the operating system program into the task preset by the Windows 8 operating system, the computer device 100 can be in an abnormal state without increasing the hardware cost and without additionally consuming the power. Still able to The purpose of automatic reboot.

在其他實施例中,若作業系統並不具有類似Windows 8作業系統的連網待機(Connected Standby)模式的設定,在電腦裝置100處於休眠狀態時,亦可由微控制器102來重置微控制器102中的看門狗計時器(watchdog timer)所倒數的計數時間。In other embodiments, if the operating system does not have a Connected Standby mode setting similar to the Windows 8 operating system, the microcontroller 102 can also reset the microcontroller when the computer device 100 is in the sleep state. The countdown time of the countdown of the watchdog timer in 102.

另外,當電腦裝置100處活動狀態(active state)時,則可藉由中央處理單元104執行雲端服務程式的方式來進行計數時間的重置,亦即每隔一預設期間重置計數時間。值得注意的是,在部分實施例中,雲端服務程式亦可儲存於與電腦裝置100連結的雲端伺服器中,並由雲端伺服器來執行。In addition, when the computer device 100 is in an active state, the counting time can be reset by the central processing unit 104 executing the cloud service program, that is, the counting time is reset every other preset period. It should be noted that, in some embodiments, the cloud service program may also be stored in a cloud server connected to the computer device 100 and executed by the cloud server.

圖3繪示為本發明一實施例之電腦裝置的重開機方法的流程示意圖,請參照圖3。歸納上述電腦裝置100的重開機方法可包括下列步驟,首先,於電腦裝置開機後中央處理單元執行作業系統程式或雲端服務程式致能微控制器倒數計數時間(步驟S302)。接著,中央處理單元執行重置程式,以每隔一預設期間重置計數時間(步驟S304),其中預設期間小於計數時間。進一步來說,步驟S304可包括步驟S306~S310。首先,中央處理單元判斷電腦裝置所處之狀態(步驟S306)。當電腦裝置處於活動狀態時,中央處理單元執行雲端服務程式,以每隔預設期間重置計數時間(步驟S308),其中雲端服務程式可儲存於電腦裝置或與電腦裝置相連結的雲端伺服器中。而當電腦裝置處於休眠狀態時,則中央處理單元執行作業系統程式或雲端服務程式週期性地控制電腦裝 置每間隔一休眠期間醒來一檢查期間,並於檢查期間重置計數時間(步驟S310)。其中作業系統程式重置計數時間的時間間隔仍須短於計數時間,以避免微控制器在作業系統程式重置計數時間前對電腦裝置執行重開機。在步驟S308、S310之後,中央處理單元接著判斷是否接收到關機指令(步驟S312),若未接收到關機指令,則回到步驟S306,判斷電腦裝置所處之狀態。相反地,若接收到關機指令,則中央處理單元執行雲端服務程式或作業系統程式禁能微控制器所執行的倒數(步驟S314)。FIG. 3 is a schematic flow chart of a method for restarting a computer device according to an embodiment of the present invention. Please refer to FIG. 3. The method for resuming the above computer device 100 may include the following steps. First, after the computer device is powered on, the central processing unit executes the operating system program or the cloud service program enables the microcontroller to count down the time (step S302). Next, the central processing unit executes a reset program to reset the count time every other preset period (step S304), wherein the preset period is less than the count time. Further, step S304 may include steps S306-S310. First, the central processing unit determines the state in which the computer device is located (step S306). When the computer device is in an active state, the central processing unit executes the cloud service program to reset the counting time every preset period (step S308), wherein the cloud service program can be stored in the computer device or the cloud server connected to the computer device in. When the computer device is in a sleep state, the central processing unit executes the operating system program or the cloud service program to periodically control the computer device. The check period is woken up every sleep period, and the count time is reset during the check (step S310). The time interval for the operating system program to reset the counting time must be shorter than the counting time to prevent the microcontroller from restarting the computer device before the operating system program resets the counting time. After steps S308 and S310, the central processing unit then determines whether a shutdown command has been received (step S312). If the shutdown command has not been received, the process returns to step S306 to determine the state of the computer device. Conversely, if a shutdown command is received, the central processing unit executes a countdown performed by the cloud service program or the operating system program disable microcontroller (step S314).

值得注意的是,圖3為作業系統具有類似Windows 8作業系統的連網待機(Connected Standby)模式的設定之實施例,若作業系統並不具有類似Windows 8作業系統的連網待機(Connected Standby)模式的設定,則電腦裝置的重開機方法的流程可如圖4所示。圖4實施例的重開機方法與圖3的不同之處在於,圖3中的步驟S310在圖4的實施例中改為利用微控制器來執行每隔預設期間重置計數時間的工作(步驟S402),其餘步驟與圖3之實施例相同,因此不再贅述。It should be noted that FIG. 3 is an embodiment in which the operating system has a setting of a Connected Standby mode similar to the Windows 8 operating system, if the operating system does not have a Connected Standby similar to the Windows 8 operating system. The mode setting, the flow of the computer device reboot method can be as shown in FIG. 4. The restarting method of the embodiment of FIG. 4 is different from that of FIG. 3 in that step S310 in FIG. 3 is instead used in the embodiment of FIG. 4 to perform a work of resetting the counting time every preset period by using a microcontroller ( Step S402), the remaining steps are the same as the embodiment of FIG. 3, and therefore will not be described again.

綜上所述,本發明藉由作業系統程式或雲端服務程式來重置微控制器的計數時間,以使電腦裝置在出現死當的情形時可自動重新開機,進而避免電腦裝置處於無法提供雲端服務給使用者的狀態。且由於上述重置計數時間的方式可應用於微軟Windows作業系統或Android作業系統等作業系統中,因此不會增加硬體成本且不會增加額外的電源消耗。In summary, the present invention resets the counting time of the microcontroller by using an operating system program or a cloud service program, so that the computer device can be automatically restarted in the event of a dead situation, thereby preventing the computer device from being unable to provide the cloud. The status of the service to the user. Moreover, since the above manner of resetting the count time can be applied to an operating system such as a Microsoft Windows operating system or an Android operating system, the hardware cost is not increased and additional power consumption is not increased.

S302~S314‧‧‧重開機方法的流程步驟S302~S314‧‧‧Restart process steps

Claims (15)

一種電腦裝置,包括:一微控制器,倒數一計數時間,並於該計數時間倒數完畢後對該電腦裝置執行重開機;以及一中央處理單元,耦接該微控制器,執行一重置程式,該重置程式每隔一預設期間重置該計數時間,其中該預設期間小於該計數時間。A computer device comprising: a microcontroller, counting down a count time, and performing a restart on the computer device after the counting time is counted down; and a central processing unit coupled to the microcontroller to perform a reset a program that resets the count time every preset period, wherein the preset period is less than the count time. 如申請專利範圍第1項所述的電腦裝置,其中該重置程式為一作業系統程式或一雲端服務程式,當該電腦裝置處於休眠狀態時,該作業系統程式或該雲端服務程式週期性地每間隔一休眠期間醒來一檢查期間,並於該檢查期間重置該計數時間。The computer device of claim 1, wherein the reset program is an operating system program or a cloud service program, and when the computer device is in a sleep state, the operating system program or the cloud service program periodically A check period is woken up every interval of sleep, and the count time is reset during the check. 如申請專利範圍第1項所述的電腦裝置,其中該微控制器包括:一看門狗計時器,倒數該計數時間,當該電腦裝置處於休眠狀態時,該微控制器每隔該預設期間重置該計數時間。The computer device of claim 1, wherein the microcontroller comprises: a watchdog timer, counting down the counting time, and when the computer device is in a sleep state, the microcontroller is preset every other time. The count time is reset during the period. 如申請專利範圍第1項所述的電腦裝置,其中該重置程式為一雲端服務程式,當該電腦裝置處於活動狀態時,該雲端服務程式每隔該預設期間重置該計數時間。The computer device of claim 1, wherein the reset program is a cloud service program, and the cloud service program resets the count time every preset period when the computer device is active. 如申請專利範圍第1項所述的電腦裝置,其中該中央處理單元更接收來自一雲端伺服器的一資料存取請求,並控制該電腦裝置將對應該資料存取請求的資料傳送至該雲端伺服器。The computer device according to claim 1, wherein the central processing unit further receives a data access request from a cloud server, and controls the computer device to transmit data corresponding to the data access request to the cloud. server. 如申請專利範圍第5項所述的電腦裝置,其中該雲端伺服 器更執行一雲端服務程式,當該電腦裝置處於活動狀態時,該雲端服務程式每隔該預設期間重置該計數時間。The computer device according to claim 5, wherein the cloud server The device further executes a cloud service program, and when the computer device is active, the cloud service program resets the counting time every preset period. 如申請專利範圍第1項所述的電腦裝置,其中在該電腦裝置開機後,該重置程式致能該微控制器開始進行倒數。The computer device of claim 1, wherein the reset program enables the microcontroller to start counting down after the computer device is turned on. 如申請專利範圍第1項所述的電腦裝置,其中當該中央處理單元接收一關機指令時,該重置程式禁能該微控制器所執行的倒數。The computer device of claim 1, wherein when the central processing unit receives a shutdown command, the reset program disables a countdown performed by the microcontroller. 如申請專利範圍第1項所述的電腦裝置,其中該微控制器為一嵌入式控制器,該嵌入式控制器自其通用輸入輸出埠輸出一重開機訊號,以控制該電腦裝置進行重開機。The computer device according to claim 1, wherein the microcontroller is an embedded controller, and the embedded controller outputs a restart signal from the universal input/output port to control the computer device to restart. 一種電腦裝置的重開機方法,該電腦裝置包括一微控制器,該電腦裝置的重開機方法包括:致能該微控制器倒數一計數時間;以及執行一重置程式,該重置程式每隔一預設期間重置該計數時間,其中該預設期間小於該計數時間。A method for restarting a computer device, the computer device comprising a microcontroller, the method for restarting the computer device includes: enabling the microcontroller to count down a count time; and executing a reset program, the reset program The counting time is reset every other predetermined period, wherein the preset period is less than the counting time. 如申請專利範圍第10項所述的電腦裝置的重開機方法,其中每隔該預設期間重置該計數時間的步驟包括:判斷該電腦裝置所處之狀態;當該電腦裝置處於活動狀態時,每隔該預設期間重置該計數時間,其中該重置程式為一雲端服務程式。The method for restarting a computer device according to claim 10, wherein the step of resetting the counting time every other preset period comprises: determining a state in which the computer device is located; and when the computer device is in an active state The count time is reset every preset period, wherein the reset program is a cloud service program. 如申請專利範圍第11項所述的電腦裝置的重開機方法,其中當該電腦裝置處於休眠狀態時,該重置程式週期性地控制該 電腦裝置每間隔一休眠期間醒來一檢查期間,並於該檢查期間重置該計數時間,其中該重置程式為一作業系統程式或該雲端服務程式。The method for restarting a computer device according to claim 11, wherein the reset program periodically controls the computer device when the computer device is in a sleep state The computer device wakes up during an interval of sleep and resets the counting time during the check, wherein the reset program is an operating system program or the cloud service program. 如申請專利範圍第11項所述的電腦裝置的重開機方法,其中當該電腦裝置處於休眠狀態時,利用該微控制器每隔該預設期間重置該計數時間。The method for restarting a computer device according to claim 11, wherein when the computer device is in a sleep state, the counting time is reset by the microcontroller every predetermined period. 如申請專利範圍第11項所述的電腦裝置的重開機方法,其中該雲端服務程式儲存於該電腦裝置或與該電腦裝置相連結的一雲端伺服器中。The method for restarting a computer device according to claim 11, wherein the cloud service program is stored in the computer device or a cloud server connected to the computer device. 如申請專利範圍第10項所述的電腦裝置的重開機方法,更包括:判斷是否接收到一關機指令;以及若接收到該關機指令,禁能該微控制器所執行的倒數。The method for restarting a computer device according to claim 10, further comprising: determining whether a shutdown command is received; and if the shutdown command is received, disabling the reciprocal executed by the microcontroller.
TW102114206A 2013-04-22 2013-04-22 Computer apparatus and reboot method thereof TWI493458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102114206A TWI493458B (en) 2013-04-22 2013-04-22 Computer apparatus and reboot method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102114206A TWI493458B (en) 2013-04-22 2013-04-22 Computer apparatus and reboot method thereof

Publications (2)

Publication Number Publication Date
TW201441930A TW201441930A (en) 2014-11-01
TWI493458B true TWI493458B (en) 2015-07-21

Family

ID=52422946

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102114206A TWI493458B (en) 2013-04-22 2013-04-22 Computer apparatus and reboot method thereof

Country Status (1)

Country Link
TW (1) TWI493458B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10404559B2 (en) 2015-07-17 2019-09-03 Dataprobe Inc. Apparatus and system for automatically rebooting an electronically powered device via power over ethernet
US10846160B2 (en) 2018-01-12 2020-11-24 Quanta Computer Inc. System and method for remote system recovery
TWI803307B (en) * 2022-05-03 2023-05-21 新唐科技股份有限公司 Interrupt handling device, method and computer system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201209718A (en) * 2010-08-30 2012-03-01 Mediatek Inc Apparatus for performing timer management and associated method
US20120124362A1 (en) * 2010-02-01 2012-05-17 Xiaoyong Deng Apparatus and method for recording reboot reason of equipment
TW201222245A (en) * 2010-11-29 2012-06-01 Inventec Corp Computer apparatus and monitoring method
US20120297181A1 (en) * 2011-05-20 2012-11-22 Citrix Systems, Inc Persisting a Provisioned Machine on a Client Across Client Machine Reboot

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120124362A1 (en) * 2010-02-01 2012-05-17 Xiaoyong Deng Apparatus and method for recording reboot reason of equipment
TW201209718A (en) * 2010-08-30 2012-03-01 Mediatek Inc Apparatus for performing timer management and associated method
TW201222245A (en) * 2010-11-29 2012-06-01 Inventec Corp Computer apparatus and monitoring method
US20120297181A1 (en) * 2011-05-20 2012-11-22 Citrix Systems, Inc Persisting a Provisioned Machine on a Client Across Client Machine Reboot

Also Published As

Publication number Publication date
TW201441930A (en) 2014-11-01

Similar Documents

Publication Publication Date Title
US10007505B2 (en) Initiating update operations
US9501291B2 (en) Method and system for providing hybrid-shutdown and fast startup processes
US20180113764A1 (en) Hypervisor Based Watchdog Timer
US9367446B2 (en) Computer system and data recovery method for a computer system having an embedded controller
CN103221919A (en) Method of provisioning firmware in an operating system (OS) absent services environment
US8578182B2 (en) Power lock-up setting method performed by baseboard management controller and electronic apparatus using the same
EP3186742B1 (en) System and method for improved security for a processor in a portable computing device (pcd)
US9563435B2 (en) Information processing system, information processing apparatus and start up control method
US10069988B2 (en) Image forming apparatus, computer readable recording medium stored with computer program for controlling image forming apparatus, and method for controlling image forming apparatus
US20210141438A1 (en) Systems, apparatus, and methods for transitioning between multiple operating states
TWI493458B (en) Computer apparatus and reboot method thereof
US9582069B2 (en) Electronic apparatus and wake-up method thereof
US9672048B2 (en) Electronic device and method for waking up operating system thereof
US20180059640A1 (en) Techniques for event driven scheduling in a welding or cutting system
TWI461905B (en) Computing device capable of remote crash recovery, method for remote crash recovery of computing device, and computer readable medium
CN104142832A (en) Computer and rebooting method thereof
WO2020113469A1 (en) Power on self test method, power on self test device and mobile terminal
TWI489260B (en) Stand-by management method and related management module and computer system
CN117806721B (en) Fault diagnosis drive loading method and device, electronic equipment and storage medium
US10887835B2 (en) Reducing power consumption among multiple user devices
CN107728839B (en) Screen freezing monitoring solution method, mobile terminal and computer readable storage medium
TWI706645B (en) Remote wake-up method and remote wake-up system
CN117806721A (en) Fault diagnosis drive loading method and device, electronic equipment and storage medium
TWI479316B (en) System and method for recovery data of cmos
JP2015011367A (en) Portable information terminal, portable information terminal set, program, and computer system