TWM621728U - Hand-held detection and menu display electronic apparatus - Google Patents

Hand-held detection and menu display electronic apparatus Download PDF

Info

Publication number
TWM621728U
TWM621728U TW110207984U TW110207984U TWM621728U TW M621728 U TWM621728 U TW M621728U TW 110207984 U TW110207984 U TW 110207984U TW 110207984 U TW110207984 U TW 110207984U TW M621728 U TWM621728 U TW M621728U
Authority
TW
Taiwan
Prior art keywords
sliding
electronic device
holding state
response
touch screen
Prior art date
Application number
TW110207984U
Other languages
Chinese (zh)
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 TW110207984U priority Critical patent/TWM621728U/en
Publication of TWM621728U publication Critical patent/TWM621728U/en

Links

Images

Abstract

A hand-held detection and menu display electronic apparatus is provided. The electronic apparatus includes a touch display, a storage medium and a processor. The storage medium includes a plurality of modules. The processor is coupled to the touch display and the storage medium, and accesses the modules to execute the following operations. In response to detecting that an application is operating on the electronic apparatus, the processor displays a plurality of virtual buttons through the touch display. In response to detecting button operations corresponding to the virtual buttons, the processor determines a hand-held state of holding the electronic device according to the button operations. Then, the processor decides to display a function menu on a right area or a left area on the touch screen through the touch screen according to the hand-held state.

Description

手持偵測與選單顯示電子裝置Handheld detection and menu display electronics

本新型創作是有關於一種介面顯示機制,且特別是有關於一種手持偵測與選單顯示方法及使用此方法的電子裝置。 The present invention relates to an interface display mechanism, and in particular, to a handheld detection and menu display method and an electronic device using the method.

隨著科技日新月異的發展,顯示裝置的應用領域也逐漸擴大。各式各樣具有顯示裝置的電子裝置已廣泛使用在日常生活中。針對執行在電子裝置上的應用程式,程式設計人員也致力於讓使用者能夠易於操作各項功能。因此,如何能夠優化使用者操作介面來改善操控上不便之處是本領域技術人員致力的目標。 With the rapid development of science and technology, the application fields of display devices are gradually expanding. Various electronic devices with display devices have been widely used in daily life. For applications running on electronic devices, programmers also focus on making it easy for users to operate various functions. Therefore, how to optimize the user operation interface to improve the inconvenience of manipulation is the goal of those skilled in the art.

本新型創作提供一種手持偵測與選單顯示電子裝置,能夠判斷持握電子裝置的慣用手並顯示功能選單,使得使用者便於操作功能選單。 The novel creation provides a handheld detection and menu display electronic device, which can determine the dominant hand holding the electronic device and display the function menu, so that the user can conveniently operate the function menu.

本新型創作提出一種手持偵測與選單顯示電子裝置,包 括觸控螢幕、儲存媒體以及處理器。所述儲存媒體儲存多個模組。所述處理器耦接所述觸控螢幕及所述儲存媒體,並存取該些模組以執行下列運作:響應於偵測到一應用程式運作於所述電子裝置,透過所述觸控螢幕顯示多個虛擬按鍵;響應於偵測到對應所述多個虛擬按鍵的按鍵操作,根據所述按鍵操作判斷握持所述電子裝置的一手持狀態;以及根據所述手持狀態決定透過所述觸控螢幕顯示一功能選單於所述觸控螢幕上的右側區域或左側區域。 This novel creation proposes a handheld detection and menu display electronic device, including Including touch screen, storage media and processor. The storage medium stores a plurality of modules. The processor is coupled to the touch screen and the storage medium, and accesses the modules to perform the following operations: in response to detecting that an application is running on the electronic device, through the touch screen displaying a plurality of virtual keys; in response to detecting a key operation corresponding to the plurality of virtual keys, determining a holding state of the electronic device according to the key operation; The touch screen displays a function menu in the right area or the left area on the touch screen.

在本新型創作的一實施例中,上述的虛擬按鍵包括至少一第一虛擬按鍵及至少一第二虛擬按鍵,其中顯示所述多個虛擬按鍵的運作包括:顯示所述第一虛擬按鍵於所述觸控螢幕上的所述右側區域,並顯示所述第二虛擬按鍵於所述觸控螢幕上的所述左側區域。 In an embodiment of the present invention, the above-mentioned virtual keys include at least one first virtual key and at least one second virtual key, wherein the operation of displaying the plurality of virtual keys includes: displaying the first virtual key on all The right area on the touch screen is displayed, and the second virtual key is displayed on the left area on the touch screen.

