TW201602780A - Electronic apparatus and control method thereof - Google Patents

Electronic apparatus and control method thereof Download PDF

Info

Publication number
TW201602780A
TW201602780A TW103122874A TW103122874A TW201602780A TW 201602780 A TW201602780 A TW 201602780A TW 103122874 A TW103122874 A TW 103122874A TW 103122874 A TW103122874 A TW 103122874A TW 201602780 A TW201602780 A TW 201602780A
Authority
TW
Taiwan
Prior art keywords
electronic device
wake
processor
sleep state
microcontroller
Prior art date
Application number
TW103122874A
Other languages
Chinese (zh)
Inventor
聶劍揚
Original Assignee
宏碁股份有限公司
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 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW103122874A priority Critical patent/TW201602780A/en
Publication of TW201602780A publication Critical patent/TW201602780A/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

An electronic apparatus and a control method thereof are provided. The electronic apparatus includes at least one optical disc drive, a network interface module, a micro-controller, and a processor. In the control method, a wake event is monitored by the micro-controller in which the electronic apparatus is in a sleep mode. A connection mode is determined whether is configured on the micro-controller, wherein the connection mode is used for maintaining a connection with a network through the network interface module by the processor. When the connection mode is configured on the micro-controller and before the electronic apparatus is waked up by the processor according to the wake event, the at least one optical disc drive is disabled by the micro-controller.

Description

電子裝置及其控制方法 Electronic device and control method thereof

本發明是有關於一種電子裝置及其控制方法,且特別是有關於一種當啟動連線模式時控制光碟機電源狀態的電子裝置及其控制方法。 The present invention relates to an electronic device and a control method thereof, and more particularly to an electronic device for controlling a power state of an optical disk drive when a connection mode is activated and a control method thereof.

雲端技術係透過網際網路(Internet)並利用快速運算能力以及龐大儲存能力,其可在個人電腦、平板、智慧型手機等電子裝置之雲算及儲存能力有限的情況下,透過網路取得遠端的運算資源、儲存資源或服務。舉例而言,現有的雲端服務可讓使用者透過雲端系統,相互連接使用個人電腦、平板、智慧型手機等電子裝置,以在裝置間分享或管理各項電子裝置中的資源。 The cloud technology system uses the Internet and utilizes fast computing power and huge storage capacity. It can achieve far-reaching access to the Internet through limited computing and storage capabilities of electronic devices such as personal computers, tablets, and smart phones. End computing resources, storage resources or services. For example, the existing cloud service allows users to connect to each other through a cloud system to use electronic devices such as personal computers, tablets, and smart phones to share or manage resources in various electronic devices.

一般而言,電子裝置通常會具備多種電源管理模式,當位於遠端的電子裝置處於永遠開機隨時連線(Always on always connected;AOAC)或連網待機(Connected Standby)模式時,遠端電子裝置可隨時準備服務雲端系統所提出存取資料的要求。然而,考量於花費及硬體支援,多數的個人電腦、筆記型電腦等電 子裝置並不具備連網待機模式。因此,雲端系統需要透過網路喚醒處於休眠狀態(例如,進階組態與電源介面(Advanced Configuration and Power Interface;ACPI)標準中的S3休眠狀態)的電子裝置,以存取這類不具備連網待機模式的電子裝置的資料。在上述透過網路喚醒的連線模式情況下,在喚醒的過程中,電子裝置中的光碟機(optical disc drive)會啟動且作業系統(Operating System;OS)會讀取光碟機。此外,使用者通常是並未身在遠端電子裝置周圍,才會透過雲端系統來存取遠端電子裝置的資料。然而,光碟機運作所發出的吵雜聲響,對於位於遠端電子裝置周圍不知情的人員而言,將造成相當大的困擾。 Generally, an electronic device usually has multiple power management modes, and the remote electronic device is in an Always On Always Connect (AOAC) or Connected Standby mode when the remotely located electronic device is in an Always On Always Connect (AOAC) or Connected Standby mode. The requirements for accessing data submitted by the cloud system can be prepared at any time. However, considering the cost and hardware support, most personal computers, notebook computers, etc. The child device does not have a network standby mode. Therefore, the cloud system needs to wake up the electronic device that is in a dormant state (for example, the S3 sleep state in the Advanced Configuration and Power Interface (ACPI) standard) through the network to access such a non-connected network. Information on the electronic device in the network standby mode. In the above-mentioned connection mode of waking up through the network, during the wake-up process, the optical disc drive in the electronic device is activated and the operating system (OS) reads the optical disk drive. In addition, the user usually does not be in the vicinity of the remote electronic device to access the data of the remote electronic device through the cloud system. However, the loud noise of the operation of the optical disc drive will cause considerable trouble for those who are not aware of the remote electronic device.

本發明提供一種電子裝置及其控制方法,其可依據喚醒事件及連線模式切換光碟機至關閉狀態,以使得電子裝置周圍的人員不會受到光碟機運作所產生的吵雜聲響而造成困擾。 The invention provides an electronic device and a control method thereof, which can switch the optical disk drive to a closed state according to the wake-up event and the connection mode, so that the people around the electronic device are not troubled by the noisy sound generated by the operation of the optical disk drive.

本發明提出一種電子裝置的控制方法,其中電子裝置包括光碟機(optical disc drive),此控制方法包括下列步驟。在電子裝置處於休眠狀態下,監視喚醒事件(wake event)。判斷電子裝置是否已被設定為連線模式。當電子裝置已被設定為連線模式時且在電子裝置依據喚醒事件自休眠狀態喚醒前,禁能光碟機。 The present invention provides a control method of an electronic device, wherein the electronic device includes an optical disc drive, and the control method includes the following steps. The wake event is monitored while the electronic device is in a sleep state. It is judged whether the electronic device has been set to the connection mode. The optical disk drive is disabled when the electronic device has been set to the connection mode and before the electronic device wakes up from the sleep state according to the wake-up event.

本發明提出一種電子裝置,此電子裝置包括光碟機、網路介面模組、微控制器(micro-controller)及處理器。微控制器耦 接於光碟機及網路介面模組,且處理器耦接於微控制器、光碟機及網路介面模組。其中,在電子裝置處於休眠狀態下,微控制器監視喚醒事件,微控制器判斷是否已被設定為連線模式,其中處理器利用連線模式而透過網路介面模組與網路維持連線,當微控制器已被設定為連線模式時且在處理器依據喚醒事件將電子裝置自休眠狀態喚醒前,微控制器禁能所述光碟機。 The invention provides an electronic device comprising an optical disk drive, a network interface module, a micro-controller and a processor. Microcontroller coupling Connected to the optical disk drive and the network interface module, and the processor is coupled to the microcontroller, the optical disk drive and the network interface module. Wherein, when the electronic device is in a sleep state, the microcontroller monitors the wake-up event, and the microcontroller determines whether it has been set to the connection mode, wherein the processor maintains the connection with the network through the network interface module by using the connection mode. The microcontroller disables the optical disk drive when the microcontroller has been set to the wired mode and before the processor wakes up the electronic device from the sleep state according to the wake-up event.

基於上述,本發明實施例可藉由微控制器監控喚醒事件並判斷是否已被設定為連線模式,以切斷光碟機的電源,處理器再依據喚醒事件喚醒電子裝置。藉此,當使用者透過雲端系統存取位於遠端的電子裝置的資料時,便無須擔心光碟機運作所發出的吵雜聲響影響到周遭不知情的人員。 Based on the above, the embodiment of the present invention can monitor the wake-up event by the microcontroller and determine whether it has been set to the connection mode to cut off the power of the optical disk drive, and the processor wakes up the electronic device according to the wake-up event. In this way, when the user accesses the data of the remotely located electronic device through the cloud system, there is no need to worry about the noise of the operation of the optical disk drive affecting the unsuspecting people around.

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

