TW201506638A - Integrated circuit, electronic device and operation method thereof - Google Patents

Integrated circuit, electronic device and operation method thereof Download PDF

Info

Publication number
TW201506638A
TW201506638A TW102128594A TW102128594A TW201506638A TW 201506638 A TW201506638 A TW 201506638A TW 102128594 A TW102128594 A TW 102128594A TW 102128594 A TW102128594 A TW 102128594A TW 201506638 A TW201506638 A TW 201506638A
Authority
TW
Taiwan
Prior art keywords
electronic device
wireless module
controller
state
module
Prior art date
Application number
TW102128594A
Other languages
Chinese (zh)
Other versions
TWI612428B (en
Inventor
Shih-Hao Yeh
Shih-Hsuan Yen
Shih-Hsin Su
Original Assignee
Nuvoton Technology Corp
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 Nuvoton Technology Corp filed Critical Nuvoton Technology Corp
Priority to TW102128594A priority Critical patent/TWI612428B/en
Priority to CN201310463379.5A priority patent/CN104348514B/en
Priority to US14/093,313 priority patent/US9696779B2/en
Publication of TW201506638A publication Critical patent/TW201506638A/en
Application granted granted Critical
Publication of TWI612428B publication Critical patent/TWI612428B/en

Links

Landscapes

  • Power Sources (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An embodiment of the invention provides an electronic device comprising a first wireless module, a second wireless module, and a controller. The first wireless module is controlled by a chipset and can communicate with a portable device. The second wireless module is controlled by the controller and can communicate with the portable device. When the first wireless module and the chipset are disabled, the electronic device receives a signal from the portable device via the second wireless module.

Description

積體電路、電子裝置與其運作方法 Integrated circuit, electronic device and operation method thereof

本發明為關於一種電子裝置,特別是一種可透過無線介面與另一電子裝置溝通之電子裝置。 The present invention relates to an electronic device, and more particularly to an electronic device that can communicate with another electronic device through a wireless interface.

電腦與手持式電子裝置已經成為目前許多消費者日常生活的必需品。使用者可以透過電腦或手持式電子裝置上網、收發電子郵件或是處理公事。但是電腦與手持式電子裝置之間的應用卻是較為缺乏。此外,電腦必須要開機才可以使用,如果使用者想使用手持式電子裝置與關機的電腦進行資料傳輸或是其他控制,則使用者仍需將電腦開機,才能進行後續的動作,這對使用者來說是不方便的。 Computers and handheld electronic devices have become a necessity for many consumers today. Users can access the Internet, send and receive emails, or handle business affairs through a computer or handheld electronic device. However, the application between computers and handheld electronic devices is relatively lacking. In addition, the computer must be turned on before it can be used. If the user wants to use the handheld electronic device to shut down the computer for data transmission or other control, the user still needs to turn on the computer to perform subsequent actions. It is inconvenient.

本發明的一實施例提供一種電子裝置。該電子裝置,包括一第一無線模組、一第二無線模組以及一控制器。該第一無線模組,受控於一晶片組並與一手持式電子裝置溝通。該第二無線模組,與該手持式電子裝置溝通。該控制器,耦接該第二無線模組,其中當該第一無線模組與該晶片組皆被禁能時,該電子裝置透過該第二無線模組接收該手持式電子裝置的一信號。 An embodiment of the invention provides an electronic device. The electronic device includes a first wireless module, a second wireless module, and a controller. The first wireless module is controlled by a chip set and communicates with a handheld electronic device. The second wireless module communicates with the handheld electronic device. The controller is coupled to the second wireless module, wherein when the first wireless module and the chip set are disabled, the electronic device receives a signal of the handheld electronic device through the second wireless module .

本發明的另一實施例為一種積體電路,用於處理 一電子裝置之輸入/輸出信號。該積體電路包括一控制器與一切換裝置。該切換裝置,耦接該控制器、一無線模組與該電子裝置內的一晶片組,用以建立該無線模組與該晶片組之一第一連線,或該控制器與該無線模組的一第二連線。當該電子裝置處於一非執行狀態時,該切換裝置建立該第二連線,使該控制器透過該無線模組接收並處理來自一手持式電子裝置的一信號。 Another embodiment of the present invention is an integrated circuit for processing An input/output signal of an electronic device. The integrated circuit includes a controller and a switching device. The switching device is coupled to the controller, a wireless module and a chip set in the electronic device, to establish a first connection between the wireless module and the chip set, or the controller and the wireless module A second connection to the group. When the electronic device is in a non-executive state, the switching device establishes the second connection, so that the controller receives and processes a signal from a handheld electronic device through the wireless module.

本發明的另一實施例為一種運作方法,適用於一電子裝置,其中該電子裝置包括一晶片組、一控制器以及一無線模組,且該無線模組受控於該晶片組或該控制器。該運作方法包括:偵測該電子裝置的一狀態;當該狀態為一非執行狀態時,建立該無線模組與該控制器之一第一連線;當該狀態為一執行狀態時,建立該無線模組與該晶片組之一第二連線;根據一輸入信號以執行對應之一功能。 Another embodiment of the present invention is an operation method for an electronic device, wherein the electronic device includes a chipset, a controller, and a wireless module, and the wireless module is controlled by the chipset or the control Device. The operating method includes: detecting a state of the electronic device; establishing a first connection between the wireless module and the controller when the state is a non-executing state; establishing the state when the state is an execution state; The wireless module is second connected to one of the chipsets; and performs a corresponding function according to an input signal.

下文特舉實施例,並配合所附圖示,詳細說明本發明內容。 The invention is described in detail below with reference to the accompanying drawings.

11、21、31‧‧‧電子裝置 11, 21, 31‧‧‧ electronic devices

12、22、32‧‧‧手持式電子裝置 12, 22, 32‧‧‧ Handheld electronic devices

101、201、301‧‧‧處理器 101, 201, 301‧‧ ‧ processors

102、202、302‧‧‧晶片組 102, 202, 302‧‧‧ chipsets

103、203、303‧‧‧控制器 103, 203, 303‧ ‧ controller

104、304‧‧‧第一無線模組 104, 304‧‧‧ first wireless module

204‧‧‧切換裝置 204‧‧‧Switching device

105、305‧‧‧第二無線模組 105, 305‧‧‧ second wireless module

205‧‧‧無線模組 205‧‧‧Wireless Module

306‧‧‧電源控制模組 306‧‧‧Power Control Module

41‧‧‧手持式電子裝置 41‧‧‧Handheld electronic devices

42‧‧‧電腦 42‧‧‧ computer

401‧‧‧BIOS 401‧‧‧BIOS

402‧‧‧晶片組 402‧‧‧ chipsets

403‧‧‧超級輸入輸出控制器 403‧‧‧Super Input Output Controller

404‧‧‧藍芽模組 404‧‧‧Bluetooth Module

405‧‧‧SPI快閃記憶體 405‧‧‧SPI Flash Memory

61‧‧‧電子裝置 61‧‧‧Electronic devices

62‧‧‧晶片組 62‧‧‧ chipsets

63‧‧‧控制器 63‧‧‧ Controller

64‧‧‧無線模組 64‧‧‧Wireless Module

S51-S57‧‧‧步驟 S51-S57‧‧‧Steps

第1圖為根據本發明實施例之一具有無線通信裝置的電子裝置的示意圖。 1 is a schematic diagram of an electronic device having a wireless communication device in accordance with an embodiment of the present invention.

第2圖為根據本發明另一實施例之一具有無線通信裝置的電子裝置的示意圖。 2 is a schematic diagram of an electronic device having a wireless communication device according to another embodiment of the present invention.

第3圖為根據本發明實施例之一具有無線通信裝置的電子裝置的示意圖。 3 is a schematic diagram of an electronic device having a wireless communication device in accordance with an embodiment of the present invention.

第4圖為利用一手持式電子裝置對一電腦進行BIOS更新的一實施例示意圖。 Figure 4 is a schematic diagram of an embodiment of BIOS update of a computer using a handheld electronic device.

第5圖為根據本發明實施例之一電子裝置的運作方法的流程圖。 FIG. 5 is a flow chart showing a method of operating an electronic device according to an embodiment of the present invention.

第6圖為根據本發明實施例之一電子裝置的示意圖。 Figure 6 is a schematic diagram of an electronic device in accordance with an embodiment of the present invention.

以下敘述列舉本發明的多種實施例。以下敘述介紹本發明的基本概念,且並非意圖限制本發明內容。實際發明範圍應依照申請專利範圍界定之。 The following description sets forth various embodiments of the invention. The following description sets forth the basic concepts of the invention and is not intended to limit the invention. The scope of the actual invention shall be defined in accordance with the scope of the patent application.

第1圖為根據本發明實施例之一具有無線通信裝置的電子裝置的示意圖。電子裝置11,如電腦,可與手持式電子裝置(portable device)12,如平板、手機等,透過無線通信裝置進行溝通。無線通信裝置例如可為藍芽通信裝置、WiFi無線網路模組、紅外線通信模組、近場通訊模組、一射頻(radio frequency,RF)通訊模組、藍牙(Bluetooth)通訊模組、3G通訊模組(包括CDMA模組、WCDMA模組或TD-SCDMA模組)、4G通訊模組(包括LTE模組或WiMax模組)或是其他無線通信模組。在其它的實施例中,也可以應用在兩個不同的無線通信模組上。在本實施例中,模組可由硬體所組成,包含了晶片、控制器、儲存裝置以及其他必要之電路。 1 is a schematic diagram of an electronic device having a wireless communication device in accordance with an embodiment of the present invention. The electronic device 11, such as a computer, can communicate with a portable device 12, such as a tablet, a mobile phone, etc., via a wireless communication device. The wireless communication device can be, for example, a Bluetooth communication device, a WiFi wireless network module, an infrared communication module, a near field communication module, a radio frequency (RF) communication module, a Bluetooth communication module, and a 3G. Communication modules (including CDMA modules, WCDMA modules or TD-SCDMA modules), 4G communication modules (including LTE modules or WiMax modules) or other wireless communication modules. In other embodiments, it can also be applied to two different wireless communication modules. In this embodiment, the module can be composed of a hardware, including a wafer, a controller, a storage device, and other necessary circuits.

電子裝置11包括了處理器101、晶片組102、控制器103,例如超級輸入輸出控制器(super I/O controller)或內嵌式控制器(embedded controller)、第一無線模組104以及第二無線模組105。第一無線模組104以及第二無線模組105皆可以與 手持式電子裝置12進行通信。在一實施例中,同一個時間內,只有第一無線模組104以及第二無線模組105中的一個可以與手持式電子裝置12進行通信。在另一實施例中,可一手持式裝置與第一無線模組104進行通信,而另一手持式裝置與第二無線模組105進行通信。在一實施例中,處理器101可產生一選擇信號以決定以第一無線模組104或第二無線模組105與手持式電子裝置12進行通信。 The electronic device 11 includes a processor 101, a chipset 102, a controller 103, such as a super I/O controller or an embedded controller, a first wireless module 104, and a second Wireless module 105. The first wireless module 104 and the second wireless module 105 can be combined with The handheld electronic device 12 communicates. In an embodiment, only one of the first wireless module 104 and the second wireless module 105 can communicate with the handheld electronic device 12 at the same time. In another embodiment, a handheld device can communicate with the first wireless module 104 while another handheld device communicates with the second wireless module 105. In an embodiment, the processor 101 can generate a selection signal to determine to communicate with the handheld electronic device 12 by the first wireless module 104 or the second wireless module 105.

在另一實施例中,處理器101可以接收來自手持式電子裝置12的一選擇信號而選擇透過第一無線模組104或第二無線模組105與手持式電子裝置12進行通信。在另一實施例中,處理器101可根據電子裝置11目前的運作狀態來決定以第一無線模組104或第二無線模組105與手持式電子裝置12進行通信。舉例來說,如果處理器101的工作負載低於一臨界值,則處理器101可選擇透過第一無線模組104與手持式電子裝置12進行通信。如果處理器101的工作負載高於該臨界值,則處理器101可選擇透過第二無線模組105與手持式電子裝置12進行通信,此時資料的接收與傳送則可由控制器103處理,而非處理器101。本實施例的工作負載可能與處理器的使用率有關。 In another embodiment, the processor 101 can receive a selection signal from the handheld electronic device 12 and selectively communicate with the handheld electronic device 12 through the first wireless module 104 or the second wireless module 105. In another embodiment, the processor 101 can determine to communicate with the handheld electronic device 12 by the first wireless module 104 or the second wireless module 105 according to the current operating state of the electronic device 11. For example, if the workload of the processor 101 is below a threshold, the processor 101 can optionally communicate with the handheld electronic device 12 through the first wireless module 104. If the workload of the processor 101 is higher than the threshold, the processor 101 can selectively communicate with the handheld electronic device 12 through the second wireless module 105. At this time, the receiving and transmitting of the data can be processed by the controller 103. Non-processor 101. The workload of this embodiment may be related to the usage rate of the processor.

ACPI(Advanced Configuration and Power Interface,進階組態與電源介面)是一種電腦電源管理規格,可以讓作業系統直接的管理各種裝置利用電源的狀況。在本實施例中,電子裝置11可使用ACPI電源管理規格。進階組態與電源介面(Advanced Configuration and Power Interface,ACPI)中的電源組態包括S0、S1、S2、S3、S4、S5,下文則說明該組態之代表 意思。 ACPI (Advanced Configuration and Power Interface) is a computer power management specification that allows the operating system to directly manage the status of various devices. In the present embodiment, the electronic device 11 can use ACPI power management specifications. The power configuration in the Advanced Configuration and Power Interface (ACPI) includes S0, S1, S2, S3, S4, S5. The following is a description of the configuration. meaning.

S0(一般工作狀態):電子裝置正常運作下的狀態。 S0 (general working state): The state under normal operation of the electronic device.

S1(POS,Power on Suspend):在此狀態下,電腦內的中央處理器透過一匯流排時脈(Bus clock)的控制而被關閉,但其他硬體仍是正常運作。 S1 (POS, Power on Suspend): In this state, the central processing unit in the computer is turned off by the control of a bus clock, but other hardware is still operating normally.

S2:此時電腦的中央處理器與匯流排時脈皆被關閉,但其他硬體仍是可以正常運作。 S2: At this time, the CPU and bus clock of the computer are all turned off, but other hardware can still operate normally.

S3(sleeping state,睡眠狀態或稱待機狀態):在這個狀態下,主記憶體(RAM)、超級輸入輸出控制器及內嵌控制器仍然有電源供給,且幾乎是唯一幾個有電源供給的元件。因為作業系統、所有應用程式和被開啟的文檔等的狀態都是保存在主記憶體中,電腦從S3狀態回來時,主記憶體的內容和它進入S3狀態時候的內容是相同的,故使用者可以把電腦恢復到上次他們保持的狀態。在S3組態下,如果任何正在執行的應用程式(被開啟的文檔等)有私有資訊在裡面,這些資訊是不會被寫到非揮發性記憶體,例如硬碟或固態硬碟(solid state disk)。 S3 (sleeping state, standby state): In this state, the main memory (RAM), super input and output controller and embedded controller still have power supply, and almost the only one with power supply element. Because the status of the operating system, all applications, and open documents are stored in the main memory, when the computer returns from the S3 state, the content of the main memory and the content when it enters the S3 state are the same, so use You can restore your computer to the state they last maintained. In the S3 configuration, if any running application (opened documents, etc.) has private information, the information will not be written to non-volatile memory, such as hard disk or solid state hard disk (solid state) Disk).

S4(休眠狀態):S3與S4都是睡眠狀態,只是在這兩個睡眠狀態下,電腦內的硬體設定並不完全相同。在S4狀態下,電子裝置的大部分元件都未被供電。在這個狀態下,所有主記憶體的內容被儲存在非揮發性記憶體,例如硬碟,保護作業系統當前的狀態,包括所有應用程式,開啟的文檔等。這也就是說,當電腦從S4恢復後,使用者可以恢復到原本的工作狀態,這部分是與S3是一樣的。狀態S4和S3之間的差異是,除了把主記憶體中的內容移進移出所消耗的時間差異以外,在S3 狀態下的時候如果一旦停電了,所有主記憶體上的資料就會丟失,包括所有的沒有保存的文檔。而在S4狀態下,因為資料是儲存在硬碟,所以沒有影響。 S4 (sleep state): Both S3 and S4 are in a sleep state, but in these two sleep states, the hardware settings in the computer are not exactly the same. In the S4 state, most of the components of the electronic device are not powered. In this state, the contents of all the main memory are stored in non-volatile memory, such as a hard disk, to protect the current state of the operating system, including all applications, open documents, and the like. This means that when the computer is restored from S4, the user can return to the original working state, which is the same as S3. The difference between states S4 and S3 is that in addition to the time difference consumed to move the contents of the main memory into and out, at S3 In the state of the state, if there is a power outage, all the data on the main memory will be lost, including all unsaved documents. In the S4 state, since the data is stored on the hard disk, there is no effect.

S5(soft off,軟關機狀態):除了作業系統並不會儲存任何資料外,S5狀態與S4大部分都是相似的。當電腦位於S5狀態時,電腦仍有可能透過網路,鍵盤,USB裝置被喚醒,因為在S5狀態下,只對一些零組件(例如南橋晶片、超級輸入輸出控制器或網路晶片等零組件)供應少量電力,其餘的電腦系統全部關閉。 S5 (soft off): The S5 status is mostly similar to S4 except that the operating system does not store any data. When the computer is in the S5 state, the computer may still be awakened through the network, keyboard, USB device, because in the S5 state, only some components (such as Southbridge, Super I/O controller or network chip) ) A small amount of power is supplied and the rest of the computer system is turned off.