在本新型創作的一實施例中,上述的第一虛擬按鍵包括第一滑動條,所述第二虛擬按鍵包括第二滑動條,並且根據所述按鍵操作判斷握持所述電子裝置的所述手持狀態的運作包括:響應於偵測對應至所述第一滑動條及所述第二滑動條的滑動操作,根據所述滑動操作計算對應至所述第一滑動條的第一滑動速度,並計算對應至所述第二滑動條的第二滑動速度;以及響應於所述第一滑動速度大於或等於所述第二滑動速度,判斷所述手持狀態為右手持握狀態,響應於所述第一滑動速度小於所述第二滑動速度,判斷所述手持狀態為左手持握狀態。 In an embodiment of the present invention, the above-mentioned first virtual key includes a first sliding bar, the second virtual key includes a second sliding bar, and the user holding the electronic device is determined according to the key operation. The operation of the handheld state includes: in response to detecting a sliding operation corresponding to the first sliding bar and the second sliding bar, calculating a first sliding speed corresponding to the first sliding bar according to the sliding operation, and calculating a second sliding speed corresponding to the second sliding bar; and in response to the first sliding speed being greater than or equal to the second sliding speed, judging that the holding state is a right-hand holding state, and responding to the first sliding speed When a sliding speed is lower than the second sliding speed, it is determined that the holding state is a left-hand holding state.

在本新型創作的一實施例中,上述的第一虛擬按鍵包括 第一滑動條,所述第二虛擬按鍵包括第二滑動條,並且根據所述按鍵操作判斷握持所述電子裝置的所述手持狀態的運作包括:響應於偵測對應至所述第一滑動條及所述第二滑動條的滑動操作,根據所述滑動操作計算對應至所述第一滑動條的第一滑動距離,並計算對應至所述第二滑動條的第二滑動距離;以及響應於所述第一滑動距離大於或等於所述第二滑動距離,判斷所述手持狀態為右手持握狀態,響應於所述第一滑動距離小於所述第二滑動距離,判斷所述手持狀態為左手持握狀態。 In an embodiment of the present invention, the above-mentioned first virtual key includes a first sliding bar, the second virtual key includes a second sliding bar, and the operation of judging the holding state of the electronic device according to the key operation includes: responding to the detection corresponding to the first sliding bar sliding operation of the bar and the second sliding bar, calculating a first sliding distance corresponding to the first sliding bar according to the sliding operation, and calculating a second sliding distance corresponding to the second sliding bar; and responding When the first sliding distance is greater than or equal to the second sliding distance, it is judged that the hand-held state is a right-hand holding state, and in response to the first sliding distance being less than the second sliding distance, it is judged that the hand-held state is Left hand holding state.

在本新型創作的一實施例中,上述的第一虛擬按鍵包括多個第一按鍵,所述第二虛擬按鍵包括多個第二按鍵,並且根據所述按鍵操作判斷握持所述電子裝置的所述手持狀態的運作包括:響應於偵測對應至所述多個第一按鍵及所述多個第二按鍵按壓操作,根據所述按壓操作計算對應至所述多個第一按鍵的第一觸控時間及對應至所述多個第二按鍵的第二觸控時間;以及響應於所述第一觸控時間大於或等於所述第二觸控時間,判斷所述手持狀態為右手持握狀態,響應於所述第一觸控時間小於所述第二觸控時間,判斷所述手持狀態為左手持握狀態。 In an embodiment of the present invention, the above-mentioned first virtual key includes a plurality of first keys, the second virtual key includes a plurality of second keys, and it is determined according to the key operation that the user holding the electronic device The operation of the handheld state includes: in response to detecting a pressing operation corresponding to the plurality of first keys and the plurality of second keys, calculating a first key corresponding to the plurality of first keys according to the pressing operation touch time and second touch time corresponding to the plurality of second keys; and in response to the first touch time being greater than or equal to the second touch time, determining that the holding state is right-hand held state, and in response to the first touch time being less than the second touch time, it is determined that the holding state is a left-hand holding state.

本新型創作提出一種手持偵測與選單顯示方法,適用於包括觸控螢幕及處理器的電子裝置,所述方法包括:響應於偵測到一應用程式運作於所述電子裝置,透過所述觸控螢幕顯示多個虛擬按鍵;響應於偵測到對應所述多個虛擬按鍵的按鍵操作,根據所述按鍵操作判斷握持所述電子裝置的一手持狀態;以及根據 所述手持狀態決定透過所述觸控螢幕顯示一功能選單於所述觸控螢幕上的右側區域或左側區域。 The present invention provides a handheld detection and menu display method, which is suitable for an electronic device including a touch screen and a processor. The method includes: in response to detecting that an application is running on the electronic device, through the touch displaying a plurality of virtual buttons on the control screen; in response to detecting a button operation corresponding to the plurality of virtual buttons, determining a holding state of the electronic device according to the button operation; and according to The holding state determines to display a function menu on the right area or the left area on the touch screen through the touch screen.

基於上述,本新型創作實施例提供的手持偵測與選單顯示電子裝置,可基於偵測使用者對虛擬按鍵的操作來判斷使用者握持電子裝置的慣用手,並顯示功能選單於靠近慣用手的區域。藉此,可讓使用者以更為習慣的方式操作功能選單,從而改善使用者操作功能選單的體驗。 Based on the above, the hand-held detection and menu display electronic device provided by the embodiment of the present invention can determine the user's dominant hand holding the electronic device based on detecting the user's operation on the virtual key, and display the function menu close to the dominant hand. Area. In this way, the user can operate the function menu in a more accustomed manner, thereby improving the user's experience of operating the function menu.

為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 In order to make the above-mentioned features and advantages of the present disclosure more obvious and easy to understand, the following embodiments are given and described in detail in conjunction with the accompanying drawings as follows.