110‧‧‧智慧型手機 110‧‧‧Smart Phone

S111~S119、S410~S450、S610~S695、S710~S790‧‧‧步驟 S111~S119, S410~S450, S610~S695, S710~S790‧‧‧ steps

130‧‧‧伺服器 130‧‧‧Server

140‧‧‧網際網路 140‧‧‧Internet

150‧‧‧家 150‧‧‧ home

170‧‧‧網路連接器 170‧‧‧Network connector

190‧‧‧筆記型電腦 190‧‧‧Note Computer

200‧‧‧電子裝置 200‧‧‧Electronic devices

210‧‧‧光碟機 210‧‧‧CD player

230‧‧‧網路介面模組 230‧‧‧Network Interface Module

250‧‧‧微控制器 250‧‧‧Microcontroller

270‧‧‧處理器 270‧‧‧ processor

590‧‧‧電源控制器 590‧‧‧Power Controller

595‧‧‧開關 595‧‧‧Switch

R1、R2‧‧‧電阻 R1, R2‧‧‧ resistance

圖1是依據本發明一實施例說明瞬間喚醒隨時連線的架構圖。 FIG. 1 is a block diagram showing an instant wake-up connection at any time according to an embodiment of the invention.

圖2是依據本發明一實施例說明一種電子裝置的方塊圖。 2 is a block diagram showing an electronic device in accordance with an embodiment of the invention.

圖3A及圖3B是依據本發明一實施例說明透過通用序列匯流排介面連接的光碟機的示意圖。 3A and 3B are schematic diagrams showing an optical disk drive connected through a universal serial bus interface according to an embodiment of the invention.

圖4是依據本發明一實施例說明一種電子裝置的控制方法的 流程圖。 FIG. 4 is a diagram illustrating a method of controlling an electronic device according to an embodiment of the invention. flow chart.

圖5A及圖5B是依據本發明一實施例說明微控制器控制光碟機的示意圖。 5A and 5B are schematic diagrams illustrating a microcontroller controlling an optical disk drive according to an embodiment of the invention.

圖6是依據本發明一實施例說明電子裝置的控制方法的流程圖。 FIG. 6 is a flow chart illustrating a method of controlling an electronic device according to an embodiment of the invention.

圖7是依據本發明一實施例說明電子裝置的控制方法的流程圖。 FIG. 7 is a flow chart illustrating a method of controlling an electronic device according to an embodiment of the invention.

為了讓使用者可透過雲端系統存取不具備連網待機(Connected Standby)模式的個人電腦、筆記型電腦等裝置的資料,雲端系統可透過網路喚醒處於休眠狀態(例如,進階組態與電源介面(Advanced Configuration and Power Interface;ACPI)標準中的S3狀態)的電子裝置。舉例而言,瞬間喚醒隨時連線(Instant on always connected;IOAC)模式便能透過雲端系統來喚醒這類不具備連網待機模式的電子裝置,以存取電子裝置的資料。 In order to allow users to access data of PCs, notebooks, etc. that do not have Connected Standby mode through the cloud system, the cloud system can be hibernated via the network (for example, advanced configuration and Electronic device in the S3 state in the Advanced Configuration and Power Interface (ACPI) standard. For example, Instant On always connected (IOAC) mode can wake up such electronic devices that do not have a connected standby mode through the cloud system to access data of the electronic device.

具體而言,圖1是依據本發明一實施例說明瞬間喚醒隨時連線(IOAC)的架構圖。請參照圖1,此架構圖中包括智慧型手機110、伺服器130、網際網路140及家150,且家150中有網路連接器170及筆記型電腦190,其中網路連接器170是具備無線保真(Wireless Fidelity;WiFi)及區域網路(Local Area Network;LAN)網路連線技術,其可透過網際網路140與伺服器130連接 且經由有線或無線連接的方式與筆記型電腦190連接。即,筆記型電腦190係透過網路連接器170連接至網際網路140。 In particular, FIG. 1 is a block diagram illustrating an Instantaneous Wake-up Connection (IOAC) in accordance with an embodiment of the present invention. Referring to FIG. 1 , the architecture diagram includes a smart phone 110 , a server 130 , an internet 140 , and a home 150 . The home 150 has a network connector 170 and a notebook computer 190 . The network connector 170 is Wireless Fidelity (WiFi) and Local Area Network (LAN) network connection technology, which can be connected to the server 130 via the Internet 140 And connected to the notebook 190 via a wired or wireless connection. That is, the notebook computer 190 is connected to the Internet 140 via the network connector 170.

當筆記型電腦190處於例如是S3休眠狀態時,網路連接器170每隔一段時間(例如,1000毫秒、1500毫秒等)會經由網際網路140發送特定持續(keep-alive)使用者資料包協定(user datagram protocol;UDP)封包(packet)(例如,使用者定義持續封包(Keep-alive with user defined packet)等)至伺服器130(步驟S111),以使伺服器130認為其與筆記型電腦190之間保持連通狀態,且可經由步驟S111所建立的連線喚醒筆記型電腦190以存取資料。在其他實施例中,筆記型電腦190亦可每隔一段時間(例如,30秒、45秒等)而透過網路連接器170發送特定的持續(keep-alive)UDP封包(packet)至伺服器130(步驟S113)。當智慧型手機110接收到使用者對於筆記型電腦190的資料存取要求的操作時,智慧型手機110便會發送資料存取要求封包至伺服器130(步驟S115)。接著,伺服器130經由步驟S111所建立的連線傳送特定的喚醒(Wake up)封包(例如,喚醒延伸/短魔術封包(wake on extended/short magic packet)等)至網路連接器170(步驟S117),網路連接器170再將此喚醒封包或依據筆記型電腦190的媒體存取控制(media access control;MAC)位址轉換的另一喚醒封包(例如,區域網路喚醒(Wake-on-Local Area Network;Wake-on-LAN)魔術封包等)傳送至筆記型電腦190(步驟S119),筆記型電腦190便觸發喚醒事件而自S3休眠狀態中喚醒。最後, 智慧型手機110便能透過伺服器130取得使用者所要求位於筆記型電腦190的資料。 When the notebook 190 is in the S3 sleep state, for example, the network connector 170 transmits a specific keep-alive user profile via the Internet 140 at intervals (eg, 1000 milliseconds, 1500 milliseconds, etc.). A user datagram protocol (UDP) packet (for example, a user-defined persistent packet (Keep-alive with user defined packet), etc.) to the server 130 (step S111), so that the server 130 considers it to be a notebook type The computer 190 is kept in communication state, and the notebook computer 190 can be woken up via the connection established in step S111 to access the data. In other embodiments, the notebook computer 190 can also send a specific keep-alive UDP packet to the server through the network connector 170 at intervals (eg, 30 seconds, 45 seconds, etc.). 130 (step S113). When the smart phone 110 receives the user's operation for the data access request of the notebook computer 190, the smart phone 110 sends a data access request packet to the server 130 (step S115). Next, the server 130 transmits a specific wake-up packet (for example, wake on extended/short magic packet, etc.) to the network connector 170 via the connection established in step S111 (step S117), the network connector 170 then another wake-up packet or another wake-up packet according to the media access control (MAC) address of the notebook 190 (for example, Wake-on) The -Local Area Network; Wake-on-LAN) is transmitted to the notebook computer 190 (step S119), and the notebook computer 190 triggers the wake-up event and wakes up from the S3 sleep state. At last, The smart phone 110 can obtain the data requested by the user on the notebook computer 190 through the server 130.

一般而言,筆記型電腦190自S3休眠狀態喚醒後,當筆記型電腦190配備光碟機時,其光碟機會隨之啟動,且作業系統(例如,Windows、MAC OS、Linux等)亦會讀取光碟機。光碟機在運作的過程中,會發出擾人的聲響,此現象將造成周遭人員的困擾。為了使上述瞬間喚醒隨時連線模式在存取遠端電子裝置(例如,圖1的筆記型電腦190)的資料的過程中,不打攪到筆記型電腦190周圍不知情的人員,本發明實施例便是透過微控制器(micro-controller)來判斷喚醒事件及連線模式,以決定是否將其具備的光碟機電源切斷。藉此,使用者透過雲端系統(例如,圖1的伺服器130)存取遠端電子裝置(例如,圖1的筆記型電腦190)的資料時,便無須擔心光碟機運作而發出的吵雜聲響影響到周遭不知情的人員。以下提出符合本發明之精神的多個實施例,應用本實施例者可依其需求而對這些實施例進行適度調整,而不僅限於下述描述中的內容。 In general, after the notebook computer 190 wakes up from the S3 sleep state, when the notebook computer 190 is equipped with a CD player, the optical disk drive is started, and the operating system (for example, Windows, MAC OS, Linux, etc.) is also read. CD player. During the operation of the CD player, it will make a disturbing sound, which will cause trouble to the surrounding people. In order to make the above-mentioned instant wake-up connection mode in the process of accessing the data of the remote electronic device (for example, the notebook computer 190 of FIG. 1), without disturbing the uninformed person around the notebook computer 190, the embodiment of the present invention The micro-controller is used to determine the wake-up event and the connection mode to determine whether to turn off the power of the optical disk drive that it has. Therefore, when the user accesses the data of the remote electronic device (for example, the notebook computer 190 of FIG. 1) through the cloud system (for example, the server 130 of FIG. 1), the user does not have to worry about the operation of the optical disk drive. The sound affects people who are not known around. A plurality of embodiments in accordance with the spirit of the present invention are set forth below, and those applying the present embodiment can be appropriately adjusted according to their needs, and are not limited to the contents described in the following description.

圖2是依據本發明一實施例說明一種電子裝置的方塊圖。請參照圖2,電子裝置200包括光碟機210、網路介面模組230、微控制器250及處理器270。電子裝置200可以是個人電腦、筆記型電腦(例如,圖1的筆記型電腦190)等電子裝置。 2 is a block diagram showing an electronic device in accordance with an embodiment of the invention. Referring to FIG. 2 , the electronic device 200 includes a CD player 210 , a network interface module 230 , a microcontroller 250 , and a processor 270 . The electronic device 200 may be an electronic device such as a personal computer or a notebook computer (for example, the notebook computer 190 of FIG. 1).

光碟機210例如是支援數位多功能光碟(digital versatile disk;DVD)、緊密光碟(compact disk;CD)、藍光光碟(Blu-ray disk;BD)等光碟技術其中之一或其組合的光學讀取或燒錄裝置。在圖2中以一台光碟機210為例,在其他實施例中,電子裝置200可同時具備數台(例如,2個、3個等)光碟機,在此不設限。處理器270可透過例如是通用序列匯流排(universal serial bus;USB)、序列先進技術連接(Serial Advanced Technology Attachment;SATA)、整合驅動電子(Integrated Drive Electronics;IDE)等傳輸介面與光碟機210連接,或者處理器270亦可透過支援上述傳輸介面的集線器(hub)與光碟機210連接,且光碟機210可內建或外接於電子裝置200,在此不設限。 The optical disk drive 210 supports, for example, a digital versatile disk (DVD), a compact disk (CD), and a Blu-ray disk (Blu-ray). Optical reading or burning device of one or a combination of optical disk technologies such as disk; BD). In FIG. 2, an optical disk drive 210 is taken as an example. In other embodiments, the electronic device 200 can simultaneously have several (for example, two, three, etc.) optical disk drives, which are not limited herein. The processor 270 can be connected to the optical disk drive 210 through a transmission interface such as a universal serial bus (USB), a Serial Advanced Technology Attachment (SATA), or an integrated drive electronics (IDE). The processor 270 can also be connected to the optical device 210 through a hub that supports the transmission interface, and the optical disk drive 210 can be built in or externally connected to the electronic device 200, which is not limited herein.

