WO2018132972A1 - Character input method and terminal - Google Patents

Character input method and terminal Download PDF

Info

Publication number
WO2018132972A1
WO2018132972A1 PCT/CN2017/071536 CN2017071536W WO2018132972A1 WO 2018132972 A1 WO2018132972 A1 WO 2018132972A1 CN 2017071536 W CN2017071536 W CN 2017071536W WO 2018132972 A1 WO2018132972 A1 WO 2018132972A1
Authority
WO
WIPO (PCT)
Prior art keywords
characters
pressure value
virtual
terminal
pressing action
Prior art date
Application number
PCT/CN2017/071536
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 廖建强
Priority to PCT/CN2017/071536 priority Critical patent/WO2018132972A1/en
Publication of WO2018132972A1 publication Critical patent/WO2018132972A1/en

Links

Images

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]

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)
  • User Interface Of Digital Computer (AREA)

Abstract

A character input method and terminal. The method comprises: upon detection of a pressing operation on a virtual button, acquiring a pressure value of the pressing operation (S101); if the pressure value is greater than a predetermined pressure value, then displaying at least two characters associated with the virtual button (S102), and displaying, according to a predetermined time interval, a selection marker at the at least two characters successively in a looping manner; upon detection of a lifting movement with respect to the virtual button, acquiring the character selected by the selection marker (S103); and outputting the character selected by the selection marker (S104). The method is employed to enable simple operation and improve convenience for inputting characters.

Description