100:電子裝置 100: Electronics

110:觸控螢幕 110: Touch screen

120:儲存媒體 120: Storage Media

130:處理器 130: Processor

31:第一滑動條 31: The first slider

32:第二滑動條 32: Second Slider

41,42:第一按鍵 41,42: The first button

43,44:第二按鍵 43,44: Second button

51,52:功能選單 51,52: Function menu

S202~S206:步驟 S202~S206: Steps

圖1繪示根據本新型創作一實施例的電子裝置的方塊圖。 FIG. 1 is a block diagram of an electronic device according to an embodiment of the present invention.

圖2繪示根據本新型創作一實施例的手持偵測與選單顯示方法的流程圖。 FIG. 2 is a flowchart illustrating a method for hand-held detection and menu display according to an embodiment of the present invention.

圖3A與3B繪示根據本新型創作一實施例的滑動條的示意圖。 3A and 3B are schematic diagrams of a slider according to an embodiment of the present invention.

圖4A與4B繪示根據本新型創作一實施例的虛擬按鍵的示意圖。 4A and 4B are schematic diagrams of virtual keys according to an embodiment of the present invention.

圖5A與5B繪示根據本新型創作一實施例的功能選單的示意圖。 5A and 5B are schematic diagrams of function menus according to an embodiment of the present invention.

圖1繪示根據本新型創作一實施例的電子裝置的方塊圖。如圖1所示,電子裝置100包括觸控螢幕110、儲存媒體120以及處理器130,其中電子裝置100例如是可由使用者觸控操作的智慧型手機或平板電腦等手持裝置。 FIG. 1 is a block diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 1 , the electronic device 100 includes a touch screen 110 , a storage medium 120 and a processor 130 , wherein the electronic device 100 is, for example, a handheld device such as a smart phone or a tablet computer that can be operated by a user.

儲存媒體120用以儲存電子裝置100運行時所需的各項軟體、模組、資料以及程式碼。儲存媒體120例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,本新型創作不限於此。 The storage medium 120 is used for storing various softwares, modules, data and codes required for the operation of the electronic device 100 . The storage medium 120 is, for example, any type of fixed or removable random access memory (random access memory, RAM), read-only memory (ROM), and flash memory (flash memory). , a hard disk drive (HDD), a solid state drive (SSD) or similar components or a combination of the above components, the present invention is not limited thereto.

