TW200407701A - Handheld device having sleep function and the operating method thereof - Google Patents

Handheld device having sleep function and the operating method thereof Download PDF

Info

Publication number
TW200407701A
TW200407701A TW91133533A TW91133533A TW200407701A TW 200407701 A TW200407701 A TW 200407701A TW 91133533 A TW91133533 A TW 91133533A TW 91133533 A TW91133533 A TW 91133533A TW 200407701 A TW200407701 A TW 200407701A
Authority
TW
Taiwan
Prior art keywords
handheld device
scope
patent application
item
sleep
Prior art date
Application number
TW91133533A
Other languages
Chinese (zh)
Other versions
TW591373B (en
Inventor
yong-chun Chen
Song-Bo Chen
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 TW91133533A priority Critical patent/TW591373B/en
Publication of TW200407701A publication Critical patent/TW200407701A/en
Application granted granted Critical
Publication of TW591373B publication Critical patent/TW591373B/en

Links

Landscapes

  • Power Sources (AREA)
  • Stored Programmes (AREA)

Abstract

A handheld device having sleep function is disclosed, which comprises a hibernation trigger module to receive a sleep signal, a sleep flag, a nonvolatile memory, and a processing module. The processing module switches the handheld device to the privileged mode in correspondence to the sleep signal, stores the system information of the handheld device to the nonvolatile memory, sets the sleep flag into the first value, and triggers a power circuit to turn off the handheld device.

Description

200407701200407701

發明領域 本發明係有關於一 (Handheld Device)及其操作 功此之手持式裝置 由觸發透過手持式褽置、麻鲈',且特別有關於一種藉 τ 硬體抽取層(HardwareFIELD OF THE INVENTION The present invention relates to a (Handheld Device) and a hand-held device capable of operating through triggering through a hand-held device.

Abstraction Layer,HAL)將手持 至非揮發性記憶體中,從而致使手'裝置之/統貝訊儲存 法。 』即々電源目的之手持式裝置及其操作方 發明背景 (Handel二通訊:人普數及位手:式裝置’如掌上型電腦 一。對於現有的Λ Λ \ Λϋ生Λ中的必需品之 之開/關機鍵時,手持式^ 田 按下手持式裴置』 次按下手持式裝置上Λ置螢幕會關閉’而當使用者再 會開啟,並回‘頻干關:,機鍵時’手持式裝置螢幕又 在現存的所資訊。 模式(PQ —Off Mode)„,當使的:賴 手持式裝置看起來像是關機,然而,其實關機鍵時’ :式⑻一 M〇de” ’而實際上手持直都:f = Fai lure)而造成系統中斷與資料原遺不二電/«The Abstraction Layer (HAL) will be held in non-volatile memory, which will result in a hand-held device's storage method. ”That is, the handheld device for power supply purposes and the background of the operator's invention (Handel II communication: the number of people and hands: the device is like a palmtop computer. For the existing Λ Λ \ Λϋ 生 Λ of the essentials When the On / Off key is pressed, the handheld ^ Tian presses the handheld Pei Zhi ". Pressing the handheld device on the handheld device will turn off the screen, and when the user turns it on again, return to" Frequency dry off :, machine key " The screen of the handheld device is in the existing information again. Mode (PQ — Off Mode), when: Lai handheld device looks like shutdown, but in fact, when the shutdown button is': 式 ⑻ 一 M〇de '' In fact, holding it straight: f = Fai lure), causing system interruption and data originality / «

五、發明說明(2) 首先針ΐ 為=產業界提供三種方式進行解決。 (Backup Battery)]然而持式裝置中增加一備用電池 料遺失的時間,相同^ 決方案僅是延遲產生資 置便會因為相同原因使得丰:η池耗盡後’手持式裂 使用者可以透過按增加-維持鍵( — “π), ,然二r:::以裝失置的電池完全切 (Backup/Re^eV之於應手用持程式式裝”V. Explanation of the invention (2) Firstly, three methods are provided for the industry to solve. (Backup Battery)] However, in the handheld device, the time required for the backup battery to be lost is the same. The only solution is to delay the generation of the asset, which will make the Feng for the same reason: After the η pool is exhausted, the user can pass through Press the increase-maintain key (— “π), but then r ::: completely cuts the battery when it is lost (Backup / Re ^ eV is for hand-held programming)