在電源狀態如S3/S4/S5時,處理器101、晶片組102、以及第一無線模組104因為沒有被供電,因此處於禁能(disabled)的狀態。而控制器103以及第二無線模組105因為仍被供電,因此電子裝置11仍可透過第二無線模組105與手持式電子裝置12進行通信。在一實施例中,控制器103以及第二無線模組105接收的電源域是與電子裝置11中的其他元件所接受的電源域是不同的。 In the power state, such as S3/S4/S5, the processor 101, the chipset 102, and the first wireless module 104 are in a disabled state because they are not powered. The controller 103 and the second wireless module 105 can still communicate with the handheld electronic device 12 through the second wireless module 105 because the power is still being supplied. In an embodiment, the power domain received by the controller 103 and the second wireless module 105 is different from the power domain accepted by other components in the electronic device 11.

一般來說,電子裝置內可能由一個或多個電源提供一個或多個電源域(power domain)。在本說明書中,電源域包含了共用相同電源(power source)的至少一個模組、電路、電路的一部份、或是元件裝置,其中該電源可能提供至少一種電壓準位的電壓給該電源域內的複數個電路、模組或是元件裝置。在相同電源域的至少一個模組、電路、電路的一部份、或是元件裝置可能會被同時開啟(turned on)或關閉(turned off)。在一實施例中,電源域可以被視為一處理單元、模組、電路、電路的一部份或是不同電路的不同部份的集合。在另一個例子 中,不同的電源域可以由不同的電源所提供電力。 In general, one or more power domains may be provided by one or more power sources within the electronic device. In this specification, a power domain includes at least one module, a circuit, a portion of a circuit, or a component device that shares the same power source, wherein the power source may provide at least one voltage level voltage to the power source. A plurality of circuits, modules or component devices within a domain. At least one module, circuit, part of the circuit, or component device in the same power domain may be turned on or turned off. In one embodiment, the power domain can be viewed as a processing unit, module, circuit, portion of a circuit, or a collection of different portions of different circuits. In another example Different power domains can be powered by different power sources.

舉例來說,處理器101、晶片組102、以及第一無線模組104是位於一第一電源域,而控制器103以及第二無線模組105是位於一第二電源域。在電源狀態如S3/S4/S5時,第一電源域不供電,僅有第二電源域會供電,故處理器101、晶片組102、以及第一無線模組104是無法運作,僅有控制器103以及第二無線模組105可以被運作。 For example, the processor 101, the chipset 102, and the first wireless module 104 are located in a first power domain, and the controller 103 and the second wireless module 105 are located in a second power domain. In the power state, such as S3/S4/S5, the first power domain is not powered, and only the second power domain is powered, so the processor 101, the chipset 102, and the first wireless module 104 cannot operate, only the control The device 103 and the second wireless module 105 can be operated.

換句話說,除非電子裝置11完全沒有與任何電源連接,否則不論電子裝置11的電源狀態為何,控制器103以及第二無線模組105是持續被供電。但是處理器101、晶片組102以及第一無線模組104則可能因為電子裝置11的電源狀態而處於不被電子裝置的電源供電的狀態。 In other words, unless the electronic device 11 is not connected to any power source at all, the controller 103 and the second wireless module 105 are continuously powered regardless of the power state of the electronic device 11. However, the processor 101, the chipset 102, and the first wireless module 104 may be in a state of being not powered by the power of the electronic device due to the power state of the electronic device 11.

在本實施例中,不論電子裝置11目前所處的電源狀態,至少第一無線模組104以及第二無線模組105中的一個是有被供電,以便與手持式電子裝置進行通信。當電子裝置11處於如電源狀態S3或S5時,因控制器103有被供電,故電子裝置11可透過第二無線模組105與手持式電子裝置12進行通信。當電子裝置11處於如電源狀態S0時,第一無線模組104以及第二無線模組105皆被電子裝置的電源所供電,而處理器101可透過一選擇機制來選擇第一無線模組104或第二無線模組105以與手持式電子裝置12進行通信。 In this embodiment, at least one of the first wireless module 104 and the second wireless module 105 is powered to communicate with the handheld electronic device regardless of the power state of the electronic device 11 . When the electronic device 11 is in the power state S3 or S5, since the controller 103 is powered, the electronic device 11 can communicate with the handheld electronic device 12 through the second wireless module 105. When the electronic device 11 is in the power state S0, the first wireless module 104 and the second wireless module 105 are all powered by the power of the electronic device, and the processor 101 can select the first wireless module 104 through a selection mechanism. Or the second wireless module 105 is in communication with the handheld electronic device 12.

在本實施例中,一執行狀態與一非執行狀態被定義。執行狀態(operation state)係指電子裝置11處於正常工作狀態下,如ACPI電源規範中的S0狀態,使得處理器101、晶片組 102及控制器103在執行狀態下可被供電,而非執行狀態係指電子裝置11非處於工作狀態,如休眠、關機、待機等狀態,或是在ACPI電源規範中的S3/S4/S5狀態,使得處理器101和晶片組102在非執行狀態下未被供電,但控制器103在非執行狀態下可被供電。當電子裝置11處於執行狀態時,可由處理器101選擇第一無線模組104或第二無線模組105與手持式電子裝置12進行通信。換言之,當電子裝置11處於執行狀態時第一無線模組104與第二無線模組105皆可受到處理器101的控制。當電子裝置11處於非執行狀態時,處理器101不運作,只有控制器103可以運作,因此由控制器103控制第二無線模組105與手持式電子裝置12進行通信。在本實施例是以兩個無線模組為例說明,但亦可應用在單一無線模組的情形。當電子裝置11處於執行狀態時,無線模組是由處理器101控制。但當電子裝置11要進入非執行狀態前,處理器101會將無線模組的控制權轉移給控制器103,且當電子裝置11從非執行狀態回復到執行狀態時,會傳送一控制信號給控制器103與無線模組,使得無線模組的控制權回到處理器101。上述之技術特徵亦可應用在其他實施例中,非僅能適用第1圖的實施例。 In the present embodiment, an execution state and a non-execution state are defined. The operation state refers to the state in which the electronic device 11 is in a normal working state, such as the S0 state in the ACPI power supply specification, so that the processor 101 and the chipset 102 and the controller 103 can be powered in the execution state, and the non-execution state refers to the state in which the electronic device 11 is not in operation, such as sleep, shutdown, standby, or the S3/S4/S5 state in the ACPI power specification. The processor 101 and the chipset 102 are not powered in the non-executing state, but the controller 103 can be powered in the non-executing state. When the electronic device 11 is in the execution state, the processor 101 may select the first wireless module 104 or the second wireless module 105 to communicate with the handheld electronic device 12. In other words, both the first wireless module 104 and the second wireless module 105 can be controlled by the processor 101 when the electronic device 11 is in the execution state. When the electronic device 11 is in the non-executing state, the processor 101 does not operate, and only the controller 103 can operate, so the controller 103 controls the second wireless module 105 to communicate with the handheld electronic device 12. In this embodiment, two wireless modules are taken as an example, but they can also be applied to a single wireless module. When the electronic device 11 is in an execution state, the wireless module is controlled by the processor 101. However, before the electronic device 11 is to enter the non-executive state, the processor 101 transfers the control of the wireless module to the controller 103, and when the electronic device 11 returns from the non-executing state to the execution state, a control signal is transmitted to The controller 103 and the wireless module enable control of the wireless module to return to the processor 101. The above technical features can also be applied to other embodiments, and the embodiment of Fig. 1 is not only applicable.

