TWI613567B - Mobile device and proximity detection method - Google Patents

Mobile device and proximity detection method Download PDF

Info

Publication number
TWI613567B
TWI613567B TW104107014A TW104107014A TWI613567B TW I613567 B TWI613567 B TW I613567B TW 104107014 A TW104107014 A TW 104107014A TW 104107014 A TW104107014 A TW 104107014A TW I613567 B TWI613567 B TW I613567B
Authority
TW
Taiwan
Prior art keywords
mobile device
mode
proximity sensor
infrared emitter
power
Prior art date
Application number
TW104107014A
Other languages
Chinese (zh)
Other versions
TW201633062A (en
Inventor
廖期異
Original Assignee
宏達國際電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏達國際電子股份有限公司 filed Critical 宏達國際電子股份有限公司
Priority to TW104107014A priority Critical patent/TWI613567B/en
Publication of TW201633062A publication Critical patent/TW201633062A/en
Application granted granted Critical
Publication of TWI613567B publication Critical patent/TWI613567B/en

Links

Abstract

一種行動裝置與對應的鄰近偵測方法。上述行動裝置包括紅外線發射器和鄰近感測器。紅外線發射器用以在第一模式使用第一功率發射紅外線,或在第二模式使用第二功率發射紅外線,其中第一功率和第二功率不同。鄰近感測器用以偵測紅外線的反射光,並根據反射光判斷是否有物件鄰近行動裝置。 A mobile device and corresponding proximity detection method. The above mobile device includes an infrared emitter and a proximity sensor. The infrared emitter is configured to emit infrared light using the first power in the first mode or to emit infrared light using the second power in the second mode, wherein the first power and the second power are different. The proximity sensor is configured to detect the reflected light of the infrared rays, and determine whether the object is adjacent to the mobile device according to the reflected light.

Description

行動裝置與鄰近偵測方法 Mobile device and proximity detection method

本發明是有關於一種行動裝置,且特別是有關於上述行動裝置的鄰近(proximity)偵測方法。 The present invention relates to a mobile device, and more particularly to a proximity detection method for the above mobile device.

現在的智慧型手機通常可加購側翻蓋(flip cover)。這一類手機通常內含霍爾感測器(Hall sensor),而對應的側翻蓋通常內含磁鐵。當側翻蓋闔上時,霍爾感測器可以感應到磁鐵散發的磁場,智慧型手機可據此自動進入待機模式(suspend mode)。當側翻蓋打開時,霍爾感測器感應不到磁場,智慧型手機可據此自動離開待機模式。 Today's smart phones can usually be purchased with a flip cover. This type of mobile phone usually contains a Hall sensor, and the corresponding side flap usually contains a magnet. When the side flap is clicked, the Hall sensor can sense the magnetic field emitted by the magnet, and the smart phone can automatically enter the suspend mode accordingly. When the side flap is opened, the Hall sensor does not sense the magnetic field, and the smart phone can automatically leave the standby mode accordingly.

因為側翻蓋是選購的配件,很多使用者不會購買。這樣智慧型手機內含的霍爾感測器就會成為一種浪費。 Because the side flaps are optional accessories, many users will not buy them. Such a Hall sensor contained in a smart phone would become a waste.

本發明提供一種行動裝置與鄰近偵測方法,以解決上述的浪費問題。 The present invention provides a mobile device and proximity detection method to solve the above-mentioned waste problem.

本發明的行動裝置包括紅外線發射器和鄰近感測器。紅外線發射器用以在第一模式使用第一功率發射紅外線,或在第二模式使用第二功率發射紅外線,其中第一功率和第二功率不同。鄰近感測器用以偵測紅外線的反射光,並根據反射光判斷是否有物件鄰近行動裝置。 The mobile device of the present invention includes an infrared emitter and a proximity sensor. The infrared emitter is configured to emit infrared light using the first power in the first mode or to emit infrared light using the second power in the second mode, wherein the first power and the second power are different. The proximity sensor is configured to detect the reflected light of the infrared rays, and determine whether the object is adjacent to the mobile device according to the reflected light.

本發明的鄰近偵測方法適用於行動裝置,包括以下步驟:在第一模式使用第一功率發射紅外線;在第二模式使用第二功率發射紅外線,其中第一功率和第二功率不同;偵測紅外線的反射光;以及根據反射光判斷是否有物件鄰近行動裝置。 The proximity detecting method of the present invention is applicable to a mobile device, comprising the steps of: transmitting infrared light using a first power in a first mode; transmitting infrared light using a second power in a second mode, wherein the first power and the second power are different; detecting Infrared reflected light; and judging whether an object is adjacent to the mobile device based on the reflected light.

上述的行動裝置與鄰近偵測方法可用紅外線發射器和鄰近感測器取代傳統的霍爾感測器和磁鐵。除了偵測行動裝置是否被覆蓋以外,紅外線發射器和鄰近感測器也可執行其他功能。所以即使行動裝置沒有加裝側翻蓋,紅外線發射器和鄰近感測器也不會毫無作用而造成浪費。 The above-described mobile device and proximity detection method can replace the conventional Hall sensor and magnet with an infrared emitter and a proximity sensor. In addition to detecting whether the mobile device is covered, the infrared emitter and proximity sensor can perform other functions as well. Therefore, even if the mobile device is not equipped with a side flip cover, the infrared emitter and the proximity sensor will not be ineffective and waste.

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

100‧‧‧行動裝置 100‧‧‧ mobile devices

110‧‧‧顯示器 110‧‧‧ display

120‧‧‧觸控面板 120‧‧‧Touch panel

130‧‧‧通訊單元 130‧‧‧Communication unit

140‧‧‧處理器 140‧‧‧ processor

150‧‧‧紅外線發射器 150‧‧‧Infrared emitter

160‧‧‧鄰近感測器 160‧‧‧ proximity sensor

170‧‧‧光感測器 170‧‧‧Light sensor

200‧‧‧上蓋 200‧‧‧Upper cover

210‧‧‧上蓋的表面 210‧‧‧Surface of the upper cover

220‧‧‧反射區 220‧‧‧Reflective zone

305~385、410~470‧‧‧方法步驟 305~385, 410~470‧‧‧ method steps

圖1和圖2是依照本發明的一實施例的一種行動裝置的示意圖。 1 and 2 are schematic views of a mobile device in accordance with an embodiment of the present invention.

圖3是依照本發明的一實施例的一種鄰近偵測方法的流程 圖。 FIG. 3 is a flowchart of a proximity detection method according to an embodiment of the invention. Figure.

圖4是依照本發明的另一實施例的一種鄰近偵測方法的流程圖。 4 is a flow chart of a proximity detection method in accordance with another embodiment of the present invention.

圖1是依照本發明的一實施例的一種行動裝置100的示意圖。行動裝置100可以是智慧型手機、個人數位助理(PDA:personal digital assistant)、或平板電腦。行動裝置100至少包括顯示器110、觸控面板(touch panel)120、通訊單元130、處理器140、紅外線發射器150、鄰近感測器(proximity sensor)160以及光感測器(light sensor)170。處理器140耦接顯示器110、觸控面板120、通訊單元130、紅外線發射器150、鄰近感測器160以及光感測器170。 1 is a schematic diagram of a mobile device 100 in accordance with an embodiment of the present invention. The mobile device 100 can be a smart phone, a personal digital assistant (PDA), or a tablet. The mobile device 100 includes at least a display 110, a touch panel 120, a communication unit 130, a processor 140, an infrared emitter 150, a proximity sensor 160, and a light sensor 170. The processor 140 is coupled to the display 110 , the touch panel 120 , the communication unit 130 , the infrared emitter 150 , the proximity sensor 160 , and the light sensor 170 .

通訊單元130可用一種或多種無線通訊協定(protocol)以進行電話通訊。顯示器110用以顯示行動裝置100的使用者介面。觸控面板120用以偵測行動裝置100之上的觸控操作與輸入。顯示器110和觸控面板120可組成一個觸控顯示器。 The communication unit 130 can use one or more wireless protocols for telephone communication. The display 110 is used to display a user interface of the mobile device 100. The touch panel 120 is configured to detect touch operations and inputs on the mobile device 100. The display 110 and the touch panel 120 can form a touch display.

紅外線發射器150可以是紅外線發光二極體(LED:light-emitting diode)或其他可發射紅外線的電子元件。紅外線發射器150具有兩種模式。在第一模式中,紅外線發射器150可用第一功率發射紅外線。在第二模式中,紅外線發射器150可用第二功率發射紅外線。第一功率和第二功率不同。本實施例的第一功 率小於第二功率。因此第一模式也可以稱為小功率模式,而第二模式也可以稱為大功率模式。 The infrared emitter 150 may be an infrared light emitting diode (LED) or other electronic component that emits infrared light. The infrared emitter 150 has two modes. In the first mode, the infrared emitter 150 can emit infrared light with a first power. In the second mode, the infrared emitter 150 can emit infrared light with a second power. The first power is different from the second power. The first work of this embodiment The rate is less than the second power. Therefore, the first mode can also be referred to as a low power mode, and the second mode can also be referred to as a high power mode.

鄰近感測器160用以偵測紅外線發射器150所發射的紅外線的反射光,並根據此反射光判斷是否有物件鄰近行動裝置100。鄰近感測器160可將反射光的強度轉換為感測值,然後可將此感測值和一個預設門檻值(threshold)做比較,以判斷是否有物件鄰近行動裝置100。 The proximity sensor 160 is configured to detect the reflected light of the infrared ray emitted by the infrared ray emitter 150, and determine whether an object is adjacent to the mobile device 100 according to the reflected light. The proximity sensor 160 may convert the intensity of the reflected light into a sensed value, and then compare the sensed value with a predetermined threshold to determine whether an object is adjacent to the mobile device 100.

光感測器170用以偵測環境亮度,並根據此環境亮度判斷行動裝置100是否處於黑暗環境。光感測器170可將環境亮度轉換為感測值,然後可將此感測值和另一個預設門檻值比較,以判斷行動裝置100是否處於黑暗環境。光感測器170也可用相同方式判斷行動裝置100是否已離開黑暗環境。 The photo sensor 170 is configured to detect the ambient brightness and determine whether the mobile device 100 is in a dark environment according to the ambient brightness. The light sensor 170 may convert the ambient brightness into a sensed value, and then compare the sensed value with another preset threshold value to determine whether the mobile device 100 is in a dark environment. The light sensor 170 can also determine in the same manner whether the mobile device 100 has left the dark environment.

圖2也是依照本實施例的行動裝置100的示意圖。圖2的行動裝置100更包括一個上蓋200,用以覆蓋行動裝置100的本體,而且鄰近感測器160和光感測器170可合併為一個模組,因此設置在同一位置。本實施例的上蓋200是一個側翻蓋。在本發明的另一個實施例中,上蓋200可以是滑蓋或其他種類的蓋子。 FIG. 2 is also a schematic diagram of the mobile device 100 in accordance with the present embodiment. The mobile device 100 of FIG. 2 further includes an upper cover 200 for covering the body of the mobile device 100, and the proximity sensor 160 and the photo sensor 170 can be combined into one module, and thus disposed at the same position. The upper cover 200 of this embodiment is a side flap. In another embodiment of the invention, the upper cover 200 can be a slide or other type of cover.

上蓋200和行動裝置100可相對打開或關閉。上蓋200相對於紅外線發射器150和鄰近感測器160的表面210包括反射區220。當上蓋200和行動裝置100相對關閉時,上蓋200覆蓋光感測器170,而反射區220覆蓋紅外線發射器150和鄰近感測器160。反射區220可包括具有高反射係數的材質,例如包含金屬成 分的金屬噴漆。這樣可讓反射區220的反射係數接近鏡面,以充分反射紅外線發射器150所發射的紅外線。 The upper cover 200 and the mobile device 100 can be relatively open or closed. The upper cover 200 includes a reflective region 220 relative to the infrared emitter 150 and the surface 210 of the proximity sensor 160. When the upper cover 200 and the mobile device 100 are relatively closed, the upper cover 200 covers the light sensor 170, and the reflective area 220 covers the infrared emitter 150 and the proximity sensor 160. The reflective region 220 may include a material having a high reflection coefficient, for example, including a metal Divided metal spray paint. This allows the reflection coefficient of the reflection region 220 to be close to the mirror surface to sufficiently reflect the infrared ray emitted from the infrared ray emitter 150.

紅外線發射器150的第一模式可用來偵測上蓋200和行動裝置100是否相對關閉。在第一模式中,紅外線發射器150以第一功率發射紅外線。當上蓋200和行動裝置100相對關閉時,此紅外線被反射區220反射,然後被鄰近感測器160偵測。因為反射區220具有極高的反射係數,所以即使紅外線發射器150使用較小的第一功率發射紅外線,也能使鄰近感測器160的感測值大於預設門檻值,藉此判斷有物件鄰近行動裝置100。而一般物件的反射係數較低,如果一般物件覆蓋在紅外線發射器150和鄰近感測器160上方,則會使鄰近感測器160的感測值小於預設門檻值,因此判斷沒有物件鄰近行動裝置100。這樣行動裝置100就能區分上蓋200和其他物件,不會因為錯誤判斷而造成誤動作。 The first mode of the infrared emitter 150 can be used to detect whether the upper cover 200 and the mobile device 100 are relatively closed. In the first mode, the infrared emitter 150 emits infrared light at a first power. When the upper cover 200 and the mobile device 100 are relatively closed, the infrared rays are reflected by the reflective area 220 and then detected by the proximity sensor 160. Since the reflection region 220 has an extremely high reflection coefficient, even if the infrared ray emitter 150 emits infrared rays using a small first power, the sensed value of the proximity sensor 160 can be made larger than the preset threshold value, thereby judging the object. Adjacent to the mobile device 100. The reflection coefficient of the general object is relatively low. If the general object is over the infrared emitter 150 and the proximity sensor 160, the sensed value of the proximity sensor 160 is less than the preset threshold value, so that no object proximity action is determined. Device 100. Thus, the mobile device 100 can distinguish the upper cover 200 from other objects without causing malfunction due to erroneous determination.

紅外線發射器150的第二模式可用來偵測使用者是否靠近行動裝置100。在第二模式中,紅外線發射器150以第二功率發射紅外線。當使用者靠近行動裝置100時,此紅外線被使用者反射,然後被鄰近感測器160偵測。因為使用者的皮膚的反射係數低於反射區220,所以紅外線發射器150必須用較高的第二功率發射紅外線,才能使鄰近感測器160的感測值大於預設門檻值,藉此判斷有物件鄰近行動裝置100。 The second mode of the infrared emitter 150 can be used to detect if the user is in proximity to the mobile device 100. In the second mode, the infrared emitter 150 emits infrared light at a second power. When the user approaches the mobile device 100, the infrared light is reflected by the user and then detected by the proximity sensor 160. Since the reflection coefficient of the user's skin is lower than the reflection area 220, the infrared emitter 150 must emit infrared rays with a higher second power to make the sensed value of the proximity sensor 160 larger than the preset threshold value, thereby judging An object is adjacent to the mobile device 100.

圖3是依照本發明的一實施例的一種鄰近偵測方法的流程圖,此方法可由行動裝置100執行。在步驟305,處理器140 開啟(enable)光感測器170。在步驟310,光感測器170判斷行動裝置100是否處於黑暗環境。如果不是,則流程返回步驟310。如果是,則光感測器170發出中斷(interrupt)或其他形式的訊號以通知處理器140。然後處理器140在步驟315開啟鄰近感測器160。處理器140在步驟320開啟紅外線發射器150,並控制紅外線發射器150進入小功率的第一模式。 FIG. 3 is a flowchart of a proximity detection method, which may be performed by the mobile device 100, in accordance with an embodiment of the present invention. At step 305, the processor 140 The light sensor 170 is enabled. At step 310, the photo sensor 170 determines whether the mobile device 100 is in a dark environment. If not, the flow returns to step 310. If so, the light sensor 170 issues an interrupt or other form of signal to notify the processor 140. Processor 140 then turns on proximity sensor 160 at step 315. Processor 140 turns on infrared emitter 150 at step 320 and controls infrared emitter 150 to enter a first mode of low power.

在步驟325,鄰近感測器160判斷是否有物件鄰近行動裝置100。如果沒有物件鄰近行動裝置100,則鄰近感測器160發出中斷或其他形式的訊號以通知處理器140。然後處理器140在步驟330判斷上蓋200和行動裝置100為相對打開狀態。在步驟335,光感測器170判斷行動裝置100是否已離開黑暗環境。如果不是,則流程返回步驟335。如果是,則流程返回步驟310。 At step 325, the proximity sensor 160 determines if an object is adjacent to the mobile device 100. If no object is adjacent to the mobile device 100, the proximity sensor 160 issues an interrupt or other form of signal to notify the processor 140. The processor 140 then determines in step 330 that the upper cover 200 and the mobile device 100 are in a relatively open state. At step 335, the light sensor 170 determines if the mobile device 100 has left the dark environment. If not, the flow returns to step 335. If yes, the flow returns to step 310.

在步驟325,如果鄰近感測器160的判斷結果是有物件鄰近行動裝置100,則鄰近感測器160通知處理器140。然後處理器140在步驟340判斷上蓋200和行動裝置100為相對關閉狀態。處理器140在步驟345關閉鄰近感測器160和紅外線發射器150。然後處理器140在步驟350控制行動裝置100進入待機模式。 At step 325, if the result of the proximity sensor 160 is that an object is adjacent to the mobile device 100, the proximity sensor 160 notifies the processor 140. The processor 140 then determines in step 340 that the upper cover 200 and the mobile device 100 are in a relatively closed state. Processor 140 turns off proximity sensor 160 and infrared emitter 150 at step 345. Processor 140 then controls mobile device 100 to enter a standby mode at step 350.

接下來,光感測器170在步驟355判斷行動裝置100是否已離開黑暗環境。如果不是,則流程返回步驟355。如果是,則光感測器170通知處理器140。然後處理器140在步驟360開啟鄰近感測器160。處理器140在步驟365開啟紅外線發射器150,並控制紅外線發射器150進入第一模式。在步驟370,鄰近感測器 160判斷是否有物件鄰近行動裝置100。如果有物件鄰近行動裝置100,表示上蓋200和行動裝置100依然相對關閉,流程返回步驟355。如果沒有物件鄰近行動裝置100,則鄰近感測器160通知處理器140。然後處理器140在步驟375判斷上蓋200和行動裝置100為相對打開狀態。處理器140在步驟380關閉鄰近感測器160和紅外線發射器150。處理器140在步驟385控制行動裝置100離開待機模式。然後流程返回步驟310。 Next, the photo sensor 170 determines in step 355 whether the mobile device 100 has left the dark environment. If not, the flow returns to step 355. If so, the light sensor 170 notifies the processor 140. Processor 140 then turns on proximity sensor 160 at step 360. Processor 140 turns on infrared emitter 150 at step 365 and controls infrared emitter 150 to enter the first mode. At step 370, the proximity sensor 160 determines if an object is adjacent to the mobile device 100. If an object is adjacent to the mobile device 100, indicating that the upper cover 200 and the mobile device 100 are still relatively closed, the flow returns to step 355. If no object is adjacent to the mobile device 100, the proximity sensor 160 notifies the processor 140. The processor 140 then determines in step 375 that the upper cover 200 and the mobile device 100 are in a relatively open state. Processor 140 turns off proximity sensor 160 and infrared emitter 150 at step 380. The processor 140 controls the mobile device 100 to leave the standby mode at step 385. The flow then returns to step 310.

圖4是依照本發明的另一實施例的一種鄰近偵測方法的流程圖,此方法可由行動裝置100執行。在步驟410,處理器140判斷通訊單元130是否在進行電話通訊。如果不是,則流程返回步驟410。如果是,則處理器140在步驟415開啟鄰近感測器160,然後在步驟420開啟紅外線發射器150,並控制紅外線發射器150進入大功率的第二模式。 4 is a flow diagram of a proximity detection method that may be performed by mobile device 100 in accordance with another embodiment of the present invention. At step 410, the processor 140 determines whether the communication unit 130 is performing telephone communication. If not, the flow returns to step 410. If so, the processor 140 turns on the proximity sensor 160 in step 415, then turns on the infrared emitter 150 in step 420 and controls the infrared emitter 150 to enter the second mode of high power.

鄰近感測器160在步驟430判斷是否有物件鄰近行動裝置100,然後發出中斷或其他形式的訊號,以將判斷結果通知處理器140。如果鄰近感測器160判斷有物件鄰近行動裝置100,表示使用者已經很靠近行動裝置100,則處理器140在步驟440關閉(disable)觸控面板120,以免使用者在電話通訊時誤觸而造成錯誤操作。如果鄰近感測器160判斷沒有物件鄰近行動裝置100,則處理器140在步驟450開啟(enable)觸控面板120。 The proximity sensor 160 determines in step 430 whether an object is adjacent to the mobile device 100, and then issues an interrupt or other form of signal to notify the processor 140 of the result of the determination. If the proximity sensor 160 determines that the object is adjacent to the mobile device 100, indicating that the user is already close to the mobile device 100, the processor 140 disables the touch panel 120 in step 440 to prevent the user from accidentally touching during the telephone communication. Causes an error. If the proximity sensor 160 determines that no object is adjacent to the mobile device 100, the processor 140 enables the touch panel 120 at step 450.

接下來,處理器140在步驟460判斷通訊單元130進行的電話通訊是否已經結束。如果尚未結束,則流程返回步驟430。 如果電話通訊已經結束,則處理器140在步驟470關閉鄰近感測器160和紅外線發射器150。 Next, the processor 140 determines in step 460 whether the telephone communication by the communication unit 130 has ended. If not, the flow returns to step 430. If the telephone communication has ended, the processor 140 turns off the proximity sensor 160 and the infrared emitter 150 at step 470.

上述的行動裝置與鄰近偵測方法可用紅外線發射器和鄰近感測器偵測行動裝置是否被覆蓋,不需要傳統的霍爾感測器和磁鐵。這樣就能節省霍爾感測器和磁鐵的成本和空間。除了偵測行動裝置是否被覆蓋以外,紅外線發射器和鄰近感測器也可偵測使用者是否靠近行動裝置。所以即使行動裝置沒有加裝側翻蓋,紅外線發射器和鄰近感測器也不會毫無作用而造成浪費。 The above-mentioned mobile device and proximity detection method can detect whether the mobile device is covered by the infrared emitter and the proximity sensor, and does not require a conventional Hall sensor and magnet. This saves the cost and space of Hall sensors and magnets. In addition to detecting whether the mobile device is covered, the infrared emitter and the proximity sensor can also detect whether the user is close to the mobile device. Therefore, even if the mobile device is not equipped with a side flip cover, the infrared emitter and the proximity sensor will not be ineffective and waste.

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

100‧‧‧行動裝置 100‧‧‧ mobile devices

110‧‧‧顯示器 110‧‧‧ display

120‧‧‧觸控面板 120‧‧‧Touch panel

130‧‧‧通訊單元 130‧‧‧Communication unit

140‧‧‧處理器 140‧‧‧ processor

150‧‧‧紅外線發射器 150‧‧‧Infrared emitter

160‧‧‧鄰近感測器 160‧‧‧ proximity sensor

170‧‧‧光感測器 170‧‧‧Light sensor

Claims (11)

一種行動裝置,包括:一紅外線發射器,用以在一第一模式使用一第一功率發射一紅外線,或在一第二模式使用一第二功率發射該紅外線,其中該第一功率和該第二功率不同;一鄰近感測器,用以偵測該紅外線的反射光,並根據該反射光判斷是否有物件鄰近該行動裝置;一光感測器,用以偵測一環境亮度,並根據該環境亮度判斷該行動裝置是否處於黑暗環境;以及一處理器,耦接該紅外線發射器、該鄰近感測器以及該光感測器,當該光感測器判斷該行動裝置處於黑暗環境而且該鄰近感測器判斷有物件鄰近該行動裝置時,該處理器控制該行動裝置進入一待機模式,其中該處理器在該光感測器判斷該行動裝置處於黑暗環境之後開啟該紅外線發射器和該鄰近感測器,並控制該紅外線發射器進入該第一模式,其中在該行動裝置進入該待機模式之前,該處理器關閉該紅外線發射器和該鄰近感測器。 A mobile device comprising: an infrared emitter for emitting an infrared light using a first power in a first mode, or transmitting the infrared light using a second power in a second mode, wherein the first power and the first The second power is different; a proximity sensor is configured to detect the reflected light of the infrared light, and determine, according to the reflected light, whether an object is adjacent to the mobile device; a light sensor is configured to detect an ambient brightness, and according to The ambient brightness determines whether the mobile device is in a dark environment; and a processor coupled to the infrared emitter, the proximity sensor, and the light sensor, when the light sensor determines that the mobile device is in a dark environment and When the proximity sensor determines that an object is adjacent to the mobile device, the processor controls the mobile device to enter a standby mode, wherein the processor turns on the infrared emitter after the light sensor determines that the mobile device is in a dark environment and The proximity sensor controls the infrared emitter to enter the first mode, wherein the processing is performed before the mobile device enters the standby mode Close the infrared emitter and the proximity sensor. 如申請專利範圍第1項所述的行動裝置,更包括:一上蓋,其中該上蓋和該行動裝置可相對打開或關閉,該上蓋相對於該紅外線發射器和該鄰近感測器的一表面包括一反射區;當該上蓋和該行動裝置相對關閉時,該反射區覆蓋該紅外線發射器和該鄰近感測器。 The mobile device of claim 1, further comprising: an upper cover, wherein the upper cover and the mobile device are relatively open or closed, the upper cover being included with respect to a surface of the infrared emitter and the proximity sensor a reflective area; the reflective area covers the infrared emitter and the proximity sensor when the upper cover and the mobile device are relatively closed. 如申請專利範圍第2項所述的行動裝置,其中該第一功率小於該第二功率,該第一模式的該反射光來自該反射區,而且該反射區包括一金屬成分。 The mobile device of claim 2, wherein the first power is less than the second power, the reflected light of the first mode is from the reflective region, and the reflective region comprises a metal component. 如申請專利範圍第2項所述的行動裝置,其中當該上蓋和該行動裝置相對關閉時,該上蓋覆蓋該光感測器。 The mobile device of claim 2, wherein the upper cover covers the photo sensor when the upper cover and the mobile device are relatively closed. 如申請專利範圍第1項所述的行動裝置,其中當該光感測器判斷該行動裝置已離開黑暗環境而且該鄰近感測器判斷沒有物件鄰近該行動裝置時,該處理器控制該行動裝置離開該待機模式。 The mobile device of claim 1, wherein the processor controls the mobile device when the photo sensor determines that the mobile device has left the dark environment and the proximity sensor determines that no object is adjacent to the mobile device. Leave the standby mode. 如申請專利範圍第5項所述的行動裝置,其中該處理器在該光感測器判斷該行動裝置已離開黑暗環境之後開啟該紅外線發射器和該鄰近感測器,並控制該紅外線發射器進入該第一模式,其中該行動裝置在該待機模式下,該處理器關閉該紅外線發射器和該鄰近感測器。 The mobile device of claim 5, wherein the processor turns on the infrared emitter and the proximity sensor after the light sensor determines that the mobile device has left the dark environment, and controls the infrared emitter Entering the first mode, wherein the mobile device is in the standby mode, the processor turns off the infrared emitter and the proximity sensor. 如申請專利範圍第1項所述的行動裝置,更包括:一通訊單元,用以進行電話通訊;一觸控面板,用以偵測該行動裝置上的觸控操作,其中該處理器耦接該紅外線發射器、該鄰近感測器、該通訊單元以及該觸控面板,用以在該通訊單元進行電話通訊時開啟該紅外線發射器並控制該紅外線發射器進入該第二模式,在該鄰近感測器判斷有物件鄰近該行動裝置時關閉該觸控面板,並在該鄰近感測器判斷沒有物件鄰近該行動裝置時開啟該觸控面板。 The mobile device of claim 1, further comprising: a communication unit for performing telephone communication; and a touch panel for detecting a touch operation on the mobile device, wherein the processor is coupled The infrared emitter, the proximity sensor, the communication unit, and the touch panel are configured to turn on the infrared emitter and control the infrared emitter to enter the second mode when the communication unit performs telephone communication, in the vicinity The sensor determines that an object is closed when the object is adjacent to the mobile device, and turns on the touch panel when the proximity sensor determines that no object is adjacent to the mobile device. 一種鄰近偵測方法,適用於一行動裝置,包括: 藉由一紅外線發射器在一第一模式使用一第一功率發射一紅外線;藉由該紅外線發射器在一第二模式使用一第二功率發射該紅外線,其中該第一功率和該第二功率不同;藉由一鄰近感測器偵測該紅外線的反射光;藉由該鄰近感測器根據該反射光判斷是否有物件鄰近該行動裝置;藉由一光感測器偵測一環境亮度;藉由一處理器根據該環境亮度判斷該行動裝置是否處於黑暗環境;以及在該第一模式中,當該行動裝置處於黑暗環境而且有物件鄰近該行動裝置時,藉由該處理器控制該行動裝置進入一待機模式,在判斷該行動裝置處於黑暗環境之後開啟該紅外線發射器和該鄰近感測器,並控制該紅外線發射器進入該第一模式,其中在該行動裝置進入該待機模式之前,藉由該處理器關閉該紅外線發射器和該鄰近感測器。 A proximity detection method suitable for a mobile device, including: Using an infrared ray emitter to emit an infrared ray in a first mode using a first power; wherein the infrared ray emitter emits the infrared ray in a second mode using a second power, wherein the first power and the second power Detecting the reflected light of the infrared ray by a proximity sensor; determining, by the proximity sensor, whether an object is adjacent to the mobile device; and detecting an ambient brightness by using a light sensor; Determining, by the processor, whether the mobile device is in a dark environment according to the ambient brightness; and in the first mode, controlling the action by the processor when the mobile device is in a dark environment and an object is adjacent to the mobile device The device enters a standby mode, turns on the infrared emitter and the proximity sensor after determining that the mobile device is in a dark environment, and controls the infrared emitter to enter the first mode, wherein before the mobile device enters the standby mode, The infrared emitter and the proximity sensor are turned off by the processor. 如申請專利範圍第8項所述的鄰近偵測方法,其中該第一功率小於該第二功率,該第一模式的該反射光來自該行動裝置的一上蓋的一反射區,而且該反射區包括一金屬成分。 The proximity detecting method of claim 8, wherein the first power is less than the second power, the reflected light of the first mode is from a reflective area of an upper cover of the mobile device, and the reflective area Includes a metal component. 如申請專利範圍第8項所述的鄰近偵測方法,更包括:當該行動裝置已進入該待機模式,待該行動裝置已離開黑暗環境而且沒有物件鄰近該行動裝置時,控制該行動裝置離開該待 機模式。 The proximity detecting method according to claim 8 , further comprising: when the mobile device has entered the standby mode, when the mobile device has left the dark environment and no object is adjacent to the mobile device, controlling the mobile device to leave Waiting Machine mode. 如申請專利範圍第8項所述的鄰近偵測方法,更包括:在該行動裝置進行電話通訊時進入該第二模式;在該第二模式中,當有物件鄰近該行動裝置時關閉該行動裝置的一觸控面板;以及在該第二模式中,當沒有物件鄰近該行動裝置時開啟該觸控面板。 The proximity detection method of claim 8, further comprising: entering the second mode when the mobile device performs telephone communication; and in the second mode, closing the action when an object is adjacent to the mobile device a touch panel of the device; and in the second mode, the touch panel is turned on when no object is adjacent to the mobile device.
TW104107014A 2015-03-05 2015-03-05 Mobile device and proximity detection method TWI613567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104107014A TWI613567B (en) 2015-03-05 2015-03-05 Mobile device and proximity detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104107014A TWI613567B (en) 2015-03-05 2015-03-05 Mobile device and proximity detection method

Publications (2)

Publication Number Publication Date
TW201633062A TW201633062A (en) 2016-09-16
TWI613567B true TWI613567B (en) 2018-02-01

Family

ID=57443240

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104107014A TWI613567B (en) 2015-03-05 2015-03-05 Mobile device and proximity detection method

Country Status (1)

Country Link
TW (1) TWI613567B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195246B (en) * 2018-07-25 2021-01-29 北京小米移动软件有限公司 Light emission control method, light emission control device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201026002A (en) * 2008-12-22 2010-07-01 Htc Corp Controlling method and apparatus for mobile communication device and computer program product using the method
TW201335744A (en) * 2012-02-21 2013-09-01 Quanta Comp Inc Portable electronic device and control method thereof
TW201339952A (en) * 2012-03-22 2013-10-01 Eminent Electronic Technology Corp Ltd Electronic apparatus and control method of electronic apparatus
TW201445400A (en) * 2013-05-20 2014-12-01 Lite On Singapore Pte Ltd Proximity sensing method, proximity sensing device, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201026002A (en) * 2008-12-22 2010-07-01 Htc Corp Controlling method and apparatus for mobile communication device and computer program product using the method
TW201335744A (en) * 2012-02-21 2013-09-01 Quanta Comp Inc Portable electronic device and control method thereof
TW201339952A (en) * 2012-03-22 2013-10-01 Eminent Electronic Technology Corp Ltd Electronic apparatus and control method of electronic apparatus
TW201445400A (en) * 2013-05-20 2014-12-01 Lite On Singapore Pte Ltd Proximity sensing method, proximity sensing device, and electronic device

Also Published As

Publication number Publication date
TW201633062A (en) 2016-09-16

Similar Documents

Publication Publication Date Title
US9552098B2 (en) Mobile device and proximity detection method
CN103024197B (en) Touch screen cellphone capable of preventing misoperations during calls and using method for touch screen cellphone
TWI451160B (en) Automatic detection method and portable electronic device using the same
WO2018210145A1 (en) Screen-off control method and apparatus, storage medium, and electronic device
US20140354567A1 (en) Apparatus and method for operating proximity sensing function in electronic device having touch screen
TWI512313B (en) Proximity sensor and operating method thereof
CN104182145B (en) A kind of method for preventing misoperation of touch screen, device and mobile device
TW201520825A (en) Method and electronic device for preventing misoperation
WO2014035557A1 (en) Electronic device with adaptive proximity sensor threshold
US9974026B2 (en) Terminal control method and terminal
JP6123530B2 (en) Touch panel input device, touch operation detection control method, and program
TWI584630B (en) Method and system for recognizing distance between a mobile phone and a shielding object
CN105242867A (en) Handset and control method therefor
TWI613567B (en) Mobile device and proximity detection method
CN109240541B (en) Screen false touch prevention method and device of electronic equipment and electronic equipment
CN103425275A (en) Sensing module and sensing method both applied to optical mouse and provided with electricity-saving function
TWI510974B (en) Navigation apparatus and related actuating method
TWI536202B (en) Touch device and control method and method for determining unlocking thereof
US20120313891A1 (en) Distance sensing circuit and touch-control electronic apparatus
JP6295363B1 (en) Electronic device, program, and control method
US20150024721A1 (en) Automatically connecting/disconnecting an incoming phone call to a data processing device based on determining intent of a user thereof to respond to the incoming phone call
US20140118259A1 (en) Portable device and method for providing user interface thereof
CN109862608A (en) A kind of mobile terminal protective case detection control method, mobile terminal and storage medium
JP6585234B2 (en) Electronic device, program, and control method
JP6349047B1 (en) Electronic device, program, and control method