Software),透過此應::式(Appl lc“ — 要另外購買記憶卡,增加使m:使用者需 進行回存並開機時,手持式# 外,虽使用者欲 操作狀態,使用者必須】::ί接回復至關機前的 相關操作。 #作相關應用程式以接續進行 發明概述 發透發明之一目的為提供-種藉由使用者觸 τ過手持式裝置之硬體抽取層(Hardware AbStraction : = !·,HAL)將手持式裝置之系統資訊 J體中,關閉電源,從而致使手持式裝置二發:: 先、,以只際即省電源之手持式裝置及其操作方法。 此外本么明的另一目的係提供使用者再次開啟於休 眠狀態的手持式震置之電源時,州將存於非丄= 〇636-90〇8TW(Nl) ;PANI.SW.〇〇8Mivxx;YIANHOU.ptd —'~ 200407701 五、發明說明(3) = 訊進行回存,而回復至手持式裝置關機河 依據本發明實施例之具有休 括用以接收-休眠訊號之-休眠觸發;:手持f裝置,包 -非揮發性記憶體、與—處理模组。&,,且、-休眠旗標' 電路致使手持式裝置_。此外, ϋ電源 源開關’用以接收一開機訊號,且處理模「電 = 標’若休眠旗標為第一值,則將非揮: 其中,系統資訊包括手持式裝置之記憶體(ra 料、影像記憶體(Video ram)資料、中央處理器以= $晶片上:存器(0n_chip Register)資料、與'片 菇(Program Counter)資料。 τ 致 依據本發明實施例之具有休眠功能之手持式裝置 。 作方法’首先,#收一休眠訊號。然後,因應休眠訊2 一處理模組將手持式裝置切換至特權模式,且儲存手=、 裝置之資料及系統組態至非揮發性記憶體。之後,將—式 眠旗標設為一第一值,並觸發一電源電路致使手持式裴休 關機。此外,當欲開機時,接收一開機訊號。之後=因置 開機訊號以處理模組檢查休眠旗標。若休眠旗標為一應Software), through this should be :: (Appl lc “— to purchase a separate memory card, add m: when the user needs to restore and boot, the handheld ##, although the user wants to operate the state, the user must] :: ί Resume the related operations before shutdown. # Make related applications to continue to summarize the invention. One of the purposes of the invention is to provide a hardware extraction layer (Hardware AbStraction by the user touching τ through the handheld device). : =! ·, HAL) will turn off the power in the system information J body of the handheld device, which will cause the handheld device to secondly: :: First, the handheld device that saves power immediately and its operation method. Another purpose of Ma Ming is to provide users with the power of the handheld vibration device in the dormant state again. The state will be stored in non- 丄 = 〇636-90〇8TW (Nl); PANI.SW.〇〇8Mivxx; YIANHOU .ptd — '~ 200407701 V. Description of the invention (3) = Restore the message and return to the shutdown of the handheld device. According to the embodiment of the present invention, the device has a sleep trigger that is used to receive-sleep signals;: handheld f Device, package-non-volatile memory AND—Processing module. &Amp;, and, -Sleep flag 'circuit causes the handheld device_. In addition, ϋpower source switch' is used to receive a boot signal, and the processing mode "Electric = Standard 'if sleep flag If it is the first value, it will be non-volatile: Among them, the system information includes the memory (ra data, video ram) data of the handheld device, the central processing unit = $ chip: the register (0n_chip Register) data And 'Program Counter' data. Τ To a handheld device with a sleep function according to an embodiment of the present invention. Method of operation 'First, # receive a sleep signal. Then, in response to the sleep signal 2 a processing module will be handheld The device is switched to the privileged mode, and the data of the device and the system configuration are stored in non-volatile memory. After that, the -type sleep flag is set to a first value and a power circuit is triggered to cause the handheld Pei Hugh. Shut down. In addition, when you want to power on, receive a power-on signal. After = set the power-on signal to process the module to check the sleep flag. If the sleep flag is an application

200407701200407701

值’則將非揮發性記憶體中之内容進行回存 裝置切換至使用者模式。 並將手持式 、影 器 類似地,系統資訊包括手持式裝置之記憶體 像a己憶體貝料、中央處理器以及晶片組之晶片β 广 (Omhip Register)資料、與程式計數器^ 子 較佳實施例之詳細說明 ’ 實施例 第1㈣示依據本㈣實施狀具有休眠功能The value 'restores the contents of non-volatile memory. The device switches to user mode. Similarly, the handheld device and the camera are similar. The system information includes a memory image of the handheld device, a memory device, a central processing unit, and chip Omhip Register data, and a program counter. Detailed description of the embodiment 'Example 1 shows that the embodiment has a sleep function according to this embodiment

iitLn。依據本發明實施例之具有休眠功能之 ^9式/ 一休眠觸發模組1〇1、一電源開關 Γ、:Λ理模組103、一休眠旗標104、一系統資訊咖、 與一非揮發性記憶體1 〇 6。 休眠觸發模組101可以是設置於手持式裝置1〇〇上之一 按鍵/或是手持式裝置丨00上之一軟體程式,休眠觸發模組 1 0 1係用以接收一休眠訊號,從而致使手持式裝置1 〇 〇進入 休眠狀態。此外,電源開關102係用以接收一開機訊號, 從而致始手持式裝置100以正常方式開機至作業系統或由 休眠狀態回復至手持式裝置丨00進入休眠狀態前之系統狀 態0 休眠旗標1 0 4係用以記錄手持式裝置丨〇 〇所處於的狀 態’如休眠狀態。系統資訊丨05包括手持式裝置1〇〇中之記 憶體(R A Μ)、影像記憶體(v丨d e 〇 R A Μ )、中央處理器與晶片 組之晶片上暫存器(On-chip Register)之資料與程式計數 器(Program Counter )資料等。另外,非揮發性記憶體丨〇6iitLn. ^ 9 type with sleep function according to the embodiment of the present invention / a sleep trigger module 101, a power switch Γ ,: Λ management module 103, a sleep flag 104, a system information coffee, and a non-volatile Sex memory 1 06. The sleep trigger module 101 may be a key set on the handheld device 100 or a software program on the handheld device 00. The sleep trigger module 101 is used to receive a sleep signal, thereby causing The handheld device 100 goes to sleep. In addition, the power switch 102 is used to receive a power-on signal, so that the handheld device 100 starts to the operating system in a normal manner or returns from the hibernation state to the handheld device. 00 The system state before entering the hibernation state 0 Hibernate flag 1 0 4 is used to record the state of the handheld device, such as the hibernation state. System information 丨 05 includes memory (RA Μ), image memory (v 丨 de 〇RA Μ) in handheld device 100, on-chip register of CPU and chipset Data and program counter data. In addition, non-volatile memory 丨 〇6

200407701 五、發明說明(5) 為在手持式裝置1 〇 〇中可以永久記錄資料,而不會因斷電 而資料遺失之記憶體,如快閃記憶體(Flash Memory)或電 子可抹除程式化唯讀記憶體(EEPR0M)。 處理模組103係建置於手持式裝置1〇〇之硬體抽取層 (Hardware Abstraction Layer,HAL)。硬體抽取層係指 手持式裝置1 〇〇之系統核心(System Kernel )中位於作業系 統與硬體間之中間層,其名稱視不同作業系統可能有所不 同’如裝置抽取層(Device Abstraction Layer,DAL)、 〇EM 抽取層(0EM Abstraction Layer,〇AL)等。處理模組 103係用以針對手持式裝置1〇〇之進入休眠狀態將系統資訊 105儲存至非揮發性記憶體1〇6 ,與離開休眠狀態時回^ 置100進入休眠狀態前之系統狀態,而將備份於 ,揮發性記憶體106之内容進行回存。處理模組1〇3 操作將參考第2圖與第3圖進行說明。 —、、、田 第2圖顯示依據本發明實施例之手持式裝 眠狀態之操作流程。首先,如步驟S201,透過休眼艇^ 組ιοί接收一休眠訊號。然後,如步驟S2〇2 ,模 :應所接收之休眠訊號將手持式裝置1〇〇切換。3 式,在特權模式下處理模組丨03可以具有對主杈 1。〇進行-些特許存取之權力。〃、有針對手持式裝置 接著,如步驟S203,處理模組103儲存 (pc)的内容,然後,如步驟S2〇4 =數器 式裝置m之中斷(Interrupt)無效。注^致使手持 的安全性 的目的在於維持系統進入休眠狀態前資::的疋,步驟S204200407701 V. Description of the invention (5) Memory that can permanently record data in the handheld device 1000 without loss of data due to power failure, such as flash memory or electronic erasable programs Read-only memory (EEPR0M). The processing module 103 is a hardware abstraction layer (HAL) built on the handheld device 100. The hardware extraction layer refers to the middle layer between the operating system and the hardware in the system kernel of the handheld device 1000. Its name may vary depending on different operating systems. For example, Device Abstraction Layer , DAL), 0EM Abstraction Layer (0AL), and so on. The processing module 103 is used to store the system information 105 in the non-volatile memory 106 for the handheld device 100 to enter the hibernation state, and to return to the system state before entering the hibernation state 100 when leaving the hibernation state. The content in the volatile memory 106 is backed up. The operation of the processing module 103 will be described with reference to FIGS. 2 and 3. -,,, and Figure 2 shows the operation flow of the hand-held sleeping state according to the embodiment of the present invention. First, in step S201, a sleep signal is received through the eye-catcher ^ group ιοί. Then, in step S202, the module switches the handheld device 100 according to the received sleep signal. Type 3. In the privileged mode, the processing module 丨 03 can have a pair of main branches 1. 〇 The right to perform some privileged access.有. For handheld devices Next, as in step S203, the processing module 103 stores the contents of (pc), and then, as in step S204, the interruption of the digital device m is invalid. Note ^ The purpose of causing the security of the handheld is to maintain the system into a hibernation state. Prev :: 疋, step S204