一种字符输入方法和终端Character input method and terminal 技术领域Technical field
本发明涉及计算机领域,尤其涉及一种字符输入方法和终端。The present invention relates to the field of computers, and in particular, to a character input method and terminal.
背景技术Background technique
目前的移动终端由于尺寸的限制一般没有实体键盘,而是通过触摸屏上显示的虚拟按键输入字符。用户需要输入字符时,可以选择全键盘模式和九宫格模式,在全键盘模式中,每个虚拟按键上只关联一个字符,用户点击虚拟按键时会输出关联的字符;在九宫格模式中,每个虚拟按键上关联有多个字母,用户长按虚拟按键时,会在虚拟按键的上下左右四个位置显示字符,用户再选择某个字符进行输入。Current mobile terminals generally do not have a physical keyboard due to size limitations, but input characters through virtual keys displayed on the touch screen. When the user needs to input characters, he can select the full keyboard mode and the nine-square grid mode. In the full keyboard mode, only one character is associated with each virtual button, and the associated character is output when the user clicks the virtual button; in the nine-square grid mode, each virtual There are multiple letters associated with the button. When the user presses the virtual button, the characters are displayed at the top, bottom, left, and right positions of the virtual button. The user selects a character to input.
申请人发现,全键盘模式中,虚拟按键的尺寸小,用户点击时容易造成误触发;在九宫格模式中,用户在选择显示的多个字符时需要通过向上、向下,向左或向右滑动在进行选择,操作不便。Applicant found that in the full keyboard mode, the size of the virtual button is small, and the user is likely to cause false triggering when clicking; in the nine-square grid mode, the user needs to slide up, down, left or right when selecting multiple characters to display. The selection is made and the operation is inconvenient.
发明内容Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种字符输入方法和终端。可提高字符输入的便利性。A technical problem to be solved by embodiments of the present invention is to provide a character input method and terminal. Improves the convenience of character input.
第一方面,本发明实施例提供了一种字符输入方法,包括:In a first aspect, an embodiment of the present invention provides a character input method, including:
终端首先显示虚拟键盘,虚拟键盘包括多个虚拟按键,多个虚拟按键中每个虚拟按键关联多个字符,其中这里的字符表示数字、字母、标点符号或数学符号等。终端检测到多个虚拟按键中某个虚拟按键上发生的按下动作时,按下动作表示用户的手指由不接触虚拟按键转变为接触虚拟按键的动作,此时终端可通过设置在触摸屏下的压力传感器检测按下动作的压力值,由于按下动作的压力值可能不稳定,压力传感器可采集多个压力值进行取平均值的方式测量按下动作的压力值。终端存储有预设压力值,终端比较测量到的压力值和存储的预设压力值,若测量到的压力值大于预设压力值,终端获取虚拟按键关联的至 少两个字符,显示虚拟按键关联的至少两个字符,至少两个字符显示的位置不作限制,以及终端根据预设的时间间隔在至少两个字符循环显示选定标记,选定标记用于表示字符被选定。例如,虚拟按键关联的字符为a、s、d、f,终端在虚拟按键的上下左右四个位置分别显示上述4个字符,然后每间隔1s对上述4个字符进行加粗显示,例如:初始时刻字符a加粗显示,其他字符不加粗显示;过1s后,字符s加粗显示,其他字符不加粗显示;过1s后,字符d加粗显示,其他字符不加粗显示;过1s后,字符f加粗显示,其他字符不加粗显示;过1s后,字符a加粗显示,其他字符不加粗显示,依次类型,对4个字符进行循环显示选定标记。终端检测到虚拟按键上发生抬起动作时,抬起动作表示用户的手指由接触虚拟按键转变为脱离接触虚拟按键,终端判断哪个字符上有选定标记,终端将选定标记选定的字符进行输出。上述实施例,终端通过压力控制的方式来选定某个字符,不需要辅助额外的触摸手势,提升的输入字符的便捷性。The terminal first displays a virtual keyboard, and the virtual keyboard includes a plurality of virtual keys. Each of the plurality of virtual keys is associated with a plurality of characters, wherein the characters represent numbers, letters, punctuation marks, or mathematical symbols. When the terminal detects a pressing action occurring on a virtual button of the plurality of virtual keys, the pressing action indicates that the user's finger changes from not touching the virtual button to contacting the virtual button, and the terminal can be set under the touch screen. The pressure sensor detects the pressure value of the pressing action. Since the pressure value of the pressing action may be unstable, the pressure sensor can collect a plurality of pressure values and average the pressure value of the pressing action. The terminal stores a preset pressure value, and the terminal compares the measured pressure value with the stored preset pressure value. If the measured pressure value is greater than the preset pressure value, the terminal acquires the virtual button associated with The character is less than two characters, and at least two characters associated with the virtual button are displayed. The position where the at least two characters are displayed is not limited, and the terminal displays the selected mark in at least two characters according to the preset time interval, and the selected mark is used to indicate The character is selected. For example, the characters associated with the virtual button are a, s, d, and f. The terminal displays the above four characters at the top, bottom, left, and right positions of the virtual button, and then boldly displays the four characters at intervals of 1 s, for example: initial The time character a is boldly displayed, and other characters are not boldly displayed; after 1 s, the character s is boldly displayed, and other characters are not boldly displayed; after 1 s, the character d is boldly displayed, other characters are not boldly displayed; After that, the character f is boldly displayed, and other characters are not boldly displayed; after 1 s, the character a is boldly displayed, other characters are not boldly displayed, and the types are sequentially displayed, and the selected characters are cyclically displayed for 4 characters. When the terminal detects that a lifting action occurs on the virtual button, the lifting action indicates that the user's finger is changed from the contact virtual button to the disengaged virtual button, and the terminal determines which character has the selected tag, and the terminal selects the selected character of the selected tag. Output. In the above embodiment, the terminal selects a certain character by means of pressure control, and does not need to assist an additional touch gesture, thereby improving the convenience of inputting characters.
在本方面的一种可能的实施方式中,终端显示虚拟按键关联的至少两个字符时,至少两个字符的位置可以是虚拟按键的上方排列成一行,这样避免用户的手指遮挡字符,便于用户预览所有字符以及字符上的选定标记,提升字符输入的便利性。In a possible implementation manner of the present disclosure, when the terminal displays at least two characters associated with the virtual button, the position of the at least two characters may be arranged in a row above the virtual button, so that the user's finger is prevented from obscuring the character, and the user is convenient. Preview all characters and selected markers on the characters to improve the convenience of character entry.
在本方面的一种可能的实施方式中,终端获取按下动作的压力值包括:检测到虚拟按键上发生的按下动作时,根据预设的时间获取至少两个压力采样值,将至少两个压力采样值取平均值作为按下动作的最终的压力值,取平均值的方法可以是:算术平均法或加权平均法,本实施例不作限制。上述实施例,通过多次采样的方式测量按下动作的压力值,能提高测量的精度。In a possible implementation manner of the aspect, the acquiring, by the terminal, the pressure value of the pressing action comprises: when detecting the pressing action occurring on the virtual button, acquiring at least two pressure sampling values according to the preset time, at least two The pressure sample value is averaged as the final pressure value of the pressing action. The method of averaging may be: arithmetic average method or weighted average method, which is not limited in this embodiment. In the above embodiment, the pressure value of the pressing action is measured by means of multiple sampling, and the accuracy of the measurement can be improved.
在本方面的一种可能的实施方式中,当终端检测到虚拟按键上发生的按下动作时,获取按下动作的压力值之前,终端需要启动和显示虚拟键盘,终端启动和显示虚拟键盘的触发条件可以时:终端检测光标的位置,当光标落入的字符字符输入框时,启动和显示虚拟键盘,字符输入框表示用户界面上用于输入字符的特定区域,例如:搜索界面的字符输入框,文档界面的字符输入区域等。In a possible implementation manner of the present aspect, when the terminal detects the pressing action occurring on the virtual button, before the pressure value of the pressing action is acquired, the terminal needs to start and display the virtual keyboard, and the terminal starts and displays the virtual keyboard. When the trigger condition is available: the terminal detects the position of the cursor, and when the cursor enters the character character input box, starts and displays the virtual keyboard, and the character input box represents a specific area on the user interface for inputting characters, for example, character input of the search interface. Box, character input area of the document interface, etc.
在本发明的一种可能的实施方式中,选定标记为加粗标记,加粗标记用于对字符进行加粗,可以清楚的提示用户被选定的字符。 In a possible implementation of the invention, the selected mark is a bold mark, and the bold mark is used to bold the character to clearly indicate the selected character of the user.
第二方面,本实施例提供了一种终端,包括:第一获取模块、选择模块、第二获取模块和输出模块。In a second aspect, the embodiment provides a terminal, including: a first acquiring module, a selecting module, a second acquiring module, and an output module.
第一获取模块,用于当检测到虚拟按键上发生的按下动作时,获取所述按下动作的压力值;a first acquiring module, configured to acquire a pressure value of the pressing action when detecting a pressing action occurring on the virtual button;
选择模块,用于若所述压力值大于预设压力值,显示所述虚拟按键关联的至少两个字符,以及根据预设的时间间隔在所述至少两个字符循环显示选定标记;a selection module, configured to display at least two characters associated with the virtual key if the pressure value is greater than a preset pressure value, and display the selected mark in the at least two characters according to a preset time interval;
第二获取模块,用于当检测到所述虚拟按键上发生的抬起动作时,获取所述选定标记选中的字符;a second acquiring module, configured to acquire a character selected by the selected mark when detecting a lifting action occurring on the virtual button;
输出模块,用于输出所述选定标记选中的字符。An output module for outputting the selected character of the selected mark.
上述实施例,终端通过压力值控制多个字符中某个字符的选定,不需要额外的触摸手势的辅助,提升的字符输入的便利性。In the above embodiment, the terminal controls the selection of a certain one of the plurality of characters by the pressure value, and the convenience of the character input is improved without the assistance of the additional touch gesture.
在本方面的一种可能的实施方式中,所述至少两个字符在所述虚拟按键的上方排成一行,这样用户能预览到所有字符和字符上的选定标记,避免被用户遮挡,提升输入的便利性。In a possible implementation manner of the aspect, the at least two characters are arranged in a row above the virtual button, so that the user can preview selected characters on all characters and characters to avoid being blocked by the user. The convenience of input.
在本方面的一种可能的实施方式中,所述第一获取模块用于:In a possible implementation manner of the aspect, the first acquiring module is configured to:
根据预设的时间间隔采集所述按下动作的至少两个压力采样值,对所述至少两个压力采样值取平均值作为所述按下动作的压力值。And acquiring at least two pressure sample values of the pressing action according to a preset time interval, and averaging the at least two pressure sample values as a pressure value of the pressing action.
在本方面的一种可能的实施方式中,终端还包括:In a possible implementation manner of the aspect, the terminal further includes:
显示模块,用于检测到光标落入到字符输入框中时,显示虚拟键盘;其中,所述虚拟键盘包括多个虚拟按键,且每个虚拟按键关联多个字符。a display module, configured to display a virtual keyboard when the cursor falls into the character input box; wherein the virtual keyboard includes a plurality of virtual keys, and each virtual key is associated with a plurality of characters.
在本方面的一种可能的实施方式中,所述选定标记为加粗标记。In a possible implementation of this aspect, the selected indicia is a bolded indicium.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明的一种字符输入方法的流程示意图; 1 is a schematic flow chart of a character input method of the present invention;
图2和图3是用户界面示意图;2 and 3 are schematic views of a user interface;
图4是本发明实施例提供的一种终端的结构示意图;4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图5是本发明实施例提供的一种终端的另一结构示意图。FIG. 5 is another schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参见图1,图1是本发明实施例提供的一种字符输入方法的流程示意图,在本发明实施例中,所述方法包括:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a character input method according to an embodiment of the present invention. In the embodiment of the present invention, the method includes:
S101、当检测到虚拟按键上发生的按下动作时,获取按下动作的压力值。S101. Acquire a pressure value of the pressing action when detecting a pressing action occurring on the virtual button.
具体的,终端首先显示键盘,键盘包括多个虚拟按键,多个虚拟按键中每个虚拟按键关联多个字符,字符可以是数字、字母标点符号或数学符号等。终端检测到多个虚拟按键中某个虚拟按键上发生的按下动作时,按下动作表示用户的手指由不接触虚拟按键转变为接触虚拟按键的动作。触摸屏的下方可设置压力传感器,终端通过压力传感器获取按下动作的压力值。由于按下动作的压力值可能不稳定,终端可采集多个压力值取平均值的方法获取按下动作的压力值。Specifically, the terminal first displays a keyboard, and the keyboard includes a plurality of virtual buttons. Each of the plurality of virtual buttons is associated with a plurality of characters, and the characters may be numbers, alphabet punctuation marks, or mathematical symbols. When the terminal detects a pressing action occurring on one of the plurality of virtual keys, the pressing action indicates that the user's finger changes from not touching the virtual key to touching the virtual key. A pressure sensor can be arranged under the touch screen, and the terminal obtains the pressure value of the pressing action through the pressure sensor. Since the pressure value of the pressing action may be unstable, the terminal may collect a plurality of pressure values to average the pressure value of the pressing action.
示例性的,参见图2和图3所示,终端显示虚拟键盘,虚拟键盘包括图2所示的9个虚拟按键,9个虚拟按键上关联有至少2个字符,例如:第1行的第2个虚拟按键关联有3个字符:A、B和C,字符不仅可以为字母,也可以为数字、标点符号或数学符号。需要说明的时,虚拟键盘上包括的虚拟按键中,某些虚拟按键也可以只关联1个字符。如图3所示,假设终端在第2行第3个虚拟按键上检测到按下动作,终端获取按下动作的压力值。Exemplarily, referring to FIG. 2 and FIG. 3, the terminal displays a virtual keyboard, and the virtual keyboard includes nine virtual buttons as shown in FIG. 2, and the nine virtual buttons are associated with at least two characters, for example, the first row The two virtual buttons are associated with three characters: A, B, and C. The characters can be not only letters, but also numbers, punctuation, or mathematical symbols. When it is necessary to note, some virtual keys included in the virtual keyboard may be associated with only one character. As shown in FIG. 3, it is assumed that the terminal detects a pressing action on the third virtual button on the second line, and the terminal acquires the pressure value of the pressing action.
S102、若压力值大于预设压力值,显示虚拟按键关联的至少两个字符,以及根据预设的时间间隔在所述至少两个字符上循环显示选定标记。S102. If the pressure value is greater than the preset pressure value, display at least two characters associated with the virtual key, and cycle display the selected mark on the at least two characters according to the preset time interval.
具体的,终端预先存储有预设压力值,预设压力值的具体取值本实施例不作限制,可以根据需要进行设置。终端比较S101测量得到的压力值和存储的预设压力值,若压力值大于预设压力值,显示虚拟按键关联的至少两个字符, 以及在至少两个字符上循环显示选定标记,选定标记每次只标记一个字符。Specifically, the terminal pre-stores a preset pressure value, and the specific value of the preset pressure value is not limited in this embodiment, and may be set as needed. The terminal compares the pressure value measured by S101 with the stored preset pressure value, and if the pressure value is greater than the preset pressure value, displaying at least two characters associated with the virtual button, And the selected mark is looped over at least two characters, and the selected mark is only one character at a time.
续上例,终端检测到第2行第3个虚拟按键上的压力值大于预设压力值,获取该虚拟按键关联的字符为M、N和O,终端显示M、N和O,字符的显示位置不作限制,可以分布在虚拟按键的四周,也可以显示在虚拟键盘的其他位置,本实施例不作限制。假设预设的时间间隔为1s,选定标记为加粗标记,初始时刻,字符M加粗显示(图3为初始时刻),其他字符不加粗显示;1s后,字符M加粗显示,其他字符不加粗显示;1s后字符O加粗显示,其他字符不加粗显示;1s为字符M加粗显示,其他字符不加粗显示,依次类推进行循环显示。需要说明的是,选定标记并不限于加粗标记,也可以是其他标记,例如高亮显示、更改颜色等。Continuing the example, the terminal detects that the pressure value on the third virtual button in the second row is greater than the preset pressure value, and the characters associated with the virtual button are M, N, and O, and the terminal displays M, N, and O, and the display of the characters. The position is not limited, and may be distributed around the virtual button, or may be displayed at other positions of the virtual keyboard, which is not limited in this embodiment. Assume that the preset time interval is 1 s, the selected mark is bold mark, the initial time, the character M is bolded (Fig. 3 is the initial time), other characters are not bolded; after 1 s, the character M is boldly displayed, other Characters are not bolded; after 1s, characters O are bold, other characters are not bold; 1s is the character M bold, other characters are not bold, and the analogy is cyclically displayed. It should be noted that the selected mark is not limited to the bold mark, and may be other marks, such as highlighting, changing colors, and the like.
S103、当检测到虚拟按键上发生的抬起动作时,获取选定标记选中的字符。S103. Acquire a character selected by the selected mark when detecting a lifting action occurring on the virtual button.
具体的,终端检测到虚拟按键上发生的抬起动作,抬起动作表示用户的手指由接触虚拟按键转变为脱离接触虚拟按键,终端获取选定标记选中的字符。Specifically, the terminal detects a lifting action occurring on the virtual button, and the lifting action indicates that the user's finger is changed from the contact virtual button to the disengaged virtual button, and the terminal acquires the selected character of the selected tag.
示例性的,续上例,终端检测到虚拟按键上发生的抬起动作时,获取选项标记选中的字符为N。Exemplarily, in the above example, when the terminal detects the lifting action occurring on the virtual button, the character selected by the acquisition option flag is N.
S104、输出选定标记选中的字符。S104. Output a character selected by the selected mark.
具体的,如果输入法为英文输入法,终端在字符输入框中输出选定标记选中的字符;如果输入法为中文输入法,在虚拟键盘的备选框中输出选定标记选中的字符。Specifically, if the input method is an English input method, the terminal outputs the character selected by the selected mark in the character input box; if the input method is the Chinese input method, the selected character of the selected mark is output in the candidate box of the virtual keyboard.
通过上述实施例,终端通过检测虚拟按键上的按下动作的压力值触发显示关联的多个字符,以及在多个字符上循环显示选定标记,在检测到虚拟按键上的抬起动作时,将选定标记选定的字符进行输出,这样用户能快捷的对所需的字符进行输出,操作简单。According to the above embodiment, the terminal triggers display of the associated multiple characters by detecting the pressure value of the pressing action on the virtual button, and cyclically displays the selected mark on the plurality of characters. When the lifting action on the virtual button is detected, The selected character of the selected mark is output, so that the user can quickly output the desired character, and the operation is simple.
在一种可能的实施方式中,终端显示虚拟按键关联的至少两个字符时,至少两个字符的位置可以是虚拟按键的上方排列成一行,这样避免用户的手指遮挡字符,便于用户预览所有字符以及字符上的选定标记,提升字符输入的便利性。In a possible implementation manner, when the terminal displays at least two characters associated with the virtual button, the position of the at least two characters may be arranged in a row above the virtual button, so that the user's finger is prevented from obscuring the character, so that the user can preview all the characters. And the selected mark on the character to improve the convenience of character input.
续上例,终端在显示虚拟按键关联的3个字符M、N和O时,3个字符在虚拟按键的上方排列成1行,避免用户的手指遮挡字符,便于用户预览字符和字符上的选定标记,提示字符输入的便利性。 Continued from the above example, when the terminal displays the three characters M, N, and O associated with the virtual button, the three characters are arranged in a row above the virtual button to prevent the user's finger from obscuring the character, which is convenient for the user to preview the character and the character selection. Mark the mark, prompting the convenience of character input.
可选的,在一种可能的实施方式中,终端获取按下动作的压力值包括:检测到虚拟按键上发生的按下动作时,根据预设的时间获取至少两个压力采样值,将至少两个压力采样值取平均值作为按下动作的最终的压力值,取平均值的方法可以是:算术平均法或加权平均法,本实施例不作限制。上述实施例,通过多次采样的方式测量按下动作的压力值,能提高测量的精度。Optionally, in a possible implementation manner, the acquiring, by the terminal, the pressure value of the pressing action comprises: when detecting the pressing action occurring on the virtual button, acquiring at least two pressure sampling values according to the preset time, at least The two pressure samples are averaged as the final pressure value of the pressing action. The method of averaging may be: arithmetic average method or weighted average method, which is not limited in this embodiment. In the above embodiment, the pressure value of the pressing action is measured by means of multiple sampling, and the accuracy of the measurement can be improved.
可选的,在一种可能的实施方式中,当终端检测到虚拟按键上发生的按下动作时,获取按下动作的压力值之前,终端需要启动和显示虚拟键盘,终端启动和显示虚拟键盘的触发条件可以时:终端检测光标的位置,当光标落入的字符字符输入框时,启动和显示虚拟键盘,字符输入框表示用户界面上用于输入字符的特定区域,例如:搜索界面的字符输入框,文档界面的字符输入区域等。Optionally, in a possible implementation manner, when the terminal detects the pressing action occurring on the virtual button, before the pressure value of the pressing action is acquired, the terminal needs to start and display the virtual keyboard, and the terminal starts and displays the virtual keyboard. The trigger condition may be: the terminal detects the position of the cursor, and when the cursor enters the character character input box, starts and displays the virtual keyboard, and the character input box represents a specific area on the user interface for inputting characters, for example, a character of the search interface. Input box, character input area of the document interface, etc.
可选的,一种可能的实施方式中,选定标记为加粗标记,加粗标记用于对字符进行加粗,可以清楚的提示用户被选定的字符。Optionally, in a possible implementation manner, the selected mark is a bold mark, and the bold mark is used to bold the character to clearly indicate the selected character of the user.
参见图4,为本发明实施例提供的一种终端的结构示意图,本发明实施例的终端用于执行图1中的一种字符输入方法,所涉及的术语和过程可参照图1实施例的描述。终端4包括:第一模块401、选择模块402、第二获取模块403和输出模块404。FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal in the embodiment of the present invention is used to perform a character input method in FIG. 1, and the terms and processes involved may refer to the embodiment of FIG. 1. description. The terminal 4 includes a first module 401, a selection module 402, a second acquisition module 403, and an output module 404.
第一获取模块401,用于当检测到虚拟按键上发生的按下动作时,获取所述按下动作的压力值。The first obtaining module 401 is configured to acquire a pressure value of the pressing action when detecting a pressing action occurring on the virtual button.
选择模块402,用于若所述压力值大于预设压力值,显示所述虚拟按键关联的至少两个字符,以及根据预设的时间间隔在所述至少两个字符循环显示选定标记。The selecting module 402 is configured to display at least two characters associated with the virtual button if the pressure value is greater than a preset pressure value, and display the selected flag cyclically in the at least two characters according to a preset time interval.
第二获取模块403,用于当检测到所述虚拟按键上发生的抬起动作时,获取所述选定标记选中的字符。The second obtaining module 403 is configured to acquire a character selected by the selected mark when detecting a lifting action occurring on the virtual button.
输出模块404,用于输出所述选定标记选中的字符。The output module 404 is configured to output the selected character of the selected mark.
可选的,所述至少两个字符在所述虚拟按键的上方排成一行。Optionally, the at least two characters are arranged in a row above the virtual button.
可选的,第一获取模块401用于:Optionally, the first obtaining module 401 is configured to:
根据预设的时间间隔采集所述按下动作的至少两个压力采样值,对所述至少两个压力采样值取平均值作为所述按下动作的压力值。And acquiring at least two pressure sample values of the pressing action according to a preset time interval, and averaging the at least two pressure sample values as a pressure value of the pressing action.
可选的,终端4还包括: Optionally, the terminal 4 further includes:
显示模块检测到光标落入到字符输入框中时,显示虚拟键盘;其中,所述虚拟键盘包括多个虚拟按键,且每个虚拟按键关联多个字符。When the display module detects that the cursor falls into the character input box, the virtual keyboard is displayed; wherein the virtual keyboard includes a plurality of virtual keys, and each virtual key is associated with a plurality of characters.
可选的,所述选定标记为加粗标记。Optionally, the selected mark is a bold mark.
本发明实施例和方法实施例一基于同一构思,其带来的技术效果也相同,具体过程可参照方法实施例一的描述,此处不再赘述。The embodiment of the present invention and the method embodiment 1 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment 1, and details are not described herein again.
参见图5,为本发明实施例提供的一种终端的另一结构示意图,在本发明实施例中,终端5包括处理器501、存储器502和收发器503。收发器503用于与外部设备之间收发数据。终端5中的处理器501的数量可以是一个或多个。本发明的一些实施例中,处理器501、存储器502和收发器503可通过总线系统或其他方式连接。终端5可以用于执行图1所示的方法。关于本实施例涉及的术语的含义以及举例,可以参考图1对应的实施例。此处不再赘述。FIG. 5 is a schematic diagram of another structure of a terminal according to an embodiment of the present invention. In the embodiment of the present invention, the terminal 5 includes a processor 501, a memory 502, and a transceiver 503. The transceiver 503 is configured to transmit and receive data with and from an external device. The number of processors 501 in the terminal 5 may be one or more. In some embodiments of the invention, processor 501, memory 502, and transceiver 503 may be coupled by a bus system or other means. Terminal 5 can be used to perform the method shown in FIG. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 1. I will not repeat them here.
其中,存储器502中存储程序代码。处理器501用于调用存储器502中存储的程序代码,用于执行以下操作:The program code is stored in the memory 502. The processor 501 is configured to call the program code stored in the memory 502 for performing the following operations:
当检测到虚拟按键上发生的按下动作时,获取所述按下动作的压力值;Obtaining a pressure value of the pressing action when a pressing action occurring on the virtual button is detected;
若所述压力值大于预设压力值,显示所述虚拟按键关联的至少两个字符,以及根据预设的时间间隔在所述至少两个字符循环显示选定标记;If the pressure value is greater than the preset pressure value, displaying at least two characters associated with the virtual button, and displaying the selected flag in the at least two characters according to a preset time interval;
当检测到所述虚拟按键上发生的抬起动作时,获取所述选定标记选中的字符;Obtaining a character selected by the selected mark when detecting a lifting action occurring on the virtual button;
输出所述选定标记选中的字符。The character selected by the selected mark is output.
可选的,所述至少两个字符在所述虚拟按键的上方排成一行。Optionally, the at least two characters are arranged in a row above the virtual button.
可选的,所述获取所述按下动作的压力值包括:Optionally, the obtaining the pressure value of the pressing action comprises:
根据预设的时间间隔采集所述按下动作的至少两个压力采样值,对所述至少两个压力采样值取平均值作为所述按下动作的压力值。And acquiring at least two pressure sample values of the pressing action according to a preset time interval, and averaging the at least two pressure sample values as a pressure value of the pressing action.
可选的,所述当检测到虚拟按键上发生的按下动作时,处理器501执行所述获取所述按下动作的压力值之前,还用于执行:Optionally, when detecting the pressing action occurring on the virtual button, the processor 501 is further configured to perform before performing the acquiring the pressure value of the pressing action:
检测到光标落入到字符输入框中时,显示虚拟键盘;其中,所述虚拟键盘包括多个虚拟按键,且每个虚拟按键关联多个字符。When it is detected that the cursor falls into the character input box, the virtual keyboard is displayed; wherein the virtual keyboard includes a plurality of virtual keys, and each virtual key is associated with a plurality of characters.
可选的,所述选定标记为加粗标记。Optionally, the selected mark is a bold mark.
本发明实施例提供一种终端,该终端包括但不限于搭载
Figure PCTCN2017071536-appb-000001
Figure PCTCN2017071536-appb-000002
或者其它操作系统的终端,诸如移动电话。也可以是其它终端,诸如具有触敏表面(例如,触摸屏显示器和/或触控板)的膝上型计算机或平板电脑或台式计算机。
The embodiment of the invention provides a terminal, which includes but is not limited to piggybacking
Figure PCTCN2017071536-appb-000001
Figure PCTCN2017071536-appb-000002
Or terminals of other operating systems, such as mobile phones. Other terminals may also be used, such as a laptop or tablet or desktop computer with a touch-sensitive surface (eg, a touch screen display and/or a touch pad).
在下面的讨论中,介绍了一种包括显示器和触敏表面的终端。然而应当理解,终端可以包括一个或多个其他物理用户接口设备,诸如物理键盘、鼠标和/或操作杆。In the discussion that follows, a terminal including a display and a touch-sensitive surface is described. It should be understood, however, that the terminal can include one or more other physical user interface devices, such as a physical keyboard, mouse, and/or joystick.
终端通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。Terminals typically support a variety of applications, such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disk editing application, a spreadsheet application, a gaming application, Telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications Program, and/or digital video player application.
可在终端上执行的各种应用程序可使用至少一个共用的物理用户接口设备,诸如触敏表面。触敏表面的一种或多种功能以及显示在终端上的相应信息可从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。这样,终端的共用物理架构(诸如触敏表面)可利用对于用户而言直观清楚的用户界面来支持各种应用程序。The various applications that can be executed on the terminal can use at least one shared physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed from one application to the next and/or adjusted and/or varied within the respective application. In this way, the shared physical architecture of the terminal, such as a touch-sensitive surface, can support a variety of applications with a user interface that is intuitive to the user.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。 The above disclosure is only a preferred embodiment of the present invention, and of course, the scope of the present invention is not limited thereto, and those skilled in the art can understand all or part of the process of implementing the above embodiments, and according to the present invention. The equivalent changes required are still within the scope of the invention.