手持式電子裝置12上安裝有一應用程式。當該應用程式被執行時,手持式電子裝置12可透過無線通信介面如藍芽通信介面與電子裝置11進行通信,以取得電子裝置11的資料。在另一個情況下,當電子裝置11接收到來自手持式電子裝置12的一輸入信號時,電子裝置11根據該輸入信號執行對應之功能。以下針對手持式電子裝置12與電子裝置11之間幾種運作 方式進行說明。 An application is installed on the handheld electronic device 12. When the application is executed, the handheld electronic device 12 can communicate with the electronic device 11 through a wireless communication interface, such as a Bluetooth communication interface, to obtain data of the electronic device 11. In another case, when the electronic device 11 receives an input signal from the handheld electronic device 12, the electronic device 11 performs a corresponding function according to the input signal. The following are several operations between the handheld electronic device 12 and the electronic device 11 The way to explain.

資訊顯示功能 Information display function

當使用者使用手持式電子裝置12時,可由安裝的應用程式發出一請求信號,透過手持式電子裝置12的一第三無線模組例如一藍芽模組(未繪示)傳送給電子裝置11。如果電子裝置11此時是處於一執行狀態下,如電源狀態S0,且第一無線模組104致能且第二無線模組105被禁能,則第一無線模組104可將接收到的請求信號傳送給晶片組102。晶片組102可向電子裝置內的感測器或作業系統取得電子裝置的資訊,並將該資訊傳送給手持式電子裝置12。該資訊包括處理器101的溫度、型號、目前電壓、運作頻率、風扇轉速、時間、BIOS版本、記憶體資訊等等。 When the user uses the handheld electronic device 12, a request signal can be sent from the installed application to the electronic device 11 through a third wireless module of the handheld electronic device 12, such as a Bluetooth module (not shown). . If the electronic device 11 is in an execution state, such as the power state S0, and the first wireless module 104 is enabled and the second wireless module 105 is disabled, the first wireless module 104 may receive the received The request signal is transmitted to the wafer set 102. The chipset 102 can retrieve information of the electronic device from a sensor or operating system within the electronic device and transmit the information to the handheld electronic device 12. The information includes the temperature, model, current voltage, operating frequency, fan speed, time, BIOS version, memory information, and the like of the processor 101.

如果電子裝置是處於一非執行狀態,如待機、關機狀態,ACPI電源規範下的S3或S5時,則第一無線模組104被禁能且第二無線模組105被致能。第二無線模組105將接收到的請求信號傳送給控制器103。其中,當電子裝置進入非執行狀態前,晶片組102可將此時電子裝置的資訊儲存在一儲存裝置內,如一快閃記憶體或該控制器103的一記憶體。因此,當控制器103接收到請求信號時,控制器103可自儲存裝置取得電子裝置的資訊,並將該資訊傳送給手持式電子裝置12。該資訊包括處理器101的溫度、型號、目前電壓、運作頻率、風扇轉速、時間、BIOS版本、記憶體資訊等等。 If the electronic device is in a non-executive state, such as standby, power-off state, S3 or S5 under the ACPI power specification, the first wireless module 104 is disabled and the second wireless module 105 is enabled. The second wireless module 105 transmits the received request signal to the controller 103. The chipset 102 can store the information of the electronic device in a storage device, such as a flash memory or a memory of the controller 103, before the electronic device enters the non-executive state. Therefore, when the controller 103 receives the request signal, the controller 103 can retrieve the information of the electronic device from the storage device and transmit the information to the handheld electronic device 12. The information includes the temperature, model, current voltage, operating frequency, fan speed, time, BIOS version, memory information, and the like of the processor 101.

在一實施例中,電子裝置11中的感測器是持續被供電,因此即使電子裝置進入非執行狀態,該等感測器仍可以 持續監控電子裝置11的狀態,並將偵測到的資訊持續或間歇性傳送給控制器103,在其他實施例中,則可由控制器103向感測器拿取感測器所偵測到的資訊。在另一實施例中,電子裝置11中的感測器部分是與控制器103有相同的電源接收狀態,而其餘的感測器則是與晶片組102有相同的電源接收狀態。如此一來,其餘的感測器可能會在某些狀態下而不被供電。 In an embodiment, the sensors in the electronic device 11 are continuously powered, so even if the electronic devices enter a non-executive state, the sensors can still The state of the electronic device 11 is continuously monitored, and the detected information is continuously or intermittently transmitted to the controller 103. In other embodiments, the controller 103 can take the sensor to the sensor to detect the detected by the sensor. News. In another embodiment, the sensor portion of the electronic device 11 has the same power receiving state as the controller 103, and the remaining sensors have the same power receiving state as the chip set 102. As a result, the remaining sensors may not be powered in certain states.

異常診斷功能 Abnormal diagnostic function

當電子裝置11發生異常時,可能會使電子裝置11無法正確運作,例如無法正常開機,在此異常情形下若電子裝置11仍連接到一電源時,則第一無線模組104被禁能而第二無線模組105被致能。因為控制器103可以獨立於處理器101與晶片組102外運作,因此在電子裝置11發生異常時,控制器103可透過第二無線模組105傳送一異常信號給手持式電子裝置12。另外使用者也可以決定是否要透過手持式電子裝置12發一請求信號給控制器103。 When an abnormality occurs in the electronic device 11, the electronic device 11 may not operate properly, for example, the power cannot be normally turned on. In this abnormal situation, if the electronic device 11 is still connected to a power source, the first wireless module 104 is disabled. The second wireless module 105 is enabled. Because the controller 103 can operate independently of the processor 101 and the chipset 102, the controller 103 can transmit an abnormal signal to the handheld electronic device 12 through the second wireless module 105 when an abnormality occurs in the electronic device 11. In addition, the user can also decide whether to send a request signal to the controller 103 through the handheld electronic device 12.

當控制器103接收到一請求信號時,控制器103取得一錯誤信息代碼,例如可從通信埠80(port 80)取得一錯誤信息代碼,並可將該錯誤信息代碼傳送給手持式電子裝置12。接著使用者可透過手持式電子裝置12,並根據該錯誤信息代碼上網進行偵錯。在一實施例中,手持式電子裝置12可以將該錯誤信息傳送至網路上以進行偵錯。其中通信埠80為目前電腦系統中,為了加快系統開發與除錯速度,定義出的一個特殊輸入/輸出埠,來用以檢查與除錯,而此特殊的輸入/輸出埠所對應到的位址即為80h,因此統稱為通信埠80。 When the controller 103 receives a request signal, the controller 103 obtains an error information code, for example, an error information code can be obtained from the communication port 80 (port 80), and the error information code can be transmitted to the handheld electronic device 12 . Then, the user can use the handheld electronic device 12 to perform debugging on the Internet according to the error information code. In an embodiment, the handheld electronic device 12 can transmit the error information to the network for debugging. Among them, communication 埠80 is a special input/output port defined in the current computer system for speeding up system development and debugging speed, and is used for checking and debugging, and the bit corresponding to this special input/output 埠The address is 80h, so it is collectively referred to as communication 埠80.

在另一實施例中,控制器103或晶片組102可以直接產生錯誤信息代碼,並由控制器103將錯誤信息代碼直接傳送給手持式電子裝置。在另一實施例中,晶片組102產生異常信息,並將該異常信息傳送給控制器103,由該控制器103產生對應的錯誤信息代碼,並將錯誤信息代碼直接傳送給手持式電子裝置。在另一實施例中,控制器103不會直接傳送相關於電子裝置11的異常狀態的信息,而是當控制器103接收到由手持式電子裝置12發出的請求信號後,才會傳送相關的異常資訊給手持式電子裝置。該異常資訊可能是錯誤信息代碼或是異常信號。 In another embodiment, the controller 103 or the chipset 102 can directly generate an error information code and the error information code can be directly transmitted by the controller 103 to the handheld electronic device. In another embodiment, the chipset 102 generates anomaly information and transmits the exception information to the controller 103, which generates a corresponding error information code and transmits the error information code directly to the handheld electronic device. In another embodiment, the controller 103 does not directly transmit information related to the abnormal state of the electronic device 11, but transmits the relevant information only after the controller 103 receives the request signal from the handheld electronic device 12. Abnormal information to handheld electronic devices. The exception information may be an error message code or an abnormal signal.

開機喚醒功能 Boot wake up function

當電子裝置11處於非執行狀態,但是電子裝置11仍連接到一電源時,此時電子裝置11內只有第二無線模組105與控制器103仍被供電而可正常運作。而處理器101、晶片組102以及第一無線模組104則處於禁能狀況或不活動(inactive)的狀態。當使用者透過手持式電子裝置12傳送一開機指令給控制器103時,由控制器103傳送對應的開機信號給晶片組102,使得電子裝置11執行一開機程序或是一喚醒程序。 When the electronic device 11 is in the non-executing state, but the electronic device 11 is still connected to a power source, only the second wireless module 105 and the controller 103 in the electronic device 11 are still powered and can operate normally. The processor 101, the chipset 102, and the first wireless module 104 are in an disabled state or an inactive state. When the user transmits a power-on command to the controller 103 through the handheld electronic device 12, the controller 103 transmits a corresponding power-on signal to the chipset 102, so that the electronic device 11 executes a boot process or a wake-up procedure.

在一實施例中,控制器103的一第一腳位連接到晶片組的一開機喚醒腳位或是主機板上的一電源腳位上。當該第一腳位的邏輯準位由一第一邏輯準位變換為一第二邏輯準位時,電子裝置11可執行一開機程序或是一喚醒程序。 In one embodiment, a first pin of the controller 103 is coupled to a power-on wake-up pin of the chipset or to a power pin on the motherboard. When the logic level of the first pin is changed from a first logic level to a second logic level, the electronic device 11 can perform a boot process or a wake-up procedure.

在前述的實施例中,開機指令可由手持式電子裝置12所產生,例如使用者可透過手持式電子裝置12內的應用程 式、重力感測器(G-sensor)、光線感測器(light sensor)以及電子裝置11內對應的一第一應用程式,自行設定開機指令。 In the foregoing embodiments, the power-on command can be generated by the handheld electronic device 12, for example, the user can access the application in the handheld electronic device 12. The G-sensor, the light sensor, and a corresponding first application in the electronic device 11 respectively set the boot command.

