WO2023125155A1 - Input method and input apparatus - Google Patents

Input method and input apparatus Download PDF

Info

Publication number
WO2023125155A1
WO2023125155A1 PCT/CN2022/140401 CN2022140401W WO2023125155A1 WO 2023125155 A1 WO2023125155 A1 WO 2023125155A1 CN 2022140401 W CN2022140401 W CN 2022140401W WO 2023125155 A1 WO2023125155 A1 WO 2023125155A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
candidate
area
display
electronic device
Prior art date
Application number
PCT/CN2022/140401
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 WO2023125155A1 publication Critical patent/WO2023125155A1/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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present application discloses an input method and an input apparatus. The method comprises: when an electronic device displays an input method interface, receiving a first input with respect to a first region, the first region being a region other than a keyboard region of the input method interface; in response to the first input, displaying N candidate input objects in a candidate region, the N candidate input objects corresponding to M virtual keys in the input method interface, N and M being positive integers, and N being greater than or equal to M; receiving a second input with respect to a first candidate input object of the N candidate input objects; and in response to the second input, displaying the first candidate input object in an input box.

Description

输入方法及输入装置Input method and input device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年12月27日在中国提交的中国专利申请号202111619008.2的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111619008.2 filed in China on December 27, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种输入方法及输入装置。The present application belongs to the technical field of communication, and in particular relates to an input method and an input device.
背景技术Background technique
随着电子设备的广泛应用,输入法也得到了飞速发展。用户可以通过操作输入法的虚拟键盘,在电子设备中输入文字及各种符号。With the wide application of electronic equipment, input methods have also been developed rapidly. The user can input characters and various symbols in the electronic device by operating the virtual keyboard of the input method.
目前,用户在操作虚拟键盘时,需要在虚拟按键的显示位置操作,导致电子设备中输入方式单一。At present, when a user operates a virtual keyboard, he needs to operate at the display position of the virtual key, resulting in a single input method in the electronic device.
发明内容Contents of the invention
本申请实施例的目的是提供一种输入方法及输入装置,能够解决输入方式单一的问题。The purpose of the embodiments of the present application is to provide an input method and an input device, which can solve the problem of a single input mode.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the application is implemented as follows:
第一方面,本申请实施例提供了一种输入方法,该方法包括:在电子设备显示输入法界面的情况下,接收针对第一区域的第一输入,所述第一区域为除输入法界面的键盘区域之外的区域;响应于第一输入,在候选区中显示N个候选输入对象,N个候选输入对象为输入法界面中的M个虚拟按键对应的候选输入对象,N和M为正整数,N大于或等于M;接收对N个候选输入对象中的第一候选输入对象的第二输入;响应于第二输入,在输入框中显示所述第一候选输入对象。In the first aspect, the embodiment of the present application provides an input method, the method includes: when the electronic device displays the input method interface, receiving the first input for the first area, the first area is the input method interface The area outside the keyboard area; in response to the first input, N candidate input objects are displayed in the candidate area, and the N candidate input objects are candidate input objects corresponding to the M virtual keys in the input method interface, and N and M are A positive integer, N greater than or equal to M; receiving a second input for a first candidate input object among the N candidate input objects; in response to the second input, displaying the first candidate input object in an input box.
第二方面,本申请实施例提供了一种输入装置,该装置包括接收模块和显示模块。接收模块,用于在电子设备显示输入法界面的情况下,接收针对第一区域的第一输入,第一区域为除输入界面的键盘区域之外的区域。显示模块,用于响应于第一输入,在候选区中显示N个候选输入对象,N个候选输入对象为输入法界面中的M个虚拟按键对应的候选输入对象,N和M为正整数,N大于或等于M。接收模块,还用于接收对N个候选输入对象中的第一候选输入对象的第二输入。显示模块,还用于响应于第二输入,在输入框中显示第一候选输入对象。In a second aspect, an embodiment of the present application provides an input device, which includes a receiving module and a display module. The receiving module is configured to receive the first input for the first area when the electronic device displays the input method interface, and the first area is an area other than the keyboard area of the input interface. The display module is used to display N candidate input objects in the candidate area in response to the first input, and the N candidate input objects are candidate input objects corresponding to the M virtual keys in the input method interface, and N and M are positive integers, N is greater than or equal to M. The receiving module is further configured to receive a second input for the first candidate input object among the N candidate input objects. The display module is further configured to display the first candidate input object in the input box in response to the second input.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
在本申请实施例中,在电子设备显示输入法界面的情况下,接收针对第一区域的第一输入;响应于第一输入,在候选区中显示N个候选输入对象,N个候选输入对象为输入法界面中的M个虚拟按键对应的候选输入对象;接收对N个候选输入对象中的第一候选输入对象的第二输入;响应于第二输入,在输入框中显示第一候选输入对象。通过接收针对第一区域的第一输入,电子设备将M个虚拟按键对应的N个候选输入对象显示在候选区中,因此,电子设备可以响应于对某候选输入对象的输入,在输入框中显示该候选输入对象。如此一来,当用户需要在输入框中输入内容时,除了可以在虚拟按键的显示位置进行操作之外,还可以在除输入法界面的键盘区域之外的区域操作,从而解决输入法的操作方式单一的问题。In the embodiment of the present application, when the electronic device displays the input method interface, the first input for the first area is received; in response to the first input, N candidate input objects are displayed in the candidate area, and the N candidate input objects It is a candidate input object corresponding to the M virtual keys in the input method interface; receiving a second input to the first candidate input object among the N candidate input objects; in response to the second input, displaying the first candidate input in the input box object. By receiving the first input for the first area, the electronic device displays N candidate input objects corresponding to the M virtual keys in the candidate area. Therefore, the electronic device can respond to the input of a certain candidate input object, Display the candidate input object. In this way, when the user needs to input content in the input box, in addition to operating in the display position of the virtual key, it can also operate in an area other than the keyboard area of the input method interface, thereby solving the operation of the input method A single problem.
附图说明Description of drawings
图1(a)为本申请实施例提供的电子设备的显示界面的示意图;FIG. 1(a) is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application;
图1(b)为本申请实施例提供的输入法界面的示意图之一;Fig. 1 (b) is one of the schematic diagrams of the input method interface provided by the embodiment of the present application;
图1(c)为本申请实施例提供的输入法界面的示意图之二;Fig. 1 (c) is the second schematic diagram of the input method interface provided by the embodiment of the present application;
图2为本申请实施例提供的输入方法的流程示意图之一;FIG. 2 is one of the schematic flow diagrams of the input method provided by the embodiment of the present application;
图3为本申请实施例提供的输入方法应用的界面示意图之一;FIG. 3 is one of the interface schematic diagrams of the input method application provided by the embodiment of the present application;
图4(a)为本申请实施例提供的输入方法应用的界面示意图之二;Figure 4(a) is the second schematic interface of the input method application provided by the embodiment of the present application;
图4(b)为本申请实施例提供的输入方法应用的界面示意图之三;Figure 4(b) is the third schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图4(c)为本申请实施例提供的输入方法应用的界面示意图之四;Fig. 4(c) is the fourth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图5为本申请实施例提供的输入方法应用的界面示意图之五;FIG. 5 is the fifth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图6为本申请实施例提供的输入方法的流程示意图之二;FIG. 6 is the second schematic flow diagram of the input method provided by the embodiment of the present application;
图7为本申请实施例提供的输入方法应用的界面示意图之六;Fig. 7 is the sixth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图8为本申请实施例提供的输入方法应用的界面示意图之七;Fig. 8 is the seventh schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图9(a)为本申请实施例提供的输入方法应用的界面示意图之八;Figure 9(a) is the eighth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图9(b)为本申请实施例提供的输入方法应用的界面示意图之九;Figure 9(b) is the ninth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图10(a)为本申请实施例提供的输入方法应用的界面示意图之十;Figure 10(a) is the tenth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图10(b)为本申请实施例提供的输入方法应用的界面示意图之十一;Figure 10(b) is the eleventh schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图11(a)为本申请实施例提供的输入方法应用的界面示意图之十二;Fig. 11(a) is the twelfth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图11(b)为本申请实施例提供的输入方法应用的界面示意图之十三;Figure 11(b) is the thirteenth schematic diagram of the interface of the input method application provided by the embodiment of the present application;
图12为本申请实施例提供的输入装置的结构示意图;FIG. 12 is a schematic structural diagram of an input device provided by an embodiment of the present application;
图13为本申请实施例提供的电子设备的结构示意图;FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图14为本申请实施例提供的电子设备的硬件示意图。FIG. 14 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述, 显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的输入方法进行详细地说明。The input method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
为便于理解,首先,结合图1(a)至图1(c)对电子设备的输入法界面进行介绍。For ease of understanding, firstly, an input method interface of an electronic device is introduced with reference to FIG. 1( a ) to FIG. 1( c ).
图1(a)示出了一种电子设备的显示界面。如图1(a)所示,电子设备的显示界面包括输入框10,用户对输入框10进行输入(比如点击输入框10)之后,电子设备能够检测到用户对输入框10的输入操作,进而进入输入状态。在输入状态下,电子设备将显示输入法编辑器的编辑界面,如图1(b)所示,该界面即输入法界面20。如图1(b)所示,在用户对输入界面20进行输入之前,输入法界面20可以包括工具栏区域20A和键盘区域20B。其中,键盘区域20B可以包括各种虚拟按键,如标点按键201、数字按键204、字母按键202、功能按键203等。工具栏区域20A可以包括若干工具按键,如表情按键205、输入法切换按键206、设置按键207、语音按键208等。如图1(c)所示,在用户对输入界面20进行输入之后,输入法界面20中的工具栏区域20A被替换为候选区域,候选区域可以包括拼音栏区域20C和候选栏区域20D。其中,拼音栏区域20C用于展示用户输入的字符串(例如拼音序列、字母序列、数字)。候选栏区域20D用于展示与用户输入的字符串匹配的候选输入对象(比如汉字、英语单词、数字等)。用户可以对输入法界面20进行操作,以在输入框10中输入内容。比如,用户可以点击工具栏区域20A中的表情按键205,使电子设备展示表情符号,进而点击表情符号以在输入框10中输入表情符号。再比如,用户可以按压键盘区域20B中的虚拟按键,以在输入框10中输入对应的文本内容。例如,用户在按压键盘区域20B中的按键“WXYZ”和按键“MNO”之后,拼音栏区域20C中将会显示对应的字符串“wo”,同时候选栏区域20D中会显示与该字符串对应的若干候选输入对象“我”、“哟”、“喔”、“窝”等。在用户点击其中某个候选输入对象(比如“我”)之后,电子设备即会将“我”显示在输入框10中。Fig. 1(a) shows a display interface of an electronic device. As shown in Figure 1(a), the display interface of the electronic device includes an input box 10. After the user inputs into the input box 10 (for example, clicks on the input box 10), the electronic device can detect the user's input operation on the input box 10, and then Enter the input state. In the input state, the electronic device will display the editing interface of the input method editor, as shown in FIG. 1( b ), this interface is the input method interface 20 . As shown in FIG. 1( b ), before the user inputs on the input interface 20 , the input method interface 20 may include a toolbar area 20A and a keyboard area 20B. Wherein, the keyboard area 20B may include various virtual keys, such as punctuation keys 201 , number keys 204 , letter keys 202 , function keys 203 and so on. The tool bar area 20A may include several tool buttons, such as an emoticon button 205 , an input method switching button 206 , a setting button 207 , a voice button 208 and so on. As shown in FIG. 1( c), after the user inputs on the input interface 20, the toolbar area 20A in the input method interface 20 is replaced with a candidate area, and the candidate area may include a pinyin bar area 20C and a candidate bar area 20D. Among them, the pinyin column area 20C is used to display character strings (such as pinyin sequences, letter sequences, numbers) input by the user. The candidate column area 20D is used to display candidate input objects (such as Chinese characters, English words, numbers, etc.) that match the character string input by the user. The user can operate the input method interface 20 to input content in the input box 10 . For example, the user can click the emoticon button 205 in the toolbar area 20A to make the electronic device display the emoticon, and then click the emoticon to input the emoticon in the input box 10 . For another example, the user may press a virtual key in the keyboard area 20B to input corresponding text content in the input box 10 . For example, after the user presses the key "WXYZ" and the key "MNO" in the keyboard area 20B, the corresponding character string "wo" will be displayed in the pinyin column area 20C, and the corresponding character string "wo" will be displayed in the candidate column area 20D at the same time. Several candidate input objects "I", "yo", "oh", "wo" and so on. After the user clicks one of the candidate input objects (such as “I”), the electronic device will display “I” in the input box 10 .
需要说明的是,图1(b)和图1(c)所示的输入法界面仅仅是本申请实施例提供的一种示例,不构成对本申请实施例的限定。可以理解,在实际应用中,输入法界面中虚拟按键的位置和功能可能与图1(b)和图1(c)所示的输入法界面略有区别,比如,表情按键205也可能位于键盘区域20B中,键盘区域20B中可能不包括重输键。此外,图1(b)和图1(c)所示的输入法界面中的键盘区域40为9键形式的虚拟键盘,在实际应用中,键盘 区域40也可以是26键形式的虚拟键盘。It should be noted that the input method interface shown in Fig. 1(b) and Fig. 1(c) is only an example provided by the embodiment of the present application, and does not constitute a limitation to the embodiment of the present application. It can be understood that in practical applications, the position and function of the virtual keys in the input method interface may be slightly different from the input method interfaces shown in Figure 1(b) and Figure 1(c), for example, the expression button 205 may also be located on the keyboard In region 20B, a re-enter key may not be included in keyboard region 20B. In addition, the keyboard area 40 in the input method interface shown in Figure 1 (b) and Figure 1 (c) is a virtual keyboard in the form of 9 keys, and in practical applications, the keyboard area 40 can also be a virtual keyboard in the form of 26 keys.
为叙述清楚简洁,本申请实施例中主要以9键形式的虚拟键盘为例,对本申请实施例提供的输入方法进行介绍。对于26键形式的虚拟键盘,其具体显示方法与9键形式的虚拟键盘对应的显示方法类似,为避免重复,本申请实施例对此不进行详细阐述。For clear and concise description, in the embodiment of the present application, the input method provided in the embodiment of the present application is introduced mainly by taking a virtual keyboard in the form of 9 keys as an example. For the virtual keyboard in the form of 26 keys, its specific display method is similar to that corresponding to the virtual keyboard in the form of 9 keys. In order to avoid repetition, this embodiment of the present application does not elaborate on this.
如图2所示,本申请实施例提供一种输入方法,该方法可以包括下述的S201-S204。As shown in FIG. 2 , the embodiment of the present application provides an input method, and the method may include the following S201-S204.
需要说明的是,本申请实施例提供的输入方法的执行主体可以为输入装置,或者该输入装置中的用于执行输入方法的控制模块,还可以为电子设备。下面将以电子设备为例,对本申请实施例提供的输入方法进行示例性的说明。It should be noted that the execution subject of the input method provided in the embodiment of the present application may be an input device, or a control module in the input device for executing the input method, or may be an electronic device. The input method provided by the embodiment of the present application will be exemplarily described below by taking an electronic device as an example.
可选地,本申请实施例中,当本申请实施例提供的输入方法的执行主体为电子设备时,该电子设备可以包括本申请实施例提供的输入装置,或外接该输入装置。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, when the execution subject of the input method provided in the embodiment of the present application is an electronic device, the electronic device may include the input device provided in the embodiment of the present application, or be externally connected to the input device. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
S201、在电子设备显示输入法界面的情况下,电子设备接收针对第一区域的第一输入。S201. When the electronic device displays an input method interface, the electronic device receives a first input for a first area.
其中,第一区域可以是输入法界面中除键盘区域20B之外的区域,例如,第一区域可以是输入法界面中的候选栏区域,再例如,第一区域还可以是输入法界面中的工具栏区域。第一输入可以是用户在第一区域中的手势输入,例如,第一输入可以是滑动操作、双击操作、长按操作等。Wherein, the first area may be an area other than the keyboard area 20B in the input method interface, for example, the first area may be the candidate bar area in the input method interface, and for another example, the first area may also be the toolbar area. The first input may be a user's gesture input in the first area, for example, the first input may be a sliding operation, a double-tap operation, a long-press operation, and the like.
示例性地,如图3所示,第一输入可以为在候选栏区域20D内的向右滑动输入。现有技术中,未对在候选栏区域内的向右滑动输入定义相应的功能,因此以该操作手势作为第一输入触发对输入法界面的控制,与现有对输入法界面的操作不冲突。也就是说,本申请实施例中对输入法界面的操作方式与电子设备的惯用操作不冲突。示例性地,第一输入还可以为在20C内的双击输入。Exemplarily, as shown in FIG. 3 , the first input may be a rightward sliding input in the candidate column area 20D. In the prior art, no corresponding function is defined for the right-swipe input in the candidate bar area, so this operation gesture is used as the first input to trigger the control of the input method interface, which does not conflict with the existing operation of the input method interface . That is to say, the operation mode of the input method interface in the embodiment of the present application does not conflict with the customary operation of the electronic device. Exemplarily, the first input may also be a double-click input in 20C.
S202、响应于第一输入,电子设备在候选区中显示N个候选输入对象。S202. In response to the first input, the electronic device displays N candidate input objects in the candidate area.
其中,候选区可以是输入法界面中的候选栏区域,也可以是电子设备的显示界面中用于展示候选输入项的其他区域,本申请实施例对此不作限定。需要说明的是,在本申请的示例中,均以候选区为输入法界面中的候选栏区域为例进行示意。Wherein, the candidate area may be a candidate bar area in the input method interface, or may be another area for displaying candidate input items in the display interface of the electronic device, which is not limited in this embodiment of the present application. It should be noted that, in the examples of this application, the candidate area is taken as an example of the candidate column area in the input method interface.
此外,上述N个候选输入对象可以为输入界面中的M个虚拟按键对应的候选输入对象,N和M为正整数,N大于或等于M。也就是说,一个虚拟按键可以对应一个或多个候选输入对象。In addition, the above N candidate input objects may be candidate input objects corresponding to M virtual keys in the input interface, N and M are positive integers, and N is greater than or equal to M. That is to say, one virtual key may correspond to one or more candidate input objects.
需要说明的是,上述M个虚拟按键可以是电子设备根据输入法应用程序的默认设置确定的虚拟按键,也可以是电子设备根据用户的设置确定的虚拟按键,也可以是电子设备根据第一输入的输入参数确定的虚拟按键。其中,对于如何根据第一输入的输入参数确定M个虚拟按键,将在后续实施例中进行详细描述,此处暂不描述。It should be noted that the above M virtual keys may be virtual keys determined by the electronic device according to the default settings of the input method application program, virtual keys determined by the electronic device according to user settings, or virtual keys determined by the electronic device according to the first input method. The virtual keys determined by the input parameters. Wherein, how to determine the M virtual keys according to the input parameters of the first input will be described in detail in subsequent embodiments, and will not be described here.
此外,上述M个虚拟按键可以包括输入法界面任意区域中的虚拟按键。例如,在一些实施例中,参考图1(b),上述M个虚拟按键可以包括工具栏区域20A中的虚拟按键(如表情按键205),也可以包括键盘区域20B中的虚拟按键(如标点按键201、数字按键204 等)。在另一些实施例中,上述M个虚拟按键还可以包括功能按键(如删除键、重输键、回车键等)。In addition, the above M virtual keys may include virtual keys in any area of the input method interface. For example, in some embodiments, with reference to Fig. 1 (b), the above-mentioned M virtual keys may include virtual keys (such as emoticon keys 205) in the toolbar area 20A, and may also include virtual keys (such as punctuation keys) in the keyboard area 20B. button 201, number button 204, etc.). In some other embodiments, the above M virtual keys may also include function keys (such as a delete key, a re-enter key, an enter key, etc.).
本申请实施例中,一个虚拟按键对应的候选输入对象可以是该虚拟按键对应的符号、字母、数字、字符串、汉字、单词、词组或短语等。举例来说,在虚拟按键为标点按键201的情况下,对应的候选输入对象可以是该标点按键对应的标点符号;在虚拟按键为表情按键205的情况下,对应的候选输入对象可以是一个或多个表情符号;在虚拟按键为数字按键204的情况下,对应的候选输入对象可以是一个或多个数字;在虚拟按键为9键形式的虚拟键盘中的字母按键(比如图1(b)中的字母按键“DEF”)的情况下,对应的候选输入对象可以是单个字母(比如字母“D”、字母“E”以及字母“F”),也可以是字符串(比如“DEF”),还可以是汉字(如“的”、“得”、“地”、“饿”、“儿”、“发”等)、词组(如“等等”、“得到”、“而已”、“儿子”、“发现”、“法律”等)或短语(如“等一下”、“饿了没”、“发给我”等)。再例如,在虚拟按键为26键形式的虚拟键盘中的字母按键(比如字母按键“f”)且输入法处于英文输入模式的情况下,对应的候选输入对象可以是英文单词(如“for”、“feel”、“from”、“father”等)。在虚拟按键为功能按键的情况下,对应的候选输入对象可以是默认字符,比如用户设置的符号、词组、短语等。例如,在虚拟按键为删除键的情况下,对应的候选输入对象可以是“删除”;再如,在虚拟按键为回车键的情况下,对应的候选输入对象可以是“确认”。In this embodiment of the present application, a candidate input object corresponding to a virtual key may be a symbol, letter, number, character string, Chinese character, word, phrase, or phrase corresponding to the virtual key. For example, in the case where the virtual key is the punctuation key 201, the corresponding candidate input object may be the punctuation mark corresponding to the punctuation key; in the case where the virtual key is the emoticon key 205, the corresponding candidate input object may be one or A plurality of emoticons; in the case that the virtual key is a number key 204, the corresponding candidate input object can be one or more numbers; the virtual key is a letter key in the virtual keyboard of the 9-key form (such as Fig. 1 (b) In the case of the letter button "DEF"), the corresponding candidate input object can be a single letter (such as the letter "D", the letter "E" and the letter "F"), or a string (such as "DEF") , can also be Chinese characters (such as "de", "get", "di", "hungry", "er", "fa", etc.), phrases (such as "wait", "get", "only", " son", "found", "law", etc.) or phrases (such as "wait a minute", "are you hungry", "send it to me", etc.). For another example, when the virtual key is a letter key (such as the letter key "f") in the virtual keyboard of the 26-key form and the input method is in the English input mode, the corresponding candidate input object can be an English word (such as "for" , "feel", "from", "father", etc.). In the case that the virtual key is a function key, the corresponding candidate input object may be a default character, such as a symbol, phrase, or phrase set by the user. For example, when the virtual key is a delete key, the corresponding candidate input object may be "delete"; for another example, when the virtual key is an enter key, the corresponding candidate input object may be "confirm".
当然,以上仅为本申请实施例为便于理解而提供的一种简单示例,并不构成对本申请的限定。在具体实现时可以根据实际情况进行设置,本申请实施例对此不作限定。比如,虚拟按键对应的候选输入对象可以是电子设备根据用户的设置确定的候选输入对象。再比如,虚拟按键对应的候选输入对象也可以是电子设备根据输入法编辑器记录的用户常用词确定的候选输入对象。Certainly, the above is only a simple example provided by the embodiments of the present application for easy understanding, and does not constitute a limitation to the present application. It can be set according to the actual situation during specific implementation, which is not limited in this embodiment of the present application. For example, the candidate input object corresponding to the virtual key may be a candidate input object determined by the electronic device according to user settings. For another example, the candidate input object corresponding to the virtual key may also be a candidate input object determined by the electronic device according to the user's common words recorded by the input method editor.
示例性地,参考图4(a),假设上述M个虚拟按键包括符号区域(以下称区域A)中的3个标点按键(标点按键A1、标点按键A2和标点按键A3),那么上述N个候选输入对象可以为该3个标点按键对应的3个标点符号(即标点符号“,”、标点符号“。”、标点符号“?”)。如此,在电子设备接收到用户的第一输入之后,如图4(b)所示,电子设备可以在输入法界面的候选栏区域内显示该3个标点符号。Exemplarily, with reference to Fig. 4 (a), suppose that above-mentioned M virtual keys comprise 3 punctuation keys (punctuation key A1, punctuation key A2 and punctuation key A3) in symbol area (hereinafter referred to as area A), then above-mentioned N The candidate input objects may be the three punctuation marks corresponding to the three punctuation keys (ie, punctuation mark ",", punctuation mark ".", punctuation mark "?"). In this way, after the electronic device receives the user's first input, as shown in FIG. 4( b ), the electronic device may display the three punctuation marks in the candidate column area of the input method interface.
再示例性地,假设上述M个虚拟按键包括工具栏区域20A中的表情按键205,那么上述N个候选输入对象可以为该表情按键205对应的若干表情符号(比如微笑表情符号、沮丧表情符号、生气表情符号)。参考图4(a),当用户在输入法界面的候选栏区域内执行向右滑动的第一输入之后,如图5所示,电子设备响应于第一输入,可以在候选栏区域内显示微笑表情符号205A、沮丧表情符号205B、生气表情符号205C。As another example, assuming that the above-mentioned M virtual buttons include the emoticon button 205 in the toolbar area 20A, then the above-mentioned N candidate input objects can be several emoticons corresponding to the emoticon button 205 (such as smiling emoticons, depressed emoticons, angry emoji). Referring to FIG. 4(a), after the user performs the first input of sliding to the right in the candidate bar area of the input method interface, as shown in FIG. 5, the electronic device may display a smile in the candidate bar area in response to the first input Emoji 205A, Frustrated Emoji 205B, Angry Emoji 205C.
S203、电子设备接收对N个候选输入对象中的第一候选输入对象的第二输入。S203. The electronic device receives a second input for a first candidate input object among the N candidate input objects.
其中,第二输入可以为点击操作,也可以为其他可行的手势操作。当然,实际实现时,还可以为其它任意可能的输入,具体可以根据实际使用需求确定,本申请实施例对此不作 限定。Wherein, the second input may be a click operation, or other feasible gesture operations. Of course, in actual implementation, it can also be any other possible input, which can be determined according to actual use requirements, which is not limited in this embodiment of the present application.
示例性地,以图4(b)为例,N个候选输入对象为标点符号“,”、标点符号“。”和标点符号“?”,第一候选输入对象可以是上述3个标点符号中的任意一个,比如,标点符号“,”,那么上述第二输入可以为对标点符号“,”的点击操作。Exemplarily, taking Figure 4(b) as an example, the N candidate input objects are punctuation marks ",", punctuation marks "." Any one of, for example, the punctuation mark ",", then the above-mentioned second input may be a click operation on the punctuation mark ",".
S204、响应于第二输入,电子设备在输入框中显示第一候选输入对象。S204. In response to the second input, the electronic device displays the first candidate input object in the input box.
例如,电子设备可以将第一候选输入对象作为输入内容显示在输入框中。需要说明的是,电子设备将候选区中被选择的候选输入对象显示在输入框中的操作,通常可以称为上屏。For example, the electronic device may display the first candidate input object in the input box as input content. It should be noted that the operation of the electronic device to display the selected candidate input object in the candidate area in the input box may generally be referred to as an upper screen.
示例性地,继续以图4(b)为例,假设第二输入为对候选栏区域中的标点符号“,”的输入(即第一候选输入对象为标点符号“,”),则如图4(c)所示,在电子设备接收到第二输入之后,电子设备可以在输入框中显示标点符号“,”。Exemplarily, continue to take Fig. 4 (b) as an example, assuming that the second input is the input of the punctuation mark "," in the candidate column area (that is, the first candidate input object is the punctuation mark ","), then as shown in As shown in 4(c), after the electronic device receives the second input, the electronic device may display a punctuation mark "," in the input box.
基于本申请实施例提供的输入方法,通过接收针对第一区域的第一输入,电子设备将M个虚拟按键对应的N个候选输入对象显示在候选区中,因此,电子设备可以响应于对某候选输入对象的输入,在输入框中显示该候选输入对象。如此一来,当用户需要在输入框中输入内容时,除了可以在虚拟按键的显示位置进行操作之外,还可以在除输入法界面的键盘区域之外的区域操作,从而解决输入法的操作方式单一的问题。Based on the input method provided by the embodiment of the present application, by receiving the first input for the first area, the electronic device displays N candidate input objects corresponding to the M virtual keys in the candidate area. Therefore, the electronic device can respond to a certain The input of the candidate input object, and display the candidate input object in the input box. In this way, when the user needs to input content in the input box, in addition to operating in the display position of the virtual key, it can also operate in an area other than the keyboard area of the input method interface, thereby solving the operation of the input method A single problem.
可选地,如图6所示,在上述S204之后,本申请实施例提供的输入方法还可以包括下述的S205。Optionally, as shown in FIG. 6, after the above S204, the input method provided by the embodiment of the present application may further include the following S205.
S205、电子设备在候选区中保持显示N个候选输入对象。S205. The electronic device keeps displaying N candidate input objects in the candidate area.
即,在用户未触发电子设备取消显示该N个候选输入对象之前,电子设备始终在候选区中显示N个候选输入对象。That is, before the user triggers the electronic device to cancel the display of the N candidate input objects, the electronic device always displays the N candidate input objects in the candidate area.
示例性地,参考图4(a)、图4(b)、图4(c)以及图7,图4(a)示出了电子设备接收到第一输入之前的输入法界面,图4(b)示出了电子设备接收到第一输入之后的输入法界面,图4(c)示出了电子设备接收到第二输入之后的输入法界面,图7示出了在候选栏区域内保持显示N个候选输入对象的输入法界面。当用户点击图4(b)中候选栏区域中的某个候选输入对象之后,比如标点符号“,”,电子设备可以在输入框中显示标点符号“,”,这样一来,输入框中的内容变为“好的,”。同时,如图7所示,电子设备并未取消候选栏区域中显示的3个候选输入对象(即标点符号“,”、标点符号“。”和标点符号“?”),即电子设备在候选栏区域内保持显示该3个候选输入对象。Exemplarily, referring to FIG. 4(a), FIG. 4(b), FIG. 4(c) and FIG. 7, FIG. 4(a) shows the input method interface before the electronic device receives the first input, and FIG. 4( b) shows the input method interface after the electronic device receives the first input, FIG. 4(c) shows the input method interface after the electronic device receives the second input, and FIG. An input method interface displaying N candidate input objects. When the user clicks on a candidate input object in the candidate bar area in Figure 4(b), such as the punctuation mark "," the electronic device can display the punctuation mark "," in the input box, so that the input box The content changes to "OK,". At the same time, as shown in Figure 7, the electronic device did not cancel the three candidate input objects displayed in the candidate column area (that is, the punctuation mark ",", the punctuation mark ".", and the punctuation mark "?"), that is, the electronic device is in the The three candidate input objects are kept displayed in the column area.
基于上述方案,由于电子设备可以在候选区中保持显示上述N个候选输入对象,因此在用户需要频繁操作输入法界面中的M个虚拟按键的情况下,可以避免用户频繁触发电子设备在候选区中显示M个候选输入对象,从而可以避免用户在电子设备中进行重复操作,简化操作过程。如此,可以进一步提高电子设备的输入的便捷性。Based on the above solution, since the electronic device can keep displaying the above N candidate input objects in the candidate area, when the user needs to frequently operate the M virtual keys in the input method interface, it can avoid the user frequently triggering the electronic device to display in the candidate area. M candidate input objects are displayed in , so that the user can avoid repeated operations in the electronic device and simplify the operation process. In this way, the convenience of inputting the electronic device can be further improved.
可选地,本申请实施例中,上述M个虚拟按键可以为输入法界面中靠近电子设备的目标侧边的至少部分虚拟按键。Optionally, in the embodiment of the present application, the above M virtual keys may be at least some of the virtual keys near the target side of the electronic device in the input method interface.
其中,电子设备的目标侧边可以是电子设备的左侧边或者右侧边。Wherein, the target side of the electronic device may be the left side or the right side of the electronic device.
在一些实施例中,电子设备可以根据用户的预先设置,确定上述目标侧边。例如,电子设备可以向用户提供输入法的设置界面,该设置界面可以包括供用户设置惯用手的选项,电子设备可以根据用户对该选项的设置确定目标侧边。例如,当用户设置其惯用手为右手时,电子设备可以确定目标侧边为左侧边。反之,当用户设置其惯用手为左手时,电子设备可以确定目标侧边为右侧边。In some embodiments, the electronic device may determine the aforementioned target side according to the user's preset settings. For example, the electronic device may provide the user with an input method setting interface, the setting interface may include an option for the user to set the dominant hand, and the electronic device may determine the target side according to the setting of the option by the user. For example, when the user sets his dominant hand as the right hand, the electronic device may determine that the target side is the left side. Conversely, when the user sets his dominant hand as the left hand, the electronic device may determine that the target side is the right side.
在另一些实施例中,电子设备可以根据针对第一区域的第一输入,确定上述目标侧边。例如,电子设备可以根据第一输入的输入方向,确定目标侧边。示例性地,当第一输入为向上滑动时,电子设备可以确定目标侧边为电子设备的右侧边;当第一输入为向下滑动时,电子设备可以确定目标侧边为电子设备的左侧边。In some other embodiments, the electronic device may determine the aforementioned target side according to the first input for the first area. For example, the electronic device may determine the target side according to the input direction of the first input. For example, when the first input is sliding up, the electronic device may determine that the target side is the right side of the electronic device; when the first input is sliding down, the electronic device may determine that the target side is the left side of the electronic device side.
目前,为了给用户带来更好的使用体验,电子设备的屏幕尺寸也越来越大。以手机为例,大多数手机的屏幕尺寸可以达到6英寸或6英寸以上。大尺寸屏幕虽然可以提升用户的使用体验,但是也增加了用户单手操作的难度。当用户单手握持手机时,由于屏幕尺寸较大,使得用户手指可能难以触碰到虚拟键盘中靠近手机左侧边的虚拟按键,从而导致电子设备的单手操作方式不够便捷。At present, in order to bring better user experience to users, the screen size of electronic devices is also getting larger and larger. Taking mobile phones as an example, the screen size of most mobile phones can reach 6 inches or more. Although the large-size screen can improve the user experience, it also increases the difficulty of the user's one-handed operation. When the user holds the mobile phone with one hand, due to the large screen size, it may be difficult for the user's fingers to touch the virtual keys near the left side of the mobile phone in the virtual keyboard, resulting in inconvenient one-handed operation of the electronic device.
而基于本申请实施例上述方案,由于候选区位于输入法界面中用户可以单手触及的位置,因此在电子设备将靠近侧边的虚拟按键对应的候选输入对象显示在候选区之后,用户通过单手即可操作候选区中显示的这些候选输入对象,以使得电子设备将被选择的候选输入对象显示在输入框中,如此用户单手即可实现对位于输入法界面中靠近电子设备侧边的虚拟按键的间接操作,从而使得电子设备的单手操作方式比较便捷。Based on the above scheme of the embodiment of the present application, since the candidate area is located in the input method interface where the user can touch it with one hand, after the electronic device displays the candidate input object corresponding to the virtual key near the side in the candidate area, the user can use a single These candidate input objects displayed in the candidate area can be manipulated by hand, so that the electronic device will display the selected candidate input object in the input box, so that the user can realize the input method located near the side of the electronic device in the input method interface with one hand. The indirect operation of the virtual key makes the one-handed operation of the electronic device more convenient.
可选地,本申请实施例提供的输入方法还包括下述的S206。Optionally, the input method provided in the embodiment of the present application further includes the following S206.
S206、电子设备响应于第一输入,在第一显示位置取消显示M个虚拟按键。S206. The electronic device cancels displaying the M virtual keys at the first display position in response to the first input.
其中,上述第一显示位置可以为电子设备接收到第一输入之前,上述M个虚拟按键的显示位置。Wherein, the above-mentioned first display position may be the display position of the above-mentioned M virtual keys before the electronic device receives the first input.
示例性地,参考图4(a)和图8,图4(a)所示为电子设备接收第一输入之前的输入法界面。如图8所示,在电子设备接收到第一输入之后,电子设备可以将标点按键A1、A2和A3对应的标点符号显示在候选栏区域,并在区域A中取消显示标点按键A1、A2和A3。Exemplarily, referring to FIG. 4( a ) and FIG. 8 , FIG. 4( a ) shows the input method interface before the electronic device receives the first input. As shown in Figure 8, after the electronic device receives the first input, the electronic device can display the punctuation marks corresponding to the punctuation keys A1, A2 and A3 in the candidate column area, and cancel the display of the punctuation keys A1, A2 and A3 in area A. A3.
可选地,在上述S206之后,本申请实施例提供的输入方法还包括下述的S207和S208。Optionally, after the above S206, the input method provided in the embodiment of the present application further includes the following S207 and S208.
S207、电子设备接收第三输入。S207. The electronic device receives a third input.
可选地,第三输入可以为对候选区中的候选输入对象的输入,或者第三输入为对输入法界面中的虚拟按键的输入。可以理解,在第三输入为对候选区中的候选输入对象的输入的情况下,对应的用户动作可以为在候选区中选择候选输入对象。Optionally, the third input may be an input to a candidate input object in the candidate area, or the third input may be an input to a virtual key in an input method interface. It can be understood that, in the case that the third input is an input to a candidate input object in the candidate area, the corresponding user action may be to select a candidate input object in the candidate area.
在一些实施例中,第三输入还可以为特定的手势输入,对应的用户动作可以为重新打字。在此情况下,对应的用户动作可以为执行预设手势操作。其中,上述预设手势操作可以是在输入法界面内向下滑动、在输入法界面内向上滑动、或者双击输入法界面的某个虚 拟按键等。具体可以根据实际使用需求确定,本申请实施例不作限定。In some embodiments, the third input may also be a specific gesture input, and the corresponding user action may be typing again. In this case, the corresponding user action may be performing a preset gesture operation. Wherein, the preset gesture operation mentioned above may be sliding down in the input method interface, sliding up in the input method interface, or double-clicking a certain virtual button on the input method interface, etc. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
S208、电子设备响应于第三输入,在候选区中取消显示N个候选输入对象,并在第一显示位置显示M个虚拟按键。S208. In response to the third input, the electronic device cancels displaying N candidate input objects in the candidate area, and displays M virtual keys at the first display position.
示例性地,如图9(a)所示,当用户在候选栏区域内选择候选输入对象“我”之后,输入法显示界面可以更新为如图9(b)所示的界面。如图9(b)所示,电子设备可以在输入框中显示输入内容“我”,并在候选栏区域内取消显示标点符号“,”、标点符号“。”和标点符号“?”,以及在区域A内恢复显示对应的虚拟按键。Exemplarily, as shown in FIG. 9( a ), after the user selects the candidate input object "I" in the candidate column area, the input method display interface may be updated to the interface shown in FIG. 9( b ). As shown in Figure 9(b), the electronic device can display the input content "I" in the input box, and cancel the display of the punctuation mark ",", the punctuation mark "." and the punctuation mark "?" in the candidate column area, and In area A, the corresponding virtual keys are displayed again.
再示例性地,如图10(a)所示,当用户对输入法界面中的虚拟按键输入之后,输入法显示界面可以更新为如图10(b)所示的界面。如图10(b)所示,电子设备可以在拼音栏区域显示该虚拟按键对应的字符串(比如拼音),在候选栏区域内显示该字符串对应的候选输入对象,同时在候选栏区域内取消显示标点符号“,”、标点符号“。”和标点符号“?”,并在区域A内恢复显示标点符号“,”、标点符号“。”和标点符号“?”对应的虚拟按键。As another example, as shown in FIG. 10( a ), after the user inputs a virtual key in the input method interface, the input method display interface may be updated to the interface shown in FIG. 10( b ). As shown in Figure 10(b), the electronic device can display the character string (such as pinyin) corresponding to the virtual key in the pinyin column area, display the candidate input object corresponding to the character string in the candidate column area, and simultaneously display the corresponding character string in the candidate column area Cancel the display of the punctuation mark ",", the punctuation mark "." and the punctuation mark "?", and restore the virtual keys corresponding to the punctuation mark ",", the punctuation mark "." and the punctuation mark "?" in area A.
又示例性地,如图11(a)所示,在用户执行向下滑动的预设手势操作之后,输入法显示界面可以更新为如图11(b)所示的界面。如图11(b)所示,电子设备可以在候选栏区域内取消显示标点符号“,”、标点符号“。”和标点符号“?”,并在区域A内恢复显示对应的虚拟按键。Also exemplary, as shown in FIG. 11( a ), after the user performs a preset gesture operation of sliding down, the input method display interface may be updated to the interface shown in FIG. 11( b ). As shown in FIG. 11( b ), the electronic device can cancel the display of the punctuation mark ",", the punctuation mark ".", and the punctuation mark "?" in the candidate bar area, and resume displaying the corresponding virtual keys in area A.
在上述方案中,由于电子设备可以根据用户的输入,将虚拟按键还原显示至其原本的显示位置,即用户可以通过输入,触发电子设备将输入法界面恢复为输入法的原始界面,从而使得输入方式更加灵活。In the above scheme, since the electronic device can restore the virtual key to its original display position according to the user's input, that is, the user can trigger the electronic device to restore the input method interface to the original interface of the input method by inputting, thereby making the input method The way is more flexible.
可选地,在上述S202之前,本申请实施例提供的输入方法还可以包括下述的S209。Optionally, before the above S202, the input method provided in the embodiment of the present application may further include the following S209.
S209、电子设备根据第一输入的输入参数,确定M个虚拟按键。S209. The electronic device determines M virtual keys according to the first input parameter.
即,电子设备可以根据第一输入的输入参数,确定在候选区中显示哪几个虚拟按键对应的候选输入对象。That is, the electronic device may determine, according to the input parameters of the first input, which candidate input objects corresponding to which virtual keys are displayed in the candidate area.
示例性地,在第一输入是手势操作的情况下,第一输入的输入参数可以是该手势操作的操作参数。例如,当第一输入为滑动操作时,第一输入的输入参数可以是该滑动操作的滑动距离。再如,当第一输入为点击操作时,第一输入的输入参数可以是该点击操作的点击次数。再如,当第一输入为长按操作时,第一输入的输入参数可以是该长按操作的按压时间。Exemplarily, in the case that the first input is a gesture operation, the input parameter of the first input may be an operation parameter of the gesture operation. For example, when the first input is a sliding operation, the input parameter of the first input may be a sliding distance of the sliding operation. For another example, when the first input is a click operation, the input parameter of the first input may be the number of clicks of the click operation. For another example, when the first input is a long press operation, the input parameter of the first input may be the pressing time of the long press operation.
以下以第一输入为滑动操作为例,举例说明电子设备如何根据第一输入的输入参数,确定上述M个虚拟按键。The following takes the first input as an example of a sliding operation to illustrate how the electronic device determines the aforementioned M virtual keys according to the input parameters of the first input.
1、电子设备检测该滑动操作的滑动距离,比如,可以以像素为单位表示滑动距离。1. The electronic device detects the sliding distance of the sliding operation, for example, the sliding distance may be expressed in units of pixels.
2、电子设备根据该滑动距离,确定要在候选栏区域内显示的候选输入对象的数量M。例如,当滑动距离不足5像素(Pixel)时,候选输入对象的数量为0。滑动距离每增加5像素,则对应的候选输入对象的数量加1。2. The electronic device determines the number M of candidate input objects to be displayed in the candidate column area according to the sliding distance. For example, when the sliding distance is less than 5 pixels (Pixel), the number of candidate input objects is 0. When the sliding distance increases by 5 pixels, the number of corresponding candidate input objects increases by 1.
3、电子设备将符号区域中前M个位置处的标点符号作为在候选栏区域内显示的标点符 号。参考表1,表1中符号列表中的标点符号与输入法界面的符号区域内显示的标点符号相对应;表1中临时列表中的标点符号与候选栏区域内显示的标点符号相对应。如表1所示,当滑动距离不超过5像素时,候选输入对象的数量为0,相应的,临时列表为空;当滑动距离在5像素至10像素之间时,候选输入对象的数量为1,相应的,临时列表中包括一个标点符号(即逗号“,”),该标点符号为符号区域的第1个位置处的标点符号,候选栏区域中将显示该标点符号。此时,符号列表中包括标点符号“,”之后的四个标点符号,分别为标点符号“,”,标点符号“。”,标点符号“?”和标点符号“!”,符号区域将显示上述的四个标点符号。3. The electronic device uses the punctuation marks at the first M positions in the symbol area as the punctuation marks displayed in the candidate bar area. Referring to Table 1, the punctuation marks in the symbol list in Table 1 correspond to the punctuation marks displayed in the symbol area of the input method interface; the punctuation marks in the temporary list in Table 1 correspond to the punctuation marks displayed in the candidate bar area. As shown in Table 1, when the sliding distance does not exceed 5 pixels, the number of candidate input objects is 0, and correspondingly, the temporary list is empty; when the sliding distance is between 5 pixels and 10 pixels, the number of candidate input objects is 1. Correspondingly, the temporary list includes a punctuation mark (that is, a comma ","), which is the punctuation mark at the first position of the symbol area, and the punctuation mark will be displayed in the candidate bar area. At this time, the four punctuation marks after the punctuation mark "," are included in the symbol list, which are punctuation mark ",", punctuation mark ".", punctuation mark "?" and punctuation mark "!", and the symbol area will display the above The four punctuation marks.
表1Table 1
滑动距离sliding distance 符号列表symbol list 临时列表temporary list
(0,5)(0,5) [“,”,“。”,“?”,“!”][",",".","?","!"] [][]
[5,10)[5,10) [“。”,“?”,“!”,“…”][“.”, “?”, “!”, “…”] [“,”][","]
[10,15)[10,15) [“?”,“!”,“…”,“:”]["?", "!", "...", ":"] [“,”,“。”][",","."]
[15,20)[15,20) [“!”,“…”,“:”,“;”]["!", "...", ":", ";"] [“,”,“。”,“?”][",",".","?"]
下面将以输入法装置执行输入方法为例,说明本申请实施例提供的输入装置。The input device provided by the embodiment of the present application will be described below by taking the input method device executing the input method as an example.
如图12所示,本申请实施例提供一种输入装置1100,该输入装置1100包括接收模块1101和显示模块1102。接收模块1101,用于在电子设备显示输入法界面的情况下,接收针对第一区域的第一输入,第一区域为除输入法界面的键盘区域之外的区域。显示模块1102,用于响应于第一输入,在候选区中显示N个候选输入对象,N个候选输入对象为输入法界面中的M个虚拟按键对应的候选输入对象,N和M为正整数,N大于或等于M。接收模块1101,还用于接收对N个候选输入对象中的第一候选输入对象的第二输入。显示模块1102,还用于响应于第二输入,在输入框中显示第一候选输入对象。As shown in FIG. 12 , the embodiment of the present application provides an input device 1100 , and the input device 1100 includes a receiving module 1101 and a display module 1102 . The receiving module 1101 is configured to receive a first input for a first area when the electronic device displays an input method interface, and the first area is an area other than the keyboard area of the input method interface. The display module 1102 is configured to display N candidate input objects in the candidate area in response to the first input, and the N candidate input objects are candidate input objects corresponding to the M virtual keys in the input method interface, and N and M are positive integers , N is greater than or equal to M. The receiving module 1101 is further configured to receive a second input for a first candidate input object among the N candidate input objects. The display module 1102 is further configured to display the first candidate input object in the input box in response to the second input.
可选地,显示模块1102,还用于在输入框中显示第一候选输入对象之后,在候选区中保持显示N个候选输入对象。Optionally, the display module 1102 is further configured to keep displaying N candidate input objects in the candidate area after displaying the first candidate input object in the input box.
可选地,M个虚拟按键可以为输入法界面中靠近电子设备的目标侧边的至少部分虚拟按键。Optionally, the M virtual keys may be at least some of the virtual keys on the input method interface near the target side of the electronic device.
可选地,显示模块1102,还用于响应于第一输入,在第一显示位置取消显示M个虚拟按键,第一显示位置为接收到第一输入之前M个虚拟按键的显示位置。Optionally, the display module 1102 is further configured to, in response to the first input, cancel displaying the M virtual keys at the first display position, where the first display position is the display position of the M virtual keys before the first input is received.
可选地,接收模块1101,还用于在第一显示位置取消显示M个虚拟按键之后,接收第三输入;显示模块1102,还用于响应于第三输入,在候选区中取消显示N个候选输入对象,并在第一显示位置显示M个虚拟按键。Optionally, the receiving module 1101 is further configured to receive a third input after canceling the display of the M virtual keys at the first display position; the display module 1102 is further configured to cancel the display of the N virtual keys in the candidate area in response to the third input candidate input objects, and display M virtual keys at the first display position.
可选地,第三输入为对候选区中的候选输入对象的输入,或者第三输入为对输入法界面中的虚拟按键的输入。Optionally, the third input is an input to a candidate input object in the candidate area, or the third input is an input to a virtual key in an input method interface.
可选地,本申请实施例提供的输入装置1100还可以包括确定模块1103。确定模块1103, 用于在候选区中显示N个候选输入对象之前,根据第一输入的输入参数,确定M个虚拟按键。Optionally, the input device 1100 provided in the embodiment of the present application may further include a determination module 1103 . The determining module 1103 is configured to determine M virtual keys according to the input parameters of the first input before displaying the N candidate input objects in the candidate area.
基于本申请实施例提供的输入装置,由于该输入装置通过接收针对第一区域的第一输入,将M个虚拟按键对应的N个候选输入对象显示在候选区中,因此,该输入装置可以响应于对某候选输入对象的输入,在输入框中显示该候选输入对象。如此一来,当用户需要在输入框中输入内容时,除了可以在虚拟按键的显示位置进行操作之外,还可以在除输入法界面的键盘区域之外的区域操作,从而解决输入法的操作方式单一的问题。Based on the input device provided by the embodiment of the present application, since the input device displays the N candidate input objects corresponding to the M virtual keys in the candidate area by receiving the first input for the first area, the input device can respond to For the input of a candidate input object, the candidate input object is displayed in the input box. In this way, when the user needs to input content in the input box, in addition to operating in the display position of the virtual key, it can also operate in an area other than the keyboard area of the input method interface, thereby solving the operation of the input method A single problem.
本申请实施例中的输入装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The input device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的输入装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The input device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的输入装置能够实现上述方法实施例实现的各个过程,以及达到相同的技术效果,为避免重复,这里不再赘述。The input device provided by the embodiment of the present application can realize each process realized by the above method embodiment, and achieve the same technical effect, and to avoid repetition, details are not repeated here.
可选地,如图13所示,本申请实施例还提供一种电子设备1200,包括处理器1201,存储器1202,存储在存储器1202上并可在所述处理器1201上运行的程序或指令,该程序或指令被处理器1201执行时实现上述输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 13 , the embodiment of the present application further provides an electronic device 1200, including a processor 1201, a memory 1202, and programs or instructions stored in the memory 1202 and operable on the processor 1201, When the program or instruction is executed by the processor 1201, each process of the above-mentioned input method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图14为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 14 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309、以及处理器1310等部件。The electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310, etc. part.
本领域技术人员可以理解,电子设备1300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1300 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1310 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 14 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
其中,输入单元1304,用于在电子设备1300显示输入法界面的情况下,接收针对第一 区域的第一输入,第一区域为除输入法界面的键盘区域之外的区域;显示单元1306,用于响应于第一输入,在候选区中显示N个候选输入对象,N个候选输入对象为输入法界面中的M个虚拟按键对应的候选输入对象,N和M为正整数,N大于或等于M;输入单元1304,还用于接收对N个候选输入对象中的第一候选输入对象的第二输入;显示单元1306,还用于响应于第二输入,在输入框中显示第一候选输入对象。Wherein, the input unit 1304 is configured to receive the first input for the first area when the electronic device 1300 displays the input method interface, and the first area is an area other than the keyboard area of the input method interface; the display unit 1306, It is used to display N candidate input objects in the candidate area in response to the first input, and the N candidate input objects are candidate input objects corresponding to M virtual keys in the input method interface, N and M are positive integers, and N is greater than or equal to M; the input unit 1304 is also used to receive a second input to the first candidate input object in the N candidate input objects; the display unit 1306 is also used to display the first candidate in the input box in response to the second input Enter the object.
基于本申请实施例提供的电子设备,通过接收针对第一区域的第一输入,电子设备将M个虚拟按键对应的N个候选输入对象显示在候选区中,因此,电子设备可以响应于对某候选输入对象的输入,在输入框中显示该候选输入对象。如此一来,当用户需要在输入框中输入内容时,除了可以在虚拟按键的显示位置进行操作之外,还可以在除输入法界面的键盘区域之外的区域操作,从而解决输入法的操作方式单一的问题。Based on the electronic device provided by the embodiment of the present application, by receiving the first input for the first area, the electronic device displays N candidate input objects corresponding to the M virtual keys in the candidate area. Therefore, the electronic device can respond to a certain The input of the candidate input object, and display the candidate input object in the input box. In this way, when the user needs to input content in the input box, in addition to operating in the display position of the virtual key, it can also operate in an area other than the keyboard area of the input method interface, thereby solving the operation of the input method A single problem.
可选地,显示单元1306,还用于在输入框中显示第一候选输入对象之后,在候选区中保持显示N个候选输入对象。Optionally, the display unit 1306 is further configured to keep displaying N candidate input objects in the candidate area after displaying the first candidate input object in the input box.
可选地,M个虚拟按键可以为输入法界面中靠近电子设备的目标侧边的至少部分虚拟按键。Optionally, the M virtual keys may be at least some of the virtual keys on the input method interface near the target side of the electronic device.
可选地,显示单元1306,还用于响应于第一输入,在第一显示位置取消显示M个虚拟按键,第一显示位置为接收到第一输入之前M个虚拟按键的显示位置。Optionally, the display unit 1306 is further configured to, in response to the first input, cancel displaying the M virtual keys at the first display position, where the first display position is the display position of the M virtual keys before the first input is received.
可选地,输入单元1304,还用于在第一显示位置取消显示M个虚拟按键之后,接收第三输入;显示单元1306,还用于响应于第三输入,在候选区中取消显示N个候选输入对象,并在第一显示位置显示M个虚拟按键。Optionally, the input unit 1304 is further configured to receive a third input after canceling the display of the M virtual keys at the first display position; the display unit 1306 is further configured to cancel the display of the N virtual keys in the candidate area in response to the third input candidate input objects, and display M virtual keys at the first display position.
可选地,第三输入为对候选区中的候选输入对象的输入,或者第三输入为对输入法界面中的虚拟按键的输入。Optionally, the third input is an input to a candidate input object in the candidate area, or the third input is an input to a virtual key in an input method interface.
可选地,如图14所示,本申请实施例提供的电子设备1300还包括处理器1310。处理器1310,用于在候选区中显示N个候选输入对象之前,根据第一输入的输入参数,确定M个虚拟按键。Optionally, as shown in FIG. 14 , the electronic device 1300 provided in this embodiment of the present application further includes a processor 1310 . The processor 1310 is configured to determine M virtual keys according to the input parameters of the first input before displaying the N candidate input objects in the candidate area.
应理解的是,本申请实施例中,输入单元1304可以包括图形处理器(Graphics Processing Unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1306可包括显示面板13061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板13061。用户输入单元1307包括触控面板13071以及其他输入设备13072。触控面板13071,也称为触摸屏。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1309可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。It should be understood that, in this embodiment of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, and the graphics processor 13041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and other input devices 13072 . Touch panel 13071, also called touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 1309 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1310 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned input method embodiment can be achieved, and the same Technical effects, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the above-mentioned input method embodiments. process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (16)

  1. 一种输入方法,包括:An input method comprising:
    在电子设备显示输入法界面的情况下,接收针对第一区域的第一输入,所述第一区域为除输入法界面的键盘区域之外的区域;When the electronic device displays the input method interface, receiving a first input for the first area, the first area is an area other than the keyboard area of the input method interface;
    响应于所述第一输入,在候选区中显示N个候选输入对象,所述N个候选输入对象为所述输入法界面中的M个虚拟按键对应的候选输入对象,N和M为正整数,N大于或等于M;In response to the first input, N candidate input objects are displayed in the candidate area, the N candidate input objects are candidate input objects corresponding to the M virtual keys in the input method interface, and N and M are positive integers , N is greater than or equal to M;
    接收对所述N个候选输入对象中的第一候选输入对象的第二输入;receiving a second input to a first candidate input object of the N candidate input objects;
    响应于所述第二输入,在输入框中显示所述第一候选输入对象。In response to the second input, the first candidate input object is displayed in an input box.
  2. 根据权利要求1所述的方法,其中,所述在输入框中显示所述第一候选输入对象之后,所述方法还包括:The method according to claim 1, wherein, after displaying the first candidate input object in the input box, the method further comprises:
    在所述候选区中保持显示所述N个候选输入对象。The N candidate input objects are kept displayed in the candidate area.
  3. 根据权利要求1所述的方法,其中,所述M个虚拟按键为:所述输入法界面中靠近所述电子设备的目标侧边的至少部分虚拟按键。The method according to claim 1, wherein the M virtual keys are: at least some of the virtual keys close to the target side of the electronic device in the input method interface.
  4. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    响应于所述第一输入,在第一显示位置取消显示所述M个虚拟按键,所述第一显示位置为接收到所述第一输入之前所述M个虚拟按键的显示位置。In response to the first input, cancel displaying the M virtual keys at a first display position, where the first display position is a display position of the M virtual keys before receiving the first input.
  5. 根据权利要求4所述的方法,其中,所述在第一显示位置取消显示所述M个虚拟按键之后,所述方法还包括:The method according to claim 4, wherein, after canceling the display of the M virtual keys at the first display position, the method further comprises:
    接收第三输入;receiving a third input;
    响应于所述第三输入,在所述候选区中取消显示所述N个候选输入对象,并在所述第一显示位置显示所述M个虚拟按键。In response to the third input, cancel displaying the N candidate input objects in the candidate area, and display the M virtual keys at the first display position.
  6. 根据权利要求5所述的方法,其中,所述第三输入为对所述候选区中的候选输入对象的输入;或者,所述第三输入为对所述输入法界面中的虚拟按键的输入。The method according to claim 5, wherein the third input is an input to a candidate input object in the candidate area; or, the third input is an input to a virtual key in the input method interface .
  7. 一种输入装置,所述装置包括:接收模块和显示模块;An input device, the device comprising: a receiving module and a display module;
    所述接收模块,用于在电子设备显示输入法界面的情况下,接收针对第一区域的第一输入,所述第一区域为除输入界面的键盘区域之外的区域;The receiving module is configured to receive a first input for a first area when the electronic device displays an input method interface, and the first area is an area other than the keyboard area of the input interface;
    所述显示模块,用于响应于所述第一输入,在候选区中显示N个候选输入对象,所述N个候选输入对象为所述输入法界面中的M个虚拟按键对应的候选输入对象,N和M为正整数,N大于或等于M;The display module is configured to display N candidate input objects in the candidate area in response to the first input, and the N candidate input objects are candidate input objects corresponding to the M virtual keys in the input method interface , N and M are positive integers, and N is greater than or equal to M;
    所述接收模块,还用于接收对所述N个候选输入对象中的第一候选输入对象的第二输 入;The receiving module is also used to receive a second input to the first candidate input object in the N candidate input objects;
    所述显示模块,还用于响应于所述第二输入,在输入框中显示所述第一候选输入对象。The display module is further configured to display the first candidate input object in an input box in response to the second input.
  8. 根据权利要求7所述的装置,其中,所述显示模块,还用于在所述输入框中显示所述第一候选输入对象之后,在所述候选区中保持显示所述N个候选输入对象。The device according to claim 7, wherein the display module is further configured to keep displaying the N candidate input objects in the candidate area after displaying the first candidate input object in the input box .
  9. 根据权利要求7所述的装置,其中,所述M个虚拟按键为:所述输入法界面中靠近所述电子设备的目标侧边的至少部分虚拟按键。The device according to claim 7, wherein the M virtual keys are: at least some of the virtual keys close to the target side of the electronic device in the input method interface.
  10. 根据权利要求7所述的装置,其中,所述显示模块,还用于响应于所述第一输入,在第一显示位置取消显示所述M个虚拟按键,所述第一显示位置为接收到所述第一输入之前所述M个虚拟按键的显示位置。The device according to claim 7, wherein the display module is further configured to cancel displaying the M virtual keys at a first display position in response to the first input, and the first display position is the received The display positions of the M virtual keys before the first input.
  11. 根据权利要求10所述的装置,其中,所述接收模块,还用于在所述第一显示位置取消显示所述M个虚拟按键之后,接收第三输入;The device according to claim 10, wherein the receiving module is further configured to receive a third input after canceling the display of the M virtual keys at the first display position;
    所述显示模块,还用于响应于所述第三输入,在所述候选区中取消显示所述N个候选输入对象,并在所述第一显示位置显示所述M个虚拟按键。The display module is further configured to, in response to the third input, cancel display of the N candidate input objects in the candidate area, and display the M virtual keys at the first display position.
  12. 根据权利要求11所述的装置,其中,所述第三输入为对所述候选区中的候选输入对象的输入;或者,所述第三输入为对所述输入法界面中的虚拟按键的输入。The device according to claim 11, wherein the third input is an input to a candidate input object in the candidate area; or, the third input is an input to a virtual key in the input method interface .
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项所述的输入方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-6 are realized The steps of any one of the input methods.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6任一项所述的输入方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the input method according to any one of claims 1-6 when the programs or instructions are executed by a processor.
  15. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-6任一项所述的输入方法的步骤。A computer program product, the computer program product is executed by at least one processor to implement the steps of the input method according to any one of claims 1-6.
  16. 一种电子设备,所述电子设备被配置为用于执行如权利要求1-6任一项所述的输入方法的步骤。An electronic device configured to execute the steps of the input method according to any one of claims 1-6.
PCT/CN2022/140401 2021-12-27 2022-12-20 Input method and input apparatus WO2023125155A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111619008.2A CN114356113A (en) 2021-12-27 2021-12-27 Input method and input device
CN202111619008.2 2021-12-27

Publications (1)

Publication Number Publication Date
WO2023125155A1 true WO2023125155A1 (en) 2023-07-06

Family

ID=81102453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/140401 WO2023125155A1 (en) 2021-12-27 2022-12-20 Input method and input apparatus

Country Status (2)

Country Link
CN (1) CN114356113A (en)
WO (1) WO2023125155A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356113A (en) * 2021-12-27 2022-04-15 维沃移动通信有限公司 Input method and input device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393506A (en) * 2007-09-13 2009-03-25 苹果公司 Input methods for device having multi-language environment
CN101526879A (en) * 2008-03-04 2009-09-09 苹果公司 Speech input interface on a device
US20150051901A1 (en) * 2013-08-16 2015-02-19 Blackberry Limited Methods and devices for providing predicted words for textual input
CN105144037A (en) * 2012-08-01 2015-12-09 苹果公司 Device, method, and graphical user interface for entering characters
CN108388354A (en) * 2018-02-27 2018-08-10 维沃移动通信有限公司 A kind of display methods and mobile terminal in input method candidate area domain
CN114356113A (en) * 2021-12-27 2022-04-15 维沃移动通信有限公司 Input method and input device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393506A (en) * 2007-09-13 2009-03-25 苹果公司 Input methods for device having multi-language environment
CN101526879A (en) * 2008-03-04 2009-09-09 苹果公司 Speech input interface on a device
CN105144037A (en) * 2012-08-01 2015-12-09 苹果公司 Device, method, and graphical user interface for entering characters
US20150051901A1 (en) * 2013-08-16 2015-02-19 Blackberry Limited Methods and devices for providing predicted words for textual input
CN108388354A (en) * 2018-02-27 2018-08-10 维沃移动通信有限公司 A kind of display methods and mobile terminal in input method candidate area domain
CN114356113A (en) * 2021-12-27 2022-04-15 维沃移动通信有限公司 Input method and input device

Also Published As

Publication number Publication date
CN114356113A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
EP3037948B1 (en) Portable electronic device and method of controlling display of selectable elements
CN110737374B (en) Operation method and electronic equipment
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
WO2022253181A1 (en) Icon arrangement method and apparatus, and electronic device
WO2022247789A1 (en) Candidate word update method and apparatus, and electronic device
WO2023125155A1 (en) Input method and input apparatus
US20120146911A1 (en) Portable electronic device including touch-sensitive display
US20130063361A1 (en) Method of facilitating input at an electronic device
CN111857503A (en) Display method, display device and electronic equipment
WO2023134642A1 (en) Message processing method, message processing apparatus, and electronic device
WO2023093590A1 (en) Display control method and apparatus, and electronic device and medium
WO2023045923A1 (en) Text editing method and apparatus, and electronic device
WO2022247814A1 (en) Method and apparatus for selecting target character, electronic device, and storage medium
WO2022247718A1 (en) Information selection method and apparatus
WO2022194207A1 (en) Input method and apparatus, electronic device and readable storage medium
CN113867581B (en) Content editing method and device and electronic equipment
EP3115864B1 (en) Portable electronic device including keyboard and method of controlling same
CN112162689B (en) Input method and device and electronic equipment
CN113515216A (en) Application program switching method and device and electronic equipment
CA2761454C (en) Portable electronic device including touch-sensitive display
US20130069882A1 (en) Electronic device and method of character selection
CN109683721A (en) A kind of input information display method and terminal
CN113076010B (en) Input method, input device, electronic equipment and medium
CN112437196B (en) Page display method and device and electronic equipment
EP3477458B1 (en) Electronic device and method of providing selectable keys of a keyboard

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

Country of ref document: EP

Kind code of ref document: A1