Claims (10)

  1. 一种字符输入方法,其特征在于,包括:A character input method, comprising:
    当检测到虚拟按键上发生的按下动作时,获取所述按下动作的压力值;Obtaining a pressure value of the pressing action when a pressing action occurring on the virtual button is detected;
    若所述压力值大于预设压力值,显示所述虚拟按键关联的至少两个字符,以及根据预设的时间间隔在所述至少两个字符循环显示选定标记;If the pressure value is greater than the preset pressure value, displaying at least two characters associated with the virtual button, and displaying the selected flag in the at least two characters according to a preset time interval;
    当检测到所述虚拟按键上发生的抬起动作时,获取所述选定标记选中的字符;Obtaining a character selected by the selected mark when detecting a lifting action occurring on the virtual button;
    输出所述选定标记选中的字符。The character selected by the selected mark is output.
  2. 如权利要求1所述的方法,其特征在于,所述至少两个字符在所述虚拟按键的上方排成一行。The method of claim 1 wherein said at least two characters are lined up above said virtual keys.
  3. 如权利要求1所述的方法,其特征在于,所述获取所述按下动作的压力值包括:The method of claim 1 wherein said obtaining a pressure value for said pressing action comprises:
    根据预设的时间间隔采集所述按下动作的至少两个压力采样值,对所述至少两个压力采样值取平均值作为所述按下动作的压力值。And acquiring at least two pressure sample values of the pressing action according to a preset time interval, and averaging the at least two pressure sample values as a pressure value of the pressing action.
  4. 如权利要求1所述的方法,其特征在于,所述当检测到虚拟按键上发生的按下动作时,获取所述按下动作的压力值之前,还包括:The method according to claim 1, wherein the detecting the pressure value of the pressing action when the pressing action occurs on the virtual button further comprises:
    检测到光标落入到字符输入框中时,显示虚拟键盘;其中,所述虚拟键盘包括多个虚拟按键,且每个虚拟按键关联多个字符。When it is detected that the cursor falls into the character input box, the virtual keyboard is displayed; wherein the virtual keyboard includes a plurality of virtual keys, and each virtual key is associated with a plurality of characters.
  5. 如权利要求1所述的方法,其特征在于,所述选定标记为加粗标记。The method of claim 1 wherein said selected indicia is a bolded indicia.
  6. 一种终端,其特征在于,包括:A terminal, comprising:
    第一获取模块,用于当检测到虚拟按键上发生的按下动作时,获取所述按下动作的压力值;a first acquiring module, configured to acquire a pressure value of the pressing action when detecting a pressing action occurring on the virtual button;
    选择模块,用于若所述压力值大于预设压力值,显示所述虚拟按键关联的 至少两个字符,以及根据预设的时间间隔在所述至少两个字符循环显示选定标记;a selection module, configured to display the virtual button associated if the pressure value is greater than a preset pressure value At least two characters, and displaying the selected mark in the cycle of the at least two characters according to a preset time interval;
    第二获取模块,用于当检测到所述虚拟按键上发生的抬起动作时,获取所述选定标记选中的字符;a second acquiring module, configured to acquire a character selected by the selected mark when detecting a lifting action occurring on the virtual button;
    输出模块,用于输出所述选定标记选中的字符。An output module for outputting the selected character of the selected mark.
  7. 如权利要求6所述的终端,其特征在于,所述至少两个字符在所述虚拟按键的上方排成一行。The terminal of claim 6, wherein the at least two characters are arranged in a line above the virtual button.
  8. 如权利要求6所述的终端,其特征在于,所述第一获取模块用于:The terminal according to claim 6, wherein the first obtaining module is configured to:
    根据预设的时间间隔采集所述按下动作的至少两个压力采样值,对所述至少两个压力采样值取平均值作为所述按下动作的压力值。And acquiring at least two pressure sample values of the pressing action according to a preset time interval, and averaging the at least two pressure sample values as a pressure value of the pressing action.
  9. 如权利要求6所述的终端,其特征在于,还包括:The terminal according to claim 6, further comprising:
    显示模块,用于检测到光标落入到字符输入框中时,显示虚拟键盘;其中,所述虚拟键盘包括多个虚拟按键,且每个虚拟按键关联多个字符。a display module, configured to display a virtual keyboard when the cursor falls into the character input box; wherein the virtual keyboard includes a plurality of virtual keys, and each virtual key is associated with a plurality of characters.
  10. 如权利要求6所述的终端,其特征在于,所述选定标记为加粗标记。 The terminal of claim 6 wherein said selected indicia is a bolded indicia.