舉例來說,使用者可以先透過手持式電子裝置12內的應用程式設定一特定的動作作為開機信號,如使用者可以設定當G-sensor偵測到手持式電子裝置12往左邊晃三下,接著往右邊晃兩下時,就會產生開機指令並將開機指令傳送給電子裝置11。在另一實施例中,當G-sensor偵測到手持式電子裝置12往左邊晃動時,手持式電子裝置12發出邏輯準位「1」的信號給電子裝置11。當G-sensor偵測到手持式電子裝置12往右邊晃動時,手持式電子裝置12發出邏輯準位「0」的信號給電子裝置11。使用者可以設定一第一資料[000111]為開機指令,並將該第一資料傳送給電子裝置11。當控制器103在一預定期間內接收到[000111]的資料,表示手持式電子裝置12發出一開機指令給控制器103,控制器103傳送對應的開機信號給晶片組102,使得電子裝置11執行一開機程序或是一喚醒程序。 For example, the user can first set a specific action as a power-on signal through the application in the handheld electronic device 12. For example, the user can set the G-sensor to detect that the handheld electronic device 12 is swaying to the left three times, and then When it is swayed to the right, a power-on command is generated and the power-on command is transmitted to the electronic device 11. In another embodiment, when the G-sensor detects that the handheld electronic device 12 is shaking to the left, the handheld electronic device 12 sends a signal of the logic level "1" to the electronic device 11. When the G-sensor detects that the handheld electronic device 12 is shaking to the right, the handheld electronic device 12 sends a signal of logic level "0" to the electronic device 11. The user can set a first data [000111] as a power-on command and transmit the first data to the electronic device 11. When the controller 103 receives the data of [000111] within a predetermined period, the handheld electronic device 12 sends a power-on command to the controller 103, and the controller 103 transmits a corresponding power-on signal to the chipset 102, so that the electronic device 11 executes. A boot program or a wake-up program.

安全登入介面 Secure login interface

當使用者透過手持式電子裝置12傳送一開機命令給控制器103時,由控制器103傳送對應的開機信號給晶片組102,使得電子裝置11執行一開機程序或是一喚醒程序。接著,使用者可透過手持式電子裝置12傳送一解鎖指令給控制器103。當控制器103接收到該解鎖指令後,傳送一確認信號給晶片組102或處理器101,此時電子裝置11才會顯示一登入畫面,讓使用者輸入帳號密碼以取得使用電子裝置11的權限。本實施例中,開機命令與解鎖指令可以由使用者直接透過手持式電子 裝置12輸入,或是如同前述開機喚醒方式一樣,透過G-sensor或光感應器所產生。在其他實施例中,若在一執行狀態下,使用者也可透過手持式電子裝置12傳送一解鎖指令給晶片組102,當晶片組102接收到解鎖指令後,可確認解鎖指令是否與電子裝置中所儲存之資料相符,若相符則可登入電子裝置,或是電子裝置11可顯示一登入畫面以讓使用者輸入帳號密碼。解鎖指令可以由使用者直接透過手持式電子裝置12輸入,或是如同前述開機喚醒方式一樣,透過G-sensor或光感應器所產生。 When the user transmits a power-on command to the controller 103 through the handheld electronic device 12, the controller 103 transmits a corresponding power-on signal to the chipset 102, so that the electronic device 11 executes a booting process or a wake-up procedure. Then, the user can transmit an unlocking command to the controller 103 through the handheld electronic device 12. After receiving the unlocking command, the controller 103 transmits an acknowledgement signal to the chipset 102 or the processor 101. At this time, the electronic device 11 displays a login screen for the user to input the account password to obtain the permission to use the electronic device 11. . In this embodiment, the power-on command and the unlock command can be directly transmitted by the user through the handheld electronic device. The device 12 inputs, or is generated by a G-sensor or a light sensor, as in the aforementioned power-on wake-up mode. In other embodiments, in an execution state, the user can also transmit an unlock command to the chipset 102 through the handheld electronic device 12. When the chipset 102 receives the unlocking command, it can confirm whether the unlocking command is associated with the electronic device. The information stored in the data matches, if it matches, the electronic device can be logged in, or the electronic device 11 can display a login screen for the user to input the account password. The unlocking command can be input by the user directly through the handheld electronic device 12, or can be generated by a G-sensor or a light sensor as in the above-described power-on wake-up mode.

無線輸入功能 Wireless input function

當電子裝置11處於執行狀態(如電源狀態S0)時,手持式電子裝置12可做為電子裝置11的一輸入裝置。在電子裝置11處於電源狀態S0時,處理器101可選擇由第一無線模組104或第二無線模組105接收手持式電子裝置12傳送的資料。在另一實施例時,手持式電子裝置12可傳送一選擇信號給電子裝置11,以選擇與第一無線模組104或第二無線模組105進行通信。 When the electronic device 11 is in an execution state (such as the power state S0), the handheld electronic device 12 can be used as an input device of the electronic device 11. When the electronic device 11 is in the power state S0, the processor 101 can select the data transmitted by the handheld electronic device 12 by the first wireless module 104 or the second wireless module 105. In another embodiment, the handheld electronic device 12 can transmit a selection signal to the electronic device 11 to selectively communicate with the first wireless module 104 or the second wireless module 105.

在一實施例中,第一無線模組104可透過一第一USB介面連接至晶片組102的一第一USB控制器(USB Host),第二無線模組105可透過一第二USB介面連接至控制器103的一第二USB控制器(USB Host)。因此,如果電子裝置11透過第一無線模組104與手持式電子裝置12進行通信,則電子裝置11仍可能透過第二無線模組105與另外一個電子裝置進行通信。反之,如果電子裝置11透過第二無線模組105與手持式電子裝置12進行通信,則電子裝置11仍可能透過第一無線模組104與另外一個電子裝置進行通信。 In an embodiment, the first wireless module 104 can be connected to a first USB controller (USB Host) of the chipset 102 through a first USB interface, and the second wireless module 105 can be connected through a second USB interface. A second USB controller (USB Host) to the controller 103. Therefore, if the electronic device 11 communicates with the handheld electronic device 12 through the first wireless module 104, the electronic device 11 may still communicate with another electronic device through the second wireless module 105. On the other hand, if the electronic device 11 communicates with the handheld electronic device 12 through the second wireless module 105, the electronic device 11 may still communicate with another electronic device through the first wireless module 104.

使用者可以使用手持式電子裝置12的手寫功能或多國語言輸入功能,將使用者輸入的字元轉換為統一碼(Unicode),接著手持式電子裝置12可透過第一無線模組104或第二無線模組105將統一碼傳送給晶片組102或控制器103。晶片組102或控制器103將統一碼解碼後再傳給電子裝置的作業系統。舉例來說,當使用者在手持式電子裝置寫中文字,接著手持式裝置可將此中文字轉換為統一碼並將該統一碼傳送到晶片組中,晶片組接著將統一碼轉換為字元後,該字元就可當作密碼。或是在其他實施例中,當該控制器或該晶片組確認該統一碼與電子裝置中所儲存之資料相符時,該統一碼可直接作為一密碼,使用者可使用此密碼登入或使用電子裝置。 The user can use the handwriting function or the multi-language input function of the handheld electronic device 12 to convert the characters input by the user into a Unicode code, and then the handheld electronic device 12 can pass through the first wireless module 104 or the first The second wireless module 105 transmits the Unicode to the chipset 102 or the controller 103. The chip set 102 or the controller 103 decodes the Unicode code and transmits it to the operating system of the electronic device. For example, when the user writes Chinese characters in the handheld electronic device, the handheld device can convert the Chinese characters into a Unicode code and transfer the Unicode code to the chip set, and then the chip set converts the Unicode code into characters. This character can then be treated as a password. Or in other embodiments, when the controller or the chipset confirms that the Unicode code matches the data stored in the electronic device, the Unicode code can be directly used as a password, and the user can use the password to log in or use the electronic code. Device.

在另一實施例中,例如當電子裝置處於非執行狀態時,處理器101、晶片組102、以及第一無線模組104因為沒有被供電,因此處於禁能(disabled)的狀態。而控制器103以及第二無線模組105因為仍被供電,因此電子裝置11仍可透過第二無線模組105與手持式電子裝置12進行通信。當使用者要對電子裝置11操作時,手持式電子裝置12可先喚醒電子裝置11或使電子裝置11開機。當電子裝置11被喚醒或被開機後,電子裝置11可先產生一安全輸入介面,使用者可透過手持式電子裝置12輸入由一外國語系產生之密碼,其中該外國語系不被電子裝置11的輸入法所支援。因此可使用前一段所述,利用手持式電子裝置12的手寫功能或多國語言輸入功能,作為登入的方法。當電子裝置11的作業系統或控制器103確認密碼正確後或是與電子裝置11中所儲存之資料相符後,再顯示密碼輸入介面或帳 號密碼輸入介面,由使用者透過電子裝置11的輸入裝置,如鍵盤,輸入帳號密碼。透過這樣的方式,可以強化電子裝置11的安全性。在另一實施例中,使用者可直接由手持式電子裝置12輸入由一外國語系產生之密碼,當密碼被確認後(例如與電子裝置11中所儲存之資料相符後),使用者就可以直接登入/使用電子裝置11。 In another embodiment, for example, when the electronic device is in a non-executing state, the processor 101, the chipset 102, and the first wireless module 104 are in a disabled state because they are not powered. The controller 103 and the second wireless module 105 can still communicate with the handheld electronic device 12 through the second wireless module 105 because the power is still being supplied. When the user wants to operate the electronic device 11, the handheld electronic device 12 can wake up the electronic device 11 or turn on the electronic device 11. After the electronic device 11 is woken up or turned on, the electronic device 11 can first generate a secure input interface, and the user can input a password generated by a foreign language system through the handheld electronic device 12, wherein the foreign language is not used by the electronic device 11 Supported by the input method. Therefore, the handwriting function or the multi-language input function of the handheld electronic device 12 can be used as a method of login as described in the previous paragraph. After the operating system or controller 103 of the electronic device 11 confirms that the password is correct or matches the data stored in the electronic device 11, the password input interface or account is displayed. The password input interface is input by the user through an input device of the electronic device 11, such as a keyboard. In this way, the security of the electronic device 11 can be enhanced. In another embodiment, the user can directly input the password generated by a foreign language system by the handheld electronic device 12, and after the password is confirmed (for example, after matching the data stored in the electronic device 11), the user can Directly log in/use the electronic device 11.

前述關於手持式電子裝置12與電子裝置11之間的運作僅是舉例說明,非將本發明限制於此。此一領域之習知技藝者在經過閱讀上述說明後,可在本案揭露範圍內輕易修改以獲得更佳之效益。 The foregoing description of the operation between the handheld electronic device 12 and the electronic device 11 is merely illustrative and the invention is not limited thereto. Those skilled in the art can easily modify the scope of the present disclosure to obtain better benefits after reading the above description.

第2圖為根據本發明另一實施例之一具有無線通信裝置的電子裝置的示意圖。電子裝置21,如電腦,可與手持式電子裝置(portable device)22透過無線通信裝置進行溝通。在本實施例中,模組可由硬體所組成,包含了晶片、控制器、儲存裝置以及其他必要之電路。 2 is a schematic diagram of an electronic device having a wireless communication device according to another embodiment of the present invention. The electronic device 21, such as a computer, can communicate with the handheld device 22 via a wireless communication device. In this embodiment, the module can be composed of a hardware, including a wafer, a controller, a storage device, and other necessary circuits.

電子裝置21包括了處理器201、晶片組202、控制器203,如超級輸入輸出控制器或一內嵌控制器、切換裝置204以及無線模組205。在本實施例中,無線模組205可能是藍芽模組、WiFi無線網路模組、紅外線通信模組、近場通訊模組、一射頻(radio frequency,RF)通訊模組、藍牙(Bluetooth)通訊模組、3G通訊模組(包括CDMA模組、WCDMA模組或TD-SCDMA模組)、4G通訊模組(包括LTE模組或WiMax模組)或是其他無線通信模組。切換裝置204可根據一選擇信號Cs來建立無線模組205與該晶片組202之間的一第一連線或無線模組205與該控制 器203之間的一第二連線。在一實施例中,該選擇信號Cs可以由處理器201所產生。換句話來說,切換裝置204可用以決定將無線模組205的控制權交給晶片組202或控制器203。 The electronic device 21 includes a processor 201, a chipset 202, a controller 203, such as a super input/output controller or an embedded controller, a switching device 204, and a wireless module 205. In this embodiment, the wireless module 205 may be a Bluetooth module, a WiFi wireless network module, an infrared communication module, a near field communication module, a radio frequency (RF) communication module, and Bluetooth (Bluetooth). Communication module, 3G communication module (including CDMA module, WCDMA module or TD-SCDMA module), 4G communication module (including LTE module or WiMax module) or other wireless communication module. The switching device 204 can establish a first connection or wireless module 205 between the wireless module 205 and the chipset 202 according to a selection signal Cs and the control. A second connection between the 203. In an embodiment, the selection signal Cs may be generated by the processor 201. In other words, the switching device 204 can be used to decide to pass control of the wireless module 205 to the chipset 202 or controller 203.

