WO2015021890A1 - Touchscreen-based input method and device - Google Patents

Touchscreen-based input method and device Download PDF

Info

Publication number
WO2015021890A1
WO2015021890A1 PCT/CN2014/084053 CN2014084053W WO2015021890A1 WO 2015021890 A1 WO2015021890 A1 WO 2015021890A1 CN 2014084053 W CN2014084053 W CN 2014084053W WO 2015021890 A1 WO2015021890 A1 WO 2015021890A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch screen
letter
contact point
key
coordinates
Prior art date
Application number
PCT/CN2014/084053
Other languages
French (fr)
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 华为终端有限公司
Publication of WO2015021890A1 publication Critical patent/WO2015021890A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04805Virtual magnifying lens, i.e. window or frame movable on top of displayed information to enlarge it for better reading or selection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Definitions

  • the present invention relates to the field of terminal devices, and in particular, to a touch screen based input method and device.
  • BACKGROUND OF THE INVENTION With the development of terminal devices, input devices of terminal devices have evolved from the original keypad to today's touch screens, and soft keyboard input modes based on touch screens have been widely used.
  • a common soft keyboard usually displays multiple elements on one main screen. For example, for the letter interface, 26 letters are displayed in one main screen, and the input of letters is realized by the user's selection.
  • the prior art has at least the following problems:
  • the size of the touch screen of the terminal device is often limited by the terminal device itself, and the screen area thereof is generally small, if displayed in a range of a small area.
  • SUMMARY OF THE INVENTION In order to solve the problems of the prior art, embodiments of the present invention provide a touch screen based input method and apparatus. The technical solution is as follows:
  • a touch screen based input method comprising:
  • the soft keyboard including a first number of elements
  • the first number is greater than the second number.
  • the enlarged display is in accordance with the operation instruction
  • the second number of elements associated with including:
  • a second number of elements associated with the contact point coordinates are displayed in an enlarged manner based on the contact point coordinates of the first touch screen operation.
  • the zooming in and displaying the second number of elements associated with the contact point coordinates according to the contact point coordinates of the first touch screen operation comprises:
  • the second number of elements are displayed in an enlarged manner.
  • the soft keyboard includes: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes A symbol thumbnail key; the digital thumbnail display area includes a numeric thumbnail key.
  • the zooming in and displaying the second number of elements associated with the contact point coordinates according to the contact point coordinates of the first touch screen operation comprises:
  • the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed;
  • the letter key and the delete key associated with the contact point coordinates of the first touch screen operation are enlarged.
  • the element as the second number of elements associated with the contact point coordinates includes:
  • a touch screen based input device comprising:
  • a display control module configured to control a touch screen display soft keyboard, wherein the soft keyboard includes a first number of elements
  • a detection control module configured to control the touch screen to detect a first touch screen operation, and send an operation instruction of the first touch screen operation to the display control module;
  • the display control module is further configured to control the touch screen to display a second number of elements associated with the operation instruction according to the operation instruction, where the first touch screen operation is performed on the soft keyboard The first number is greater than the second number.
  • the display control module is further configured to control, according to the contact point coordinates of the first touch screen operation, the touch screen to display a second number of elements associated with the contact point coordinates.
  • the device further includes:
  • An element determining module configured to determine, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, a distance between the coordinates of the contact point of the first touch screen operation according to a preset rule
  • the element is the second number of elements associated with the contact point coordinates.
  • the soft keyboard includes: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes A symbol thumbnail key; the digital thumbnail display area includes a numeric thumbnail key.
  • the display control module is further configured to:
  • the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed;
  • the element determining module further includes:
  • a letter obtaining unit configured to: when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the central coordinate of the area where each letter key in the letter display area is located, according to the Obtaining a second number of letter keys in a sequence from small to large, and determining the second number of letter keys as the second number of elements; or
  • a letter determining unit configured to: when the contact point of the first touch screen operation is located in the letter display area, determine the distance according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located a letter key having the smallest distance of the contact point coordinates, and determining a second number of letter keys including the letter key having the smallest distance and the letter key having the smallest distance as the second number of elements .
  • FIG. 1 is a flow chart of a touch screen based input method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a soft keyboard provided by an embodiment of the present invention.
  • FIG. 3 is a flow chart of a touch screen based input method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a touch screen operation point in a symbol thumbnail button according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a touch screen operating point in a digital thumbnail button according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a touch screen operating point provided in an alphabet display area according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a touch screen based input device according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a touch screen based input terminal device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a touch screen based input method according to an embodiment of the present invention.
  • the execution body of this embodiment is a terminal device. Referring to FIG. 1, the method includes:
  • the soft keyboard may include elements corresponding to functions actually possessed by the terminal device.
  • the first number of elements of the soft keyboard may only include 26 English letters; for example, if the terminal device only needs to input letters and punctuation marks, the soft keyboard A number of elements can include 26 English letters and symbol abbreviations.
  • the first touch screen operation is a touch on the soft keyboard Screen operation; wherein the first number is greater than the second number.
  • the first touch screen operation refers to a click operation at any position on the soft keyboard of the touch screen.
  • the second number of elements associated with the contact point coordinates are also different, for example, the corresponding element in the letter display area is a letter, and the symbol
  • the elements corresponding to the thumbnail keys are punctuation marks, and the elements corresponding to the digital thumbnail keys are numbers and the like.
  • the second number of elements associated with the contact point coordinates when displayed in an enlarged manner, they may be located in a designated area of the soft keyboard and displayed in an enlarged manner at the front end, or may be located in a touch setting, or may be The adjustment is performed during use, and the enlarged display is an operation process performed by the terminal device according to the instruction of the first touch screen operation.
  • the method provided by the embodiment of the present invention determines the approximate operation range of the first touch screen operation according to the specific position of the first touch screen operation on the touch screen when the first touch screen operation is detected, according to the approximate operation range,
  • the partial display of the elements included in the operation range enables the terminal device to input according to the soft keyboard, and the accurate selection of the elements can be realized without the need for accurate selection in the original soft keyboard, thereby improving the accuracy of the input.
  • rate. 2 is a schematic diagram of a soft keyboard provided by an embodiment of the present invention.
  • the embodiment of the present invention is described by taking only a soft keyboard including an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area A symbol thumbnail key is included; the digital thumbnail display area includes a numeric thumbnail key.
  • the letter display area can be the same as the existing letter display area, and 26 letter keys are displayed in the letter display area.
  • the symbol thumbnail display area can be displayed in the form of a symbol thumbnail button, and one or more symbols such as "+", "-” or "! can be displayed on the symbol thumbnail button.
  • the digital thumbnail display area can also be displayed in the form of a numeric thumbnail key on which one or more numbers, such as "1", "2", "3", are displayed.
  • the display screen can also display function keys for input, such as the space bar or the delete key "Del".
  • FIG. 3 is a flowchart of a touch screen based input method according to an embodiment of the present invention.
  • the execution body of this embodiment is a terminal device. Referring to FIG. 3, the method includes:
  • the terminal device displays a soft keyboard, where the soft keyboard includes a first number of elements
  • the soft keyboard when the user opens the input interface in the terminal device, the soft keyboard is displayed.
  • the contact point coordinates of the first touch screen operation it may be determined that when the contact point coordinates of the first touch screen operation are in the first coordinate range, the first touch screen operation is located in the letter display area. Determining, when the contact point coordinate of the first touch screen operation is in the second coordinate range, the first touch The screen operation is located at the symbol thumbnail button, and the first touch screen operation is located at the digital thumbnail button when the contact point coordinates of the first touch screen operation are in the third coordinate range.
  • step 302 only the contact point when the first touch screen operation is located in the letter display area is taken as an example.
  • the first touch taking the first touch screen operation in the left figure of FIG. 6 as an example, the first touch
  • the contact point coordinates of the screen operation are located in the area marked by the circle, and according to the coordinates of the first number of elements, that is, the letter display area, the symbol thumbnail key, and the numeric thumbnail key, it can be determined that the area marked by the circle is located in the letter display area.
  • the step 302 includes any one of the following (1) or (2):
  • the (1) when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located, according to the distance from the smallest to the largest And obtaining a second number of letter keys, and determining the second number of letter keys as the second number of elements.
  • the (1) determines the second number of letter keys that are closer to the contact point coordinates by comparing the distance between the contact point coordinates and the respective letter keys, and blurs the first touch screen. Operation, can determine a number of elements for the user to further select.
  • the (2) determines a letter key with the smallest distance by comparing the distance between the contact point coordinates and each letter key, and then obtains the letter key associated with the minimum letter key of the distance, wherein the association means having the determined correspondence
  • the association means having the determined correspondence
  • the letter key a it is associated with the b, c, d, and the like, and the association is adjusted by the system preset or the user, which is not specifically limited in the embodiment of the present invention.
  • the first touch screen operation is blurred, and a plurality of elements can be determined for further selection by the user.
  • the second number of elements are displayed in an enlarged manner, where the first number is greater than the second number; specifically, according to a relationship between a contact point coordinate of the first touch screen operation and each area in the soft keyboard, When displaying elements, there are any possible cases of 303a to 303c:
  • the enlarged portion of the symbol may be "-", "!"*", and “:”, as shown in the right figure of FIG. 4, which is enlarged. ⁇ ", "!"*" and “:” and delete key “Del”.
  • the function key page up key "i Next " and the confirmation key ' ⁇ " are also enlarged.
  • the symbols other than the above symbols can be enlarged and displayed, and The function buttons of the other function buttons may not be displayed in an enlarged manner, and the function buttons other than the function buttons may be enlarged and displayed, which is not limited in the embodiment of the present invention.
  • numeric keys associated with the digital thumbnail keys may be all numeric keys or partial numeric keys.
  • the terminal device acquires the first point according to the coordinates of the contact point of the first touch screen operation and the coordinates of the square center of each letter in the letter display area.
  • the contact point coordinates of a touch screen operation and the square of each letter in the letter display area a distance between the central coordinates, in the order of the distance from small to large, obtaining a second number of letter keys, the second number of letter keys being used as a letter key associated with the coordinates of the contact point of the first touch screen operation; or Determining, according to the distance, a letter key having a smallest distance from the coordinate of the contact point, and using a second number of letter keys including the letter key having the smallest distance and the letter key having the smallest distance as the first touch
  • the letter key associated with the contact point coordinates of the screen operation magnifies the letter key and the delete key associated with the coordinates of the contact point of the first touch screen operation.
  • the letter display area includes a plurality of letters, and each of the squares of the letters has corresponding coordinates.
  • the coordinates of the contact points of the first touch screen operation are determined to be located in the letter display.
  • the area is calculated according to the contact point coordinates of the first touch screen operation and the corresponding coordinates of the center of the square where each letter is located, to obtain the contact point coordinates of the first touch screen operation and the square of each letter in the letter display area. The distance between the corresponding coordinates of the center.
  • the preset number is 7 as an example.
  • the 7 letters closest to the contact point coordinates are “q”, “w”, “e”, “r”, “a”, “s”, and “d”, or, if the letter key with the smallest coordinate distance from the contact point is "e", the letter centered on V is displayed in the area
  • the seven letter keys are "q”, "w”, V, "r”, "a”, “s", and “d”.
  • the obtained 7 letter and delete key are separately enlarged and displayed.
  • the enlarged display of the second number of elements may be displayed on the interface currently used for displaying the soft keyboard, and the designated area may be a part of the soft keyboard, or may be The area that does not overlap with the soft keyboard, in addition, the enlarged display of the second number of elements can also be switched to a separate display interface for enlarged display.
  • the specified display element may be included in the enlarged display, such as the function key case lock key "Caps”, the confirmation key “OK”, or the page turning key "i Next ".
  • the second touch screen operation When detecting the second touch screen operation, displaying an element corresponding to the second touch screen operation in the input box, the second touch screen operation being a second number of elements associated with the contact point coordinates Touch screen operation.
  • the second touch screen operation may be a touch screen operation on an element, such as detecting a touch screen operation on an element in the element display area, and inputting an element of the second touch screen operation indication in the input box.
  • the element “e” of the second touch screen operation indication is input in the input box, as shown in the right figure of FIG.
  • the second touch screen operation may be a touch screen operation on at least one element, that is, detecting a touch screen operation on one or a few elements of the second number of elements and a touch screen operation on the confirmation button, such as , select the letters "q,," “s", “r” in the second number of elements, and then click the "OK” button, enter “q", "s” in the input box as shown in Figure 6. , "r”.
  • the third touch screen operation refers to a click operation on the preset function button.
  • the preset function button can be the confirmation key ' ⁇ ' in the second number of elements currently displayed in the enlarged view.
  • the method provided by the embodiment of the present invention determines the approximate operation range of the first touch screen operation according to the specific position of the first touch screen operation on the touch screen when the first touch screen operation is detected, according to the approximate operation range,
  • the partial display of the elements included in the operation range enables the terminal device to input according to the soft keyboard, and the accurate selection of the elements can be realized without the need for accurate selection in the original soft keyboard, thereby improving the accuracy of the input. rate.
  • by providing the letter display area, the symbol thumbnail display area, and the digital thumbnail display area in the same display interface it is possible to reduce the switching of the letter display area, the symbol display area, and the digital display area by using the switch character.
  • the operation is cumbersome, and the input of different elements can be realized on the same display interface.
  • an embodiment of the present invention provides a touch screen-based input device, which includes: a display control module 701 and a detection control module 702.
  • the display control module 701 is configured to control the touch screen display soft keyboard, the soft keyboard includes a first number of elements; the display control module 701 is connected to the detection control module 702, and the detection control module 702 is configured to control the touch screen. Detecting a first touch screen operation, and transmitting an operation instruction of the first touch screen operation to the display control module; the display control module 701 is further configured to control, according to the operation instruction, the touch screen to display a second display associated with the operation instruction a number of elements, the first touch screen operation being a touch screen operation of the soft keyboard; wherein the first number is greater than the second number.
  • the display control module 701 is further configured to control, according to the contact point coordinates of the first touch screen operation, the touch screen to display a second number of elements associated with the contact point coordinates.
  • the device further comprises:
  • the element determining module 703 is configured to determine, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, an element whose distance from the contact point coordinate of the first touch screen operation conforms to a preset rule As the second number of elements associated with the contact point coordinates.
  • the soft keyboard comprises: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes symbol shortening Key; the digital thumbnail display area includes a numeric thumbnail key.
  • the display control module 701 is further configured to: when the first touch screen operation is located at the symbol thumbnail button, enlarge the symbol key and the delete key associated with the symbol thumbnail button; or, when the first When the touch screen operation is located at the digital thumbnail key, the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed; or, when the first touch screen operation is located in the letter display area, the enlarged display and the first touch The letter key and delete key associated with the contact point coordinates of the screen operation.
  • the element determining module 703 further includes:
  • the letter obtaining unit 7031 is configured to: when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located, according to the distance from the small distance In a large order, obtain a second number of letter keys, the second number The letter key is determined as the second number of elements; or,
  • the letter determining unit 7032 is configured to determine, when the contact point of the first touch screen operation is located in the letter display area, the contact with the center coordinate of the area where each letter key is located in the letter display area.
  • the letter key having the smallest distance of the point coordinates determines the second number of letter keys including the letter key having the smallest distance and the letter key having the smallest distance as the second number of elements.
  • the apparatus determines the approximate operating range of the first touch screen operation according to the specific position of the first touch screen operation on the touch screen when the first touch screen operation is detected, according to Approximate operation range, only partial display of the elements included in the operation range, so that the terminal device can input according to the soft keyboard, and the selection and input of elements can be realized without performing accurate selection in the original soft keyboard. Improve the accuracy of the input. Further, by providing the letter display area, the symbol thumbnail display area, and the digital thumbnail display area in the same display interface, it is possible to reduce the switching of the letter display area, the symbol display area, and the digital display area by using the switch character. The operation is cumbersome, and the input of different elements can be realized on the same display interface.
  • an embodiment of the present invention provides a terminal device, where the terminal device includes: a display 801 and a processor 802.
  • the display 801 is configured to control a touch screen display soft keyboard, the soft keyboard includes a first number of elements; the display 801 is coupled to the processor 802, and the processor 802 is configured to control the touch screen to detect the first touch screen operation. Sending an operation instruction of the first touch screen operation to the display a control module; the display 801 is further configured to control the touch screen to display a second number of elements associated with the operation instruction according to the operation instruction, where the first touch screen operation is a touch screen operation on the soft keyboard; The first number is greater than the second number.
  • the display 801 is further configured to control the touch screen to display a second number of elements associated with the contact point coordinates according to the contact point coordinates of the first touch screen operation.
  • the processor 802 is further configured to determine, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, a distance between the coordinates of the contact point of the first touch screen operation.
  • the element of the preset rule is the second number of elements associated with the contact point coordinates.
  • the soft keyboard comprises: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes symbol shortening Key; the digital thumbnail display area includes a numeric thumbnail key.
  • the display 801 is further configured to: when the first touch screen operation is located at the symbol thumbnail button, enlarge the symbol key and the delete key associated with the symbol thumbnail button; or, when the first touch screen When the operation is located in the digital thumbnail key, the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed; or, when the first touch screen operation is located in the letter display area, the enlarged display and the first touch screen operation The contact point coordinates are associated with the letter key and the delete key.
  • the processor 802 is further configured to: when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located, Obtaining a second number of letter keys according to the distance from the smallest to the largest, determining the second number of letter keys as the second number of elements; or, the processor 802 is further configured to use the first touch screen When the contact point of the operation is located in the letter display area, according to the distance between the coordinate of the contact point and the center coordinate of the area where each letter key in the letter display area is located, the letter key having the smallest distance from the coordinate of the contact point is determined, and the distance including the distance is minimized.
  • the second number of letter keys associated with the letter key and associated with the smallest letter key are determined as the second number of elements.
  • the hardware can be completed, and the related hardware can also be instructed by a program.
  • the program can be stored in a computer readable storage medium.
  • the storage medium mentioned above can be a read only memory, a magnetic disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a touchscreen-based input method and device, which belong to the field of terminal devices. The touchscreen-based input method comprises: displaying a soft keyboard, the soft keyboard comprising a first number of elements; and when a first screen touch operation is detected, according to an instruction of the first screen touch operation, amplifying and displaying a second number of elements related to the operation instruction, the first screen touch operation being a screen touch operation performed on the soft keyboard, wherein the first number is greater than the second number. The touchscreen-based input apparatus comprises: a display control module and a detection control module. The rough operation range of the first screen touch operation is determined via the specific position of the first screen touch operation on a touchscreen, and only elements within this range are locally amplified and displayed, so that the selection and input of elements are realized, thereby improving the input accuracy.