PCT/CN2017/071536 2017-01-18 2017-01-18 Character input method and terminal WO2018132972A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/071536 WO2018132972A1 (en) 2017-01-18 2017-01-18 Character input method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/071536 WO2018132972A1 (en) 2017-01-18 2017-01-18 Character input method and terminal

Publications (1)

Publication Number Publication Date
WO2018132972A1 true WO2018132972A1 (en) 2018-07-26

Family

ID=62907672

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071536 WO2018132972A1 (en) 2017-01-18 2017-01-18 Character input method and terminal

Country Status (1)

Country Link
WO (1) WO2018132972A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814002A (en) * 2010-03-24 2010-08-25 华为终端有限公司 Virtual keyboard and input method using virtual keyboard
CN102012738A (en) * 2009-09-07 2011-04-13 索尼公司 Input apparatus, input method and program
US20150029090A1 (en) * 2013-07-29 2015-01-29 Samsung Electronics Co., Ltd. Character input method and display apparatus
CN104375756A (en) * 2013-08-16 2015-02-25 北京三星通信技术研究有限公司 Touch operation method and touch operation device
CN104898889A (en) * 2015-06-26 2015-09-09 小米科技有限责任公司 Character determining method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012738A (en) * 2009-09-07 2011-04-13 索尼公司 Input apparatus, input method and program
CN101814002A (en) * 2010-03-24 2010-08-25 华为终端有限公司 Virtual keyboard and input method using virtual keyboard
US20150029090A1 (en) * 2013-07-29 2015-01-29 Samsung Electronics Co., Ltd. Character input method and display apparatus
CN104375756A (en) * 2013-08-16 2015-02-25 北京三星通信技术研究有限公司 Touch operation method and touch operation device
CN104898889A (en) * 2015-06-26 2015-09-09 小米科技有限责任公司 Character determining method and device