在另一實施例中,處理器201可根據電子裝置21目前的運作狀態來決定建立該第一連線或該第二連線。舉例來說,如果處理器201的工作負載低於一臨界值,則處理器201控制該切換裝置204以建立該第一連線。如果處理器201的工作負載大於該臨界值,則處理器201控制該切換裝置204以建立該第二連線。當切換裝置204建立無線模組205與該控制器203之間的第二連線時,由無線模組205接收到的信號或資料則是由控制器203所處理,而非由晶片組202或處理器201所處理。其中本實施例的工作負載可能與處理器的使用率有關。 In another embodiment, the processor 201 may decide to establish the first connection or the second connection according to the current operating state of the electronic device 21. For example, if the workload of processor 201 is below a threshold, processor 201 controls the switching device 204 to establish the first connection. If the workload of processor 201 is greater than the threshold, processor 201 controls the switching device 204 to establish the second connection. When the switching device 204 establishes a second connection between the wireless module 205 and the controller 203, the signal or data received by the wireless module 205 is processed by the controller 203 instead of the chipset 202 or Processed by processor 201. The workload of this embodiment may be related to the usage rate of the processor.

在另一實施例中,切換裝置204可根據電子裝置21目前的一電源狀態來決定建立該第一連線或該第二連線。舉例來說,在執行狀態下,如電源狀態S0時,切換裝置204建立該第一連線。在電源狀態進入非執行狀態如S3或S5時,因為處理器201與晶片組202並沒有被供電,而控制器203有被供電,所以切換裝置可建立該第二連線,使得無線模組205、切換裝置204因連接到控制器203而可獲得供電。更具體地來說,在要進入非執行狀態之前,處理器201可先產生一訊號並將該訊號傳送給切換裝置204。當切換裝置204接收到該訊號時,建立該第二連線。 In another embodiment, the switching device 204 can decide to establish the first connection or the second connection according to a current power state of the electronic device 21. For example, in an execution state, such as power state S0, switching device 204 establishes the first connection. When the power state enters the non-execution state such as S3 or S5, since the processor 201 and the chipset 202 are not powered, and the controller 203 is powered, the switching device can establish the second connection, so that the wireless module 205 The switching device 204 can be powered by being connected to the controller 203. More specifically, processor 201 may first generate a signal and transmit the signal to switching device 204 before entering a non-executing state. When the switching device 204 receives the signal, the second connection is established.

也就是說,除非電子裝置21完全沒有與任何電源連接,否則不論電子裝置21的電源狀態為何,控制器203、切 換裝置204以及無線模組205是持續被供電,因為控制器203在非執行狀態如電源狀態S3或S5下,可持續被供電,因此無線模組205可透過切換裝置204與控制器203所建立該第二連線以獲得供電。但是處理器201與晶片組202則可能因為電子裝置21的電源狀態而處於不被電子裝置的電源供電的狀態。 That is, unless the electronic device 21 is not connected to any power source at all, regardless of the power state of the electronic device 21, the controller 203, cut The switching device 204 and the wireless module 205 are continuously powered, because the controller 203 can be continuously powered in a non-executing state such as the power state S3 or S5, so the wireless module 205 can be established through the switching device 204 and the controller 203. This second connection is for power supply. However, the processor 201 and the chip set 202 may be in a state of being not powered by the power of the electronic device due to the power state of the electronic device 21.

在另一實施例中,該切換裝置204的一第一腳位連接至該處理器201的一第二腳位或該晶片組的一第三腳位。當電子裝置21的電源狀態為S3或S5時,第二腳位與第三腳位的邏輯準位為「0」,當電子裝置21的電源狀態為S0時,第二腳位與第三腳位的邏輯準位為「1」。因此當切換裝置204的第一腳位的邏輯準位為0時,切換裝置204建立該第二連線,當切換裝置204的第一腳位的邏輯準位為1時,切換裝置204建立該第一連線。在另一實施例中,該第一腳位可連接該晶片組202的一電源腳位。當該晶片組202被供電時,該第一腳位的邏輯狀態為1,切換裝置204建立該第一連線。當該晶片組202沒有被供電時,該第一腳位的邏輯狀態為0,切換裝置204建立該第二連線。 In another embodiment, a first pin of the switching device 204 is coupled to a second pin of the processor 201 or a third pin of the chip set. When the power state of the electronic device 21 is S3 or S5, the logic level of the second pin and the third pin is “0”, and when the power state of the electronic device 21 is S0, the second pin and the third pin. The logical level of the bit is "1". Therefore, when the logic level of the first pin of the switching device 204 is 0, the switching device 204 establishes the second connection. When the logic level of the first pin of the switching device 204 is 1, the switching device 204 establishes the The first connection. In another embodiment, the first pin can be connected to a power pin of the chip set 202. When the chip set 202 is powered, the logic state of the first pin is 1, and the switching device 204 establishes the first connection. When the chip set 202 is not powered, the logic state of the first pin is zero, and the switching device 204 establishes the second connection.

在另一實施例中,該無線模組205為一NFC標籤(tag)模組,此時NFC標籤模組未連接到任何電源或是本身不需要被供電。若要透過NFC標籤模組進行溝通,可利用外在提供一電場以供電給NFC標籤模組。當NFC標籤模組接收到外在的供電而被喚醒後,可執行如後述的資訊顯示功能、異常診斷功能或開機喚醒功能。 In another embodiment, the wireless module 205 is an NFC tag module, and the NFC tag module is not connected to any power source or does not need to be powered by itself. To communicate through the NFC tag module, an external electric field can be externally provided to supply power to the NFC tag module. After the NFC tag module is woken up by receiving the external power supply, the information display function, the abnormality diagnosis function, or the power-on wake-up function as described later can be performed.

手持式電子裝置22上安裝有一應用程式。當該應用程式被執行時,手持式電子裝置22可透過無線通信介面與電 子裝置21進行通信,以取得電子裝置21的資料,甚至是對電子裝置進行操作。以下針對手持式電子裝置22與電子裝置21之間幾種運作方式進行說明。 An application is installed on the handheld electronic device 22. When the application is executed, the handheld electronic device 22 can communicate with the wireless communication interface. The sub-device 21 communicates to acquire the data of the electronic device 21, and even to operate the electronic device. Several modes of operation between the handheld electronic device 22 and the electronic device 21 are described below.

資訊顯示功能 Information display function

當使用者使用手持式電子裝置22時,可由安裝的應用程式發出一請求信號,透過手持式電子裝置22中的無線模組例如一第三藍芽模組(未繪示)傳送給電子裝置21。如果電子裝置21此時是在執行狀態下,如電源狀態S0,此時切換裝置204可建立無線模組205與晶片組202的第一連線。當無線模組205接收到該請求信號後,無線模組205可將接收到的請求信號傳送給晶片組202。晶片組202從電子裝置內的感測器或作業系統取得電子裝置的資訊,並將該資訊傳送給手持式電子裝置22。該資訊包括處理器201的溫度、型號、目前電壓、運作頻率、風扇轉速、時間、BIOS版本、記憶體資訊等等。 When the user uses the handheld electronic device 22, a request signal can be sent from the installed application to the electronic device 21 through a wireless module in the handheld electronic device 22, such as a third Bluetooth module (not shown). . If the electronic device 21 is in an execution state, such as the power state S0, the switching device 204 can establish a first connection between the wireless module 205 and the chip set 202. After the wireless module 205 receives the request signal, the wireless module 205 can transmit the received request signal to the chipset 202. The chipset 202 retrieves information of the electronic device from a sensor or operating system within the electronic device and transmits the information to the handheld electronic device 22. The information includes the temperature, model, current voltage, operating frequency, fan speed, time, BIOS version, memory information, and the like of the processor 201.

如果電子裝置是在非執行狀態時,則切換裝置204可建立無線模組205與控制器203的第二連線。當無線模組205接收到該請求信號後,無線模組205將接收到的請求信號傳送給控制器203。在電子裝置進入非執行狀態前,晶片組202可將此時電子裝置的資訊儲存在一儲存裝置內,如一快閃記憶體或該控制器203的一記憶體。當控制器203接收到該請求信號時,控制器203可自儲存裝置取得電子裝置的資訊,並將該資訊傳送給手持式電子裝置22。該資訊包括處理器201的溫度、型號、目前電壓、運作頻率、風扇轉速、時間、BIOS版本、記憶體資訊等等。 If the electronic device is in a non-executive state, the switching device 204 can establish a second connection between the wireless module 205 and the controller 203. After the wireless module 205 receives the request signal, the wireless module 205 transmits the received request signal to the controller 203. Before the electronic device enters the non-executive state, the chipset 202 can store the information of the electronic device at a time in a storage device, such as a flash memory or a memory of the controller 203. When the controller 203 receives the request signal, the controller 203 can obtain information of the electronic device from the storage device and transmit the information to the handheld electronic device 22. The information includes the temperature, model, current voltage, operating frequency, fan speed, time, BIOS version, memory information, and the like of the processor 201.

在另一實施例中,電子裝置21中部份的感測器與控制器203有相同的電源接收狀態,因此即使電子裝置進入非執行狀態,該等感測器仍可以持續監控電子裝置21的狀態,並將偵測到的資訊傳送給控制器203。換句話說,電子裝置21中的感測器部分是與控制器203有相同的電源接收狀態,而其餘的感測器則是與晶片組202有相同的電源接收狀態。 In another embodiment, some of the sensors in the electronic device 21 have the same power receiving state as the controller 203, so that the sensors can continuously monitor the electronic device 21 even if the electronic device enters a non-executing state. The status is transmitted to the controller 203. In other words, the sensor portion of the electronic device 21 has the same power receiving state as the controller 203, and the remaining sensors have the same power receiving state as the chip set 202.

異常診斷功能 Abnormal diagnostic function

當電子裝置21發生異常時,可能會使電子裝置21無法正確運作,因此切換裝置204可建立無線模組205與控制器203的第二連線,以使外部裝置可透過無線模組205得知內部異常訊息。且因為控制器203可以獨立於處理器201與晶片組202外運作,因此在電子裝置21發生異常時,可由控制器203透過無線模組205傳送一異常信號給手持式電子裝置22。另外使用者也可以決定是否要透過手持式電子裝置22發一請求信號給控制器203。 When the electronic device 21 is abnormal, the electronic device 21 may not operate properly. Therefore, the switching device 204 may establish a second connection between the wireless module 205 and the controller 203, so that the external device can be informed by the wireless module 205. Internal exception message. Moreover, because the controller 203 can operate independently of the processor 201 and the chipset 202, when the electronic device 21 is abnormal, the controller 203 can transmit an abnormal signal to the handheld electronic device 22 through the wireless module 205. In addition, the user can also decide whether to send a request signal to the controller 203 through the handheld electronic device 22.

當控制器203接收到該請求信號時,控制器203取得一錯誤信息代碼,例如可從通信埠80(port 80)取得一錯誤信息代碼,並將該錯誤信息代碼傳送給手持式電子裝置22。接著使用者透過手持式電子裝置22,將該錯誤信息代碼傳送至網路上以進行偵錯。 When the controller 203 receives the request signal, the controller 203 obtains an error information code, for example, an error information code can be retrieved from the communication port 80 (port 80), and the error information code is transmitted to the handheld electronic device 22. Then, the user transmits the error information code to the network through the handheld electronic device 22 to perform debugging.