在本實施例中,處理器270透過USB介面與光碟機210連接。請參照表(1),在現行USB標準中,具有USB 3.0、USB 2.0、USB 1.1及USB 1.0等不同版本,各版本的頻寬與速度不盡相同,且各版本可向下相容(例如,USB 3.0可相容於USB 2.0、USB 1.1及USB 1.0)。 In this embodiment, the processor 270 is connected to the optical disk drive 210 via a USB interface. Please refer to Table (1). In the current USB standard, there are different versions of USB 3.0, USB 2.0, USB 1.1 and USB 1.0. The bandwidth and speed of each version are different, and each version can be backward compatible (for example , USB 3.0 is compatible with USB 2.0, USB 1.1 and USB 1.0).

此外,圖3A及圖3B是依據本發明一實施例說明透過USB介面連接的光碟機210的示意圖。請先參照圖3A,當USB介面中資料+(DATA+;D+)連接於上拉(pull up)(例如,供以3.3伏特(Voltage;V))電阻R1(例如,電阻值為15K±5%歐姆(Ohm;Ω))時,處理器270會偵測到光碟機210為高速USB裝置。另一方面,請參照圖3B,當USB介面中資料-(DATA-;D-)連接於上拉(例如,供以3.3伏特(V))電阻R2(例如,電阻值為15K±5%歐姆(Ohm;Ω))時,處理器270會偵測到光碟機210為低速USB裝置。在其他實施例中,電子裝置200亦可透過USB集線器來偵測光碟機210的傳輸速度。 In addition, FIG. 3A and FIG. 3B are schematic diagrams illustrating an optical disk drive 210 connected through a USB interface according to an embodiment of the invention. Referring first to FIG. 3A, when the data +(DATA+;D+) in the USB interface is connected to pull up (for example, 3.3 volts (V)) resistor R1 (for example, the resistance value is 15K±5%). In the case of ohms (Ohm; Ω), the processor 270 detects that the optical disk drive 210 is a high speed USB device. On the other hand, please refer to FIG. 3B, when the data in the USB interface - (DATA -; D -) is connected to the pull-up (for example, 3.3 volt (V)) resistor R2 (for example, the resistance value is 15K ± 5% ohms). (Ohm; Ω)), the processor 270 detects that the optical disk drive 210 is a low speed USB device. In other embodiments, the electronic device 200 can also detect the transmission speed of the optical disk drive 210 through a USB hub.

網路介面模組230例如是支援WiFi標準或其他具備無線傳輸功能的任何類型無線網路介面模組或是支援乙太網路(Ethernet)、光纖(optical fiber)或其他具備有線傳輸功能的任何類型的有線網路介面模組。在本實施例中,電子裝置200可藉 由網路介面模組230而透過圖1的網路連接器170與圖1的伺服器130進行通訊。 The network interface module 230 is, for example, supporting any type of wireless network interface module with WiFi standard or other wireless transmission function, or supporting any Ethernet, optical fiber or other wired transmission function. Type of wired network interface module. In this embodiment, the electronic device 200 can borrow The network interface module 230 communicates with the server 130 of FIG. 1 through the network connector 170 of FIG.

微控制器250例如是嵌入式控制器(Embedded Controller;EC)、電源管理積體電路(Power Management Integrated Circuit;PMIC)等控制器,其耦接於光碟機210及網路介面模組230。在本實施例中,微控制器250可傳送軟體(software;SW)指令(command)或控制微控制器250所具備的通用輸入輸出(general purpose input/output;GPIO)中的控制腳位(pin)其中之一或其組合來控制光碟機210的電源狀態,詳細說明請參照後續實施例。 The controller 250 is, for example, an embedded controller (EC), a power management integrated circuit (PMIC), and the like, and is coupled to the optical disk drive 210 and the network interface module 230. In this embodiment, the microcontroller 250 can transmit a software (SW) command or control a control pin in the general purpose input/output (GPIO) of the microcontroller 250 (pin). One of them or a combination thereof controls the power state of the optical disk drive 210. For details, refer to the subsequent embodiments.