Description

基于触摸屏的输入方法及装置  Touch screen based input method and device
本申请要求于 2013年 08月 14日提交中国专利局, 申请号为 CN 201310353775.2、发明名称为 "基于触摸屏的输入方法及装置"的中国专利申请, 其全部内容通过引用结合在本申请中。 技术领域 The present application is filed on August 14, 2013, the disclosure of which is hereby incorporated by reference. Technical field
本发明涉及终端设备领域, 特别涉及一种基于触摸屏的输入方法及装置。 背景技术 随着终端设备的发展, 终端设备的输入设备已经从最初的按键键盘演进到 如今的触摸屏, 基于触摸屏的软键盘输入模式得到了广泛的应用。  The present invention relates to the field of terminal devices, and in particular, to a touch screen based input method and device. BACKGROUND OF THE INVENTION With the development of terminal devices, input devices of terminal devices have evolved from the original keypad to today's touch screens, and soft keyboard input modes based on touch screens have been widely used.
常见的软键盘通常是在一个主屏幕显示多个元素。 如, 对于字母界面来说, 在一个主屏幕中显示 26个字母, 通过用户的选择, 实现字母的输入。  A common soft keyboard usually displays multiple elements on one main screen. For example, for the letter interface, 26 letters are displayed in one main screen, and the input of letters is realized by the user's selection.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 终端设备的触摸屏尺寸经常受到终端设备本身的限制, 其屏幕面积一般较 小, 如果在一个较小面积的范围内所显示的字母数量太多, 每个字母难以精确 选择, 输入的准确率较差, 出错率较高, 给用户的实际操作带来困扰。 发明内容 为了解决现有技术的问题, 本发明实施例提供了一种基于触摸屏的的输入 方法及装置。 所述技术方案如下:  In the process of implementing the present invention, the inventors have found that the prior art has at least the following problems: The size of the touch screen of the terminal device is often limited by the terminal device itself, and the screen area thereof is generally small, if displayed in a range of a small area. There are too many letters, each letter is difficult to select accurately, the input accuracy is poor, and the error rate is high, which causes trouble to the user's actual operation. SUMMARY OF THE INVENTION In order to solve the problems of the prior art, embodiments of the present invention provide a touch screen based input method and apparatus. The technical solution is as follows:
第一方面, 提供了一种基于触摸屏的输入方法, 所述方法包括:  In a first aspect, a touch screen based input method is provided, the method comprising:
显示软键盘, 所述软键盘包括第一数目的元素;  Displaying a soft keyboard, the soft keyboard including a first number of elements;
当检测到第一触屏操作时, 根据所述第一触屏操作的指令, 放大显示与所 述操作指令相关联的第二数目的元素, 所述第一触屏操作为对所述软键盘的触 屏操作;  When the first touch screen operation is detected, according to an instruction of the first touch screen operation, a second number of elements associated with the operation instruction are enlarged, and the first touch screen operation is performed on the soft keyboard Touch screen operation;
其中, 所述第一数目大于所述第二数目。  The first number is greater than the second number.
较佳地, 所述根据所述第一触屏操作的指令, 放大显示与所述操作指令相 关联的第二数目的元素, 包括: Preferably, according to the instruction of the first touch screen operation, the enlarged display is in accordance with the operation instruction The second number of elements associated with, including:
根据所述第一触屏操作的接触点坐标, 放大显示与所述接触点坐标相关联 的第二数目的元素。  A second number of elements associated with the contact point coordinates are displayed in an enlarged manner based on the contact point coordinates of the first touch screen operation.
较佳地, 所述根据所述第一触屏操作的接触点坐标, 放大显示与所述接触 点坐标相关联的第二数目的元素包括:  Preferably, the zooming in and displaying the second number of elements associated with the contact point coordinates according to the contact point coordinates of the first touch screen operation comprises:
根据所述第一触屏操作的接触点坐标与所述第一数目的元素的坐标, 确定 与所述第一触屏操作的接触点坐标之间的距离符合预设规则的元素作为与所述 接触点坐标相关联的所述第二数目的元素;  Determining, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, an element that meets a preset rule with a distance between the coordinates of the contact point of the first touch screen operation as The second number of elements associated with the contact point coordinates;
放大显示所述第二数目的元素。  The second number of elements are displayed in an enlarged manner.
较佳地, 所述软键盘包括: 字母显示区域、 符号缩略显示区域、 数字缩略 显示区域及输入框, 其中, 所述字母显示区域包括 26个字母键; 所述符号缩略 显示区域包括符号缩略键; 所述数字缩略显示区域包括数字缩略键。  Preferably, the soft keyboard includes: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes A symbol thumbnail key; the digital thumbnail display area includes a numeric thumbnail key.
较佳地, 所述根据所述第一触屏操作的接触点坐标, 放大显示与所述接触 点坐标相关联的第二数目的元素包括:  Preferably, the zooming in and displaying the second number of elements associated with the contact point coordinates according to the contact point coordinates of the first touch screen operation comprises:
当所述第一触屏操作位于所述符号缩略键时, 放大显示与所述符号缩略键 关联的符号键和删除键; 或,  When the first touch screen operation is located at the symbol thumbnail key, the symbol key and the delete key associated with the symbol thumbnail key are enlargedly displayed; or
当所述第一触屏操作位于所述数字缩略键时, 放大显示与所述数字缩略键 关联的数字键和删除键; 或,  When the first touch screen operation is located at the digital thumbnail key, the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed; or
当所述第一触屏操作位于所述字母显示区域时, 放大显示与所述第一触屏 操作的接触点坐标关联的字母键和删除键。  When the first touch screen operation is located in the letter display area, the letter key and the delete key associated with the contact point coordinates of the first touch screen operation are enlarged.
较佳地, 所述根据所述第一触屏操作的接触点坐标与所述第一数目的元素 的坐标, 确定与所述第一触屏操作的接触点坐标之间的距离符合预设规则的元 素作为与所述接触点坐标相关联的所述第二数目的元素包括:  Preferably, the determining, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, determining a distance between the coordinates of the contact point of the first touch screen operation conforms to a preset rule The element as the second number of elements associated with the contact point coordinates includes:
当所述第一触屏操作的接触点位于所述字母显示区域时, 根据所述接触点 坐标与所述字母显示区域中各个字母键所在区域的中心坐标的距离, 按照所述 距离从小到大的顺序, 获取第二数目的字母键, 将所述第二数目的字母键确定 为所述第二数目的元素; 或,  When the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located, according to the distance from small to large a sequence of obtaining a second number of letter keys, determining the second number of letter keys as the second number of elements; or
当所述第一触屏操作的接触点位于所述字母显示区域时, 根据所述接触点 坐标与所述字母显示区域中各个字母键所在区域的中心坐标的距离, 确定与所 述接触点坐标的距离最小的字母键, 将包括所述距离最小的字母键在内的及与 所述距离最小的字母键相关联的第二数目的字母键确定为所述第二数目的元 素。 第二方面, 提供了一种基于触摸屏的输入装置, 所述装置包括: When the contact point of the first touch screen operation is located in the letter display area, determining a distance according to a distance between the contact point coordinates and a center coordinate of a region where each letter key in the letter display area is located a letter key having the smallest distance of the contact point coordinates, and determining a second number of letter keys including the letter key having the smallest distance and the letter key having the smallest distance as the second number of elements . In a second aspect, a touch screen based input device is provided, the device comprising:
显示控制模块, 用于控制触摸屏显示软键盘, 所述软键盘包括第一数目的 元素;  a display control module, configured to control a touch screen display soft keyboard, wherein the soft keyboard includes a first number of elements;
检测控制模块, 用于控制所述触摸屏检测第一触屏操作, 发送所述第一触 屏操作的操作指令给所述显示控制模块;  a detection control module, configured to control the touch screen to detect a first touch screen operation, and send an operation instruction of the first touch screen operation to the display control module;
所述显示控制模块, 还用于根据所述操作指令控制所述触摸屏放大显示与 所述操作指令相关联的第二数目的元素, 所述第一触屏操作为对所述软键盘的 其中, 所述第一数目大于所述第二数目。  The display control module is further configured to control the touch screen to display a second number of elements associated with the operation instruction according to the operation instruction, where the first touch screen operation is performed on the soft keyboard The first number is greater than the second number.
较佳地, 所述显示控制模块, 还用于根据所述第一触屏操作的接触点坐标 控制所述触摸屏放大显示与所述接触点坐标相关联的第二数目的元素。  Preferably, the display control module is further configured to control, according to the contact point coordinates of the first touch screen operation, the touch screen to display a second number of elements associated with the contact point coordinates.
较佳地, 所述装置还包括:  Preferably, the device further includes:
元素确定模块, 用于根据所述第一触屏操作的接触点坐标与所述第一数目 的元素的坐标, 确定与所述第一触屏操作的接触点坐标之间的距离符合预设规 则的元素作为与所述接触点坐标相关联的所述第二数目的元素。  An element determining module, configured to determine, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, a distance between the coordinates of the contact point of the first touch screen operation according to a preset rule The element is the second number of elements associated with the contact point coordinates.
较佳地, 所述软键盘包括: 字母显示区域、 符号缩略显示区域、 数字缩略 显示区域及输入框, 其中, 所述字母显示区域包括 26个字母键; 所述符号缩略 显示区域包括符号缩略键; 所述数字缩略显示区域包括数字缩略键。  Preferably, the soft keyboard includes: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes A symbol thumbnail key; the digital thumbnail display area includes a numeric thumbnail key.
较佳地, 所述显示控制模块还用于:  Preferably, the display control module is further configured to:
当所述第一触屏操作位于所述符号缩略键时, 放大显示与所述符号缩略键 关联的符号键和删除键; 或,  When the first touch screen operation is located at the symbol thumbnail key, the symbol key and the delete key associated with the symbol thumbnail key are enlargedly displayed; or
当所述第一触屏操作位于所述数字缩略键时, 放大显示与所述数字缩略键 关联的数字键和删除键; 或,  When the first touch screen operation is located at the digital thumbnail key, the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed; or
当所述第一触屏操作位于所述字母显示区域时, 放大显示与所述第一触屏 操作的接触点坐标关联的字母键和删除键。 较佳地, 所述元素确定模块还包括: When the first touch screen operation is located in the letter display area, the letter key and the delete key associated with the contact point coordinates of the first touch screen operation are enlarged. Preferably, the element determining module further includes:
字母获取单元, 用于当所述第一触屏操作的接触点位于字母显示区域时, 根据所述接触点坐标与所述字母显示区域中各个字母键所在区域的中心坐标的 距离, 按照所述距离从小到大的顺序, 获取第二数目的字母键, 将所述第二数 目的字母键确定为所述第二数目的元素; 或,  a letter obtaining unit, configured to: when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the central coordinate of the area where each letter key in the letter display area is located, according to the Obtaining a second number of letter keys in a sequence from small to large, and determining the second number of letter keys as the second number of elements; or
字母确定单元, 用于当所述第一触屏操作的接触点位于字母显示区域时, 根据所述接触点坐标与所述字母显示区域中各个字母键所在区域的中心坐标的 距离, 确定与所述接触点坐标的距离最小的字母键, 将包括所述距离最小的字 母键在内的及与所述距离最小的字母键相关联的第二数目的字母键确定为所述 第二数目的元素。  a letter determining unit, configured to: when the contact point of the first touch screen operation is located in the letter display area, determine the distance according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located a letter key having the smallest distance of the contact point coordinates, and determining a second number of letter keys including the letter key having the smallest distance and the letter key having the smallest distance as the second number of elements .
本发明实施例提供的技术方案带来的有益效果是:  The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are:
通过当检测到第一触屏操作时, 根据第一触屏操作在触摸屏上的具体位置, 确定该第一触屏操作的大概操作范围, 根据大概操作范围, 对仅包含该操作范 围中的元素进行局部显示, 使得终端设备可以根据该软键盘进行输入, 无需在 原始软键盘中进行准确的选择, 即可以实现对元素的选择和输入, 提高了输入 的准确率。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  When the first touch screen operation is detected, determining the approximate operation range of the first touch screen operation according to the specific position of the first touch screen operation on the touch screen, according to the approximate operation range, the pair only includes the elements in the operation range The partial display is performed, so that the terminal device can input according to the soft keyboard, and the accurate selection of the elements can be realized without the need for accurate selection in the original soft keyboard, thereby improving the accuracy of the input. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1是本发明实施例提供的一种基于触摸屏的输入方法流程图;  1 is a flow chart of a touch screen based input method according to an embodiment of the present invention;
图 2是本发明实施例提供的软键盘的示意图;  2 is a schematic diagram of a soft keyboard provided by an embodiment of the present invention;
图 3是本发明实施例提供的一种基于触摸屏的输入方法流程图;  3 is a flow chart of a touch screen based input method according to an embodiment of the present invention;
图 4是本发明实施例提供的触屏操作点位于符号缩略键的示意图;  4 is a schematic diagram of a touch screen operation point in a symbol thumbnail button according to an embodiment of the present invention;
图 5是本发明实施例提供的触屏操作点位于数字缩略键的示意图;  FIG. 5 is a schematic diagram of a touch screen operating point in a digital thumbnail button according to an embodiment of the present invention; FIG.
图 6是本发明实施例提供的触屏操作点位于字母显示区域的示意图; 图 7是本发明实施例提供的基于触摸屏的的输入装置的示意图; 图 8是本发明实施例提供的基于触摸屏的的输入终端设备的示意图。 具体实施方式 6 is a schematic diagram of a touch screen operating point provided in an alphabet display area according to an embodiment of the present invention; FIG. 7 is a schematic diagram of a touch screen based input device according to an embodiment of the present invention; FIG. 8 is a schematic diagram of a touch screen based input terminal device according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
图 1 是本发明实施例提供的一种基于触摸屏的输入方法的流程图。 该实施 例的执行主体为终端设备, 参见图 1 , 该方法包括:  FIG. 1 is a flowchart of a touch screen based input method according to an embodiment of the present invention. The execution body of this embodiment is a terminal device. Referring to FIG. 1, the method includes:
101、 显示软键盘, 该软键盘包括第一数目的元素;  101. Display a soft keyboard, where the soft keyboard includes a first number of elements;
需要说明的是, 对于不同的终端设备, 该软键盘可以包括与该终端设备实 际具备的功能相应的元素。 如, 如果该终端设备仅需要输入字母, 则该软键盘 的第一数目的元素可以仅包括 26个英文字母; 又如, 如果该终端设备仅需要输 入字母和标点符号, 则该软键盘的第一数目的元素可以包括 26个英文字母和符 号缩略键。  It should be noted that, for different terminal devices, the soft keyboard may include elements corresponding to functions actually possessed by the terminal device. For example, if the terminal device only needs to input letters, the first number of elements of the soft keyboard may only include 26 English letters; for example, if the terminal device only needs to input letters and punctuation marks, the soft keyboard A number of elements can include 26 English letters and symbol abbreviations.
102、 当检测到第一触屏操作时, 根据该第一触屏操作的指令, 放大显示与 该操作指令相关联的第二数目的元素, 该第一触屏操作为对该软键盘的触屏操 作; 其中, 该第一数目大于该第二数目。  102. When detecting the first touch screen operation, according to the instruction of the first touch screen operation, zooming in and displaying a second number of elements associated with the operation instruction, the first touch screen operation is a touch on the soft keyboard Screen operation; wherein the first number is greater than the second number.
本发明实施例中, 该第一触屏操作是指在触摸屏的软键盘上任一位置的点 击操作。  In the embodiment of the present invention, the first touch screen operation refers to a click operation at any position on the soft keyboard of the touch screen.
进一步地, 根据第一触屏操作的接触点坐标所处的区域不同, 与该接触点 坐标相关联的第二数目的元素也不相同, 如在字母显示区域内对应的元素为字 母, 而符号缩略键对应的元素为标点符号, 数字缩略键对应的元素为数字等。  Further, according to the region where the contact point coordinates of the first touch screen operation are different, the second number of elements associated with the contact point coordinates are also different, for example, the corresponding element in the letter display area is a letter, and the symbol The elements corresponding to the thumbnail keys are punctuation marks, and the elements corresponding to the digital thumbnail keys are numbers and the like.
需要说明的是, 对于与该接触点坐标相关联的第二数目的元素进行放大显 示时, 可以位于该软键盘的指定区域并在前端进行放大显示, 还可以位于触摸 设置, 还可以由用户在使用过程中调整, 且该放大显示是终端设备根据第一触 屏操作的指令而进行的操作过程。 本发明实施例提供的方法, 通过当检测到第一触屏操作时, 根据第一触屏 操作在触摸屏上的具体位置, 确定该第一触屏操作的大概操作范围, 根据大概 操作范围, 仅对包含在该操作范围中的元素进行局部显示, 使得终端设备可以 根据该软键盘进行输入, 无需在原始软键盘中进行准确的选择, 即可以实现对 元素的选择和输入, 提高了输入的准确率。 图 2是本发明实施例提供的软键盘的示意图。 本发明实施例仅以软键盘包 括字母显示区域、 符号缩略显示区域、 数字缩略显示区域及输入框为例进行说 明, 其中, 该字母显示区域包括 26个字母键; 该符号缩略显示区域包括符号缩 略键; 该数字缩略显示区域包括数字缩略键。 如图 2 所示, 该字母显示区域可 以与现有的字母显示区域相同, 在该字母显示区域中显示 26个字母键。 该符号 缩略显示区域可以以一个符号缩略键的形式显示, 在符号缩略键上可以显示一 个或多个符号, 如 "+"、 "-" 或 "!" 等。 该数字缩略显示区域也可以以一个数 字缩略键形式显示,在该数字缩略键上显示一个或多个数字,如 "1"、 "2"、 "3"。 另夕卜,该显示屏幕上还可以显示用于输入的功能按键,如空格键或删除键" Del"。 It should be noted that, when the second number of elements associated with the contact point coordinates are displayed in an enlarged manner, they may be located in a designated area of the soft keyboard and displayed in an enlarged manner at the front end, or may be located in a touch setting, or may be The adjustment is performed during use, and the enlarged display is an operation process performed by the terminal device according to the instruction of the first touch screen operation. The method provided by the embodiment of the present invention determines the approximate operation range of the first touch screen operation according to the specific position of the first touch screen operation on the touch screen when the first touch screen operation is detected, according to the approximate operation range, The partial display of the elements included in the operation range enables the terminal device to input according to the soft keyboard, and the accurate selection of the elements can be realized without the need for accurate selection in the original soft keyboard, thereby improving the accuracy of the input. rate. 2 is a schematic diagram of a soft keyboard provided by an embodiment of the present invention. The embodiment of the present invention is described by taking only a soft keyboard including an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area A symbol thumbnail key is included; the digital thumbnail display area includes a numeric thumbnail key. As shown in FIG. 2, the letter display area can be the same as the existing letter display area, and 26 letter keys are displayed in the letter display area. The symbol thumbnail display area can be displayed in the form of a symbol thumbnail button, and one or more symbols such as "+", "-" or "!" can be displayed on the symbol thumbnail button. The digital thumbnail display area can also be displayed in the form of a numeric thumbnail key on which one or more numbers, such as "1", "2", "3", are displayed. In addition, the display screen can also display function keys for input, such as the space bar or the delete key "Del".
以图 2 所提供的软键盘为例, 对本发明实施例所提供的基于触摸屏的输入 方法进行进一步描述。 图 3 是本发明实施例提供的一种基于触摸屏的输入方法 的流程图。 该实施例的执行主体为终端设备, 参见图 3 , 该方法包括:  The touch screen-based input method provided by the embodiment of the present invention is further described by taking the soft keyboard provided in FIG. 2 as an example. FIG. 3 is a flowchart of a touch screen based input method according to an embodiment of the present invention. The execution body of this embodiment is a terminal device. Referring to FIG. 3, the method includes:
301、 终端设备显示软键盘, 该软键盘包括第一数目的元素;  301. The terminal device displays a soft keyboard, where the soft keyboard includes a first number of elements;
在本发明实施例中, 当用户在终端设备打开输入界面时, 显示软键盘。  In the embodiment of the present invention, when the user opens the input interface in the terminal device, the soft keyboard is displayed.
302、 根据该第一触屏操作的接触点坐标与该第一数目的元素的坐标, 确定 与该第一触屏操作的接触点坐标之间的距离符合预设规则的元素作为与该接触 点坐标相关联的该第二数目的元素;  302. Determine, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, an element that matches a coordinate of the contact point of the first touch screen operation according to a preset rule as the contact point. The second number of elements associated with the coordinates;
根据该第一触屏操作的接触点坐标与该第一数目的元素的坐标, 可以确定 当该第一触屏操作的接触点坐标位于第一坐标范围时, 第一触屏操作位于字母 显示区域, 确定当该第一触屏操作的接触点坐标位于第二坐标范围时, 第一触 屏操作位于符号缩略键, 确定当该第一触屏操作的接触点坐标位于第三坐标范 围时, 第一触屏操作位于数字缩略键。 According to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, it may be determined that when the contact point coordinates of the first touch screen operation are in the first coordinate range, the first touch screen operation is located in the letter display area. Determining, when the contact point coordinate of the first touch screen operation is in the second coordinate range, the first touch The screen operation is located at the symbol thumbnail button, and the first touch screen operation is located at the digital thumbnail button when the contact point coordinates of the first touch screen operation are in the third coordinate range.
在该步骤 302 中, 仅以当该第一触屏操作的接触点位于字母显示区域为例 进行说明, 参见图 6, 以图 6左图中的第一触屏操作为例, 该第一触屏操作的接 触点坐标位于圓圈所标定的区域, 根据与第一数目的元素即字母显示区域、 符 号缩略键以及数字缩略键的坐标, 即可以确定该圓圈标定的区域位于字母显示 区域。  In this step 302, only the contact point when the first touch screen operation is located in the letter display area is taken as an example. Referring to FIG. 6, taking the first touch screen operation in the left figure of FIG. 6 as an example, the first touch The contact point coordinates of the screen operation are located in the area marked by the circle, and according to the coordinates of the first number of elements, that is, the letter display area, the symbol thumbnail key, and the numeric thumbnail key, it can be determined that the area marked by the circle is located in the letter display area.
具体地, 当该第一触屏操作的接触点位于字母显示区域时, 该步骤 302 包 括以下 (1 )或 (2 ) 的任一种情况:  Specifically, when the contact point of the first touch screen operation is located in the letter display area, the step 302 includes any one of the following (1) or (2):
( 1 ) 当该第一触屏操作的接触点位于该字母显示区域时, 根据该接触点坐 标与该字母显示区域中各个字母键所在区域的中心坐标的距离, 按照该距离从 小到大的顺序, 获取第二数目的字母键, 将该第二数目的字母键确定为该第二 数目的元素。 该(1 )通过比较接触点坐标与各个字母键之间的距离, 将离该接 触点坐标较近的第二数目的字母键确定为该第二数目的元素, 模糊处理了该第 一触屏操作, 能够确定出多个元素, 以供用户进一步选择。  (1) when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located, according to the distance from the smallest to the largest And obtaining a second number of letter keys, and determining the second number of letter keys as the second number of elements. The (1) determines the second number of letter keys that are closer to the contact point coordinates by comparing the distance between the contact point coordinates and the respective letter keys, and blurs the first touch screen. Operation, can determine a number of elements for the user to further select.
( 2 ) 当该第一触屏操作的接触点位于该字母显示区域时, 根据该接触点坐 标与该字母显示区域中各个字母键所在区域的中心坐标的距离, 确定与该接触 点坐标的距离最小的字母键, 将包括该距离最小的字母键在内的、 与该距离最 小的字母键相关联的第二数目的字母键确定为该第二数目的元素。 该(2 )通过 比较接触点坐标与各个字母键之间的距离, 确定一个距离最小的字母键, 再获 取与该距离最小字母键关联的字母键, 其中, 该关联是指具有已确定的对应关 系, 如, 对于字母键 a来说, 与其关联的为 b、 c、 d等, 该关联由系统预设或用 户使用过程中调整, 本发明实施例对此不作具体限定。 通过该获取过程, 模糊 处理了该第一触屏操作, 能够确定出多个元素, 以供用户进一步选择。  (2) when the contact point of the first touch screen operation is located in the letter display area, determining the distance from the coordinate of the contact point according to the distance between the coordinates of the contact point and the center coordinate of the area where each letter key is located in the letter display area The smallest letter key determines a second number of letter keys associated with the letter key having the smallest distance, including the letter key having the smallest distance, as the second number of elements. The (2) determines a letter key with the smallest distance by comparing the distance between the contact point coordinates and each letter key, and then obtains the letter key associated with the minimum letter key of the distance, wherein the association means having the determined correspondence For example, for the letter key a, it is associated with the b, c, d, and the like, and the association is adjusted by the system preset or the user, which is not specifically limited in the embodiment of the present invention. Through the acquisition process, the first touch screen operation is blurred, and a plurality of elements can be determined for further selection by the user.
303、 放大显示该第二数目的元素, 其中, 该第一数目大于该第二数目; 具体地, 根据第一触屏操作的接触点坐标与软键盘中各个区域之间的关系, 在显示元素时, 有以下 303a~303c中任一种可能情况: 303. The second number of elements are displayed in an enlarged manner, where the first number is greater than the second number; specifically, according to a relationship between a contact point coordinate of the first touch screen operation and each area in the soft keyboard, When displaying elements, there are any possible cases of 303a to 303c:
303a: 当该第一触屏操作位于该符号缩略键时, 放大显示与该符号缩略键 关联的符号键和删除键;  303a: when the first touch screen operation is located in the symbol thumbnail button, zoom in and display the symbol key and the delete key associated with the symbol thumbnail button;
具体地, 当该接触点位于符号缩略键时, 放大显示的部分符号可以为 "―"、 "!" "*" 和 ":", 则如图 4中右图所示, 放大显示了 "―"、 "!" "*" 和 ":" 和删除键 "Del"。 在图 4的右图中, 还放 大显示了功能按键翻页键 "iNext"、 确认键 'ΌΚ"。 需要说明的是, 放大显示时 还可以放大显示除上述符号以外的其他符号, 而且还可以不对其它功能按键进 行放大显示, 也可以放大显示除上述功能按键以外的其它功能按键, 本发明实 施例对此不做限定。 Specifically, when the contact point is located at the symbol thumbnail button, the enlarged portion of the symbol may be "-", "!""*", and ":", as shown in the right figure of FIG. 4, which is enlarged. ―", "!""*" and ":" and delete key "Del". In the right diagram of FIG. 4, the function key page up key "i Next " and the confirmation key 'ΌΚ" are also enlarged. It should be noted that, when zoomed in, the symbols other than the above symbols can be enlarged and displayed, and The function buttons of the other function buttons may not be displayed in an enlarged manner, and the function buttons other than the function buttons may be enlarged and displayed, which is not limited in the embodiment of the present invention.
303b: 当该第一触屏操作位于该数字缩略键时, 放大显示与该数字缩略键 关联的数字键和删除键;  303b: when the first touch screen operation is located at the digital thumbnail key, zoom in and display a numeric key and a delete key associated with the digital thumbnail key;
需要说明的是, 放大显示与该数字缩略键关联的数字键可以是全部的数字 键, 也可以是部分的数字键。  It should be noted that the numeric keys associated with the digital thumbnail keys may be all numeric keys or partial numeric keys.
具体地, 当该接触点坐标位于数字缩略键时, 该数字为 "1 " "2" "3" "4" "5" "6" "7" "8" "9" 和 "0" 中的全部数字或者部分数字, 则如图 5 中右图所示, 放大显示了 T "2" "3" "4" "5" "6" "7" "8" "9" "0"和删除键" Del"。在图 5的右图中,还放大显示了其它功能按键确认键 'ΌΚ" 需要说明的是, 还可以不对其它功能按键进行放大显示, 也可以放大显示除上 述功能按键以外的其它功能按键, 如翻页键 "iNext" 等, 本发明实施例对此不做 限定。 Specifically, when the contact point coordinates are located in the numeric abbreviated keys, the numbers are "1", "2", "3", "4", "5", "6", "7", "8", "9", and "0". All the numbers or part of the numbers are shown in the right figure of Figure 5. The enlarged display of T "2""3""4""5""6""7""8""9""0" and delete Key "Del". In the right diagram of FIG. 5, other function button confirmation keys 'ΌΚ' are also enlarged and displayed. It should be noted that other function buttons may not be enlarged or displayed, and other function buttons other than the above function buttons may be enlarged, such as The page turning key "i Next " and the like are not limited in the embodiment of the present invention.
303c: 当该第一触屏操作位于该字母显示区域时, 放大显示与该第一触屏 操作的接触点坐标关联的字母键和删除键;  303c: when the first touch screen operation is located in the letter display area, zoom in and display an alphabet key and a delete key associated with the contact point coordinates of the first touch screen operation;
具体地, 当该第一触屏操作的接触点位于字母显示区域时, 终端设备根据 该第一触屏操作的接触点坐标与该字母显示区域中各个字母所在方格中心的坐 标, 获取该第一触屏操作的接触点坐标与该字母显示区域中各个字母所在方格 中心坐标之间的距离, 按照该距离从小到大的顺序, 获取第二数目的字母键, 将该第二数目的字母键作为与该第一触屏操作的接触点坐标关联的字母键; 或 者根据该距离确定与该接触点坐标的距离最小的字母键, 将包括该距离最小的 字母键在内的及与该距离最小的字母键相关联的第二数目的字母键作为与该第 一触屏操作的接触点坐标关联的字母键, 放大显示与该第一触屏操作的接触点 坐标关联的字母键和删除键。 Specifically, when the contact point of the first touch screen operation is located in the letter display area, the terminal device acquires the first point according to the coordinates of the contact point of the first touch screen operation and the coordinates of the square center of each letter in the letter display area. The contact point coordinates of a touch screen operation and the square of each letter in the letter display area a distance between the central coordinates, in the order of the distance from small to large, obtaining a second number of letter keys, the second number of letter keys being used as a letter key associated with the coordinates of the contact point of the first touch screen operation; or Determining, according to the distance, a letter key having a smallest distance from the coordinate of the contact point, and using a second number of letter keys including the letter key having the smallest distance and the letter key having the smallest distance as the first touch The letter key associated with the contact point coordinates of the screen operation magnifies the letter key and the delete key associated with the coordinates of the contact point of the first touch screen operation.
在本发明实施例中, 字母显示区域中包括多个字母, 每个字母所在方格中 心有相应的坐标, 当发生第一触屏操作, 且第一触屏操作的接触点坐标确定位 于字母显示区域时, 根据该第一触屏操作的接触点坐标和各个字母所在方格中 心的相应坐标进行计算, 以获取该第一触屏操作的接触点坐标与该字母显示区 域中各个字母所在方格中心的相应坐标之间的距离。  In the embodiment of the present invention, the letter display area includes a plurality of letters, and each of the squares of the letters has corresponding coordinates. When the first touch screen operation occurs, the coordinates of the contact points of the first touch screen operation are determined to be located in the letter display. The area is calculated according to the contact point coordinates of the first touch screen operation and the corresponding coordinates of the center of the square where each letter is located, to obtain the contact point coordinates of the first touch screen operation and the square of each letter in the letter display area. The distance between the corresponding coordinates of the center.
基于图 6的示例, 以预设数目为 7为例进行说明, 根据距离从小到大的顺 序,可以获知,与该接触点坐标之间距离最近的 7个字母为" q"、 "w"、 "e"、 "r"、 "a"、 "s"和 "d" , 或者, 若与该接触点坐标距离最小的字母键为 "e" , 则以 V, 为中心的字母显示区域内的 7 个字母键为 "q"、 "w"、 V,、 "r"、 "a"、 "s" 和 "d"。 对该得到的 7个字母和删除键进行单独的放大显示。  Based on the example of FIG. 6 , the preset number is 7 as an example. According to the order of the distance from small to large, it can be known that the 7 letters closest to the contact point coordinates are “q”, “w”, "e", "r", "a", "s", and "d", or, if the letter key with the smallest coordinate distance from the contact point is "e", the letter centered on V is displayed in the area The seven letter keys are "q", "w", V, "r", "a", "s", and "d". The obtained 7 letter and delete key are separately enlarged and displayed.
在本发明实施例中, 该放大显示第二数目的元素可以在当前用于显示软键 盘的界面上, 在软键盘的指定区域进行放大显示, 该指定区域可以是软键盘的 一部分, 还可以是不与软键盘重合的区域, 另外, 该放大显示第二数目的元素 还可以切换至单独的显示界面进而进行放大显示。  In the embodiment of the present invention, the enlarged display of the second number of elements may be displayed on the interface currently used for displaying the soft keyboard, and the designated area may be a part of the soft keyboard, or may be The area that does not overlap with the soft keyboard, in addition, the enlarged display of the second number of elements can also be switched to a separate display interface for enlarged display.
进一步地, 在进行放大显示时除了有删除键外, 还可以包括其它指定元素, 如功能按键大小写锁定键 "Caps"、 确认键 "OK" 或翻页键 "iNext" 等。 Further, in addition to the delete key, the specified display element may be included in the enlarged display, such as the function key case lock key "Caps", the confirmation key "OK", or the page turning key "i Next ".
基于图 6的示例, 与该接触点之间距离最近的 7个字母为 "q"、 "w"、 "e"、 "r"、 "a"、 "s"和 "d",则如图 6中右图所示,放大显示了 q"、 "w"、 "e"、 "r"、 "a"、 "s"、 "d" 和删除键 "Del"。 在图 6的右图中, 还放大显示了功能按键大 小写锁定键 "Caps" , 确认键 'ΌΚ"。 需要说明的是, 还可以不对其它功能按键 进行放大显示, 也可以放大显示除上述功能按键以外的其它功能按键, 如翻页 键 " NeXt" 等, 本发明实施例对此不做限定。 Based on the example of Fig. 6, the seven letters closest to the contact point are "q", "w", "e", "r", "a", "s", and "d", as shown in the figure. In the right picture of Figure 6, the zoom in shows q", "w", "e", "r", "a", "s", "d" and the delete key "Del". In the right image of Figure 6. , also zoomed in on the function key case lock key "Caps", the confirmation key 'ΌΚ". It should be noted that other function buttons may not be used. For the enlarged display, the function keys other than the above-mentioned function buttons, such as the page turning key "Ne Xt ", etc., may be enlarged, which is not limited in the embodiment of the present invention.
304、 当检测到第二触屏操作时, 在该输入框中显示该第二触屏操作对应的 元素, 该第二触屏操作为对与该接触点坐标相关联的第二数目的元素的触屏操 作。  304. When detecting the second touch screen operation, displaying an element corresponding to the second touch screen operation in the input box, the second touch screen operation being a second number of elements associated with the contact point coordinates Touch screen operation.
该第二触屏操作可以是对某个元素的触屏操作, 如检测到对元素显示区域 中某一个元素的触屏操作, 则在输入框中输入第二触屏操作指示的元素。  The second touch screen operation may be a touch screen operation on an element, such as detecting a touch screen operation on an element in the element display area, and inputting an element of the second touch screen operation indication in the input box.
如, 在字母显示区域中选择了字母 "e" , 则在输入框中输入第二触屏操作 指示的元素 "e" , 如图 6中右图所示。 For example, if the letter " e " is selected in the letter display area, the element "e" of the second touch screen operation indication is input in the input box, as shown in the right figure of FIG.
另外, 该第二触屏操作可以是对至少一个元素的触屏操作, 即检测到对第 二数目的元素中某一个或某几个元素的触屏操作以及对确认按键的触屏操作, 如, 在第二数目的元素中选择了字母 "q,,、 "s"、 "r" , 然后点击确认键 "OK" , 则在输入框中输入如图 6中的 "q"、 "s"、 "r"。  In addition, the second touch screen operation may be a touch screen operation on at least one element, that is, detecting a touch screen operation on one or a few elements of the second number of elements and a touch screen operation on the confirmation button, such as , select the letters "q,," "s", "r" in the second number of elements, and then click the "OK" button, enter "q", "s" in the input box as shown in Figure 6. , "r".
305、 切换回软键盘。  305. Switch back to the soft keyboard.
可选地, 当检测到第三触屏操作时, 切换回软键盘。 其中, 第三触屏操作 是指对预设功能按键的点击操作。 该预设功能按键可以为当前放大显示的第二 数目的元素中的确认键 'ΌΚ"。  Optionally, when the third touch screen operation is detected, switching back to the soft keyboard. The third touch screen operation refers to a click operation on the preset function button. The preset function button can be the confirmation key 'ΌΚ' in the second number of elements currently displayed in the enlarged view.
本发明实施例提供的方法, 通过当检测到第一触屏操作时, 根据第一触屏 操作在触摸屏上的具体位置, 确定该第一触屏操作的大概操作范围, 根据大概 操作范围, 仅对包含在该操作范围中的元素进行局部显示, 使得终端设备可以 根据该软键盘进行输入, 无需在原始软键盘中进行准确的选择, 即可以实现对 元素的选择和输入, 提高了输入的准确率。 进一步地, 通过在同一显示界面中 提供了字母显示区域、 符号缩略显示区域以及数字缩略显示区域, 能够降低由 于需要使用切换符对字母显示区域、 符号显示区域以及数字显示区域进行切换 而造成的操作繁瑣程度, 在同一个显示界面上即可实现对不同元素的输入。 参见图 7 , 本发明实施例提供了一种基于触摸屏的输入装置, 该装置包括: 显示控制模块 701和检测控制模块 702。 其中, 该显示控制模块 701 , 用于控制 触摸屏显示软键盘, 该软键盘包括第一数目的元素; 该显示控制模块 701 与检 测控制模块 702相连接, 该检测控制模块 702, 用于控制该触摸屏检测第一触屏 操作,发送该第一触屏操作的操作指令给该显示控制模块;该显示控制模块 701 , 还用于根据该操作指令控制该触摸屏放大显示与该操作指令相关联的第二数目 的元素, 该第一触屏操作为对该软键盘的触屏操作; 其中, 该第一数目大于该 第二数目。 The method provided by the embodiment of the present invention determines the approximate operation range of the first touch screen operation according to the specific position of the first touch screen operation on the touch screen when the first touch screen operation is detected, according to the approximate operation range, The partial display of the elements included in the operation range enables the terminal device to input according to the soft keyboard, and the accurate selection of the elements can be realized without the need for accurate selection in the original soft keyboard, thereby improving the accuracy of the input. rate. Further, by providing the letter display area, the symbol thumbnail display area, and the digital thumbnail display area in the same display interface, it is possible to reduce the switching of the letter display area, the symbol display area, and the digital display area by using the switch character. The operation is cumbersome, and the input of different elements can be realized on the same display interface. Referring to FIG. 7, an embodiment of the present invention provides a touch screen-based input device, which includes: a display control module 701 and a detection control module 702. The display control module 701 is configured to control the touch screen display soft keyboard, the soft keyboard includes a first number of elements; the display control module 701 is connected to the detection control module 702, and the detection control module 702 is configured to control the touch screen. Detecting a first touch screen operation, and transmitting an operation instruction of the first touch screen operation to the display control module; the display control module 701 is further configured to control, according to the operation instruction, the touch screen to display a second display associated with the operation instruction a number of elements, the first touch screen operation being a touch screen operation of the soft keyboard; wherein the first number is greater than the second number.
较佳地, 该显示控制模块 701 ,还用于根据该第一触屏操作的接触点坐标控 制该触摸屏放大显示与该接触点坐标相关联的第二数目的元素。  Preferably, the display control module 701 is further configured to control, according to the contact point coordinates of the first touch screen operation, the touch screen to display a second number of elements associated with the contact point coordinates.
较佳地, 该装置还包括:  Preferably, the device further comprises:
元素确定模块 703 ,用于根据该第一触屏操作的接触点坐标与该第一数目的 元素的坐标, 确定与该第一触屏操作的接触点坐标之间的距离符合预设规则的 元素作为与该接触点坐标相关联的该第二数目的元素。  The element determining module 703 is configured to determine, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, an element whose distance from the contact point coordinate of the first touch screen operation conforms to a preset rule As the second number of elements associated with the contact point coordinates.
较佳地, 该软键盘包括: 字母显示区域、 符号缩略显示区域、 数字缩略显 示区域及输入框, 其中, 该字母显示区域包括 26个字母键; 该符号缩略显示区 域包括符号缩略键; 该数字缩略显示区域包括数字缩略键。  Preferably, the soft keyboard comprises: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes symbol shortening Key; the digital thumbnail display area includes a numeric thumbnail key.
较佳地, 该显示控制模块 701 ,还用于当该第一触屏操作位于该符号缩略键 时, 放大显示与该符号缩略键关联的符号键和删除键; 或, 当该第一触屏操作 位于该数字缩略键时, 放大显示与该数字缩略键关联的数字键和删除键; 或, 当该第一触屏操作位于该字母显示区域时, 放大显示与该第一触屏操作的接触 点坐标关联的字母键和删除键。  Preferably, the display control module 701 is further configured to: when the first touch screen operation is located at the symbol thumbnail button, enlarge the symbol key and the delete key associated with the symbol thumbnail button; or, when the first When the touch screen operation is located at the digital thumbnail key, the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed; or, when the first touch screen operation is located in the letter display area, the enlarged display and the first touch The letter key and delete key associated with the contact point coordinates of the screen operation.
较佳地, 该元素确定模块 703 , 还包括:  Preferably, the element determining module 703 further includes:
字母获取单元 7031 , 用于当该第一触屏操作的接触点位于该字母显示区域 时, 根据该接触点坐标与该字母显示区域中各个字母键所在区域的中心坐标的 距离, 按照该距离从小到大的顺序, 获取第二数目的字母键, 将该第二数目的 字母键确定为该第二数目的元素; 或, The letter obtaining unit 7031 is configured to: when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located, according to the distance from the small distance In a large order, obtain a second number of letter keys, the second number The letter key is determined as the second number of elements; or,
字母确定单元 7032, 用于当该第一触屏操作的接触点位于该字母显示区域 时, 根据该接触点坐标与该字母显示区域中各个字母键所在区域的中心坐标的 距离, 确定与该接触点坐标的距离最小的字母键, 将包括该距离最小的字母键 在内的及与该距离最小的字母键相关联的第二数目的字母键确定为该第二数目 的元素。  The letter determining unit 7032 is configured to determine, when the contact point of the first touch screen operation is located in the letter display area, the contact with the center coordinate of the area where each letter key is located in the letter display area. The letter key having the smallest distance of the point coordinates determines the second number of letter keys including the letter key having the smallest distance and the letter key having the smallest distance as the second number of elements.
综上所述, 本发明实施例提供的装置, 通过当检测到第一触屏操作时, 根 据第一触屏操作在触摸屏上的具体位置, 确定该第一触屏操作的大概操作范围, 根据大概操作范围, 仅对包含在该操作范围中的元素进行局部显示, 使得终端 设备可以根据该软键盘进行输入, 无需在原始软键盘中进行准确的选择, 即可 以实现对元素的选择和输入, 提高了输入的准确率。 进一步地, 通过在同一显 示界面中提供了字母显示区域、 符号缩略显示区域以及数字缩略显示区域, 能 够降低由于需要使用切换符对字母显示区域、 符号显示区域以及数字显示区域 进行切换而造成的操作繁瑣程度, 在同一个显示界面上即可实现对不同元素的 输入。  In summary, the apparatus provided by the embodiment of the present invention determines the approximate operating range of the first touch screen operation according to the specific position of the first touch screen operation on the touch screen when the first touch screen operation is detected, according to Approximate operation range, only partial display of the elements included in the operation range, so that the terminal device can input according to the soft keyboard, and the selection and input of elements can be realized without performing accurate selection in the original soft keyboard. Improve the accuracy of the input. Further, by providing the letter display area, the symbol thumbnail display area, and the digital thumbnail display area in the same display interface, it is possible to reduce the switching of the letter display area, the symbol display area, and the digital display area by using the switch character. The operation is cumbersome, and the input of different elements can be realized on the same display interface.
需要说明的是: 上述实施例提供的基于触摸屏的输入装置在基于触摸屏的 输入方法时, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根 据需要而将上述功能分配由不同的功能模块完成, 即终端设备的内部结构划分 成不同的功能模块, 以完成以上描述的全部或者部分功能。 另外, 上述实施例 提供的基于触摸屏的输入装置与基于触摸屏的输入方法实施例属于同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。 参见图 8 , 本发明实施例提供了一种终端设备, 该终端设备包括: 显示器 801和处理器 802。 其中, 该显示器 801 , 用于控制触摸屏显示软键盘, 该软键 盘包括第一数目的元素; 该显示器 801与处理器 802相连接, 该处理器 802, 用 于控制该触摸屏检测第一触屏操作, 发送该第一触屏操作的操作指令给该显示 控制模块; 该显示器 801 ,还用于根据该操作指令控制该触摸屏放大显示与该操 作指令相关联的第二数目的元素, 该第一触屏操作为对该软键盘的触屏操作; 其中, 该第一数目大于该第二数目。 It should be noted that, when the touch screen-based input device provided by the foregoing embodiment is based on the input method of the touch screen, only the division of the above functional modules is illustrated. In practical applications, the functions may be assigned differently according to needs. The function module is completed, that is, the internal structure of the terminal device is divided into different functional modules to complete all or part of the functions described above. In addition, the touch screen-based input device provided by the foregoing embodiment is the same as the touch screen-based input method embodiment, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again. Referring to FIG. 8, an embodiment of the present invention provides a terminal device, where the terminal device includes: a display 801 and a processor 802. The display 801 is configured to control a touch screen display soft keyboard, the soft keyboard includes a first number of elements; the display 801 is coupled to the processor 802, and the processor 802 is configured to control the touch screen to detect the first touch screen operation. Sending an operation instruction of the first touch screen operation to the display a control module; the display 801 is further configured to control the touch screen to display a second number of elements associated with the operation instruction according to the operation instruction, where the first touch screen operation is a touch screen operation on the soft keyboard; The first number is greater than the second number.
较佳地, 该显示器 801 ,还用于根据该第一触屏操作的接触点坐标控制该触 摸屏放大显示与该接触点坐标相关联的第二数目的元素。  Preferably, the display 801 is further configured to control the touch screen to display a second number of elements associated with the contact point coordinates according to the contact point coordinates of the first touch screen operation.
较佳地, 该处理器 802 ,还用于根据该第一触屏操作的接触点坐标与该第一 数目的元素的坐标, 确定与该第一触屏操作的接触点坐标之间的距离符合预设 规则的元素作为与该接触点坐标相关联的该第二数目的元素。  Preferably, the processor 802 is further configured to determine, according to the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements, a distance between the coordinates of the contact point of the first touch screen operation. The element of the preset rule is the second number of elements associated with the contact point coordinates.
较佳地, 该软键盘包括: 字母显示区域、 符号缩略显示区域、 数字缩略显 示区域及输入框, 其中, 该字母显示区域包括 26个字母键; 该符号缩略显示区 域包括符号缩略键; 该数字缩略显示区域包括数字缩略键。  Preferably, the soft keyboard comprises: an alphabet display area, a symbol thumbnail display area, a digital thumbnail display area, and an input box, wherein the letter display area includes 26 letter keys; the symbol thumbnail display area includes symbol shortening Key; the digital thumbnail display area includes a numeric thumbnail key.
较佳地, 该显示器 801 , 还用于当该第一触屏操作位于该符号缩略键时, 放 大显示与该符号缩略键关联的符号键和删除键; 或, 当该第一触屏操作位于该 数字缩略键时, 放大显示与该数字缩略键关联的数字键和删除键; 或, 当该第 一触屏操作位于该字母显示区域时, 放大显示与该第一触屏操作的接触点坐标 关联的字母键和删除键。  Preferably, the display 801 is further configured to: when the first touch screen operation is located at the symbol thumbnail button, enlarge the symbol key and the delete key associated with the symbol thumbnail button; or, when the first touch screen When the operation is located in the digital thumbnail key, the numeric key and the delete key associated with the digital thumbnail key are enlargedly displayed; or, when the first touch screen operation is located in the letter display area, the enlarged display and the first touch screen operation The contact point coordinates are associated with the letter key and the delete key.
较佳地, 该处理器 802 ,还用于当该第一触屏操作的接触点位于字母显示区 域时, 根据该接触点坐标与该字母显示区域中各个字母键所在区域的中心坐标 的距离, 按照该距离从小到大的顺序, 获取第二数目的字母键, 将该第二数目 的字母键确定为该第二数目的元素; 或, 该处理器 802, 还用于当该第一触屏操 作的接触点位于字母显示区域时, 根据该接触点坐标与该字母显示区域中各个 字母键所在区域的中心坐标的距离, 确定与该接触点坐标的距离最小的字母键, 将包括该距离最小的字母键在内的及与该距离最小的字母键相关联的第二数目 的字母键确定为该第二数目的元素。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过 硬件来完成, 也可以通过程序来指令相关的硬件完成, 该的程序可以存储于一 种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光 盘等。 Preferably, the processor 802 is further configured to: when the contact point of the first touch screen operation is located in the letter display area, according to the distance between the contact point coordinates and the center coordinate of the area where each letter key in the letter display area is located, Obtaining a second number of letter keys according to the distance from the smallest to the largest, determining the second number of letter keys as the second number of elements; or, the processor 802 is further configured to use the first touch screen When the contact point of the operation is located in the letter display area, according to the distance between the coordinate of the contact point and the center coordinate of the area where each letter key in the letter display area is located, the letter key having the smallest distance from the coordinate of the contact point is determined, and the distance including the distance is minimized. The second number of letter keys associated with the letter key and associated with the smallest letter key are determined as the second number of elements. One of ordinary skill in the art will appreciate that all or part of the steps to implement the above embodiments may be The hardware can be completed, and the related hardware can also be instructed by a program. The program can be stored in a computer readable storage medium. The storage medium mentioned above can be a read only memory, a magnetic disk or an optical disk.
以上该仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范 围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the scope of the present invention. within.