在另一實施例中,控制器203或晶片組202可以直接產生錯誤信息代碼,並可由控制器203將錯誤信息代碼直接傳送給手持式電子裝置。在另一實施例中,晶片組202可產生異常信息,並將該異常信息傳送給控制器203,由該控制器203 產生對應的錯誤信息代碼,並將錯誤信息代碼直接傳送給手持式電子裝置。在另一實施例中,控制器203不會直接傳送相關於電子裝置21的異常狀態的信息,而是當控制器203接收到由手持式電子裝置22發出的請求信號後,才會傳送相關的異常資訊給手持式電子裝置。該異常資訊可能是錯誤信息代碼或是異常信號。 In another embodiment, the controller 203 or the chipset 202 can directly generate an error information code and can communicate the error information code directly to the handheld electronic device by the controller 203. In another embodiment, the chipset 202 can generate anomaly information and transmit the exception information to the controller 203, by the controller 203 A corresponding error information code is generated and the error information code is transmitted directly to the handheld electronic device. In another embodiment, the controller 203 does not directly transmit information related to the abnormal state of the electronic device 21, but transmits the relevant information after the controller 203 receives the request signal issued by the handheld electronic device 22. Abnormal information to handheld electronic devices. The exception information may be an error message code or an abnormal signal.

開機喚醒功能 Boot wake up function

當電子裝置21處於非執行狀態時,此時電子裝置21內只有無線模組205與控制器203仍被供電而可正常運作。但處理器201與晶片組202則處於禁能狀況或不活動(inactive)的狀態。當使用者透過手持式電子裝置22傳送一開機指令給控制器203時,由控制器203傳送對應的開機信號給晶片組202,使得電子裝置21執行一開機程序或是一喚醒程序。關於電子裝置21執行開機程序或是喚醒程序之說明請參考第1圖之相關說明,在此不贅述。 When the electronic device 21 is in the non-executive state, only the wireless module 205 and the controller 203 in the electronic device 21 are still powered and can operate normally. However, processor 201 and chipset 202 are in an disabled or inactive state. When the user transmits a power-on command to the controller 203 through the handheld electronic device 22, the controller 203 transmits a corresponding power-on signal to the chipset 202, so that the electronic device 21 executes a boot process or a wake-up procedure. For the description of the electronic device 21 to execute the boot process or the wake-up program, please refer to the related description of FIG. 1 , and details are not described herein.

安全登入介面 Secure login interface

本實施例之電子裝置21亦可執行如前述之安全登入功能。關於詳細之說明請參考第1圖之相關說明,在此不贅述。 The electronic device 21 of this embodiment can also perform the secure login function as described above. For details, please refer to the related description in Figure 1, and I will not repeat them here.

無線輸入功能 Wireless input function

當電子裝置21處於執行狀態,如電源狀態S0時,手持式電子裝置22可做為電子裝置21的一輸入裝置。在電子裝置21處於電源狀態S0時,切換裝置204可建立無線模組205與晶片組202的第一連線,由晶片組202接收並處理手持式電子裝置 22傳送的資料。在另一實施例時,手持式電子裝置22可傳送一選擇信號給電子裝置21,以控制切換裝置204建立無線模組205與晶片組202的第一連線或無線模組205與控制器203的第二連線。 When the electronic device 21 is in an execution state, such as the power state S0, the handheld electronic device 22 can be used as an input device of the electronic device 21. When the electronic device 21 is in the power state S0, the switching device 204 can establish a first connection between the wireless module 205 and the chip set 202, and receive and process the handheld electronic device by the chip set 202. 22 transmitted information. In another embodiment, the handheld electronic device 22 can transmit a selection signal to the electronic device 21 to control the switching device 204 to establish the first connection of the wireless module 205 and the chipset 202 or the wireless module 205 and the controller 203. The second connection.

在一實施例中,無線模組205可透過一第一USB介面連接至切換裝置204,且切換裝置204亦可透過一第二USB介面連接至晶片組202或控制器203的一USB控制器。 In one embodiment, the wireless module 205 can be connected to the switching device 204 through a first USB interface, and the switching device 204 can also be connected to the chipset 202 or a USB controller of the controller 203 through a second USB interface.

在另一實施例中,例如當電子裝置處於非執行狀態時,處理器201與晶片組202因為沒有被供電,因此處於禁能(disabled)的狀態。而控制器203、切換裝置204以及無線模組205因為仍被供電,因此電子裝置21仍可透過無線模組205與手持式電子裝置22進行通信。關於使用者可使用手持式電子裝置22作為一輸入裝置之說明請參考的1圖對應之說明,在此不贅述。 In another embodiment, such as when the electronic device is in a non-executing state, processor 201 and chipset 202 are in a disabled state because they are not powered. Since the controller 203, the switching device 204, and the wireless module 205 are still powered, the electronic device 21 can still communicate with the handheld electronic device 22 through the wireless module 205. For the description of the figure in which the user can use the handheld electronic device 22 as an input device, the description of FIG. 1 is omitted here.

前述關於手持式電子裝置22與電子裝置21之間的運作僅是舉例說明,非將本發明限制於此。此一領域之習知技藝者在經過閱讀上述說明後,可在本案揭露範圍內輕易修改以獲得更佳之效益。 The foregoing operation between the handheld electronic device 22 and the electronic device 21 is merely illustrative and the invention is not limited thereto. Those skilled in the art can easily modify the scope of the present disclosure to obtain better benefits after reading the above description.

第3圖為根據本發明實施例之一具有無線通信裝置的電子裝置的示意圖。電子裝置31,如電腦,可與手持式電子裝置(portable device)32透過無線通信裝置進行溝通。無線通信裝置可例如為藍芽通信裝置、WiFi無線網路模組、紅外線通信模組、近場通訊模組、一射頻(radio frequency,RF)通訊模組、藍牙(Bluetooth)通訊模組、3G通訊模組(包括CDMA模組、WCDMA模組或TD-SCDMA模組)、4G通訊模組(包括LTE模組或 WiMax模組)或是其他無線通信模組。在其它的實施例中,也可以應用在兩個不同的無線通信模組上。在本實施例中,模組可由硬體所組成,包含了晶片、控制器、儲存裝置以及其他必要之電路。 3 is a schematic diagram of an electronic device having a wireless communication device in accordance with an embodiment of the present invention. The electronic device 31, such as a computer, can communicate with the handheld device 32 via a wireless communication device. The wireless communication device can be, for example, a Bluetooth communication device, a WiFi wireless network module, an infrared communication module, a near field communication module, a radio frequency (RF) communication module, a Bluetooth communication module, and a 3G communication device. Communication module (including CDMA module, WCDMA module or TD-SCDMA module), 4G communication module (including LTE module or WiMax module) or other wireless communication module. In other embodiments, it can also be applied to two different wireless communication modules. In this embodiment, the module can be composed of a hardware, including a wafer, a controller, a storage device, and other necessary circuits.

電子裝置31包括了處理器301、晶片組302、控制器例如超級輸入輸出控制器303、第一無線模組304、第二無線模組305以及電源控制模組306。電源控制模組306可提供一第一電源PW1給第一無線模組304、晶片組302與處理器301,且可提供一第二電源PW2給第二無線模組305與超級輸入輸出控制器303。電源控制模組306可根據一電源狀態信號PS以決定電源控制模組306是否提供第一電源PW1給第一無線模組304、晶片組302與處理器301。當電子裝置31處於執行狀態時,電源狀態信號PS位於一第一電壓準位,且電源控制模組306提供第一電源PW1給第一無線模組304、晶片組302與處理器301。當電子裝置31處於非執行狀態時,電源狀態信號PS位於一第二電壓準位,且電源控制模組306停止提供第一電源PW1給第一無線模組304、晶片組302與處理器301。在本實施例中,電源狀態信號PS可由處理器301所提供。在另一實施例中,電源狀態信號PS則可能由電子裝置31內的元件,如超級輸入輸出控制器303,所提供。 The electronic device 31 includes a processor 301, a chipset 302, a controller such as a super input/output controller 303, a first wireless module 304, a second wireless module 305, and a power control module 306. The power control module 306 can provide a first power source PW1 to the first wireless module 304, the chipset 302 and the processor 301, and can provide a second power source PW2 to the second wireless module 305 and the super input/output controller 303. . The power control module 306 can determine whether the power control module 306 provides the first power source PW1 to the first wireless module 304, the chipset 302, and the processor 301 according to a power state signal PS. When the electronic device 31 is in the execution state, the power state signal PS is at a first voltage level, and the power control module 306 provides the first power source PW1 to the first wireless module 304, the chipset 302, and the processor 301. When the electronic device 31 is in the non-executing state, the power state signal PS is at a second voltage level, and the power control module 306 stops providing the first power source PW1 to the first wireless module 304, the chipset 302, and the processor 301. In the present embodiment, the power state signal PS can be provided by the processor 301. In another embodiment, the power state signal PS may be provided by an element within the electronic device 31, such as the Super Input Output Controller 303.

在本實施例中,當處理器301要進行電源狀態切換或控制時,處理器301將對應之控制信號傳送給晶片組。晶片組302再將對應之控制信號或根據控制信號轉換後的信號傳送給超級輸入輸出控制器303,由超級輸入輸出控制器303控制電 源控制模組306進行電源切換或控制。關於詳細之電源控制流程請參考第1或第2圖之說明,在此不贅述。 In the present embodiment, when the processor 301 is to perform power state switching or control, the processor 301 transmits a corresponding control signal to the chipset. The chip set 302 transmits the corresponding control signal or the signal converted according to the control signal to the super input/output controller 303, and the super input/output controller 303 controls the electric power. The source control module 306 performs power switching or control. Please refer to the description of the first or second figure for detailed power control flow, and will not go into details here.

在另一實施例中,當電子裝置31處於非執行狀態時,若超級輸入輸出控制器303接收到手持式電子裝置32的一開機指令或一喚醒指令,超級輸入輸出控制器303可先傳送一控制信號PGD(Power Good)給電源控制模組306,且電源控制模組306先提供第一電源PW1給第一無線模組304、晶片組302與處理器301。接著,超級輸入輸出控制器303可傳送對應的開機信號給晶片組302或處理器301,使得電子裝置31執行一開機程序或是一喚醒程序。 In another embodiment, when the electronic device 31 is in the non-executive state, if the super input/output controller 303 receives a power-on command or a wake-up command from the handheld electronic device 32, the super input/output controller 303 may transmit one first. The control signal PGD (Power Good) is supplied to the power control module 306, and the power control module 306 first supplies the first power source PW1 to the first wireless module 304, the chipset 302, and the processor 301. Then, the super input/output controller 303 can transmit a corresponding boot signal to the chipset 302 or the processor 301, so that the electronic device 31 executes a boot process or a wakeup process.

手持式電子裝置32上安裝有一應用程式。當該應用程式被執行時,手持式電子裝置32可透過例如藍芽通信界面與電子裝置31進行通信,以取得電子裝置31的資料,甚至是對電子裝置進行操作。相關的功能說明可參考第1圖與第2圖之說明,在此不贅述。 An application is installed on the handheld electronic device 32. When the application is executed, the handheld electronic device 32 can communicate with the electronic device 31 via, for example, a Bluetooth communication interface to obtain data of the electronic device 31, even to operate the electronic device. For related function descriptions, refer to the descriptions of FIG. 1 and FIG. 2, and details are not described herein.

此外,雖然第1圖、第2圖與第3圖的實施例係以不同的電子裝置為例說明,但是各實施例內所述之電子裝置的動作仍可能應用在其他實施例上,非僅限於應用在所述之實施例中。舉例來說,當超級輸入輸出控制器傳送開機信號給晶片組或處理器之前,晶片組或處理器可能先接收電子裝置提供之電源。 In addition, although the embodiments of FIGS. 1 , 2 , and 3 are described by taking different electronic devices as an example, the actions of the electronic devices described in the embodiments may still be applied to other embodiments, not only It is limited to the application in the described embodiments. For example, before the super input/output controller transmits a power on signal to the chipset or processor, the chipset or processor may first receive power from the electronic device.

