[go: up one dir, main page]

TWI620099B - Method for determining display orientation and electronic apparatus using the same and computer readable recording medium - Google Patents

Method for determining display orientation and electronic apparatus using the same and computer readable recording medium Download PDF

Info

Publication number
TWI620099B
TWI620099B TW105125159A TW105125159A TWI620099B TW I620099 B TWI620099 B TW I620099B TW 105125159 A TW105125159 A TW 105125159A TW 105125159 A TW105125159 A TW 105125159A TW I620099 B TWI620099 B TW I620099B
Authority
TW
Taiwan
Prior art keywords
electronic device
held
finger
sensor
processor
Prior art date
Application number
TW105125159A
Other languages
Chinese (zh)
Other versions
TW201805772A (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 TW105125159A priority Critical patent/TWI620099B/en
Publication of TW201805772A publication Critical patent/TW201805772A/en
Application granted granted Critical
Publication of TWI620099B publication Critical patent/TWI620099B/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

一種決定畫面顯示方向的方法。方法包括下列步驟。藉由至少一握持感測器(hold sensor)感測複數個接觸點,並根據該些接觸點判斷握持一電子裝置的一握持狀態。至少一握持感測器係配置於電子裝置的至少一側邊。根據握持狀態決定被握持的電子裝置的被握持方向。依照被握持方向決定電子裝置所產生之畫面的畫面顯示方向。 A method of determining the direction in which a picture is displayed. The method includes the following steps. A plurality of contact points are sensed by at least one holding sensor, and a holding state of holding an electronic device is determined according to the contact points. At least one holding sensor is disposed on at least one side of the electronic device. The held direction of the electronic device being held is determined according to the grip state. The screen display direction of the screen generated by the electronic device is determined according to the held direction.

Description

決定畫面顯示方向之方法及使用其之電子裝置與電腦可讀 取紀錄媒體 Method for determining the direction of display of the screen and electronic device and computer readable using the same Record media

本發明是有關於一種決定方向之方法及電子裝置,且特別是有關於一種決定畫面顯示方向之方法及電子裝置。 The present invention relates to a method and an electronic device for determining a direction, and more particularly to a method and an electronic device for determining a display direction of a screen.

隨著多媒體時代的來臨,顯示裝置的應用領域隨之擴大。各式各樣具有顯示裝置的電子裝置已逐漸為人們所熟知並開始廣泛使用。人們經常透過電子裝置閱讀文字或欣賞圖片,也可以透過電子裝置觀看影片。具有顯示裝置的電子裝置通常具有兩種螢幕模式,分別為直立模式(portrait mode)及橫立模式(landscape mode)。一般來說,電子裝置透過慣性感測器(例如重力感測器(G-sensor))的感測訊號自動決定螢幕模式。電子裝置自動決定螢幕模式的功能又稱為自動旋轉螢幕(auto orientation)。但是,若電子裝置的螢幕平行於地面(例如使用者於躺著的情況下使用電子裝置),則重力感測器無法正確判斷方向,造成電子裝置使用錯誤的螢幕模式來顯示畫面。例如,使用者以橫向方式握持電 子裝置,而電子裝置卻以直立模式顯示畫面;或者使用者以直向方式握持電子裝置,而電子裝置卻以橫立模式顯示畫面。因此,如何正確判斷電子裝置之畫面顯示方向已成為目前業界努力的方向之一。 With the advent of the multimedia era, the field of application of display devices has expanded. A wide variety of electronic devices having display devices have become well known and widely used. People often read text or enjoy pictures through electronic devices, and can watch videos through electronic devices. Electronic devices having display devices typically have two screen modes, a portrait mode and a landscape mode. Generally, the electronic device automatically determines the screen mode through the sensing signal of the inertial sensor (such as a gravity sensor (G-sensor)). The function of the electronic device to automatically determine the screen mode is also called auto orientation. However, if the screen of the electronic device is parallel to the ground (for example, if the user uses the electronic device while lying down), the gravity sensor cannot correctly determine the direction, causing the electronic device to display the screen using the wrong screen mode. For example, the user holds the electricity in a lateral manner The sub-device, while the electronic device displays the picture in an upright mode; or the user holds the electronic device in a straight manner, while the electronic device displays the picture in a erect mode. Therefore, how to correctly judge the display direction of the electronic device has become one of the current efforts of the industry.

根據本發明之一實施例,提出一種決定畫面顯示方向的方法。方法包括下列步驟。藉由至少一握持感測器感測複數個接觸點,並根據該些接觸點判斷握持一電子裝置的一握持狀態。至少一握持感測器係配置於電子裝置的至少一側邊。根據握持狀態決定被握持的電子裝置的被握持方向。依照被握持方向決定電子裝置所產生之畫面的畫面顯示方向。 According to an embodiment of the present invention, a method of determining a display direction of a screen is proposed. The method includes the following steps. The plurality of contact points are sensed by the at least one grip sensor, and a grip state of the electronic device is determined according to the contact points. At least one holding sensor is disposed on at least one side of the electronic device. The held direction of the electronic device being held is determined according to the grip state. The screen display direction of the screen generated by the electronic device is determined according to the held direction.

根據本發明之另一實施例,提供一種具有決定畫面顯示方向功能之電子裝置。電子裝置包括至少一握持感測器及一處理器。至少一握持感測器設置於電子裝置之至少一側邊,用以感測握持電子裝置之一握持狀態。處理器用以根據握持狀態決定被握持之電子裝置之一被握持方向,以及依照被握持方向決定電子裝置所產生之一畫面的畫面顯示方向。 According to another embodiment of the present invention, an electronic device having a function of determining a display direction of a screen is provided. The electronic device includes at least one grip sensor and a processor. The at least one holding sensor is disposed on at least one side of the electronic device for sensing a holding state of the holding electronic device. The processor is configured to determine a direction in which one of the held electronic devices is held according to the grip state, and determine a screen display direction of one of the screens generated by the electronic device according to the held direction.

本揭露更提供一種電腦可讀取紀錄媒體,記錄一或多個程式,在此一或多個程式被載入至一電子裝置並被執行後,此一或多個程式係使電子裝置執行上述之方法。 The disclosure further provides a computer readable recording medium for recording one or more programs, after the one or more programs are loaded into an electronic device and executed, the one or more programs cause the electronic device to execute the above The method.

下文係配合所附圖式對本發明作詳細說明如下。 The invention is described in detail below with reference to the accompanying drawings.

100、200、300、400‧‧‧電子裝置 100, 200, 300, 400‧‧‧ electronic devices

102‧‧‧握持感測器 102‧‧‧ Holding sensor

104、208、308‧‧‧處理器 104, 208, 308‧‧‧ processor

106、206、306‧‧‧顯示單元 106, 206, 306‧‧‧ display unit

202、302‧‧‧第一握持感測器 202, 302‧‧‧First holding sensor

204、304‧‧‧第二握持感測器 204, 304‧‧‧Second holding sensor

S402、S404、S406、S1202、S1204、S1206、S1902、S1904、S1906、S1908、S1910‧‧‧流程步驟 S402, S404, S406, S1202, S1204, S1206, S1902, S1904, S1906, S1908, S1910‧‧‧ process steps

502‧‧‧左手 502‧‧‧ left hand

504‧‧‧右手 504‧‧‧ right hand

404‧‧‧第一聲音輸入單元 404‧‧‧First sound input unit

406‧‧‧第一聲音輸出單元 406‧‧‧First sound output unit

408‧‧‧第一距離感測器 408‧‧‧First distance sensor

4010‧‧‧第二聲音輸入單元 4010‧‧‧Second sound input unit

412‧‧‧第二聲音輸出單元 412‧‧‧Second sound output unit

414‧‧‧第二距離感測器 414‧‧‧Second distance sensor

600‧‧‧虛擬實境裝置 600‧‧‧virtual reality device

D1‧‧‧第一被握持方向 D1‧‧‧First held in the direction

D2‧‧‧第二被握持方向 D2‧‧‧The second is held in the direction

S1‧‧‧第一側邊 S1‧‧‧ first side

S2‧‧‧第二側邊 S2‧‧‧ second side

S3‧‧‧第三側邊 S3‧‧‧ third side

S4‧‧‧第四側邊 S4‧‧‧ fourth side

L1、R1‧‧‧拇指 L1, R1‧‧‧ thumb

L2、R2‧‧‧食指 L2, R2‧‧‧ index finger

L3、R3‧‧‧中指 L3, R3‧‧‧ middle finger

L4、R4‧‧‧無名指 L4, R4‧‧‧ ring finger

L5、R5‧‧‧小指 L5, R5‧‧‧ Little Finger

PL1、PR1‧‧‧手掌 PL1, PR1‧‧‧ palm

m1‧‧‧中線 M1‧‧‧ midline

A1‧‧‧第一區域 A1‧‧‧ first area

A2‧‧‧第二區域 A2‧‧‧Second area

L1’、L2’、L3’、L4’、L5’、R1’、R2’、R3’、R4’、R5’‧‧‧手指位置 L1', L2', L3', L4', L5', R1', R2', R3', R4', R5'‧‧‧ finger position

PL1’、PR1’‧‧‧手掌位置 PL1’, PR1’‧‧‧ palm position

第1圖繪示依照一實施例之具有決定畫面顯示方向功能之電子裝置之方塊圖。 FIG. 1 is a block diagram of an electronic device having a function of determining a screen display direction according to an embodiment.

第2圖繪示依照一實施例之第1圖之電子裝置之俯視圖。 2 is a plan view of the electronic device according to the first embodiment of the embodiment.

第3圖繪示依照另一實施例之第1圖之電子裝置之俯視圖。 FIG. 3 is a plan view of the electronic device according to FIG. 1 according to another embodiment.

第4圖繪示依照本發明之一實施例之決定畫面顯示方向之方法之流程圖。 FIG. 4 is a flow chart showing a method of determining a display direction of a screen according to an embodiment of the present invention.

第5圖繪示使用者之左手及右手之示意圖。 Figure 5 is a schematic diagram showing the left and right hands of the user.

第6A圖繪示左手握持第2圖之電子裝置之示意圖。 FIG. 6A is a schematic diagram showing the electronic device of FIG. 2 held by the left hand.

第6B圖繪示第6A圖中之握持感測器所感測之手指位置及手掌位置之示意圖。 FIG. 6B is a schematic diagram showing the position of the finger and the position of the palm sensed by the grip sensor in FIG. 6A.

第7A圖繪示右手以另一握持方向握持第2圖之電子裝置之示意圖。 FIG. 7A is a schematic diagram showing the electronic device of FIG. 2 held by the right hand in another holding direction.

第7B圖繪示第7A圖中之握持感測器所感測之手指位置及手掌位置之示意圖。 FIG. 7B is a schematic diagram showing the position of the finger and the position of the palm sensed by the grip sensor in FIG. 7A.

第7C圖繪示電子裝置被以橫立模式握持之一例。 FIG. 7C illustrates an example in which the electronic device is held in the erect mode.

第7D圖繪示電子裝置被以橫立模式握持之另一例。 FIG. 7D illustrates another example in which the electronic device is held in the erect mode.

第8圖繪示依照另一實施例之具有決定畫面顯示方向功能之電子裝置之方塊圖。 FIG. 8 is a block diagram of an electronic device having a function of determining a display direction of a screen according to another embodiment.

第9圖繪示第8圖之電子裝置之俯視圖。 Figure 9 is a plan view of the electronic device of Figure 8.

第10圖繪示依照本發明之另一實施例之決定畫面顯示方向之方法之流程圖。 FIG. 10 is a flow chart showing a method of determining a display direction of a screen according to another embodiment of the present invention.

第11A圖繪示左手握持第9圖之電子裝置之示意圖。 FIG. 11A is a schematic diagram showing the electronic device of FIG. 9 held by the left hand.

第11B圖繪示第11A圖中之第一握持感測器及第二握持感測器所感測之手指位置及手掌位置之示意圖。 FIG. 11B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor and the second grip sensor in FIG. 11A.

第12A圖繪示右手握持第9圖之電子裝置之示意圖。 FIG. 12A is a schematic diagram showing the electronic device of FIG. 9 held by the right hand.

第12B圖繪示第12A圖中之第一握持感測器及第二握持感測器所感測之手指位置及手掌位置之示意圖。 FIG. 12B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor and the second grip sensor in FIG. 12A.

第12C圖繪示電子裝置被以橫立模式握持之一例。 FIG. 12C illustrates an example in which the electronic device is held in the erect mode.

第12D圖繪示電子裝置被以橫立模式握持之另一例。 Fig. 12D is a diagram showing another example in which the electronic device is held in the erect mode.

第13A圖繪示左手握持第9圖之電子裝置之示意圖。 FIG. 13A is a schematic diagram showing the electronic device of FIG. 9 held by the left hand.

第13B圖繪示第13A圖中之第一握持感測器及第二握持感測器所感測之手指位置及手掌位置之示意圖。 FIG. 13B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor and the second grip sensor in FIG. 13A.

第14A圖繪示右手握持第9圖之電子裝置之示意圖。 FIG. 14A is a schematic diagram showing the electronic device of FIG. 9 held by the right hand.

第14B圖繪示第14A圖中之第一握持感測器及第二握持感測器所感測之手指位置及手掌位置之示意圖。 FIG. 14B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor and the second grip sensor in FIG. 14A.

第15圖繪示依照另一實施例之具有決定畫面顯示方向功能之電子裝置之方塊圖。 FIG. 15 is a block diagram of an electronic device having a function of determining a display direction of a screen according to another embodiment.

第16圖繪示第15圖之電子裝置之俯視圖。 Figure 16 is a plan view showing the electronic device of Figure 15.

第17圖繪示依照本發明之一實施例之決定畫面顯示方向之方法之流程圖。 FIG. 17 is a flow chart showing a method of determining a display direction of a screen according to an embodiment of the present invention.

第18A圖繪示左手握持第16圖之電子裝置之示意圖。 FIG. 18A is a schematic view showing the electronic device of FIG. 16 held by the left hand.

第18B圖繪示第18A圖中之第一握持感測器及第二握持感測器所感測之手指位置及手掌位置之示意圖。 FIG. 18B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor and the second grip sensor in FIG. 18A.

第19圖繪示依照另一實施例之電子裝置之俯視圖。 19 is a top plan view of an electronic device in accordance with another embodiment.

第20圖繪示虛擬實境裝置輸出畫面之示意圖。 Figure 20 is a schematic diagram showing the output screen of the virtual reality device.

請同時參照第1、2及3圖。第1圖繪示依照一實施例之具有決定畫面顯示方向功能之電子裝置100之方塊圖。第2圖繪示依照一實施例之第1圖之電子裝置100之俯視圖。第3圖繪示依照另一實施例之第1圖之電子裝置100之俯視圖。電子裝置100包括握持感測器102、處理器104及顯示單元106。握持感測器102及顯示單元106耦接至處理器104。握持感測器102例如為壓力式感測器、電容式感測器、電阻式感測器或超音波感測器,但不以此為限,只要可感測出手指之觸碰位置之感測器即可。顯示單元106用以顯示一畫面,顯示單元106例如為液晶顯示器。電子裝置100例如為平板電腦、智慧手機。第一側邊S1及第二側邊S2為電子裝置100的短側邊,以及第三側邊S3及第四側邊S4為電子裝置100的長側邊。握持感測器102係設置於電子裝置100第三側邊S3或第四側邊S4,用以感測電子裝置100之至少一長側邊的一握持狀態。握持狀態包括接觸握持感測器102之手指位置或手掌位置。依據實際需求,本發明所述握持感測器也可設置於電子裝置的至少一短側邊,本發明並不以此為限。 Please also refer to Figures 1, 2 and 3. FIG. 1 is a block diagram of an electronic device 100 having a function of determining a screen display direction according to an embodiment. FIG. 2 is a plan view of the electronic device 100 according to the first embodiment of the embodiment. FIG. 3 is a plan view of the electronic device 100 according to FIG. 1 according to another embodiment. The electronic device 100 includes a grip sensor 102, a processor 104, and a display unit 106. The grip sensor 102 and the display unit 106 are coupled to the processor 104. The grip sensor 102 is, for example, a pressure sensor, a capacitive sensor, a resistive sensor, or an ultrasonic sensor, but is not limited thereto, as long as the touch position of the finger is sensed. The sensor is all right. The display unit 106 is configured to display a screen, and the display unit 106 is, for example, a liquid crystal display. The electronic device 100 is, for example, a tablet computer or a smart phone. The first side S1 and the second side S2 are short sides of the electronic device 100, and the third side S3 and the fourth side S4 are long sides of the electronic device 100. The holding sensor 102 is disposed on the third side S3 or the fourth side S4 of the electronic device 100 for sensing a holding state of at least one long side of the electronic device 100. The gripping state includes contacting the finger position or palm position of the grip sensor 102. The holding sensor of the present invention can also be disposed on at least one short side of the electronic device according to actual needs, and the invention is not limited thereto.

請參考第4圖,第4圖繪示依照本發明之一實施例之決定畫面顯示方向之方法之流程圖。決定畫面顯示方向之方法可應用於如第2圖或第3圖所示之電子裝置100。 Please refer to FIG. 4, which illustrates a flow chart of a method for determining a display direction of a screen according to an embodiment of the present invention. The method of determining the display direction of the screen can be applied to the electronic device 100 as shown in FIG. 2 or FIG.

首先,於步驟S402,藉由握持感測器102感測多個 接觸點,處理器104根據多個接觸點判斷握持電子裝置100之握持狀態。握持狀態包括至少一手指位置及手掌位置於握持感測器102上之相對關係。具體來說,當握持感測器102感測到一點狀接觸點時,處理器104可判斷出點狀接觸點為手指的接觸,且點狀接觸點的位置為手指位置;當握持感測器102感測到一片狀接觸點時,處理器104可判斷出片狀接觸點為手掌的接觸,且片狀接觸點的位置為手掌位置。處理器104例如係透過接觸點的面積來分辨點狀接觸點及片狀接觸點以辨別出是手指的接觸或手掌的接觸。或者,握持感測器102包括多個小單元,處理器104依據被接觸的小單元的個數來分辨點狀接觸點及片狀接觸點以辨別出是手指的接觸或手掌的接觸。 First, in step S402, multiple sensors are sensed by the grip sensor 102. At the contact point, the processor 104 determines the holding state of the holding electronic device 100 based on the plurality of contact points. The gripping state includes the relative relationship of at least one finger position and palm position on the grip sensor 102. Specifically, when the grip sensor 102 senses a point contact point, the processor 104 can determine that the point contact point is a finger contact, and the position of the point contact point is a finger position; when the grip feeling When the detector 102 senses a piece of contact, the processor 104 can determine that the contact point of the sheet is the contact of the palm, and the position of the contact point of the sheet is the position of the palm. The processor 104, for example, resolves the point contact and the sheet contact point through the area of the contact point to discern the contact of the finger or the contact of the palm. Alternatively, the grip sensor 102 includes a plurality of small units, and the processor 104 resolves the point contact points and the sheet contact points according to the number of contacted small units to discriminate the contact of the finger or the contact of the palm.

請參考第5及6圖。第5圖繪示使用者之左手502及右手504之示意圖。左手502包括拇指L1、食指L2、中指L3、無名指L4、小指L5及手掌PL1。右手504包括拇指R1、食指R2、中指R3、無名指R4、小指R5及手掌PR1。第6A圖繪示左手502握持第2圖之電子裝置100之示意圖。第6B圖繪示第6A圖中之握持感測器102所感測之手指位置及手掌位置之示意圖。在第6A圖中,左手502之拇指L1及手掌PL1接觸第三側邊S3,左手之食指L2、中指L3、無名指L4及小指L5接觸第四側邊S4。在第6B圖中,握持感測器102感測到一點狀接觸點L1’及一片狀接觸點PL1’,處理器104判斷點狀接觸點L1’為手指位置,片狀接觸點PL1’為手掌位置。 Please refer to Figures 5 and 6. FIG. 5 is a schematic diagram showing the left hand 502 and the right hand 504 of the user. The left hand 502 includes a thumb L1, an index finger L2, a middle finger L3, a ring finger L4, a little finger L5, and a palm PL1. The right hand 504 includes a thumb R1, an index finger R2, a middle finger R3, a ring finger R4, a little finger R5, and a palm PR1. FIG. 6A is a schematic diagram showing the left hand 502 holding the electronic device 100 of FIG. 2 . FIG. 6B is a schematic diagram showing the position of the finger and the position of the palm sensed by the grip sensor 102 in FIG. 6A. In FIG. 6A, the thumb L1 of the left hand 502 and the palm PL1 contact the third side S3, and the index finger L2 of the left hand, the middle finger L3, the ring finger L4, and the little finger L5 contact the fourth side S4. In FIG. 6B, the grip sensor 102 senses the point contact point L1' and the sheet contact point PL1', and the processor 104 determines that the point contact point L1' is the finger position, and the sheet contact point PL1' For the palm position.

請參考第7圖。第7A圖繪示右手504以另一握持方向握持第2圖之電子裝置100之示意圖。第7B圖繪示第7A圖中之握持感測器102所感測之手指位置及手掌位置之示意圖。在第7A圖中,右手504以另一握持方向握持電子裝置100,右手504之拇指R1及手掌PR1接觸第三側邊S3,右手504之食指R2、中指R3、無名指R4及小指R5接觸第四側邊S4。在第7B圖中,握持感測器102感測到一點狀接觸點R1’及一片狀接觸點PR1’,處理器104判斷點狀接觸點R1’為手指位置,片狀接觸點PR1’為手掌位置。 Please refer to Figure 7. FIG. 7A is a schematic diagram showing the right hand 504 holding the electronic device 100 of FIG. 2 in another holding direction. FIG. 7B is a schematic diagram showing the position of the finger and the position of the palm sensed by the grip sensor 102 in FIG. 7A. In FIG. 7A, the right hand 504 holds the electronic device 100 in another holding direction, the thumb R1 of the right hand 504 and the palm PR1 contact the third side S3, the index finger R2 of the right hand 504, the middle finger R3, the ring finger R4 and the little finger R5 are in contact. Fourth side S4. In FIG. 7B, the grip sensor 102 senses the point contact point R1' and the one-piece contact point PR1', and the processor 104 determines that the point contact point R1' is the finger position, and the sheet contact point PR1' For the palm position.

於步驟S404,處理器104根據握持狀態決定被握持之電子裝置100之被握持方向。在本發明中,所述被握持方向可包括第一被握持方向及第二被握持方向。第一被握持方向例如為第一側邊S1相對於第二側邊S2指向上方。第二被握持方向例如為第一側邊S1相對於第二側邊S2指向下方。為更清楚說明所述第一和第二被握持方向,請依序參考第6A與7A圖,第6A圖繪示電子裝置100的第一被握持方向D1,以及第7A圖繪示電子裝置100的第二被握持方向D2。 In step S404, the processor 104 determines the held direction of the electronic device 100 being held according to the grip state. In the present invention, the held direction may include a first held direction and a second held direction. The first held direction is, for example, that the first side S1 points upward with respect to the second side S2. The second held direction is, for example, that the first side S1 points downward with respect to the second side S2. For a more clear description of the first and second held directions, refer to FIGS. 6A and 7A in sequence, FIG. 6A illustrates the first held direction D1 of the electronic device 100, and FIG. 7A illustrates the electronic The second direction of device 100 is held in direction D2.

進一步地說,處理器104係根據手指位置及手掌位置之相對關係判斷一拇指位置,並根據拇指位置來決定電子裝置100之被握持方向。處理器104根據手指位置及手掌位置之相對關係判斷拇指位置的方式如下。以第6A及6B圖為例,握持感測器102感測出點狀接觸點及片狀接觸點,處理器104判斷多個接 觸點中的至少一點狀接觸點對應為至少一手指位置L1’以及多個接觸點中的一片狀接觸點對應為一手掌位置PL1’。由於使用者在握持電子裝置100時,姆指與手掌會接觸電子裝置100之同一側邊,故處理器104可藉此判斷手掌位置PL1’所在的同一側邊(也就是握持感測器102)上的手指位置L1’為一拇指位置。接著,在處理器104得到姆指位置後,根據拇指位置及手掌位置於握持感測器102上的相對位置決定電子裝置100的被握持方向。其方式如下。握持感測器102具有預設之座標,處理器104可預先取得握持感測器102之座標設置方式。設置方式例如是將握持感測器102的座標最小值設置於靠近第二側邊S2,將座標最大值設置於靠近第一側邊S1。處理器104根據手掌位置PL1’的座標、姆指位置L1’的座標、座標最大值及座標最小值,判斷姆指位置L1’的座標係位於手掌位置PL1’的座標與座標最大值之間或是位於手掌位置PL1’的座標與座標最小值之間,來決定電子裝置100之被握持方向。在此例中,處理器104判斷出姆指位置L1’的座標係位於手掌位置PL1’的座標與座標最大值之間,故處理器104決定電子裝置100的被握持方向為第一被握持方向D1。 Further, the processor 104 determines a thumb position based on the relative relationship between the finger position and the palm position, and determines the held direction of the electronic device 100 according to the thumb position. The manner in which the processor 104 determines the position of the thumb based on the relative relationship between the position of the finger and the position of the palm is as follows. Taking the 6A and 6B diagrams as an example, the grip sensor 102 senses the point contact point and the sheet contact point, and the processor 104 determines the plurality of connections. At least one of the contacts in the contacts corresponds to at least one finger position L1' and one of the plurality of contact points corresponds to a palm position PL1'. Since the thumb and the palm contact the same side of the electronic device 100 when the user holds the electronic device 100, the processor 104 can thereby determine the same side of the palm position PL1' (ie, the grip sensor 102). The finger position L1' on the finger is a thumb position. Next, after the processor 104 obtains the position of the thumb, the held position of the electronic device 100 is determined according to the relative position of the thumb position and the palm position on the grip sensor 102. The way is as follows. The grip sensor 102 has a preset coordinate, and the processor 104 can obtain the coordinate setting manner of the grip sensor 102 in advance. The setting manner is, for example, that the coordinate minimum value of the grip sensor 102 is set close to the second side S2, and the coordinate maximum value is set close to the first side S1. The processor 104 determines that the coordinate of the thumb position L1' is located between the coordinates of the palm position PL1' and the coordinate maximum value according to the coordinates of the palm position PL1', the coordinates of the thumb position L1', the coordinate maximum value, and the coordinate minimum value. It is located between the coordinates of the palm position PL1' and the coordinate minimum to determine the direction in which the electronic device 100 is held. In this example, the processor 104 determines that the coordinate of the thumb position L1' is between the coordinate of the palm position PL1' and the coordinate maximum value, so the processor 104 determines that the held direction of the electronic device 100 is the first grip. Hold direction D1.

類似地,以第7A及7B圖為例,處理器104判斷姆指位置R1’的座標位於手掌位置PR1’的座標與座標最小值之間,故處理器104決定電子裝置100的被握持方向為第二被握持方向D2。 Similarly, taking the 7A and 7B diagrams as an example, the processor 104 determines that the coordinates of the thumb position R1' are between the coordinates of the palm position PR1' and the coordinate minimum, so the processor 104 determines the held direction of the electronic device 100. The second direction is held in the direction D2.

於步驟S406,處理器104依照被握持方向決定電子 裝置100所產生畫面的畫面顯示方向。請參考第6A及6B圖,當處理器104判斷出電子裝置100被握持方向為第一被握持方向D1時,則處理器104以正立的畫面顯示方向(相對於第一側邊S1)於顯示單元106中顯示畫面。請參考第7A及7B圖,當處理器104判斷出電子裝置100被握持方向為第二被握持方向D2時,則處理器104以倒立的畫面顯示方向(相對於第一側邊S1)於顯示單元106中顯示畫面。如此,即使電子裝置100被以上下翻轉的方式握持,電子裝置100依據被握持方向依舊可適當調整其所顯示的畫面顯示方向。 In step S406, the processor 104 determines the electron according to the direction of being held. The screen display direction of the screen generated by the device 100. Referring to FIGS. 6A and 6B, when the processor 104 determines that the electronic device 100 is held in the first held direction D1, the processor 104 displays the direction in an upright position (relative to the first side S1). The screen is displayed in the display unit 106. Referring to FIGS. 7A and 7B, when the processor 104 determines that the electronic device 100 is held in the second held direction D2, the processor 104 displays the direction in an inverted screen (relative to the first side S1). A screen is displayed in the display unit 106. In this manner, even if the electronic device 100 is held upside down, the electronic device 100 can appropriately adjust the displayed screen display direction according to the held direction.

因此,當握持感測器102感測到手指位置及手掌位置時,本實施例即可根據握持感測器102所感測到之手指位置及手掌位置推測出姆指位置。並根據姆指位置判斷電子裝置100被握持方向,作為畫面顯示方向的依據,以正確的顯示畫面。 Therefore, when the grip sensor 102 senses the position of the finger and the position of the palm, the present embodiment can estimate the position of the thumb according to the position of the finger sensed by the grip sensor 102 and the position of the palm. The direction in which the electronic device 100 is held is determined based on the position of the thumb, and is used as a basis for displaying the direction of the screen to accurately display the screen.

在一實施例中,處理器104可根據握持感測器102的感測結果來判斷電子裝置100是否被以直立模式握持,若否,則決定維持自動旋轉螢幕功能(指電子裝置100基於慣性感測器之感測結果而自動啟動旋轉螢幕的功能)。舉例來說,當處理器104判斷電子裝置100是被以橫立模式握持時,將維持電子裝置100之自動旋轉螢幕功能。請參考第7C及7D圖,第7C圖繪示電子裝置100被以橫立模式握持之一例,第7D圖繪示電子裝置100被以橫立模式握持之另一例。一般而言,若使用者欲以橫立模式來觀看電子裝置100的顯示畫面時,通常握持電子裝置100 的方式如第7C與7D圖所示,因此當處理器104通過握持感測器102僅感測到兩個點狀接觸點,則可判斷電子裝置100是被以橫立模式握持。另一方面,當處理器104判斷電子裝置100是以直立模式(如第6A或7A圖所示之握持方式)被握持時,則關閉電子裝置100的自動旋轉螢幕之功能,以避免因使用者躺著使用電子裝置而致使電子裝置100錯誤地自動旋轉螢幕,造成使用上的不便。 In an embodiment, the processor 104 can determine whether the electronic device 100 is held in the upright mode according to the sensing result of the holding sensor 102. If not, it is determined to maintain the automatic rotating screen function (refer to the electronic device 100 based on The function of the inertial sensor automatically starts the function of rotating the screen). For example, when the processor 104 determines that the electronic device 100 is being held in the traverse mode, the automatic rotation screen function of the electronic device 100 will be maintained. Please refer to FIGS. 7C and 7D. FIG. 7C illustrates an example in which the electronic device 100 is held in the erect mode, and FIG. 7D illustrates another example in which the electronic device 100 is held in the erect mode. Generally, when the user wants to view the display screen of the electronic device 100 in the traverse mode, the electronic device 100 is normally held. The manner is as shown in FIGS. 7C and 7D, so when the processor 104 senses only two point contact points by the grip sensor 102, it can be judged that the electronic device 100 is held in the erect mode. On the other hand, when the processor 104 determines that the electronic device 100 is held in the upright mode (such as the holding mode shown in FIG. 6A or FIG. 7A), the function of automatically rotating the screen of the electronic device 100 is turned off to avoid The user lying down using the electronic device causes the electronic device 100 to automatically rotate the screen erroneously, causing inconvenience in use.

本發明所稱之握持感測器、處理器與顯示單元之態樣與第1圖相同,且第一側邊S1及第二側邊S2指電子裝置100的短側邊,以及第三側邊S3及第四側邊S4指電子裝置100的長側邊,在下列各實施例中將不再重複贅述。 The aspect of the present invention is the same as that of the first embodiment, and the first side S1 and the second side S2 refer to the short side of the electronic device 100 and the third side. The side S3 and the fourth side S4 refer to the long sides of the electronic device 100, and the descriptions of the following embodiments will not be repeated.

請同時參照第8及9圖。第8圖繪示依照另一實施例之具有決定畫面顯示方向功能之電子裝置200之方塊圖。第9圖繪示第8圖之電子裝置200之俯視圖。電子裝置200包括第一握持感測器202、第二握持感測器204、顯示單元206及處理器208。第一握持感測器202、第二握持感測器204及顯示單元206耦接至處理器208。第一握持感測器202及第二握持感測器204分別設置於第三側邊S3及第四側邊S4,用以感測電子裝置200之長側邊的握持狀態。握持狀態包括接觸第一握持感測器202及第二握持感測器204之手指位置或手掌位置。 Please also refer to Figures 8 and 9. FIG. 8 is a block diagram of an electronic device 200 having a function of determining a screen display direction according to another embodiment. FIG. 9 is a plan view of the electronic device 200 of FIG. 8. The electronic device 200 includes a first grip sensor 202, a second grip sensor 204, a display unit 206, and a processor 208. The first grip sensor 202 , the second grip sensor 204 , and the display unit 206 are coupled to the processor 208 . The first holding sensor 202 and the second holding sensor 204 are respectively disposed on the third side S3 and the fourth side S4 for sensing the holding state of the long side of the electronic device 200. The gripping state includes contacting a finger position or a palm position of the first grip sensor 202 and the second grip sensor 204.

請參考第10圖,第10圖繪示依照本發明之另一實施例之決定畫面顯示方向之方法之流程圖。 Please refer to FIG. 10, which illustrates a flow chart of a method for determining a display direction of a screen according to another embodiment of the present invention.

首先,於步驟S1202,藉由第一握持感測器202及第二握持感測器204感測多個接觸點,處理器208根據多個接觸點判斷握持電子裝置200之握持狀態。握持狀態包括至少一手指位置及手掌位置於第一握持感測器202及第二握持感測器204上之相對關係。 First, in step S1202, the first grip sensor 202 and the second grip sensor 204 sense a plurality of contact points, and the processor 208 determines the grip state of the grip electronic device 200 according to the plurality of contact points. . The gripping state includes the relative relationship between the at least one finger position and the palm position on the first grip sensor 202 and the second grip sensor 204.

請參考第11及12圖。第11A圖繪示左手502握持第9圖之電子裝置200之示意圖。第11B圖繪示第11A圖中之第一握持感測器202及第二握持感測器204所感測之手指位置及手掌位置之示意圖。第12A圖繪示右手504握持第9圖之電子裝置200之示意圖。第12B圖繪示第12A圖中之第一握持感測器202及第二握持感測器204所感測之手指位置及手掌位置之示意圖。在第11A圖中,左手502之手掌PL1接觸第三側邊S3,左手之食指L2、中指L3、無名指L4及小指L5接觸第四側邊S4,而左手之姆指L1未接觸到電子裝置200之任何一側邊。在第11B圖中,第一握持感測器202感測到一個手掌位置PL1’,第二握持感測器204感測到四個手指位置L2’、L3’、L4’及L5’。在第12A圖中,右手504之手掌PR1接觸第四側邊S4,右手之食指R2、中指R3、無名指R4及小指R5接觸第三側邊S3,而右手之姆指R1未接觸到電子裝置200之任何一側邊。在第12B圖中,第一握持感測器202感測到四個手指位置R2’、R3’、R4’及R5’,第二握持感測器204感測到一個手掌位置PR1’。 Please refer to Figures 11 and 12. FIG. 11A is a schematic diagram showing the left hand 502 holding the electronic device 200 of FIG. FIG. 11B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor 202 and the second grip sensor 204 in FIG. 11A. FIG. 12A is a schematic diagram showing the electronic device 200 of the right hand 504 holding the ninth figure. FIG. 12B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor 202 and the second grip sensor 204 in FIG. 12A. In FIG. 11A, the palm PL1 of the left hand 502 contacts the third side S3, the index finger L2 of the left hand, the middle finger L3, the ring finger L4 and the little finger L5 contact the fourth side S4, and the left hand thumb L1 does not touch the electronic device 200. On either side. In Fig. 11B, the first grip sensor 202 senses a palm position PL1', and the second grip sensor 204 senses four finger positions L2', L3', L4', and L5'. In FIG. 12A, the palm PR1 of the right hand 504 contacts the fourth side S4, the index finger R2 of the right hand, the middle finger R3, the ring finger R4 and the little finger R5 contact the third side S3, and the right hand thumb R1 does not touch the electronic device 200. On either side. In Fig. 12B, the first grip sensor 202 senses four finger positions R2', R3', R4', and R5', and the second grip sensor 204 senses a palm position PR1'.

於步驟S1204,處理器208根據握持狀態決定被握 持之電子裝置200之被握持方向。具體來說,處理器208係根據手指位置之重心以及手掌位置之重心來決定電子裝置200之被握持方向。重心例如為位置所對應之座標的平均。第一握持感測器202及第二握持感測器204具有預設之座標,處理器208可預先取得握持感測器102之座標的設置方式。設置方式例如是將第一握持感測器202及第二握持感測器204的座標最小值設置於靠近第二側邊S2,將座標最大值設置於靠近第一側邊S1。以第11A及11B圖為例,處理器208計算四個手指位置L2’、L3’、L4’及L5’的重心以及手掌位置PL1’的重心,也就是計算四個手指位置L2’、L3’、L4’及L5’所對應之座標的平均以及手掌位置PL1’所對應之座標的平均。接著處理器208判斷手指位置L2’、L3’、L4’及L5’之重心的座標是否比手掌位置PL1’之重心的座標更接近座標最小值或座標最大值。若手指位置L2’、L3’、L4’及L5’之重心的座標比手掌位置PL1’之重心的座標更接近座標最大值,則處理器208決定電子裝置200的被握持方向為第一被握持方向D1。若手指位置L2’、L3’、L4’及L5’之重心的座標比手掌位置PL1’之重心的座標更接近座標最小值,則處理器208決定電子裝置200的被握持方向為第二被握持方向D2。在第11圖中,手指位置L2’、L3’、L4’及L5’之重心的座標比手掌位置PL1’之重心的座標更接近座標最大值,則處理器208決定電子裝置200的被握持方向為第一被握持方向D1。在第12圖中,手指位置R2’、R3’、R4’及R5’之重心的座標亦比手掌位置PR1’之重心的座標更接近座標最 大值,故處理器208決定電子裝置200的被握持方向亦為第一被握持方向D1。雖然,本實施例係以四個手指位置為例,但是並不以此為限。只要第一握持感測器202或第二握持感測器204感測出至少一手指位置,且處理器208可根據該至少一手指位置計算重心並判斷手指位置之重心與手掌位置之重心之相對關係即可。 In step S1204, the processor 208 determines to be held according to the grip state. The electronic device 200 is held in the direction of being held. Specifically, the processor 208 determines the direction in which the electronic device 200 is held according to the center of gravity of the finger position and the center of gravity of the palm position. The center of gravity is, for example, the average of the coordinates corresponding to the position. The first grip sensor 202 and the second grip sensor 204 have preset coordinates, and the processor 208 can obtain the setting manner of the coordinates of the grip sensor 102 in advance. For example, the coordinate minimum values of the first grip sensor 202 and the second grip sensor 204 are set close to the second side S2, and the coordinate maximum value is set close to the first side S1. Taking the 11A and 11B diagrams as an example, the processor 208 calculates the center of gravity of the four finger positions L2', L3', L4', and L5' and the center of gravity of the palm position PL1', that is, calculates the four finger positions L2', L3'. The average of the coordinates corresponding to L4' and L5' and the coordinates of the coordinates corresponding to the palm position PL1'. The processor 208 then determines whether the coordinates of the center of gravity of the finger positions L2', L3', L4', and L5' are closer to the coordinate minimum or coordinate maximum than the coordinates of the center of gravity of the palm position PL1'. If the coordinates of the center of gravity of the finger positions L2', L3', L4', and L5' are closer to the coordinate maximum than the coordinates of the center of gravity of the palm position PL1', the processor 208 determines that the held direction of the electronic device 200 is the first Hold direction D1. If the coordinates of the center of gravity of the finger positions L2', L3', L4', and L5' are closer to the coordinate minimum than the coordinates of the center of gravity of the palm position PL1', the processor 208 determines that the held direction of the electronic device 200 is the second Hold direction D2. In FIG. 11, the coordinates of the center of gravity of the finger positions L2', L3', L4', and L5' are closer to the coordinate maximum than the coordinates of the center of gravity of the palm position PL1', and the processor 208 determines that the electronic device 200 is held. The direction is the first held direction D1. In Fig. 12, the coordinates of the center of gravity of the finger positions R2', R3', R4', and R5' are also closer to the coordinates than the coordinates of the center of gravity of the palm position PR1'. The processor 208 determines that the held direction of the electronic device 200 is also the first held direction D1. Although the present embodiment takes four finger positions as an example, it is not limited thereto. As long as the first grip sensor 202 or the second grip sensor 204 senses at least one finger position, and the processor 208 can calculate the center of gravity according to the at least one finger position and determine the center of gravity of the finger position and the center of gravity of the palm position. The relative relationship can be.

在另一實施例中,處理器208係根據手指位置及手掌位置之相對關係來決定電子裝置200之被握持方向,而不透過計算手指位置之重心以及手掌位置之重心來決定電子裝置200之被握持方向。 In another embodiment, the processor 208 determines the direction in which the electronic device 200 is held according to the relative relationship between the position of the finger and the position of the palm, and does not determine the center of gravity of the position of the finger and the center of gravity of the position of the palm to determine the electronic device 200. Being held in the direction.

處理器208根據手指位置及手掌位置之相對關係決定電子裝置200之被握持方向的方式如下。以第11A及11B圖為例,處理器208可根據四個手指位置L2’、L3’、L4’及L5’各自位於的座標區間及手掌位置PL1’位於的座標區間,判斷四個手指位置L2’、L3’、L4’及L5’位於的至少一座標區間是否相對於手掌位置PL1’之位於的座標區間更接近座標最小值或座標最大值。若至少一手指位置位於的座標區間相對於手掌位置PL1’之座標區間更接近座標最大值,則處理器208決定電子裝置200的被握持方向為第一被握持方向D1。若至少一手指位置位於的座標區間相對於手掌位置PL1’位於的座標區間更接近座標最小值,則處理器208決定電子裝置200的被握持方向為第二被握持方向D2。在第11圖中,手指位置L2’及L3’位於的座標區間比手掌位置PL1’位 於的座標區間更接近座標最大值,則處理器208決定電子裝置200的被握持方向為第一被握持方向D1。在第12圖中,手指位置R2’及R3’位於的座標區間亦比手掌位置PR1’位於的座標區間更接近座標最大值,則處理器208決定電子裝置200的被握持方向亦為第一被握持方向D1。雖然,本實施例係以四個手指位置為例,但是並不以此為限。只要第一握持感測器202或第二握持感測器204感測出至少一手指位置,且處理器208可根據該至少一手指位置判斷手指位置與手掌位置之相對關係即可。 The manner in which the processor 208 determines the held direction of the electronic device 200 based on the relative relationship between the finger position and the palm position is as follows. Taking the 11A and 11B diagrams as an example, the processor 208 can determine the four finger positions L2 according to the coordinate interval in which the four finger positions L2', L3', L4', and L5' are located and the coordinate interval in which the palm position PL1' is located. Whether at least one of the standard intervals in which ', L3', L4', and L5' is located is closer to the coordinate minimum or the coordinate maximum relative to the coordinate interval in which the palm position PL1' is located. If the coordinate interval at which the at least one finger position is located is closer to the coordinate maximum value with respect to the coordinate interval of the palm position PL1', the processor 208 determines that the held direction of the electronic device 200 is the first held direction D1. If the coordinate interval in which at least one finger position is located is closer to the coordinate minimum value with respect to the coordinate interval in which the palm position PL1' is located, the processor 208 determines that the held direction of the electronic device 200 is the second held direction D2. In Fig. 11, the coordinate positions at which the finger positions L2' and L3' are located are smaller than the palm position PL1'. When the coordinate interval is closer to the coordinate maximum value, the processor 208 determines that the held direction of the electronic device 200 is the first held direction D1. In Fig. 12, the coordinate positions in which the finger positions R2' and R3' are located are also closer to the coordinate maximum than the coordinate interval in which the palm position PR1' is located, and the processor 208 determines that the held direction of the electronic device 200 is also the first. The direction D1 is held. Although the present embodiment takes four finger positions as an example, it is not limited thereto. The first grip sensor 202 or the second grip sensor 204 senses at least one finger position, and the processor 208 can determine the relative relationship between the finger position and the palm position according to the at least one finger position.

於步驟S1206,處理器208依照被握持方向決定電子裝置200所產生之畫面的畫面顯示方向。舉例來說,如第11A及11B圖,當處理器208判斷出電子裝置200被握持方向為第一被握持方向D1時,則處理器208以正立的畫面顯示方向(相對於第一側邊S1)於顯示單元206中顯示畫面。另一方面,當處理器208判斷出電子裝置200被握持方向為第二被握持方向D2時,則處理器208以倒立的畫面顯示方向(相對於第一側邊S1)於顯示單元206中顯示畫面。 In step S1206, the processor 208 determines the screen display direction of the screen generated by the electronic device 200 according to the held direction. For example, as shown in FIGS. 11A and 11B, when the processor 208 determines that the electronic device 200 is held in the first held direction D1, the processor 208 displays the direction in an upright position (relative to the first The side S1) displays a picture in the display unit 206. On the other hand, when the processor 208 determines that the electronic device 200 is held in the second held direction D2, the processor 208 displays the direction (relative to the first side S1) on the display unit 206 in an inverted screen. The screen is displayed.

如此一來,即便使用者握持電子裝置200時,大拇指未接觸電子裝置200,也可藉由設置於電子裝置200兩側邊之握持感測器所感測到之至少一手指位置及手掌位置來推測使用者握持電子裝置200的方式,並透過至少一手指位置及手掌位置的相對關係判斷電子裝置200被握持方向,作為畫面顯示方向的依據,以正確的顯示畫面。 In this way, even if the user does not touch the electronic device 200 while holding the electronic device 200, the at least one finger position and the palm of the hand can be sensed by the grip sensors disposed on both sides of the electronic device 200. The position is used to estimate the manner in which the user holds the electronic device 200, and the relative position of the at least one finger position and the palm position is used to determine the direction in which the electronic device 200 is held, as a basis for the screen display direction to accurately display the screen.

相似地,處理器208亦可根據握持感測器202與204的感測結果來判斷電子裝置100是否被以直立模式握持,若否,則決定維持自動旋轉螢幕功能(指電子裝置100基於慣性感測器之感測結果而自動啟動旋轉螢幕的功能)。舉例來說,請參考第12C及12D圖,第12C圖繪示電子裝置200被以橫立模式握持之一例,第12D圖繪示電子裝置200被以橫立模式握持之另一例。在一實施例中,若使用者以如第12C與12D圖的握持方式握持電子裝置200時,處理器208通過握持感測器202與握持感測器204可感測到四個點狀接觸點,則可判斷電子裝置100是被以橫立模式握持,對應維持所述自動旋轉螢幕功能。 Similarly, the processor 208 can also determine whether the electronic device 100 is held in the upright mode according to the sensing result of the holding sensors 202 and 204. If not, it is determined to maintain the automatic rotating screen function (refer to the electronic device 100 based on The function of the inertial sensor automatically starts the function of rotating the screen). For example, please refer to FIGS. 12C and 12D. FIG. 12C illustrates an example in which the electronic device 200 is held in the erect mode, and FIG. 12D illustrates another example in which the electronic device 200 is held in the erect mode. In an embodiment, if the user holds the electronic device 200 in the holding manner as shown in FIGS. 12C and 12D, the processor 208 can sense four by holding the sensor 202 and the grip sensor 204. With the point contact point, it can be judged that the electronic device 100 is held in the erect mode, and the automatic rotation screen function is maintained correspondingly.

請參考第13及14圖。第13A圖繪示左手502握持第9圖之電子裝置200之示意圖。第13B圖繪示第13A圖中之第一握持感測器202及第二握持感測器204所感測之手指位置及手掌位置之示意圖。第14A圖繪示右手504握持第9圖之電子裝置200之示意圖。第14B圖繪示第14A圖中之第一握持感測器202及第二握持感測器204所感測之手指位置及手掌位置之示意圖。在第13A圖中,左手502之手掌PL1接觸第三側邊S3,左手之食指L2、中指L3及無名指L4接觸第四側邊S4。在第13B圖中,第一握持感測器202感測到一個手掌位置PL1’,第二握持感測器204感測到三個手指位置L2’、L3’及L4’,且手掌位置PL1’及三個手指位置L2’、L3’及L4’皆靠近電子裝置200之同一側邊(也就是第二側邊S2)。在第14A圖中,右手504之手掌PR1接觸第四 側邊S4,右手之食指R2、中指R3及無名指R4接觸第三側邊S3。在第14B圖中,第一握持感測器202感測到三個手指位置R2’、R3’及R4’,第二握持感測器204感測到一個手掌位置PR1’,且手掌位置PR1’及三個手指位置R2’、R3’及R4’皆靠近電子裝置200之同一側邊(也就是第二側邊S2)。 Please refer to Figures 13 and 14. FIG. 13A is a schematic diagram showing the left hand 502 holding the electronic device 200 of FIG. FIG. 13B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor 202 and the second grip sensor 204 in FIG. 13A. FIG. 14A is a schematic diagram showing the right hand 504 holding the electronic device 200 of FIG. FIG. 14B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor 202 and the second grip sensor 204 in FIG. 14A. In Fig. 13A, the palm PL1 of the left hand 502 contacts the third side S3, the index finger L2 of the left hand, the middle finger L3, and the ring finger L4 contact the fourth side S4. In FIG. 13B, the first grip sensor 202 senses a palm position PL1', and the second grip sensor 204 senses three finger positions L2', L3', and L4', and the palm position The PL1' and the three finger positions L2', L3', and L4' are all close to the same side of the electronic device 200 (that is, the second side S2). In Figure 14A, the palm of the right hand 504 PR1 contacts the fourth The side S4, the index finger R2 of the right hand, the middle finger R3 and the ring finger R4 contact the third side S3. In FIG. 14B, the first grip sensor 202 senses three finger positions R2', R3' and R4', the second grip sensor 204 senses a palm position PR1', and the palm position PR1' and the three finger positions R2', R3' and R4' are all close to the same side of the electronic device 200 (i.e., the second side S2).

在另一實施例中,當步驟S1202中,第一握持感測器202及第二握持感測器204感測握持電子裝置200之手指位置及手掌位置如第13A及14A圖所示,也就是手指位置及手掌位置皆位於電子裝置200之同一感測區域的話。則在步驟S1204中,處理器208根據手指位置之重心與手掌位置之重心所在之感測區域,來決定電子裝置200之被握持方向。 In another embodiment, in step S1202, the first grip sensor 202 and the second grip sensor 204 sense the finger position and the palm position of the holding electronic device 200 as shown in FIGS. 13A and 14A. That is, both the finger position and the palm position are located in the same sensing area of the electronic device 200. Then, in step S1204, the processor 208 determines the direction in which the electronic device 200 is held according to the sensing area of the center of gravity of the finger position and the center of gravity of the palm position.

具體來說,處理器208可劃分第一握持感測器202及第二握持感測器204的感測區域,判斷手指位置之重心與手掌位置之重心所在之感測區域,並根據感側區域來決定電子裝置200之被握持方向。舉例來說,如第13B及14B圖所示,可依據中線m1將第一握持感測器202及第二握持感測器204的感測區域劃分為兩個相等大小的區域。也就是說,以中線m1為依據,第一握持感測器202的感測區域分成靠近第一側邊S1之感測區域與靠近第二側邊S2之感測區域;第二握持感測器204的感測區域分成靠近第一側邊S1之感測區域與靠近第二側邊S2之感測區域。 Specifically, the processor 208 can divide the sensing areas of the first grip sensor 202 and the second grip sensor 204, determine the sensing area of the center of gravity of the finger position and the center of the palm position, and sense the sense The side area determines the direction in which the electronic device 200 is held. For example, as shown in FIGS. 13B and 14B, the sensing regions of the first grip sensor 202 and the second grip sensor 204 can be divided into two equally sized regions according to the midline m1. That is, based on the midline m1, the sensing area of the first grip sensor 202 is divided into a sensing area near the first side S1 and a sensing area near the second side S2; the second holding The sensing area of the sensor 204 is divided into a sensing area near the first side S1 and a sensing area near the second side S2.

接著,處理器208判斷手指位置之重心與手掌位置 之重心在第一握持感測器202及第二握持感測器204所位於的感測區域。以第13B圖為例,若處理器208判斷手掌位置PL1’之重心位於靠近第二側邊S2之感測區域且手指位置L2’、L3’及L4’之重心位於靠近第二側邊S2之感測區域,則決定電子裝置200的被握持方向為第一被握持方向D1。以第14B圖為例,若處理器208判斷手掌位置PR1’之重心位於靠近第二側邊S2之感測區域且手指位置R2’、R3’及R4’之重心位於靠近第二側邊S2之感測區域,則決定電子裝置200的被握持方向為第一被握持方向D1。反之,若處理器208判斷手掌位置之重心與至少一手指位置之重心位於靠近第一側邊S1之感測區域,則決定電子裝置200的被握持方向為第二被握持方向D2。雖然,本實施例係以三個手指位置為例,但是並不以此為限。只要第一握持感測器202或第二握持感測器204感測出至少一手指位置,且處理器208可根據該至少一手指位置之重心與手掌位置之重心判斷所位於的感測區域即可。 Next, the processor 208 determines the center of gravity and the palm position of the finger position. The center of gravity is in the sensing area where the first grip sensor 202 and the second grip sensor 204 are located. Taking FIG. 13B as an example, if the processor 208 determines that the center of gravity of the palm position PL1' is located near the sensing area of the second side S2 and the center of gravity of the finger positions L2', L3', and L4' is located near the second side S2. The sensing area determines that the held direction of the electronic device 200 is the first held direction D1. Taking FIG. 14B as an example, if the processor 208 determines that the center of gravity of the palm position PR1' is located near the sensing area of the second side S2 and the center of gravity of the finger positions R2', R3', and R4' is located near the second side S2. The sensing area determines that the held direction of the electronic device 200 is the first held direction D1. On the other hand, if the processor 208 determines that the center of gravity of the palm position and the center of gravity of the at least one finger position are located near the sensing area of the first side S1, it is determined that the held direction of the electronic device 200 is the second held direction D2. Although the embodiment uses three finger positions as an example, it is not limited thereto. As long as the first grip sensor 202 or the second grip sensor 204 senses at least one finger position, and the processor 208 can determine the sensing sensed according to the center of gravity of the at least one finger position and the center of gravity of the palm position. The area is fine.

如此一來,當手掌位置及手指位置皆靠近同一側邊,也可藉由手指位置之重心與手掌位置之重心在第一握持感測器202及第二握持感測器204所位於的感測區域,來決定電子裝置200之被握持方向,依據被握持方向決定畫面顯示方向,以正確的顯示畫面。 In this way, when the palm position and the finger position are all close to the same side, the center of gravity of the finger position and the center of gravity of the palm position may be located at the first grip sensor 202 and the second grip sensor 204. The sensing area determines the direction in which the electronic device 200 is held, and determines the screen display direction according to the held direction to correctly display the screen.

請同時參照第15及16圖。第15圖繪示依照另一實施例之具有決定畫面顯示方向功能之電子裝置300之方塊圖。第 16圖繪示第15圖之電子裝置300之俯視圖。電子裝置300包括第一握持感測器302、第二握持感測器304、顯示單元306、處理器308及指紋辨識器310。第一握持感測器302、第二握持感測器304、顯示單元306及指紋辨識器310耦接至處理器308。第一握持感測器302及第二握持感測器304係分別設置於電子裝置300之長側邊。握持狀態包括接觸第一握持感測器302及第二握持感測器304之手指位置或手掌位置。指紋辨識器310設置於電子裝置300之其中一長側邊,用以辨識手指之指紋。舉例來說,如第16圖所示,指紋辨識器310設置在第四側邊S4。在另一實施例中,電子裝置300可包括兩個指紋辨識器,分別設置於電子裝置300之兩長側邊,本發明不限制指紋辨識器310設置在電子裝置300的位置與數量。 Please also refer to Figures 15 and 16. FIG. 15 is a block diagram of an electronic device 300 having a function of determining a screen display direction according to another embodiment. First 16 is a top plan view of the electronic device 300 of FIG. The electronic device 300 includes a first grip sensor 302, a second grip sensor 304, a display unit 306, a processor 308, and a fingerprint recognizer 310. The first grip sensor 302 , the second grip sensor 304 , the display unit 306 , and the fingerprint identifier 310 are coupled to the processor 308 . The first grip sensor 302 and the second grip sensor 304 are respectively disposed on the long sides of the electronic device 300. The gripping state includes contacting a finger position or a palm position of the first grip sensor 302 and the second grip sensor 304. The fingerprint identifier 310 is disposed on one of the long sides of the electronic device 300 for recognizing the fingerprint of the finger. For example, as shown in FIG. 16, the fingerprint recognizer 310 is disposed at the fourth side S4. In another embodiment, the electronic device 300 can include two fingerprint identifiers disposed on the two long sides of the electronic device 300. The present invention does not limit the position and number of the fingerprint recognizer 310 disposed on the electronic device 300.

請參考第17圖,第17圖繪示依照本發明之一實施例之決定畫面顯示方向之方法之流程圖。在此例中,處理器308先判斷是否感測到手掌位置。接著,藉由指紋辨識器310辨識手指指紋以分辨手指。然後,處理器308根據辨識出之手指決定電子裝置300之被握持方向,並依照被握持方向決定電子裝置300所產之畫面的畫面顯示方向。 Please refer to FIG. 17. FIG. 17 is a flow chart showing a method for determining a display direction of a screen according to an embodiment of the present invention. In this example, processor 308 first determines if the palm position is sensed. Next, the fingerprint of the finger is recognized by the fingerprint reader 310 to distinguish the finger. Then, the processor 308 determines the direction in which the electronic device 300 is held according to the recognized finger, and determines the screen display direction of the screen produced by the electronic device 300 according to the held direction.

步驟S1902,處理器308判斷第一握持感測器302或第二握持感測器304是否感測到手掌位置。當第一握持感測器302或第二握持感測器304感測到片狀接觸點,則處理器308判斷感測到手掌位置,進入步驟S1904。當未感測到手掌位置,則 結束流程。請參考第18A及18B圖,第18A圖繪示左手502握持第16圖之電子裝置300之示意圖。第18B圖繪示第18A圖中之第一握持感測器302及第二握持感測器304所感測之手指位置及手掌位置之示意圖。在第18A圖中,左手502之手掌PL1及拇指L1接觸第三側邊S3,左手502之食指L2、中指L3、無名指L4及小指L5接觸第四側邊S4。在第18B圖中,第一握持感測器302感測到手掌PL1’之位置。 In step S1902, the processor 308 determines whether the first grip sensor 302 or the second grip sensor 304 senses the palm position. When the first grip sensor 302 or the second grip sensor 304 senses the sheet contact point, the processor 308 determines that the palm position is sensed, and proceeds to step S1904. When the palm position is not sensed, then End the process. Please refer to FIGS. 18A and 18B. FIG. 18A is a schematic diagram showing the left hand 502 holding the electronic device 300 of FIG. FIG. 18B is a schematic diagram showing the position of the finger and the position of the palm sensed by the first grip sensor 302 and the second grip sensor 304 in FIG. 18A. In Fig. 18A, the palm PL1 and the thumb L1 of the left hand 502 contact the third side S3, and the index finger L2, the middle finger L3, the ring finger L4, and the little finger L5 of the left hand 502 contact the fourth side S4. In Fig. 18B, the first grip sensor 302 senses the position of the palm PL1'.

步驟S1904,藉由指紋辨識器310辨識一手指。具體來說,電子裝置300可先預存使用者之各個手指的指紋,做為比對辨識之用。請參考第18B圖,指紋辨識器310感測到手指位置L3’之手指之指紋,並根據預存之各個手指的指紋辨識出該手指為左手502之中指L3。 In step S1904, a finger is recognized by the fingerprint recognizer 310. Specifically, the electronic device 300 can pre-store the fingerprints of the fingers of the user as the comparison identification. Referring to FIG. 18B, the fingerprint reader 310 senses the fingerprint of the finger of the finger position L3', and recognizes the finger as the middle finger L3 of the left hand 502 according to the fingerprint of each pre-stored finger.

步驟S1906,處理器308根據指紋辨識器310辨識出之手指決定被握持之電子裝置300之被握持方向。在一實施例中,指紋辨識器310係設置於電子裝置300之第四側邊S4上。若處理器308辨識出之手指為左手502之食指L2、中指L3、無名指L4及小指L5其中之一,則處理器308可決定電子裝置300的被握持方向為第一被握持方向D1。若辨識出之手指為右手504之食指R2、中指R3、無名指R4及小指R5其中之一,則處理器308可決定電子裝置300的被握持方向為第二被握持方向D2。在另一實施例中,指紋辨識器310係設置於電子裝置300之第三側邊S3上(未繪示)。若處理器308辨識出之手指為左手502之拇指 L1,則處理器308判斷出電子裝置300的被握持方向係為第一被握持方向D1。若辨識出之手指為右手504之拇指R1,則處理器308可決定電子裝置300的被握持方向為第二被握持方向D2。 In step S1906, the processor 308 determines the held direction of the electronic device 300 being held according to the finger recognized by the fingerprint recognizer 310. In an embodiment, the fingerprint identifier 310 is disposed on the fourth side S4 of the electronic device 300. If the processor 308 recognizes that the finger is one of the index finger L2, the middle finger L3, the ring finger L4, and the little finger L5 of the left hand 502, the processor 308 may determine that the held direction of the electronic device 300 is the first held direction D1. If the recognized finger is one of the index finger R2, the middle finger R3, the ring finger R4, and the little finger R5 of the right hand 504, the processor 308 may determine that the held direction of the electronic device 300 is the second held direction D2. In another embodiment, the fingerprint identifier 310 is disposed on the third side S3 of the electronic device 300 (not shown). If the processor 308 recognizes that the finger is the thumb of the left hand 502 L1, the processor 308 determines that the held direction of the electronic device 300 is the first held direction D1. If the recognized finger is the thumb R1 of the right hand 504, the processor 308 may determine that the held direction of the electronic device 300 is the second held direction D2.

步驟S1908,處理器308依照被握持方向決電子裝置300所產生之畫面的畫面顯示方向。 In step S1908, the processor 308 displays the direction of the screen of the screen generated by the electronic device 300 according to the direction of the grip.

如此一來,當第一握持感測器302或第二握持感測器304感測手掌位置時,透過指紋辨識器310所辨識出之手指即可決定電子裝置300的被握持方向,並依據被握持方向決定畫面顯示方向,以正確的顯示畫面。 In this way, when the first grip sensor 302 or the second grip sensor 304 senses the palm position, the finger recognized by the fingerprint reader 310 can determine the held direction of the electronic device 300. The screen display direction is determined according to the direction of the grip to correctly display the screen.

請參考第19圖,第19圖繪示依照另一實施例之電子裝置400之俯視圖。電子裝置400包括顯示單元402、第一聲音輸入單元404、第一聲音輸出單元406、第一距離感測器(Proximity sensor)408、第二聲音輸入單元410、第二聲音輸出單元412及第二距離感測器414。第一聲音輸入單元404及第二聲音輸入單元410例如可為麥克風。第一聲音輸出單元406及第二聲音輸出單元412例如可為聽筒或喇叭。第一聲音輸入單元404、第一聲音輸出單元406及第一距離感測器408設置於電子裝置400之一第一區域A1,第二聲音輸入單元410、第二聲音輸出單元412及第二距離感測器414設置於電子裝置400之一第二區域A2。第一區域A1與第二區域A2分別靠近電子裝置400之相對的兩側。舉例來說,第一區域A1靠近第一側邊S1,第二區域A2靠近第二側邊S2。在一實施例中,處理器308根據被握持方向選 擇性致能第一聲音輸入單元404、第一聲音輸出單元406、第一距離感測器408、第二聲音輸入單元410、第二聲音輸出單元412及第二距離感測器414。更確切地說,當處理器308判斷出電子裝置400被握持方向為第一被握持方向D1時,則處理器308致能第一區域A1中之第一聲音輸出單元406、第一距離感測器408以及第二區域A2中之第二聲音輸入單元410。相反的,當處理器308判斷出電子裝置400被握持方向為第二被握持方向D2時,則處理器308致能第二區域A2中之第二聲音輸出單元412、第二距離感測器414以及第一區域A1中之第一聲音輸入單元404。 Please refer to FIG. 19 , which illustrates a top view of an electronic device 400 in accordance with another embodiment. The electronic device 400 includes a display unit 402, a first sound input unit 404, a first sound output unit 406, a first proximity sensor 408, a second sound input unit 410, a second sound output unit 412, and a second Distance sensor 414. The first sound input unit 404 and the second sound input unit 410 may be, for example, a microphone. The first sound output unit 406 and the second sound output unit 412 can be, for example, an earpiece or a horn. The first sound input unit 404, the first sound output unit 406, and the first distance sensor 408 are disposed in one of the first area A1 of the electronic device 400, the second sound input unit 410, the second sound output unit 412, and the second distance. The sensor 414 is disposed in a second area A2 of the electronic device 400. The first area A1 and the second area A2 are respectively close to opposite sides of the electronic device 400. For example, the first area A1 is close to the first side S1, and the second area A2 is close to the second side S2. In an embodiment, the processor 308 selects according to the direction of being held. The first sound input unit 404, the first sound output unit 406, the first distance sensor 408, the second sound input unit 410, the second sound output unit 412, and the second distance sensor 414 are selectively enabled. More specifically, when the processor 308 determines that the electronic device 400 is held in the first held direction D1, the processor 308 enables the first sound output unit 406 in the first area A1, the first distance. The sensor 408 and the second sound input unit 410 in the second area A2. Conversely, when the processor 308 determines that the electronic device 400 is held in the second held direction D2, the processor 308 enables the second sound output unit 412 in the second area A2, and the second distance sensing. The 414 and the first sound input unit 404 in the first area A1.

上述各實施例中之電子裝置,例如電子裝置100、200及300可為一虛擬實境(Virtual Reality,VR)裝置,上述之畫面可為虛擬實境裝置所輸出之畫面。請參考第20圖,第20圖繪示虛擬實境裝置600之示意圖。使用者手持一手持物體,手持物體例如為手機形狀之木頭(未繪示)。前述實施例中之處理器及握持感測器可設置於木頭中,並執行前述實施例中之決定畫面顯示方向之方法。在處理器判斷出木頭之被握持方向之後,處理器根據被握持方向決定虛擬實境裝置600之畫面中對應於木頭之位置的影像顯示。舉例來說,處理器在虛擬實境裝置600之畫面中對應於木頭之位置,顯示一手機影像。故使用者可於虛擬實境裝置600之畫面中看到手握持的是手機而不是木頭。 The electronic devices in the above embodiments, for example, the electronic devices 100, 200, and 300 may be a virtual reality (VR) device, and the above-mentioned screen may be a screen output by the virtual reality device. Please refer to FIG. 20, which shows a schematic diagram of the virtual reality device 600. The user holds a hand-held object, such as a wood of a mobile phone shape (not shown). The processor and the grip sensor in the foregoing embodiments may be disposed in the wood and perform the method of determining the display direction of the screen in the foregoing embodiment. After the processor determines the direction in which the wood is held, the processor determines the image display corresponding to the position of the wood in the screen of the virtual reality device 600 according to the direction of being held. For example, the processor displays a cell phone image corresponding to the location of the wood in the screen of the virtual reality device 600. Therefore, the user can see in the screen of the virtual reality device 600 that the hand is holding the mobile phone instead of the wood.

在另一實施例中,處理器可依據電子裝置目前所執行的應用程式類型,維持所述自動旋轉螢幕功能(或不執行前述實 施例所述決定畫面顯示方向之方法)。舉例來說,當一特定應用程式(例如相機應用程式)被開啟後,不執行前述實施例中之決定畫面顯示方向之方法。如此一來,當使用者使用特定應用程式時,可避免畫面顯示方向改變而影響到使用者。 In another embodiment, the processor can maintain the auto-rotation screen function according to the type of application currently executed by the electronic device (or do not perform the foregoing The method for determining the direction in which the screen is displayed is described in the example). For example, when a specific application (for example, a camera application) is turned on, the method of determining the display direction of the screen in the foregoing embodiment is not performed. In this way, when the user uses a specific application, the direction of the screen display can be prevented from affecting the user.

基於上述,本案係根據握持感測器感測握持電子裝置之握持狀態,根據握持狀態決定被握持之電子裝置之被握持方向,最後依照被握持方向決定顯示畫面的畫面顯示方向。因此,即便電子裝置的螢幕平行於地面,也可依據握持感測器正確判斷被握持方向,以正確的畫面顯示方向顯示畫面。故可更有效改善畫面的畫面顯示方向發生錯誤的問題,讓使用者在正確的畫面顯示方向觀賞畫面。 Based on the above, the present invention senses the grip state of the holding electronic device according to the grip sensor, determines the held direction of the held electronic device according to the grip state, and finally determines the screen of the display screen according to the gripped direction. Show direction. Therefore, even if the screen of the electronic device is parallel to the ground, the gripping direction can be correctly determined according to the grip sensor, and the screen can be displayed in the correct screen display direction. Therefore, it is possible to more effectively improve the problem that the screen display direction of the screen is wrong, and let the user view the screen in the correct screen display direction.

熟習本發明所屬領域之技藝者將想到,於此提出之本發明之多數修改及其他實施例,係具有上述說明及相關圖式中所提供之教導的益處。因此,應理解本發明並非受限於所揭露的具體實施例,且修改及其他實施例係包括於以下的申請專利範圍之範疇內。 Numerous modifications and other embodiments of the inventions set forth herein will be apparent to those skilled in the <RTIgt; Therefore, it is to be understood that the invention is not intended to be

Claims (14)

一種決定畫面顯示方向之方法,包括:藉由至少一握持感測器(hold sensor)感測複數個接觸點,並根據該些接觸點判斷握持一電子裝置的一握持狀態,其中該至少一握持感測器係配置於該電子裝置的至少一側邊;根據該握持狀態決定被握持的該電子裝置的一被握持方向;依照該被握持方向決定該電子裝置所產生之一畫面的畫面顯示方向;根據該至少一握持感測器的感測結果來判斷該電子裝置是否被以直立模式握持;以及當該電子裝置被以非直立模式握持時,維持該電子裝置依據一慣性感測器之感測結果,以對應啟動自動旋轉螢幕(auto orientation)的功能。 A method for determining a display direction of a screen, comprising: sensing a plurality of contact points by at least one holding sensor, and determining, according to the contact points, a holding state of holding an electronic device, wherein the The at least one holding sensor is disposed on at least one side of the electronic device; determining a held direction of the held electronic device according to the holding state; determining the electronic device according to the held direction Generating a screen display direction of one of the screens; determining whether the electronic device is held in an upright mode according to the sensing result of the at least one grip sensor; and maintaining the electronic device when being held in the non-upright mode The electronic device is based on the sensing result of an inertial sensor to correspondingly activate the function of automatically rotating the auto orientation. 如申請專利範圍第1項所述之方法,其中於根據該握持狀態決定該電子裝置之該被握持方向之步驟中,係根據至少一手指及一手掌於該至少一握持感測器上之相對位置,決定該電子裝置的該被握持方向。 The method of claim 1, wherein the step of determining the held direction of the electronic device according to the holding state is based on the at least one finger and the palm of the hand at the at least one holding sensor The relative position of the upper device determines the held direction of the electronic device. 如申請專利範圍第1項所述之方法,更包括:判斷該些接觸點中的至少一點狀接觸點對應為至少一手指位置以及該些接觸點中的一片狀接觸點對應為一手掌位置;判斷該手掌位置所在的該握持感測器上的該手指位置為一 拇指位置;以及根據該拇指位置及該手掌位置於該握持感測器上的相對位置決定該電子裝置的該被握持方向。 The method of claim 1, further comprising: determining that at least one of the contact points corresponds to at least one finger position and the one of the contact points corresponds to a palm position Determining that the finger position on the grip sensor where the palm position is located is one a position of the thumb; and determining the held direction of the electronic device according to the position of the thumb and the relative position of the position of the palm on the grip sensor. 如申請專利範圍第1項所述之方法,更包括:依據該電子裝置目前所執行的應用程式類型,維持該電子裝置之自動旋轉螢幕功能。 The method of claim 1, further comprising: maintaining an automatic rotating screen function of the electronic device according to an application type currently executed by the electronic device. 如申請專利範圍第1項所述之方法,其中該電子裝置具有一指紋辨識器,該方法更包括:通過該指紋辨識器辨識至少一手指指紋;以及同時根據該些接觸點與該至少一手指指紋判斷握持該電子裝置的該握持狀態。 The method of claim 1, wherein the electronic device has a fingerprint identifier, the method further comprising: identifying at least one finger fingerprint by the fingerprint identifier; and simultaneously selecting the contact point and the at least one finger The fingerprint determines the holding state of the electronic device. 如申請專利範圍第1項所述之方法,其中該電子裝置更包括一第一聲音輸入單元、一第一聲音輸出單元、一第一距離感測器、一第二聲音輸入單元、一第二聲音輸出單元及一第二距離感測器,該第一聲音輸入單元、該第一聲音輸出單元與該第一距離感測器設置於該電子裝置的一第一區域,該第二聲音輸入單元、該第二聲音輸出單元與該第二距離感測器設置於該電子裝置的一第二區域,該第一區域與該第二區域分別位於該電子裝置之相對的兩側,該方法更包括:根據該被握持方向致能該第一聲音輸出單元、該第一距離感測器及該第二聲音輸入單元或該第二聲音輸出單元、該第二距離感測器及該第一聲音輸入單元。 The method of claim 1, wherein the electronic device further comprises a first sound input unit, a first sound output unit, a first distance sensor, a second sound input unit, and a second a sound output unit and a second distance sensor, the first sound input unit, the first sound output unit and the first distance sensor are disposed in a first area of the electronic device, and the second sound input unit The second sound output unit and the second distance sensor are disposed on a second area of the electronic device, and the first area and the second area are respectively located on opposite sides of the electronic device, and the method further includes Enabling the first sound output unit, the first distance sensor and the second sound input unit or the second sound output unit, the second distance sensor, and the first sound according to the held direction Input unit. 一種電腦可讀取紀錄媒體,記錄一或多個程式,在該一或多個程式被載入至一電子裝置並被執行後,該一或多個程式係使該電子裝置執行如申請專利範圍第1項至第7項中任一項所述之方法。 A computer readable recording medium recording one or more programs, after the one or more programs are loaded into an electronic device and executed, the one or more programs cause the electronic device to execute as claimed The method according to any one of the items 1 to 7. 一種具有決定畫面顯示方向功能之電子裝置,包括:至少一握持感測器,設置於該電子裝置之至少一側邊,用以感測複數個接觸點;一處理器,用以根據該些接觸點判斷握持該電子裝置的一握持狀態,根據該握持狀態判斷被握持的該電子裝置的一被握持方向,以及依照該被握持方向決定該電子裝置所產生之一畫面的畫面顯示方向;以及一顯示單元,用以顯示該畫面,該處理器根據該至少一握持感測器的感測結果判斷該電子裝置是否被以直立模式握持,當該處理器判斷該電子裝置被以非直立模式握持時,維持該電子裝置依據一慣性感測器之感測結果,以對應啟動自動旋轉螢幕的功能。 An electronic device having a function of determining a display direction of a screen, comprising: at least one holding sensor disposed on at least one side of the electronic device for sensing a plurality of contact points; and a processor for determining according to the The contact point determines a holding state of the electronic device, determines a held direction of the held electronic device according to the holding state, and determines a picture generated by the electronic device according to the held direction a screen display direction; and a display unit for displaying the screen, the processor determining, according to the sensing result of the at least one grip sensor, whether the electronic device is held in an upright mode, when the processor determines the When the electronic device is held in the non-upright mode, the electronic device is maintained according to the sensing result of the inertial sensor to correspondingly activate the function of automatically rotating the screen. 如申請專利範圍第8項所述之電子裝置,其中該處理器用以根據至少一手指及一手掌於該至少一握持感測器上之相對位置,決定該電子裝置的該被握持方向。 The electronic device of claim 8, wherein the processor is configured to determine the held direction of the electronic device according to a relative position of the at least one finger and the palm of the hand on the at least one holding sensor. 如申請專利範圍第8項所述之電子裝置,其中該處理器更用以判斷該些接觸點中的至少一點狀接觸點對應為至少一手指位置以及該些接觸點中的一片狀接觸點對應為一手掌位置,並判斷該手掌位置所在的該握持感測器上的該手指位置為一拇指位 置,以及根據該拇指位置及該手掌位置於該握持感測器上的相對位置決定該電子裝置的該被握持方向。 The electronic device of claim 8, wherein the processor is further configured to determine that at least one of the contact points corresponds to at least one finger position and one of the contact points Corresponding to a palm position, and determining that the finger position on the grip sensor where the palm position is located is a thumb position And determining the held direction of the electronic device according to the position of the thumb and the relative position of the palm position on the grip sensor. 如申請專利範圍第8項所述之電子裝置,其中該至少一握持感測器包括一第一握持感測器與一第二握持感測器,該第一握持感測器與該第二握持感測器分別配置於該電子裝置之相對之一第一側邊與一第二側邊上,該第一側邊及該第二側邊為該電子裝置之長側邊。 The electronic device of claim 8, wherein the at least one grip sensor comprises a first grip sensor and a second grip sensor, the first grip sensor and The second holding sensors are respectively disposed on the first side and the second side of the opposite side of the electronic device, and the first side and the second side are the long sides of the electronic device. 如申請專利範圍第8項所述之電子裝置,其中該處理器依據該電子裝置目前所執行的應用程式類型,維持該電子裝置之自動旋轉螢幕功能。 The electronic device of claim 8, wherein the processor maintains an automatic rotating screen function of the electronic device according to an application type currently executed by the electronic device. 如申請專利範圍第8項所述之電子裝置,其中該電子裝置具有一指紋辨識器,用以辨識至少一手指指紋;其中該處理器同時根據該些接觸點與該至少一手指指紋判斷握持該電子裝置的該握持狀態。 The electronic device of claim 8, wherein the electronic device has a fingerprint identifier for recognizing at least one finger fingerprint; wherein the processor simultaneously determines the grip according to the contact points and the at least one finger fingerprint The holding state of the electronic device. 如申請專利範圍第8項所述之電子裝置,其中該電子裝置更包括一第一聲音輸入單元、一第一聲音輸出單元、一第一距離感測器、一第二聲音輸入單元、一第二距離感測器及一第二聲音輸出單元,該第一聲音輸入單元、該第一距離感測器與該第一聲音輸出單元設置於該電子裝置之一第一區域,該第二聲音輸入單元、該第二距離感測器與該第二聲音輸出單元設置於該電子裝置的一第二區域,該第一區域與該第二區域分別位於該電子裝置之相對的兩側; 其中該處理器用以根據該被握持方向致能該第一聲音輸出單元、該第一距離感測器及該第二聲音輸入單元或該第二聲音輸出單元、該第二距離感測器及該第一聲音輸入單元。 The electronic device of claim 8, wherein the electronic device further comprises a first sound input unit, a first sound output unit, a first distance sensor, a second sound input unit, and a first a second distance sensor and a second sound output unit, the first sound input unit, the first distance sensor and the first sound output unit are disposed in a first area of the electronic device, the second sound input The second distance sensor and the second sound output unit are disposed in a second area of the electronic device, and the first area and the second area are respectively located on opposite sides of the electronic device; The processor is configured to enable the first sound output unit, the first distance sensor, the second sound input unit or the second sound output unit, the second distance sensor, and the second sound sensor according to the held direction The first sound input unit.
TW105125159A 2016-08-08 2016-08-08 Method for determining display orientation and electronic apparatus using the same and computer readable recording medium TWI620099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105125159A TWI620099B (en) 2016-08-08 2016-08-08 Method for determining display orientation and electronic apparatus using the same and computer readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105125159A TWI620099B (en) 2016-08-08 2016-08-08 Method for determining display orientation and electronic apparatus using the same and computer readable recording medium

Publications (2)

Publication Number Publication Date
TW201805772A TW201805772A (en) 2018-02-16
TWI620099B true TWI620099B (en) 2018-04-01

Family

ID=62014363

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105125159A TWI620099B (en) 2016-08-08 2016-08-08 Method for determining display orientation and electronic apparatus using the same and computer readable recording medium

Country Status (1)

Country Link
TW (1) TWI620099B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI689864B (en) * 2018-04-26 2020-04-01 宏達國際電子股份有限公司 Handheld apparatus, control method thereof of presenting mode and computer-readable recording medium
US11600117B2 (en) 2019-12-26 2023-03-07 Egis Technology Inc. Gesture recognition system and gesture recognition method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090184935A1 (en) * 2008-01-17 2009-07-23 Samsung Electronics Co., Ltd. Method and apparatus for controlling display area of touch screen device
US20110109577A1 (en) * 2009-11-12 2011-05-12 Samsung Electronics Co., Ltd. Method and apparatus with proximity touch detection
CN103140822A (en) * 2010-10-13 2013-06-05 Nec卡西欧移动通信株式会社 Mobile terminal device and display method for touch panel in mobile terminal device
TW201612724A (en) * 2014-08-25 2016-04-01 Chiun Mai Comm Systems Inc Electronic device and display interface adjusting method thereof
CN105630153A (en) * 2014-11-20 2016-06-01 三星电子株式会社 Device and method for controlling a plurality of input/output devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090184935A1 (en) * 2008-01-17 2009-07-23 Samsung Electronics Co., Ltd. Method and apparatus for controlling display area of touch screen device
US20110109577A1 (en) * 2009-11-12 2011-05-12 Samsung Electronics Co., Ltd. Method and apparatus with proximity touch detection
CN103140822A (en) * 2010-10-13 2013-06-05 Nec卡西欧移动通信株式会社 Mobile terminal device and display method for touch panel in mobile terminal device
TW201612724A (en) * 2014-08-25 2016-04-01 Chiun Mai Comm Systems Inc Electronic device and display interface adjusting method thereof
CN105630153A (en) * 2014-11-20 2016-06-01 三星电子株式会社 Device and method for controlling a plurality of input/output devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI689864B (en) * 2018-04-26 2020-04-01 宏達國際電子股份有限公司 Handheld apparatus, control method thereof of presenting mode and computer-readable recording medium
US11600117B2 (en) 2019-12-26 2023-03-07 Egis Technology Inc. Gesture recognition system and gesture recognition method

Also Published As

Publication number Publication date
TW201805772A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107704179B (en) Method for determining screen display direction and electronic device using the same
US10057484B1 (en) Method and apparatus for activating a hardware feature of an electronic device
CN101859200B (en) Information processing apparatus and estimating method
CN103124951B (en) Signal conditioning package
JP6658518B2 (en) Information processing apparatus, information processing method and program
CN104238743B (en) Information processor and information processing method
CN109791581B (en) Controlling the user interface of an electronic device
CN103870034A (en) Touch device and control method thereof
EP2902867A1 (en) Portable apparatus and method for adjusting window size thereof
US20140232635A1 (en) Mobile devices for transmitting and receiving data using gesture
CN110275658A (en) Display control method, display control device, mobile terminal and storage medium
TWI620099B (en) Method for determining display orientation and electronic apparatus using the same and computer readable recording medium
CN108390985A (en) Electronic device, display screen detection method and related product
US10498879B2 (en) Electronic device, protection method and related product
US9235338B1 (en) Pan and zoom gesture detection in a multiple touch display
TWI621971B (en) Handwriting-gesture notification method and electronic system using the same
JP6757114B2 (en) Input display device
TW201504929A (en) Electronic apparatus and gesture control method thereof
JP6549776B2 (en) Input display
JP5827695B2 (en) Information processing apparatus, information processing method, program, and information storage medium
KR20140033726A (en) Method and apparatus for distinguishing five fingers in electronic device including touch screen
CN103838422B (en) Pointer control method and its electronic equipment
WO2021208924A1 (en) Method and apparatus for controlling screen rotation of mobile terminal, and computer device
US11822741B2 (en) Electronic device, operation method thereof, and non-transitory storage medium
KR20090132714A (en) Character recognition method input through touch input unit and character input device performing the same