Claims

权 利 要求 书 claims
1、 一种基于触摸屏的输入方法, 其特征在于, 所述方法包括: 1. An input method based on a touch screen, characterized in that the method includes:
显示软键盘, 所述软键盘包括第一数目的元素; display a soft keyboard, the soft keyboard including a first number of elements;
当检测到第一触屏操作时, 根据所述第一触屏操作的指令, 放大显示与所 述操作指令相关联的第二数目的元素, 所述第一触屏操作为对所述软键盘的触 屏操作; When a first touch screen operation is detected, a second number of elements associated with the operation instruction are enlarged and displayed according to the instruction of the first touch screen operation, and the first touch screen operation is to modify the soft keyboard. touch screen operation;
其中, 所述第一数目大于所述第二数目。 Wherein, the first number is greater than the second number.
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述第一触屏操作 的指令, 放大显示与所述操作指令相关联的第二数目的元素, 包括: 2. The method according to claim 1, characterized in that, according to the instruction of the first touch screen operation, enlarging and displaying a second number of elements associated with the operation instruction includes:
根据所述第一触屏操作的接触点坐标, 放大显示与所述接触点坐标相关联 的第二数目的元素。 According to the contact point coordinates of the first touch screen operation, a second number of elements associated with the contact point coordinates are enlarged and displayed.
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述第一触屏操作 的接触点坐标, 放大显示与所述接触点坐标相关联的第二数目的元素包括: 根据所述第一触屏操作的接触点坐标与所述第一数目的元素的坐标, 确定 与所述第一触屏操作的接触点坐标之间的距离符合预设规则的元素作为与所述 接触点坐标相关联的所述第二数目的元素; 3. The method according to claim 2, wherein, according to the contact point coordinates of the first touch screen operation, enlarging and displaying a second number of elements associated with the contact point coordinates includes: The coordinates of the contact point of the first touch screen operation and the coordinates of the first number of elements are determined, and the elements whose distances from the contact point coordinates of the first touch screen operation meet the preset rules are determined as the elements with the contact point. coordinates associated with said second number of elements;
放大显示所述第二数目的元素。 The second number of elements are displayed enlarged.
4、 根据权利要求 1-3任一项所述的方法, 其特征在于, 所述软键盘包括: 字母显示区域、 符号缩略显示区域、 数字缩略显示区域及输入框, 其中, 所述 字母显示区域包括 26个字母键; 所述符号缩略显示区域包括符号缩略键; 所述 数字缩略显示区域包括数字缩略键。 4. The method according to any one of claims 1 to 3, characterized in that the soft keyboard includes: a letter display area, a symbol thumbnail display area, a number thumbnail display area and an input box, wherein the letters The display area includes 26 letter keys; the symbol abbreviation display area includes symbol abbreviation keys; and the numeric abbreviation display area includes numeric abbreviation keys.
5、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述第一触屏操作 的接触点坐标, 放大显示与所述接触点坐标相关联的第二数目的元素包括: 当所述第一触屏操作位于所述符号缩略键时, 放大显示与所述符号缩略键 关联的符号键和删除键; 或, 5. The method according to claim 2, characterized in that: according to the first touch screen operation The coordinates of the contact point, and the magnified display of the second number of elements associated with the coordinates of the contact point includes: when the first touch screen operation is located on the symbol abbreviation key, the magnified display associated with the symbol abbreviation key symbol key and delete key; or,
当所述第一触屏操作位于所述数字缩略键时, 放大显示与所述数字缩略键 关联的数字键和删除键; 或, When the first touch screen operation is on the numeric abbreviation key, the numeric key and delete key associated with the numeric abbreviation key are enlarged and displayed; or,
当所述第一触屏操作位于所述字母显示区域时, 放大显示与所述第一触屏 操作的接触点坐标关联的字母键和删除键。 When the first touch screen operation is located in the letter display area, the letter key and the delete key associated with the contact point coordinates of the first touch screen operation are enlarged and displayed.
6、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述第一触屏操作 的接触点坐标与所述第一数目的元素的坐标, 确定与所述第一触屏操作的接触 点坐标之间的距离符合预设规则的元素作为与所述接触点坐标相关联的所述第 二数目的元素包括: 6. The method according to claim 3, characterized in that, the contact point coordinates of the first touch screen operation and the coordinates of the first number of elements are determined according to the coordinates of the contact point of the first touch screen operation. Elements whose distances between contact point coordinates comply with preset rules include as the second number of elements associated with the contact point coordinates:
当所述第一触屏操作的接触点位于所述字母显示区域时, 根据所述接触点 坐标与所述字母显示区域中各个字母键所在区域的中心坐标的距离, 按照所述 距离从小到大的顺序, 获取第二数目的字母键, 将所述第二数目的字母键确定 为所述第二数目的元素; 或, When the contact point of the first touch screen operation is located in the letter display area, according to the distance between the coordinates of the contact point and the center coordinates of the area where each letter key in the letter display area is located, the distance is from small to large. In the order of obtaining the second number of letter keys, determine the second number of letter keys as the second number of elements; or,
当所述第一触屏操作的接触点位于所述字母显示区域时, 根据所述接触点 坐标与所述字母显示区域中各个字母键所在区域的中心坐标的距离, 确定与所 述接触点坐标的距离最小的字母键, 将包括所述距离最小的字母键在内的及与 所述距离最小的字母键相关联的第二数目的字母键确定为所述第二数目的元 素。 When the contact point of the first touch screen operation is located in the letter display area, the coordinates of the contact point are determined based on the distance between the coordinates of the contact point and the center coordinates of the area where each letter key in the letter display area is located. The letter keys with the smallest distance, a second number of letter keys including the letter keys with the smallest distance and associated with the letter keys with the smallest distance are determined as the second number of elements.
7、 一种基于触摸屏的输入装置, 其特征在于, 所述装置包括: 7. An input device based on a touch screen, characterized in that the device includes:
显示控制模块, 用于控制触摸屏显示软键盘, 所述软键盘包括第一数目的 元素; A display control module configured to control the touch screen to display a soft keyboard, where the soft keyboard includes a first number of elements;
检测控制模块, 用于控制所述触摸屏检测第一触屏操作, 发送所述第一触 屏操作的操作指令给所述显示控制模块; Detection control module, used to control the touch screen to detect a first touch screen operation, and send the first touch screen Provide operating instructions for screen operations to the display control module;
所述显示控制模块, 还用于根据所述操作指令控制所述触摸屏放大显示与 所述操作指令相关联的第二数目的元素, 所述第一触屏操作为对所述软键盘的 其中, 所述第一数目大于所述第二数目。 The display control module is also configured to control the touch screen to enlarge and display a second number of elements associated with the operation instruction according to the operation instruction, where the first touch screen operation is for the soft keyboard, The first number is greater than the second number.
8、 根据权利要求 7所述的装置, 其特征在于, 所述显示控制模块, 还用于 根据所述第一触屏操作的接触点坐标控制所述触摸屏放大显示与所述接触点坐 标相关联的第二数目的元素。 8. The device according to claim 7, wherein the display control module is further configured to control the touch screen enlarged display in association with the contact point coordinates according to the contact point coordinates of the first touch screen operation. the second number of elements.
9、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括: 9. The device according to claim 8, characterized in that, the device further includes:
元素确定模块, 用于根据所述第一触屏操作的接触点坐标与所述第一数目 的元素的坐标, 确定与所述第一触屏操作的接触点坐标之间的距离符合预设规 则的元素作为与所述接触点坐标相关联的所述第二数目的元素。 An element determination module, configured to determine, based on the coordinates of the contact point of the first touch screen operation and the coordinates of the first number of elements, that the distance from the coordinates of the contact point of the first touch screen operation complies with the preset rules. of elements as the second number of elements associated with the contact point coordinates.
10、 根据权利要求 7-9任一项所述的装置, 其特征在于, 所述软键盘包括: 字母显示区域、 符号缩略显示区域、 数字缩略显示区域及输入框, 其中, 所述 字母显示区域包括 26个字母键; 所述符号缩略显示区域包括符号缩略键; 所述 数字缩略显示区域包括数字缩略键。 10. The device according to any one of claims 7 to 9, characterized in that the soft keyboard includes: a letter display area, a symbol thumbnail display area, a number thumbnail display area and an input box, wherein the letters The display area includes 26 letter keys; the symbol abbreviation display area includes symbol abbreviation keys; and the numeric abbreviation display area includes numeric abbreviation keys.
11、 根据权利要求 8所述的装置, 其特征在于, 所述显示控制模块还用于: 当所述第一触屏操作位于所述符号缩略键时, 放大显示与所述符号缩略键 关联的符号键和删除键; 或, 11. The device according to claim 8, wherein the display control module is further configured to: when the first touch screen operation is located on the symbol abbreviation key, enlarge the display and the symbol abbreviation key associated symbol key and delete key; or,
当所述第一触屏操作位于所述数字缩略键时, 放大显示与所述数字缩略键 关联的数字键和删除键; 或, When the first touch screen operation is on the numeric abbreviation key, the numeric key and delete key associated with the numeric abbreviation key are enlarged and displayed; or,
当所述第一触屏操作位于所述字母显示区域时, 放大显示与所述第一触屏 操作的接触点坐标关联的字母键和删除键。 When the first touch screen operation is located in the letter display area, the enlarged display and the first touch screen The letter key and delete key associated with the contact point coordinates of the operation.
12、 根据权利要求 9所述的装置, 其特征在于, 所述元素确定模块还包括: 字母获取单元, 用于当所述第一触屏操作的接触点位于字母显示区域时, 根据所述接触点坐标与所述字母显示区域中各个字母键所在区域的中心坐标的 距离, 按照所述距离从小到大的顺序, 获取第二数目的字母键, 将所述第二数 目的字母键确定为所述第二数目的元素; 或, 12. The device according to claim 9, wherein the element determination module further includes: a letter acquisition unit, configured to: when the contact point of the first touch screen operation is located in the letter display area, according to the contact The distance between the point coordinates and the center coordinates of the area where each letter key is located in the letter display area, according to the order of the distance from small to large, obtains the second number of letter keys, and determines the second number of letter keys as the a second number of elements; or,
字母确定单元, 用于当所述第一触屏操作的接触点位于字母显示区域时, 根据所述接触点坐标与所述字母显示区域中各个字母键所在区域的中心坐标的 距离, 确定与所述接触点坐标的距离最小的字母键, 将包括所述距离最小的字 母键在内的及与所述距离最小的字母键相关联的第二数目的字母键确定为所述 第二数目的元素。 A letter determination unit, configured to determine, when the contact point of the first touch screen operation is located in the letter display area, the distance between the coordinates of the contact point and the center coordinates of the area where each letter key in the letter display area is located. The letter key with the smallest distance between the coordinates of the contact point is determined as the second number of elements including the letter key with the smallest distance and the second number of letter keys associated with the letter key with the smallest distance. .
PCT/CN2014/084053 2013-08-14 2014-08-11 Touchscreen-based input method and device WO2015021890A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310353775.2A CN104375769A (en) 2013-08-14 2013-08-14 Input method and device on basis of touch screens
CN201310353775.2 2013-08-14

