TW591373B - 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
TW591373B
TW591373B TW91133533A TW91133533A TW591373B TW 591373 B TW591373 B TW 591373B TW 91133533 A TW91133533 A TW 91133533A TW 91133533 A TW91133533 A TW 91133533A TW 591373 B TW591373 B TW 591373B
Authority
TW
Taiwan
Prior art keywords
handheld device
patent application
item
scope
hibernation
Prior art date
Application number
TW91133533A
Other languages
Chinese (zh)
Other versions
TW200407701A (en
Inventor
Yung-Chuen Chen
Sung-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

591373591373

五、發明說明(1) 發明所屬之技術領域 (H dttTl)係有關、於一種具有休眠功能之手持式裝置 (Handheld Device)及 乂λ: 士、丨 以及具刼作方法,且特別有關於一錄Μ 由觸發透過手持式裝置之硬體抽取層咖心心種藉 ΗΑ'}^^„# :非揮η匕體中,從而致使手持 態,以實際達到節省電调曰从十主α上 件嗎狀 法。 卩’冤/原目的之手持式裝置及其操作方 先前技術 隨著行動通訊的普及,手持式 (Handheld PC)、個人數位助理(pers_"广二電細 A一SS1Stant,PDA)等都成為大多數人生活中的莒必需品之 。對於現有的手持式裝置,當使用 之開/關機鍵時,手持式按下手持式裴置上 次按下丰牲4缺罢/ 勞幕會關閉’而當使用者再 =知下手持式裝置上之開/關機鍵時 : 會開啟,並回復顯示關機前所顯示的畫面持資式訊裝置螢幕又 在現存的手持式裝置中,豆與 、& 模式(Power-Off Mode) *,告用去二。月真正的關機 手持戎梦晉丢枳办後β BH田使用者按下開/關機鍵時, 予持式裝置看起來像是關機,然而, 口 模式(Standby Mode),,,而本怀μ主二,、疋進 待機 續地消耗系統資源。是故,J f式裝置-直都在持 電一段日车門夕铋 、式裝置久置而未進行夯 1: &時間之後,手持式裝置便會因仃充 誤(Power Fai lure)而造成系# φ _ Λ、不足或電源錯V. Description of the invention (1) The technical field to which the invention belongs (H dttTl) is related to a handheld device with a hibernation function (Handheld Device) and 乂 λ: taxi, 丨 and a method of operation, and particularly relates to a Record M is triggered by the hardware extraction of the handheld device through the hand-held device. 咖 Α '} ^^ „#: Non-swinging dagger body, which causes the handheld state to actually save the ESC. The state of law. Handheld devices and operators of the original purpose and their operators. With the popularization of mobile communications, handheld (Handheld PC), personal digital assistant (pers_ " Guang Er Dian A 1 SS1Stant, PDA) It has become a necessity in most people's lives. For existing handheld devices, when using the on / off button, the handheld is pressed by the handheld. Off 'and when the user again knows the on / off button on the handheld device: it will turn on and return to the screen displayed before the shutdown. The screen of the licensed messaging device is in the existing handheld device. , &Amp; Mode (Power-Off Mode) * When the user shuts down, the handheld device will look like a shutdown when the beta BH field user presses the on / off button. However, the port mode (Standby Mode) ,,, However, the main source of this μ μ is to continuously consume system resources. Therefore, the J f-type device-Zhidu has been holding the car for a while, and the bismuth type device has been left for a long time without ramming 1: & time After that, the handheld device will cause a # φ _ Λ, insufficient power supply, or power failure due to incorrect charging (Power Fai lure).