處理器270耦接於光碟機210、網路介面模組230及微控制器250,其中處理器270與光碟機210的耦接方式可參照前述光碟機說明以及圖3A及圖3B,於此不再贅述。處理器270可以是中央處理器(Central Processing Unit;CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor;DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit;ASIC)、系統單晶片(system on chip;SoC)或其他類似元件或上述元件的組合。 The processor 270 is coupled to the optical disk drive 210, the network interface module 230, and the microcontroller 250. The coupling manner of the processor 270 and the optical disk drive 210 can be referred to the description of the optical disk drive and FIG. 3A and FIG. 3B. Let me repeat. The processor 270 can be a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), programmable A controller, an Application Specific Integrated Circuit (ASIC), a system on chip (SoC), or the like, or a combination of the above.

圖4是依據本發明一實施例說明一種電子裝置200的控制方法的流程圖。請參照圖4,本實施例的控制方法適用於圖2的電子裝置200。下文中,將搭電子裝置200中的各項模組及元件 說明本發明實施例所述之控制方法。本方法的各個流程可依照實施情形而隨之調整,且並不僅限於此。 FIG. 4 is a flow chart illustrating a method of controlling an electronic device 200 according to an embodiment of the invention. Referring to FIG. 4, the control method of the present embodiment is applied to the electronic device 200 of FIG. Hereinafter, each module and component in the electronic device 200 will be mounted. A control method according to an embodiment of the present invention is described. The various processes of the method can be adjusted accordingly according to the implementation situation, and are not limited thereto.

在步驟S410中,在電子裝置200處於休眠狀態(例如,進階組態與電源介面標準的S3休眠狀態)下,微控制器250監視喚醒事件。具體而言,微控制器250可經由網路介面模組230而透過網路(例如,圖1的網際網路140)、喚醒操作或計時器其中之一來監視到喚醒事件。在本實施例中,微控制器250所具備的GPIO中的喚醒腳位連接至網路介面模組230,當電子裝置200接收到例如是圖1的步驟S119的喚醒封包而觸發喚醒事件時,網路介面模組250會透過控制(例如,下拉、上拉等)其與網路介面模組230連接的喚醒腳位來通知微控制器250,以使微控制器250得知喚醒事件。 In step S410, the microcontroller 250 monitors the wake event while the electronic device 200 is in a sleep state (eg, an S3 sleep state of the advanced configuration and power interface standard). In particular, the microcontroller 250 can monitor the wake-up event via the network interface module 230 via one of the network (eg, the Internet 140 of FIG. 1), a wake-up operation, or a timer. In this embodiment, the wake-up pin in the GPIO provided by the microcontroller 250 is connected to the network interface module 230. When the electronic device 200 receives the wake-up packet, for example, step S119 of FIG. 1, and triggers the wake-up event. The network interface module 250 notifies the microcontroller 250 by controlling (eg, pulling down, pulling up, etc.) its wake-up pin connected to the network interface module 230 to cause the microcontroller 250 to learn the wake-up event.

在其他實施例中,微控制器250可經由使用者的喚醒操作來監視到喚醒事件。例如,電子裝置200處於S3休眠模式時,處理器270接收到使用者按壓電子裝置200所具備的鍵盤(keyboard)中的按鍵(例如,space鍵)所產生的按鍵訊號時,微控制器250即可經由例如是處理器270、鍵盤等監視到喚醒事件。在一實施例中,當例如是即時時鐘(real-time clock;RTC)警報(alarm)或瞬間喚醒隨時連線的維護計時器等計時器倒數至零時,微控制器250亦可監視到喚醒事件。需說明的是,應用本發明者可依據其需求設計微控制器250所能監視的喚醒事件,也就是說,當電子裝置200處於休眠狀態時,微控制器250可監視 部份或所有的喚醒事件,且不以此為限。 In other embodiments, the microcontroller 250 can monitor for wake-up events via a user's wake-up operation. For example, when the electronic device 200 is in the S3 sleep mode, the processor 270 receives the button signal generated by the user pressing a button (for example, a space button) in a keyboard provided in the electronic device 200, and the microcontroller 250 is The wake event can be monitored via, for example, processor 270, keyboard, or the like. In an embodiment, the microcontroller 250 can also monitor wakeup when the timer counts down to zero, such as a real-time clock (RTC) alarm or an instant wake-up timer. event. It should be noted that the inventor of the present invention can design a wake-up event that the microcontroller 250 can monitor according to its requirements, that is, when the electronic device 200 is in the sleep state, the microcontroller 250 can monitor Some or all of the wake events are not limited to this.

在微控制器250監視到喚醒事件後,微控制器250判斷是否已設定為連線模式,其中處理器270利用此連線模式而透過網路介面模組230與網路(例如,圖1的網際網路140)維持連線(步驟S430)。在本實施例中,此連線模式請參照前述的瞬間喚醒隨時連線(IOAC)模式,其中電子裝置200在此連線模式下,電子裝置200可維持與圖1的伺服器130之間的連線。在其他實施例中,連線模式亦可以是電子裝置200與網路維持連線且可經由遠端(例如,圖1的智慧型手機110或作為雲端系統的伺服器130)喚醒電子裝置200的其他連線模式。此外,啟動連線模式的詳細步驟請參照後續實施例。 After the microcontroller 250 monitors the wake-up event, the microcontroller 250 determines whether the connection mode has been set, wherein the processor 270 utilizes the connection mode to communicate with the network through the network interface module 230 (eg, FIG. 1 The Internet 140) maintains the connection (step S430). In this embodiment, please refer to the aforementioned instant wake-up call-to-wire (IOAC) mode, wherein the electronic device 200 can maintain the electronic device 200 between the server 130 and the server 130 of FIG. Connected. In other embodiments, the connection mode may also be that the electronic device 200 is connected to the network and can wake up the electronic device 200 via a remote end (eg, the smart phone 110 of FIG. 1 or the server 130 of the cloud system). Other connection modes. In addition, please refer to the subsequent embodiments for detailed steps of starting the connection mode.

在步驟S450中,當微控制器250已設定為連線模式時,且在處理器270依據喚醒事件將電子裝置200自休眠狀態喚醒前,微控制器250禁能光碟機210。以下將舉範例說明微控制器250禁能光碟機210。 In step S450, when the microcontroller 250 has been set to the wired mode, and before the processor 270 wakes up the electronic device 200 from the sleep state according to the wake-up event, the microcontroller 250 disables the optical disk drive 210. The following illustrates an example of the microcontroller 250 disabling the optical disk drive 210.

舉例而言,圖5A及圖5B是依據本發明一實施例說明微控制器250光碟機210的示意圖,在本實施例中以圖3A中光碟210作為高速USB裝置為例,然不以此為限。請先參照圖5A,電子裝置200更包括可依據軟體指令控制光碟機210電源狀態的電源控制器590,且電源控制器590耦接於微控制器250及光碟機210之間。微控制器250可傳送關閉指令至電源控制器590,而電源控制器590可依據關閉指令中斷光碟機210的電源。此外,微 控制器250可傳送啟動指令至電源控制器590,而電源控制器590可依據啟動指令啟動光碟機210。 For example, FIG. 5A and FIG. 5B are schematic diagrams illustrating the optical disk drive 210 of the microcontroller 250 according to an embodiment of the present invention. In the embodiment, the optical disk 210 of FIG. 3A is taken as a high-speed USB device as an example. limit. Referring to FIG. 5A , the electronic device 200 further includes a power controller 590 that can control the power state of the optical disk drive 210 according to the software command, and the power controller 590 is coupled between the microcontroller 250 and the optical disk drive 210 . The microcontroller 250 can transmit a shutdown command to the power controller 590, and the power controller 590 can interrupt the power of the optical disk drive 210 in accordance with the shutdown command. In addition, micro The controller 250 can transmit a startup command to the power controller 590, and the power controller 590 can activate the CD player 210 in accordance with the startup command.