TWXX;YIANHOU.ptd 第 g 頁 200407701 五、發明說明(6) :==51的中斷影響資料儲存程序。之後,如 7鄉wut)至S207,處理模組1〇3將 1夂 訊105 ’如記憶體資料 資:裝00之系統貝 (CPU)與晶片組之晶片上暫存器^體貝枓、中央處理器 料等儲存至非揮發性記憶體1〇6。 hlP reglster)之資 -第處 狀態,並如步驟S209,處理 、式裝置100處於休眠 使手持式裝置m關機。此時 狀態,且電源將完㈣閉並式裝置100將進入休眠 第3圖M f M + 並不扁耗任何系統資源與電源。 眠狀ΓΛ:Λ本發明實施例之手持式裝置之離開休 102 Λ Λ ^ η ^ ^ 1 >u之後,如步驟3302,處理模組i〇3應 並Ti / Γ03-的否),代表手持式裝置100關ϊ的原因 手持犬、F ΐι πη眠、狀癌,則如步驟S304 ,處理模組103致使 手持式裝置100以正常方式開機至作業系統。 手持ΐΐί:旗r標為第一值(TrUe)(步驟S303的是),代表 ' I 係進入休眠狀態,則如步驟S305,處理模 =3/始化手持式裝置1〇〇之相關硬體,並如步驟_, 處理模組103致使手持式裝置1〇〇之中斷無效。接著,如步 = S3〇7至S309,處理模組! 〇3由非揮發性記憶體⑽將事先 :子之。己隐體為料、影像記憶體資料、中央處理器(c p u) 與晶片組之晶片上暫存器(〇n_Chip Registe〇資料等進行TWXX; YIANHOU.ptd Page g 200407701 V. Description of the invention (6): The interruption of == 51 affects the data storage program. After that, such as the 7 township (Wut) to S207, the processing module 103 will send a message 105, such as the memory data: the system CPU (CPU) with 00 and the on-chip register of the chipset. The CPU is stored in the non-volatile memory 106. hlP reglster)-the first state, and if step S209 is executed, the device 100 is in sleep mode and the handheld device m is turned off. At this time, the power supply will be completely closed and the parallel device 100 will enter the sleep mode. Fig. 3 M f M + does not consume any system resources and power. Sleeping ΓΛ: Λ after leaving the handheld device according to the embodiment of the present invention 102 Λ Λ ^ η ^ ^ 1 > u, as in step 3302, the processing module i03 should be Ti / Γ03-No), representing Reasons why the hand-held device 100 is turned off The hand-held device 100, dogs, and cancerous cells, as in step S304, the processing module 103 causes the hand-held device 100 to be turned on to the operating system in a normal manner. Hand-held ΐΐί: flag r is marked as the first value (TrUe) (YES in step S303), which means that the 'I' system is in a dormant state. As in step S305, the processing module = 3 / initialized related hardware of the handheld device 100. And, as in step _, the processing module 103 invalidates the interruption of the handheld device 100. Then, if the steps = S307 to S309, process the module! 〇3 by non-volatile memory 记忆 will be in advance: the child. The hidden body is used for data, image memory data, central processing unit (cpu) and on-chip register (〇n_Chip Registe〇 data) of the chipset.

