TW201447654A - Communication device and method for preventing mis-touch when communicating - Google Patents

Communication device and method for preventing mis-touch when communicating Download PDF

Info

Publication number
TW201447654A
TW201447654A TW102119991A TW102119991A TW201447654A TW 201447654 A TW201447654 A TW 201447654A TW 102119991 A TW102119991 A TW 102119991A TW 102119991 A TW102119991 A TW 102119991A TW 201447654 A TW201447654 A TW 201447654A
Authority
TW
Taiwan
Prior art keywords
color
color system
image
predetermined
communication device
Prior art date
Application number
TW102119991A
Other languages
Chinese (zh)
Other versions
TWI469014B (en
Inventor
hui-ping Cheng
Yu-Hung Tseng
Original Assignee
Pegatron 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 Pegatron Corp filed Critical Pegatron Corp
Priority to TW102119991A priority Critical patent/TWI469014B/en
Publication of TW201447654A publication Critical patent/TW201447654A/en
Application granted granted Critical
Publication of TWI469014B publication Critical patent/TWI469014B/en

Links

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

A communication device is capable of executing a method for preventing mis-touch when communicating, and the method includes the following steps: employing an image capture device of the communication device to capture an image; distinguishing an analogous color block from the image; determining whether the color system of the analogous color block is a predetermined color system; if yes, determining whether a ratio of an area of the analogous color block to a total area of the captured image is greater than a predetermined ratio; if yes, disabling a touch display device.

Description

通訊裝置及其避免通話時誤觸螢幕的方法 Communication device and method for avoiding accidental touch on the screen during a call

本發明係關於一種通訊裝置,且特別係關於通訊裝置及避免通話時誤觸螢幕的方法。 The present invention relates to a communication device, and more particularly to a communication device and a method for avoiding accidental touch on a screen during a call.

在現代生活中,智慧型手機已成為主流通訊裝置之一。目前的智慧型手機均具有一觸控式顯示裝置,其不僅可用以顯示資訊,還可供使用者直接在螢幕上點選圖案,以執行對應的程式。 In modern life, smart phones have become one of the mainstream communication devices. Currently, smart phones have a touch display device, which can be used not only to display information, but also to directly click a pattern on the screen to execute a corresponding program.

在通話時,由於使用者的臉頰、耳朵或頭髮可能會接觸到觸控式顯示裝置,故很容易導致智慧型手機的誤動作,例如:開啟網頁、開啟擴音器、開啟靜音、掛斷電話等等。因此,遂有相關廠商在智慧型手機上額外增設一光感測器或距離感測器,以偵測使用者頭部與智慧型手機之間的距離,並在特定距離內,關閉觸控式顯示裝置。 During the call, the user's cheeks, ears or hair may come into contact with the touch-sensitive display device, which may easily lead to malfunction of the smart phone, such as: opening a web page, turning on a microphone, turning on the mute, hanging up the phone, etc. Wait. Therefore, there is a manufacturer to add a light sensor or a distance sensor to the smart phone to detect the distance between the user's head and the smart phone, and turn off the touch at a certain distance. Display device.

然而,由於光感測器或距離感測器係額外地增設於智慧型手機上,不可避免地會提高成本的壓力。此外,這兩種感測器的有效感測距離很短,亦即,上述感測器均必 須在很短的距離內,才能夠順利偵測到使用者頭部與智慧型手機之間的距離,故當使用者快速拿起智慧型手機時,很可能會來不及關閉觸控式顯示裝置。 However, since the light sensor or the distance sensor is additionally added to the smart phone, the pressure of the cost is inevitably increased. In addition, the effective sensing distance of the two sensors is very short, that is, the above sensors are required The distance between the user's head and the smart phone must be detected within a short distance. Therefore, when the user quickly picks up the smart phone, it is likely that the touch display device can be turned off.

有鑑於此,本發明之一目的係在於提供一種通訊裝置以及避免通話時誤觸螢幕的方法,以解決上述先前技術所遭遇到的困難。 In view of the above, it is an object of the present invention to provide a communication device and a method for avoiding accidental touch on a screen during a call to solve the difficulties encountered in the prior art described above.

為了達到上述目的,依據本發明之一實施方式,一種避免通話時誤觸螢幕的方法可包含下列步驟:利用一通訊裝置之一影像擷取裝置擷取一影像;將影像區分為至少一同系顏色區塊;判斷至少一同系顏色區塊的色系是否分別對應於至少一預定色系;若是,判斷為預定色系之同系顏色區塊的面積與影像之總面積的比值是否大於或等於一預定比值;若是,關閉通訊裝置之一觸控式顯示裝置。 In order to achieve the above object, according to an embodiment of the present invention, a method for avoiding accidental touch on a call may include the following steps: capturing an image by using an image capturing device of a communication device; and distinguishing the image into at least one color. Blocking; determining whether the color system of at least one of the same color patches corresponds to at least one predetermined color system; if so, determining whether the ratio of the area of the same color color block of the predetermined color system to the total area of the image is greater than or equal to a predetermined Ratio; if so, turn off the touch display device of one of the communication devices.

依據本發明之另一實施方式,一種通訊裝置包含一觸控式顯示裝置、一影像擷取裝置、一顏色定義單元、一色系判斷單元、一面積判斷單元以及一開關單元。影像擷取單元係用以擷取一影像。顏色定義單元電性連接影像擷取裝置,並用以將影像區分為至少一同系顏色區塊。色系判斷單元電性連接顏色定義單元,並用以判斷至少一同系顏色區塊的色系是否對應於至少一預定色系。面積判斷單元電性連接色系判斷單元,用以判斷為預定色系之同系顏色區塊的面積與影像之總面積的比值是否大於或等於一預 定比值。開關單元電性連接面積判斷單元,用以當為預定色系之同系顏色區塊的面積與影像之總面積的比值大於或等於預定比值時,關閉觸控式顯示裝置。 According to another embodiment of the present invention, a communication device includes a touch display device, an image capture device, a color definition unit, a color system determination unit, an area determination unit, and a switch unit. The image capture unit is used to capture an image. The color definition unit is electrically connected to the image capturing device and is used to distinguish the image into at least one color block. The color system determining unit is electrically connected to the color defining unit, and is configured to determine whether the color system of the at least one color block corresponds to at least one predetermined color system. The area judging unit is electrically connected to the color judging unit for judging whether the ratio of the area of the same color block of the predetermined color system to the total area of the image is greater than or equal to a pre-predetermined Set the ratio. The switch unit electrical connection area determining unit is configured to turn off the touch display device when the ratio of the area of the same color block of the predetermined color system to the total area of the image is greater than or equal to a predetermined ratio.

於上述實施方式中,通訊裝置可利用其本身自有的影像擷取裝置(例如:前置鏡頭等等)來擷取影像,並藉由影像中,符合預定色系之顏色區塊的面積大小,來判斷使用者頭部是否已靠近通訊裝置,以據此關閉觸控式顯示裝置。因此,上述實施方式之通訊裝置可無須額外地增設光感測器或距離感測器,因而可降低成本。此外,無論使用者頭部與通訊裝置的距離長短,影像擷取裝置均可擷取到使用者頭部的影像,故可解決先前技術中,因為光感測器或距離感測器的有效感測距離過短,而來不及關閉觸控式顯示裝置的問題。 In the above embodiment, the communication device can capture the image by using its own image capturing device (for example, a front lens, etc.), and by the size of the color block in the image that matches the predetermined color system. To determine whether the user's head is close to the communication device, thereby turning off the touch display device. Therefore, the communication device of the above embodiment can reduce the cost without additionally adding a photo sensor or a distance sensor. In addition, regardless of the distance between the user's head and the communication device, the image capturing device can capture the image of the user's head, so that the prior art can be solved because of the effective sense of the light sensor or the distance sensor. The measurement distance is too short, and it is too late to turn off the touch display device.

10、10a‧‧‧通訊裝置 10, 10a‧‧‧ communication device

100‧‧‧本體 100‧‧‧ body

102‧‧‧表面 102‧‧‧ surface

200‧‧‧影像擷取裝置 200‧‧‧Image capture device

300‧‧‧觸控式顯示裝置 300‧‧‧Touch display device

310‧‧‧觸控面板 310‧‧‧Touch panel

320‧‧‧背光模組 320‧‧‧Backlight module

400、400a‧‧‧控制模組 400, 400a‧‧‧ control module

410‧‧‧通話單元 410‧‧‧Talk unit

420‧‧‧影像擷取促發單元 420‧‧‧Image capture triggering unit

430、430a‧‧‧顏色定義單元 430, 430a‧‧‧ color definition unit

440、440a‧‧‧色系判斷單元 440, 440a‧‧‧ color system judgment unit

450、450a‧‧‧面積判斷單元 450, 450a‧‧‧ area judgment unit

460、460a‧‧‧開關單元 460, 460a‧‧‧ switch unit

470‧‧‧面積計算單元 470‧‧‧ area calculation unit

500‧‧‧天線 500‧‧‧Antenna

600‧‧‧揚聲器 600‧‧‧Speakers

700‧‧‧麥克風 700‧‧‧ microphone

801~809、901~910‧‧‧步驟 801~809, 901~910‧‧‧ steps

為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:第1圖繪示依據本發明一實施方式之通訊裝置的俯視圖;第2圖繪示第1圖之通訊裝置的功能方塊圖;第3圖繪示依據本發明一實施方式之避免通話時誤觸螢幕的方法;第4圖繪示依據本發明另一實施方式之通訊裝置的功能方塊圖;及 第5圖繪示依據本發明另一實施方式之避免通話時誤觸螢幕的方法。 The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; FIG. 3 is a functional block diagram of the communication device of FIG. 1; FIG. 3 is a schematic diagram of a method for avoiding accidental touch of a screen during a call according to an embodiment of the present invention; FIG. 4 is a diagram showing a communication device according to another embodiment of the present invention; Functional block diagram; and FIG. 5 illustrates a method for avoiding accidental touch of a screen during a call according to another embodiment of the present invention.

以下將以圖式揭露本發明之複數實施方式,為明確說明起見,許多實務上的細節將在以下敘述中一併說明。然而,熟悉本領域之技術人員應當瞭解到,在本發明部分實施方式中,這些實務上的細節並非必要的,因此不應用以限制本發明。此外,為簡化圖式起見,一些習知慣用的結構與元件在圖式中將以簡單示意的方式繪示之。 The embodiments of the present invention are disclosed in the following drawings, and for the purpose of clarity However, it should be understood by those skilled in the art that the details of the invention are not essential to the details of the invention. In addition, some of the conventional structures and elements are shown in the drawings in a simplified schematic manner in order to simplify the drawings.

第1圖繪示依據本發明一實施方式之通訊裝置10的俯視圖。如第1圖所示,於本實施方式中,通訊裝置10可包含一本體100、一影像擷取裝置200以及一觸控式顯示裝置300。本體100具有一表面102。影像擷取裝置200與觸控式顯示裝置300均係設置於本體100之同一表面102上。當使用者欲通話時,使用者可移動通訊裝置10,使其表面102接近使用者頭部。為了避免使用者頭部誤觸觸控式顯示裝置300而造成誤動作,本實施方式利用影像擷取裝置200所擷取的影像,來判斷是否關閉觸控式顯示裝置300。 1 is a top plan view of a communication device 10 in accordance with an embodiment of the present invention. As shown in FIG. 1 , in the present embodiment, the communication device 10 can include a main body 100 , an image capturing device 200 , and a touch display device 300 . The body 100 has a surface 102. Both the image capturing device 200 and the touch display device 300 are disposed on the same surface 102 of the body 100. When the user wants to talk, the user can move the communication device 10 such that its surface 102 is close to the user's head. In order to prevent the user's head from accidentally touching the touch display device 300 and causing malfunction, the present embodiment uses the image captured by the image capturing device 200 to determine whether to close the touch display device 300.

具體來說,可參閱第2圖,本圖繪示第1圖之通訊裝置10的功能方塊圖。如第2圖所示,於本實施方式中,通訊裝置10可包含一控制模組400、一天線500、一揚聲器600以及一麥克風700。控制模組400可包含一通話單元 410、一影像擷取促發單元420、一顏色定義單元430、一色系判斷單元440、一面積判斷單元450以及一開關單元460。通話單元410電性連接天線500、揚聲器600以及麥克風700。天線500可接收或發送一通話要求。當天線500接收通話要求時,會將通話要求傳送到通話單元410,當使用者操作(例如:以點選或滑動的方式)觸控式顯示裝置300而接受通話要求後,通話單元410可致能(enable)揚聲器600與麥克風700,以供使用者通話。 Specifically, referring to FIG. 2, this figure shows a functional block diagram of the communication device 10 of FIG. 1. As shown in FIG. 2, in the present embodiment, the communication device 10 can include a control module 400, an antenna 500, a speaker 600, and a microphone 700. The control module 400 can include a call unit 410, an image capture triggering unit 420, a color definition unit 430, a color system determination unit 440, an area determination unit 450, and a switch unit 460. The call unit 410 is electrically connected to the antenna 500, the speaker 600, and the microphone 700. Antenna 500 can receive or transmit a call request. When the antenna 500 receives the call request, the call request is transmitted to the call unit 410. When the user operates (eg, clicks or slides) the touch display device 300 to accept the call request, the call unit 410 can cause The speaker 600 and the microphone 700 can be enabled for the user to talk.

影像擷取促發單元420電性連接通話單元410,其可用以在使用者接受通話要求後,促發影像擷取裝置200擷取一影像。更詳細地說,影像擷取裝置200可為一鏡頭(如CCD或CMOS等等)。當使用者接受通話要求後,影像擷取促發單元420可執行預覽(preview)程式,以促發影像擷取裝置200在不對焦的情況下週期性地擷取影像,並將擷取到的影像暫時地儲存於一暫存記憶體中。 The image capture and promotion unit 420 is electrically connected to the communication unit 410, and can be used to trigger the image capture device 200 to capture an image after the user accepts the call request. In more detail, the image capturing device 200 can be a lens (such as CCD or CMOS, etc.). After the user accepts the call request, the image capture triggering unit 420 can execute a preview program to prompt the image capture device 200 to periodically capture the image without focusing, and capture the captured image. The image is temporarily stored in a temporary memory.

顏色定義單元430電性連接影像擷取裝置200,其可用以將影像的區分為至少一同系顏色區塊。更詳細地說,顏色定義單元430可將影像擷取裝置200所擷取到的影像切割為多個色塊,並判斷每個色塊所屬的實際色系,而將屬於相同實際色系的多個色塊定義為一同系顏色區塊。應瞭解到,本文所述之「實際色系」係代表顏色定義單元430根據內存的色碼表所判斷出色塊所屬的色系。另應瞭解到,本文所述之「色系」可區分為人類膚色色系、人類髮色色系以及其他色系。本文之人類膚色色系所包含 的顏色在16進位色碼表上的顏色代碼可如以下表一所示: The color definition unit 430 is electrically connected to the image capturing device 200, and can be used to distinguish the images into at least one homogeneous color block. In more detail, the color definition unit 430 can cut the image captured by the image capturing device 200 into a plurality of color blocks, and determine the actual color system to which each color block belongs, and will belong to the same actual color system. Each color block is defined as a homogenous color block. It should be understood that the "actual color system" described herein represents the color definition unit 430 determines the color system to which the excellent block belongs according to the color code table of the memory. It should also be understood that the "color system" described herein can be distinguished into human skin color, human hair color, and other color systems. The color code of the color contained in the human skin color system in this paper can be as shown in the following Table 1:

本文之人類髮色色系可包含東方人髮色色系以及西方人髮色色系,其中東方人髮色色系所包含的顏色在16進位色碼表上的顏色代碼可如以下表二所示: The human hair color system in this paper may include oriental hair color and western color color, and the color code of the color contained in the oriental color color code on the 16-digit color code table may be as shown in the following Table 2:

另外,西方人髮色色系所包含的顏色在16進位色碼表上的顏色代碼可如以下表三所示: In addition, the color code of the color contained in the Western color scheme can be as shown in Table 3 below:

當色塊顏色所對應的顏色代碼為表一中的任一者時,顏色定義單元430即可判斷其所屬的實際色系為人類膚色色系。當色塊顏色所對應的顏色代碼為表二或表三中的任一者時,顏色定義單元430即可判斷其所屬的實際色系為人類髮色色系。顏色定義單元430可叢聚實際色系相同的色塊,並將其整體定義為一同系顏色區塊。 When the color code corresponding to the patch color is any one of Table 1, the color definition unit 430 can determine that the actual color system to which it belongs is the human skin color system. When the color code corresponding to the patch color is any one of Table 2 or Table 3, the color definition unit 430 can determine that the actual color system to which it belongs is a human hair color system. The color definition unit 430 can cluster the same color patches of the actual color system and define them as a homogeneous color block as a whole.

色系判斷單元440電性連接顏色定義單元430,其可用以判斷同系顏色區塊所屬的實際色系是否為一預定色系。舉例來說,預定色系可為人類膚色色系,當實際色系亦為人類膚色色系時,色系判斷單元440可判斷出實際色系為預定色系。相似地,預定色系可為人類髮色色系,當實際色系亦為人類髮色色系時,色系判斷單元440可判斷出實際色系為預定色系。 The color system determining unit 440 is electrically connected to the color definition unit 430, which can be used to determine whether the actual color system to which the same color block belongs is a predetermined color system. For example, the predetermined color system may be a human skin color system, and when the actual color system is also a human skin color system, the color system determining unit 440 may determine that the actual color system is a predetermined color system. Similarly, the predetermined color system may be a human color color system, and when the actual color system is also a human color color system, the color system determining unit 440 may determine that the actual color system is a predetermined color system.

面積判斷單元450電性連接色系判斷單元440,其可用以判斷為預定色系的同系顏色區塊之面積與影像之總面積的實際比值是否大於或等於一預定比值。較佳來說,預定比值R實質上滿足:1/2≦R≦2/3,以利在符合預定色系的同系顏色區塊尚未佔滿整個影像時,關閉觸控式顯示裝置300。更詳細地說,預定比值R可為1/2至2/3之間的任何數值,而面積判斷單元450可先計算出符合預定色系的同系顏色區塊的面積,再得到其與影像之總面積的實際比值,接著判斷此實際比值是否大於或等於預定比值。 The area judging unit 450 is electrically connected to the color judging unit 440, and can be used to determine whether the actual ratio of the area of the same color patch of the predetermined color system to the total area of the image is greater than or equal to a predetermined ratio. Preferably, the predetermined ratio R substantially satisfies: 1/2 ≦ R ≦ 2 / 3, so that the touch display device 300 is turned off when the same color image that matches the predetermined color system has not yet occupied the entire image. In more detail, the predetermined ratio R may be any value between 1/2 and 2/3, and the area judging unit 450 may first calculate the area of the same color block that conforms to the predetermined color system, and then obtain the image and the image. The actual ratio of the total area is then determined whether the actual ratio is greater than or equal to the predetermined ratio.

開關單元460係電性連接於面積判斷單元450,其可得到面積判斷單元450的判斷結果,並據此開啟或關閉觸控式顯示裝置300。更詳細地說,當面積判斷單元450判斷出實際比值大於或等於預定比值時,開關單元460可關閉觸控式顯示裝置300。如此一來,即使使用者頭部接觸觸控式顯示裝置300,也不會造成觸控式顯示裝置300的誤動作。 The switch unit 460 is electrically connected to the area determining unit 450, and the result of the determination by the area determining unit 450 is obtained, and the touch display device 300 is turned on or off accordingly. In more detail, when the area determining unit 450 determines that the actual ratio is greater than or equal to the predetermined ratio, the switch unit 460 may turn off the touch display device 300. In this way, even if the user's head touches the touch display device 300, the touch display device 300 does not malfunction.

觸控式顯示裝置300可包含一觸控面板310以及一背光模組320,觸控面板310係用以顯示影像,並供使用者以觸控的方式操作通訊裝置10,背光模組320係用以提供觸控面板310光線,以利顯示影像。觸控面板310與背光模組320均可被開關單元460所關閉。 The touch display device 300 can include a touch panel 310 and a backlight module 320. The touch panel 310 is used to display images, and the user can operate the communication device 10 in a touch manner. The backlight module 320 is used. The light of the touch panel 310 is provided to facilitate display of the image. Both the touch panel 310 and the backlight module 320 can be turned off by the switch unit 460.

於本實施方式中,控制模組400的各個單元可由軟體或韌體所實現。 In this embodiment, each unit of the control module 400 can be implemented by a software or a firmware.

第3圖繪示依據本發明一實施方式之避免通話時誤觸螢幕的方法,其包含步驟如下所述。 FIG. 3 illustrates a method for avoiding accidental touch of a screen during a call according to an embodiment of the present invention, the steps including the following.

於步驟801中,使用者可透過通訊裝置10接受通話要求。 In step 801, the user can accept the call request through the communication device 10.

於步驟802中,接受通話要求後,通訊裝置10之影像擷取裝置200可擷取影像。具體來說,影像擷取促發單元420可在接受通話要求後,促發影像擷取裝置200擷取一影像。 In step 802, after accepting the call request, the image capture device 200 of the communication device 10 can capture the image. Specifically, the image capture triggering unit 420 can trigger the image capturing device 200 to capture an image after accepting the call request.

於步驟803中,顏色定義單元430可將影像區分為至少一同系顏色區塊。具體來說,顏色定義單元430可將 影像擷取裝置200所擷取到的影像切割為多個色塊,並將屬於相同實際色系的多個色塊定義為一同系顏色區塊。 In step 803, the color definition unit 430 can distinguish the image into at least one sibling color block. Specifically, the color definition unit 430 can The image captured by the image capturing device 200 is cut into a plurality of color patches, and a plurality of color patches belonging to the same actual color system are defined as a same color block.

於步驟804中,由色系判斷單元440判斷同系顏色區塊的實際色系是否為預定色系。若同系顏色區塊的實際色系為預定色系,則進入步驟805。 In step 804, the color system determining unit 440 determines whether the actual color system of the same color block is a predetermined color system. If the actual color system of the same color block is a predetermined color system, then step 805 is entered.

於步驟805中,面積判斷單元450可判斷同系顏色區塊之面積與影像之總面積的實際比值是否大於或等於一預定比值。較佳來說,預定比值R實質上滿足:1/2≦R≦2/3。若同系顏色區塊之面積與影像之總面積的實際比值大於或等於一預定比值,則進入步驟806。 In step 805, the area determining unit 450 can determine whether the actual ratio of the area of the same color block to the total area of the image is greater than or equal to a predetermined ratio. Preferably, the predetermined ratio R substantially satisfies: 1/2 ≦ R ≦ 2/3. If the actual ratio of the area of the same color block to the total area of the image is greater than or equal to a predetermined ratio, then step 806 is entered.

於步驟806中,開關單元460關閉觸控式顯示裝置300,如此便能防止使用者頭部誤觸觸控式顯示裝置300。在通話中時,通訊裝置10可循環執行步驟802至步驟806,以確保在通話中時,觸控式顯示裝置300係關閉的。 In step 806, the switch unit 460 turns off the touch display device 300, so that the user's head can be prevented from accidentally touching the touch display device 300. During the call, the communication device 10 may cyclically perform steps 802 to 806 to ensure that the touch display device 300 is turned off during a call.

回到步驟804,若同系顏色區塊的實際色系不是預定色系時,則進入步驟807,開啟觸控式顯示裝置300。換句話說,此時控制模組400可判斷出使用者頭部並非靠近通訊裝置10,故無須提防觸控式顯示裝置300被誤觸,而可開啟觸控式顯示裝置300,以利使用者操作(例如掛斷電話等等)。 Going back to step 804, if the actual color system of the same color block is not the predetermined color system, then the process proceeds to step 807 to turn on the touch display device 300. In other words, at this time, the control module 400 can determine that the user's head is not close to the communication device 10, so that the touch display device 300 can be turned on without touching the touch display device 300, and the touch display device 300 can be turned on to facilitate the user. Operation (such as hanging up the phone, etc.).

回到步驟805,若實際比值小於預定比值,亦可進入步驟807,開啟觸控式顯示裝置300。換句話說,此時控制模組400可判斷出使用者頭部並非靠近通訊裝置10,故無須提防使用者頭部誤觸觸控式顯示裝置300,而可開啟觸 控式顯示裝置300,以利使用者操作(例如掛斷電話等等)。 Going back to step 805, if the actual ratio is less than the predetermined ratio, the process may proceed to step 807 to turn on the touch display device 300. In other words, the control module 400 can determine that the user's head is not close to the communication device 10, so that the user's head does not need to be inadvertently touched by the touch-sensitive display device 300, and the touch can be turned on. The display device 300 is controlled to facilitate user operations (such as hanging up the phone, etc.).

當觸控式顯示裝置300在步驟807中被開啟後,可進入步驟808,判斷通話是否結束。若通話已結束,則進入步驟809,結束此流程。若通話尚未結束,則重新執行步驟802至805,重新擷取影像,並進行後續的色系與面積判斷。 When the touch display device 300 is turned on in step 807, the process may proceed to step 808 to determine whether the call is over. If the call has ended, proceed to step 809 to end the process. If the call has not ended, perform steps 802 to 805 again, recapture the image, and perform subsequent color system and area determination.

第4圖繪示依據本發明另一實施方式之通訊裝置10a的功能方塊圖。通訊裝置10a與前述通訊裝置10之間的主要差異在於控制模組400a與控制模組400的功能不同,詳如下述:通訊裝置10a的顏色定義單元430a可用以將影像區分為兩個不同的同系顏色區塊。換句話說,顏色定義單元430a可定義一第一同系顏色區塊以及一第二同系顏色區塊,而兩者分別屬於不同的一第一實際色系與一第二實際色系。具體來說,顏色定義單元430a可將影像擷取裝置200所擷取到的影像切割為多個色塊,並將屬於第一實際色系的多個色塊定義為一第一同系顏色區塊,且將屬於第二實際色系的多個色塊定義為一第二同系顏色區塊。舉例來說,當部分的色塊係屬於人類膚色色系時,顏色定義單元430a可將其叢聚在一起,並將整體定義為第一同系顏色區塊;當另一部分的色塊係屬於人類髮色色系時,顏色定義單元430a可將其叢聚在一起,並將整體定義為第二同系顏色區塊。 FIG. 4 is a functional block diagram of a communication device 10a according to another embodiment of the present invention. The main difference between the communication device 10a and the communication device 10 is that the functions of the control module 400a and the control module 400 are different, as described in detail below: the color definition unit 430a of the communication device 10a can be used to distinguish images into two different systems. Color block. In other words, the color definition unit 430a may define a first homologous color block and a second homologous color block, and the two belong to different first actual color systems and a second actual color system, respectively. Specifically, the color definition unit 430a may cut the image captured by the image capturing device 200 into a plurality of color patches, and define a plurality of color patches belonging to the first actual color system as a first color region. A block, and a plurality of color patches belonging to the second actual color system are defined as a second homologous color block. For example, when a part of the color patches belong to the human skin color system, the color definition unit 430a may cluster them together and define the whole as the first homologous color block; when the other part of the color block belongs to In the case of a human hair color system, the color definition unit 430a may cluster them together and define the entirety as a second homologous color block.

通訊裝置10a之色系判斷單元440a可用以判斷第一實際色系及第二實際色系是否分別為一第一預定色系及 一第二預定色系。舉例來說,第一預定色系可為人類膚色色系,第二預定色系為人類髮色色系。色系判斷單元440a可判斷第一同系顏色區塊所屬的第一實際色系是否為人類膚色色系,而第二同系顏色區塊所屬的第二實際色系是否為人類髮色色系。 The color system determining unit 440a of the communication device 10a can be used to determine whether the first actual color system and the second actual color system are respectively a first predetermined color system and a second predetermined color system. For example, the first predetermined color system can be a human skin color system and the second predetermined color system is a human hair color system. The color system judging unit 440a may determine whether the first actual color system to which the first congruent color block belongs is a human skin color system, and whether the second actual color system to which the second congruent color block belongs is a human color color system.

通訊裝置10a可包含一面積計算單元470。面積計算單元470係電性連接於顏色定義單元430a,其可用以得到符合第一預定色系的第一同系顏色區塊與符合第二預定色系的第二同系顏色區塊之面積總和。面積判斷單元450a除了電性連接色系判斷單元440a外,亦電性連接面積計算單元470,而可得到上述面積總和,並判斷上述面積總和與影像之總面積的實際比值是否大於或等於一預定比值。較佳來說,預定比值R實質上滿足:1/2≦R≦2/3,以利在符合第一預定色系的第一同系顏色區塊與符合第二預定色系的第二同系顏色區塊尚未佔滿整個影像時,關閉觸控式顯示裝置300。 The communication device 10a can include an area calculation unit 470. The area calculation unit 470 is electrically connected to the color definition unit 430a, which can be used to obtain the sum of the areas of the first homologous color block conforming to the first predetermined color system and the second homologous color block conforming to the second predetermined color system. The area judging unit 450a is electrically connected to the area calculating unit 470 in addition to the electrical connection color judging unit 440a, and can obtain the sum of the areas, and determine whether the actual ratio of the area sum to the total area of the image is greater than or equal to a predetermined value. ratio. Preferably, the predetermined ratio R substantially satisfies: 1/2 ≦ R ≦ 2 / 3, so that the first homologous color block conforming to the first predetermined color system and the second homologous color conforming to the second predetermined color system When the color block has not occupied the entire image, the touch display device 300 is turned off.

通訊裝置10a之開關單元460a可根據面積判斷單元450a的判斷結果,來開啟或關閉觸控式顯示裝置300。更詳細地說,當面積判斷單元450a判斷出符合第一預定色系的第一同系顏色區塊與符合第二預定色系的第二同系顏色區塊之面積總和與影像之總面積的實際比值大於或等於預定比值時,開關單元460a可關閉觸控式顯示裝置300。如此一來,即使使用者頭部接觸觸控式顯示裝置300,也不會造成觸控式顯示裝置300的誤動作。 The switch unit 460a of the communication device 10a can turn on or off the touch display device 300 according to the determination result of the area determination unit 450a. In more detail, when the area judging unit 450a judges the sum of the area of the first homochromatic color block conforming to the first predetermined color system and the second congruent color block conforming to the second predetermined color system and the total area of the image, When the ratio is greater than or equal to a predetermined ratio, the switch unit 460a may turn off the touch display device 300. In this way, even if the user's head touches the touch display device 300, the touch display device 300 does not malfunction.

於本實施方式中,控制模組400a的各個單元可由軟體或韌體所實現。通訊裝置10a之其他技術特徵均如同前文中關於通訊裝置10的記載,故不重複敘述。 In this embodiment, each unit of the control module 400a can be implemented by a software or a firmware. The other technical features of the communication device 10a are the same as those described above for the communication device 10, and therefore the description will not be repeated.

第5圖繪示依據本發明另一實施方式之避免通話時誤觸螢幕的方法,其步驟如下所述。 FIG. 5 illustrates a method for avoiding accidental touch of a screen during a call according to another embodiment of the present invention, the steps of which are as follows.

於步驟901中,使用者可藉由通訊裝置10a接受通話要求。 In step 901, the user can accept the call request by the communication device 10a.

於步驟902中,接受通話要求後,通訊裝置10a之影像擷取裝置200可擷取影像。 In step 902, after accepting the call request, the image capturing device 200 of the communication device 10a can capture the image.

於步驟903中,顏色定義單元430a可將影像區分為一第一同系顏色區塊以及一第二同系顏色區塊。具體來說,顏色定義單元430a可將影像擷取裝置200所擷取到的影像切割為多個色塊,並將屬於第一實際色系的多個色塊定義為第一同系顏色區塊,且將屬於第二實際色系的多個色塊定義為第二同系顏色區塊。 In step 903, the color definition unit 430a can distinguish the image into a first homologous color block and a second homologous color block. Specifically, the color definition unit 430a may cut the image captured by the image capturing device 200 into a plurality of color blocks, and define a plurality of color blocks belonging to the first actual color system as the first same color block. And defining a plurality of color patches belonging to the second actual color system as the second homogenous color block.

於步驟904中,由色系判斷單元440a判斷第一實際色系與第二實際色系是否分別為第一預定色系與第二預定色系,若是,則進入步驟905。 In step 904, the color system determining unit 440a determines whether the first actual color system and the second actual color system are respectively the first predetermined color system and the second predetermined color system, and if so, proceeds to step 905.

於步驟905中,由面積計算單元470得到符合第一預定色系的第一同系顏色區塊與符合第二預定色系的第二同系顏色區塊之面積總和。 In step 905, the area summation unit 470 obtains the sum of the areas of the first homochromatic color block conforming to the first predetermined color system and the second homologous color block conforming to the second predetermined color system.

於步驟906中,面積判斷單元450a可判斷上述面積總和與影像之總面積的實際比值是否大於或等於一預定比值。較佳來說,預定比值R實質上滿足:1/2≦R≦2/3。 In step 906, the area determining unit 450a can determine whether the actual ratio of the sum of the areas to the total area of the image is greater than or equal to a predetermined ratio. Preferably, the predetermined ratio R substantially satisfies: 1/2 ≦ R ≦ 2/3.

若實際比值大於或等於預定比值,則進入步驟907,由開關單元460a關閉觸控式顯示裝置300,如此便能防止使用者頭部誤觸觸控式顯示裝置300。在通話中時,通訊裝置10a可循環執行步驟902至步驟907,以確保在通話中時,觸控式顯示裝置300係關閉的。 If the actual ratio is greater than or equal to the predetermined ratio, the process proceeds to step 907, and the touch display unit 300 is turned off by the switch unit 460a. This prevents the user's head from accidentally touching the touch display device 300. During the call, the communication device 10a may cyclically perform steps 902 to 907 to ensure that the touch display device 300 is turned off during a call.

回到步驟904,若第一實際色系不是第一預定色系,或第二實際色系不是第二預定色系,則進入步驟908,開啟觸控式顯示裝置300。換句話說,此時控制模組400a可判斷出使用者頭部並非靠近通訊裝置10a,故無須提防使用者頭部誤觸觸控式顯示裝置300,而可開啟觸控式顯示裝置300,以利使用者操作(例如掛斷電話等等)。 Returning to step 904, if the first actual color system is not the first predetermined color system, or the second actual color system is not the second predetermined color system, then step 908 is entered to turn on the touch display device 300. In other words, the control module 400a can determine that the user's head is not close to the communication device 10a. Therefore, the touch display device 300 can be turned on without touching the touch display device 300. User operations (such as hanging up the phone, etc.).

另外,回到步驟906,若實際比值小於預定比值,亦可進入步驟908,開啟觸控式顯示裝置300。換句話說,此時控制模組400a可判斷出使用者頭部並非靠近通訊裝置10a,故無須提防使用者頭部誤觸觸控式顯示裝置300,而可開啟觸控式顯示裝置300,以利使用者操作(例如掛斷電話等等)。 In addition, returning to step 906, if the actual ratio is less than the predetermined ratio, the process may proceed to step 908 to turn on the touch display device 300. In other words, the control module 400a can determine that the user's head is not close to the communication device 10a. Therefore, the touch display device 300 can be turned on without touching the touch display device 300. User operations (such as hanging up the phone, etc.).

當觸控式顯示裝置300在步驟908中被開啟後,可進入步驟909,判斷通話是否結束。若通話已結束,則進入步驟910,結束此流程。若通話尚未結束,則重新執行步驟902至906中,重新擷取影像,並進行後續的色系與面積判斷。 When the touch display device 300 is turned on in step 908, it may proceed to step 909 to determine whether the call is over. If the call has ended, proceed to step 910 to end the process. If the call has not ended, re-execute steps 902 to 906, recapture the image, and perform subsequent color system and area determination.

綜上所述,於以上實施方式中,通訊裝置10或10a可利用其本身自有的影像擷取裝置200來擷取影像,並藉 由影像中,符合預定色系之同系顏色區塊的面積大小,來判斷使用者頭部是否已靠近通訊裝置10或10a,以據此關閉觸控式顯示裝置300。因此,上述實施方式之通訊裝置10或10a無須額外地增設光感測器或距離感測器,因而可降低成本。此外,無論使用者頭部與通訊裝置10或10a的距離長短,影像擷取裝置200均可擷取到使用者頭部的影像,故可解決先前技術中,因為光感測器或距離感測器的有效感測距離過短,而來不及關閉觸控式顯示裝置300的問題。 In summary, in the above embodiment, the communication device 10 or 10a can use its own image capturing device 200 to capture images and borrow From the image, the size of the same color block of the predetermined color system is used to determine whether the user's head is close to the communication device 10 or 10a, thereby turning off the touch display device 300. Therefore, the communication device 10 or 10a of the above embodiment does not need to additionally add a photo sensor or a distance sensor, thereby reducing the cost. In addition, regardless of the distance between the user's head and the communication device 10 or 10a, the image capturing device 200 can capture the image of the user's head, so the prior art can be solved because of the light sensor or distance sensing. The effective sensing distance of the device is too short to have the problem of turning off the touch display device 300.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

10‧‧‧通訊裝置 10‧‧‧Communication device

200‧‧‧影像擷取裝置 200‧‧‧Image capture device

300‧‧‧觸控式顯示裝置 300‧‧‧Touch display device

310‧‧‧觸控面板 310‧‧‧Touch panel

320‧‧‧背光模組 320‧‧‧Backlight module

400‧‧‧控制模組 400‧‧‧Control Module

410‧‧‧通話單元 410‧‧‧Talk unit

420‧‧‧影像擷取促發單元 420‧‧‧Image capture triggering unit

430‧‧‧顏色定義單元 430‧‧‧Color definition unit

440‧‧‧色系判斷單元 440‧‧‧ color system judgment unit

450‧‧‧面積判斷單元 450‧‧‧ Area Judging Unit

460‧‧‧開關單元 460‧‧‧Switch unit

500‧‧‧天線 500‧‧‧Antenna

600‧‧‧揚聲器 600‧‧‧Speakers

700‧‧‧麥克風 700‧‧‧ microphone

Claims (9)

一種避免通話時誤觸螢幕的方法,包含:利用一通訊裝置之一影像擷取裝置擷取一影像;將該影像區分為至少一同系顏色區塊;判斷該至少一同系顏色區塊的色系是否分別對應於至少一預定色系;若是,判斷為該預定色系之該同系顏色區塊的面積與該影像之總面積的一比值是否大於或等於一預定比值;若是,關閉該通訊裝置之一觸控式顯示裝置。 A method for avoiding accidental touch on a screen during a call, comprising: capturing an image by using an image capturing device of a communication device; dividing the image into at least one color block; determining a color system of the at least one color block Whether respectively corresponding to at least one predetermined color system; if so, determining whether a ratio of the area of the same color block of the predetermined color system to the total area of the image is greater than or equal to a predetermined ratio; if so, turning off the communication device A touch display device. 如請求項1所述之避免通話時誤觸螢幕的方法,其中該預定比值R實質上滿足:1/2≦R≦2/3。 The method of claim 1, wherein the predetermined ratio R substantially satisfies: 1/2 ≦ R ≦ 2/3. 如請求項1所述之避免通話時誤觸螢幕的方法,其中該預定色系為一人類膚色色系或一人類髮色色系。 The method of claim 1, wherein the predetermined color system is a human skin color system or a human hair color system. 如請求項1所述之避免通話時誤觸螢幕的方法,其中該至少一同系顏色區塊之數量為兩個,且該些同系顏色區塊之一者所對應的該預定色系為一人類膚色色系,而另一該同系顏色區塊所對應的該預定色系為一人類髮色色系。 The method of claim 1, wherein the number of the at least one color block is two, and the predetermined color system corresponding to one of the same color blocks is a human. The skin color system, and the predetermined color system corresponding to the other color block is a human hair color system. 一種通訊裝置,包含:一觸控式顯示裝置;一影像擷取裝置,用以擷取一影像;一顏色定義單元,電性連接該影像擷取裝置,用以將該 影像區分為至少一同系顏色區塊;一色系判斷單元,電性連接該顏色定義單元,用以判斷該至少一同系顏色區塊的色系是否對應於至少一預定色系;一面積判斷單元,電性連接該色系判斷單元,用以判斷為該預定色系之該同系顏色區塊的面積與該影像之總面積的一比值是否大於或等於一預定比值;以及一開關單元,電性連接該面積判斷單元,用以當該比值大於或等於該預定比值時,關閉該觸控式顯示裝置。 A communication device comprising: a touch display device; an image capture device for capturing an image; a color definition unit electrically connected to the image capture device for The image is divided into at least one color block; the color system determining unit is electrically connected to the color defining unit to determine whether the color system of the at least one color block corresponds to at least one predetermined color system; and an area determining unit, Electrically connecting the color system determining unit to determine whether a ratio of an area of the same color block of the predetermined color system to a total area of the image is greater than or equal to a predetermined ratio; and a switch unit electrically connected The area determining unit is configured to turn off the touch display device when the ratio is greater than or equal to the predetermined ratio. 如請求項5所述之通訊裝置,更包含:一本體,其中該影像擷取裝置與該觸控式顯示裝置係設置於該本體之同一表面。 The communication device of claim 5, further comprising: a body, wherein the image capturing device and the touch display device are disposed on the same surface of the body. 如請求項5所述之通訊裝置,其中該預定比值R實質上滿足:1/2≦R≦2/3。 The communication device of claim 5, wherein the predetermined ratio R substantially satisfies: 1/2 ≦ R ≦ 2/3. 如請求項5所述之通訊裝置,其中該預定色系為一人類膚色色系或一人類髮色色系。 The communication device of claim 5, wherein the predetermined color system is a human skin color system or a human hair color system. 如請求項5所述之通訊裝置,其中該至少一同系顏色區塊之數量為兩個,且該些同系顏色區塊之一者所對應的該預定色系為一人類膚色色系,而另一該同系顏色區塊所對應的該預定色系為一人類髮色色系。 The communication device of claim 5, wherein the number of the at least one homogenous color block is two, and the predetermined color system corresponding to one of the homologous color blocks is a human skin color system, and The predetermined color system corresponding to the same color block is a human hair color system.
TW102119991A 2013-06-05 2013-06-05 Communicaiton device and methof for preventing mis-touch when communicating TWI469014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102119991A TWI469014B (en) 2013-06-05 2013-06-05 Communicaiton device and methof for preventing mis-touch when communicating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102119991A TWI469014B (en) 2013-06-05 2013-06-05 Communicaiton device and methof for preventing mis-touch when communicating

Publications (2)

Publication Number Publication Date
TW201447654A true TW201447654A (en) 2014-12-16
TWI469014B TWI469014B (en) 2015-01-11

Family

ID=52707514

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102119991A TWI469014B (en) 2013-06-05 2013-06-05 Communicaiton device and methof for preventing mis-touch when communicating

Country Status (1)

Country Link
TW (1) TWI469014B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866807B (en) * 2019-11-12 2024-04-30 鸿富锦精密电子(郑州)有限公司 Intelligent shutdown method and device and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI245949B (en) * 2003-03-27 2005-12-21 Au Optronics Corp Video display system with power saving function
TWI413396B (en) * 2008-02-12 2013-10-21 Wistron Corp Mobile phone and method for controlling the same
TWI434205B (en) * 2011-04-22 2014-04-11 Htc Corp Electronic apparatus and related control method
TW201244451A (en) * 2011-04-25 2012-11-01 Acer Inc Mobile communication device with low power consumption and method for operating the same

Also Published As

Publication number Publication date
TWI469014B (en) 2015-01-11

Similar Documents

Publication Publication Date Title
US10955980B2 (en) Terminal and method for touchscreen input correction
US9696767B2 (en) Command recognition method including determining a hold gesture and electronic device using the method
EP4109218B1 (en) Mobile phone comprising a touch screen with an in-display fingerprint sensor
EP3435216B1 (en) Method, mobile terminal and non-transitory computer-readable storage medium for response control of damaged touch screen
US20180203568A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
EP2947553A1 (en) Touch input control method and device
WO2017032068A1 (en) Text message viewing method and user terminal
US9639261B2 (en) Apparatus and method for controlling a suspended state
EP2579126A1 (en) Method for controlling state of mobile terminal and mobile terminal
WO2019136759A1 (en) Press detection method and device for fingerprint identification system and terminal device
JP2019128961A (en) Method for recognizing fingerprint, and electronic device, and storage medium
CN111488761B (en) Fingerprint identification method, fingerprint identification device, electronic equipment and computer readable storage medium
JP6229069B2 (en) Mobile terminal, how to handle virtual buttons
US20170131893A1 (en) Terminal control method and device
US10409486B2 (en) Electronic device with multi-portion display and control method thereof
US11941910B2 (en) User interface display method of terminal, and terminal
CN105242867A (en) Handset and control method therefor
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
US10078396B2 (en) Optical touch sensing device and touch signal determination method thereof
CN104423661A (en) Mobile terminal and method for preventing wrong touch on touch screen
TWI469014B (en) Communicaiton device and methof for preventing mis-touch when communicating
CN108848265B (en) Screen brightness adjusting method and device for local area, terminal and storage medium
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
CN202696743U (en) Image capture device for projective virtual keyboard and virtual keyboard
TW202009683A (en) Electronic device and display locking method when answering phone