另一方面,請參照圖5B,電子裝置200更包括開關595,其中處理器270及光碟機210之間的連線耦接於開關595兩端,且微控制器250所具備的GPIO中的控制腳位連接至開關595,微控制器250便可經由此控制腳位輸出控制信號(上拉或下拉(pull down))至開關595,且開關595依據控制信號中斷光碟機210與處理器270之間的連線。例如,當微控制器250下拉控制腳位時,微控制器250便可切斷開關595,光碟機210即切換至關閉狀態。此外,當微控制器250上拉控制腳位時,微控制器250便可導通開關595,光碟機210即切換至啟動狀態。需說明的是,應用本實施例者可依據需求而調整微控制器250控制開關595的方法,或可依據需求設計圖5A、圖5B或其組合的電路於電子裝置200中,且不以此為限。 On the other hand, referring to FIG. 5B, the electronic device 200 further includes a switch 595, wherein a connection between the processor 270 and the optical disk drive 210 is coupled to both ends of the switch 595, and the control in the GPIO of the microcontroller 250 is provided. The pin is connected to the switch 595, and the microcontroller 250 can output a control signal (pull down or pull down) to the switch 595 via the control pin, and the switch 595 interrupts the optical disk drive 210 and the processor 270 according to the control signal. The connection between the two. For example, when the microcontroller 250 pulls down the control pin, the microcontroller 250 can turn off the switch 595 and the optical disk drive 210 is switched to the off state. In addition, when the microcontroller 250 pulls up the control pin, the microcontroller 250 can turn on the switch 595, and the CD player 210 is switched to the activated state. It should be noted that, in the application of the embodiment, the method of controlling the switch 595 by the microcontroller 250 may be adjusted according to requirements, or the circuit of FIG. 5A, FIG. 5B or a combination thereof may be designed in the electronic device 200 according to requirements, and Limited.

值得一提的是,電子裝置200為了處理網際網路協定(Internet Protocol;IP)租借(leasing)或漫遊(roaming)等狀況,處理器270可提供使用者參數設定或依據預設值(例如,20秒、30秒等)來設定瞬間喚醒隨時連線的維護計時器或其他任何計時器,以定時喚醒電子裝置200,電子裝置200便能維護IP更新(renew)或漫遊。因此,在另一實施例中,當計時器倒數至零時,微控制器250亦可監視到喚醒事件,而當微控制器250已被設定為連線模式時,則禁能光碟機210,其中微控制器250控制光 碟機210的實施方式請參照圖5A及圖5B及其說明,於此不再贅述。 It is worth mentioning that the electronic device 200 can provide user parameter settings or according to preset values in order to handle Internet Protocol (IP) leasing or roaming (for example, 20 seconds, 30 seconds, etc.) To set a maintenance timer or any other timer that instantly wakes up the connection at any time to wake up the electronic device 200 periodically, the electronic device 200 can maintain IP renew or roam. Therefore, in another embodiment, when the timer counts down to zero, the microcontroller 250 can also monitor the wake-up event, and when the microcontroller 250 has been set to the wired mode, the optical disk drive 210 is disabled. Where the microcontroller 250 controls the light For the implementation of the disc drive 210, please refer to FIG. 5A and FIG. 5B and the description thereof, and details are not described herein again.

接著,處理器270依據喚醒事件自休眠狀態喚醒電子裝置200,以藉由網路介面模組250而透過網路執行相關於連線模式的資料存取程序或連線維護程序,其中連線維護程序包括位址更新程序及漫遊程序其中之一或其組合。 Then, the processor 270 wakes up the electronic device 200 from the sleep state according to the wake-up event, and executes the data access program or the connection maintenance program related to the connection mode through the network through the network interface module 250, wherein the connection maintenance is performed. The program includes one or a combination of an address update program and a roaming program.

舉例而言,當處理器270透過網路介面模組230監視到喚醒封包時,處理器270便可依據喚醒封包或傳送詢問封包至雲端系統(例如,圖1的伺服器130),以自儲存單元提供使用者在遠端所要求的資料(例如,相片、影片、音訊檔案等),其中儲存單元可以是任何型態的硬碟機(hard disk drive;HDD)或可移動隨機存取記憶體(random access memory;RAM)、唯讀記憶體(read-only memory;ROM)、快閃記憶體(flash memory)或類似元件或上述元件的組合。 For example, when the processor 270 monitors the wake-up packet through the network interface module 230, the processor 270 can store the query packet to the cloud system (for example, the server 130 of FIG. 1) according to the wake-up packet or the self-storage. The unit provides information (such as photos, videos, audio files, etc.) required by the user at the remote end, wherein the storage unit can be any type of hard disk drive (HDD) or removable random access memory. (random access memory; RAM), read-only memory (ROM), flash memory or the like or a combination of the above.

在另一範例中,當瞬間喚醒隨時連線的維護計時器或其他任何計時器倒數至零時,處理器270可依據此喚醒事件透過網路介面模組230進行IP位址更新程序,以處理動態主機組態協定(dynamic host configuration protocol;DHCP)伺服器(例如,圖1的網路連接器170)變更政策(policy)或IP位址時效過期的情形。或者,處理器270亦可依據此喚醒事件透過網路介面模組230進行漫遊程序,以使電子裝置200移動至其他網路或存取點(Access Point;AP)後,能夠與雲端系統(例如,圖1的伺服器 130)重新建立連線。 In another example, when the wake-up maintenance timer or any other timer is counted to zero instantaneously, the processor 270 can perform an IP address update procedure through the network interface module 230 according to the wake-up event to process A dynamic host configuration protocol (DHCP) server (eg, network connector 170 of FIG. 1) changes the policy or IP address expiration. Alternatively, the processor 270 can perform a roaming process through the network interface module 230 according to the wake-up event, so that the electronic device 200 can be moved to another network or an access point (AP), and can be connected to the cloud system (for example, , the server of Figure 1 130) Re-establish the connection.

需說明的是,在處理器270進行上述資料存取程序或連線維護程序後,微控制器250可傳送啟動指令至圖5A的電源控制器290,或者微控制器250可經由微控制器250的控制腳位輸出控制信號(例如,上拉訊號)至開關595,以致能光碟機210,其中微控制器250控制光碟機210的實施方式請參照圖5A及圖5B及其說明,於此不再贅述。接著,處理器270將電子裝置200切換至休眠狀態(例如,S3休眠狀態)。在另一實施例中,處理器270亦可提供參數設定以供使用者關閉連線模式,而處理器270接收到連線模式相關的關閉操作後,便可設定微控制器250為非連線模式,且微控制器250致能光碟機210。 It should be noted that after the processor 270 performs the above data access procedure or the connection maintenance procedure, the microcontroller 250 may transmit a startup command to the power controller 290 of FIG. 5A, or the microcontroller 250 may be via the microcontroller 250. The control pin outputs a control signal (for example, a pull-up signal) to the switch 595 to enable the optical disk drive 210. The embodiment of the microcontroller 250 controlling the optical disk drive 210 is described with reference to FIGS. 5A and 5B and the description thereof. Let me repeat. Next, the processor 270 switches the electronic device 200 to a sleep state (eg, an S3 sleep state). In another embodiment, the processor 270 can also provide parameter settings for the user to turn off the connection mode, and the processor 270 can set the microcontroller 250 to be disconnected after receiving the connection mode related shutdown operation. Mode, and the microcontroller 250 enables the optical disk drive 210.