200407701 五、發明說明(7) 中’主:S微:料回存的動作係將資料回存至相應之 硬體中^己憶體資料回存至記 回存至影像記憶體中、中。# …σ ,ν"' 存至各自的晶片上暫存器ί處益與晶片組暫存器資料回 -第2 ^驟如0 ’處理模組103將休眠旗標104設為 第一值,如假值(False),表示 休眠狀態,並如步驟^ ,符式裝置100並非處於 奘i π A步驟S3U,處模組103致使恢復手持式 二of ίί 斷有效。然後,如步·12,處理模組 回=程式計數器(PC),並如步驟如3,將手持式裝置 1 二刀換回使用者模式,在使用者模式之存取權力下使用 者方可針對手持式裝置100進行存取。 值得注意的是,在本發明實施例中系統資訊儲存至非 揮發性記憶體的實際情況可以藉由下述兩例子進行說明。 第4 A圖係為顯示將系統資訊儲存至非揮發性記憶體之 實施例一示意圖。第4A圖的例子係一以成本導向的例子。 其中’非揮發性記憶體41 0包括一作業系統唯讀記憶體影 像(OS ROM Image)411與一閒置空間412。另外,記憶體 420中包括一例外表格(Except ion Tab le)421、一頁面表 格(Page Table)422 、 一動態堆疊(Dynamic Heap)423 、 一 儲存堆疊(Storage Heap)424與一閒置空間(Free Space)425 〇 在此例子中,記憶體420中的資料將會儲存至非揮發 性記憶體4 1 0中的閒置空間4 1 2。至於記憶體4 2 〇中的資料 是否需要壓縮與否,則必須視非揮發性記憶體4 1 〇之閒置200407701 V. Description of the invention (7) The action of ‘master: S micro: material recovery’ is to restore the data to the corresponding hardware ^ to recall the memory data to the memory of the video memory. #… Σ , ν " 'Save to the respective register on the chip 处 The processing register and chipset register data back-2 ^ Step as 0' The processing module 103 sets the hibernation flag 104 to the first value, If the value is False, it indicates the dormant state, and as in step ^, the rune device 100 is not in 奘 i π A step S3U, the processing module 103 causes the recovery of the hand-held device 2 to be effective. Then, as in step · 12, the processing module returns to the program counter (PC), and as in step 3, the handheld device 1 is switched back to the user mode. The user can only use the user mode access right. Access is made to the handheld device 100. It is worth noting that the actual situation of storing system information in non-volatile memory in the embodiment of the present invention can be explained by the following two examples. Fig. 4A is a schematic diagram showing a first embodiment of storing system information in non-volatile memory. The example in Figure 4A is a cost-oriented example. The non-volatile memory 410 includes an operating system read-only memory image (OS ROM Image) 411 and a free space 412. In addition, the memory 420 includes an exception table 421, a page table 422, a dynamic stack 423, a storage stack 424, and a free space (free Space) 425 〇 In this example, the data in the memory 420 will be stored in the free space 4 1 2 in the non-volatile memory 4 10. As to whether the data in memory 4 2 0 needs to be compressed or not, it must be regarded as non-volatile memory 4 1 0