Lost)。 &成系統中斷與資料遺失(DateLost). & system interruption and data loss (Date

IH1 0636-9008TW(m);PANI-SW-0081-TWXX;YIANH(XJ.ptd 第 5 頁 •73 •73IH1 0636-9008TW (m); PANI-SW-0081-TWXX; YIANH (XJ.ptd page 5 • 73 • 73

五、發明說明(2) 針對上述問題,現今產 · 首先,第一種方 界誕供三種方式進行解決。 (Backus Ra^ 手持式裝置中增加一備用電池 p attery),然而,此種解山& 料遺失的時間,相同地,—曰備^方案僅疋延遲產生資 置便會因為相同原因使"::用電池耗盡後,手持式裝 使:者持式裝置中增加-維持鍵(Hold Key), =以過將手持式裝置的電池完全切 网=m源,然此舉亦會造成f料遺失。 (Backup/Restore) ^ ^ ^ ^ ^ ^ ^ .ffU7Q 、 ^ ^ 义應用轾式(ApplicationV. Description of the Invention (2) In view of the above problems, today's production · First, the first kind of solution can be solved in three ways. (Backus Ra ^ adds a spare battery pattery to the handheld device), however, this solution & the missing time is the same, the --- ^^ solution only delays the generation of assets will cause "; :: After the battery is exhausted, the handheld device is equipped with:-Hold key is added to the handheld device, = the battery of the handheld device is completely cut off = m source, but this will also cause f is missing. (Backup / Restore) ^ ^ ^ ^ ^ ^ ^ .ffU7Q, ^ ^

Software),透過此應用程式,系 料進行備份,然其操作相合蘩# &錢用者相關貝 …卜購買記憶卡Γ二;nmri使用者需 相關操作。、斤知作相關應用程式以接續進行 發明内容 有鑑於此’ 名各明- ρ» , / 〇 鉻令、Μ主枝彳壯 月 目的為提供一種藉由使用者觸 發透過手,式裝置之硬體抽取層—e — 二S = 手/式裝置之系統資訊儲存至非揮發性記 :體閉電源,從而致使手持式裝置進入休眠狀 以貫際卽名電源之手持式裝置及其操作方法。 =外丄^發明的另—目的係提供使用 眠狀態的手持式裝置之電源時,其可以將存於非揮發性ΪSoftware), through this application, the materials are backed up, but the operations are the same. # &Amp; Money users related shells ... Buy a memory card. Nmri users need related operations. In order to continue to carry out the invention content, Jin Zhizuo continues to invent the invention. In view of this, the name of Mingming-ρ », 〇Cring, M main branch aims to provide a hard way to trigger the user through the hand, the device Body extraction layer — e — Two S = System information of hand / hand-held device is stored to non-volatile memory: body-closed power supply, which causes the hand-held device to enter the dormant state, and the hand-held device and its operation method. = 外 丄 ^ Another purpose of the invention is to provide a handheld device that can be stored in a non-volatile state when it is powered by a sleeping device.

591373591373

五、發明說明(3) 憶體中之系統資訊進行回存,而 完全相同的狀態。 至手持式裝置關機前 依據本發明實施例之具有休 括用以接收一休眠訊號之一休眠^此之手持式裝置,包 一非揮發性記憶體、與一處理模級,模組、一休眠旗標、 處理模組因應休眠訊號將手持 (Privileged Mode),儲存手持式事、置切換至特權模式 發性記憶體,且將休眠旗標設為之系統資訊至非揮 電路致使手持式裝置關機。此外,:f,並觸發一電源 源開關,用以接收一開機訊號,且裡=裝置更包括一電 檢查休眠旗標,若休眠旗標為第一;組更應開機訊號 體中之内容進行回存,並將手持式切:::發性記憶 (User Mode)。 衮置切換至使用者模式 料、影像記憶體(Video RAM)資料、中/己_隐體“錢)資 ^ ^ 〒央處理器以》日 組之晶片上暫存器(On-chip Register)資料盥 ^片 器(Program Counter)資料。 ,、壬式叶數 功能之手持式裝置之接 =因應休眠訊號以 權模式,且儲存手持式 記憶體。之後,將— 源電路致使手持式裝置 開j訊號。之後,因應 。若休眠旗標為第—〜V. Description of the invention (3) The system information in the memory is restored, but in exactly the same state. Before the handheld device is turned off, the handheld device according to the embodiment of the present invention includes a non-volatile memory, a processing module, a module, and a sleeper. The flag and the processing module will hold the handheld (Privileged Mode) in response to the sleep signal, store the handheld event, switch to the privileged mode of the flash memory, and set the sleep flag to the system information to the non-volatile circuit to cause the handheld device to shut down. . In addition,: f triggers a power source switch to receive a power-on signal, and the device includes a power check sleep flag, if the sleep flag is first; the group should perform the content in the power-on signal body. Save it back, and cut the handheld ::: User Memory. Set to switch to user mode data, video RAM data, medium / self_hidden "money" data ^ ^ CPU-on-chip register (On-chip Register) Data counter (Program Counter) data. The connection of hand-held devices with non-leaf type function = according to the sleep signal in the right mode and the hand-held memory is stored. After that, the source circuit causes the hand-held device to turn on. j signal. After that, if the dormant flag is the first — ~

依據本發明實施例之具有休眠 作方法,首先,接收一休眠訊號。 一處理模組將手持式裝置切換至特 裝置之資料及系統組態至非揮發性 眠旗標設為一第一值,並觸發一電 關機。此外,當欲開機時,接收一 開機訊號以處理模組檢查休眠旗標According to the embodiment of the present invention, there is a sleep operation method. First, a sleep signal is received. A processing module switches the data of the handheld device to the special device and the system configuration to a non-volatile sleep flag set to a first value and triggers an electrical shutdown. In addition, when you want to power on, receive a power-on signal to process the module to check the sleep flag

0636-9008TW(Nl);PANI.SW.0081-TTO;YIANH(XJ.ptd 第 7 頁 591373 / 91. 12. -丨 五、發明說明(4) --—~ 值’則將非揮發性記憶體中之内容進行回存,並 裝置切換至使用者模式。 、式 類似地,系統資訊包括手持式裝置之記憶體資料、❸ 像δ己憶體資料、中央處理器以及晶片組之晶片上暫存器〜 COmhip Register)資料、與程式計數器資料。 ^ 實施方式 第1圖顯示依據本發明實施例之具有休眠功能之手持 式裝置之系統架構。依據本發明實施例之具有休眠功能之 手持式裝置100具有一休眠觸發模組1〇1、一電源開關 102、一處理模組1〇3、一休眠旗標1〇4、一系統資訊ι〇5、 與一非揮發性記憶體1 〇 6。 休眠觸發模組101可以是設置於手持式裝置丨〇〇上之一 按鍵/或是手持式裝置100上之一軟體程式,休眠觸發模組 1 0 1係用以接收一休眠訊號,從而致使手持式裝置1 〇 〇進入 休眠狀態。此外,電源開關丨〇2係用以接收一開機訊號, 從而致始手持式裝置1〇〇以正常方式開機至作業系統或由 休眠狀態回復至手持式裝置丨〇〇進入休眠狀態前之系統狀 態00636-9008TW (Nl); PANI.SW.0081-TTO; YIANH (XJ.ptd page 7 591373 / 91. 12.-5. Description of the invention (4) --- ~ value 'will be non-volatile memory The content in the system is restored, and the device is switched to the user mode. Similarly, the system information includes the memory data of the handheld device, the image δ memory data, the central processing unit, and the chip on-chip temporary storage. Register ~ COmhip Register) data and program counter data. ^ Embodiment Figure 1 shows a system architecture of a handheld device with a sleep function according to an embodiment of the present invention. The handheld device 100 with a sleep function according to an embodiment of the present invention has a sleep trigger module 101, a power switch 102, a processing module 103, a sleep flag 104, and system information. 5. With a non-volatile memory 106. The sleep trigger module 101 may be a key set on the handheld device and / or a software program on the handheld device 100. The sleep trigger module 101 is used to receive a sleep signal, thereby causing the handheld The device 100 enters a sleep state. In addition, the power switch 丨 〇2 is used to receive a power-on signal, which causes the handheld device 100 to boot to the operating system in a normal manner or return from the hibernation state to the handheld device system state before entering the hibernation state. 0

休眠旗標104係用以記錄手持式裝置丨〇〇所處於的狀 態’如休眠狀態。系統資訊丨〇 5包括手持式裝置丨〇 〇中之記 憶體(RAM)、影像記憶體(Vide〇 RAM)、中央處理器與晶片 組之晶片上暫存器(〇n —chip Register)之資料與程式計數 器(Program Counter)資料等。另外,非揮發性記憶體1〇6 為,手持式裝置1〇〇中可以永久記錄資料,而不會因斷電The hibernation flag 104 is used to record the state of the handheld device, such as the hibernation state. System information 丨 〇5 includes information on the memory (RAM), video memory (Vide〇RAM), CPU and chipset on-chip registers (〇n —chip Register) in the handheld device. And Program Counter data. In addition, the non-volatile memory 100 is that the handheld device 100 can permanently record data without power failure.

0636-9008TWF(Nl) PANI-SW-〇〇81.TWXX;YIANH(XJ.ptd 第8頁 59 IB 73- 五、發明說明(5) 而資料遺失之記憶體,如快閃記憶體(Flash Memory)或電 子可抹除程式化唯讀記憶體(EEPR0M)。 處理模組103係建置於手持式裝置1〇〇之硬體抽取層 (Hardware Abstraction Layer,HAL)。硬體抽取層係指 手持式裝置1 〇〇之系統核心(System Kernel)中位於作業系 統與硬體間之中間層,其名稱視不同作業系統可能有所不 门如裝置抽取層(Device Abstraction Layer,DAL)、 OEM 抽取層(0EM Abstraction Layer ,0AL)等。處理模組 =3係用以針對手持式裝置1〇〇之進入休眠狀態將系統資訊 儲存至非揮發性記憶體丨〇6,與離開休眠狀態時回復至 f式裝置1〇〇進入休眠狀態前之系統狀態,而將備份於 2發性記憶體106之内容進行回存。處理模組1〇3之詳細 操作將參考第2圖與第3圖進行說明。 第2·圖顯示依據本發明實施例之手 ,’且 接收一休眠訊號。然後,如步驟S202。产理描彡、 :應:接收之休眠訊號將手持式裝置⑽ 2=1。3 式,在特權模式下處理模組1〇3可 2模 100進行厂些特許存取之權力。-有針對手持式裝置 ΓΡΓ、接著如步驟S203,處理模組103儲存程 (m内容,然後,如步驟32()4 ^十數器 序。之後,如0636-9008TWF (Nl) PANI-SW-〇〇81.TWXX; YIANH (XJ.ptd page 8 59 IB 73- V. Description of the invention (5) Memory with missing data, such as flash memory (Flash Memory ) Or electronically erasable stylized read-only memory (EEPR0M). The processing module 103 is a hardware abstraction layer (HAL) built in the handheld device 100. The hardware extraction layer refers to the handheld The system kernel (System Kernel) of the embedded device 1 00 is located in the middle layer between the operating system and the hardware. Its name may vary depending on different operating systems, such as Device Abstraction Layer (DAL), OEM extraction layer (0EM Abstraction Layer, 0AL), etc. The processing module = 3 is used to store the system information to the non-volatile memory for the handheld device 100 entering the hibernation state, and to return to f when leaving the hibernation state. The system device 100 enters the system state before the hibernation state, and the content backed up in the secondary memory 106 is restored. The detailed operation of the processing module 103 will be described with reference to FIG. 2 and FIG. 3. Fig. 2 shows a hand according to an embodiment of the invention 'And receive a sleep signal. Then, as in step S202. Production description,: should: the received sleep signal will be handheld device 2 = 1.3 mode, in the privileged mode processing module 103 can be 2 modes 100 has the right to carry out privileged access to factories.-There is a handheld device ΓΡΓ, and then, as in step S203, the processing module 103 stores the process (m content, and then, as in step 32 () 4 ^ ten counts. After that, such as

〇636·900_Ν1);隱sw.〇〇8^^^ 第9頁 ί裝置100之中斷(Interrupt)無效。注专的且1θ03致使手持 的目的在於維持系統進入休眠狀態前資==’步驟S204 以f免系統或使用者的中斷影響資料儲寇:的安全性, 591373 五 發明說明(6) :==1模组103將手持式裝置1。〇之系統資 ί盘、影像記憶趙資料、中央處理器 料等儲ΤΛ /晶片上暫存^on-chip register)之資 科等储存至非揮發性記憶體丨〇 6。 一繁如步驟S208,處理模組103將休眠旗標104設為 狀熊一真值(True),表示手持式裝置100處於休眠 使:拄ϊΐ步驟S209,處理模組103觸發一電源電路107致 肤%夺式f置100關機。此時,手持式裝置100將進入休眠 〜g q且@ S源將兀全關閉並不消耗任何系統資源與電源。 眠狀Γ:Λ 示依據本發明實施例之手持式裝置之離開休 102 —門撒瓜程。首先,如步驟8301 ’透過電源開關 接收一開機訊號❶之後,如步驟33〇2,處理模组1〇3應 :機訊號檢查休眠旗標1〇4。若休眠旗標並非為第一值〜 (τ=(步驟8303的否),代表手持式裝置1〇〇關機的原因 车4、、入休眠狀態,則如步驟S3 04,處理模組103致使 乎持式裝置1 00以正常方式開機至作業系統。 而右休眠旗標為第一值(7^1^)(步驟S3〇3的是),代表 手持式裝置100係進入休眠狀態,則如步驟S3〇5,處理模 二1 03初始化手持式裝置丨之相關硬體,並如步驟6, f理模組1〇3致使手持式裝置1〇〇之中斷無效。接著,如步 ^07至S309,處理模組1〇3由非揮發性記憶體1〇6將事先 ,,之記憶體資料、影像記憶體資料、中央處理器(cpu) 〆、日日片、、且之日日片上暫存器(〇η 一 CMp Register)資料等進行 回产。注意的是,資料回存的動作係將資料回存至相應之 0636-9008TW(Nl) ;PANI -SW-0081 -TWXX; YIANHOJ. ⑽ 第10頁 591373 ip'! yir〇636 · 900_Ν1); hidden sw.〇〇8 ^^^ page 9 The interrupt of the device 100 (Interrupt) is invalid. Note that the purpose of holding 1θ03 is to maintain the system's dormant state. == 'Step S204 To prevent the system or the user's interruption from affecting the data storage: Security, 591373 Fifth invention description (6): == 1 The module 103 will hold the handheld device 1. 〇 System data such as disks, video memory data, central processing unit data, etc. are stored in non-volatile memory. As usual in step S208, the processing module 103 sets the hibernation flag 104 to a true value (True), indicating that the handheld device 100 is in a sleep state: 拄 ϊΐStep S209, the processing module 103 triggers a power circuit 107 to cause skin damage. Snap-in f is set to 100 for shutdown. At this time, the handheld device 100 will go to sleep ~ g q and @S 源 will be completely turned off without consuming any system resources and power. The dormant shape Γ: Λ shows the departure of the handheld device according to the embodiment of the present invention. First, after receiving a power-on signal through the power switch in step 8301 ', in step 3302, the processing module 103 should check the sleep flag 104 by the machine signal. If the hibernation flag is not the first value ~ (τ = (No in step 8303), it represents the reason why the handheld device 100 is turned off. 4. The vehicle enters the hibernation state, as in step S3 04, the processing module 103 causes the The handheld device 100 is powered on to the operating system in the normal manner. The right hibernation flag is the first value (7 ^ 1 ^) (YES in step S303), which means that the handheld device 100 has entered the hibernation state. S305, the processing module II 03 initializes the relevant hardware of the handheld device, and as in step 6, the module 1003 causes the interruption of the handheld device 100 to be invalid. Then, as described in steps ^ 07 to S309 The processing module 103 is temporarily stored on the non-volatile memory 106 by the memory data, image memory data, central processing unit (CPU), day-to-day film, and day-to-day film. Device (〇η-CMp Register) data, etc. It should be noted that the action of data restoration is to restore the data to the corresponding 0636-9008TW (Nl); PANI -SW-0081 -TWXX; YIANHOJ. ⑽ 第10 pages 591373 ip '! Yir

硬體中,如記憶體資料回存至記憶體中、影像記憶體資料 回存至影像記憶體中、中央處理器與晶片組暫存器資料回 存至各自的晶片上暫存器中。 之後,如步驟S310,處理模組1〇3將休眠旗標1〇4設為 一第一值,如假值(False),表示手持式裝置1〇〇並非處於 休眠狀態,並如步驟S311,處理模組1〇3致使恢復手持式 裝置100之系統中斷有效。然後,如步驟5312,處理模組 103回存程式計數器(PC),並如步驟S313,將手持式裝置 1 0 0切換回使用者模式,在使用者模式之存取權力下使用 者方可針對手持式裝置丨00進行存取。 值知/主意的是,在本發明實施例中系統資訊儲存至非 揮發性記憶體的實際情況可以藉由下述兩例子進行說明。 第4 A圖係為顯示將系統資訊儲存至非揮發性記憶體之 實施例一示意圖。第4 A圖的例子係一以成本導向的例子。 其中’非揮發性記憶體41 〇包括一作業系統唯讀記憶體影 像(OS ROM Image)411與一閒置空間412。另外,記憶體 420中包括一例外表格(Exception Table)421、一頁面表 格(Page Table)422、一動態堆疊(Dynamic Heap)423、一 儲存堆疊(Storage Heap)424與一閒置空間(Free Space)425 〇 在此例子中,記憶體420中的資料將會儲存至非揮發 性記憶體410中的閒置空間412。至於記憶體420中的資料 是否需要壓縮與否,則必須視非揮發性記憶體41 〇之閒置 空間412與記憶體420中資料的大小而定。若非揮發性記憶In the hardware, for example, memory data is restored to the memory, image memory data is restored to the image memory, and the CPU and chipset register data are restored to the respective on-chip register. After that, in step S310, the processing module 10 sets the sleep flag 104 to a first value. If false, it indicates that the handheld device 100 is not in a sleep state, and in step S311, The processing module 103 causes the system interruption of the handheld device 100 to be resumed. Then, in step 5312, the processing module 103 stores a program counter (PC), and in step S313, the handheld device 100 is switched back to the user mode. The user can only access the user mode under the access right of the user mode. Handheld device 00 for access. It is worth knowing / idea that in the embodiment of the present invention, the actual situation where the system information is stored in the non-volatile memory 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 41' 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 Heap 423, a Storage Heap 424, and a Free Space 425 〇 In this example, the data in the memory 420 will be stored in the free space 412 in the non-volatile memory 410. Whether the data in the memory 420 needs to be compressed or not depends on the size of the free space 412 in the non-volatile memory 410 and the data in the memory 420. If non-volatile memory

0636.9008TWF(Nl);PANI-SW.W81.Tm;YIANH(XJ.ptd 第 11 頁 591373 ‘年 ί]曰 發明說明(8) Γ,10/Λ置進空Λ412大小大於與記憶體420中的資料大 ㈣再錯存。注意的是,若二2。 應Π1:;:ι縮儲存,則當資料回復時亦必須透過相 另一 #為ΐ不將系統f訊儲存至非揮發性記憶體之 ί 了中,手持式裝置謝^ 體430,用以儲之休眠專用非揮發性記憶 ^ ψ φ, a #子手持式裝置1 〇〇進入休眠狀態時所需儲存 料直ΐ储存至休眠專用非揮發性記憶體430中。 便可直i::中相:m〇中的資料不需進行壓縮 程序,因此,整體^^也不需執行相應之解壓縮 -,藉加速。 置及其操作方法,可以葬山二β二有休眠功"b之手持式裝 硬體抽取層將手持式I^ ^ ,發透過手持式裝置之 性記憶體中,並關^ ^ /胃#與系'统狀態儲存至非揮發 狀態,以實際節省手持式裝置之電=。^置進入休眠 =外,本發明更具有下述優點: 實…持裝第置足時間,確 一種安全儲存資料於手持 毛月提供使用者 因為電源耗盡等狀況而導致資料或=遺:用::::二0636.9008TWF (Nl); PANI-SW.W81.Tm; YIANH (XJ.ptd P.11 591373 'Year] Description of the invention (8) Γ, 10 / Λ put into the empty Λ412 size is larger than that in the memory 420 The data is stored incorrectly again. Note that if two 2. should be stored in 1: 1 :: 1, the data must also be stored in non-volatile memory when the data is restored. In addition, the handheld device Xie 430 is used to store the non-volatile memory dedicated to hibernation ^ ψ φ, a # Handheld device 1 〇 When the hibernation state enters the hibernation state, it is stored to the hibernation dedicated Non-volatile memory 430. That is, the data in i :: phase: m0 does not need to be compressed. Therefore, the entire ^^ does not need to perform the corresponding decompression-to speed up. Method, you can bury the second hand-loaded hardware extraction layer of the dormant power β ", and send the hand-held I ^^ through the sex memory of the hand-held device, and close the ^ ^ / 胃 # 与 系 ' The system state is stored to a non-volatile state to actually save electricity of the handheld device. In addition to entering sleep mode, the present invention has the following advantages: ... who first set foot loading time, ensure a safe to store information hand-held hair Provides users because the power goes off and other conditions caused by information or = to left: with two ::::

0636-9008TW(Nl) ;PANI -SW-0081 -TWXX; YIANHOU ptd 第12頁 125913730636-9008TW (Nl); PANI -SW-0081 -TWXX; YIANHOU ptd Page 12 12591373

充卡等裝置 五、發明說明(9) 毋需添購額外的擴 第三,本發明 需按個紐或是點選 擴充卡,操作上極 取層,毋需手持式 之製造廠商而言, 更佳的手持式裝置 雖然本發明已 限定本發明,任何 神和範圍内,當可 範圍當視後附之申 與一般備 某個電腦 為便捷。 裝置作業 可以在不 功能。 以較佳實 熟悉此項 做些許更 請專利範 份/回存程式相比,使用者僅 圖示即可執行,毋需插拔任何 第四,本發明係實施於硬體抽 系統的支援,對於手持式裝置 提面相關成本的情況下,提供 施例揭露如上,然其並非用以 技藝者,在不脫離本發明之精 動與濁飾,目此本發明之保護 圍所界定者為準。V. Card filling and other devices V. Description of the invention (9) No additional expansion is needed. Third, the present invention needs to press a button or click on the expansion card to operate the upper layer. There is no need for a handheld manufacturer. Better hand-held device Although the present invention has limited the present invention, it is convenient to regard the attached application and the general preparation of a certain computer as long as it is within any scope. Device operation can be disabled. Compared with the patent application / restore program, the user can only execute the icon without the need to plug in any fourth. The invention is implemented in the hardware pumping system. In the case of the related costs of the hand-held device, the examples are provided as above, but it is not intended to be a craftsman. Without departing from the finesse and turbidity of the present invention, the definition of the protection scope of the present invention shall prevail .

591373 ···> .也 ί·. Ά:·: χ- . 圖式簡單說明 τ令m ’【:月1之上述目的、特徵和優點能更明顯易懂, & ^ & 所附圖示,進行詳細說明如下· 丰炷々姑里々 丁依據本發明實施例之具有休眠功能之 手持式裝置之一示意圖。 第2圖係為顯示依據本發 入休眠狀態之-流程圖。 1她例之手持式裝置之進 第3圖係為顯示依撼太旅 ^ 開休眠狀態之-流程圖據本發明貫施例之手持式裝置之離 第4A圖2顯示將系統資訊儲存至 實例一不意圖。 f生圮埯趙之 第4B圖係為顯示將系統資訊儲存至 另一實施例一示意圖。 x生§己俺體之 符號說明 100〜手持式裝置; 1 01〜休眠觸發模組; 102〜電源開關; 1 03〜處理模組; 1 04〜休眠旗標; 1 〇 5〜系統資訊; 1 0 6〜非揮發性記憶體; 1 0 7〜電源電路; S201、S2〇2.....S209〜操作步 S301 'S302 .....S313〜操作步驟: 41 0〜非揮發性記憶體; " 0636-9008TWF(Nl) ;PANI-SW-〇〇8l -TiKX;YIANHOl/.ptd 第 14 頁 591373591373 ··· >. Also ί ·. Ά: ·: χ-. The diagram briefly explains τ to make m '[: The above-mentioned purpose, characteristics, and advantages of month 1 can be more clearly understood, & ^ & attached As shown in the figure, detailed description is as follows: Schematic diagram of one of the handheld devices with hibernation function according to the embodiment of the present invention. Fig. 2 is a flowchart showing a sleep state according to the present invention. 1 The example of a handheld device is shown in Figure 3. Figure 3 is a flowchart showing how to open the sleep state.-Flow chart of the handheld device according to the embodiment of the present invention. Figure 4 shows the storage of system information to the example. No intention. Fig. 4B is a schematic diagram showing storing system information to another embodiment. x 生 § The symbol of the body description 100 ~ Handheld device; 1 01 ~ Sleep trigger module; 102 ~ Power switch; 1 03 ~ Processing module; 1 04 ~ Sleep flag; 1 05 ~ System information; 1 0 6 ~ non-volatile memory; 107 ~ power circuit; S201, S2〇2 ..... S209 ~ operation steps S301'S302 ..... S313 ~ operation steps: 41 0 ~ non-volatile memory Body; " 0636-9008TWF (Nl); PANI-SW-〇〇8l -TiKX; YIANHOl / .ptd page 14 591373

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

0636-9008TW(Nl);PANI-SW-0081-TWn;YIANHOU.ptd 第 15 頁0636-9008TW (Nl); PANI-SW-0081-TWn; YIANHOU.ptd page 15

Claims (1)

591373591373 六、申請專利範圍 1· 一種具有休眠功能之手持 模組,用以接收-休眠訊ΐ 一非揮發性記憶體;以及 一處理模組,其因應該休眠訊號 至一特權模式(Privileged MQde),/儲存ζ持式裝置切換 統資訊至該非揮發性記憶體,將該休眠旗二裝置— 2 2觸發一電源電路致使該手持式裝置關; 2里如申請專利範圍第丨項所述之具有休眠功能之 式裝置,其中該處理模組係能夠使該手持式裝置之寺 (Interrupt)無效。 斷 3要如申請專利範圍第i項所述之具有休眠功能之手持 式裝置,更包括一電源開關,用以接收一開機訊號。 、4·如申請專利範圍第3項所述之具有休眠功能之手持 f裝置,其中該處理模組更因應該開機訊號檢查該休眠旗 才示’並且於若該休眠旗標為該第一值,其能夠將該非揮發 性s己憶體中之該系統資訊進行回存(Rest〇re),並將該手 持式裝置切換至使用者模式(User Mode)。 5 ·如申請專利範圍第4項所述之具有休眠功能之手持6. Scope of patent application 1. A handheld module with hibernation function for receiving-hibernation signals-a non-volatile memory; and a processing module that responds to hibernation signals to a privileged mode (Privileged MQde), / Store the ζ handheld device switching system information to the non-volatile memory, and trigger the power supply circuit of the hibernation flag two device — 2 2 to cause the handheld device to turn off; A functional device, wherein the processing module is capable of invalidating the Interrupt of the handheld device. Off 3 The handheld device with a sleep function as described in item i of the patent application scope further includes a power switch for receiving a start signal. 4. The handheld f device with a hibernation function as described in item 3 of the scope of the patent application, wherein the processing module displays the hibernation flag in response to a power-on signal, and if the hibernation flag is the first value , It can restore the system information in the non-volatile memory, and switch the handheld device to User Mode. 5 · Handheld with hibernation function as described in item 4 of the scope of patent application 式裝置’其中該處理模組更包括初始化該手持式裝置之硬 體0 6 ·如申請專利範圍第4項所述之具有休眠功能之手持 式裝置,其中該處理模組係能夠於回存該系統資訊之前, 致使該手持式裝置之中斷(Interrupt)無效。"The processing module further includes hardware for initializing the handheld device. 0 · The handheld device with a hibernation function as described in item 4 of the patent application scope, wherein the processing module is capable of storing the Before the system information, the interruption of the handheld device is invalidated. 591373 敷 年 $ 六、申請專利範圍 ---- 7·如申請專利範圍第6項所述之具有休眠功能之手持 式裝置,其中該處理模组更包栝於回存該系統資訊之後, 致使该手持式裝置之中斷(Interrupt)有效。 8·如申請專利範圍第4項所述之具有休眠功能之手持 式裝置,其中該處理模組係能夠於若該休眠旗標並非為該 第一值時,致使該手持式裝置進行正常開機。 / 9·如申請專利範圍第1項所述之具有休眠功能之手持 式裝置,其中該系統資訊包括該手持式裝置之記憶 、 (RAM)資料。 " 休眠功能之手持 置之影像記憶體591373 $ 6. Patent application scope ---- 7. The handheld device with hibernation function as described in item 6 of the patent application scope, wherein the processing module is more involved in retrieving the system information, resulting in The interrupt of the handheld device is effective. 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 hibernation function as described in item 1 of the scope of patent application, wherein the system information includes the memory and (RAM) data of the handheld device. " Hibernation Function Video Memory 1 0 ·如申請專利範圍第1項所述之具有 式裝置’其中該系統資訊包括該手持式裝 (Video RAM)資料。 11 ·如申請專利範圍第丨項所述之具有休眠功能之手 式裝置,其中該系統資訊包括該手持式裝置之中央處理器 或晶片組之晶片上暫存器(0n一Chip Register)的資料。° 12·如申請專利範圍第丨項所述之具有休眠功能之手 式裝置,其中該系統資訊包括該手持式裝置之程式計數哭 (Program Counter)資料。 口"1 0 The device with a device as described in item 1 of the scope of the patent application, wherein the system information includes the data of the handheld device (Video RAM). 11 · A hand-held device with a hibernation function as described in item 丨 of the scope of patent application, wherein the system information includes data on a chip register (0n-Chip Register) of the central processing unit or chipset of the handheld device . ° 12: A hand-held device with a sleep function as described in item 丨 of the scope of patent application, wherein the system information includes Program Counter data of the hand-held device. Mouth " 13.如申請專利範圍第丨項所述之具有休眠功能之 式裝置,其中該休眠觸發模組係為設置於該手持式卜 之一按鍵。 、夏上 之具有休眠功能之手持 軟體程式。 之具有休眠功能之手持 1 4 ·如申請專利範圍第1項所述 式裝置,其中該休眠觸發模組為— 15·如申請專利範圍第1項所述13. The device with a hibernation function as described in item 丨 of the patent application scope, wherein the hibernation triggering module is a key set on the handheld phone. , Xia Shang's handheld software program with sleep function. The hand-held device with sleep function 1 4 · The device described in item 1 of the patent application scope, wherein the sleep trigger module is -15 · as described in item 1 of the patent application scope 式裝置,其中該非揮發性記憶體為一快閃記憶體(Flash Memory)或一電子可抹除程式化唯讀記憶體(EEpR〇M)。 16.如申請專利範圍第1項所述之具有休眠功能之手持 式裝置,其中該處理模組係建置於該手持式裝置之系統核 心(System Kernel)中。 1 7 · —種具有休眠功能之手持式裝置之操作方法,包 括下列步驟: 接收一休眠訊號; 因應該休眠訊號以一處理模組將該手持式裝置切換至 一特權模式(Privileged Mode); 儲存該手持式裝置之一系統資訊至一非揮發性記憶 體; 〜 將一休眠旗標設為一第一值;以及 觸發一電源電路致使該手持式裝置關機。 、1 8·如申請專利範圍第丨7項所述之具有休眠功能之手 持式裳置之操作方法,更包括以該處理模組致使該手持 裝置之中斷(interrupt)無效。 、1 9.如申請專利範圍第丨7項所述之具有休眠功能之手 持式裝置之操作方法,更包括接收一開機訊號以啟動該 持式裝置。 20·如申請專利範圍第丨9項所述之具有休眠功能之手 持式裝置之操作方法,更包括下列步驟: 因應該開機訊號以該處理模組檢查該休眠旗標;以及 •若該休眠旗標為該第一值,則將該非揮發性記憶體中Type device, wherein the non-volatile memory is a flash memory (Flash Memory) or an electronic erasable programmable read-only memory (EEpROM). 16. The handheld device with a hibernation function as described in item 1 of the scope of the patent application, wherein the processing module is built in the system kernel of the handheld device. 1 7 · —A method for operating a handheld device with a hibernation function, including the following steps: receiving a hibernation signal; switching the handheld device to a privileged mode with a processing module in response to the hibernation signal; saving One of the handheld devices has system information to a non-volatile memory; a sleep flag is set to a first value; and a power circuit is triggered to cause the handheld device to shut down. 1.18. The operation method of the hand-held device with hibernation function as described in item 7 of the scope of the patent application, further including invalidating the interruption of the handheld device with the processing module. 19. The method for operating a handheld device with a sleep function as described in item 7 of the scope of the patent application, further comprising receiving a start-up signal to activate the handheld device. 20. The method for operating a handheld device with a sleep function as described in item 9 of the scope of the patent application, further including the following steps: Check the sleep flag with the processing module in response to the power-on signal; and • if the sleep flag Marked as the first value, the non-volatile memory 修 591373 飛:|換.sRepair 591373 fly: | change.s 六 申請專利範圍 之該系統資訊進行回#(Rest〇re),並將該手持式裝置切 換至使用者模式(User Mode)。 2 1 ·如申請專利範圍第2 0項所述之具有休眠功能之手 持式裝置之操作方法,更包括以該處理模組初始化該手持 式裝置之硬體。 、2 2 ·如申請專利範圍第2 0項所述之具有休眠功能之手 持式裝置之操作方法,更包括於回存該系統資訊之前,以 該處理模組致使該手持式裝置之中斷(Interrupt)無效。 23·如申請專利範圍第22項所述之具有休眠功能之手 持式裝置之操作方法,更包括於回存該系統資訊之後,以 該處理模組致使該持式裝置之中斷(Interrupt)有效。 24·如申請專利範圍第2〇項所述之具有休眠功能之手 持式裝置之操作方法,更包括若該休眠旗標並非為該第— 值’則以該處理模組致使該手持式裝置進行正常開機。 25·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該系統資訊包括該手持式裝 之記憶體(RAM)資料。 、 26·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該系統資訊包括該手持式裝 之影像記憶體(V i de〇 RAM)資料。 、2 7 ·如申清專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該系統資訊包括該手持式装 之中央處理器以及晶片組之晶片上暫存器(〇n一chip Register)資料。 Ian 0636.9008™F(N1) ;PANI-SW-0081 -TO(X;YIANHOU.ptd 第 19 頁6. The system information of patent application scope is returned to # (Rest〇re), and the handheld device is switched to User Mode. 2 1 · The operation method of a handheld device with a sleep function as described in item 20 of the scope of patent application, further including initializing the hardware of the handheld device with the processing module. 2 2 · The operation method of the handheld device with hibernation function as described in item 20 of the scope of the patent application, further includes causing the handheld device to be interrupted by the processing module before retrieving the system information (Interrupt )invalid. 23. The method for operating a handheld device with a hibernation function as described in item 22 of the scope of patent application, further comprising, after storing the system information, using the processing module to cause the interruption of the handheld device to be effective. 24. The method for operating a handheld device with a hibernation function as described in item 20 of the scope of patent application, further comprising, if the hibernation flag is not the first value, the processing module is used to cause the handheld device to perform Turn on normally. 25. The method of operating a handheld device with a hibernation function as described in item 17 of the scope of the patent application, wherein the system information includes memory (RAM) data of the handheld device. 26. The method for operating a handheld device with a hibernation function as described in item 17 of the scope of patent application, wherein the system information includes data of the handheld device's video memory (Vi de RAM). 2, 27 · The operating method of a handheld device with a hibernation function as described in item 17 of the patent claim, wherein the system information includes the central processor of the handheld device and the on-chip register of the chipset ( 〇n a chip Register) data. Ian 0636.9008 ™ F (N1); PANI-SW-0081 -TO (X; YIANHOU.ptd page 19 59137a 28·如申請專利範圍第1 7項所述之具有休眠功能之手 、式裝置之操作方法,其中該系統資訊包括該手持式裝置 程式计數器(Program Counter)資料。 2 9 ·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該休眠訊號係透過一休眠觸發 模組接收。 30·如申請專利範圍第29項所述之具有休眠功能之手 持式褒置之操作方法,其中該休眠觸發模組為設置於該手 持式裝置上之一按鍵。 31 ·如申請專利範圍第29項所述之具有休眠功能之手 持式裝置之操作方法,其中該休眠觸發模組為一軟體程 式。 3 2 ·如申請專利範圍第1 7項所述之具有休眠功能之手 持式裝置之操作方法,其中該非揮發性記憶體為一快閃記 憶體(Flash Memory)或一電子可抹除程式化唯讀記憶體 (EEPR0M)。 〜 33·如申請專利範圍第丨7項所述之具有休眠功能之手 持式裝置之操作方法,其中該處理模組係建置於該手持式 裝置之一系統核心(System Kernel)中。59137a 28. The operation method of the hand-held device with hibernation function as described in item 17 of the scope of patent application, wherein the system information includes the program counter data of the handheld device. 2 9 · The operation method of the handheld device with hibernation function as described in item 17 of the scope of patent application, wherein the hibernation signal is received through a hibernation trigger module. 30. The method of 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 sleep function as described in item 29 of the scope of the patent application, wherein the sleep trigger module is a software program. 3 2 · The operating method of the handheld device with hibernation function as described in item 17 of the scope of patent application, wherein the non-volatile memory is a flash memory or an electronic erasable programmable memory. Read memory (EEPR0M). ~ 33. The method for operating a handheld device with a hibernation function as described in item 7 of the patent application scope, wherein the processing module is built into a system kernel of the handheld device. 0636.9008TW(N1) ;PANI -SW-0081 -TWH; YIANHOU.ptd 第20頁0636.9008TW (N1); PANI -SW-0081 -TWH; YIANHOU.ptd page 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 TW200407701A (en) 2004-05-16
TW591373B true 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8281171B2 (en) 2005-11-17 2012-10-02 Via Technologies, Inc. Adjustment of power-saving strategy depending on working state of CPU
TWI399637B (en) * 2009-09-22 2013-06-21 Nat Univ Chung Cheng Fast switch machine method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8281171B2 (en) 2005-11-17 2012-10-02 Via Technologies, Inc. Adjustment of power-saving strategy depending on working state of CPU
TWI399637B (en) * 2009-09-22 2013-06-21 Nat Univ Chung Cheng Fast switch machine method

Also Published As

Publication number Publication date
TW200407701A (en) 2004-05-16

Similar Documents

Publication Publication Date Title
EP2581826B1 (en) Method and device for cold starting android mobile terminal
AU685455B2 (en) Desktop computer system having multi-level power management
EP0636978B1 (en) Desktop computer system having system suspend
US5577220A (en) Method for saving and restoring the state of a CPU executing code in protected mode including estimating the value of the page table base register
CN105122262B (en) Redundant system guidance code in auxiliary non-volatile memories
EP0635778B1 (en) Desktop computer having a single-switch suspend/resume function
US20120284551A1 (en) Deep standby method and device for embedded system
JPH077317B2 (en) System restart device
US8984316B2 (en) Fast platform hibernation and resumption of computing systems providing secure storage of context data
US7747886B1 (en) Management of power states in a portable computing device
US9619015B2 (en) Implementing a power off state in a computing device
CN113703799B (en) Computing device and BIOS updating method and medium thereof
TW201525869A (en) System and method for dual OS memory switching
WO2020093868A1 (en) Multi-core chip, system and method therefor, and storage medium
CN106775609A (en) System and method for reducing dormancy and recovery time
WO2011017877A1 (en) Mobile terminal and method for displaying key information thereof
TW591373B (en) Handheld device having sleep function and the operating method thereof
JP2003085041A (en) Disc cache system
US20130166852A1 (en) Method for hibernation mechanism and computer system therefor
CN1504859A (en) Hand held apparatus having sleep function and operating method thereof
TWI284831B (en) Computer system and security method therefor
KR20030060342A (en) Booting method for personal digital assistant
JP4265104B2 (en) Information terminal device, system off processing method thereof, and program thereof
US8225056B2 (en) Method for protecting data and method for managing access authority
JPH06175746A (en) Information processor

Legal Events

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