藉由上述控制方法,當使用者透過雲端系統(例如,圖1的伺服器130)存取本實施例的電子裝置200(例如,圖1的筆記型電腦190)的資料時,或者當電子裝置200進行IP位址更新程序或漫遊程序時,便無須擔心光碟機210運作而發出的吵雜聲響影響到周遭不知情的人員。以下將舉一範例說明應用本發明實施例之流程。 With the above control method, when the user accesses the data of the electronic device 200 (for example, the notebook computer 190 of FIG. 1) of the present embodiment through the cloud system (for example, the server 130 of FIG. 1), or when the electronic device When 200 IP address update procedures or roaming programs are performed, there is no need to worry about the noise of the optical disk drive 210 being affected by the uninformed people around. An example of the flow of an embodiment of the present invention will be described below.

圖6是依據本發明一實施例說明電子裝置200的控制方法的流程圖。請參照圖6,本實施例的控制方法適用於圖2的電子裝置200。下文中,將搭電子裝置200中的各項模組及元件說明本發明實施例所述之控制方法。 FIG. 6 is a flow chart illustrating a method of controlling an electronic device 200 in accordance with an embodiment of the invention. Referring to FIG. 6, the control method of the present embodiment is applied to the electronic device 200 of FIG. Hereinafter, the control methods described in the embodiments of the present invention will be described with respect to various modules and components in the electronic device 200.

在本範例中,圖1的智慧型手機110接收到使用者對於 電子裝置200的儲存單元所儲存相片的瀏覽操作時,圖1的伺服器130便會發送喚醒封包至電子裝置200,其中電子裝置200處於S3休眠模式。微控制器250先監視到經由網路介面模組230所觸發的喚醒事件(步驟S610),網路介面模組230上拉連接於微控制器250的喚醒腳位,接著微控制器250判斷是否設定為瞬間喚醒隨時連線(IOAC)模式(步驟S620)。若微控制器250係設定為瞬間喚醒隨時連線模式,則微控制器250及處理器270啟動瞬間喚醒隨時連線安靜喚醒模式(步驟S630)。接著,微控制器250藉由控制其所具備的GPIO中的控制腳位來切斷處理器270與光碟機210之間的連線,以禁能光碟機210(步驟S640)。當光碟機210被禁能後,處理器270便可將電子裝置200自S3休眠狀態喚醒而不開啟電子裝置200的顯示單元(例如,液晶顯示器(Liquid Crystal Display;LCD)),且自儲存單元中提供使用者所要求的相片(步驟S650)。處理器270在經過步驟S650的資料存取程序後且在將電子裝置200切換至S3休眠模式前,透過微控制器250致能光碟機210(步驟S660),處理器270再將電子裝置200切換至S3睡眠模式(步驟S695)。 In this example, the smart phone 110 of FIG. 1 receives the user's When the browsing operation of the photos stored in the storage unit of the electronic device 200, the server 130 of FIG. 1 sends a wake-up packet to the electronic device 200, wherein the electronic device 200 is in the S3 sleep mode. The microcontroller 250 first monitors the wake-up event triggered by the network interface module 230 (step S610), the network interface module 230 pulls up the wake-up pin connected to the microcontroller 250, and then the microcontroller 250 determines whether It is set to the instantaneous wake-up connection (IOAC) mode (step S620). If the microcontroller 250 is set to instantly wake up the ready-to-wire mode, the microcontroller 250 and the processor 270 initiate an instant wake-up to connect to the silent wake-up mode (step S630). Next, the microcontroller 250 cuts off the connection between the processor 270 and the optical disk drive 210 by controlling the control pin in the GPIO provided therein to disable the optical disk drive 210 (step S640). After the optical disk drive 210 is disabled, the processor 270 can wake up the electronic device 200 from the S3 sleep state without turning on the display unit of the electronic device 200 (for example, a liquid crystal display (LCD)), and the self-storage unit The photo requested by the user is provided (step S650). The processor 270 enables the optical disk drive 210 through the microcontroller 250 after the data access procedure of step S650 and before switching the electronic device 200 to the S3 sleep mode (step S660), and the processor 270 switches the electronic device 200 again. Go to the S3 sleep mode (step S695).

此外,若微控制器250在步驟S620中判斷微控制器250並未設定為瞬間喚醒隨時連線模式,則處理器270將依據正常模式將電子裝置200自S3休眠狀態喚醒(步驟S670),處理器270執行正常作業(例如,作業系統讀取光碟機210、處理器270開啟其顯示單元等)(步驟S680)。接著,處理器270判斷是否將電子 裝置200切換至S3休眠狀態(步驟S690),若否,則重新返回步驟680而處理器270繼續運作,若是,則處理器270將電子裝置200切換至S3休眠狀態(步驟S695)。 In addition, if the microcontroller 250 determines in step S620 that the microcontroller 250 is not set to the instant wake-up connection mode, the processor 270 will wake the electronic device 200 from the S3 sleep state according to the normal mode (step S670), and process The 270 performs a normal job (for example, the operating system reads the optical disk drive 210, the processor 270 turns on its display unit, etc.) (step S680). Next, the processor 270 determines whether the electronic device is to be The device 200 switches to the S3 sleep state (step S690). If not, the process returns to step 680 and the processor 270 continues to operate. If so, the processor 270 switches the electronic device 200 to the S3 sleep state (step S695).

另一方面,前述實施例皆為電子裝置200自休眠模式喚醒的流程,而在電子裝置200進入休眠模式前,電子裝置200可提供使用者將電子裝置200設定為連線模式(例如,瞬間喚醒隨時連線模式),以下將舉一實施例說明設定連線模式的流程。 On the other hand, the foregoing embodiments are all processes for waking up the electronic device 200 from the sleep mode, and before the electronic device 200 enters the sleep mode, the electronic device 200 can provide the user to set the electronic device 200 to the wired mode (for example, instantaneous wake-up In the case of the connection mode at any time, an embodiment will be described below to explain the flow of setting the connection mode.

在一實施例中,電子裝置200可提供參數設定給使用者設定是否啟動連線模式,或者依據電子裝置200初始設定來提供連線模式。首先,處理器270便判斷電子裝置200是否啟動連線模式,若處理器270判斷為電子裝置200啟動連線模式,則將微控制器250設定為連線模式。在一範例中,處理器270更可將光碟機210設定為可移除(removable)狀態,藉以避免作業系統不斷讀取光碟機210。接著,處理器270判斷是否將電子裝置200切換至休眠狀態,若處理器270判斷為將電子裝置200切換至休眠狀態,則將電子裝置200切換至休眠狀態,若處理器270判斷為不將電子裝置200切換至休眠狀態,則處理器270執行相關於連線模式的資料存取程序。 In an embodiment, the electronic device 200 can provide a parameter setting to the user to set whether to initiate the connection mode, or provide a connection mode according to the initial setting of the electronic device 200. First, the processor 270 determines whether the electronic device 200 initiates the connection mode. If the processor 270 determines that the electronic device 200 initiates the connection mode, the microcontroller 250 is set to the connection mode. In an example, the processor 270 can further set the optical disk drive 210 to a removable state to prevent the operating system from continuously reading the optical disk drive 210. Next, the processor 270 determines whether to switch the electronic device 200 to the sleep state. If the processor 270 determines that the electronic device 200 is switched to the sleep state, the electronic device 200 is switched to the sleep state, and if the processor 270 determines that the electronic device is not When the device 200 switches to the sleep state, the processor 270 executes a data access procedure associated with the connection mode.

舉例而言,圖7是依據本發明一實施例說明電子裝置200的控制方法的流程圖。請參照圖7,本實施例的控制方法適用於圖2的電子裝置200。下文中,將搭電子裝置200中的各項模組及元件說明本發明實施例所述之控制方法。 For example, FIG. 7 is a flowchart illustrating a method of controlling an electronic device 200 according to an embodiment of the invention. Referring to FIG. 7, the control method of the present embodiment is applied to the electronic device 200 of FIG. Hereinafter, the control methods described in the embodiments of the present invention will be described with respect to various modules and components in the electronic device 200.

首先,處理器270判斷是否啟動瞬間喚醒隨時連線(IOAC)模式(步驟S710),若是,則處理器270透過應用程式(例如,啟動瞬間喚醒隨時連線應用程式(IOAC Application;IOAC APP))或外掛(Plugin)作業設定啟動瞬間喚醒隨時連線模式(步驟S720),且處理器270將微控制器250設定為瞬間喚醒隨時連線模式(例如,致能暫存器(register)中EC_IOAC之值)(步驟S730)。接著,處理器270在將電子裝置200切換至S3休眠模式前,先判斷連線模式是否變動(步驟S740),若變動,則回到步驟S710以重新判斷是否啟動瞬間喚醒隨時連線模式。反之,若未變動,則處理器270判斷是否將電子裝置200切換至S3休眠狀態(步驟S745),若否,當使用者透過雲端系統(例如,圖1的伺服器130)存取電子裝置200中儲存單元的資料時,處理器270便可執行資料存取程序(步驟S750),以提供使用者資料,且接著再次執行步驟S745。反之,若是,處理器270將電子裝置200切換至S3休眠狀態。 First, the processor 270 determines whether to activate the Instantaneous Wake-up Time (IOAC) mode (step S710), and if so, the processor 270 passes the application (for example, the Instantaneous Wakeup Application (IOAC Application; IOAC APP)) Or the plug-in (Plugin) job setting starts the instant wake-up connection mode (step S720), and the processor 270 sets the microcontroller 250 to instantaneously wake up the ready-to-wire mode (for example, enabling the EC_IOAC in the register) Value) (step S730). Next, before switching the electronic device 200 to the S3 sleep mode, the processor 270 first determines whether the connection mode is changed (step S740). If the processor 270 changes, the process returns to step S710 to re-determine whether to activate the instantaneous wake-up connection mode. On the other hand, if there is no change, the processor 270 determines whether to switch the electronic device 200 to the S3 sleep state (step S745). If not, when the user accesses the electronic device 200 through the cloud system (for example, the server 130 of FIG. 1) When storing the data of the unit, the processor 270 can execute the data access program (step S750) to provide the user profile, and then perform step S745 again. Otherwise, if so, the processor 270 switches the electronic device 200 to the S3 sleep state.

