TWI460612B - Input System and Method by Using a Soft Keyboard - Google Patents

Input System and Method by Using a Soft Keyboard Download PDF

Info

Publication number
TWI460612B
TWI460612B TW098146540A TW98146540A TWI460612B TW I460612 B TWI460612 B TW I460612B TW 098146540 A TW098146540 A TW 098146540A TW 98146540 A TW98146540 A TW 98146540A TW I460612 B TWI460612 B TW I460612B
Authority
TW
Taiwan
Prior art keywords
soft keyboard
electronic device
moving direction
sliding direction
touch screen
Prior art date
Application number
TW098146540A
Other languages
Chinese (zh)
Other versions
TW201122918A (en
Inventor
Tso Tien Chen
Original Assignee
Fih Hong Kong Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fih Hong Kong Ltd filed Critical Fih Hong Kong Ltd
Priority to TW098146540A priority Critical patent/TWI460612B/en
Publication of TW201122918A publication Critical patent/TW201122918A/en
Application granted granted Critical
Publication of TWI460612B publication Critical patent/TWI460612B/en

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Description

軟鍵盤輸入系統及方法Soft keyboard input system and method

本發明涉及一種輸入系統及方法,特別涉及一種軟鍵盤輸入系統及方法。The present invention relates to an input system and method, and more particularly to a soft keyboard input system and method.

越來越多的電子裝置配備了觸摸屏,以實現方便快捷的輸入和功能選項的選擇。然而,由於對成本的控制及實現方便攜帶的目的,通常可擕式電子裝置所配備的觸摸屏大小有限。若用戶需要利用所述觸摸屏上顯示的軟鍵盤點選或者按壓多個按鍵來輸入資料時,過小的按鍵不便於實現該輸入。More and more electronic devices are equipped with touch screens for easy and fast input and selection of function options. However, due to the control of cost and the convenience of carrying, the touch screen of the portable electronic device is usually limited in size. If the user needs to use the soft keyboard displayed on the touch screen to select or press a plurality of buttons to input data, the too small button is not convenient to implement the input.

鑒於以上內容,有必要提供一種軟鍵盤輸入系統及方法,其利用觸摸屏的有限的面積放大軟鍵盤的各個按鍵,從而可方便快捷的進行資料登錄。In view of the above, it is necessary to provide a soft keyboard input system and method, which utilizes the limited area of the touch screen to amplify the keys of the soft keyboard, thereby facilitating data entry.

一種軟鍵盤輸入系統,安裝於電子裝置中,該電子裝置包括觸摸屏,該系統包括:設置模組,用於設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述電子裝置的第一移動方向對應於軟鍵盤的第一部分以及第二移動方向對應於軟鍵盤的第二部分;顯示模組,用於在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分;重力感應器,用於在所述電子裝置處於按鍵輸入狀態時偵測所述電子裝置的移動方向;判斷模組,用於判斷所述電子裝置的移動方向是否為第一移動方向或第二移動方向,若是第一移動方向或是第二移動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該移動方向;及切換模組,用於在所述觸摸屏上顯示的軟鍵盤的當前部分與所述電子裝置的移動方向不對應時,將軟鍵盤的當前部分切換至與所述電子裝置的移動方向所對應的第一部分或者第二部分。A soft keyboard input system is installed in an electronic device, the electronic device includes a touch screen, and the system includes: a setting module, configured to set a button configuration of the soft keyboard, and the soft keyboard is divided into a first part and a second part, and is set The first moving direction of the electronic device corresponds to the first portion of the soft keyboard and the second moving direction corresponds to the second portion of the soft keyboard; the display module is configured to: when the electronic device is in the key input state, a first part of the soft keyboard is displayed on the touch screen; a gravity sensor is configured to detect a moving direction of the electronic device when the electronic device is in a button input state; and a determining module is configured to determine whether the moving direction of the electronic device is a first moving direction or a second moving direction, if it is the first moving direction or the second moving direction, determining whether the current portion of the soft keyboard displayed on the touch screen corresponds to the moving direction; and the switching module is configured to: When the current portion of the soft keyboard displayed on the touch screen does not correspond to the moving direction of the electronic device, the soft keyboard is Or the part of the handover to the first portion and the second portion of the moving direction of the corresponding electronic device.

一種軟鍵盤輸入系統,安裝於電子裝置中,該電子裝置包括觸摸屏,該系統包括:設置模組,用於設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述觸摸屏上的第一滑動方向對應於軟鍵盤的第一部分以及第二滑動方向對應於軟鍵盤的第二部分;顯示模組,用於在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分;偵測模組,用於在所述電子裝置處於按鍵輸入狀態時偵測觸碰動作在所述觸摸屏上的滑動方向;判斷模組,用於判斷該滑動方向是否為第一滑動方向或第二滑動方向,若是第一滑動方向或是第二滑動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該滑動方向;及切換模組,用於在所述觸摸屏上顯示的軟鍵盤的當前部分與所述滑動方向不對應時,將軟鍵盤的當前部分切換至與所述滑動方向所對應的第一部分或者第二部分。A soft keyboard input system is installed in an electronic device, the electronic device includes a touch screen, and the system includes: a setting module, configured to set a button configuration of the soft keyboard, and the soft keyboard is divided into a first part and a second part, and is set The first sliding direction on the touch screen corresponds to the first portion of the soft keyboard and the second sliding direction corresponds to the second portion of the soft keyboard; the display module is configured to: when the electronic device is in the key input state, The first part of the soft keyboard is displayed on the touch screen; the detecting module is configured to detect a sliding direction of the touch action on the touch screen when the electronic device is in the button input state; and the determining module is configured to determine the sliding direction Whether it is the first sliding direction or the second sliding direction, if it is the first sliding direction or the second sliding direction, determining whether the current portion of the soft keyboard displayed on the touch screen corresponds to the sliding direction; and switching the module When the current portion of the soft keyboard displayed on the touch screen does not correspond to the sliding direction, the current portion of the soft keyboard is switched to Said first portion or the second portion corresponding to the sliding direction.

一種軟鍵盤輸入方法,應用於電子裝置中,該電子裝置包括觸摸屏,該方法包括如下步驟:設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述電子裝置的第一移動方向對應於軟鍵盤的第一部分以及第二移動方向對應於軟鍵盤的第二部分;在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分,並啟動重力感應器以偵測所述電子裝置的移動方向;判斷所述電子裝置的移動方向是否為第一移動方向或第二移動方向;若是第一移動方向或是第二移動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該移動方向;及若所述觸摸屏上顯示的軟鍵盤的當前部分與所述電子裝置的移動方向不對應,將軟鍵盤的當前部分切換至與所述電子裝置的移動方向所對應的第一部分或者第二部分。A soft keyboard input method is applied to an electronic device, the electronic device comprising a touch screen, the method comprising the steps of: setting a button configuration of the soft keyboard, dividing the soft keyboard into the first part and the second part, and setting the electronic device The first moving direction corresponds to the first portion of the soft keyboard and the second moving direction corresponds to the second portion of the soft keyboard; when the electronic device is in the key input state, the first portion of the soft keyboard is displayed on the touch screen, and A gravity sensor is activated to detect a moving direction of the electronic device; a direction of movement of the electronic device is determined to be a first moving direction or a second moving direction; and a first moving direction or a second moving direction is determined Whether the current portion of the soft keyboard displayed on the touch screen corresponds to the moving direction; and if the current portion of the soft keyboard displayed on the touch screen does not correspond to the moving direction of the electronic device, switching the current portion of the soft keyboard to a first portion or a second portion corresponding to a moving direction of the electronic device.

一種軟鍵盤輸入方法,應用於電子裝置中,該電子裝置包括觸摸屏,該方法包括如下步驟:設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述觸摸屏上的第一滑動方向對應於軟鍵盤的第一部分以及第二滑動方向對應於軟鍵盤的第二部分;在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分,並偵測觸碰動作在所述觸摸屏上的滑動方向;判斷該滑動方向是否為第一滑動方向或第二滑動方向;若是第一滑動方向或是第二滑動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該滑動方向;及若所述觸摸屏上顯示的軟鍵盤的當前部分與所述滑動方向不對應時,將軟鍵盤的當前部分切換至與所述滑動方向所對應的第一部分或者第二部分。A soft keyboard input method is applied to an electronic device, the electronic device comprising a touch screen, the method comprising the steps of: setting a button configuration of the soft keyboard, dividing the soft keyboard into the first part and the second part, and setting the touch screen The first sliding direction corresponds to the first portion of the soft keyboard and the second sliding direction corresponds to the second portion of the soft keyboard; when the electronic device is in the key input state, the first portion of the soft keyboard is displayed on the touch screen, and Detecting a sliding direction of the touch action on the touch screen; determining whether the sliding direction is a first sliding direction or a second sliding direction; and if the first sliding direction or the second sliding direction, determining the displayed on the touch screen Whether the current portion of the soft keyboard corresponds to the sliding direction; and if the current portion of the soft keyboard displayed on the touch screen does not correspond to the sliding direction, switching the current portion of the soft keyboard to correspond to the sliding direction The first part or the second part.

相較於習知技術,所述的軟鍵盤輸入系統及方法可利用觸摸屏的有限的面積放大軟鍵盤的各個按鍵,從而方便快捷的進行資料登錄。Compared with the prior art, the soft keyboard input system and method can enlarge the keys of the soft keyboard by using the limited area of the touch screen, thereby facilitating data registration conveniently and quickly.

如圖1所示,是本發明軟鍵盤輸入系統較佳實施方式的功能模組圖。所述的軟鍵盤輸入系統2安裝並運行在電子裝置1中。所述的電子裝置1可以是手機、個人數位助理(personal digital assistant,PDA)、掌上電腦等電子裝置。FIG. 1 is a functional block diagram of a preferred embodiment of the soft keyboard input system of the present invention. The soft keyboard input system 2 is installed and operated in the electronic device 1. The electronic device 1 can be an electronic device such as a mobile phone, a personal digital assistant (PDA), or a palmtop computer.

所述的電子裝置1還包括處理器10、儲存裝置12以及觸摸屏14。所述的處理器10用於執行所述軟鍵盤輸入系統2以及所述電子裝置1內的其他應用程式,例如:作業系統等。所述的儲存裝置12可以內置於所述電子裝置1,還可以外接於該電子裝置1,如SM卡(Smart Card,智慧卡)、SD卡(Secure Digital Card,安全數位卡)等。所述的儲存裝置12用於儲存各類資料,例如:簡訊、郵件、聯繫人資訊、以及利用所述的軟鍵盤輸入系統2所設置與獲取的資料等。The electronic device 1 further includes a processor 10, a storage device 12, and a touch screen 14. The processor 10 is configured to execute the soft keyboard input system 2 and other applications in the electronic device 1, such as an operating system. The storage device 12 can be built in the electronic device 1 and can be externally connected to the electronic device 1, such as a SIM card (Smart Card), an SD card (Secure Digital Card), and the like. The storage device 12 is configured to store various types of materials, such as a text message, a mail, a contact information, and information set and acquired by the soft keyboard input system 2.

在本較佳實施方式中,所述的軟鍵盤輸入系統2用於對所述電子裝置1的軟鍵盤進行按鍵配置,從而放大各個按鍵,以便用戶可輕易藉由觸控筆或手指按壓按鍵實現資訊的輸入。In the preferred embodiment, the soft keyboard input system 2 is configured to perform button configuration on the soft keyboard of the electronic device 1, thereby amplifying each button so that the user can easily press the button with a stylus or a finger. Input of information.

在本發明的第一實施方式中,所述的軟鍵盤輸入系統2主要包括設置模組20、顯示模組22、重力感應器24、判斷模組26以及切換模組28。In the first embodiment of the present invention, the soft keyboard input system 2 mainly includes a setting module 20, a display module 22, a gravity sensor 24, a judging module 26, and a switching module 28.

所述的設置模組20,用於設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分。如圖2所示的傳統鍵盤的按鍵設置示意圖,通常鍵盤會包括26個字母鍵、10個數位鍵、多個功能鍵及多個符號鍵。例如,如圖3所示的為應用於本發明的軟鍵盤按鍵設置示意圖。在其他實施方式中,軟鍵盤包括的各類按鍵可根據用戶需求或者使用習慣進行設置。The setting module 20 is configured to set a button configuration of the soft keyboard, and the soft keyboard is divided into a first part and a second part. As shown in FIG. 2, the keyboard setting diagram of the conventional keyboard generally includes 26 alphabet keys, 10 digit keys, a plurality of function keys, and a plurality of symbol keys. For example, as shown in FIG. 3 is a schematic diagram of a soft keyboard button setting applied to the present invention. In other embodiments, the various keys included in the soft keyboard can be set according to user needs or usage habits.

在本實施方式中,所述的設置模組20可將如圖3所示的軟鍵盤切分成左、右兩部分或者上、下兩部分。例如,參考圖4、圖5所示,可將所述軟鍵盤切分成左、右兩部分,其中,圖4所示為軟鍵盤的第一部分按鍵設置,圖5所示為軟鍵盤的第二部分按鍵設置示意圖。所述軟鍵盤的第一部分及第二部分分別包括多個字母鍵、數位元鍵以及功能鍵。所述功能鍵可以是,但不限於,“Caps Lock”鍵、“Shift”鍵、空白鍵、回車鍵、刪除鍵等。In the embodiment, the setting module 20 can divide the soft keyboard shown in FIG. 3 into two parts, left and right or upper and lower parts. For example, referring to FIG. 4 and FIG. 5, the soft keyboard can be divided into two parts, left and right. FIG. 4 shows the first part of the soft keyboard, and FIG. 5 shows the second part of the soft keyboard. A schematic diagram of some button settings. The first portion and the second portion of the soft keyboard respectively include a plurality of letter keys, digit keys, and function keys. The function keys may be, but are not limited to, a "Caps Lock" key, a "Shift" key, a blank key, an enter key, a delete key, and the like.

所述的設置模組20,還用於設置所述電子裝置1的第一移動方向對應於軟鍵盤的第一部分以及第二移動方向對應於軟鍵盤的第二部分。例如,當所述軟鍵盤被分為左、右兩部分時,對應於軟鍵盤的第一部分(即左半部分)的移動方向是左,對應於軟鍵盤的第二部分(即右半部分)的移動方向是右。又如,當所述軟鍵盤被分為上、下兩部分時,對應於軟鍵盤的第一部分(即上半部分)的移動方向是上,對應於軟鍵盤的第二部分(即下半部分)的移動方向是下。The setting module 20 is further configured to set the first moving direction of the electronic device 1 to correspond to the first portion of the soft keyboard and the second moving direction to correspond to the second portion of the soft keyboard. For example, when the soft keyboard is divided into left and right portions, the moving direction corresponding to the first portion (ie, the left half) of the soft keyboard is left, corresponding to the second portion of the soft keyboard (ie, the right half). The direction of movement is right. For another example, when the soft keyboard is divided into upper and lower parts, the moving direction corresponding to the first part (ie, the upper part) of the soft keyboard is upper, corresponding to the second part of the soft keyboard (ie, the lower part) The direction of movement is down.

所述的顯示模組22,用於在所述電子裝置1處於按鍵輸入狀態時,於所述觸摸屏14上顯示軟鍵盤的第一部分。例如,當用戶利用所述的電子裝置1輸入資訊、郵件等資訊時,則所述的電子裝置1處於按鍵輸入狀態。The display module 22 is configured to display a first portion of the soft keyboard on the touch screen 14 when the electronic device 1 is in a button input state. For example, when the user inputs information such as information, mail, or the like by using the electronic device 1, the electronic device 1 is in a key input state.

所述的重力感應器(G-sensor)24,用於在所述電子裝置1處於按鍵輸入狀態時偵測所述電子裝置1的移動方向。該重力感應器24藉由三軸(如X、Y、Z軸)確認所述電子裝置1移動的加速度,以及移動的方向。例如,用戶可手持所述電子裝置1進行左右移動以切換軟鍵盤的當前部分,也可藉由甩屏實現該切換。The gravity sensor (G-sensor) 24 is configured to detect a moving direction of the electronic device 1 when the electronic device 1 is in a button input state. The gravity sensor 24 confirms the acceleration of the movement of the electronic device 1 and the direction of movement by three axes (such as X, Y, Z axes). For example, the user can hold the electronic device 1 to move left and right to switch the current portion of the soft keyboard, and the switching can also be realized by the screen.

所述的判斷模組26,用於判斷所述電子裝置1的移動方向是否為第一移動方向或第二移動方向,若是第一移動方向或是第二移動方向,則判斷所述觸摸屏14上顯示的軟鍵盤的當前部分是否對應於該移動方向。The determining module 26 is configured to determine whether the moving direction of the electronic device 1 is the first moving direction or the second moving direction, and if it is the first moving direction or the second moving direction, determining the touch screen 14 Whether the current portion of the displayed soft keyboard corresponds to the direction of movement.

所述的切換模組28,用於在所述觸摸屏14上顯示的軟鍵盤的當前部分與所述電子裝置1的移動方向不對應時,將軟鍵盤的當前部分切換至與所述電子裝置1的移動方向所對應的第一部分或者第二部分。例如,所述的切換模組28在所述電子裝置1往右或下移動時,將當前顯示的軟鍵盤的第一部分切換至第二部分,並且在所述電子裝置1往左或上移動時,將當前顯示的軟鍵盤的第二部分切換至第一部分。The switching module 28 is configured to switch the current portion of the soft keyboard to the electronic device 1 when the current portion of the soft keyboard displayed on the touch screen 14 does not correspond to the moving direction of the electronic device 1 The first part or the second part corresponding to the moving direction. For example, when the electronic device 1 moves to the right or the bottom, the switching module 28 switches the first portion of the currently displayed soft keyboard to the second portion, and when the electronic device 1 moves to the left or the upper side. , switch the second part of the currently displayed soft keyboard to the first part.

在本發明的第二實施方式中,所述的軟鍵盤輸入系統2還包括偵測模組29。在第二實施方式中,用戶無需移動所述的電子裝置1以實現軟鍵盤的第一部分與第二部分的切換,只需在所述觸摸屏14進行滑動即可實現該切換。In the second embodiment of the present invention, the soft keyboard input system 2 further includes a detection module 29. In the second embodiment, the user does not need to move the electronic device 1 to implement switching of the first portion and the second portion of the soft keyboard, and the switching can be realized only by sliding the touch screen 14.

首先,所述的設置模組20,進一步用於設置所述觸摸屏14上的第一滑動方向對應於軟鍵盤的第一部分以及第二滑動方向對應於軟鍵盤的第二部分。First, the setting module 20 is further configured to set a first sliding direction on the touch screen 14 corresponding to the first portion of the soft keyboard and a second sliding direction corresponding to the second portion of the soft keyboard.

所述的顯示模組22在所述電子裝置1處於按鍵輸入狀態時,於所述觸摸屏14上顯示軟鍵盤的第一部分。The display module 22 displays the first portion of the soft keyboard on the touch screen 14 when the electronic device 1 is in the button input state.

所述的偵測模組29,用於在所述電子裝置1處於按鍵輸入狀態時偵測觸碰動作在所述觸摸屏14上的滑動方向。例如,所述偵測模組29可藉由偵測該觸碰動作的起點及終點的座標來判斷相應的滑動方向。The detecting module 29 is configured to detect a sliding direction of the touch action on the touch screen 14 when the electronic device 1 is in a button input state. For example, the detecting module 29 can determine the corresponding sliding direction by detecting the coordinates of the start point and the end point of the touch action.

所述的判斷模組26判斷該滑動方向是否為第一滑動方向或第二滑動方向,若是第一滑動方向或是第二滑動方向,則判斷所述觸摸屏14上顯示的軟鍵盤的當前部分是否對應於該滑動方向。The determining module 26 determines whether the sliding direction is the first sliding direction or the second sliding direction. If the first sliding direction or the second sliding direction is, determining whether the current portion of the soft keyboard displayed on the touch screen 14 is Corresponds to the sliding direction.

所述的切換模組28在所述觸摸屏14上顯示的軟鍵盤的當前部分與所述滑動方向不對應時,將軟鍵盤的當前部分切換至與所述滑動方向所對應的第一部分或者第二部分。When the current portion of the soft keyboard displayed on the touch screen 14 does not correspond to the sliding direction, the switching module 28 switches the current portion of the soft keyboard to the first portion or the second corresponding to the sliding direction. section.

如圖6所示,是本發明軟鍵盤輸入方法較佳實施方式的流程圖。首先,步驟S2,所述的設置模組20設置所述電子裝置1內軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分。所述的設置模組20可將如圖3所示的軟鍵盤切分成左、右兩部分或者上、下兩部分。FIG. 6 is a flow chart of a preferred embodiment of the soft keyboard input method of the present invention. First, in step S2, the setting module 20 sets a button configuration of the soft keyboard in the electronic device 1, and the soft keyboard is divided into a first part and a second part. The setting module 20 can cut the soft keyboard shown in FIG. 3 into two parts, left and right or upper and lower parts.

步驟S4,所述的設置模組20設置所述電子裝置1的第一移動方向對應於軟鍵盤的第一部分以及第二移動方向對應於軟鍵盤的第二部分。例如,當所述軟鍵盤被分為左、右兩部分時,對應於軟鍵盤的第一部分(即左半部分)的移動方向是左,對應於軟鍵盤的第二部分(即右半部分)的移動方向是右。In step S4, the setting module 20 sets the first moving direction of the electronic device 1 corresponding to the first portion of the soft keyboard and the second moving direction corresponds to the second portion of the soft keyboard. For example, when the soft keyboard is divided into left and right portions, the moving direction corresponding to the first portion (ie, the left half) of the soft keyboard is left, corresponding to the second portion of the soft keyboard (ie, the right half). The direction of movement is right.

在所述電子裝置1處於按鍵輸入狀態時,於步驟S6,所述的顯示模組22於所述觸摸屏14上顯示軟鍵盤的第一部分。When the electronic device 1 is in the button input state, the display module 22 displays the first portion of the soft keyboard on the touch screen 14 in step S6.

步驟S8,所述的重力感應器24啟動,並且偵測所述電子裝置1的移動方向。In step S8, the gravity sensor 24 is activated, and the moving direction of the electronic device 1 is detected.

步驟S10,所述的切換模組28根據所述電子裝置1的移動方向切換所述觸摸屏14上顯示的軟鍵盤的第一部分或第二部分以對應於該移動方向,然後,結束本流程。針對步驟S10的詳細流程可參考如圖7所示的流程。In step S10, the switching module 28 switches the first portion or the second portion of the soft keyboard displayed on the touch screen 14 according to the moving direction of the electronic device 1 to correspond to the moving direction, and then ends the process. For the detailed process of step S10, reference may be made to the flow shown in FIG.

如圖7所示,是本發明軟鍵盤輸入方法較佳實施方式的步驟S10的細化流程圖。步驟S100,所述的判斷模組26判斷所述電子裝置1的移動方向是否為第一移動方向或第二移動方向。若不是第一移動方向或是第二移動方向,則流程返回至步驟S100以繼續判斷下一個移動方向。As shown in FIG. 7, it is a detailed flowchart of step S10 of the preferred embodiment of the soft keyboard input method of the present invention. In step S100, the determining module 26 determines whether the moving direction of the electronic device 1 is the first moving direction or the second moving direction. If it is not the first moving direction or the second moving direction, the flow returns to step S100 to continue to judge the next moving direction.

若是第一移動方向或是第二移動方向,於步驟S102,所述的判斷模組26判斷所述觸摸屏14上顯示的軟鍵盤的當前部分是否對應於該移動方向。若所述觸摸屏14上顯示的軟鍵盤的當前部分對應於該移動方向,則流程返回至步驟S100。If it is the first moving direction or the second moving direction, in step S102, the determining module 26 determines whether the current portion of the soft keyboard displayed on the touch screen 14 corresponds to the moving direction. If the current portion of the soft keyboard displayed on the touch screen 14 corresponds to the moving direction, the flow returns to step S100.

若所述觸摸屏14上顯示的軟鍵盤的當前部分不對應於該移動方向,於步驟S104,所述的切換模組28將軟鍵盤的當前部分切換至與所述電子裝置1的移動方向所對應的第一部分或者第二部分。If the current portion of the soft keyboard displayed on the touch screen 14 does not correspond to the moving direction, the switching module 28 switches the current portion of the soft keyboard to correspond to the moving direction of the electronic device 1 in step S104. The first part or the second part.

步驟S106,所述的判斷模組26判斷是否輸入完畢,例如,該按鍵輸入狀態是否退出。若尚未輸入完畢,則流程返回至步驟S100。若輸入完畢,則結束本流程。In step S106, the determining module 26 determines whether the input is completed, for example, whether the button input state is exited. If the input has not been completed, the flow returns to step S100. If the input is completed, the process ends.

圖6及圖7是針對所述電子裝置1的移動方向的判斷來實現軟鍵盤的切換,在其他實施方式中,還可藉由用戶在所述觸摸屏14上的滑動方向的判斷來實現該切換。6 and FIG. 7 are diagrams for realizing the switching of the soft keyboard for the determination of the moving direction of the electronic device 1. In other embodiments, the switching may be implemented by the user's determination of the sliding direction on the touch screen 14. .

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,本發明之範圍並不以上述實施方式為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application.

1‧‧‧電子裝置1‧‧‧Electronic device

10‧‧‧處理器10‧‧‧ processor

12‧‧‧儲存裝置12‧‧‧Storage device

14‧‧‧觸摸屏14‧‧‧ touch screen

2‧‧‧軟鍵盤輸入系統2‧‧‧Soft keyboard input system

20‧‧‧設置模組20‧‧‧Setup module

22‧‧‧顯示模組22‧‧‧Display module

24‧‧‧重力感應器24‧‧‧ Gravity sensor

26‧‧‧判斷模組26‧‧‧Judgement module

28‧‧‧切換模組28‧‧‧Switching module

29‧‧‧偵測模組29‧‧‧Detection module

圖1是本發明軟鍵盤輸入系統的較佳實施方式的功能模組圖。1 is a functional block diagram of a preferred embodiment of a soft keyboard input system of the present invention.

圖2是本發明軟鍵盤輸入方法較佳實施方式的傳統鍵盤的按鍵設置示意圖。2 is a schematic diagram showing the setting of a button of a conventional keyboard according to a preferred embodiment of the soft keyboard input method of the present invention.

圖3是本發明軟鍵盤輸入方法較佳實施方式的軟鍵盤的按鍵設置示意圖。3 is a schematic diagram of button setting of a soft keyboard according to a preferred embodiment of the soft keyboard input method of the present invention.

圖4是本發明軟鍵盤輸入方法較佳實施方式的軟鍵盤第一部分按鍵示意圖。4 is a schematic diagram of a first part of a soft keyboard of a preferred embodiment of the soft keyboard input method of the present invention.

圖5是本發明軟鍵盤輸入方法較佳實施方式的軟鍵盤第二部分按鍵示意圖。FIG. 5 is a schematic diagram of a second part of a soft keyboard according to a preferred embodiment of the soft keyboard input method of the present invention.

圖6是本發明軟鍵盤輸入方法較佳實施方式的流程圖。6 is a flow chart of a preferred embodiment of a soft keyboard input method of the present invention.

圖7是本發明軟鍵盤輸入方法較佳實施方式的步驟S10的細化流程圖。FIG. 7 is a detailed flowchart of step S10 of the preferred embodiment of the soft keyboard input method of the present invention.

1‧‧‧電子裝置 1‧‧‧Electronic device

10‧‧‧處理器 10‧‧‧ processor

12‧‧‧儲存裝置 12‧‧‧Storage device

14‧‧‧觸摸屏 14‧‧‧ touch screen

2‧‧‧軟鍵盤輸入系統 2‧‧‧Soft keyboard input system

20‧‧‧設置模組 20‧‧‧Setup module

22‧‧‧顯示模組 22‧‧‧Display module

24‧‧‧重力感應器 24‧‧‧ Gravity sensor

26‧‧‧判斷模組 26‧‧‧Judgement module

28‧‧‧切換模組 28‧‧‧Switching module

29‧‧‧偵測模組 29‧‧‧Detection module

Claims (10)

一種軟鍵盤輸入系統,安裝於電子裝置中,該電子裝置包括觸摸屏,該系統包括:
設置模組,用於設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述電子裝置的第一移動方向對應於軟鍵盤的第一部分以及第二移動方向對應於軟鍵盤的第二部分;
顯示模組,用於在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分;
重力感應器,用於在所述電子裝置處於按鍵輸入狀態時偵測所述電子裝置的移動方向;
判斷模組,用於判斷所述電子裝置的移動方向是否為第一移動方向或第二移動方向,若是第一移動方向或是第二移動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該移動方向;及
切換模組,用於在所述觸摸屏上顯示的軟鍵盤的當前部分與所述電子裝置的移動方向不對應時,將軟鍵盤的當前部分切換至與所述電子裝置的移動方向所對應的第一部分或者第二部分。
A soft keyboard input system is installed in an electronic device, the electronic device includes a touch screen, and the system includes:
a setting module, configured to set a button configuration of the soft keyboard, divide the soft keyboard into the first part and the second part, and set the first moving direction of the electronic device to correspond to the first part of the soft keyboard and the second moving direction The second part of the soft keyboard;
a display module, configured to display a first portion of the soft keyboard on the touch screen when the electronic device is in a button input state;
a gravity sensor, configured to detect a moving direction of the electronic device when the electronic device is in a button input state;
a determining module, configured to determine whether a moving direction of the electronic device is a first moving direction or a second moving direction, and if it is a first moving direction or a second moving direction, determining a current state of the soft keyboard displayed on the touch screen Whether the portion corresponds to the moving direction; and the switching module, when the current portion of the soft keyboard displayed on the touch screen does not correspond to the moving direction of the electronic device, switching the current portion of the soft keyboard to the The first portion or the second portion corresponding to the moving direction of the electronic device.
如申請專利範圍第1項所述的軟鍵盤輸入系統,所述軟鍵盤的第一部分是左半部分,第二部分是右半部分,對應於軟鍵盤的第一部分的移動方向是左,對應於軟鍵盤的第二部分的移動方向是右,所述的切換模組在所述電子裝置往右移動時,將當前顯示的軟鍵盤的第一部分切換至第二部分,並且在所述電子裝置往左移動時,將當前顯示的軟鍵盤的第二部分切換至第一部分。The soft keyboard input system according to claim 1, wherein the first part of the soft keyboard is a left half, and the second part is a right half, and the moving direction of the first part corresponding to the soft keyboard is left, corresponding to The moving direction of the second part of the soft keyboard is right, the switching module switches the first part of the currently displayed soft keyboard to the second part when the electronic device moves to the right, and the electronic device goes to When moving left, switch the second part of the currently displayed soft keyboard to the first part. 如申請專利範圍第1項所述的軟鍵盤輸入系統,所述軟鍵盤的第一部分是上半部分,第二部分是下半部分,對應於軟鍵盤的第一部分的移動方向是上,對應於軟鍵盤的第二部分的移動方向是下,所述的切換模組在所述電子裝置往下移動時,將當前顯示的軟鍵盤的第一部分切換至第二部分,並且在所述電子裝置往上移動時,將當前顯示的軟鍵盤的第二部分切換至第一部分。The soft keyboard input system according to claim 1, wherein the first part of the soft keyboard is the upper part, and the second part is the lower part, and the moving direction of the first part corresponding to the soft keyboard is upper, corresponding to The moving direction of the second part of the soft keyboard is lower. When the electronic device moves down, the switching module switches the first part of the currently displayed soft keyboard to the second part, and the electronic device goes to When moving up, switch the second part of the currently displayed soft keyboard to the first part. 一種軟鍵盤輸入系統,安裝於電子裝置中,該電子裝置包括觸摸屏,該系統包括:
設置模組,用於設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述觸摸屏上的第一滑動方向對應於軟鍵盤的第一部分以及第二滑動方向對應於軟鍵盤的第二部分;
顯示模組,用於在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分;
偵測模組,用於在所述電子裝置處於按鍵輸入狀態時偵測觸碰動作在所述觸摸屏上的滑動方向;
判斷模組,用於判斷該滑動方向是否為第一滑動方向或第二滑動方向,若是第一滑動方向或是第二滑動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該滑動方向;及
切換模組,用於在所述觸摸屏上顯示的軟鍵盤的當前部分與所述滑動方向不對應時,將軟鍵盤的當前部分切換至與所述滑動方向所對應的第一部分或者第二部分。
A soft keyboard input system is installed in an electronic device, the electronic device includes a touch screen, and the system includes:
a setting module, configured to set a button configuration of the soft keyboard, the soft keyboard is divided into a first part and a second part, and the first sliding direction on the touch screen is corresponding to the first part of the soft keyboard and the second sliding direction is corresponding The second part of the soft keyboard;
a display module, configured to display a first portion of the soft keyboard on the touch screen when the electronic device is in a button input state;
a detecting module, configured to detect a sliding direction of the touch action on the touch screen when the electronic device is in a button input state;
a determining module, configured to determine whether the sliding direction is a first sliding direction or a second sliding direction, and if the first sliding direction or the second sliding direction, determining whether the current portion of the soft keyboard displayed on the touch screen corresponds to The sliding direction is configured to switch the current portion of the soft keyboard to the first portion corresponding to the sliding direction when the current portion of the soft keyboard displayed on the touch screen does not correspond to the sliding direction Or the second part.
如申請專利範圍第4項所述的軟鍵盤輸入系統,所述軟鍵盤的第一部分是左半部分,第二部分是右半部分,對應於軟鍵盤的第一部分的滑動方向是左,對應於軟鍵盤的第二部分的滑動方向是右,所述的切換模組在所述滑動方嚮往右時,將當前顯示的軟鍵盤的第一部分切換至第二部分,並且在所述滑動方嚮往左時,將當前顯示的軟鍵盤的第二部分切換至第一部分。The soft keyboard input system of claim 4, wherein the first part of the soft keyboard is the left half, the second part is the right half, and the sliding direction of the first part corresponding to the soft keyboard is left, corresponding to The sliding direction of the second part of the soft keyboard is right, and the switching module switches the first part of the currently displayed soft keyboard to the second part when the sliding direction is to the right, and goes to the left in the sliding direction Switch the second part of the currently displayed soft keyboard to the first part. 如申請專利範圍第4項所述的軟鍵盤輸入系統,所述軟鍵盤的第一部分是上半部分,第二部分是下半部分,對應於軟鍵盤的第一部分的滑動方向是上,對應於軟鍵盤的第二部分的滑動方向是下,所述的切換模組在所述滑動方嚮往下時,將當前顯示的軟鍵盤的第一部分切換至第二部分,並且在所述滑動方嚮往上時,將當前顯示的軟鍵盤的第二部分切換至第一部分。The soft keyboard input system according to claim 4, wherein the first part of the soft keyboard is the upper part, and the second part is the lower part, and the sliding direction corresponding to the first part of the soft keyboard is upper, corresponding to The sliding direction of the second portion of the soft keyboard is lower, and the switching module switches the first portion of the currently displayed soft keyboard to the second portion when the sliding direction is downward, and upwards in the sliding direction Switch the second part of the currently displayed soft keyboard to the first part. 一種軟鍵盤輸入方法,應用於電子裝置中,該電子裝置包括觸摸屏,該方法包括如下步驟:
設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述電子裝置的第一移動方向對應於軟鍵盤的第一部分以及第二移動方向對應於軟鍵盤的第二部分;
在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分,並啟動重力感應器以偵測所述電子裝置的移動方向;
判斷所述電子裝置的移動方向是否為第一移動方向或第二移動方向;
若是第一移動方向或是第二移動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該移動方向;及
若所述觸摸屏上顯示的軟鍵盤的當前部分與所述電子裝置的移動方向不對應,將軟鍵盤的當前部分切換至與所述電子裝置的移動方向所對應的第一部分或者第二部分。
A soft keyboard input method is applied to an electronic device, the electronic device comprising a touch screen, the method comprising the following steps:
Setting a button configuration of the soft keyboard, dividing the soft keyboard into the first part and the second part, and setting a first moving direction of the electronic device corresponding to the first part of the soft keyboard and a second moving direction corresponding to the second part of the soft keyboard section;
Displaying a first portion of the soft keyboard on the touch screen when the electronic device is in a button input state, and a gravity sensor is activated to detect a moving direction of the electronic device;
Determining whether the moving direction of the electronic device is the first moving direction or the second moving direction;
If it is the first moving direction or the second moving direction, determining whether the current portion of the soft keyboard displayed on the touch screen corresponds to the moving direction; and if the current portion of the soft keyboard displayed on the touch screen and the electronic device The moving direction does not correspond, and the current portion of the soft keyboard is switched to the first portion or the second portion corresponding to the moving direction of the electronic device.
如申請專利範圍第7項所述的軟鍵盤輸入方法,所述軟鍵盤的第一部分是左半部分,第二部分是右半部分,對應於軟鍵盤的第一部分的移動方向是左,對應於軟鍵盤的第二部分的移動方向是右,該方法還包括:
在所述電子裝置往右移動時,將當前顯示的軟鍵盤的第一部分切換至第二部分,並且在所述電子裝置往左移動時,將當前顯示的軟鍵盤的第二部分切換至第一部分。
The soft keyboard input method according to claim 7, wherein the first part of the soft keyboard is a left half, and the second part is a right half, and the moving direction of the first part corresponding to the soft keyboard is left, corresponding to The moving direction of the second part of the soft keyboard is right, and the method further includes:
Switching the first portion of the currently displayed soft keyboard to the second portion when the electronic device moves to the right, and switching the second portion of the currently displayed soft keyboard to the first portion when the electronic device moves to the left .
如申請專利範圍第7項所述的軟鍵盤輸入方法,所述軟鍵盤的第一部分是上半部分,第二部分是下半部分,對應於軟鍵盤的第一部分的移動方向是上,對應於軟鍵盤的第二部分的移動方向是下,該方法還包括:
在所述電子裝置往下移動時,將當前顯示的軟鍵盤的第一部分切換至第二部分,並且在所述電子裝置往上移動時,將當前顯示的軟鍵盤的第二部分切換至第一部分。
The soft keyboard input method according to claim 7, wherein the first part of the soft keyboard is the upper part, and the second part is the lower part, and the moving direction of the first part corresponding to the soft keyboard is upper, corresponding to The moving direction of the second part of the soft keyboard is lower, and the method further includes:
Switching the first portion of the currently displayed soft keyboard to the second portion when the electronic device moves down, and switching the second portion of the currently displayed soft keyboard to the first portion when the electronic device moves up .
一種軟鍵盤輸入方法,應用於電子裝置中,該電子裝置包括觸摸屏,該方法包括如下步驟:
設置軟鍵盤的按鍵配置,將該軟鍵盤切分成第一部分和第二部分,並設置所述觸摸屏上的第一滑動方向對應於軟鍵盤的第一部分以及第二滑動方向對應於軟鍵盤的第二部分;
在所述電子裝置處於按鍵輸入狀態時,於所述觸摸屏上顯示軟鍵盤的第一部分,並偵測觸碰動作在所述觸摸屏上的滑動方向;
判斷該滑動方向是否為第一滑動方向或第二滑動方向;
若是第一滑動方向或是第二滑動方向,則判斷所述觸摸屏上顯示的軟鍵盤的當前部分是否對應於該滑動方向;及
若所述觸摸屏上顯示的軟鍵盤的當前部分與所述滑動方向不對應時,將軟鍵盤的當前部分切換至與所述滑動方向所對應的第一部分或者第二部分。
A soft keyboard input method is applied to an electronic device, the electronic device comprising a touch screen, the method comprising the following steps:
Setting a button configuration of the soft keyboard, dividing the soft keyboard into the first portion and the second portion, and setting a first sliding direction on the touch screen corresponding to the first portion of the soft keyboard and a second sliding direction corresponding to the second portion of the soft keyboard section;
Displaying a first portion of the soft keyboard on the touch screen when the electronic device is in a button input state, and detecting a sliding direction of the touch action on the touch screen;
Determining whether the sliding direction is a first sliding direction or a second sliding direction;
If it is the first sliding direction or the second sliding direction, determining whether the current portion of the soft keyboard displayed on the touch screen corresponds to the sliding direction; and if the current portion of the soft keyboard displayed on the touch screen and the sliding direction When not corresponding, the current portion of the soft keyboard is switched to the first portion or the second portion corresponding to the sliding direction.
TW098146540A 2009-12-31 2009-12-31 Input System and Method by Using a Soft Keyboard TWI460612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098146540A TWI460612B (en) 2009-12-31 2009-12-31 Input System and Method by Using a Soft Keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098146540A TWI460612B (en) 2009-12-31 2009-12-31 Input System and Method by Using a Soft Keyboard

Publications (2)

Publication Number Publication Date
TW201122918A TW201122918A (en) 2011-07-01
TWI460612B true TWI460612B (en) 2014-11-11

Family

ID=45046433

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098146540A TWI460612B (en) 2009-12-31 2009-12-31 Input System and Method by Using a Soft Keyboard

Country Status (1)

Country Link
TW (1) TWI460612B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200638250A (en) * 2005-04-18 2006-11-01 Avago Tech Ecbu Ip Sg Pte Ltd Electronic device and method for simplifying text entry using a soft keyboard
US20080284744A1 (en) * 2007-05-14 2008-11-20 Samsung Electronics Co. Ltd. Method and apparatus for inputting characters in a mobile communication terminal
TW200934210A (en) * 2008-01-29 2009-08-01 Topseed Technology Corp Orientation auto-switch device for handheld apparatus with double-faced keyboard configuration
TW200947264A (en) * 2008-05-09 2009-11-16 Mobinnova Corp Portable electronic device and input mode switching method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200638250A (en) * 2005-04-18 2006-11-01 Avago Tech Ecbu Ip Sg Pte Ltd Electronic device and method for simplifying text entry using a soft keyboard
US20080284744A1 (en) * 2007-05-14 2008-11-20 Samsung Electronics Co. Ltd. Method and apparatus for inputting characters in a mobile communication terminal
TW200934210A (en) * 2008-01-29 2009-08-01 Topseed Technology Corp Orientation auto-switch device for handheld apparatus with double-faced keyboard configuration
TW200947264A (en) * 2008-05-09 2009-11-16 Mobinnova Corp Portable electronic device and input mode switching method thereof

Also Published As

Publication number Publication date
TW201122918A (en) 2011-07-01

Similar Documents

Publication Publication Date Title
US9569071B2 (en) Method and apparatus for operating graphic menu bar and recording medium using the same
KR101308679B1 (en) Special character input apparatus and method for a device had a touch screen
JP5654118B2 (en) Touch panel device, display method thereof, and display program
US8351992B2 (en) Portable electronic apparatus, and a method of controlling a user interface thereof
US20060084482A1 (en) Electronic hand-held device with a back cover keypad and a related method
EP3190482B1 (en) Electronic device, character input module and method for selecting characters thereof
WO2012127792A1 (en) Information terminal, and method and program for switching display screen
JP2010160564A (en) Portable terminal
JP5305545B2 (en) Handwritten character input device and portable terminal
JP2008165575A (en) Touch panel device
CN102117170A (en) Soft keyboard input system and method
JP4871251B2 (en) Information processing device
CN101211224A (en) Hand held electronic appliance cursor movement and multifunctional operation method and apparatus
TWI514243B (en) System and method for controlling virtual keyboards
KR20090049153A (en) Terminal with touchscreen and method for inputting letter
TWI288343B (en) Touch panel keyboard of a portable device and control method thereof
TWI460612B (en) Input System and Method by Using a Soft Keyboard
JP2012137800A (en) Portable terminal
JP2011081677A (en) Input device
WO2012137512A1 (en) Portable terminal
TWI353541B (en)
KR101229357B1 (en) Mobile communication terminal having a touch panel and touch key pad and controlling method thereof
JP2006048589A (en) Portable apparatus, method for entering direction into the portable apparatus, and program
KR20110079422A (en) Portable terminal having motion sensor word input interface
KR20140020570A (en) Operation method of personal portable device having touch panel

Legal Events

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