Similar Documents

Publication Publication Date Title
US11893230B2 (en) Semantic zoom animations
US9557909B2 (en) Semantic zoom linguistic helpers
AU2011376310B2 (en) Programming interface for semantic zoom
US9141200B2 (en) Device, method, and graphical user interface for entering characters
US20130067398A1 (en) Semantic Zoom
US8589458B2 (en) Electronic calculator with touch screen
US20130067420A1 (en) Semantic Zoom Gestures
CN105373326B (en) Data processing system and method
WO2009074047A1 (en) Method, system, device and terminal for correcting touch screen error
KR20160009054A (en) Multiple graphical keyboards for continuous gesture input
WO2016184319A1 (en) Character input method for touch terminal
TW201426520A (en) Touch input method for electronical device with virtual buttons, system thereof, programed product thereof and readable recording medium thereof
CN112214156A (en) Touch screen magnifier calling method and device, electronic equipment and storage medium
US11010046B2 (en) Method and apparatus for executing function on a plurality of items on list
WO2018132972A1 (en) Character input method and terminal
CN112162689A (en) Input method and device and electronic equipment
US9720518B2 (en) Character input apparatus and character input method
US10372314B2 (en) Display device and display control method
WO2018132971A1 (en) Interactive control method and terminal
KR101373373B1 (en) Software keyboard input apparatus and method for touch screen device
CN113076010A (en) Input method, input device, electronic apparatus, and medium
CN110945470A (en) Programmable multi-touch on-screen keyboard
KR20110091637A (en) Apparatus and method for inputing characters of terminal

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: 17892892

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 141119)

122 Ep: pct application non-entry in european phase

Ref document number: 17892892

Country of ref document: EP

Kind code of ref document: A1