[go: up one dir, main page]

TW201229765A - Electronic device and power control method thereof - Google Patents

Electronic device and power control method thereof Download PDF

Info

Publication number
TW201229765A
TW201229765A TW100100127A TW100100127A TW201229765A TW 201229765 A TW201229765 A TW 201229765A TW 100100127 A TW100100127 A TW 100100127A TW 100100127 A TW100100127 A TW 100100127A TW 201229765 A TW201229765 A TW 201229765A
Authority
TW
Taiwan
Prior art keywords
power
touch screen
light
power switch
electronic device
Prior art date
Application number
TW100100127A
Other languages
Chinese (zh)
Other versions
TWI425360B (en
Inventor
Fan-Lin Lu
Xin Zhao
Ruey-Shyang You
Xiao-Guang Li
Han-Che Wang
Kuan-Hong Hsieh
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW100100127A priority Critical patent/TWI425360B/en
Publication of TW201229765A publication Critical patent/TW201229765A/en
Application granted granted Critical
Publication of TWI425360B publication Critical patent/TWI425360B/en

Links

Landscapes

  • Power Sources (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

An electronic device includes a main control system, a power key, a touch screen and a touch screen control unit. The touch screen includes an infrared ray corresponding to the power key. The touch screen control unit and the touch screen are powered by an uninterrupted power supply. The touch screen control unit includes a scan control module, a detecting module and a power control module. The scan control module continually scans the infrared ray corresponding to the power key. The detecting module determines whether the infrared ray corresponding to the power key is blocked more than a first predetermined time period according to the scan results corresponding to a touch operation of a user. The power control module turns on or off the power of the main control system when the infrared ray corresponding to the power key is blocked more than the first predetermined time period. A power control method for the electronic device is also provided.

Description

201229765 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種電子裝置及其電源控制方法。 【先前技術】 [0002] 如今紅外觸摸技術的應用越來越廣泛,而具有紅外觸摸 屏的電子裝置也越來越普遍。然,現有的具有觸摸屏的 電子裝置的電源開關鍵仍採用物理按鍵,物理按鍵往往 要求用戶施加較大的按壓力,不夠人性化。 【發明内容】 [0003] 有鑒於此,有必要提供一種更人性化的具有觸摸屏的電 子裝置,以解決上述問題。 [0004] 有鑒於此,還有必要提供一種依賴電子裝置的觸摸屏進 行電源控制的方法,以解決上述問題。 [0005] —種電子裝置,包括一主控制系統、一電源開關、一觸 摸屏和一觸摸屏控制單元。該觸摸屏包括多個紅外發射 器以及紅外接收器,該紅外發射器發射紅外光線至對應 的紅外接收器,從而形成一光線網格,該光線網格包括 一對應該電源開關的光線。該觸摸屏控制單元與該觸摸 屏由一電源不間斷供電,該觸摸屏控制單元包括一掃描 控制模組、一觸摸彳貞測模組和一電源控制模組。該掃描 控制模組用於不間斷的掃描對應該電源開關的光線的通 斷狀態。該觸摸偵測模組用於根據該掃描控制模組的掃 描結果判斷用戶每次對對應該電源開關的光線的阻隔是 否超過一第一預設時間。該電源控制模組,用於在該觸 摸偵測模組偵測到對應該電源開關的光線被阻隔超過該 100100127 表單編號A0101 第4頁/共21頁 1002000219-0 201229765 第一預設時間時控制該主控制系統電源的開閉。 [0006] Ο [0007] [0008]201229765 VI. Description of the Invention: [Technical Field of the Invention] [0001] The present invention relates to an electronic device and a power supply control method thereof. [Prior Art] [0002] Today, infrared touch technology is becoming more and more widely used, and electronic devices having infrared touch screens are becoming more and more popular. However, the power switch of the existing electronic device with a touch screen still uses physical buttons, and the physical buttons often require the user to apply a large pressing force, which is not user-friendly. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide a more user-friendly electronic device with a touch screen to solve the above problems. In view of the above, it is also necessary to provide a method of controlling power supply by relying on a touch screen of an electronic device to solve the above problem. [0005] An electronic device includes a main control system, a power switch, a touch screen, and a touch screen control unit. The touch screen includes a plurality of infrared emitters and an infrared receiver that emits infrared light to a corresponding infrared receiver to form a grid of rays comprising a pair of light that should be a power switch. The touch screen control unit and the touch screen are powered by a power supply. The touch screen control unit includes a scan control module, a touch detection module and a power control module. The scan control module is used for uninterrupted scanning of the on/off state of the light corresponding to the power switch. The touch detection module is configured to determine, according to the scan result of the scan control module, whether the barrier of the user corresponding to the light of the power switch exceeds a first preset time. The power control module is configured to control when the touch detection module detects that the light corresponding to the power switch is blocked beyond the 100100127 form number A0101, page 4 / 21 pages, 1002000219-0 201229765, the first preset time The main control system is powered on and off. [0006] [0008] [0008]

一種電子裝置的電源控制方法,該電子裝置包括一主控 制系統、一電源開關和一觸摸屏。該觸摸屏包括若干紅 外發射益以及紅外接收器,該紅外發射器發射紅外光線 至對應的紅外接收器,從而形成一光線網格,該光線網 格包括一對應該電源開關的光線。該電源控制方法包括 如下步驟:執行不間斷的掃描對應該電源開關的光線的 通斷狀態;根據掃描結果判斷對應該電源開關的光線是 否被阻斷超過-預設時間;及在對應該電源開關的光線 被阻斷超過該預設時間時,開閉主控制系統的電源。 本發明提供的電子裝置及其電源控制方法,使得用戶只 需觸摸電源開關達預設時間就可以開啟或關閉電子裝置 主控制系統的電源來實現開關機。從而使得電子裝置的 開關機更人性化,方便了用戶。 【實施方式】 請參閱圖1,其為本發明的電子裝置⑽的示意圖。電子 裝置100包括-邊框!顯示幕2、_觸摸屏3以及一電 源開關4 ^其中,觸摸屏3為一紅外觸摸屏,其覆蓋了顯 示幕2的顯示區域。本實施方式中,電源開關“設置於 觸撰屏3上部中間位置的一電源標識,在其他實施方式中 ,還可以根據需要設置電源開關4的位置以及方式,如將 電源開關4設於觸摸屏3的下部中間位置或右下角,將電 源開關4設為一設置於邊框!上的一預定位置的電源標識 等。 100100127 在本實施方式中’電子裝置100為一 表單編號A0101 第5頁/共21頁 數續相框,在其他實 1002000219-0 [0009] 201229765 電子書閱讀器 施方式中,電子裝置100還可以是手機、 音樂播放器等採用紅外觸摸屏的電子裝置 [0010] 凊參閱圖2,其為本發明電子裝置⑽的第-實施方式中 觸摸屏3的示意圖。在本實施方式中,該觸摸屏3包括均 勻分佈在邊框1四周内的紅外發射器6和紅外接收器7,該 些紅外發射器6分佈在相鄰的^邊該些紅外接收器7八 佈在與紅外發射器6正對的—邊,該些紅外發射器6向^ 應邊的紅外接收器7發射紅外光線,從而在觸摸則所在 區域下形成均句分佈的紅外光線網格5。其中,光線網格 5包括由一紅外發射器6發射的豎直方向的紅外光線X,該 光線X穿過電源開關4的位置,另一紅外發射器6發射較 外光線Y0垂直該光線X,並臨近電源開關4,該光線別為 垂直於光線X的所有光線中最接近電源開關4的光線電 源開關4的位置未有水準方向的光線穿過。在其他實施方 式中,光線網格5可根據需要設置,只要確保有一條光線 X穿過電源開關4的位置即可’例如,可以將光線χ設置為 穿過電源開關4的一條水準的光線或傾斜一定角度的光線 。當將電源開關4設為一位於邊框丨上的標識時,只需確 保有一條光線X對應電源開關4所在的位置。 [〇〇11]當電子裝置1 〇 〇處於關閉狀態時,用戶只需用手指觸摸電 源開關4或光線χ經過的該觸摸屏3上的其他位置達到一第 一預設時間,電子裝置100即可自動開機。當用戶1使用 元電子裝置100後,只需觸摸電源開關4或光線X經過的該 觸摸屏3上的其他位置達到該第一預設時間,即可關閉電 子裝置100。該第一預設時間為系統設定好的或用戶自定 100100127 表單編號Α0101 第6頁/共21頁 1002000219Ό 201229765 義的,可以為3秒或5秒,在其他實施方式中,還可以設 置為觸摸電源開關4或光線X經過的該觸摸屏3上的其他位 置達到另一與該第一預設時間不同的預設時間。而在電 子裝置100處於開機狀態下,當用戶觸摸光線X經過的該 觸摸屏3上某一位置未達到該第一預設時間時.,電子裝置 100則根據被觸摸的光線網格5中的光線X和其他光線來控 制實現其他的功能,如翻頁、縮放等。 [0012] Ο 〇 [0013] 請參閱圖3,其為本發明第二實施方式的電子裝置100中 觸摸屏3的示意圖。其與第一實施方式的不同之處在於: 本實施方式中,該觸摸屏3包括豎直方向設置的一個紅外 線接收器7’以及若干紅外線發射器7’ ,該若干紅外線 發射器6’均向該紅外線接收器7’發射紅外光線,該觸 摸屏3還包括一水準方向設置的紅外線發射器6’和與該 紅外線發射器6’對應的接收器7’ ,從而在觸摸屏3所在 區域下形成另一紅外光線網格5’ 。如圖3所示,該光線 網格5’為一對多散射式,包括經過電源開關4的一豎直 方向的光線X’ ,以及與光線X’垂直的遠離電源開關4的 水準光線Υ0’ 。 請參閱圖4,其為本發明各實施方式中的電子裝置100的 功能模組圖。電子裝置100包括一輸入單元10、一主控制 系統20、一觸摸屏控制單元30和觸摸屏3。該主控制系統 20包括主處理器21和顯示幕2以及除觸摸屏控制單元30和 觸摸屏3外的其他功能部件。該觸摸屏控制單元30包括一 掃描控制模組31、一觸摸偵測模組33、一電源控制模組 35和一暫存器37。 100100127 表單編號Α0101 第7頁/共21頁 1002000219-0 201229765 [0014] 該觸摸屏控制單元30用於偵測用戶在電源開關4處或觸摸 屏3上經過該電源開關4的光線上的觸摸操作來控制主控 制系統20的電源的通斷。觸摸屏控制單元30以及觸摸屏3 由一電源持續為其供電,該電源為該電子裝置100内的供 電電路或一市電適配器。當為觸摸屏控制單元30以及觸 摸屏3供電的電源為該電子裝置100内部的供電電路時, 需將觸摸屏控制單元30以及觸摸屏3的供電與電子裝置 100的其他部件的供電分隔開來,以對其他部件的通斷不 影響對觸摸屏控制單元30以及觸摸屏3的供電為准。 [0015] 掃描控制模組31用於根據電子裝置1 0 0的主控制系統2 0的 電源狀態執行不同的掃描模式。具體為:當主控制系統 20處於電源開啟的狀態時,掃描控制模組31執行不間斷 的週期掃描整個光線網格5或5’ ,對整個光線網格5或5 ’的掃描包括對光線X或X’的通斷狀態的掃描;當主控 制系統20處於電源關閉的狀態時,掃描控制模組31僅執 行不間斷的掃描光線X或X’的通斷狀態。即,在主控制 系統20處於電源關閉和開啟的狀態下,掃描控制模組31 均會執行不間斷的掃描通過電源開關4處的豎直光線X或X ’的通斷狀態。 [0016] 觸摸偵測模組33用於偵測觸摸屏3上是否有觸摸操作及觸 摸的位置等資訊,並將偵測信號傳送給掃描控制模組31 、電源控制模組35以及主處理器21。其中,該掃描控制 模組31與觸摸偵測模組33連接,用於根據觸摸偵測模組 33的偵測結果來控制掃描的頻率。在主控制系統20處於 電源開啟的狀態下:當觸摸偵測模組33偵測到超過一第 100100127 表單編號A0101 第S頁/共21頁 1002000219-0 201229765 [0017] Ο [0018] Ο [0019] 100100127 —預設時間(如60秒鐘)沒有觸摸操作於觸摸屏3上時, 掃祂控制模組31將掃描頻率降到正常掃描頻率的一半; 田觸摸偵測模組33偵測到超過一第二預設時間(如5分鐘 )久有觸摸操作於觸摸屏3上時,掃描控制模組31將掃描 頻率降到最低掃描頻率(100ms/次)。 該觸模偵測模組33還與所有的紅外接收器連接,以偵測 紅外線接收器7/7’接收紅外線光線與否來判斷光線的通 斷狀怨:在主控制系統2〇處於電源開啟狀態下,該觸摸 偵測模組3 3彳貞賴有紅外接收^ 7 / 7,的接收狀況以判斷 該觸摸屏3任意位置是否被觸摸,在主控制系統2 〇處於電 源關閉狀態下’該觸摸债測模組33僅偵測接收該紅外光 線X/X’的紅外接收器的接收狀況,以判斷該觸摸屏3上 對應該電源開關4的位置是否被觸摸。 觸摸偵測模組33還用於在電子裝置開啟時,偵測該觸摸 屏3上經過電源開關4的鳘直線上的點被觸摸的時間,即 該光線X/X’被阻隔的時間,並將資料存放於暫存器Μ中 。具體的,該觸摸_模組33根據該用於接收紅夕/光線 Χ/Γ的紅外接收器未接收到紅外光線χ/χ,的時間來判 斷6玄觸摸屏上經過電源開關4的暨直線上的點被觸摸的時 間。 電源控制模組35用於根據接收的制信號,開啟發送相 應的控制信號給主處理器21。具體為:在主控制系統2〇 的電源處於開啟狀態下,當觸摸偵測模組33偵測到穿過 電源開關4位置處的光線X或光線χ,被阻隔超過該第一預 設時間(如1秒鐘)時’電源控制模組35發出一關閉控制 表單編號Α0101 第9頁/共21頁 1002000219-0 201229765 信號給主處理器21,該主處理器21接收該關閉控制信號 以關閉主控制系統2 〇的電源,而此時觸摸屏控制單元3 〇 的電源仍由適配器供應。而在主控制系統2〇的電源處於 關閉狀態下,當觸摸偵測模組33偵測到電源開關4位置處 的光線X或光線X’被阻隔超過該第一預設時間(如丨秒鐘 )時,電源控制模組35則發出一開啟控制信號給主處理 器21,該主處理器21接收該開啟控制信號以開啟主控制 系統2 0的電源。 [0020] [0021] [0022] [0023] 使用上述電子裝置1〇〇時,甩戶只需觸摸電源開關4達第 一預設時間就可以間啟主控制系統2〇的電源來開機。當 用戶需要關閉電子裝置1〇〇時,只需再觸摸電源開關4達 第一預設時間即可關閉主控制系統2〇的電源來關機。從 而使知電子裝置1 〇 〇的開關機更人性化,.方_便了用戶。 請一併參閱圖4和圖5,其中,圖5為本發明的電子裝置 100電源控制方法的步驟流程圖。該電源控制方法步驟流 程圖具體包括如下步驟: 步驟S401,判斷電子裝置1〇〇的主控制系統2〇的電源是 否為關閉,如果是,則進入步驟S4〇2,如果否則進入步 驟S406 ° 步驟S402,掃描控制模組31執行不間斷的掃描光線χ*χ ’的通斷狀態。 步驟S403,觸摸偵測模組33根據掃描控制模組31的掃描 結果判斷電源開關4是否被觸摸,如果是,則進入步驟 S404,如果否’則返回步驟S402。 100100127 表單編號Α0101 第10頁/共21頁 1002000219-0 [0024] 201229765 [0025] 步驟S 4 〇 4觸抵偵測模組3 3偵測電源開關4被觸摸是否達 到第一預設時間(如1秒鐘),如果是,則進入步驟S405 ,如果否,則返回步驟S4〇2。 [0026] [0027] [0028]Ο [0029]Ο [0030] 步驟S4G5 1細龍組35發送—控制㈣給主處理器 21以開啟主控制系統2〇的電源。 步驟S406 ’觸携偵測模組_測觸摸屏3是否未被觸携達 到第二預設時間’如果是,則進人步驟S407。 乂驟兮樹掃為控制模組31調整對觸摸屏3掃描的頻率。 具體為:當__模咖制到超過第二預設時間(如60秒鐘)沒有觸摸操作於觸摸屏3上時,掃描控制模組 31將掃描頻率降到正常掃猫頻率的—半當當觸摸憤測 模組33偵_超過第二預設時間(如5分鐘)沒有觸摸操作於觸摸屏3上時’掃描控制模組31將掃描頻率降到最低 掃描頻率(10〇ms/次)。v驟S 4 0 8難偵測模組3 3根據掃描控制模組31的掃描 結果判斷電源開關4是否被觸摸,如果是,則進入步驟 S409 ’如果否’則返回步驟MQ6。 步驟S409,觸摸偵測模組33偵 到第一預設時間(如1秒鐘), ’如果否,則返回步驟S4〇6。 測電源開關4被觸摸是否達 如果是,則進入步驟S410 [0031] [0032] 步驟S410,電源控制模組35發送__錢給主處理器 21以關閉主控制系統20的電源。 另外本領域技術人員還可在本發明精神内做其他變化 100100127 I單編號A0101 第11頁/共21頁 1002000219-0 201229765 ,當然,這些依據本發明精神所做的變化,都應包含在 本發明所要求保護的範圍之内。 【圖式簡單說明】 [0033] 圖1為本發明的電子裝置的示意圖。 [0034] 圖2為本發明的第一實施方式中電子裝置的紅外觸摸屏的 示意圖。 [0035] 圖3為本發明的第二實施方式中電子裝置的紅外觸摸屏的 示意圖。 [0036] 圖4為本發明中電子裝置的功能模組圖。 [0037] 圖5為本發明中電子裝置的電源控制方法步驟流程圖。 【主要元件符號說明】 [0038] 電子裝置:100 [0039] 邊框:1 [0040] 顯示幕:2 [0041] 觸摸屏:3 [0042] 電源開關:4 [0043] 光線網格:5、5’ [0044] 紅外發射器:6、6’ [0045] 紅外接收器:7、7’ [0046] 光線:X、X’ 、Y0、Y0’ [0047] 輸入單元:1 0 100100127 表單編號A0101 第12頁/共21頁 1002000219-0 201229765 [0048] [0049] [0050] [0051] ' [0052] [0053] [0054] Ο 主控制系統:20 主處理器:21 觸摸屏控制單元:30 掃描控制模組.31 觸摸偵測模組:33 電源控制模組:35 暫存器:37 ❹ 100100127 表單編號Α0101 第13頁/共21頁 1002000219-0A power control method for an electronic device includes a main control system, a power switch, and a touch screen. The touch screen includes a plurality of infrared radiation benefits and an infrared receiver that emits infrared light to a corresponding infrared receiver to form a light grid comprising a pair of light that should be a power switch. The power control method includes the following steps: performing an uninterrupted scan on the on/off state of the light corresponding to the power switch; determining, according to the scan result, whether the light corresponding to the power switch is blocked for more than - a preset time; and corresponding to the power switch When the light is blocked for more than the preset time, the power of the main control system is turned on and off. The electronic device and the power control method thereof provided by the invention enable the user to turn on or off the power of the main control system of the electronic device to realize the switch machine only by touching the power switch for a preset time. Thereby, the on/off switch of the electronic device is more user-friendly and convenient for the user. Embodiments Please refer to FIG. 1, which is a schematic diagram of an electronic device (10) of the present invention. The electronic device 100 includes a bezel! The display screen 2, the touch screen 3, and a power switch 4^, wherein the touch screen 3 is an infrared touch screen, covers the display area of the display screen 2. In this embodiment, the power switch is disposed at a middle position of the upper portion of the touch screen 3, and in other embodiments, the position and manner of the power switch 4 may be set as needed, such as setting the power switch 4 to the touch screen 3. In the lower middle position or the lower right corner, the power switch 4 is set to a power source identifier or the like set at a predetermined position on the frame! 100100127 In the present embodiment, the electronic device 100 is a form number A0101, page 5 of 21 The number of pages is continued, and in the other embodiment of the electronic book reader, the electronic device 100 can also be an electronic device using an infrared touch screen such as a mobile phone or a music player. [0010] Referring to FIG. 2, A schematic diagram of the touch screen 3 in the first embodiment of the electronic device (10) of the present invention. In the present embodiment, the touch screen 3 includes an infrared emitter 6 and an infrared receiver 7 uniformly distributed in the periphery of the frame 1, the infrared emitters 6 distributed in the adjacent side of the infrared receiver 7 eight in the opposite side of the infrared emitter 6, the infrared emitter 6 to the side of the infrared connection The infrared light ray 5 is formed in the region where the touch is located, and the ray grid 5 includes a vertical ray of infrared rays X emitted by an infrared emitter 6 and the ray X Passing through the position of the power switch 4, the other infrared emitter 6 emits the outer light Y0 perpendicular to the light X, and is adjacent to the power switch 4, which is the light source closest to the power switch 4 among all the light perpendicular to the light X. The position of the switch 4 is not traversed by the light in the horizontal direction. In other embodiments, the light grid 5 can be set as needed, as long as a light X is ensured to pass through the position of the power switch 4, for example, the light can be χ Set to pass a level of light through the power switch 4 or tilt a certain angle of light. When the power switch 4 is set to a logo on the bezel, it is only necessary to ensure that a light X corresponds to the position of the power switch 4. [〇〇11] When the electronic device 1 is turned off, the user only needs to touch the power switch 4 with the finger or the other position on the touch screen 3 through which the light passes. After the preset time, the electronic device 100 can be automatically turned on. When the user 1 uses the electronic device 100, the user only needs to touch the power switch 4 or other positions on the touch screen 3 through which the light X passes to reach the first preset time. Turning off the electronic device 100. The first preset time is set by the system or the user-defined 100100127 form number Α 0101 page 6 / 21 pages 1002000219 Ό 201229765, which may be 3 seconds or 5 seconds, in other embodiments, It can also be set to touch the power switch 4 or other position on the touch screen 3 through which the light X passes to reach another preset time different from the first preset time. When the electronic device 100 is turned on, when the user touches the light When a certain position on the touch screen 3 that X passes does not reach the first preset time, the electronic device 100 controls other functions according to the light X and other light in the touched light grid 5, such as turning pages. , scaling, etc. [0012] Please refer to FIG. 3, which is a schematic diagram of a touch screen 3 in an electronic device 100 according to a second embodiment of the present invention. The difference from the first embodiment is that: in this embodiment, the touch screen 3 includes an infrared receiver 7' disposed in a vertical direction and a plurality of infrared emitters 7', wherein the plurality of infrared emitters 6' are The infrared receiver 7' emits infrared light, and the touch screen 3 further includes an infrared emitter 6' disposed in a horizontal direction and a receiver 7' corresponding to the infrared emitter 6', thereby forming another infrared under the area of the touch screen 3. Ray Grid 5'. As shown in FIG. 3, the light grid 5' is a one-to-multi-scatter type, including a vertical light ray X' passing through the power switch 4, and a horizontal ray Υ0' away from the power switch 4 perpendicular to the light ray X'. . Please refer to FIG. 4 , which is a functional block diagram of an electronic device 100 in each embodiment of the present invention. The electronic device 100 includes an input unit 10, a main control system 20, a touch screen control unit 30, and a touch screen 3. The main control system 20 includes a main processor 21 and a display screen 2 as well as other functional components in addition to the touch screen control unit 30 and the touch screen 3. The touch screen control unit 30 includes a scan control module 31, a touch detection module 33, a power control module 35, and a register 37. 100100127 Form No. 1010101 Page 7 / Total 21 Page 1002000219-0 201229765 [0014] The touch screen control unit 30 is configured to detect a user's touch operation on the light switch 4 or the light on the touch screen 3 passing the power switch 4 to control The power of the main control system 20 is turned on and off. The touch screen control unit 30 and the touch screen 3 are continuously powered by a power source that is a power supply circuit or a utility adapter within the electronic device 100. When the power supply for the touch screen control unit 30 and the touch screen 3 is the power supply circuit inside the electronic device 100, the power supply of the touch screen control unit 30 and the touch screen 3 needs to be separated from the power supply of other components of the electronic device 100, The switching of other components does not affect the power supply to the touch screen control unit 30 and the touch screen 3. [0015] The scan control module 31 is configured to execute different scan modes according to the power state of the main control system 20 of the electronic device 100. Specifically, when the main control system 20 is in the power-on state, the scan control module 31 performs an uninterrupted periodic scan of the entire ray grid 5 or 5 ′, and the scan of the entire ray grid 5 or 5 ′ includes the ray X Or scanning of the on-off state of X'; when the main control system 20 is in the power-off state, the scan control module 31 performs only the on-off state of the uninterrupted scanning light X or X'. That is, in the state where the main control system 20 is in the power-off and on state, the scan control module 31 performs an uninterrupted scanning of the on-off state of the vertical ray X or X' at the power switch 4. The touch detection module 33 is configured to detect information such as a touch operation and a touch position on the touch screen 3, and transmit the detection signal to the scan control module 31, the power control module 35, and the main processor 21. . The scan control module 31 is connected to the touch detection module 33 for controlling the frequency of the scan according to the detection result of the touch detection module 33. When the main control system 20 is in the power-on state: when the touch detection module 33 detects more than one 100100127, the form number A0101, the S page, the total 21 pages, the 1002000219-0 201229765 [0017] Ο [0018] Ο [0019 ] 100100127 — The preset time (eg, 60 seconds) when no touch is applied to the touch screen 3, the sweep control module 31 reduces the scan frequency to half of the normal scan frequency; the field touch detection module 33 detects more than one When the second preset time (for example, 5 minutes) is touched on the touch screen 3 for a long time, the scan control module 31 reduces the scan frequency to the lowest scan frequency (100 ms/time). The touch detection module 33 is also connected to all of the infrared receivers to detect whether the infrared receiver 7/7' receives the infrared light or not to judge the on-and-off behavior of the light: the power is turned on in the main control system 2 In the state, the touch detection module 3 3 depends on the receiving condition of the infrared receiving ^ 7 / 7, to determine whether the touch screen 3 is touched at any position, and the main control system 2 is in the power off state. The debt testing module 33 detects only the receiving condition of the infrared receiver that receives the infrared light X/X' to determine whether the position of the touch screen 3 corresponding to the power switch 4 is touched. The touch detection module 33 is further configured to detect, when the electronic device is turned on, a time when the point on the line of the touch screen 3 that passes through the power switch 4 is touched, that is, the time when the light X/X′ is blocked, and The data is stored in the scratchpad. Specifically, the touch_module 33 determines, according to the time that the infrared receiver for receiving the red ray/ray Χ/Γ does not receive the infrared ray χ/χ, the hex line on the hex line passing through the power switch 4 The time the point was touched. The power control module 35 is configured to turn on the corresponding control signal to the main processor 21 according to the received signal. Specifically, when the power of the main control system 2 is turned on, when the touch detection module 33 detects the light X or the light ray passing through the position of the power switch 4, it is blocked for more than the first preset time ( For example, when the power control module 35 issues a shutdown control form number Α0101, page 9 / 21 pages, 1002000219-0 201229765, the signal is sent to the main processor 21, and the main processor 21 receives the shutdown control signal to turn off the main The power of the system 2 is controlled, and at this time the power of the touch screen control unit 3 is still supplied by the adapter. When the power of the main control system 2 is turned off, when the touch detection module 33 detects that the light X or the light X' at the position of the power switch 4 is blocked for more than the first preset time (such as 丨 seconds) When the power control module 35 sends an open control signal to the main processor 21, the main processor 21 receives the turn-on control signal to turn on the power of the main control system 20. [0023] [0023] [0023] When the above electronic device is used, the tenant can turn on the power of the main control system 2〇 by simply touching the power switch 4 for the first preset time. When the user needs to turn off the electronic device 1 , the power of the main control system 2 即可 can be turned off by simply touching the power switch 4 for the first predetermined time. Therefore, the switching device of the electronic device 1 is made more user-friendly, and the user is ready. Referring to FIG. 4 and FIG. 5, FIG. 5 is a flow chart showing the steps of the power control method of the electronic device 100 of the present invention. The flow chart of the power control method step specifically includes the following steps: Step S401, determining whether the power of the main control system 2 of the electronic device 1 is turned off, and if yes, proceeding to step S4〇2, if otherwise, proceeding to step S406 ° S402, the scan control module 31 performs an on/off state of the uninterrupted scanning light χ*χ'. In step S403, the touch detection module 33 determines whether the power switch 4 is touched based on the scan result of the scan control module 31. If yes, the process goes to step S404, and if no, the process returns to step S402. 100100127 Form No. 1010101 Page 10/Total 21 Page 1002000219-0 [0024] 201229765 [0025] Step S 4 〇4 Touch Detection Module 3 3 detects whether the power switch 4 is touched for the first preset time (eg 1 second), if yes, go to step S405, if no, go back to step S4〇2. [0028] [0028] Step S4G5 1 The fine dragon group 35 transmits - controls (4) to the main processor 21 to turn on the power of the main control system 2A. In step S406, the touch detection module detects whether the touch screen 3 has not been touched for the second preset time. If yes, the process proceeds to step S407. The eucalyptus tree sweeps the control module 31 to adjust the frequency of scanning the touch screen 3. Specifically, when the __ mode is not more than the second preset time (for example, 60 seconds), the scan control module 31 reduces the scanning frequency to the normal sweeping frequency - the semi-dang touch The intrusion module 33 detects that the scanning control module 31 reduces the scanning frequency to the lowest scanning frequency (10 〇ms/time) when no touch operation is performed on the touch screen 3 for more than a second preset time (for example, 5 minutes). v The S 4 0 8 difficulty detection module 3 3 determines whether the power switch 4 is touched based on the scan result of the scan control module 31. If yes, the process proceeds to step S409', if no, the process returns to step MQ6. In step S409, the touch detection module 33 detects the first preset time (for example, 1 second), and if not, returns to step S4〇6. If the power switch 4 is touched, if yes, go to step S410. [0032] In step S410, the power control module 35 sends __ money to the main processor 21 to turn off the power of the main control system 20. In addition, those skilled in the art can also make other changes in the spirit of the present invention. 100100127 I, single number A0101, page 11 / 21 pages, 1002000219-0 201229765. Of course, these changes according to the spirit of the present invention should be included in the present invention. Within the scope of the claimed protection. BRIEF DESCRIPTION OF THE DRAWINGS [0033] FIG. 1 is a schematic view of an electronic device of the present invention. 2 is a schematic diagram of an infrared touch screen of an electronic device according to a first embodiment of the present invention. 3 is a schematic diagram of an infrared touch screen of an electronic device according to a second embodiment of the present invention. 4 is a functional block diagram of an electronic device in the present invention. 5 is a flow chart of steps of a power control method of an electronic device according to the present invention. [Main component symbol description] [0038] Electronic device: 100 [0039] Border: 1 [0040] Display screen: 2 [0041] Touch screen: 3 [0042] Power switch: 4 [0043] Light grid: 5, 5' [0044] Infrared Emitter: 6, 6' [0045] Infrared Receiver: 7, 7' [0046] Light: X, X', Y0, Y0' [0047] Input Unit: 1 0 100100127 Form No. A0101 No. 12 [0048] [0054] [0054] [0054] [0054] Ο Main Control System: 20 Main Processor: 21 Touch Screen Control Unit: 30 Scan Control Mode Group .31 Touch Detection Module: 33 Power Control Module: 35 Register: 37 ❹ 100100127 Form Number Α 0101 Page 13 / Total 21 Page 1002000219-0

Claims (1)

201229765 七、申請專利範圍: 1 . 一種電子裝置,包括一主控制系統、一電源開關、一觸摸 屏和一觸摸屏控制單元,該觸摸屏包括多個紅外發射器以 及紅外接收器,該紅外發射器發射紅外光線至對應的紅外 接收器,從而形成一光線網格,該光線網格包括一對應該 電源開關的光線,其改良在於: 該觸摸屏控制單元與該觸摸屏由一電源不間斷供電,該觸 摸屏控制單元包括一掃描控制模組、一觸摸偵測模組和一 電源控制模組; 該掃描控制模組用於不間斷的掃描對應該電源開關的光線 的通斷狀態; 該觸摸偵測模組用於根據該掃描控制模組的掃描結果判斷 用戶每次對對應該電源開關的光線的阻隔是否超過一第一 預設時間;及 該電源控制模組,用於在該觸摸偵測模組偵測到對應該電 源開關的光線被阻隔超過該第一預設時間時控制該主控制 系統電源的開閉。 2 .如申請專利範圍第1項所述之電子裝置,其中:該對應該 電源開關的光線為經過該電源開關處的一豎直光線。 3.如申請專利範圍第1項所述之電子裝置,其中:該觸摸偵 測模組還用於根據該掃描控制模組的掃描結果判斷未有觸 摸操作於觸摸屏上的持續時間是否超過一第二預設時間, 及所述掃描控制模組還用於在該觸摸偵測模組偵測到未有 觸摸操作於觸摸屏上的持續時間超過該第二預設時間時, 相應降低對對應該電源開關的光線的通斷的掃描頻率。 100100127 表單編號A0101 第14頁/共21頁 1002000219-0 201229765 •如申請專利範圍第i項所述之電子裝置,其中:__ 測模組還用於在該主控制系統電源開啟時,偵測該觸摸屏 上對應電源開關的光線上的點被觸摸的時間。 •如申請專利範圍第1項所述之電子裝置,其中:該電源開 關為設置於該觸摸屏上的一電源標識。 •種電子裝置之電源控制方法,該電子裳置包括—主控制 系統、-電源開關和-觸摸屏,該觸摸屏包括若干紅外發 射為以及紅外接收器,該紅外發射器發射紅外光線至對應201229765 VII. Patent application scope: 1. An electronic device comprising a main control system, a power switch, a touch screen and a touch screen control unit, the touch screen comprising a plurality of infrared emitters and an infrared receiver, the infrared emitter emitting infrared Light is applied to the corresponding infrared receiver to form a ray grid comprising a pair of light rays that should be powered by a switch, the improvement being: the touch screen control unit and the touch screen are powered by a power supply, the touch screen control unit The invention comprises a scan control module, a touch detection module and a power control module; the scan control module is configured to continuously scan the on/off state of the light corresponding to the power switch; the touch detection module is used for Determining, according to the scan result of the scan control module, whether the user's blocking of the light corresponding to the power switch exceeds a first preset time; and the power control module is configured to detect the touch detection module Controlling the power of the main control system when the light corresponding to the power switch is blocked beyond the first preset time Opening and closing. 2. The electronic device of claim 1, wherein: the light corresponding to the power switch is a vertical light passing through the power switch. 3. The electronic device of claim 1, wherein the touch detection module is further configured to determine, according to the scan result of the scan control module, whether the duration of the non-touch operation on the touch screen exceeds one The preset time, and the scan control module is further configured to: when the touch detection module detects that the touch operation is not performed on the touch screen for more than the second preset time, correspondingly reducing the corresponding power source The sweep frequency of the on and off of the light of the switch. 100100127 Form No. A0101 Page 14 of 21 1002000219-0 201229765 • The electronic device of claim i, wherein: the __ test module is further configured to detect when the main control system is powered on The time on the touch screen corresponding to the point on the light of the power switch being touched. The electronic device of claim 1, wherein the power switch is a power source identifier disposed on the touch screen. A power control method for an electronic device comprising: a main control system, a power switch, and a touch screen, the touch screen comprising a plurality of infrared radiation and an infrared receiver, the infrared emitter emitting infrared light to correspond 的紅外接收器,從而形成—光線網格,該光線網格包括一 對應該電源開關的光線,其改良在於,該電源控制方法包 括如下步驟: 執行不間斷的掃描對應該電源開關的光線的通斷狀態; 根據掃描結果判斷對應該電源開關的光線是否被阻斷超過 一預設時間;及 在對應該電源開關的光線被阻斷超過該預設時間時,開閉 主控制系統的電源。 .如申請專利範圍第6項所述之電子裝置之電源控制方法, 其中該對應該電源開關的光線為經過該電源開關處的一豎 直光線。 8 . 如申請專利範圍第6項所述之電子裝置之電源控制方法, 還包括如下步驟:根據掃描結果判斷未有觸摸操作於觸摸 屏上的持續時間是否超過一第二預設時間,及在未有觸摸 操作於觸摸屏上的持續時間超過該第二預設時間時相應 降低不間斷掃描的掃描頻率。 如申請專利範圍第6項所述之電子裝置之電源控制方法, 100100127 還包括如下步驟:判斷該主控制系統的電源是否為關閉。 表單編號A0101 第15頁/共21頁 1002000219-0 201229765 10 .如申請專利範圍第6項所述之電子裝置之電源控制方法, 其中該電源開關為設置於該觸摸屏上的一電源標識。 100100127 表單編號A0101 第16頁/共21頁 1002000219-0An infrared receiver, thereby forming a light grid, the light grid comprising a pair of light that should be a power switch, the improvement being that the power control method comprises the steps of: performing an uninterrupted scan of the light corresponding to the power switch The off state; determining whether the light corresponding to the power switch is blocked for more than a preset time according to the scan result; and turning on and off the power of the main control system when the light corresponding to the power switch is blocked for more than the preset time. The power control method of the electronic device according to claim 6, wherein the light corresponding to the power switch is a vertical light passing through the power switch. 8. The power control method for an electronic device according to claim 6, further comprising the step of: determining, according to the scan result, whether the duration of the non-touch operation on the touch screen exceeds a second preset time, and The scanning frequency of the uninterrupted scanning is correspondingly reduced when the duration of the touch operation on the touch screen exceeds the second preset time. For example, in the power control method of the electronic device described in claim 6, the 100100127 further includes the following steps: determining whether the power of the main control system is off. The power supply control method of the electronic device according to the sixth aspect of the invention, wherein the power switch is a power source identifier disposed on the touch screen. 100100127 Form No. A0101 Page 16 of 21 1002000219-0
TW100100127A 2011-01-04 2011-01-04 Electronic device and power control method thereof TWI425360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100100127A TWI425360B (en) 2011-01-04 2011-01-04 Electronic device and power control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100100127A TWI425360B (en) 2011-01-04 2011-01-04 Electronic device and power control method thereof

Publications (2)

Publication Number Publication Date
TW201229765A true TW201229765A (en) 2012-07-16
TWI425360B TWI425360B (en) 2014-02-01

Family

ID=46934028

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100100127A TWI425360B (en) 2011-01-04 2011-01-04 Electronic device and power control method thereof

Country Status (1)

Country Link
TW (1) TWI425360B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104494752A (en) * 2015-01-05 2015-04-08 纳恩博(天津)科技有限公司 Dynamic balance car and human-machine interaction method
TWI570621B (en) * 2015-05-19 2017-02-11 宏達國際電子股份有限公司 Electronic system, wearable electronic apparatus and power control method thereof
CN113778264A (en) * 2021-09-24 2021-12-10 北京德为智慧科技有限公司 Touch screen control device and touch screen control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100026666A1 (en) * 2007-02-02 2010-02-04 Fineir Technology (Far East) Co, Infrared transmitting or receiving circuit board unit and infrared touch screen using the same
TWI349871B (en) * 2008-02-05 2011-10-01 Egalax Empia Technology Inc Device and method for determining multiple touch positions on ir touch panel
CN101742034A (en) * 2008-11-18 2010-06-16 建兴电子科技股份有限公司 Digital photo frame device and operation method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104494752A (en) * 2015-01-05 2015-04-08 纳恩博(天津)科技有限公司 Dynamic balance car and human-machine interaction method
TWI570621B (en) * 2015-05-19 2017-02-11 宏達國際電子股份有限公司 Electronic system, wearable electronic apparatus and power control method thereof
CN113778264A (en) * 2021-09-24 2021-12-10 北京德为智慧科技有限公司 Touch screen control device and touch screen control method

Also Published As

Publication number Publication date
TWI425360B (en) 2014-02-01

Similar Documents

Publication Publication Date Title
CN102081451B (en) Electronic device and power control method thereof
CN103365393B (en) A kind of display methods and electronic equipment
JP5495814B2 (en) Portable terminal and display control program
TWI469038B (en) Electronic device with touch screen and screen unlocking method thereof
US20110050599A1 (en) Electronic device with touch input function and touch input method thereof
TWI435242B (en) With discharge function of a touch panel
US20120268411A1 (en) Multi-modal capacitive touchscreen interface
US10416806B2 (en) Input device and control method therefor
CN103870772A (en) Touch screen electronic device and control method thereof
WO2018196699A1 (en) Method for displaying fingerprint recognition region, and mobile terminal
CN203616738U (en) touch device with virtual keyboard
US20110096029A1 (en) Electronic device with infrared touch panel and method for configuring the infrared touch panel
WO2011155154A1 (en) Information processing apparatus, information processing unit, and information processing method
TW201214217A (en) Touch screen apparatus and power saving method thereof
JP2014106960A (en) Touch panel having virtual function button, method for manufacturing the same touch panel, and method for identifying touch competition on the same touch panel
CN101950217A (en) Touch screen device and power-saving control method thereof
JP2013097791A (en) Touch display device
CN103279273A (en) Touch switching method of electromagnetic and capacitive dual-mode touch screen
WO2015032245A1 (en) Method and device for managing progress indicator display
TW201229765A (en) Electronic device and power control method thereof
US8493363B2 (en) Touch device and touch method
CN106055296A (en) Control method for display brightness of terminal screen and terminal
CN102622115B (en) A kind of touch panel device with keypad function not relying on operating system and method
WO2016062039A1 (en) Information fast look-up method, display control system and input device
CN104850279A (en) Sound-wave touch control device and electronic device

Legal Events

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