Publications (1)

Publication Number Publication Date
WO2015021890A1 true WO2015021890A1 (en) 2015-02-19

Family

ID=52468043

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084053 WO2015021890A1 (en) 2013-08-14 2014-08-11 Touchscreen-based input method and device

Country Status (2)

Country Link
CN (1) CN104375769A (en)
WO (1) WO2015021890A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406738A (en) * 2016-09-27 2017-02-15 维沃移动通信有限公司 A keyboard key content information input method and a mobile terminal
CN107145281A (en) * 2017-05-03 2017-09-08 三星电子(中国)研发中心 A kind of regional area amplification display method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060232551A1 (en) * 2005-04-18 2006-10-19 Farid Matta Electronic device and method for simplifying text entry using a soft keyboard
CN101166330A (en) * 2006-10-20 2008-04-23 三星电子株式会社 Text input method and mobile terminal therefor
CN101814002A (en) * 2010-03-24 2010-08-25 华为终端有限公司 Virtual keyboard and input method using virtual keyboard
CN102207821A (en) * 2010-03-31 2011-10-05 三星电子株式会社 Touch screen apparatus and method for processing input of touch screen apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100265181A1 (en) * 2009-04-20 2010-10-21 ShoreCap LLC System, method and computer readable media for enabling a user to quickly identify and select a key on a touch screen keypad by easing key selection
CN102262497B (en) * 2010-05-25 2012-12-05 中国移动通信集团公司 Method and device for amplifying touch button in touch screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060232551A1 (en) * 2005-04-18 2006-10-19 Farid Matta Electronic device and method for simplifying text entry using a soft keyboard
CN101166330A (en) * 2006-10-20 2008-04-23 三星电子株式会社 Text input method and mobile terminal therefor
CN101814002A (en) * 2010-03-24 2010-08-25 华为终端有限公司 Virtual keyboard and input method using virtual keyboard
CN102207821A (en) * 2010-03-31 2011-10-05 三星电子株式会社 Touch screen apparatus and method for processing input of touch screen apparatus