第4圖為利用一手持式電子裝置對一電腦進行BIOS更新的一實施例示意圖。當電腦42在不正常情況下或非執行狀態下,使用者可以透過手持式電子裝置41下載電腦42的新 版BIOS,接著可透過手持式電子裝置41的一應用程式傳送一BIOS更新指令給電腦42。其中,BIOS可儲存在一SPI(Serial Peripheral Interface,串列週邊介面,簡稱SPI)快閃記憶體(未繪示)中。因為電腦42是處於不正常情況或非執行狀態下,因此藍芽模組404可由一控制器例如超級輸入輸出控制器403所控制,且晶片組402可能因為沒被供電而被禁能。第4圖以藍芽模組為例說明,但非將本發明限制於此。藍芽模組也可替換為其他無線模組,如WiFi無線網路模組、紅外線通信模組、近場通訊模組或是其他無線通信模組。 Figure 4 is a schematic diagram of an embodiment of BIOS update of a computer using a handheld electronic device. When the computer 42 is in an abnormal state or in an unexecuted state, the user can download the new computer 42 through the handheld electronic device 41. The BIOS can then transmit a BIOS update command to the computer 42 via an application of the handheld electronic device 41. The BIOS can be stored in a SPI (Serial Peripheral Interface, SPI for short) flash memory (not shown). Because the computer 42 is in an abnormal or non-executive state, the Bluetooth module 404 can be controlled by a controller, such as the Super Input Output Controller 403, and the chipset 402 may be disabled because it is not powered. Figure 4 illustrates the Bluetooth module as an example, but the invention is not limited thereto. The Bluetooth module can also be replaced with other wireless modules, such as WiFi wireless network modules, infrared communication modules, near field communication modules or other wireless communication modules.

當電腦42接收到BIOS更新指令時,晶片組402與BIOS 401之間的訊號連線可被斷開,接著超級輸入輸出控制器403可透過藍芽模組404接收手持式電子裝置41傳送的新版BIOS,並即時將BIOS更新。 When the computer 42 receives the BIOS update command, the signal connection between the chipset 402 and the BIOS 401 can be disconnected, and then the super input/output controller 403 can receive the new version transmitted by the handheld electronic device 41 through the Bluetooth module 404. BIOS, and will be updated by the BIOS.

在另一實施例中,當電腦42在正常運作下,使用者仍可以透過手持式電子裝置41去更新電腦的BIOS。其中一種更新流程如下所述。首先,如果藍芽模組404是由晶片組402所控制,藍芽模組404的控制權可先移轉給超級輸入輸出控制器403。接著超級輸入輸出控制器403可透過藍芽模組404接收手持式電子裝置41傳送的新版BIOS,並將新版BIOS儲存在SPI快閃記憶體(未繪示)中。當接收完新版BIOS,晶片組402與BIOS 401之間的訊號連線斷開,接著可由超級輸入輸出控制器403將BIOS 401更新為新版的BIOS,在其他實施例中,當超級輸入輸出控制器403透過藍芽模組404接收手持式電子裝置41傳送的新版BIOS時,即可即時更新BIOS。 In another embodiment, when the computer 42 is in normal operation, the user can still update the BIOS of the computer through the handheld electronic device 41. One of the update processes is as follows. First, if the Bluetooth module 404 is controlled by the chipset 402, the control of the Bluetooth module 404 can be transferred to the Super Input Output Controller 403. Then, the super input/output controller 403 can receive the new BIOS transmitted by the handheld electronic device 41 through the Bluetooth module 404, and store the new BIOS in the SPI flash memory (not shown). When the new BIOS is received, the signal connection between the chipset 402 and the BIOS 401 is broken, and then the BIOS 401 can be updated to the new BIOS by the Super Input Output Controller 403. In other embodiments, the Super Input Output Controller When the 403 receives the new BIOS transmitted by the handheld electronic device 41 through the Bluetooth module 404, the BIOS can be updated in real time.

在另一實施例中,當接收完新版BIOS,超級輸入輸出控制器403通知晶片組402,由晶片組402將BIOS 401更新為新版的BIOS。 In another embodiment, upon receiving the new BIOS, the Super Input Output Controller 403 notifies the Wafer Set 402 that the BIOS 401 is updated by the Wafer Set 402 to the new BIOS.

在另一實施例中,也可利用手持式電子裝置41更新超級輸入輸出控制器403的軔體,其中該韌體可儲存在SPI快閃記憶體405中。更新方式可參考上述,在此不贅述。在一實施例中,前述的BIOS 401也可以與超級輸入輸出控制器403的軔體一起儲存在同一個SPI快閃記憶體(未繪示)中,即共用一相同的SPI快閃記憶體。當處理器要讀取BIOS時,可自SPI快閃記憶體中讀取。當超級輸入輸出控制器403要讀取其軔體時,也可自SPI快閃記憶體中讀取。 In another embodiment, the body of the super input/output controller 403 can also be updated by the handheld electronic device 41, wherein the firmware can be stored in the SPI flash memory 405. The update method can be referred to the above, and will not be described here. In one embodiment, the aforementioned BIOS 401 can also be stored in the same SPI flash memory (not shown) together with the body of the Super Input Output Controller 403, that is, share the same SPI flash memory. When the processor wants to read the BIOS, it can be read from the SPI flash memory. When the super input/output controller 403 is to read its body, it can also be read from the SPI flash memory.

雖然第4圖是以更新電腦的BIOS為例說明,但非將本發明限制於此。使用者亦可以利用上述方法更新電腦中的驅動程式、防毒軟體、應用程式或是作業系統。另外,第4圖也可應用到第1圖或第2圖的架構中。 Although FIG. 4 is an illustration of updating the BIOS of a computer, the present invention is not limited thereto. Users can also use the above methods to update drivers, anti-virus software, applications or operating systems on the computer. In addition, Fig. 4 can also be applied to the architecture of Fig. 1 or Fig. 2.

第5圖為根據本發明實施例之一電子裝置的運作方法的流程圖。在步驟S51時,電腦系統在非執行狀態下,此時電腦系統中除了超級輸入輸出控制器以及與超級輸入輸出控制器有共同的電源接收狀態的元件外,其餘的元件皆沒有被供電。在步驟S52中,超級輸入輸出控制器或是內嵌控制器(Embedded Controller)可持續監控電腦系統的狀態以及監控一無線模組以確認是否有來自一手持裝置的資料或輸入信號傳送給電腦系統(步驟S53)。 FIG. 5 is a flow chart showing a method of operating an electronic device according to an embodiment of the present invention. In step S51, the computer system is in a non-executive state. At this time, except for the super input/output controller and the components having the same power receiving state as the super input/output controller, the remaining components are not powered. In step S52, the super input/output controller or the embedded controller continuously monitors the status of the computer system and monitors a wireless module to confirm whether data or input signals from a handheld device are transmitted to the computer system. (Step S53).

在步驟S53中,如果接收到手持裝置傳送的資料或 輸入信號,則步驟S54被執行。反之,則回到步驟S52。在步驟S54中,超級輸入輸出控制器可解讀接收到的資料或指令,並進行對應的動作。在本實施例中,對應的動作包含了資訊顯示功能(步驟S55)、喚醒功能(步驟S56)以及更新功能(步驟S57)。前述之功能的詳細說明可參考第1至4圖之說明,在此不贅述。 In step S53, if the data transmitted by the handheld device is received or When the signal is input, step S54 is executed. Otherwise, it returns to step S52. In step S54, the super input/output controller can interpret the received data or instructions and perform corresponding actions. In the present embodiment, the corresponding action includes an information display function (step S55), a wake-up function (step S56), and an update function (step S57). For a detailed description of the foregoing functions, reference may be made to the description of FIGS. 1 to 4, and details are not described herein.

第6圖為根據本發明實施例之一電子裝置的示意圖。電子裝置61包括晶片組62、控制器63以及無線模組64。無線模組64可根據使用者的選擇或一選擇信號而被晶片組62或控制器63所控制。當電子裝置61處於非執行狀態時,無線模組64可由控制器63所控制,且與控制器63有共同的電源接收狀態。 Figure 6 is a schematic diagram of an electronic device in accordance with an embodiment of the present invention. The electronic device 61 includes a chip set 62, a controller 63, and a wireless module 64. The wireless module 64 can be controlled by the chipset 62 or controller 63 based on user selection or a selection signal. When the electronic device 61 is in the non-executing state, the wireless module 64 can be controlled by the controller 63 and has a power receiving state in common with the controller 63.

在另一實施例中,電子裝置61更包括一切換機制,可用以將無線模組64的控制權轉移給晶片組62或控制器63,相關的敘述可以參考第2圖之電子裝置22。在另一實施例中,無線模組64可包括一第一無線模組與一第二無線模組,其中第一無線模組受控於晶片組62,且第二無線模組受控於控制器63。當電子裝置61在執行狀態下,電子裝置61內的處理器或作業系統可選擇以第一無線模組或第二無線模組與一手持式電子裝置進行通信。當電子裝置61處於非執行狀態時,則可透過第二無線模組讓控制器63與手持式電子裝置進行通信,其中第一無線模組與晶片組並不會被供電。相關的敘述可以參考第1圖與第3圖之說明。 In another embodiment, the electronic device 61 further includes a switching mechanism for transferring control of the wireless module 64 to the chipset 62 or the controller 63. For related description, reference may be made to the electronic device 22 of FIG. In another embodiment, the wireless module 64 can include a first wireless module and a second wireless module, wherein the first wireless module is controlled by the chip set 62, and the second wireless module is controlled by the control. 63. When the electronic device 61 is in the execution state, the processor or the operating system in the electronic device 61 can select to communicate with the handheld electronic device by using the first wireless module or the second wireless module. When the electronic device 61 is in the non-executing state, the controller 63 can communicate with the handheld electronic device through the second wireless module, wherein the first wireless module and the chipset are not powered. For a description of the relevant description, reference may be made to the description of Figs. 1 and 3.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何熟悉此項技藝者,在不脫離本發明之精神和 範圍內,當可做些許更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one skilled in the art can In the scope of the invention, the scope of protection of the invention is defined by the scope of the appended claims.

11‧‧‧電子裝置 11‧‧‧Electronic devices

12‧‧‧手持式電子裝置 12‧‧‧Handheld electronic devices

101‧‧‧處理器 101‧‧‧ processor

102‧‧‧晶片組 102‧‧‧ chipsets

103‧‧‧控制器 103‧‧‧ Controller

104‧‧‧第一無線模組 104‧‧‧First wireless module

105‧‧‧第二無線模組 105‧‧‧Second wireless module

Claims (21)