處理器130耦接觸控螢幕110以及儲存媒體120。處理器130例如是中央處理單元(central processing unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(microprocessor)、數位信號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用積體電路(application specific integrated circuit,ASIC)或其他類似元件或上述元件的組合,本新型創作不限於此。在本實施例中,處理器130可執行儲存於儲存媒體120的模組以實施本實施例提供的手持偵測與選單顯示方法,此方法具體內容將於本文之後續說明。 The processor 130 is coupled to the touch screen 110 and the storage medium 120 . The processor 130 is, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessors (microprocessors), digital signal processors (DSPs), programmable An integrated circuit (application specific integrated circuit, ASIC) or other similar components or a combination of the above components, the present invention is not limited thereto. In this embodiment, the processor 130 can execute the module stored in the storage medium 120 to implement the handheld detection and menu display method provided in this embodiment, and the specific content of this method will be described later in this document.

概略而言,本新型創作的實施例提供的電子裝置100可 偵測使用者握持該電子裝置100的持用手,並根據偵測結果顯示適合該持用手操作的功能選單。 Roughly speaking, the electronic device 100 provided by the embodiments of the present invention can be The user's hand holding the electronic device 100 is detected, and according to the detection result, a function menu suitable for operation by the hand is displayed.

圖2繪示根據本新型創作一實施例的手持偵測與選單顯示方法的流程圖。參考圖2,本新型創作實施例的方法適用於圖1的電子裝置100,以下即搭配電子裝置100中的各項元件說明本實施例手持偵測與選單顯示方法的詳細步驟。 FIG. 2 is a flowchart illustrating a method for hand-held detection and menu display according to an embodiment of the present invention. Referring to FIG. 2 , the method of the present invention is applicable to the electronic device 100 of FIG. 1 . The following describes the detailed steps of the hand-held detection and menu display method of the present embodiment in conjunction with various elements in the electronic device 100 .

首先,在步驟S202中,處理器130響應於偵測到應用程式運作於電子裝置100,透過觸控螢幕110顯示多個虛擬按鍵。具體來說,上述的虛擬按鍵的按鍵類型例如包括顯示於觸控螢幕110上的滑動條或觸控按鍵,本新型創作不在此限制。 First, in step S202 , the processor 130 displays a plurality of virtual keys through the touch screen 110 in response to detecting that the application program is running on the electronic device 100 . Specifically, the key types of the above-mentioned virtual keys include, for example, slide bars or touch keys displayed on the touch screen 110 , and the present invention is not limited thereto.

在一實施例中,上述的虛擬按鍵可包括至少一個第一虛擬按鍵及至少一個第二虛擬按鍵,然而本新型創作不在此限制虛擬按鍵的數量。處理器130可透過觸控螢幕110顯示第一虛擬按鍵於觸控螢幕110上的右側區域,並顯示第二虛擬按鍵於觸控螢幕110上的左側區域。特別是,第一虛擬按鍵與第二虛擬按鍵可以依據需求設計為依序輪流顯示或同時顯示於觸控螢幕110。例如,可先顯示第一虛擬按鍵並等待使用者進行操作後再顯示第二虛擬按鍵供使用者進行操作。反之,亦可先顯示第二虛擬按鍵並等待使用者進行操作後再顯示第一虛擬按鍵供使用者進行操作。若虛擬按鍵可包括多個第一虛擬按鍵及多個第二虛擬按鍵,位於同一區域的虛擬按鍵亦可依序輪流顯示或同時顯示於觸控螢幕110。 In one embodiment, the above-mentioned virtual keys may include at least one first virtual key and at least one second virtual key, but the present invention does not limit the number of virtual keys. The processor 130 can display the first virtual key on the right area of the touch screen 110 and display the second virtual key on the left area on the touch screen 110 through the touch screen 110 . In particular, the first virtual key and the second virtual key can be designed to be displayed in turn in sequence or displayed on the touch screen 110 at the same time according to requirements. For example, the first virtual key can be displayed first and wait for the user to operate, and then the second virtual key can be displayed for the user to operate. Conversely, the second virtual key can be displayed first and the first virtual key can be displayed for the user to operate after waiting for the user to operate. If the virtual keys can include a plurality of first virtual keys and a plurality of second virtual keys, the virtual keys located in the same area can also be displayed in turn in sequence or simultaneously displayed on the touch screen 110 .

接著,在步驟S204中,處理器130響應於偵測到對應多個虛擬按鍵的按鍵操作,根據按鍵操作判斷握持電子裝置100的手持狀態。具體來說,按鍵操作例如包括滑動操作及/或按壓操作,即不同按鍵類型的虛擬按鍵可供使用者對其進行滑動及/或按壓等操作。 Next, in step S204, the processor 130 determines the holding state of the electronic device 100 according to the key operation in response to detecting the key operation corresponding to the plurality of virtual keys. Specifically, the key operation includes, for example, a sliding operation and/or a pressing operation, that is, virtual keys of different key types are available for the user to perform operations such as sliding and/or pressing.

圖3A與3B繪示根據本新型創作一實施例的滑動條的示意圖。在本實施例中,將利用按鍵類型為「滑動條」的虛擬按鍵進行說明。請參照圖3A與3B,假設第一虛擬按鍵包括第一滑動條31,並且第二虛擬按鍵包括第二滑動條32。其中,第一滑動條31顯示於觸控螢幕110上的右側區域,並且第二滑動條32顯示於觸控螢幕110上的左側區域。此第一滑動條31與第二滑動條32可依序輪流顯示或同時顯示於觸控螢幕110。在本實施例中,假設先顯示第一滑動條31並等待使用者進行滑動操作後再顯示第二滑動條32供使用者進行滑動操作。在其他實施例中,亦可先顯示第二滑動條32並等待使用者進行滑動操作後再顯示第一滑動條31供使用者進行滑動操作。 3A and 3B are schematic diagrams of a slider according to an embodiment of the present invention. In this embodiment, a virtual key whose key type is "slider" will be used for description. Referring to FIGS. 3A and 3B , it is assumed that the first virtual key includes a first sliding bar 31 , and the second virtual key includes a second sliding bar 32 . The first sliding bar 31 is displayed on the right area of the touch screen 110 , and the second sliding bar 32 is displayed on the left area on the touch screen 110 . The first sliding bar 31 and the second sliding bar 32 can be displayed in turn in sequence or displayed on the touch screen 110 simultaneously. In this embodiment, it is assumed that the first sliding bar 31 is displayed first and the user is waiting for the sliding operation, and then the second sliding bar 32 is displayed for the user to perform the sliding operation. In other embodiments, the second sliding bar 32 may be displayed first and the first sliding bar 31 may be displayed for the user to perform a sliding operation after waiting for the user to perform a sliding operation.

本實施例可根據使用者操作滑動條的滑動速度來判斷使用者握持電子裝置100的手持狀態。當使用者操作顯示於觸控螢幕110右側區域的滑動條的滑動速度較快時,可判定使用者為右手握持電子裝置100。當使用者操作顯示於觸控螢幕110左側區域的滑動條的滑動速度較快時,可判定使用者為左手握持電子裝置100。 In this embodiment, the holding state of the user holding the electronic device 100 can be determined according to the sliding speed of the user operating the sliding bar. When the sliding speed of the sliding bar displayed on the right area of the touch screen 110 is relatively fast, it can be determined that the user is holding the electronic device 100 with the right hand. When the sliding speed of the sliding bar displayed on the left area of the touch screen 110 is relatively fast, it can be determined that the user is holding the electronic device 100 with the left hand.

具體來說,響應於偵測對應至第一滑動條31及第二滑動條32的滑動操作,處理器130會根據滑動操作計算對應至第一滑動條31的第一滑動速度,並計算對應至第二滑動條32的第二滑動速度。具體來說,處理器130會透過觸控螢幕110偵測使用者的滑動操作,而滑動操作的感測參數可包括滑動距離、按壓起始時間以及按壓結束時間。處理器130會根據滑動距離、按壓起始時間以及按壓結束時間分別計算對應至第一滑動條31的第一滑動速度,並計算對應至第二滑動條32的第二滑動速度。舉例來說,滑動速度的計算方式可如以下方程式(1)所示:滑動速度=滑動距離/(按壓結束時間-按壓起始時間)....(1) Specifically, in response to detecting the sliding operations corresponding to the first sliding bar 31 and the second sliding bar 32, the processor 130 calculates the first sliding speed corresponding to the first sliding bar 31 according to the sliding operation, and calculates the first sliding speed corresponding to the first sliding bar 31. The second sliding speed of the second sliding bar 32 . Specifically, the processor 130 detects the user's sliding operation through the touch screen 110, and the sensing parameters of the sliding operation may include the sliding distance, the pressing start time, and the pressing end time. The processor 130 calculates the first sliding speed corresponding to the first sliding bar 31 and the second sliding speed corresponding to the second sliding bar 32 respectively according to the sliding distance, the pressing start time and the pressing end time. For example, the calculation method of the sliding speed can be shown in the following equation (1): sliding speed = sliding distance / (pressing end time - pressing start time)....(1)

在本實施例中,響應於第一滑動速度大於或等於第二滑動速度,處理器130可判斷手持狀態為右手持握狀態。另外,響應於第一滑動速度小於第二滑動速度,處理器130可判斷手持狀態為左手持握狀態。 In this embodiment, in response to the first sliding speed being greater than or equal to the second sliding speed, the processor 130 may determine that the holding state is the right-hand holding state. In addition, in response to the first sliding speed being lower than the second sliding speed, the processor 130 may determine that the holding state is the left-hand holding state.

在另一實施例中,處理器130係根據計算滑動距離來判斷使用者握持電子裝置100的手持狀態,而不透過計算滑動速度來判斷使用者握持電子裝置100的手持狀態。當使用者操作顯示於觸控螢幕110右側區域的滑動條的滑動距離較長時,可判定使用者為右手握持電子裝置100。當使用者操作顯示於觸控螢幕110左側區域的滑動條的滑動距離較長時,可判定使用者為左手握持電子裝置100。 In another embodiment, the processor 130 determines the hand state of the user holding the electronic device 100 according to the calculation of the sliding distance, and does not determine the hand state of the user to hold the electronic device 100 by calculating the sliding speed. When the sliding distance of the user operating the sliding bar displayed on the right area of the touch screen 110 is relatively long, it can be determined that the user is holding the electronic device 100 with the right hand. When the sliding distance of the sliding bar displayed on the left area of the touch screen 110 by the user is relatively long, it can be determined that the user is holding the electronic device 100 with the left hand.

具體來說,響應於偵測對應至第一滑動條31及第二滑動 條32的滑動操作,處理器130會根據滑動操作計算對應至第一滑動條31的第一滑動距離,並計算對應至第二滑動條32的第二滑動距離。具體來說,處理器130會透過觸控螢幕110偵測使用者的滑動操作,而滑動操作的感測參數可包括滑動起始座標以及滑動結束座標。處理器130會根據滑動起始座標以及滑動結束座標分別計算對應至第一滑動條31的第一滑動距離,並計算對應至第二滑動條32的第二滑動距離。舉例來說,處理器130會計算滑動結束座標及滑動起始座標之間的差值來分別產生第一滑動距離及第二滑動距離。 Specifically, in response to the detection corresponding to the first sliding bar 31 and the second sliding For the sliding operation of the bar 32 , the processor 130 calculates the first sliding distance corresponding to the first sliding bar 31 according to the sliding operation, and calculates the second sliding distance corresponding to the second sliding bar 32 . Specifically, the processor 130 detects the user's sliding operation through the touch screen 110, and the sensing parameters of the sliding operation may include the sliding start coordinate and the sliding end coordinate. The processor 130 calculates the first sliding distance corresponding to the first sliding bar 31 and the second sliding distance corresponding to the second sliding bar 32 respectively according to the sliding start coordinate and the sliding end coordinate. For example, the processor 130 calculates the difference between the sliding end coordinate and the sliding start coordinate to generate the first sliding distance and the second sliding distance, respectively.

在本實施例中,響應於第一滑動距離大於或等於第二滑動距離,處理器130可判斷手持狀態為右手持握狀態。另外,響應於第一滑動距離小於第二滑動距離,處理器130可判斷手持狀態為左手持握狀態。 In this embodiment, in response to the first sliding distance being greater than or equal to the second sliding distance, the processor 130 may determine that the holding state is the right-hand holding state. In addition, in response to the first sliding distance being smaller than the second sliding distance, the processor 130 may determine that the holding state is the left-hand holding state.

圖4A與4B繪示根據本新型創作一實施例的虛擬按鍵的示意圖。在本實施例中,將利用按鍵類型為「按鍵」的虛擬按鍵進行說明。請參照圖4A與4B,為便於說明,假設第一虛擬按鍵包括多個第一按鍵41、42,並且第二虛擬按鍵包括多個第二按鍵43、44。其中,第一按鍵41、42顯示於觸控螢幕110上的右側區域,並且第二按鍵43、44顯示於觸控螢幕110上的左側區域。然而,本實施例的第一虛擬按鍵及第二虛擬按鍵可包括更多數量的按鍵,本新型創作不在此限制。 4A and 4B are schematic diagrams of virtual keys according to an embodiment of the present invention. In this embodiment, a virtual key whose key type is "key" will be used for description. Referring to FIGS. 4A and 4B , for the convenience of description, it is assumed that the first virtual key includes a plurality of first keys 41 and 42 , and the second virtual key includes a plurality of second keys 43 and 44 . The first buttons 41 and 42 are displayed in the right area of the touch screen 110 , and the second buttons 43 and 44 are displayed in the left area of the touch screen 110 . However, the first virtual key and the second virtual key in this embodiment may include a larger number of keys, and the invention is not limited thereto.

在本實施例中,觸控螢幕110會先顯示右側區域的第一 按鍵41、42,再顯示左側區域的第二按鍵43、44。請參照圖4A,第一按鍵41、42上可分別顯示數字「1」、「2」指示使用者按壓順序,但亦可以依序求設計為不顯示按壓順序的提示。本實施例可根據使用者按壓按鍵的觸控時間來判斷使用者握持電子裝置100的手持狀態。當使用者按壓顯示於觸控螢幕110右側區域的按鍵的觸控時間較短時,可判定使用者為右手握持電子裝置100。當使用者按壓顯示於觸控螢幕110左側區域的按鍵的觸控時間較短時,可判定使用者為左手握持電子裝置100。 In this embodiment, the touch screen 110 will first display the first area on the right side Press buttons 41, 42, and then display the second buttons 43, 44 in the left area. Referring to FIG. 4A , numbers “1” and “2” can be displayed on the first buttons 41 and 42 respectively to indicate the pressing sequence of the user, but it can also be designed in order not to display the prompting of the pressing sequence. In this embodiment, the holding state of the user holding the electronic device 100 can be determined according to the touch time of the user pressing the button. When the touch time of the user pressing the button displayed on the right area of the touch screen 110 is short, it can be determined that the user is holding the electronic device 100 with the right hand. When the touch time of the user pressing the button displayed on the left area of the touch screen 110 is short, it can be determined that the user is holding the electronic device 100 with the left hand.

具體來說,響應於偵測對應至第一按鍵41、42及第二按鍵43、44的按壓操作,處理器130會根據按壓操作計算對應至第一按鍵41、42的第一觸控時間及對應至第二按鍵43、44的第二觸控時間。具體來說,處理器130會透過觸控螢幕110偵測使用者的按壓操作,而按壓操作的感測參數可包括各個按鍵的按壓時間。接著,處理器130會根據各個按鍵的按壓時間分別計算對應至第一按鍵41、42的第一觸控時間及對應至第二按鍵43、44的第二觸控時間。 Specifically, in response to detecting the pressing operations corresponding to the first buttons 41 , 42 and the second buttons 43 , 44 , the processor 130 calculates the first touch time and time corresponding to the first buttons 41 , 42 according to the pressing operations. Corresponding to the second touch time of the second buttons 43 and 44 . Specifically, the processor 130 detects the user's pressing operation through the touch screen 110, and the sensing parameter of the pressing operation may include the pressing time of each button. Then, the processor 130 calculates the first touch time corresponding to the first keys 41 and 42 and the second touch time corresponding to the second keys 43 and 44 respectively according to the pressing time of each key.

在本實施例中,處理器130會計算第一按鍵41及第一按鍵42之間的差值以產生第一觸控時間,並計算第二按鍵43及第二按鍵44之間的差值以產生第二觸控時間。並且,響應於第一觸控時間大於或等於第二觸控時間,判斷手持狀態為右手持握狀態。另外,響應於第一觸控時間小於第二觸控時間,判斷手持狀態為左手持握狀態。 In this embodiment, the processor 130 calculates the difference between the first key 41 and the first key 42 to generate the first touch time, and calculates the difference between the second key 43 and the second key 44 to obtain the first touch time. A second touch time is generated. And, in response to the first touch time being greater than or equal to the second touch time, it is determined that the holding state is the right-hand holding state. In addition, in response to the first touch time being less than the second touch time, it is determined that the holding state is the left-hand holding state.

最後,在步驟S206中,處理器130根據手持狀態決定透過觸控螢幕110顯示功能選單於觸控螢幕110上的右側區域或左側區域。具體來說,若判定電子裝置100的手持狀態為右手持握狀態,則處理器130透過觸控螢幕110顯示功能選單於觸控螢幕110上的右側區域。若判定電子裝置100的手持狀態為左手持握狀態,則處理器130透過觸控螢幕110顯示功能選單於觸控螢幕110上的左側區域。 Finally, in step S206 , the processor 130 determines the right area or the left area on the touch screen 110 to display the function menu through the touch screen 110 according to the hand-held state. Specifically, if it is determined that the holding state of the electronic device 100 is the right-hand holding state, the processor 130 displays the function menu on the right area of the touch screen 110 through the touch screen 110 . If it is determined that the holding state of the electronic device 100 is the left-hand holding state, the processor 130 displays the function menu on the left area of the touch screen 110 through the touch screen 110 .

圖5A與5B繪示根據本新型創作一實施例的功能選單的示意圖。請參照圖5A,觸控螢幕110顯示功能選單51於觸控螢幕110上的右側區域。請參照圖5B,觸控螢幕110顯示功能選單52於觸控螢幕110上的左側區域。 5A and 5B are schematic diagrams of function menus according to an embodiment of the present invention. Referring to FIG. 5A , the touch screen 110 displays the function menu 51 on the right area of the touch screen 110 . Referring to FIG. 5B , the touch screen 110 displays the function menu 52 in the left area of the touch screen 110 .

綜上所述,本新型創作實施例提供的手持偵測與選單顯示方法及使用此方法的電子裝置,可基於偵測使用者對虛擬按鍵的操作來判斷使用者握持電子裝置的慣用手,並顯示功能選單於靠近慣用手的區域。藉此,可讓使用者以更為習慣的方式操作功能選單,從而改善使用者操作功能選單的體驗。 To sum up, the hand-held detection and menu display method and the electronic device using the method provided by the present invention can determine the user's dominant hand for holding the electronic device based on detecting the user's operation of the virtual key. And display the function menu in the area close to the dominant hand. In this way, the user can operate the function menu in a more accustomed manner, thereby improving the user's experience of operating the function menu.

雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露,任何所屬技術領域中具有通常知識者,在不脫離本揭露的精神和範圍內,當可作些許的更動與潤飾,故本揭露的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present disclosure has been disclosed above with examples, it is not intended to limit the present disclosure. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present disclosure. The scope of protection of the present disclosure shall be determined by the scope of the appended patent application.

100:電子裝置 100: Electronics

110:觸控螢幕 110: Touch screen

120:儲存媒體 120: Storage Media

130:處理器 130: Processor

Claims (5)

一種手持偵測與選單顯示電子裝置,包括: 觸控螢幕; 儲存媒體,儲存多個模組;以及 處理器,耦接所述觸控螢幕及所述儲存媒體,並存取該些模組以執行下列運作: 響應於偵測到一應用程式運作於所述電子裝置,透過所述觸控螢幕顯示多個虛擬按鍵; 響應於偵測到對應所述多個虛擬按鍵的按鍵操作,根據所述按鍵操作判斷握持所述電子裝置的一手持狀態;以及 根據所述手持狀態決定透過所述觸控螢幕顯示一功能選單於所述觸控螢幕上的右側區域或左側區域。 A handheld detection and menu display electronic device, comprising: touch screen; storage media, storing multiple modules; and The processor is coupled to the touch screen and the storage medium, and accesses the modules to perform the following operations: In response to detecting that an application is running on the electronic device, displaying a plurality of virtual keys through the touch screen; In response to detecting a key operation corresponding to the plurality of virtual keys, determining a holding state of the electronic device according to the key operation; and According to the holding state, it is determined to display a function menu on the right area or the left area on the touch screen through the touch screen. 如請求項1所述的手持偵測與選單顯示電子裝置,其中所述多個虛擬按鍵包括至少一第一虛擬按鍵及至少一第二虛擬按鍵,其中顯示所述多個虛擬按鍵的運作包括: 顯示所述第一虛擬按鍵於所述觸控螢幕上的所述右側區域,並顯示所述第二虛擬按鍵於所述觸控螢幕上的所述左側區域。 The handheld detection and menu display electronic device according to claim 1, wherein the plurality of virtual keys includes at least one first virtual key and at least one second virtual key, wherein the operation of displaying the plurality of virtual keys comprises: The first virtual key is displayed on the right area of the touch screen, and the second virtual key is displayed on the left area on the touch screen. 如請求項2所述的手持偵測與選單顯示電子裝置,其中所述第一虛擬按鍵包括第一滑動條,所述第二虛擬按鍵包括第二滑動條,並且根據所述按鍵操作判斷握持所述電子裝置的所述手持狀態的運作包括: 響應於偵測對應至所述第一滑動條及所述第二滑動條的滑動操作,根據所述滑動操作計算對應至所述第一滑動條的第一滑動速度,並計算對應至所述第二滑動條的第二滑動速度;以及 響應於所述第一滑動速度大於或等於所述第二滑動速度,判斷所述手持狀態為右手持握狀態, 響應於所述第一滑動速度小於所述第二滑動速度,判斷所述手持狀態為左手持握狀態。 The electronic device for hand-held detection and menu display according to claim 2, wherein the first virtual key comprises a first sliding bar, the second virtual key comprises a second sliding bar, and the holding is determined according to the key operation The operation of the handheld state of the electronic device includes: In response to detecting a sliding operation corresponding to the first sliding bar and the second sliding bar, calculate a first sliding speed corresponding to the first sliding bar according to the sliding operation, and calculate a first sliding speed corresponding to the first sliding bar. the second sliding speed of the two sliders; and In response to the first sliding speed being greater than or equal to the second sliding speed, judging that the holding state is a right-hand holding state, In response to the first sliding speed being lower than the second sliding speed, it is determined that the holding state is a left-hand holding state. 如請求項2所述的手持偵測與選單顯示電子裝置,其中所述第一虛擬按鍵包括第一滑動條,所述第二虛擬按鍵包括第二滑動條,並且根據所述按鍵操作判斷握持所述電子裝置的所述手持狀態的運作包括: 響應於偵測對應至所述第一滑動條及所述第二滑動條的滑動操作,根據所述滑動操作計算對應至所述第一滑動條的第一滑動距離,並計算對應至所述第二滑動條的第二滑動距離;以及 響應於所述第一滑動距離大於或等於所述第二滑動距離,判斷所述手持狀態為右手持握狀態, 響應於所述第一滑動距離小於所述第二滑動距離,判斷所述手持狀態為左手持握狀態。 The electronic device for hand-held detection and menu display according to claim 2, wherein the first virtual key comprises a first sliding bar, the second virtual key comprises a second sliding bar, and the holding is determined according to the key operation The operation of the handheld state of the electronic device includes: In response to detecting a sliding operation corresponding to the first sliding bar and the second sliding bar, calculate a first sliding distance corresponding to the first sliding bar according to the sliding operation, and calculate a first sliding distance corresponding to the first sliding bar. the second sliding distance of the two sliders; and In response to the first sliding distance being greater than or equal to the second sliding distance, judging that the holding state is a right-hand holding state, In response to the first sliding distance being smaller than the second sliding distance, it is determined that the holding state is a left-hand holding state. 如請求項2所述的手持偵測與選單顯示電子裝置,其中所述第一虛擬按鍵包括多個第一按鍵,所述第二虛擬按鍵包括多個第二按鍵,並且根據所述按鍵操作判斷握持所述電子裝置的所述手持狀態的運作包括: 響應於偵測對應至所述多個第一按鍵及所述多個第二按鍵按壓操作,根據所述按壓操作計算對應至所述多個第一按鍵的第一觸控時間及對應至所述多個第二按鍵的第二觸控時間;以及 響應於所述第一觸控時間大於或等於所述第二觸控時間,判斷所述手持狀態為右手持握狀態, 響應於所述第一觸控時間小於所述第二觸控時間,判斷所述手持狀態為左手持握狀態。 The handheld detection and menu display electronic device according to claim 2, wherein the first virtual key includes a plurality of first keys, the second virtual key includes a plurality of second keys, and the judgment is made according to the key operation The operation of holding the hand-held state of the electronic device includes: In response to detecting a pressing operation corresponding to the plurality of first buttons and the plurality of second buttons, calculating a first touch time corresponding to the plurality of first buttons and corresponding to the pressing operation according to the pressing operation the second touch time of the plurality of second keys; and In response to the first touch time being greater than or equal to the second touch time, determining that the holding state is a right-hand holding state, In response to the first touch time being less than the second touch time, it is determined that the holding state is a left-hand holding state.
TW110207984U 2021-07-08 2021-07-08 Hand-held detection and menu display electronic apparatus TWM621728U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110207984U TWM621728U (en) 2021-07-08 2021-07-08 Hand-held detection and menu display electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110207984U TWM621728U (en) 2021-07-08 2021-07-08 Hand-held detection and menu display electronic apparatus

Publications (1)

Publication Number Publication Date
TWM621728U true TWM621728U (en) 2022-01-01

Family

ID=80784876

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110207984U TWM621728U (en) 2021-07-08 2021-07-08 Hand-held detection and menu display electronic apparatus

Country Status (1)

Country Link
TW (1) TWM621728U (en)

Similar Documents

Publication Publication Date Title
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
US9740321B2 (en) Method for operating application program and mobile electronic device using the same
JP5983503B2 (en) Information processing apparatus and program
KR101597844B1 (en) Interpreting ambiguous inputs on a touch-screen
US8504934B1 (en) Displaying a graphical keyboard
TWI428812B (en) Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method
TWI541716B (en) Unlock method of touch screen
US20110122080A1 (en) Electronic device, display control method, and recording medium
US20100177121A1 (en) Information processing apparatus, information processing method, and program
US20140210742A1 (en) Emulating pressure sensitivity on multi-touch devices
TWI463355B (en) Signal processing apparatus, signal processing method and selecting method of user-interface icon for multi-touch interface
TWI510970B (en) Electronic device and displaying method for software keyboard thereof
JP2011053832A (en) Information processing apparatus and information processing method, and program
JP2012058883A (en) Information processor, information processing method and computer program
US8436829B1 (en) Touchscreen keyboard simulation for performance evaluation
WO2018177157A1 (en) Character input method of mobile terminal and mobile terminal
CN106681640B (en) Screen display control method of mobile terminal and mobile terminal
WO2016183912A1 (en) Menu layout arrangement method and apparatus
US20150006161A1 (en) Information processing method and electronic device
TWI288343B (en) Touch panel keyboard of a portable device and control method thereof
TWM621728U (en) Hand-held detection and menu display electronic apparatus
JP2016066254A (en) Electronic device with touch detection apparatus
TW201504931A (en) Electronic device and human-computer interaction method
CN104375659B (en) A kind of information processing method and electronic equipment
WO2021139096A1 (en) Touch method, terminal, and storage medium