Also Published As

Publication number Publication date
CN104375769A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
US9003320B2 (en) Image forming apparatus with touchscreen and method of editing input letter thereof
US9569099B2 (en) Method and apparatus for displaying keypad in terminal having touch screen
US20110018812A1 (en) Fast Typographical Error Correction for Touchscreen Keyboards
JP5910345B2 (en) Character input program, information processing apparatus, and character input method
KR101885132B1 (en) Apparatus and method for input by touch in user equipment
US8633895B2 (en) Apparatus and method for improving character input function in mobile terminal
US9152240B2 (en) Method for previewing output character and electronic device
CN112486346B (en) Key mode setting method, device and storage medium
WO2012086133A1 (en) Touch panel device
WO2013177903A1 (en) Text input method and device
GB2516029A (en) Touchscreen keyboard
JP5963291B2 (en) Method and apparatus for inputting symbols from a touch sensitive screen
JP5102894B1 (en) Character input device and portable terminal device
WO2015021890A1 (en) Touchscreen-based input method and device
US20110032190A1 (en) Information input apparatus and information input method
US20200104043A1 (en) Head mounted display device and content input method thereof
WO2013047023A1 (en) Display apparatus, display method, and program
WO2022247718A1 (en) Information selection method and apparatus
CN107967091B (en) Human-computer interaction method and computing equipment for human-computer interaction
TW201901485A (en) Input interface display system and method for portable device
JP2014048783A (en) Input device
JP2015102946A (en) Information processing apparatus, control method of information processing apparatus, and program
JP2015162028A (en) Display control device, image forming apparatus and program
JP5976708B2 (en) Electronic equipment and operation support program
JP5968926B2 (en) Information processing apparatus and information processing program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14836373

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14836373

Country of ref document: EP

Kind code of ref document: A1