TW201133339A - Electronic device and starting up method thereof - Google Patents

Electronic device and starting up method thereof Download PDF

Info

Publication number
TW201133339A
TW201133339A TW99107553A TW99107553A TW201133339A TW 201133339 A TW201133339 A TW 201133339A TW 99107553 A TW99107553 A TW 99107553A TW 99107553 A TW99107553 A TW 99107553A TW 201133339 A TW201133339 A TW 201133339A
Authority
TW
Taiwan
Prior art keywords
electronic device
dynamic random
random memory
electronic
standby
Prior art date
Application number
TW99107553A
Other languages
Chinese (zh)
Inventor
Kuo-Shu Hung
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 TW99107553A priority Critical patent/TW201133339A/en
Publication of TW201133339A publication Critical patent/TW201133339A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

An electronic device including a watch dog enters a standby mode by receiving a standby instruction. The electronic device includes a boot loader to boot up the electronic device after the electronic device receives a startup instruction. The booted electronic device starts the watch dog to time a preset period, starts up by a fast mode, and determines if the watch dog times out. The electronic device starts up by a normal mode upon the condition that the electronic device cannot start up by the fast mode before the watch dog times out. A start up method of the electronic device is also provided.

Description

201133339 六 [0001] [0002] Ο 〇 [0003] [0004] 發明說明: 【發明所屬之技術領域】 本發明涉及電子裝置,尤其涉及一種電子裝置的快速啟 動方法。 【先前技術】 電子裝置正常關機時,一般會將系統所有硬體的電源切 斷,這樣,系統的記憶體中的資料都會丟失,在下次啟 動時,電子裝置需要重新裝載資料,致使開機時間較長 。目前,為了下次開機時速度更快’電子裝置一般不會 採用正常關機,而是進入待機(standby)狀態。進入待 機狀態的電子裝置一般會將中央處理器中的資料複製到 動態隨機記憶體中,並使動態隨機記憶體進入省電狀態 運行,在下次開機時再將這些資料還原到中央處理器。 由於處於省電狀態的動態隨機記憶體耗電量很小,一般 為8-10毫安,且又能大大提升開機速度,因此,這種技 術得到了快速的普及。 然而,由於靜電、雷電等不可預知的因素可能會破壞這 些存儲在動態隨機記憶體中的資料,致使電子裝置在% 入待機狀態後,再次開機時卻啟動不了。因此,需要提 供一種系統克服這種可能存在的隱患。 【發明内容】 有鑒於此,需提供一種電子裝置,能夠在其快迷啟動不 能正常完成時仍能啟動。 另外,還需提供一種啟動方法,能夠使電子裝置在快速^ 啟動不能正常完成時仍能啟動。 099107553 表單編號A0101 第3頁/共15頁 〇992〇13613^〇 [0005] 201133339 [0006] [0007] [0008] 本發明實施方式中的電子裝置,包括微控制單元、非易 失性隨機訪問記憶體、動態隨機記憶體及中央處理器。 非易失性隨機訪問記憶體中存儲有啟動載入程式,用於 在微控制單元接收到啟動指令後引導系統啟動。電子裝 置更包括電子狗、待機模組、控制模組及啟動模組。待 機模組在接收到待機指令後控制電子裝置進入待機狀態 。控制模組在啟動載入程式引導系統啟動後啟動電子狗 在預設週期内進行計時。啟動模組在啟動載入程式引導 系統啟動後快速啟動電子裝置,並判斷電子狗是否超時 。控制模組在快速啟動未完成但電子狗已超時的情況下 ’按照正常方式啟動電子裝置。動態隨機記憶體存儲上 述待機模組、控制模組以及啟動模組,中央處理器執行 上述模組以實現其功能。 本發明實施方式中的啟動方法用於電子裝置中。電子穿 置包括微控制單元、非易失性隨機訪問記憶體及電子狗 。非易失性隨機訪問記憶體中存儲有啟動载入程式。该 方法包括:接收到待機指令後控制電子裝置進入待機狀 態;微控制單元接收到啟動指令;啟動載入程式弓丨導系 統啟動;啟動電子狗在一預設週期内進行計時;快速啟 動電子裝置;判斷在未完成快速啟動電子裝置時電子狗 是否超時;及若快迷啟動未完成但電子狗已超時,則按 正常方式啟動電子裝置。 藉由以下對具體實施方式詳細的描述並結合附圖,將可 輕易的瞭解上述内容及此項發明之技術效果。 【實施方式】 099107553 表單編號A0101 第4頁/共15頁 0992013613-0 201133339 [0009]圖1為本發明—實施方式的電子裝置1〇的結構示意圖。電 子裝置10可為機頂盒、個人電腦等。在本實施方式中, 電子裝置10包括啟動介面102、微控制單元(Mi croBACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device, and more particularly to a quick start method of an electronic device. [Prior Art] When the electronic device is normally shut down, the power of all the hardware of the system will be cut off. In this way, the data in the memory of the system will be lost. At the next startup, the electronic device needs to reload the data, resulting in a longer boot time. long. At present, in order to be faster at the next boot, the electronic device generally does not adopt a normal shutdown, but enters a standby state. The electronic device that enters the standby state generally copies the data in the central processing unit into the dynamic random memory, and causes the dynamic random memory to enter the power saving state, and then restores the data to the central processing unit at the next power-on. Since the dynamic random memory in the power-saving state has a small power consumption, generally 8-10 mA, and can greatly increase the booting speed, this technology has been rapidly popularized. However, unpredictable factors such as static electricity and lightning may damage the data stored in the dynamic random memory, causing the electronic device to start up after being turned on again after the % is in the standby state. Therefore, there is a need to provide a system to overcome this potential hazard. SUMMARY OF THE INVENTION In view of the above, it is desirable to provide an electronic device that can be activated even when its startup cannot be completed normally. In addition, a startup method is required to enable the electronic device to be activated even when the quick start cannot be completed normally. 099107553 Form No. A0101 Page 3 of 15 〇992〇13613^〇[0005] 201133339 [0007] [0008] [0008] The electronic device in the embodiment of the present invention includes a micro control unit, non-volatile random access Memory, dynamic random memory and central processing unit. A non-volatile random access memory stores a boot loader for booting the system after the micro control unit receives the boot command. The electronic device further includes an electronic dog, a standby module, a control module and a startup module. The standby module controls the electronic device to enter a standby state after receiving the standby command. The control module starts the electronic dog to start timing within a preset period after the boot loader boot system is started. The boot module quickly starts the electronic device after the boot loader boot system is started, and determines whether the electronic dog has timed out. The control module activates the electronic device in the normal manner if the quick start is not completed but the electronic dog has timed out. The dynamic random memory stores the standby module, the control module, and the startup module, and the central processing unit executes the above modules to realize its functions. The startup method in the embodiment of the present invention is used in an electronic device. Electronic insertion includes a micro control unit, non-volatile random access memory, and an electronic dog. A boot loader is stored in the non-volatile random access memory. The method includes: controlling the electronic device to enter a standby state after receiving the standby command; receiving the startup command by the micro control unit; starting the loading program to start the system; starting the electronic dog to perform timing within a preset period; and quickly starting the electronic device Determining whether the electronic dog has timed out when the quick start electronic device is not completed; and if the quick start is not completed but the electronic dog has timed out, the electronic device is activated in the normal manner. The above and the technical effects of the invention can be easily understood from the following detailed description of the embodiments and the accompanying drawings. [Embodiment] 099107553 Form No. A0101 Page 4 of 15 0992013613-0 201133339 [0009] FIG. 1 is a schematic structural view of an electronic device 1A according to an embodiment of the present invention. The electronic device 10 can be a set top box, a personal computer or the like. In this embodiment, the electronic device 10 includes a startup interface 102 and a micro control unit (Mi cro

Contfol Unit ’ MCU) 100、非易失性隨機訪問記憶體 (Non-Volatile Random Access Memory » NVRAM) 110、動態隨機記憶體(DRAM) 130、中央處理器(CPU )140、電子狗(Watch Dog) 150以及特定用途處理器 160 ° [〇〇1〇] 啟動"面為電子裝置ίο提供啟動指令收發介面。如對 於採用紅外遙控的機頂盒等電子裝置,啟動介面1〇2可為 紅外線接收端,用於接收外界的紅外線遙控啟動指令。 又如採用按鈕啟動的個人電腦等電子裝置,啟動介面102 可為該用於啟動的按鈕,接收外界的啟動指令。微控制 單元100連接於啟動介面102,用於控制啟動介面102偵 測啟動指令。非易失性隨機訪問記憶體11〇中存儲有啟動 載入程式(Boot loader) 112,肖於在微控制單元1〇〇 〇 偵測到外界的啟動指令後引導系統啟動。特定用途處理 器160用於完成電子裝置1〇的特定功能,如視頻、音頻編 解碼功能。 [0011] 在本實施方式中,電子裝置1〇更包括待機模組170、啟動 模組172及控制模組174。上述模組17〇_174是存儲於動 態隨機記憶體130中的可執行程式,藉由中央處理器14〇 的執行來完成其各自的功能,其具體的功能請參閱圖2與 圖3的詳細描述。 [0012] 圖2為圖1中電子裝置10接收到待機指令後進入待機狀態 099107553 表單編號A0101 第5頁/共15頁 0992013613-0 201133339 (Standby Mode)的流程圖β在本實施方式中,該流程 主要藉由圖1電子裝置10中的待機模組17〇完成。 [0013] [0014] [0015] [0016] 在步驟S200,待機模組170偵測到待機指令。在步驟 S202,待機模組170關閉特定用途處理器16〇。在步驟 S204,待機模組170關閉中央處理器14〇的時脈頻率並將 原本存儲在動態隨機記憶體13〇中的待機指令存入緩衝器 142 中。 在步驟S206,待機模組170將中央處理器14〇的暫存器内 的暫存資料134及指令的當前執行位置(Pr〇gram Counter) 136寫入動態隨機記憶體13〇中。此時,動態 隨機記憶體130中就存儲了暫存資料134及執行位置136 。在中央處理器140中的資料都寫入動態遍機記憶體丨3〇 後,在步驟S208,待機模組170在動態隨機記憶體13〇中 寫入標誌符132,用於表示關機時已經存儲了中央處理器 140中的資料,在下次開機時可以進行快速啟動。 在步驟S210,待機模組17〇使聲態隨機記憶體13〇進入自 我更新杈式(Self-refresh Mode)。在步驟S212,待 機模組1 70關閉除動態隨機記憶體丨3〇及微控制單元丨〇〇 之外的系統電源,電子裝置10處於待機狀態。此時,電 子裝置10中僅有動態隨機記憶體13〇及微控制單元丨〇〇處 於供電狀態,而且,處於自我更新模式的動態隨機記憶 體130的耗電量由一般正常模式下的35〇毫安降到 毫安,從而大大降低了系統的耗電量。 圖3為圖i中電子裝置1()啟動時的流程圖。在本實施方式 099107553 表單編號A0101 第6頁/共15頁 0992013613-0 201133339 [0017] Ο [0018] [0019] ❹ 中’該流程主要藉由圖1電子裝㈣中的啟動模組172斑 控制模組mu。此時,電子|置贈僅有動^ 憶體130及微控制單元1〇〇處於供電狀態。 機5己 在步驟s· ’難财仙㈣咖㈣介叫 動指令。在步驟咖2,非易失性隨機訪問記憶體110中啟的 啟動載入程式112料系錢動。在㈣咖3 m使動態隨機記憶體咖結束自我更新模式而處^ 且 工作模式,並在步驟S304,判斷處於正常工作模式常 動態隨機記憶體130中是否存儲有標钱符132。 的 若動態隨機記憶體m中未細雜符132 置丨〇上次是進行了正常關機操作,並未備份中央處理子: 7中的資料’不可以進行快速啟動,則在步驟 動模組172按正常方式啟動電子裝置1〇。 啟 若動態隨機記憶體130中存儲有標誌 m - Λ 况明電+肚 次是進行了待機操作,已備份了中央處理艸 的貝料’可以進行快速啟動。此時,在步驟 0中 =74啟動電子狗15°以_。電子狗⑸的= :期是預先設定的’取決於電子裝置1〇快速啟動所需: 長’ -般情況下要略長於該快速啟動的時長如快速 叫所需的時長為10秒’則電子狗15Q的計時週期可為12 ,步驟S3G8,啟動模組172從動態隨機記憶體13G中讀取 =機時寫入的暫存資料134及執行位置136並恢復到中央 處理器14G ’並在步驟S31Q,判斷中央處理器⑽的恢復 099107553 编衆A0101 第7頁/共15頁 0992013613-0 [0020] 201133339 過程中電子狗150是否超時。 [0021] [0022] [0023] [0024] [0025] [0026] [0027] 099107553 若在中央處理器140的恢復過程中電子狗15〇已超時,說 明動態隨機記憶體130中寫入的暫存資料134及執行位置 136等資料有損壞,導致不能正常的快速啟動,則在步驟 S305,啟動模組172按正常方式啟動電子裝置1〇。 若在中央處理器140的資料都正常恢復後,電子狗15〇仍 未超時’說明電子裝置10已經進行了快速啟動,則在步 驟S312 ’控制模組174關閉電子狗150,並在步驟S314, 啟動模組172初始化特定用途處理器160以完成啟動。 本發明實施方式所提供的電子裝置10及其啟動方法,因 為使用了電子狗150來檢測電子裝置10的快速啟動是否按 時完成,從而使得電子裝置10在待機時傣份到動態隨機 記憶體130中的資料受到破壞時能夠按正常啟動方式進行 啟動,從而避免了快速啟動可能存在的隱患,使得快速 啟動更可靠。 綜上所述’本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅為本發明之較佳實施例,舉凡 熟悉本案技藝之人士,在爱依本案發明精神所作之等效 修飾或變化’皆應包含於以下之申請專利範圍内。 【圖式簡單說明】 圖1為本發明一實施方式的電子裝置的結構示意圖。 圖2為本發明一實施方式的圖1中的電子裝置進入待機狀 態時的流程圖。 圖3為本發明一實施方式的圖1中的電子裝置啟動時的流 表單編號A0101 第8頁/共15頁 099 201133339 程圖。Contfol Unit 'MCU) 100, Non-Volatile Random Access Memory (NVRAM) 110, Dynamic Random Memory (DRAM) 130, Central Processing Unit (CPU) 140, Electronic Dog (Watch Dog) 150 and the special purpose processor 160 ° [〇〇1〇] start " face for the electronic device ίο provides a start command transceiver interface. For an electronic device such as a set top box using an infrared remote control, the activation interface 1〇2 can be an infrared receiving end for receiving an infrared remote start command from the outside. Another example is an electronic device such as a personal computer that is activated by a button. The activation interface 102 can be a button for activation and receives an external activation command. The micro-control unit 100 is coupled to the boot interface 102 for controlling the boot interface 102 to detect a boot command. The non-volatile random access memory 11 存储 stores a boot loader 112, which is used to boot the system after the micro control unit 1 侦测 detects an external boot command. The special purpose processor 160 is used to perform specific functions of the electronic device 1, such as video and audio encoding and decoding functions. [0011] In the embodiment, the electronic device 1 further includes a standby module 170, a startup module 172, and a control module 174. The above-mentioned modules 17〇-174 are executable programs stored in the dynamic random memory 130, and their respective functions are completed by the execution of the central processing unit 14,. For the specific functions, please refer to the details of FIG. 2 and FIG. 3 . description. 2 is a flow chart of the electronic device 10 of FIG. 1 after entering the standby state 099107553, form number A0101, page 5 / page 15 0992013613-0 201133339 (Standby Mode), in the present embodiment, The process is mainly completed by the standby module 17 in the electronic device 10 of FIG. [0016] [0016] In step S200, the standby module 170 detects a standby instruction. In step S202, the standby module 170 turns off the special purpose processor 16A. In step S204, the standby module 170 turns off the clock frequency of the central processing unit 14 and stores the standby command originally stored in the dynamic random memory 13A into the buffer 142. In step S206, the standby module 170 writes the temporary storage data 134 in the register of the central processing unit 14 and the current execution position (Pr〇gram Counter) 136 of the command into the dynamic random memory 13A. At this time, the temporary storage data 134 and the execution position 136 are stored in the dynamic random memory 130. After the data in the central processing unit 140 is written into the dynamic internal memory ,3〇, in step S208, the standby module 170 writes an identifier 132 in the dynamic random memory 13A for indicating that the data has been stored at the time of shutdown. The data in the central processing unit 140 can be quickly started at the next power-on. In step S210, the standby module 17 causes the acoustic random memory 13 to enter the Self-refresh Mode. In step S212, the standby module 1 70 turns off the system power supply except the dynamic random memory 丨3〇 and the micro control unit ,, and the electronic device 10 is in the standby state. At this time, only the dynamic random memory 13〇 and the micro control unit 电子 are in the power supply state in the electronic device 10, and the power consumption of the dynamic random memory 130 in the self-updating mode is 35〇 in the normal mode. The mA is reduced to mA, which greatly reduces the system's power consumption. FIG. 3 is a flow chart of the electronic device 1 () in FIG. In the present embodiment, 099107553, form number A0101, page 6 / total 15 pages, 0992013613-0, 201133339 [0017] 00 [0019] ❹ 中 'This process is mainly controlled by the startup module 172 in the electronic device (4) of FIG. Module mu. At this time, the electronic | gift only the memory unit 130 and the micro control unit 1 are in a power supply state. Machine 5 has been in the step s· ‘Difficult to be lucky (four) coffee (four) to call the instruction. In step 2, the boot loader 112 initiated in the non-volatile random access memory 110 is expected to be mobile. The (4) coffee 3 m causes the dynamic random memory to end the self-updating mode and operates in the mode, and in step S304, it is judged whether or not the standard character 132 is stored in the normal operating mode constant random random memory 130. If the dynamic random memory m does not have a fine symbol 132, the last time the normal shutdown operation was performed, the central processing unit was not backed up: the data in 7 'can not be quickly started, then the stepping module 172 The electronic device 1 is activated in the normal manner. If the dynamic random memory 130 stores a flag m - Λ, the power is + standby, and the standby operation has been performed, and the material of the central processing unit has been backed up. At this time, in step 0, =74 starts the electronic dog 15° to _. The electronic dog (5) = : period is preset 'depends on the electronic device 1 〇 fast start required: long ' - in general, it is slightly longer than the length of the quick start, such as the time required for fast call is 10 seconds' The timing period of the electronic dog 15Q can be 12, in step S3G8, the startup module 172 reads the temporary storage data 134 and the execution location 136 written from the dynamic random memory 13G and returns to the central processing unit 14G' and Step S31Q, judge the recovery of the central processing unit (10) 099107553 Editor A0101 Page 7 / Total 15 page 0992013613-0 [0020] 201133339 Whether the electronic dog 150 times out during the process. [0027] [0027] [0027] 099107553 If the electronic dog 15 has timed out during the recovery process of the central processing unit 140, the description is written in the dynamic random memory 130. If the data such as the temporary storage data 134 and the execution location 136 are damaged, resulting in a failure to start normally, the startup module 172 activates the electronic device 1 in the normal manner in step S305. If the electronic dog 15 has not timed out after the data of the central processing unit 140 is normally restored, indicating that the electronic device 10 has performed a quick start, the control module 174 turns off the electronic dog 150 in step S312, and in step S314. The boot module 172 initializes the special purpose processor 160 to complete the boot. The electronic device 10 and the method for starting the same according to the embodiments of the present invention use the electronic dog 150 to detect whether the quick start of the electronic device 10 is completed on time, so that the electronic device 10 is switched to the dynamic random memory 130 during standby. When the data in the data is damaged, it can be started in the normal startup mode, thereby avoiding the hidden dangers of the quick start and making the quick start more reliable. In summary, the invention conforms to the patent requirements of the invention, and the patent application is filed according to law. However, the above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art of the present invention should be included in the following claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural view of an electronic device according to an embodiment of the present invention. Fig. 2 is a flow chart showing the electronic device of Fig. 1 entering a standby state according to an embodiment of the present invention. FIG. 3 is a flow chart form number A0101 at the startup of the electronic device of FIG. 1 according to an embodiment of the present invention. FIG. 8 is a total of 15 pages.

【主要元件符號說明】 [0028] 電子裝置 10 [0029] 啟動介面 102 [0030] 微控制單元 100 [0031] 非易失性隨機訪問記憶體 110 [0032] 啟動載入程式 112 [0033] 動態隨機記憶體 130 [0034] 標誌符 132 [0035] 暫存資料 134 [0036] 執行位置 136 [0037] 中央處理器 140 [0038] 缓衝器 142 [0039] 電子狗 150 [0040] 特定用途處理器 160 [0041] 待機模組 170 [0042] 啟動模組 172 [0043] 控制模組 174 099107553 表單編號A0101 第9頁/共15頁 0992013613-0[Main Component Symbol Description] [0028] Electronic Device 10 [0029] Start Interface 102 [0030] Micro Control Unit 100 [0031] Non-Volatile Random Access Memory 110 [0032] Boot Loader 112 [0033] Dynamic Random Memory 130 [0034] identifier 132 [0035] temporary data 134 [0036] execution location 136 [0037] central processor 140 [0038] buffer 142 [0039] electronic dog 150 [0040] specific purpose processor 160 [0041] Standby module 170 [0042] Startup module 172 [0043] Control module 174 099107553 Form number A0101 Page 9 / Total 15 page 0992013613-0

Claims (1)

201133339 七 2 申請專利範圍: .一種電子裝置,包括微控制單-^ 、非易失性隨機訪問記憶 體、動態隨機記憶體及中央處理哭 益,该非易失性隨機訪問 記憶體中存儲有啟動載入程式,用於在该微控制單元接收 到啟動指令㈣㈣統啟動,Μ子U更包括: 電子狗,用於在預設週期内進行計時. 待機模組,用於在接收到待機指令後控制该電子裝置進 入待機狀態; 控制模組,用於在该啟動载入程式引導系統啟動後,啟動 该電子狗; 啟動模組,用於在该啟動载入程式引導系統啟動後,快速 啟動该電子裝置,同時判斷该電子狗是否超時,並在快速 啟動未完成但電子狗已超時的情況下,按照正 该電子裝置; 其中’该動錢機記憶體用於存储上述待機模組、控制模 組以及啟動模組,该中央處理器用於執行上述模組以實現 其功能。 •如申請專利範圍第1項所述之電子裝置,其中,该控制模 、旦還用於在该電子裝置快迷啟動完成錢電子狗仍未超時 的情況下,關閉该電子狗。 .如申請專利範圍第1項所述之電子裝置,其中,该待機模 組還用於關閉该中央處理器的時脈頻率並將待機指令存入 缓㈣’將该中央處理器中的暫存資料及指令的執行位置 寫入该動態隨機記憶體,同時在该動態隨機記憶體中寫入 標言志符,使该動態隨機記憶體進入自我更新模式,關閉除 099107553 表單编號Α0101 第〗0頁/共15頁 0992013613-0 201133339 该動態隨機記憶體及该微控制單元之外的系統電源,以使 该電子裝置處於待機狀態。 .如申請專利範圍第3項所述之電子裝置,其中,该啟動模 組還用於使该動態隨機記憶體結束自我更新模式,並在该 動態隨機記憶體中存儲有该標誌符時,將该動態隨機記憶 體中的暫存資料及執行位置恢復到该中央處理器,以完成 快速啟動。 5 G G 099107553 .如申請專利範圍第4項所述之電子裝置,其中,该啟動模 組還用於在该動態隨機記憶體中未存儲该標誌符時,按正 常方式啟動该電子裝置。 .一種電子裝置的啟動方法,该電子裝置包括微控制單元、 非易失性隨機訪問記憶體、中央處理器及電子狗,该非易 失性隨機訪問記憶體中存儲有啟動載入程式,该方法包括 接收到待機指令後,控制该電子裝置進入待機狀態; 该微控制單元接收到啟動指令;Γ 该啟動載入程式引導系統啟動; 啟動该電子狗在預設週期内進行計時; 快速啟動该電子裝置; 判斷在未完成快速啟動该電子裝置時,该電子狗是否超時 ;及 若快速啟動未完成但電子狗已超時,則按正常方式啟動该 電子裝置。 •如申請專利範圍第6項所述之方法,更包括:若该電子裝 置快速啟動完成後该電子狗仍未超時,則關閉该電子狗。 .如申請專利範圍第6項所述之方法,其中,该控制電子裝 表單編號A0101 第11頁/共15真 0992013613-0 201133339 置進入待機狀態的步驟包括: 關閉该中央處理器的時脈頻率並將待機指令存入緩衝器; 將该中央處理器的暫存器中的暫存資料及指令的執行位置 寫入该動態隨機記憶體; 在该動態隨機記憶體中寫入標誌符; . 使该動態隨機記憶體進入自我更新模式;及 關閉除该動態隨機記憶體及该微控制單元之外的系統電源 ,以使该電子裝置處於待機狀態。 9 .如申請專利範圍第8項所述之方法,其中,该快速啟動電 Γ.1 子裝置的步驟包括: 使该動態隨機記憶體結束自我更新模式; 判斷该動態隨機記憶體中是否存儲有该標誌符;及 若该動態隨機記憶體中存儲有该標誌符,則將该動態隨機 記憶體中的暫存資料及執行位置恢復到该中央處理器,以 完成快速啟動。 10 .如申請專利範圍第9項所述之方法,更包括:若该動態隨 機記憶體中未存儲该標誌符,則按正常方式啟動该電子裝 U 置。 099107553 表單編號A0101 第12頁/共15頁 0992013613-0201133339 VII 2 Patent Application Range: An electronic device, including micro-control single-^, non-volatile random access memory, dynamic random memory and central processing crying, which is stored in the non-volatile random access memory The boot loader is configured to receive a start command (4) (4) in the micro control unit, and the slave U further includes: an electronic dog for timing in a preset period. The standby module is configured to receive a standby command. Controlling the electronic device to enter a standby state; the control module is configured to start the electronic dog after the boot loader boot system is started; and the boot module is configured to quickly start after the boot loader boot system is started The electronic device simultaneously determines whether the electronic dog has timed out, and in the case that the quick start is not completed but the electronic dog has timed out, according to the electronic device; wherein the 'money machine memory is used to store the standby module The control module and the startup module are used to execute the above modules to realize their functions. The electronic device of claim 1, wherein the control module is further configured to shut down the electronic dog if the electronic device does not time out. The electronic device of claim 1, wherein the standby module is further configured to turn off the clock frequency of the central processing unit and store the standby command in a slow (four) 'storage in the central processing unit. The execution position of the data and the instruction is written into the dynamic random memory, and the speech message is written in the dynamic random memory, so that the dynamic random memory enters the self-updating mode, and the deletion is 099107553. The form number Α 0101 is "0". Page / Total 15 pages 0992013613-0 201133339 The dynamic random memory and the system power supply outside the micro control unit to put the electronic device in a standby state. The electronic device of claim 3, wherein the activation module is further configured to cause the dynamic random memory to end the self-updating mode, and when the identifier is stored in the dynamic random memory, The temporary data and the execution location in the dynamic random memory are restored to the central processor to complete the fast boot. 5 G G 099107553. The electronic device of claim 4, wherein the activation module is further configured to activate the electronic device in a normal manner when the identifier is not stored in the dynamic random memory. A method for starting an electronic device, comprising: a micro control unit, a non-volatile random access memory, a central processing unit, and an electronic dog, wherein the non-volatile random access memory stores a boot loader, The method includes: after receiving the standby instruction, controlling the electronic device to enter a standby state; the micro control unit receives a startup command; Γ the startup load program guides the system to start; starts the electronic dog to perform timing within a preset period; The electronic device determines whether the electronic dog times out when the electronic device is not successfully started; and if the quick start is not completed but the electronic dog has timed out, the electronic device is activated in a normal manner. • The method of claim 6, further comprising: if the electronic dog has not timed out after the electronic device is quickly started, the electronic dog is turned off. The method of claim 6, wherein the control electronic device form number A0101 page 11 / total 15 true 0992013613-0 201133339 steps to enter the standby state include: turning off the clock frequency of the central processing unit And storing the standby instruction in the buffer; writing the temporary storage data and the execution position of the instruction in the register of the central processing unit to the dynamic random memory; writing the identifier in the dynamic random memory; The dynamic random memory enters a self-updating mode; and the system power supply except the dynamic random memory and the micro control unit is turned off to put the electronic device in a standby state. 9. The method of claim 8, wherein the step of quickly starting the electrical device.1 sub-device comprises: causing the dynamic random memory to end the self-updating mode; determining whether the dynamic random memory is stored The identifier; and if the identifier is stored in the dynamic random memory, the temporary storage data and the execution location in the dynamic random memory are restored to the central processor to complete the quick start. 10. The method of claim 9, further comprising: if the identifier is not stored in the dynamic random memory, the electronic device is activated in a normal manner. 099107553 Form No. A0101 Page 12 of 15 0992013613-0
TW99107553A 2010-03-16 2010-03-16 Electronic device and starting up method thereof TW201133339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99107553A TW201133339A (en) 2010-03-16 2010-03-16 Electronic device and starting up method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99107553A TW201133339A (en) 2010-03-16 2010-03-16 Electronic device and starting up method thereof

Publications (1)

Publication Number Publication Date
TW201133339A true TW201133339A (en) 2011-10-01

Family

ID=46751174

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99107553A TW201133339A (en) 2010-03-16 2010-03-16 Electronic device and starting up method thereof

Country Status (1)

Country Link
TW (1) TW201133339A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076902A (en) * 2013-03-29 2014-10-01 纬创资通股份有限公司 Electronic device and power management method thereof
US11581029B2 (en) * 2015-08-31 2023-02-14 Longitude Elash Memory Solutions Ltd Low standby power with fast turn on method for non-volatile memory devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076902A (en) * 2013-03-29 2014-10-01 纬创资通股份有限公司 Electronic device and power management method thereof
US20140298059A1 (en) * 2013-03-29 2014-10-02 Wistron Corporation Electronic apparatus and associated power management method
US11581029B2 (en) * 2015-08-31 2023-02-14 Longitude Elash Memory Solutions Ltd Low standby power with fast turn on method for non-volatile memory devices

Similar Documents

Publication Publication Date Title
TWI593285B (en) Smart tv system and turn-off and turn-on method thereof
US9411608B2 (en) Method and apparatus for enhancing a hibernate and resume process for a computing device having an external mechanical input component
TWI375912B (en) Method for reducing time of booting and computer system
US9658863B2 (en) Information processing apparatus and control method therefor
WO2012016393A1 (en) Method and device for cold starting android mobile terminal
TW201237606A (en) Debug registers for halting processor cores after reset or power off
CN102207881A (en) Quick operation system start-up method based on Android
US10545869B2 (en) Power button override for persistent memory enabled platforms
TW201502764A (en) Specialized boot path for speeding up resume from sleep state
US20170147363A1 (en) System and method for reducing hibernate and resume time
TW201525869A (en) System and method for dual OS memory switching
CN113703799B (en) Computing device and BIOS updating method and medium thereof
TW201421221A (en) Computer system and data recovery method thereof
US10379874B1 (en) Expedited resume process from low battery
EP3518074A1 (en) Computer system for preserving data in memory modules and computer-implemented method using the same
JP2014016782A (en) Information processing device and program
TWI486874B (en) Electronic apparatus and booting method
TWI546661B (en) Resuming a system using state information
TW201142710A (en) Computer system, shutdown and boot method thereof
WO2021175194A1 (en) Method for timed startup of terminal, and terminal
TW201133339A (en) Electronic device and starting up method thereof
JP4359646B1 (en) Information processing device, external storage device, and control method
EP2581804A1 (en) Electronic apparatus using NAND flash and memory management method thereof
US20150317181A1 (en) Operating system switching method
TW201214918A (en) Computer and method for charging portable electronic apparatus thereof