一種電子裝置,包括:一第一無線模組,受控於一晶片組並與一手持式電子裝置溝通;一第二無線模組,與該手持式電子裝置溝通;以及一控制器,耦接該第二無線模組,其中當該第一無線模組與該晶片組皆被禁能時,該電子裝置透過該第二無線模組接收該手持式電子裝置的一信號。 An electronic device includes: a first wireless module controlled by a chipset and communicating with a handheld electronic device; a second wireless module communicating with the handheld electronic device; and a controller coupled The second wireless module, wherein when the first wireless module and the chipset are disabled, the electronic device receives a signal of the handheld electronic device through the second wireless module. 如申請專利範圍第1項所述之電子裝置,其中該晶片組與該第一無線模組位於一第一電源域且同時被致能,該控制器與該第二無線模組位於一第二電源域且同時被致能。 The electronic device of claim 1, wherein the chipset and the first wireless module are located in a first power domain and are simultaneously enabled, and the controller and the second wireless module are located in a second The power domain is enabled at the same time. 如申請專利範圍第2項所述之電子裝置,其中當該電子裝置位於一非執行狀態時,該第一電源域停止供電給該晶片組與該第一無線模組,該第二電源域仍繼續供電給控制器與該第二無線模組。 The electronic device of claim 2, wherein when the electronic device is in a non-executive state, the first power domain stops supplying power to the chip set and the first wireless module, and the second power domain is still Power is continued to the controller and the second wireless module. 如申請專利範圍第1項所述之電子裝置,其中該第一無線模組與該第二無線模組分別為一藍芽模組,或該第一無線模組與該第二無線模組分別為一近場通訊模組。 The electronic device of claim 1, wherein the first wireless module and the second wireless module are respectively a Bluetooth module, or the first wireless module and the second wireless module are respectively It is a near field communication module. 一種積體電路,用於處理一電子裝置之輸入/輸出信號,包括:一控制器;一切換裝置,耦接該控制器、一無線模組與該電子裝置內的一晶片組,用以建立該無線模組與該晶片組之一第一連線,或該控制器與該無線模組的一第二連線; 其中當該電子裝置處於一非執行狀態時,該切換裝置建立該第二連線,使該控制器透過該無線模組接收並處理來自一手持式電子裝置的一信號。 An integrated circuit for processing an input/output signal of an electronic device, comprising: a controller; a switching device coupled to the controller, a wireless module and a chip set in the electronic device for establishing The wireless module is first connected to one of the chip sets, or a second connection between the controller and the wireless module; When the electronic device is in a non-executive state, the switching device establishes the second connection, so that the controller receives and processes a signal from a handheld electronic device through the wireless module. 如申請專利範圍第5項所述之積體電路,其中該控制器與該晶片組為兩個獨立之元件。 The integrated circuit of claim 5, wherein the controller and the chip set are two separate components. 如申請專利範圍第5項所述之積體電路,其中當該電子裝置位於一執行狀態時,該切換裝置根據一選擇信號建立該第一連線或該第二連線,其中該選擇信號由該電子裝置的一處理器所產生。 The integrated circuit of claim 5, wherein when the electronic device is in an execution state, the switching device establishes the first connection or the second connection according to a selection signal, wherein the selection signal is A processor of the electronic device is produced. 如申請專利範圍第5項所述之積體電路,其中當該切換裝置建立該第一連線時,該無線模組與該晶片組共用一第一電源域,當該切換裝置建立該第二連線時,該無線模組與該控制器共用相異於該第一電源域之一第二電源域。 The integrated circuit of claim 5, wherein when the switching device establishes the first connection, the wireless module shares a first power domain with the chip set, and when the switching device establishes the second When connected, the wireless module shares a second power domain different from the controller in the first power domain. 如申請專利範圍第5項所述之積體電路,其中該控制器接收該信號並執行對應的一功能。 The integrated circuit of claim 5, wherein the controller receives the signal and performs a corresponding function. 如申請專利範圍第5項所述之積體電路,其中當該電子裝置位於一執行狀態時,該晶片組接收該手持式電子裝置所傳送之一解鎖指令,並確認該解鎖指令是否與該電子裝置中所儲存之資料相符,以決定是否允許一使用者登入該電子裝置。 The integrated circuit of claim 5, wherein when the electronic device is in an execution state, the chip set receives an unlock command transmitted by the handheld electronic device, and confirms whether the unlock command is associated with the electronic device. The data stored in the device matches to determine whether a user is allowed to log in to the electronic device. 如申請專利範圍第9項所述之積體電路,其中該功能為一資訊顯示功能,該控制器傳送該電子裝置的一資訊給該手持式電子裝置,該資訊包括該電子裝置內的一處理器的溫度、型號、目前電壓、運作頻率、該電子裝置內的一風扇 的轉速、一時間資訊、該電子裝置的一BIOS版本以及該電子裝置的一記憶體的資訊中的至少一個。 The integrated circuit of claim 9, wherein the function is an information display function, the controller transmits a message of the electronic device to the handheld electronic device, the information includes a process in the electronic device Temperature, model, current voltage, operating frequency, a fan in the electronic device At least one of a rotational speed, a time information, a BIOS version of the electronic device, and information of a memory of the electronic device. 如申請專利範圍第9項所述之積體電路,其中該功能為一喚醒功能,當該控制器接收該信號後,傳送一喚醒信號給該晶片組或一處理器以執行一開機程序或一喚醒程序。 The integrated circuit of claim 9, wherein the function is a wake-up function, and when the controller receives the signal, transmitting a wake-up signal to the chipset or a processor to perform a boot process or a Wake up the program. 如申請專利範圍第9項所述之積體電路,其中該功能為一更新功能,當該控制器接收該信號後,透過該第二無線模組接收一更新資訊以更新該電子裝置的一BIOS、一韌體或一軟體。 The integrated circuit of claim 9, wherein the function is an update function, and after receiving the signal, the controller receives an update information through the second wireless module to update a BIOS of the electronic device. , a firmware or a software. 如申請專利範圍第9項所述之積體電路,其中該功能為一錯誤診斷功能,該控制器將該電子裝置的一錯誤資訊傳送給該手持式電子裝置,該手持式電子裝置接收該錯誤資訊並進行一偵錯程序。 The integrated circuit of claim 9, wherein the function is an error diagnosis function, the controller transmitting an error message of the electronic device to the handheld electronic device, the handheld electronic device receiving the error Information and a debugging process. 如申請專利範圍第5項所述之積體電路,其中該無線模組為一藍芽模組或一近場通訊模組。 The integrated circuit of claim 5, wherein the wireless module is a Bluetooth module or a near field communication module. 一種運作方法,適用於一電子裝置,其中該電子裝置包括一晶片組、一控制器以及一無線模組,且該無線模組受控於該晶片組或該控制器,該運作方法包括:偵測該電子裝置的一狀態;當該狀態為一非執行狀態時,建立該無線模組與該控制器之一第一連線;當該狀態為一執行狀態時,建立該無線模組與該晶片組之一第二連線;以及根據一輸入信號以執行對應之一功能。 An operation method is applicable to an electronic device, wherein the electronic device includes a chipset, a controller, and a wireless module, and the wireless module is controlled by the chipset or the controller, and the operation method includes: detecting Detecting a state of the electronic device; when the state is a non-executing state, establishing a first connection between the wireless module and the controller; and when the state is an execution state, establishing the wireless module and the a second connection of one of the chipsets; and an input signal to perform a corresponding function. 如申請專利範圍第16項所述之運作方法,其中該功能為一喚醒功能,當該控制器接收該輸入信號後,傳送一喚醒信號給該晶片組或該電子裝置的一處理器以執行一開機程序或一喚醒程序。 The operating method of claim 16, wherein the function is a wake-up function, and after receiving the input signal, the controller transmits a wake-up signal to the chipset or a processor of the electronic device to execute a Boot program or a wake-up program. 如申請專利範圍第16項所述之運作方法,其中該輸入信號為一統一碼字串,該統一碼字串係為透過一手持式裝置將由一使用者輸入之一第一語言所對應之一第一字串轉換產生,當該控制器或該晶片組確認該統一碼字串與該電子裝置中所儲存之資料相符時,將允許該使用者登入該電子裝置。 The operation method of claim 16, wherein the input signal is a unified code string, and the unified code string is one of a first language corresponding to a user input through a handheld device. The first string conversion is generated, and when the controller or the chipset confirms that the Unicode string matches the data stored in the electronic device, the user is allowed to log in to the electronic device. 如申請專利範圍第16項所述之運作方法,其中當該電子裝置位於該非執行狀態時,該控制器接收該輸入信號以執行一資訊顯示功能,該控制器傳送該電子裝置的一資訊給一手持式電子裝置,該資訊包括該電子裝置內的一處理器的溫度、型號、目前電壓、運作頻率、該電子裝置內的一風扇的轉速、一時間資訊、該電子裝置的一BIOS版本以及該電子裝置的一記憶體的資訊中的至少一個。 The operating method of claim 16, wherein when the electronic device is in the non-executive state, the controller receives the input signal to perform an information display function, and the controller transmits a message of the electronic device to the a handheld electronic device, the information including a temperature, a model, a current voltage, an operating frequency of the processor in the electronic device, a rotational speed of a fan in the electronic device, a time information, a BIOS version of the electronic device, and the At least one of information of a memory of the electronic device. 如申請專利範圍第16項所述之運作方法,其中當該電子裝置位於該非執行狀態時,該控制器接收該輸入信號以執行一錯誤診斷功能,該控制器將該電子裝置的一錯誤資訊傳送給一手持式電子裝置或一伺服器,以進行一偵錯程序。 The operation method of claim 16, wherein when the electronic device is in the non-executive state, the controller receives the input signal to perform an error diagnosis function, and the controller transmits an error message of the electronic device Give a handheld electronic device or a server to perform an error detection procedure. 如申請專利範圍第16項所述之運作方法,其中當該功能為一更新功能時,該控制器透過該無線模組接收一更新資訊以更新該電子裝置的一BIOS、一韌體或一軟體。 The operating method of claim 16, wherein when the function is an update function, the controller receives an update information through the wireless module to update a BIOS, a firmware or a software of the electronic device. .
TW102128594A 2009-08-25 2013-08-09 Integrated circuit, electronic device and operation method thereof TWI612428B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
TW102128594A TWI612428B (en) 2013-08-09 2013-08-09 Integrated circuit, electronic device and operation method thereof
CN201310463379.5A CN104348514B (en) 2013-08-09 2013-10-08 Integrated circuit, electronic device and operation method thereof
US14/093,313 US9696779B2 (en) 2009-08-25 2013-11-29 Integrated circuit, electronic device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102128594A TWI612428B (en) 2013-08-09 2013-08-09 Integrated circuit, electronic device and operation method thereof

Publications (2)

Publication Number Publication Date
TW201506638A true TW201506638A (en) 2015-02-16
TWI612428B TWI612428B (en) 2018-01-21

Family

ID=52503442

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102128594A TWI612428B (en) 2009-08-25 2013-08-09 Integrated circuit, electronic device and operation method thereof

Country Status (2)

Country Link
CN (1) CN104348514B (en)
TW (1) TWI612428B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI831611B (en) * 2023-02-14 2024-02-01 新唐科技股份有限公司 Microcontroller and control method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004003703A2 (en) * 2002-06-27 2004-01-08 Ting-Mao Chang A power saving mobility aware system and method
CN1317621C (en) * 2003-06-27 2007-05-23 联想(北京)有限公司 A memory device and storage method thereof
TW200729902A (en) * 2006-01-27 2007-08-01 Asustek Comp Inc Portable electronic apparatus
US9310838B2 (en) * 2010-03-19 2016-04-12 I/O Interconnect, Ltd. Power management method for switching power mode of a computer system based on detection of a human interface device
CN102778955A (en) * 2011-05-10 2012-11-14 精元电脑股份有限公司 Bluetooth data transmission system and method
TWI423601B (en) * 2011-05-30 2014-01-11 Ralink Technology Corp Rf processing circuit and wireless communication device using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI831611B (en) * 2023-02-14 2024-02-01 新唐科技股份有限公司 Microcontroller and control method thereof

Also Published As

Publication number Publication date
CN104348514A (en) 2015-02-11
CN104348514B (en) 2017-03-08
TWI612428B (en) 2018-01-21

Similar Documents

Publication Publication Date Title
US8255725B2 (en) Information processing apparatus and power-saving control method
KR101518323B1 (en) Method and system for providing hybrid-shutdown and fast startup processes
US9696779B2 (en) Integrated circuit, electronic device and operation method thereof
US9310838B2 (en) Power management method for switching power mode of a computer system based on detection of a human interface device
US6760850B1 (en) Method and apparatus executing power on self test code to enable a wakeup device for a computer system responsive to detecting an AC power source
TWI386791B (en) Transitioning a computing platform to a low power system state
WO2014209631A1 (en) Secure access enforcement proxy
KR20080035850A (en) Computer system and control method thereof
KR101431712B1 (en) Apparatus and method for informing the PC user of the status of Wake On Lan
US9672048B2 (en) Electronic device and method for waking up operating system thereof
JP4846862B2 (en) Information processing apparatus and power saving control method
TW201624192A (en) Computer system, adaptable hibernation control module and control method thereof
TWI612428B (en) Integrated circuit, electronic device and operation method thereof
US10571992B2 (en) Electronic device having a controller to enter a low power mode
US9207742B2 (en) Power saving operating method for an electronic device by disabling a connection port to a touch device before the touch device enters power-saving mode
JP6255918B2 (en) Information processing apparatus, communication control method, and communication control program
TW201616349A (en) Power-on method and related server device
TWI514127B (en) A computer system with an e-reader mode and e-book processing method thereof
JP2012160019A (en) Information processor and control method