此外,若處理器270在步驟S710中判斷為未啟動連線模式,則處理器270不將微控制器250設定為瞬間喚醒隨時連線模式(例如,禁能暫存器(register)中EC_IOAC之值)(步驟S760)。此時,處理器270更可將光碟機210設定為固定狀態,以使作業系統可持續讀取光碟機210。處理器270繼續執行原先作業(步驟S770),且處理器270在將電子裝置200切換至S3休眠模式前,先判斷連線模式是否變動(步驟S780),若變動,則回到步驟S710 以重新判斷是否啟動連線模式。反之,若未變動,則處理器270判斷是否將電子裝置200切換至S3休眠狀態(步驟S785),若否,則返回步驟770以繼續執行原先作業,且接著再次執行步驟S785。反之,若是,處理器270將電子裝置200切換至S3休眠狀態(步驟S790)。 In addition, if the processor 270 determines in step S710 that the connection mode is not activated, the processor 270 does not set the microcontroller 250 to instantaneously wake up the ready-to-wire mode (eg, disables the EC_IOAC in the register). Value) (step S760). At this time, the processor 270 can further set the optical disk drive 210 to a fixed state, so that the operating system can continuously read the optical disk drive 210. The processor 270 continues to perform the original operation (step S770), and the processor 270 determines whether the connection mode is changed before switching the electronic device 200 to the S3 sleep mode (step S780). If the process changes, the process returns to step S710. To re-determine whether to initiate the connection mode. On the other hand, if it has not changed, the processor 270 determines whether to switch the electronic device 200 to the S3 sleep state (step S785), and if not, returns to step 770 to continue the execution of the original job, and then proceeds to step S785 again. Otherwise, if so, the processor 270 switches the electronic device 200 to the S3 sleep state (step S790).

綜上所述,在本發明實施例所述的電子裝置進入休眠模式前,處理器可設定微控制器為連線模式。當電子裝置處於休眠狀態時,微控制器可依據喚醒事件及連線模式的設定來控制光碟機的電源狀態。藉此,當使用者透過雲端系統存取本發明實施例的電子裝置的資料時,或者電子裝置進行例行的連線維護作業時,便能以安靜的方式進行作業,且無須擔心光碟機運作而發出的吵雜聲響影響到周遭不知情的人員。 In summary, before the electronic device in the embodiment of the present invention enters the sleep mode, the processor can set the microcontroller to be in the connection mode. When the electronic device is in the sleep state, the microcontroller can control the power state of the optical disk drive according to the wake-up event and the setting of the connection mode. Therefore, when the user accesses the data of the electronic device of the embodiment of the present invention through the cloud system, or when the electronic device performs the routine connection maintenance operation, the user can perform the work in a quiet manner without worrying about the operation of the optical disk drive. The noise is loud and affects people who are not known around.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S410~S450‧‧‧步驟 S410~S450‧‧‧Steps

Claims (12)