•vt0636-9008TWF(Nl);PANI-SW-0081-TWXX;YIANH(XJ.ptd 200407701 五、發明說明(8) J間412與記憶體42〇中資料的大小而定。若非揮發性記憶 體之間置空間412大小大於與記憶艘42〇中的心 小,則不需進行壓縮便可直接儲存;反之, 舯 的貝枓必須先進行壓縮再儲存。注意的是,若記 中的資料係透過壓縮儲存,貝,ι當資料回; 應之解壓縮程序。 丁力乂頦远過相 =圖係為顯示將系統資訊儲存至非揮發性記憶體之 另一只施例一示意圖。在第4B圖中,手持式裝置1〇〇中辦 :4 了3。一個Λ記J體4 2 〇大小相同之休眠專用非揮發性“ = 手持式裝置剛進入休眠狀態時所需儲存 自執行休眠時,處理模組會將記憶體420中的資 料直接儲存至休眠專用非揮發性記憶體43〇中。 、 便可中’由於記憶體AM中的資料不需進行壓縮 短岸Ϊ Ϊ 相同地’回復時也不需執行相應之解壓縮 私序,因此\整體進入與離開休眠狀態的時間將會加速。 因藉由本發明所提供之具有休眠功能之手持式裝 置及其操作方法,可以藉由使用者觸發透過手持 硬體抽取層將手持式装置之資料與系統狀態儲存至非揮發 性圮憶體中’ i關閉電源,從而致使手持式裝置進入 狀態,以實際節省手持式裝置之電源。 此外’本發明更具有下述優點: 第一’本發明提供手持式裝置足夠長的待機時間,確 ^延,手持式裝置的使用時間。第二,本發明提供使用者 一種安全儲存資料於手持式裝置的功能,使用者資料不會• vt0636-9008TWF (Nl); PANI-SW-0081-TWXX; YIANH (XJ.ptd 200407701) V. Description of the invention (8) The size of the data in J-412 and memory 42 depends on the size of the non-volatile memory. The size of the space 412 is larger than that of the memory boat 42, and it can be stored directly without compression. On the other hand, the beehive must be compressed and then stored. Note that if the recorded data is transmitted through Compressed storage, when the data is returned; The corresponding decompression procedure. Ding Lixuan Far Phase = Picture is a schematic diagram showing another example of storing system information to non-volatile memory. Figure 4B Medium, handheld device 100: Doing 3. 4. A Λ J body 4 2 0 non-volatile dedicated non-sleeping of the same size "= storage required when the handheld device just enters hibernation. The module will store the data in the memory 420 directly into the non-volatile memory 43 for exclusive use of hibernation. You can use the data in the memory AM because there is no need to compress the short shore Ϊ Ϊ Similarly, when recovering There is no need to perform the corresponding decompression private sequence, so \ whole The time for entering and leaving the hibernation state will be accelerated. Because the handheld device with hibernation function and the operation method thereof provided by the present invention, the user can trigger the data and system of the handheld device through the hand-held hardware extraction layer The state is stored in the non-volatile memory. 'I Turn off the power, so that the handheld device enters the state, to actually save the power of the handheld device. In addition, the present invention has the following advantages: First, the present invention provides a handheld The device has a sufficiently long standby time, which can prolong the use time of the handheld device. Second, the present invention provides the user with a function of safely storing data in the handheld device, and the user data will not

200407701 五、發明說明(9) 因為電源耗盡等 毋需添購額外的 第三,本發 系按個紐或是點 擴充卡,操作上 取層,毋需手持 之製造廠商而言 更佳的手持式裝 雖然本發明 限定本發明,任 神和範圍内,當 範圍當視後附之 狀況而 擴充卡 明與一 選某個 極為便 式裝置 ’可以 置功能 已以較 何熟悉 可做些 申請專 導致資料或程式遺A,且使用者亦 等裝置。 般備份/回存程式相比,使用者僅 電腦圖示即可執行,毋需插拔任何 捷。第四,本發明係實施於硬體抽 作業系統的支援,對於手持式裝置 在不提回相關成本的情況下,提供 〇 佳實施例揭露如上,然其並非用以 此項技藝者,在不脫離本發明之精 許更動與潤飾,因此本發明之保護 利範圍所界定者為準。200407701 V. Description of the invention (9) Because there is no need to purchase an additional third because the power supply is exhausted, this hairpin is based on a button or an expansion card to operate the upper layer, which is better for manufacturers who do not need to hold it. Although the invention is limited by the present invention, the handheld device can be used within the scope and scope. When the scope is subject to the attached conditions, expand the cumming and select an extremely portable device. The data or program is left alone, and the user also waits for the device. Compared with general backup / restore programs, users can only run the computer icon without plugging in or removing any shortcuts. Fourthly, the present invention is implemented in the support of a hardware pumping operation system. For a handheld device, the best embodiment is provided as described above without mentioning the related costs. However, it is not used by the artist. Deviating from the essence of the present invention, changes and retouching, therefore, the scope of protection of the present invention shall prevail.

200407701200407701

為使本發明之上沭曰 Τ 上述目的、特徵和優點能更明顯易懂, = 並配合所附圖示,進行詳細說明如下: 手持L置之= 圖據本發明實施例… 第2圖係為顯示佑μ 士 入休眠狀態之一流程圖。,明實施例之手持式農置之進 第3圖係為顯示依據本發明實施例之手 開休眠狀態之一流程圖。 、式裝置之離 第4 Α圖係為顯示蔣备# 之 實施例-示意圖將系統負訊儲存至非揮發性記.隱體 :4Β圖係為顯示將系統資訊儲存至非 另一實施例一示意圖。 4 ^攙體之 符號說明 1 00〜手持式裝置; 1 01〜休眠觸發模組; 102〜電源開關; 1 0 3〜處理模組; 1 0 4〜休眠旗標; 1 0 5〜系統資訊; 1 0 6〜非揮發性記憶體; 1 0 7〜電源電路; S201、S202、…、S209〜操作步驟; S301、S302、…、S313〜操作步驟; 41 0〜非揮發性記憶體;In order to make the above-mentioned objects, features, and advantages of the present invention clearer and easier to understand, the following detailed description is given in conjunction with the accompanying drawings: Holding it by hand = Figure according to an embodiment of the present invention ... FIG. 2 A flowchart to show one of the μs entering the sleep state. Fig. 3 is a flowchart showing a hand-held sleep state according to an embodiment of the present invention. The 4th A of the device is shown in the example of Jiang Bei #-a schematic diagram that stores the negative signal of the system to a non-volatile memory. The hidden body: 4B is a display of the system information that is not stored in another embodiment. schematic diagram. 4 ^ Carcass symbols 1 00 ~ Handheld device; 1 01 ~ Sleep trigger module; 102 ~ Power switch; 103 ~ Processing module; 104 ~ Sleep flag; 105 ~ System information; 106 ~ non-volatile memory; 107 ~ power circuit; S201, S202, ..., S209 ~ operation steps; S301, S302, ..., S313 ~ operation steps; 41 0 ~ non-volatile memory;

200407701 圖式簡單說明 4 11〜作業系統唯讀記憶體影像; 41 2〜閒置空間; 420〜記憶體; 4 2 1〜例外表格; 422〜頁面表格; 423〜動態堆疊; 424〜儲存堆疊; 425〜閒置空間; 430〜休眠專用非揮發性記憶體。200407701 Schematic description of 4 11 ~ read-only memory image of the operating system; 41 2 ~ free space; 420 ~ memory; 4 2 1 ~ exception form; 422 ~ page form; 423 ~ dynamic stacking; 424 ~ storage stacking; 425 ~ Free space; 430 ~ Non-volatile memory dedicated for hibernation.

,〇6^-9008TW(Nl);PANI-SW.〇081-TlVXX;YIANHOU.ptd 第15頁, 〇6 ^ -9008TW (Nl); PANI-SW.〇081-TlVXX; YIANHOU.ptd page 15

Claims (1)

200407701200407701 種具有休眠功能之手持式裝置,包括 一休眠觸發模組,用以接收一休眠訊號· 一休眠旗標; ; 非揮發性記憶體;以及 模、、且其因應該休眠訊號將該手持式步晉如她 至一 ^模式(Privileged福e),以儲存該V^/裝^ =一=統資訊至該非揮發性記憶體,將該休眠旗標設為一 第一值,並觸發一電源電路致使該手持式裝置關機。 、2·如申請專利範圍第1項所述之具有休眠功能之手持 式裝置’其中該處理模組係能夠使該手持式裝置、 (Interrupt)無效。 T 所 、3·如申請專利範圍第1項所述之具有休眠功能之手持 式裝置’更包括一電源開關,用以接收一開機訊號。 4.如申請專利範圍第3項所述之具有休眠功能之手持 式裝置’其中該處理模組更因應該開機訊號檢查該休眠旗 標’並且於若該休眠旗標為該第一值,其能夠將該非揮發 性§己憶體中之該系統資訊進行回存(R e s t 〇 r e ),並將該手 持式裝置切換至使用者模式(jjser Mode)。 5 ·如申請專利範圍第4項所述之具有休眠功能之手持 式裝置’其中該處理模組更包括初始化該手持式裝置之硬 6 ·如申請專利範圍第4項所述之具有休眠功能之手持 式裝置,其中該處理模組係能夠於回存該系統資訊之前, 致使該手持式裝置之中斷(Interrupt)無效。A hand-held device with a hibernation function includes a hibernation trigger module for receiving a hibernation signal · a hibernation flag; a non-volatile memory; and a module, and the hand-held step is responded to the hibernation signal Jin Ru she goes to Privileged mode to store the V ^ / load ^ = one = system information to the non-volatile memory, set the hibernation flag to a first value, and trigger a power circuit Causing the handheld device to shut down. 2. The handheld device with a sleep function as described in item 1 of the scope of the patent application, wherein the processing module is capable of invalidating the handheld device, (Interrupt). T, 3. The handheld device with a sleep function as described in item 1 of the scope of the patent application, further includes a power switch for receiving a start signal. 4. A handheld device with a sleep function as described in item 3 of the scope of the patent application, wherein the processing module checks the sleep flag in response to a power-on signal, and if the sleep flag is the first value, it The system information in the non-volatile memory can be restored (Rest ore), and the handheld device can be switched to the user mode (jjser Mode). 5 · A handheld device with a hibernation function as described in item 4 of the scope of the patent application, wherein the processing module further includes a hardware to initialize the handheld device. 6 · A sleep device with a hibernation function as described in item 4 of the scope of the patent application The handheld device, wherein the processing module is capable of invalidating the interruption of the handheld device before retrieving the system information. fl63j6-9008TWF(Nl) ;PANI -SW-〇〇8i -TWXX;YIANHOU.ptd 第16頁 200407701 六、申請專利範圍 ,7·如申請專利範圍第6項所述之具有休眠功能之手持 式裝置’其中該處理模組更包括於回存該系統資訊之後, 致使該手持式裝置之甲斷(interrupt)有效。 、8 ·如申請專利範圍第4項所述之具有休眠功能之手持 式裝置,其中該處理模組係能夠於若該休眠旗標並非為該 第一值時,致使該手持式裝置進行正常開機。 、9·如申請專利範圍第1項所述之具有休眠功能之手持 式裝置’其中該系統資訊包括該手持式裝置之記憶體 (RAM)資料。 " 、1 0·如申請專利範圍第1項所述之具有休眠功能之手持 式裝置,其中該系統資訊包括該手持式裝置之影像記憶體 (Video RAM)資料。 11. 如申請專利範圍第i項所述之具有休眠功能之手持 式裝置,其中該系統資訊包括該手持式裝置之中央處理器 或晶片組之晶片上暫存器(0n 一 Chip Register)的資料。° 12. 如申請專利範圍第丨項所述之具有休眠功能之手持 式裝置中該系統資訊包括該手持式I置之程式計數器 (Program Counter)資料。 " 13. 如申請專利範圍第μ所述之具有休眠功能之手持 式裝置,纟中該休眠觸發模組係、為設置於該手持式裝置上 之一按鍵。 1 4 ·如申請專利範圍第1項所十、 $所述之具有休眠功能之手捭 式裝置,其中該休眠觸發模組為一軟體程式。此之于符 1 5 ·如申請專利範圍第1項所、+、* θ二' ’所述之具有休眠功能之手持 Q》36-9008TWF(N1) ;PANI -SW-0081 -TWXX; YIANHOU.ptd 第 17 200407701fl63j6-9008TWF (Nl); PANI-SW-〇〇8i-TWXX; YIANHOU.ptd page 16 2004007701 6. Patent application scope, 7. Handheld device with sleep function as described in item 6 of patent application scope ' The processing module further includes that after the system information is restored, the interruption of the handheld device is enabled. 8, 8 The handheld device with a sleep function as described in item 4 of the scope of the patent application, wherein the processing module is capable of causing the handheld device to boot normally if the sleep flag is not the first value . 9. The handheld device with a hibernation function as described in item 1 of the scope of the patent application, wherein the system information includes memory (RAM) data of the handheld device. ", 10 · The handheld device with a hibernation function as described in item 1 of the scope of the patent application, wherein the system information includes video RAM data of the handheld device. 11. The handheld device with hibernation function as described in item i of the scope of patent application, wherein the system information includes data of a chip register (0n-Chip Register) of the central processing unit or chipset of the handheld device . ° 12. The system information in the handheld device with hibernation function described in item 丨 of the patent application scope includes program counter data of the handheld device. " 13. According to the handheld device with a hibernation function described in the scope of the patent application, the hibernation triggering module is a key set on the hand-held device. 1 4 · The hand-held device with a sleep function as described in Item 10 and $ 1 of the scope of patent application, wherein the sleep trigger module is a software program. This is the symbol 1 5Handheld Q with hibernation function as described in the first scope of the patent application, +, * θ 2 ''36 -9008TWF (N1); PANI -SW-0081 -TWXX; YIANHOU. ptd number 17 200407701 式裝置其中”玄非揮發性5己憶體為一快閃記憶體(F 1 a s h Memory)或一電子可抹除程式化唯讀記憶體(EEpR〇M)。 二6.如人請專利範圍第1項所述之具有休眠功能之手持 式裝置,&中該處理模組係建置於該手持式裝置之系統核 心(System Kernel)中 。 1 7· —種具有休眠功能之手持式裝置之操作方法, 括下列步驟: 接收一休眠訊號; 因應該休眠訊號以一處理模組將該手持式裝置切換至 一特權模式(Privileged Mode); 、 儲存該手持式裝置之一系統資訊至一非揮發性記憶 sA · 體, 將一休眠旗標設為一第一值;以及 觸發一電源電路致使該手持式裝置關機。 1 8·如申請專利範圍第丨7項所述之具有休眠功能之手 持式裝置之操作方法,更包括以該處理模組致使該手持式 裝置之中斷(Interrupt)無效。 1 9·如申請專利範圍第丨7項所述之具有休眠功能之手 持式裝置之操作方法,更包括接收一開機訊號以啟動該手 持式裝置。 2 0 ·如申請專利範圍第丨9項所述之具有休眠功能之手 持式裝置之操作方法,更包括下列步驟: 因應該開機訊號以該處理模組檢查該休眠旗標;以及 若該休眠旗標為該第一值,則將該非揮發性記憶體中The "non-volatile 5H memory" of the device is a flash memory (F 1 ash memory) or an electronic erasable stylized read-only memory (EEpR0M). 2. If you request a patent The hand-held device with hibernation function described in item 1, the processing module is built into the system kernel of the hand-held device. 1 7 · —A hand-held device with hibernation function The operation method includes the following steps: receiving a sleep signal; switching the handheld device to a privileged mode with a processing module in response to the sleep signal; and storing system information of one of the handheld devices to a non- Volatile memory sA body, setting a hibernation flag to a first value; and triggering a power circuit to cause the handheld device to shut down. 1 8 · A handheld device with a hibernation function as described in item 丨 7 of the scope of patent application The operation method of the handheld device further includes invalidating the interruption of the handheld device with the processing module. 1 9 · A handheld device with a sleep function as described in item 丨 7 of the scope of patent application The operation method further includes receiving a power-on signal to activate the handheld device. 20 · The operation method of the handheld device with a hibernation function as described in item No. 丨 9 of the scope of patent application, further includes the following steps: The signal uses the processing module to check the hibernation flag; and if the hibernation flag is the first value, the non-volatile memory is stored in the non-volatile memory. ^3^-9008TW(Nl);PANI-SW.〇〇8l-TTO;YIANH(XJ.ptd 第 18 頁 200407701 六、申請專利範圍 ---- 之該系統資訊進行回#(Rest〇re),並將該手持式裝置切 換至一使用者模式(User Mode)。 、2 1 ·如申請專利範圍第20項所述之具有休眠功能之手 持式裝置之操作方法,更包括以該處理模組初始化該手持 式裝置之硬體。 乙2 ·如申凊專利範圍第2 q項所述之具有休眠功能之手 持式裝置之操作方法,更包括於回存該系統資訊之前,以 該處理模組致使該手持式裝置之中斷(Iriterrupt)無效。 23·如申請專利範圍第22項所述之具有休眠功能之手 持式裝置之操作方法,更包括於回存該系統資訊之後,以 該處理模組致使該持式裝置之中斷(Interrupt)有效。 、24·如申請專利範圍第20項所述之具有休眠功能之手 持式裝置之操作方法,更包括若該休眠旗標並非為該第一 值,則以該處理模組致使該手持式裝置進行正常開機。 25·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該系統資訊包括該手持式裝 之記憶體(RAM)資料。 2 6 ·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裳置之操作方法,其中該系統資訊包括該手持式裝置 之影像記憶體(V i d e 〇 R A Μ)資料。 2 7 ·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該系統資訊包括該手持式裝置 之中央處理器以及晶片組之晶片上暫存器(Qn-Ch i ρ Register)資料。^ 3 ^ -9008TW (Nl); PANI-SW.〇〇8l-TTO; YIANH (XJ.ptd p. 18 200407701) VI. Scope of patent application-the system information is returned to # (Rest〇re), And the hand-held device is switched to a User Mode. 2 1 · The operation method of the hand-held device with a sleep function as described in item 20 of the scope of patent application, further including initializing the processing module The hardware of the hand-held device. B2. The operation method of the hand-held device with hibernation function as described in item 2 q of the patent scope of the application, further includes using the processing module to cause the processing module to be restored before the system information is restored. The interruption of the handheld device (Iriterrupt) is invalid. 23. The operation method of the handheld device with a sleep function as described in item 22 of the scope of the patent application, further includes, after the system information is restored, the processing module causes the The interruption of the handheld device is effective. 24. The operation method of the handheld device with a sleep function as described in item 20 of the scope of the patent application, further including if the sleep flag is not the first value, then Caused by the processing module The hand-held device is turned on normally. 25. The operation method of the hand-held device with a hibernation function as described in item 17 of the scope of patent application, wherein the system information includes the memory (RAM) data of the hand-held device. 2 6 · The operation method of a handheld device with a hibernation function as described in item 17 of the scope of the patent application, wherein the system information includes image memory (V ide 〇RA Μ) data of the handheld device. 2 7 · 如The operating method of the handheld device with hibernation function described in item 17 of the scope of the patent application, wherein the system information includes the central processing unit of the handheld device and the on-chip register (Qn-Ch i ρ Register) of the chipset )data. 200407701 六、申請專利範圍 一·" 28·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該系統資訊包括該手持式裝置 之程式計數器(Program Counter)資料。 29·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該休眠訊號係透過一休眠觸發 模組接收。 x 30·如申請專利範圍第29項所述之具有休眠功能之手 持式裝置之操作方法,其中該休眠觸發模組為設置於該手 持式裝置上之一按鍵。 31·如申請專利範圍第29項所述之具有休眠功能之手 持式裝置之操作方法,其中該休眠觸發模組為一軟體程 32·如申請專利範圍第丨7項所述之具有休眠功能之手 持式裝置之操作方法,其中該非揮發性記憶體為一快閃記 憶體(Flash Memory)或一電子可抹除程式化唯讀記憶體 (EEPR0M)。 〜 33·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該處理模組係建置於該手持式 裝置之一糸統核心(System Kernel)中。200407701 6. Scope of patent application 1 " 28 · The operation method of a handheld device with a sleep function as described in item 17 of the scope of patent application, wherein the system information includes a program counter of the handheld device (Program Counter) data. 29. The method for operating a handheld device with a sleep function as described in item 17 of the scope of patent application, wherein the sleep signal is received through a sleep trigger module. x 30. The method for operating a handheld device with a sleep function as described in item 29 of the scope of the patent application, wherein the sleep trigger module is a key provided on the handheld device. 31. The method for operating a handheld device with a hibernation function as described in item 29 of the scope of the patent application, wherein the sleep trigger module is a software program 32. The hibernation function as described in item 7 of the scope of the patent application A method for operating a handheld device, wherein the non-volatile memory is a flash memory or an electronic erasable programmable read-only memory (EEPROM). ~ 33. The method of operating a handheld device with a hibernation function as described in item 17 of the scope of patent application, wherein the processing module is built into a system kernel of one of the handheld devices. 0^^008TW(Nl);PANI-SW-0081-TWXX;YIANH(XJ.Ptd % 20^ " ~0 ^^ 008TW (Nl); PANI-SW-0081-TWXX; YIANH (XJ.Ptd% 20 ^ " ~
TW91133533A 2002-11-15 2002-11-15 Handheld device having sleep function and the operating method thereof TW591373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW91133533A TW591373B (en) 2002-11-15 2002-11-15 Handheld device having sleep function and the operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW91133533A TW591373B (en) 2002-11-15 2002-11-15 Handheld device having sleep function and the operating method thereof

Publications (2)

Publication Number Publication Date
TW200407701A true TW200407701A (en) 2004-05-16
TW591373B TW591373B (en) 2004-06-11

Family

ID=34057990

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91133533A TW591373B (en) 2002-11-15 2002-11-15 Handheld device having sleep function and the operating method thereof

Country Status (1)

Country Link
TW (1) TW591373B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI307012B (en) 2005-11-17 2009-03-01 Via Tech Inc Idle state adjusting method and logical chip and computer system using the same
TWI399637B (en) * 2009-09-22 2013-06-21 Nat Univ Chung Cheng Fast switch machine method

Also Published As

Publication number Publication date
TW591373B (en) 2004-06-11

Similar Documents

Publication Publication Date Title
EP3608809B1 (en) Device power-on method using power button integrated with fingerprint sensor
WO2018059027A1 (en) Memory collection method and terminal
TWI335505B (en) Systems and methods for storing data on computer systems
TW200403557A (en) Apparatus and method for restoring working context
WO2015081470A1 (en) Data processing device and data processing method
TW201234209A (en) Method of provisioning firmware in an operating system (OS) absent services environment
CN111078406A (en) Memory management method and device, storage medium and electronic equipment
US10908701B2 (en) Electronic device and method for capturing multimedia content
Joe et al. Bootup time improvement for embedded linux using snapshot images created on boot time
WO2013181957A1 (en) Method and system for data recovery of mobile terminal
TW200923784A (en) Electronic device and method for resuming from suspend-to-ram state thereof
TW576964B (en) Method and related computer for processing suspend to RAM during power off
TW200407701A (en) Handheld device having sleep function and the operating method thereof
TW201111966A (en) Method for fast turning on and off a machine
WO2024077932A1 (en) Page recovery method and apparatus and storage medium
CN1504859A (en) Hand held apparatus having sleep function and operating method thereof
CN117170872A (en) Memory management method, device, equipment and storage medium
US20170230069A1 (en) Playback of visual or audio content related to a captured image
CN103136023A (en) Embedded type terminal
KR20140089744A (en) Device and method for changing address and data of memory in termival
JP2022044819A (en) Method for activation device and device
TWI328188B (en) Method and system of screen capture
TW201106267A (en) Operation system data update method and electronic apparatus having multiple operation systems
TW201741912A (en) System and method for backup with schedule automatically
TW444162B (en) Information processing apparatus, information processing method, and recording medium

Legal Events

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