一種電子裝置的控制方法,其中該電子裝置包括至少一光碟機,所述控制方法包括:在該電子裝置處於一休眠狀態下,監視一喚醒事件;判斷該電子裝置是否已被設定為一連線模式,其中該電子裝置利用該連線模式與一網路維持連線;以及當該電子裝置已被設定為該連線模式時且在該電子裝置依據該喚醒事件自該休眠狀態喚醒前,禁能所述光碟機。 A control method for an electronic device, wherein the electronic device includes at least one optical disk drive, the control method includes: monitoring a wake-up event when the electronic device is in a sleep state; determining whether the electronic device has been set as a connection a mode, wherein the electronic device maintains a connection with a network by using the connection mode; and when the electronic device has been set to the connection mode and before the electronic device wakes up from the sleep state according to the wake event, Can the CD player. 如申請專利範圍第1項所述的控制方法,其中當該電子裝置已被設定為該連線模式時且在該電子裝置依據該喚醒事件自該休眠狀態喚醒前,禁能所述光碟機的步驟包括:傳送一關閉指令,以中斷所述光碟機的電源。 The control method of claim 1, wherein the optical device is disabled when the electronic device has been set to the connection mode and before the electronic device wakes up from the sleep state according to the wake event. The steps include: transmitting a shutdown command to interrupt power to the optical disk drive. 如申請專利範圍第1項所述的控制方法,其中當該電子裝置已被設定為該連線模式時且在該電子裝置依據該喚醒事件自該休眠狀態喚醒前,禁能所述光碟機的步驟包括:輸出一控制信號,以中斷所述光碟機與該電子裝置之間的連線。 The control method of claim 1, wherein the optical device is disabled when the electronic device has been set to the connection mode and before the electronic device wakes up from the sleep state according to the wake event. The step includes: outputting a control signal to interrupt the connection between the optical disk drive and the electronic device. 如申請專利範圍第1項所述的控制方法,其中在該電子裝置處於該休眠狀態下,監視該喚醒事件的步驟包括:經由該網路、一喚醒操作或一計時器監視到該喚醒事件。 The control method of claim 1, wherein the step of monitoring the wake-up event when the electronic device is in the sleep state comprises: monitoring the wake-up event via the network, a wake-up operation, or a timer. 如申請專利範圍第1項所述的控制方法,其中當該電子裝置已被設定為該連線模式時且在該電子裝置依據該喚醒事件自該 休眠狀態喚醒前,禁能所述光碟機的步驟之後,更包括:自該休眠狀態喚醒該電子裝置,以使該電子裝置透過該網路執行相關於該連線模式的一資料存取程序或一連線維護程序。 The control method of claim 1, wherein when the electronic device has been set to the connection mode and the electronic device is After the step of disabling the idle state, the step of disabling the optical disk drive further includes: waking up the electronic device from the sleep state, so that the electronic device performs a data access procedure related to the connection mode through the network or A connection maintenance program. 如申請專利範圍第1項所述的控制方法,其中在該電子裝置處於該休眠狀態下,監視該喚醒事件的步驟之前,更包括:判斷該電子裝置是否啟動該連線模式;若判斷為該電子裝置啟動該連線模式,則將該電子裝置設定為該連線模式;以及判斷是否將該電子裝置切換至該休眠狀態,若判斷為將該電子裝置切換至該休眠狀態,則將該電子裝置切換至該休眠狀態,若判斷為不將該電子裝置切換至該休眠狀態,則使該電子裝置透過該網路執行相關於該連線模式的一資料存取程序。 The control method of claim 1, wherein before the step of monitoring the wake-up event in the sleep state, the method further comprises: determining whether the electronic device starts the connection mode; When the electronic device activates the connection mode, the electronic device is set to the connection mode; and determining whether to switch the electronic device to the sleep state, and if it is determined that the electronic device is switched to the sleep state, the electronic device is The device switches to the sleep state, and if it is determined that the electronic device is not switched to the sleep state, the electronic device is caused to perform a data access procedure related to the connection mode through the network. 一種電子裝置,包括:至少一光碟機;一網路介面模組;一微控制器,耦接於所述光碟機及該網路介面模組;以及一處理器,耦接於該微控制器、所述光碟機及該網路介面模組,其中在該電子裝置處於一休眠狀態下,該微控制器監視一喚醒事件,該微控制器判斷是否已被設定為一連線模式,其中該處理器利用該連線模式而透過該網路介面模組與一網路維持連線,當該微控制器已被設定為該連線模式時且在該處理器依據該喚醒事件 將該電子裝置自該休眠狀態喚醒前,該微控制器禁能所述光碟機。 An electronic device comprising: at least one optical disk drive; a network interface module; a microcontroller coupled to the optical disk drive and the network interface module; and a processor coupled to the microcontroller The optical disk drive and the network interface module, wherein the microcontroller monitors a wake-up event when the electronic device is in a sleep state, and the microcontroller determines whether it has been set to a connection mode, wherein the The processor maintains a connection with a network through the network interface module by using the connection mode, when the microcontroller is set to the connection mode and the processor is in accordance with the wake event The microcontroller disables the optical disk drive before the electronic device wakes up from the sleep state. 如申請專利範圍第7項所述的電子裝置,其中該電子裝置更包括:一電源控制器,耦接於該微控制器及所述光碟機之間,其中該微控制器傳送一關閉指令至該電源控制器,且該電源控制器依據該關閉指令中斷所述光碟機的電源。 The electronic device of claim 7, wherein the electronic device further comprises: a power controller coupled between the microcontroller and the optical disk drive, wherein the microcontroller transmits a shutdown command to The power controller, and the power controller interrupts power of the optical disk drive according to the shutdown command. 如申請專利範圍第7項所述的電子裝置,其中該電子裝置更包括:一開關,耦接於該處理器、該微控制器以及所述光碟機,其中該微控制器經由該微控制器的一控制腳位輸出一控制信號至該開關,且該開關依據該控制信號中斷所述光碟機與該處理器之間的連線。 The electronic device of claim 7, wherein the electronic device further comprises: a switch coupled to the processor, the microcontroller, and the optical disk drive, wherein the microcontroller passes the microcontroller A control pin outputs a control signal to the switch, and the switch interrupts the connection between the optical disk drive and the processor according to the control signal. 如申請專利範圍第7項所述的電子裝置,其中該微控制器經由該網路介面模組而透過該網路、一喚醒操作或一計時器其中之一來監視到該喚醒事件。 The electronic device of claim 7, wherein the microcontroller monitors the wake-up event through the network, a wake-up operation or a timer via the network interface module. 如申請專利範圍第7項所述的電子裝置,其中該處理器依據該喚醒事件自該休眠狀態喚醒該電子裝置,以藉由該網路介面模組而透過該網路執行相關於該連線模式的一資料存取程序或一連線維護程序。 The electronic device of claim 7, wherein the processor wakes up the electronic device from the sleep state according to the wake-up event, and performs the connection related to the connection through the network through the network interface module. A data access program or a connection maintenance program of the mode. 如申請專利範圍第7項所述的電子裝置,其中該處理器判斷該電子裝置是否啟動該連線模式,若該處理器判斷為該電子裝置啟動該連線模式,則該處理器將該微控制器設定為該連線模 式,且該處理器判斷是否將該電子裝置切換至該休眠狀態,若該處理器判斷為將該電子裝置切換至該休眠狀態,則該處理器將該電子裝置切換至該休眠狀態,若該處理器判斷為不將該電子裝置切換至該休眠狀態,則該處理器透過該網路介面模組執行相關於該連線模式的一資料存取程序。 The electronic device of claim 7, wherein the processor determines whether the electronic device activates the connection mode, and if the processor determines that the electronic device initiates the connection mode, the processor The controller is set to the connection mode And the processor determines whether to switch the electronic device to the sleep state, and if the processor determines to switch the electronic device to the sleep state, the processor switches the electronic device to the sleep state, if The processor determines that the electronic device is not switched to the sleep state, and the processor executes a data access procedure related to the connection mode through the network interface module.
TW103122874A 2014-07-02 2014-07-02 Electronic apparatus and control method thereof TW201602780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103122874A TW201602780A (en) 2014-07-02 2014-07-02 Electronic apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103122874A TW201602780A (en) 2014-07-02 2014-07-02 Electronic apparatus and control method thereof

Publications (1)

Publication Number Publication Date
TW201602780A true TW201602780A (en) 2016-01-16

Family

ID=55641594

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103122874A TW201602780A (en) 2014-07-02 2014-07-02 Electronic apparatus and control method thereof

Country Status (1)

Country Link
TW (1) TW201602780A (en)

Similar Documents

Publication Publication Date Title
TWI608341B (en) Method of managing network wake-up commands and server
KR101751657B1 (en) Wearable display device use-based data processing control
TWI606345B (en) Usb power delivery controller sharing
US9746904B2 (en) Method and apparatus for entry into low power state
US20050246561A1 (en) Computer power mangement architecture and method thereof
JP4392479B2 (en) Power management apparatus and method
US9372525B2 (en) Media content caching
JP2001242965A (en) Computer system, information processing device, and power supply system
WO2015021892A1 (en) Power consumption reduction method, wi-fi master controller, and wi-fi gateway
TW201443623A (en) Electronic device and fan control method thereof
TWI510933B (en) Method for remotely accessing data and local apparatus using the method
WO2007076644A1 (en) A mobile computing system and the method for receiving data packagea
JP5941490B2 (en) Method for controlling power state, computer program and computer
CN105653297A (en) Electronic device and control method thereof
TW201337577A (en) Method and system for transmitting data and electronic apparatus using the method
US20150169039A1 (en) Electronic Apparatus, Method and Storage Medium
EP2739013B1 (en) Managing gateway access
JP2011118462A (en) Information processing apparatus
US9710286B2 (en) Enhanced wakeup mode
TW201602780A (en) Electronic apparatus and control method thereof
TWI469053B (en) Electronic device and startup method therefore
KR20090078545A (en) Mehtod for controlling power source of terminal device for communicating with wireless wide area network and apparatus for therefor
TW201602912A (en) Electronic apparatus and control method thereof
TW201621544A (en) Computer apparatus and power management method thereof
TWI522793B (en) Electronic apparatus and control method thereof