CN113360000B - Input keyboard display method and device - Google Patents
Input keyboard display method and device Download PDFInfo
- Publication number
- CN113360000B CN113360000B CN202110575914.0A CN202110575914A CN113360000B CN 113360000 B CN113360000 B CN 113360000B CN 202110575914 A CN202110575914 A CN 202110575914A CN 113360000 B CN113360000 B CN 113360000B
- Authority
- CN
- China
- Prior art keywords
- input
- type
- keyboard
- display area
- page
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 230000004044 response Effects 0.000 claims abstract description 18
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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
- G06F3/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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
- G06F3/0238—Programmable keyboards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Input From Keyboards Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域Technical Field
本申请属于通信技术领域,具体涉及一种输入键盘显示方法及装置。The present application belongs to the field of communication technology, and specifically relates to an input keyboard display method and device.
背景技术Background technique
随着电子技术的不断发展,具有不同屏幕大小的电子设备往往都是利用同样的几种类型的输入键盘进行字符输入,例如,拼音九键的输入键盘、全键的输入键盘等。With the continuous development of electronic technology, electronic devices with different screen sizes often use the same types of input keyboards for character input, such as a nine-key pinyin input keyboard, a full-key input keyboard, and the like.
目前,用户通过电子设备使用输入法进行信息输入时,经常遇到汉字、字母、数字、符号等多种文本混合输入的情况,此时,上述涉及的输入键盘显示方式的灵活性较差,导致用户需要不断来回切换不同类别的键盘以完成输入,操作比较繁琐。Currently, when users use input methods to input information through electronic devices, they often encounter the situation of mixed input of multiple texts such as Chinese characters, letters, numbers, symbols, etc. At this time, the flexibility of the input keyboard display method involved above is poor, resulting in users having to constantly switch back and forth between different categories of keyboards to complete the input, which is cumbersome.
发明内容Summary of the invention
本申请实施例的目的是提供一种输入键盘显示方法及装置,能够解决输入键盘显示方式灵活性较差,导致在信息输入时用户操作繁琐的问题。The purpose of the embodiments of the present application is to provide an input keyboard display method and device, which can solve the problem that the input keyboard display mode has poor flexibility, resulting in cumbersome user operations when inputting information.
第一方面,本申请实施例提供了一种输入键盘显示方法,该方法可以包括:In a first aspect, an embodiment of the present application provides an input keyboard display method, which may include:
在电子设备屏幕显示的第一页面包括第一输入键盘的情况下,接收对第一页面的第一输入;In a case where the first page displayed on the screen of the electronic device includes a first input keyboard, receiving a first input to the first page;
响应于第一输入,在第一页面中显示第二输入键盘;In response to the first input, displaying a second input keyboard in the first page;
其中,第一输入键盘为用于显示第一类输入控件的输入键盘,第二输入键盘为用于显示第二类输入控件的输入键盘,第一类输入控件对应的输入内容和第二类输入控件对应的输入内容不同。The first input keyboard is an input keyboard for displaying a first type of input control, the second input keyboard is an input keyboard for displaying a second type of input control, and the input content corresponding to the first type of input control is different from the input content corresponding to the second type of input control.
第二方面,本申请实施例提供了一种输入键盘显示装置,该装置可以包括:In a second aspect, an embodiment of the present application provides an input keyboard display device, which may include:
接收模块,用于在电子设备屏幕显示的第一页面包括第一输入键盘的情况下,接收对第一页面的第一输入;A receiving module, configured to receive a first input on the first page when the first page displayed on the screen of the electronic device includes a first input keyboard;
显示模块,用于响应于第一输入,在第一页面中显示第二输入键盘;A display module, configured to display a second input keyboard in the first page in response to the first input;
其中,第一输入键盘为用于显示第一类输入控件的输入键盘,第二输入键盘为用于显示第二类输入控件的输入键盘,第一类输入控件对应的输入内容和第二类输入控件对应的输入内容不同。The first input keyboard is an input keyboard for displaying a first type of input control, the second input keyboard is an input keyboard for displaying a second type of input control, and the input content corresponding to the first type of input control is different from the input content corresponding to the second type of input control.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面所示的输入键盘显示方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the input keyboard display method shown in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面所示的输入键盘显示方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the input keyboard display method shown in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面所示的输入键盘显示方法的步骤。In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a program or instruction to implement the steps of the input keyboard display method shown in the first aspect.
在本申请实施例中,通过在同一个页面即第一页面中,显示两个具有不同类输入控件的输入键盘即第一输入键盘和第二输入键盘,其中,第一输入键盘的第一类输入控件对应的输入内容和第二输入键盘的第二类输入控件对应的输入内容不同,如第一输入键盘为字母对应的键盘,第二输入键盘为特殊符号和数字对应的键盘。这样,在用户遇到汉字、字母、数字、符号等多种文本混合输入的情况时,用户可以直接通过第一输入键盘和第二输入键盘输入要输入的内容,无需用户来回切换不同类别的键盘以完成输入。由此,可以提高输入键盘显示方式的灵活性,减少在信息输入时用户的操作,有效提高信息输入效率。In an embodiment of the present application, two input keyboards with different types of input controls, namely a first input keyboard and a second input keyboard, are displayed on the same page, namely the first page, wherein the input content corresponding to the first type of input controls of the first input keyboard is different from the input content corresponding to the second type of input controls of the second input keyboard, such as the first input keyboard is a keyboard corresponding to letters, and the second input keyboard is a keyboard corresponding to special symbols and numbers. In this way, when the user encounters a situation where multiple texts such as Chinese characters, letters, numbers, symbols, etc. are mixed, the user can directly input the content to be input through the first input keyboard and the second input keyboard, without the user having to switch back and forth between different types of keyboards to complete the input. In this way, the flexibility of the input keyboard display method can be improved, the user's operations when inputting information can be reduced, and the efficiency of information input can be effectively improved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的一种显示方法的示意图之一;FIG1 is a schematic diagram of a display method according to an embodiment of the present application;
图2为本申请实施例提供的一种显示方法的示意图之二;FIG2 is a second schematic diagram of a display method provided in an embodiment of the present application;
图3为本申请实施例提供的一种输入键盘显示方法的流程图;FIG3 is a flow chart of an input keyboard display method provided in an embodiment of the present application;
图4为本申请实施例提供的一种输入键盘显示的第一界面跳转示意图;FIG4 is a schematic diagram of a first interface jump displayed by an input keyboard provided in an embodiment of the present application;
图5为本申请实施例提供的一种输入键盘显示的第二界面跳转示意图;FIG5 is a schematic diagram of a second interface jump displayed by an input keyboard provided in an embodiment of the present application;
图6为本申请实施例提供的一种输入键盘显示的第三界面跳转示意图;FIG6 is a schematic diagram of a third interface jump displayed by an input keyboard provided in an embodiment of the present application;
图7为本申请实施例提供的一种输入键盘显示的第四界面跳转示意图;FIG. 7 is a schematic diagram of a fourth interface jump displayed by an input keyboard provided in an embodiment of the present application;
图8为本申请实施例提供的一种输入键盘显示的第五界面跳转示意图;FIG8 is a schematic diagram of a fifth interface jump displayed by an input keyboard provided in an embodiment of the present application;
图9为本申请实施例提供的一种输入键盘显示的第六界面跳转示意图;FIG9 is a schematic diagram of a sixth interface jump displayed by an input keyboard provided in an embodiment of the present application;
图10为本申请实施例提供的一种输入键盘显示的第七界面跳转示意图;FIG10 is a schematic diagram of a seventh interface jump displayed by an input keyboard provided in an embodiment of the present application;
图11为本申请实施例提供的一种输入键盘显示的第八界面跳转示意图;FIG11 is a schematic diagram of an eighth interface jump displayed by an input keyboard provided in an embodiment of the present application;
图12为本申请实施例提供的一种输入键盘显示的第九界面跳转示意图;FIG12 is a schematic diagram of a ninth interface jump displayed by an input keyboard provided in an embodiment of the present application;
图13为本申请实施例提供的一种输入键盘显示的第十界面跳转示意图;FIG13 is a schematic diagram of a tenth interface jump displayed by an input keyboard provided in an embodiment of the present application;
图14为本申请实施例提供的一种输入键盘显示的第十一界面跳转示意图;FIG14 is a schematic diagram of an eleventh interface jump displayed by an input keyboard provided in an embodiment of the present application;
图15为本申请实施例提供的一种输入键盘显示的第十二界面跳转示意图;FIG15 is a schematic diagram of a twelfth interface jump displayed by an input keyboard provided in an embodiment of the present application;
图16为本申请实施例提供的一种输入键盘显示装置的结构示意图;FIG16 is a schematic diagram of the structure of an input keyboard display device provided in an embodiment of the present application;
图17为本申请实施例提供的一种电子设备的结构示意图;FIG17 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
图18为本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 18 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
目前,现有的输入键盘支持汉字、字母、数字、符号等多种文本的输入。用户可以通过输入键盘如26全键中某个按键实现汉字、字母、数字、符号等多种文本之间的切换,若要输入的符号没有快捷方式,还是需要在两个不同类的输入键盘如字母输入键盘和数字输入键盘之间来回切换。此时,上述涉及的输入键盘显示方式灵活性较差,导致用户需要不断来回切换不同类别的键盘以完成输入,操作比较繁琐。At present, the existing input keyboard supports the input of multiple texts such as Chinese characters, letters, numbers, symbols, etc. Users can switch between multiple texts such as Chinese characters, letters, numbers, symbols, etc. through a key in the input keyboard, such as a 26-key key. If there is no shortcut for the symbol to be input, it is still necessary to switch back and forth between two different types of input keyboards, such as an alphabetic input keyboard and a numeric input keyboard. At this time, the display mode of the input keyboard involved above is less flexible, resulting in the user having to constantly switch back and forth between different types of keyboards to complete the input, which is cumbersome.
基于此,下面结合附图1-图2,通过具体的实施例及其应用场景对本申请实施例提供的输入键盘显示方法进行详细地说明。Based on this, the input keyboard display method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in combination with Figures 1-2.
本申请实施例提出一种显示架构,该显示架构可以包括电子设备,该电子设备支持输入法进行信息输入。An embodiment of the present application provides a display architecture, which may include an electronic device that supports an input method for information input.
基于此,如图1所示,用户可以使用电子设备支持的输入法进行信息输入,在电子设备接收到用户对电子设备屏幕显示的第一页面进行信息输入,如接收到用户点击某个登陆页面中输入用户名的区域01、密码的区域或者验证码的区域时,电子设备通过第一页面中的第一显示区域10显示第一输入键盘。Based on this, as shown in Figure 1, the user can use the input method supported by the electronic device to input information. When the electronic device receives information input by the user on the first page displayed on the screen of the electronic device, such as when the user clicks on the area 01 for inputting the user name, the area for the password, or the area for the verification code in a certain login page, the electronic device displays the first input keyboard through the first display area 10 in the first page.
接着,若用户在输入用户名、密码或者验证码时遇到汉字、字母、数字、符号等多种文本混合输入的情况,用户可以触控第一页面,开启与第一输入键盘的第一类输入控件对应的不同输入内容的第二输入键盘,这样,用户可以直接根据第一输入键盘和第二输入键盘输入要输入的内容,无需用户来回切换不同类别的键盘以完成输入,减少用户的操作。基于此,如图2所示,电子设备接收用户针对第一页面的第一输入如用户在第一页面中逆时针画圆的特定手势输入时,响应于第一输入,在第一页面中的第二显示区域20显示第二输入键盘。需要说明的是,本申请实施例中的第一输入键盘为显示第一类输入控件的输入键盘,第二输入键盘为显示第二类输入控件的输入键盘,第一类输入控件对应的输入内容和第二类输入控件对应的输入内容不同,示例性的,如图2所示第一输入键盘的第一类输入控件为字母控件时,第二输入键盘的第二类输入控件为数字控件和部分符号控件(或者全部符号控件)。Next, if the user encounters a mixed input of multiple texts such as Chinese characters, letters, numbers, symbols, etc. when entering a user name, password or verification code, the user can touch the first page to open a second input keyboard with different input contents corresponding to the first type of input control of the first input keyboard. In this way, the user can directly enter the content to be input according to the first input keyboard and the second input keyboard, without the user having to switch back and forth between different types of keyboards to complete the input, thereby reducing the user's operation. Based on this, as shown in FIG2, when the electronic device receives the user's first input for the first page, such as a specific gesture input of the user drawing a circle counterclockwise in the first page, in response to the first input, the second display area 20 in the first page displays the second input keyboard. It should be noted that the first input keyboard in the embodiment of the present application is an input keyboard that displays the first type of input control, and the second input keyboard is an input keyboard that displays the second type of input control. The input content corresponding to the first type of input control is different from the input content corresponding to the second type of input control. For example, when the first type of input control of the first input keyboard is a letter control as shown in FIG2, the second type of input control of the second input keyboard is a numeric control and a partial symbol control (or a full symbol control).
然后,用户可以直接根据上述涉及的第一输入键盘和第二输入键盘输入要输入的内容,无需用户来回切换不同类别的键盘以完成输入。由此,可以提高输入键盘显示方式的灵活性,减少在信息输入时用户的操作,有效提高信息输入效率。Then, the user can directly input the content to be input according to the first input keyboard and the second input keyboard involved above, without the user having to switch back and forth between different types of keyboards to complete the input. In this way, the flexibility of the input keyboard display mode can be improved, the user's operations during information input can be reduced, and the efficiency of information input can be effectively improved.
另外,本申请实施例中考虑到两个输入键盘会占用第一页面的有效位置如输入用户名的区域01的情况,本申请实施例提供的输入键盘显示方法提供了两种确定显示第二输入键盘的第二显示区域。第一种方式是在接收到第一页面的第一输入之后,识别第一页面中未显示内容的区域,并将第一页面中未显示内容的区域确定为第二输入键盘对应的第二显示区域。第二种方式是在显示第一输入键盘的第一显示区域上叠加显示第二显示区域,并在每个显示区域对应的位置显示特定的标识,这样,用户可以根据需求,通过移动每个显示区域对应的特定的标识,同时移动对应的显示区域,使其第一输入键盘或者第二输入键盘不遮挡第一页面中的内容。In addition, in the embodiment of the present application, taking into account the situation that two input keyboards will occupy valid positions on the first page, such as area 01 for inputting a user name, the input keyboard display method provided in the embodiment of the present application provides two methods for determining the second display area for displaying the second input keyboard. The first method is to identify the area where no content is displayed in the first page after receiving the first input of the first page, and determine the area where no content is displayed in the first page as the second display area corresponding to the second input keyboard. The second method is to display the second display area superimposed on the first display area where the first input keyboard is displayed, and display a specific mark at the position corresponding to each display area, so that the user can move the specific mark corresponding to each display area according to needs, and move the corresponding display area at the same time, so that the first input keyboard or the second input keyboard does not block the content in the first page.
需要说明的是,本申请实施例中在涉及在第一页面中显示第二输入键盘的步骤,除了上述涉及的在接收用户第一输入后,显示第二输入键盘的情况下,还可以在显示第一输入键盘的同时显示第二输入键盘,即接收到对电子设备屏幕显示的第一页面进行信息输入时,在第一页面中同时显示第一输入键盘和第二输入键盘,这样,还可以进一步减少用户开启第二输入键盘的操作。It should be noted that in the embodiment of the present application, in addition to the above-mentioned case of displaying the second input keyboard after receiving the user's first input, the second input keyboard can also be displayed while displaying the first input keyboard. That is, when information input is received on the first page displayed on the electronic device screen, the first input keyboard and the second input keyboard are displayed on the first page at the same time. In this way, the user's operation of opening the second input keyboard can be further reduced.
由此,通过在同一个页面即第一页面中,显示两个具有不同类输入控件的输入键盘即第一输入键盘和第二输入键盘,如第一输入键盘为字母对应的键盘,第二输入键盘为特殊符号和数字对应的键盘。这样,在用户遇到汉字、字母、数字、符号等多种文本混合输入的情况时,用户可以直接通过第一输入键盘和第二输入键盘输入要输入的内容,无需用户来回切换不同类别的键盘以完成输入。由此,可以提高输入键盘显示方式的灵活性,减少在信息输入时用户的操作,有效提高信息输入效率。Therefore, by displaying two input keyboards with different types of input controls, namely the first input keyboard and the second input keyboard, on the same page, namely the first page, such as the first input keyboard is a keyboard corresponding to letters, and the second input keyboard is a keyboard corresponding to special symbols and numbers. In this way, when the user encounters a situation where multiple texts such as Chinese characters, letters, numbers, symbols, etc. are mixed, the user can directly input the content to be input through the first input keyboard and the second input keyboard, without the user having to switch back and forth between different types of keyboards to complete the input. In this way, the flexibility of the input keyboard display method can be improved, the user's operations when inputting information can be reduced, and the efficiency of information input can be effectively improved.
根据上述显示架构,下面结合图3对本申请实施例提供的输入键盘显示方法进行详细说明。Based on the above display architecture, the input keyboard display method provided in the embodiment of the present application is described in detail below in conjunction with FIG. 3 .
图3为本申请实施例提供的一种输入键盘显示方法的流程图。FIG. 3 is a flow chart of an input keyboard display method provided in an embodiment of the present application.
如图3所示,该输入键盘显示方法可以应用于如图1-图2中所涉及的任意电子设备,基于此,具体可以包括如下步骤:As shown in FIG. 3 , the input keyboard display method can be applied to any electronic device involved in FIG. 1 and FIG. 2 , and based on this, the method can specifically include the following steps:
步骤310,在电子设备屏幕显示的第一页面包括第一输入键盘的情况下,接收对第一页面的第一输入。步骤320,响应于第一输入,在第一页面中显示第二输入键盘;其中,第一输入键盘为用于显示第一类输入控件的输入键盘,第二输入键盘为用于显示第二类输入控件的输入键盘,第一类输入控件对应的输入内容和第二类输入控件对应的输入内容不同。Step 310: When the first page displayed on the screen of the electronic device includes a first input keyboard, a first input to the first page is received. Step 320: In response to the first input, a second input keyboard is displayed on the first page; wherein the first input keyboard is an input keyboard for displaying a first type of input control, the second input keyboard is an input keyboard for displaying a second type of input control, and the input content corresponding to the first type of input control is different from the input content corresponding to the second type of input control.
这样,在用户遇到汉字、字母、数字、符号等多种文本混合输入的情况时,用户可以直接通过第一输入键盘和第二输入键盘输入要输入的内容,无需用户来回切换不同类别的键盘以完成输入。由此,可以提高输入键盘显示方式的灵活性,减少在信息输入时用户的操作,有效提高信息输入效率。In this way, when the user encounters a situation where multiple texts such as Chinese characters, letters, numbers, symbols, etc. are mixed and input, the user can directly input the content to be input through the first input keyboard and the second input keyboard, without the user having to switch back and forth between different types of keyboards to complete the input. In this way, the flexibility of the input keyboard display mode can be improved, the user's operations during information input can be reduced, and the efficiency of information input can be effectively improved.
下面对上述步骤进行详细说明,具体如下所示:The above steps are described in detail below:
首先,涉及步骤310,本申请实施例提供了开启第一输入键盘的方式和开启第二输入键盘的方式。First, with respect to step 310 , the embodiment of the present application provides a method for opening a first input keyboard and a method for opening a second input keyboard.
其中,可以通过在用户在编辑文本的时候,点击文本编辑框的方式,显示第一输入键盘。The first input keyboard can be displayed by clicking on the text editing box when the user is editing text.
另外,本申请实施例中提供至少两种开启第二输入键盘的方式,具体如下所示。In addition, at least two methods of opening the second input keyboard are provided in the embodiment of the present application, as shown below.
方式一,在一种或者多种可选的实施例中,在第一页面中的第一输入键盘包括第一目标输入控件的情况下,接收针对第一目标输入控件的第一输入,第一目标输入控件用于控制显示第二输入键盘。Method 1: In one or more optional embodiments, when the first input keyboard in the first page includes a first target input control, a first input for the first target input control is received, and the first target input control is used to control the display of a second input keyboard.
示例性的,如图4所示,在用户遇到汉字、字母、数字、符号等多种文本混合输入,并想要新增输入键盘的情况时,可以点击第一输入键盘10上的第一目标输入控件40,这样,电子设备在接收到针对第一目标输入控件的第一输入时,以便根据第一输入显示第二输入键盘20。Exemplarily, as shown in FIG. 4 , when a user encounters a mixed input of multiple texts such as Chinese characters, letters, numbers, symbols, etc., and wants to add a new input keyboard, the user can click on the first target input control 40 on the first input keyboard 10. In this way, when the electronic device receives the first input for the first target input control, it can display the second input keyboard 20 based on the first input.
方式二,在一种或者多种可选的实施例中,在接收到针对第一页面的手势输入满足第二预设手势输入的第一输入时,可以根据第一输入显示第二输入键盘。Mode 2: In one or more optional embodiments, when a first input is received in which a gesture input for a first page satisfies a second preset gesture input, a second input keyboard may be displayed according to the first input.
示例性地,如图5所示,在用户遇到汉字、字母、数字、符号等多种文本混合输入,并想要新增输入键盘的情况时,可以在第一页面中顺时针画圈,这样,电子设备在接收到用户顺时针画圈的手势输入与预存的第二预设手势输入一致时,可以显示第二输入键盘20。Exemplarily, as shown in FIG. 5 , when the user encounters a mixed input of multiple texts such as Chinese characters, letters, numbers, symbols, etc., and wants to add a new input keyboard, the user can draw a circle clockwise on the first page. In this way, when the electronic device receives the user's clockwise circle gesture input that is consistent with the pre-stored second preset gesture input, the second input keyboard 20 can be displayed.
需要说明的是,触发开启第二输入键盘的方式还有很多,如长按电子设备上的某个实体键、或者长按第一输入键盘的某个切换键等,上述方式仅是实例性描述,不限定触发开启第二输入键盘的方式。It should be noted that there are many ways to trigger the opening of the second input keyboard, such as long pressing a physical key on the electronic device, or long pressing a switch key on the first input keyboard, etc. The above methods are only exemplary descriptions and do not limit the methods for triggering the opening of the second input keyboard.
基于此,在第一页面显示这些输入键盘时,需要一定的显示区域显示,由此,第一输入键盘对应显示在第一页面中的第一显示区域,第二输入键盘对应显示在第一页面中的第二显示区域。这样,为了防止第二显示区域占用第一页面的有效位置或者减少占用第一页面的有效位置,本发明实施例提供了三种确定第二显示区域的方式,具体如下所示。Based on this, when these input keyboards are displayed on the first page, a certain display area is required for display, so the first input keyboard corresponds to the first display area displayed on the first page, and the second input keyboard corresponds to the second display area displayed on the first page. In this way, in order to prevent the second display area from occupying the valid position of the first page or reduce the valid position occupied by the first page, the embodiment of the present invention provides three ways to determine the second display area, which are specifically as follows.
方式一,将第一页面中未显示内容的区域确定为第二输入键盘对应的第二显示区域。Method 1: determining an area in the first page where no content is displayed as a second display area corresponding to the second input keyboard.
示例性地,如图4或者图5所示,将第一页面中的空白区域确定为第二显示区域。或者,如图6所示,将第一页面中的信息栏60确定为第二显示区域。Exemplarily, as shown in Fig. 4 or Fig. 5, a blank area in the first page is determined as the second display area. Alternatively, as shown in Fig. 6, an information bar 60 in the first page is determined as the second display area.
方式二,在第一显示区域对应的第一位置显示第一标识,以及在第二显示区域对应的第二位置显示第二标识,接收移动第一标识的输入,根据移动第一标识的输入,确定第二显示区域。Method 2: displaying a first mark at a first position corresponding to the first display area, and displaying a second mark at a second position corresponding to the second display area, receiving input of moving the first mark, and determining the second display area according to the input of moving the first mark.
示例性地,如图7所示,可以先在显示第一输入键盘的第一显示区域上叠加显示第二显示区域,并在每个显示区域对应的位置显示特定的标识,这样,用户可以根据需求,通过移动每个显示区域对应的特定的标识,同时移动对应的显示区域,使其第一输入键盘或者第二输入键盘不遮挡第一页面中的内容。如,移动第一标识70,使其第一显示区域位于第一页面的下半部分,并移动第二标识71,使其第二显示区域位于第二页面的上半部分。For example, as shown in FIG7 , the second display area can be superimposed on the first display area displaying the first input keyboard, and a specific mark can be displayed at the position corresponding to each display area, so that the user can move the specific mark corresponding to each display area and the corresponding display area at the same time according to the needs, so that the first input keyboard or the second input keyboard does not block the content in the first page. For example, the first mark 70 is moved so that the first display area is located in the lower half of the first page, and the second mark 71 is moved so that the second display area is located in the upper half of the second page.
方式三,按照预设模式确定第二显示区域。其中,将显示第二输入键盘的最小面积确定为第二显示区域。Method 3: determining the second display area according to a preset mode, wherein the minimum area for displaying the second input keyboard is determined as the second display area.
示例性地,如图8所示,可以将第一显示区域上以显示第二输入键盘的最小面积确定为第二显示区域。Exemplarily, as shown in FIG. 8 , the minimum area on the first display area for displaying the second input keyboard may be determined as the second display area.
当然,也可以将第一页面的竖直区域确定为第二显示区域。如图9所示,将第一页面左边(或者右边)竖直区域确定第二显示区域。Of course, the vertical area of the first page can also be determined as the second display area. As shown in FIG9 , the vertical area on the left (or right) side of the first page is determined as the second display area.
然后,涉及步骤320,基于上述涉及的第一输入键盘对应显示在第一页面中的第一显示区域,第二输入键盘对应显示在第一页面中的第二显示区域,本申请实施例中根据第一显示区域和第二显示区域是否重叠显示,本申请实施例在步骤320之后提供了下述两种通过第一输入键盘和第二输入键盘输入内容的可能。Then, step 320 is involved. Based on the above-mentioned first input keyboard corresponding to the first display area displayed in the first page, and the second input keyboard corresponding to the second display area displayed in the first page, in an embodiment of the present application, according to whether the first display area and the second display area are displayed overlappingly, the embodiment of the present application provides the following two possibilities for inputting content through the first input keyboard and the second input keyboard after step 320.
第一种可能,即第一显示区域和第二显示区域不重叠显示的情况,即不在同一时间段内接收到对第一类输入控件的输入和对第二类输入控件的输入时,则可以分别接收第一输入键盘和第二输入键盘的内容,并显示在待选内容的区域中。The first possibility is that the first display area and the second display area do not overlap, that is, when the input to the first type of input control and the input to the second type of input control are not received in the same time period, the contents of the first input keyboard and the second input keyboard can be received respectively and displayed in the area of the selected content.
但是,在同一时间段内接收到对第一类输入控件的输入和对第二类输入控件的输入的情况下,本申请实施例提供了另外一种方式,即在步骤320之后,该输入键盘显示方法还可以包括:However, when input to the first type of input control and input to the second type of input control are received in the same time period, the embodiment of the present application provides another method, that is, after step 320, the input keyboard display method may further include:
在第一页面的待选内容的区域中显示第一类输入控件触发的第一内容。The first content triggered by the first type of input control is displayed in the area of the to-be-selected content on the first page.
示例性地,如图10所示,有时用户左手右手可能在同时输入,导致用户在同一时间误触碰两个输入键盘的控件,则以第一输入键盘的第一类输入控件为主,即当用户同时触碰第一输入键盘的第一类输入控件“M”和第二输入键盘的第二类输入控件“0”时,在待选内容的区域101显示的是“M”。Exemplarily, as shown in FIG10 , sometimes the user's left and right hands may be inputting at the same time, causing the user to accidentally touch the controls of two input keyboards at the same time. In this case, the first type of input control of the first input keyboard will be used primarily. That is, when the user touches the first type of input control "M" of the first input keyboard and the second type of input control "0" of the second input keyboard at the same time, "M" is displayed in area 101 of the selected content.
反之,第二种可能,即第一显示区域和第二显示区域重叠显示的情况,On the contrary, the second possibility is that the first display area and the second display area are displayed overlappingly.
有两种方式输入内容的方式,方式一为基于移动显示区域对应的标识(不同显示区域的标识可以用不用颜色或者形状区分),然后将两个显示区域移动至不重叠的情况下,隐藏显示区域对应的标识,并通过上述第一种可能执行输入内容的方式;方式二为混合输入,即两个区域重叠的情况下,将在第一页面的待选内容的区域中显示第一类目标输入控件对应的第二内容和第二类目标输入控件对应的第三内容,具体可以如下所示。There are two ways to input content. The first way is to move the logo corresponding to the display area (the logos of different display areas can be distinguished by different colors or shapes), and then move the two display areas to a non-overlapping state, hide the logos corresponding to the display areas, and execute the first possible way to input content. The second way is mixed input, that is, when the two areas overlap, the second content corresponding to the first type of target input control and the third content corresponding to the second type of target input control will be displayed in the area of the content to be selected on the first page, as shown below.
方式一,在步骤320之后,该输入键盘显示方法还可以包括:Mode 1: After step 320, the input keyboard display method may further include:
步骤3201,确定用于标记第一输入键盘的第一标识以及用于标记第二输入键盘的第二标识;Step 3201, determining a first identifier for marking a first input keyboard and a second identifier for marking a second input keyboard;
步骤3202,在第一显示区域对应的第一位置显示第一标识,以及在第二显示区域对应的第二位置显示第二标识。Step 3202: display a first mark at a first position corresponding to the first display area, and display a second mark at a second position corresponding to the second display area.
基于此,在该步,3202之后,该输入键盘显示方法还可以包括:Based on this, after step 3202, the input keyboard display method may further include:
接收针对第一标识的第二输入;receiving a second input for the first identifier;
响应于第二输入,根据第二输入对应显示第一显示区域;In response to the second input, displaying the first display area corresponding to the second input;
在检测到第一显示区域和第二显示区域不重叠显示的情况下,隐藏第一标识和第二标识。When it is detected that the first display area and the second display area are not displayed overlappingly, the first mark and the second mark are hidden.
基于此,将按照第一种可能描述的输入内容的方式实现内容输入,即不在同一时间段内接收到对第一类输入控件的输入和对第二类输入控件的输入时的内容输入方式,以及在同一时间段内接收到对第一类输入控件的输入和对第二类输入控件的输入时的内容输入方式。示例性地,如图11所示,在第一输入键盘的第一显示区域上叠加显示第二显示区域,并在每个显示区域对应的位置显示特定的标识,这样,用户可以根据需求,通过移动每个显示区域对应的特定的标识,来移动对应的显示区域,使其第一输入键盘或者第二输入键盘不遮挡第一页面中的内容。如,移动第一标识70,使其第一显示区域位于第一页面的下半部分,并移动第二标识71,使其第二显示区域位于第二页面的上半部分,在移动到第一显示区域和第二显示区域不重叠的情况下,隐藏第一标识和第二标识。然后,如图10所示,以第一输入键盘的第一类输入控件为主,即当用户同时触碰第一输入键盘的第一类输入控件“M”和第二输入键盘的第二类输入控件“0”时,在待选内容的区域101显示的是“M”。Based on this, content input will be implemented in accordance with the first possible way of inputting content, that is, the content input method when the input to the first type of input control and the input to the second type of input control are not received in the same time period, and the content input method when the input to the first type of input control and the input to the second type of input control are received in the same time period. Exemplarily, as shown in FIG11, the second display area is superimposed on the first display area of the first input keyboard, and a specific logo is displayed at a position corresponding to each display area. In this way, the user can move the corresponding display area by moving the specific logo corresponding to each display area according to needs, so that the first input keyboard or the second input keyboard does not block the content in the first page. For example, the first logo 70 is moved so that the first display area is located in the lower half of the first page, and the second logo 71 is moved so that the second display area is located in the upper half of the second page. When the first display area and the second display area are moved so as not to overlap, the first logo and the second logo are hidden. Then, as shown in FIG10 , the first type of input control of the first input keyboard is given priority, that is, when the user touches the first type of input control “M” of the first input keyboard and the second type of input control “0” of the second input keyboard at the same time, “M” is displayed in the area 101 for the selected content.
另外,基于第二种可能,具体地,在第一显示区域叠加显示在第二显示区域上之后,该输入键盘显示方法还可以包括:In addition, based on the second possibility, specifically, after the first display area is superimposed and displayed on the second display area, the input keyboard display method may further include:
接收到对第二输入键盘上第二类输入控件的第三输入;receiving a third input to a second type of input control on a second input keyboard;
响应于第三输入,确定第二类输入控件中的第二类目标输入控件和与第二类目标输入控件对应的第一类目标输入控件,第一类目标输入控件为第一输入键盘中的输入控件,第一类目标输入控件与第二类目标输入控件的显示位置符合预设条件;In response to the third input, determining a second type of target input control in the second type of input controls and a first type of target input control corresponding to the second type of target input control, the first type of target input control being an input control in the first input keyboard, and display positions of the first type of target input control and the second type of target input control meeting a preset condition;
在第一页面的待选内容的区域中显示第一类目标输入控件对应的第二内容和第二类目标输入控件对应的第三内容。The second content corresponding to the first type of target input control and the third content corresponding to the second type of target input control are displayed in the area of the to-be-selected content on the first page.
示例性地,如图12所示,在第一显示区域叠加显示在第二显示区域上,即第二输入键盘叠加显示在第一输入键盘上时,若用户点击第二输入键盘中第二类目标输入控件“3”时,则将第二类目标输入控件“3”与第一输入键盘中重叠的第一类目标输入控件“E”、“R”和“D”一起显示在待选内容的区域101中。Exemplarily, as shown in FIG. 12, when the first display area is superimposed on the second display area, that is, when the second input keyboard is superimposed on the first input keyboard, if the user clicks the second type target input control "3" in the second input keyboard, the second type target input control "3" is displayed together with the overlapping first type target input controls "E", "R" and "D" in the first input keyboard in the area 101 of the content to be selected.
需要说明的是,本申请实施例中的第二输入键盘可以为多个,基于此,上述涉及的输入键盘重叠,可以是第一输入键盘与一个第二输入键盘重叠,也可以是第一输入键盘与多个第二输入键盘重叠,当然,也可以是多个第二输入键盘重叠,均可以使用上述方式确定输入内容。It should be noted that there may be multiple second input keyboards in the embodiment of the present application. Based on this, the input keyboard overlap involved above may be an overlap of a first input keyboard with a second input keyboard, or an overlap of a first input keyboard with multiple second input keyboards. Of course, there may also be an overlap of multiple second input keyboards, and the above method may be used to determine the input content.
基于此,前述都为如何启动触发第二输入键盘,下面则对输入键盘的撤回进行描述,本申请实施例提供了至少两种方式对第一输入键盘或者第一输入键盘和第二输入键盘进行撤回。Based on this, the above are all about how to start triggering the second input keyboard. The following describes the withdrawal of the input keyboard. The embodiments of the present application provide at least two ways to withdraw the first input keyboard or the first input keyboard and the second input keyboard.
方式一,在一种或者多种可选的实施例中,在步骤320之后,该输入键盘显示方法还可以包括:Mode 1: In one or more optional embodiments, after step 320, the input keyboard display method may further include:
接收第四输入,第四输入包括针对第一输入键盘的第二目标输入控件的输入、针对第二输入键盘的第三目标输入控件的输入或者针对第一页面的手势输入满足第一预设手势输入的输入;Receive a fourth input, where the fourth input includes an input to a second target input control of the first input keyboard, an input to a third target input control of the second input keyboard, or an input of a gesture input to the first page that satisfies the first preset gesture input;
响应于第四输入,在第一页面中隐藏第二输入键盘。In response to the fourth input, the second input keyboard is hidden in the first page.
示例性地,如图13所示,用户可以点击第一输入键盘的第二目标输入控件以隐藏第二输入键盘,这里,第二目标输入控件可以与第一目标输入控件40相同。或者,如图14所示,用户可以点击第二输入键盘上的第三目标输入控件“☆”以隐藏第二输入键盘。或者,如图15所示,用户可以在第一页面中逆时针画圆,并在逆时针画圈手势输入满足第一预设手势输入的输入时,隐藏第二输入键盘。Exemplarily, as shown in FIG13, the user can click the second target input control of the first input keyboard to hide the second input keyboard, where the second target input control can be the same as the first target input control 40. Alternatively, as shown in FIG14, the user can click the third target input control "☆" on the second input keyboard to hide the second input keyboard. Alternatively, as shown in FIG15, the user can draw a circle counterclockwise on the first page, and hide the second input keyboard when the counterclockwise circle gesture input satisfies the input of the first preset gesture input.
方式二,在另一种或者多种可选的实施例中,在步骤320之后,接收退出第一输入键盘的第四输入;Mode 2: In another or more optional embodiments, after step 320, a fourth input for exiting the first input keyboard is received;
响应于第四输入,在第一页面中隐藏第一输入键盘和第二输入键盘。In response to the fourth input, the first input keyboard and the second input keyboard are hidden in the first page.
这里,由于第二输入键盘为第一输入键盘的附属键盘,所以,在主键盘即第一输入键盘被隐藏时,应当撤回第二输入键盘。其中,撤回第一输入键盘的方式也可以参照上述三种方式,具体不再赘述。Here, since the second input keyboard is a subsidiary keyboard of the first input keyboard, when the main keyboard, i.e., the first input keyboard, is hidden, the second input keyboard should be withdrawn. The method of withdrawing the first input keyboard can also refer to the above three methods, and the details are not repeated here.
综上,在本申请实施例中,通过在同一个页面即第一页面中,显示两个具有不同类输入控件的输入键盘即第一输入键盘和第二输入键盘,其中,第一输入键盘的第一类输入控件对应的输入内容和第二输入键盘的第二类输入控件对应的输入内容不同,如第一输入键盘为字母对应的键盘,第二输入键盘为特殊符号和数字对应的键盘。这样,在用户遇到汉字、字母、数字、符号等多种文本混合输入的情况时,用户可以直接通过第一输入键盘和第二输入键盘输入要输入的内容,无需用户来回切换不同类别的键盘以完成输入。由此,可以提高输入键盘显示方式的灵活性,减少在信息输入时用户的操作,有效提高信息输入效率。In summary, in an embodiment of the present application, two input keyboards with different types of input controls, namely a first input keyboard and a second input keyboard, are displayed on the same page, namely the first page, wherein the input content corresponding to the first type of input controls of the first input keyboard is different from the input content corresponding to the second type of input controls of the second input keyboard, such as the first input keyboard is a keyboard corresponding to letters, and the second input keyboard is a keyboard corresponding to special symbols and numbers. In this way, when the user encounters a situation where multiple texts such as Chinese characters, letters, numbers, symbols, etc. are mixed, the user can directly input the content to be input through the first input keyboard and the second input keyboard, without the user having to switch back and forth between different types of keyboards to complete the input. In this way, the flexibility of the input keyboard display method can be improved, the user's operations when inputting information can be reduced, and the efficiency of information input can be effectively improved.
另外,新生成的第二输入键盘支持拖动到第一页面的任意区域,也可与原有的第一输入键盘重叠,防止编辑文本的页面被遮挡,这样,可以不过多的遮挡页面内容,灵活调整键盘显示状态,方便用户输入。In addition, the newly generated second input keyboard supports being dragged to any area of the first page, and can also overlap with the original first input keyboard to prevent the page for editing text from being blocked. In this way, the page content can be adjusted without excessive obstruction, and the keyboard display status can be flexibly adjusted to facilitate user input.
需要说明的是,本申请实施例提供的输入键盘显示方法,执行主体可以为输入键盘显示装置,或者该输入键盘显示装置中的用于执行输入键盘显示的方法的控制模块。本申请实施例中以输入键盘显示装置执行输入键盘显示方法为例,说明本申请实施例提供的输入键盘显示的装置。It should be noted that the input keyboard display method provided in the embodiment of the present application can be executed by an input keyboard display device, or a control module in the input keyboard display device for executing the input keyboard display method. In the embodiment of the present application, an input keyboard display device executing the input keyboard display method is taken as an example to illustrate the input keyboard display device provided in the embodiment of the present application.
基于相同的发明构思,本申请还提供了一种输入键盘显示装置。具体结合图16进行详细说明。Based on the same inventive concept, the present application also provides an input keyboard display device, which is described in detail in conjunction with FIG.
图16为本申请实施例提供的一种输入键盘显示装置的结构示意图。FIG. 16 is a schematic diagram of the structure of an input keyboard display device provided in an embodiment of the present application.
如图16所示,该输入键盘显示装置160应用于如图1-图15所示的任意一个电子设备,具体可以包括:As shown in FIG. 16 , the input keyboard display device 160 is applied to any electronic device shown in FIG. 1 to FIG. 15 , and may specifically include:
接收模块1601,用于在电子设备屏幕显示的第一页面包括第一输入键盘的情况下,接收对第一页面的第一输入;The receiving module 1601 is configured to receive a first input on the first page when the first page displayed on the screen of the electronic device includes a first input keyboard;
显示模块1602,用于响应于第一输入,在第一页面中显示第二输入键盘;Display module 1602, for displaying a second input keyboard on the first page in response to the first input;
其中,第一输入键盘为用于显示第一类输入控件的输入键盘,第二输入键盘为用于显示第二类输入控件的输入键盘,第一类输入控件对应的输入内容和第二类输入控件对应的输入内容不同。The first input keyboard is an input keyboard for displaying a first type of input control, the second input keyboard is an input keyboard for displaying a second type of input control, and the input content corresponding to the first type of input control is different from the input content corresponding to the second type of input control.
下面对该输入键盘显示装置160进行详细说明,具体如下所示:The input keyboard display device 160 is described in detail below, as shown below:
在一个或者多个可能的实施例中,显示模块1602还可以用于,在第一输入键盘对应显示在第一页面中的第一显示区域,第二输入键盘对应显示在第一页面中的第二显示区域,第一显示区域和第二显示区域不重叠、且在同一时间段内接收到对第一类输入控件的输入和对第二类输入控件的输入的情况下,在第一页面的待选内容的区域中显示第一类输入控件触发的第一内容。In one or more possible embodiments, the display module 1602 can also be used to display the first content triggered by the first type of input control in the area of the content to be selected on the first page when the first input keyboard corresponds to the first display area displayed on the first page, the second input keyboard corresponds to the second display area displayed on the first page, the first display area and the second display area do not overlap, and input to the first type of input control and input to the second type of input control are received within the same time period.
基于此,该输入键盘显示装置160还可以包括第一确定模块,用于在第一显示区域和第二显示区域重叠显示的情况下,确定用于标记第一输入键盘的第一标识以及用于标记第二输入键盘的第二标识。基于此,显示模块1602还可以用于,在第一显示区域对应的第一位置显示第一标识,以及在第二显示区域对应的第二位置显示第二标识。Based on this, the input keyboard display device 160 may also include a first determination module, which is used to determine a first identifier for marking the first input keyboard and a second identifier for marking the second input keyboard when the first display area and the second display area are displayed overlappingly. Based on this, the display module 1602 may also be used to display the first identifier at a first position corresponding to the first display area, and display the second identifier at a second position corresponding to the second display area.
在一个或者多个可能的实施例中,接收模块1601还可以用于,接收针对第一标识的第二输入;显示模块1602还可以用于,响应于第二输入,根据第二输入对应显示第一显示区域;以及,在检测到第一显示区域和第二显示区域不重叠显示的情况下,隐藏第一标识和第二标识。In one or more possible embodiments, the receiving module 1601 can also be used to receive a second input for the first identifier; the display module 1602 can also be used to, in response to the second input, display the first display area corresponding to the second input; and, when it is detected that the first display area and the second display area are not displayed overlappingly, hide the first identifier and the second identifier.
在一个或者多个可能的实施例中,该输入键盘显示装置160还可以包括第二确定模块;基于此,接收模块1601还可以用于,在第一显示区域叠加显示在第二显示区域上的情况下,接收到对第二输入键盘上第二类输入控件的第三输入;第二确定模块,用于响应于第三输入,确定第二类输入控件中的第二类目标输入控件和与第二类目标输入控件对应的第一类目标输入控件,第一类目标输入控件为第一输入键盘中的输入控件,第一类目标输入控件与第二类目标输入控件的显示位置符合预设条件;显示模块1602还可以用于,在第一页面的待选内容的区域中显示第一类目标输入控件对应的第二内容和第二类目标输入控件对应的第三内容。In one or more possible embodiments, the input keyboard display device 160 may also include a second determination module; based on this, the receiving module 1601 may also be used to receive a third input to the second type of input control on the second input keyboard when the first display area is superimposed on the second display area; the second determination module is used to determine, in response to the third input, the second type of target input control in the second type of input control and the first type of target input control corresponding to the second type of target input control, the first type of target input control is the input control in the first input keyboard, and the display position of the first type of target input control and the second type of target input control meets the preset conditions; the display module 1602 may also be used to display the second content corresponding to the first type of target input control and the third content corresponding to the second type of target input control in the area of the content to be selected on the first page.
在一个或者多个可能的实施例中,该输入键盘显示装置160还可以包括第三确定模块,用于将第一页面中未显示内容的区域确定为第二输入键盘对应的第二显示区域。In one or more possible embodiments, the input keyboard display device 160 may further include a third determination module, configured to determine an area in the first page where no content is displayed as a second display area corresponding to the second input keyboard.
在一个或者多个可能的实施例中,接收模块1601具体可以用于,在第一页面中的第一输入键盘包括第一目标输入控件的情况下,接收针对第一目标输入控件的第一输入,第一目标输入控件用于控制显示第二输入键盘。In one or more possible embodiments, the receiving module 1601 can be specifically used to receive a first input for a first target input control when the first input keyboard in the first page includes a first target input control, and the first target input control is used to control display of a second input keyboard.
在一个或者多个可能的实施例中,接收模块1601还可以用于,接收第四输入,第四输入包括针对第一输入键盘的第二目标输入控件的输入、针对第二输入键盘的第三目标输入控件的输入或者针对第一页面的手势输入满足第一预设手势输入的输入;显示模块1602还可以用于,响应于第四输入,在第一页面中隐藏第二输入键盘。In one or more possible embodiments, the receiving module 1601 can also be used to receive a fourth input, which includes an input to a second target input control of the first input keyboard, an input to a third target input control of the second input keyboard, or an input to a gesture input of the first page that satisfies the first preset gesture input; the display module 1602 can also be used to hide the second input keyboard in the first page in response to the fourth input.
在一个或者多个可能的实施例中,接收模块1601还可以用于,接收退出第一输入键盘的第四输入;显示模块1602还可以用于,响应于第四输入,在第一页面中隐藏第一输入键盘和第二输入键盘。In one or more possible embodiments, the receiving module 1601 may also be used to receive a fourth input for exiting the first input keyboard; the display module 1602 may also be used to hide the first input keyboard and the second input keyboard in the first page in response to the fourth input.
本申请实施例中的输入键盘显示装置可以是装置,也可以是电子设备中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The input keyboard display device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in an electronic device. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的输入键盘显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The input keyboard display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的输入键盘显示装置能够实现图1至图15的方法实施例实现的各个过程,为避免重复,这里不再赘述。The input keyboard display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 15, and will not be described again here to avoid repetition.
在本申请实施例中,通过在同一个页面即第一页面中,显示两个具有不同类输入控件的输入键盘即第一输入键盘和第二输入键盘,其中,第一输入键盘的第一类输入控件对应的输入内容和第二输入键盘的第二类输入控件对应的输入内容不同,如第一输入键盘为字母对应的键盘,第二输入键盘为特殊符号和数字对应的键盘。这样,在用户遇到汉字、字母、数字、符号等多种文本混合输入的情况时,用户可以直接通过第一输入键盘和第二输入键盘输入要输入的内容,无需用户来回切换不同类别的键盘以完成输入。由此,可以提高输入键盘显示方式的灵活性,减少在信息输入时用户的操作,有效提高信息输入效率。In an embodiment of the present application, two input keyboards with different types of input controls, namely a first input keyboard and a second input keyboard, are displayed on the same page, namely the first page, wherein the input content corresponding to the first type of input controls of the first input keyboard is different from the input content corresponding to the second type of input controls of the second input keyboard, such as the first input keyboard is a keyboard corresponding to letters, and the second input keyboard is a keyboard corresponding to special symbols and numbers. In this way, when the user encounters a situation where multiple texts such as Chinese characters, letters, numbers, symbols, etc. are mixed, the user can directly input the content to be input through the first input keyboard and the second input keyboard, without the user having to switch back and forth between different types of keyboards to complete the input. In this way, the flexibility of the input keyboard display method can be improved, the user's operations when inputting information can be reduced, and the efficiency of information input can be effectively improved.
另外,新生成的第二输入键盘支持拖动到第一页面的任意区域,也可与原有的第一输入键盘重叠,防止编辑文本的页面被遮挡,这样,可以不过多的遮挡页面内容,灵活调整键盘显示状态,方便用户输入。In addition, the newly generated second input keyboard supports being dragged to any area of the first page, and can also overlap with the original first input keyboard to prevent the page for editing text from being blocked. In this way, the page content can be adjusted without excessive obstruction, and the keyboard display status can be flexibly adjusted to facilitate user input.
可选的,如图17所示,本申请实施例还提供一种输入键盘显示设备如电子设备170,包括处理器1701,存储器1702,存储在存储器1702上并可在处理器1701上运行的程序或指令,该程序或指令被处理器1701执行时实现上述输入键盘显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 17, an embodiment of the present application also provides an input keyboard display device such as an electronic device 170, including a processor 1701, a memory 1702, and a program or instruction stored in the memory 1702 and executable on the processor 1701. When the program or instruction is executed by the processor 1701, each process of the above-mentioned input keyboard display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be 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.
图18为本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 18 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
该电子设备1800包括但不限于:射频单元1801、网络模块1802、音频输出单元1803、输入单元1804、传感器1805、显示单元1806、用户输入单元1807、接口单元1808、存储器1809、处理器1810等部件。The electronic device 1800 includes but is not limited to: a radio frequency unit 1801, a network module 1802, an audio output unit 1803, an input unit 1804, a sensor 1805, a display unit 1806, a user input unit 1807, an interface unit 1808, a memory 1809, a processor 1810 and other components.
本领域技术人员可以理解,电子设备1800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图18中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the electronic device 1800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1810 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The electronic device structure shown in FIG18 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
其中,在本申请实施例中,用户输入单元1807,用于在电子设备屏幕显示的第一页面包括第一输入键盘的情况下,接收针对第一页面的第一输入。显示单元1806,用于响应于第一输入,在第一页面中显示第二输入键盘;其中,第一输入键盘为显示第一类输入控件的输入键盘,第二输入键盘为显示第二类输入控件的输入键盘,第一类输入控件对应的输入内容和第二类输入控件对应的输入内容不同。In the embodiment of the present application, the user input unit 1807 is used to receive a first input for the first page when the first page displayed on the screen of the electronic device includes a first input keyboard. The display unit 1806 is used to display a second input keyboard in the first page in response to the first input; wherein the first input keyboard is an input keyboard that displays a first type of input control, and the second input keyboard is an input keyboard that displays a second type of input control, and the input content corresponding to the first type of input control is different from the input content corresponding to the second type of input control.
应理解的是,输入单元1804可以包括图形处理器(Graphics Processing Unit,GPU)18041和麦克风18042,图形处理器18041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图像或视频的图像数据进行处理。显示单元1806可包括显示面板18061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板18061。用户输入单元1807包括触控面板18071以及其他输入设备18072。触控面板18071,也称为触摸屏。触控面板18071可包括触摸检测装置和触摸控制器两个部分。其他输入设备18072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器18017可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1810中。It should be understood that the input unit 1804 may include a graphics processor (GPU) 18041 and a microphone 18042, and the graphics processor 18041 processes the image data of the static image or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1806 may include a display panel 18061, and the display panel 18061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1807 includes a touch panel 18071 and other input devices 18072. The touch panel 18071 is also called a touch screen. The touch panel 18071 may include two parts: a touch detection device and a touch controller. Other input devices 18072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 18017 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1810 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1810.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述输入键盘显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An 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 keyboard display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,处理器为上述实施例中的电子设备中的处理器。其中,可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
另外,本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述输入键盘显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。In addition, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned input keyboard display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。In addition, it should be noted 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. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110575914.0A CN113360000B (en) | 2021-05-26 | 2021-05-26 | Input keyboard display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110575914.0A CN113360000B (en) | 2021-05-26 | 2021-05-26 | Input keyboard display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113360000A CN113360000A (en) | 2021-09-07 |
CN113360000B true CN113360000B (en) | 2024-05-31 |
Family
ID=77527873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110575914.0A Active CN113360000B (en) | 2021-05-26 | 2021-05-26 | Input keyboard display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113360000B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101089806A (en) * | 2007-07-24 | 2007-12-19 | 中兴通讯股份有限公司 | Character input device and method |
CN101089795A (en) * | 2006-06-16 | 2007-12-19 | 李一新 | Method and keyboard for single and multiple input Chinese and English |
US7705829B1 (en) * | 2004-04-23 | 2010-04-27 | F5 Networks, Inc. | System and method for providing computer input |
CN107783667A (en) * | 2016-08-26 | 2018-03-09 | 法乐第(北京)网络科技有限公司 | A kind of soft keyboard display method and device |
CN109062477A (en) * | 2018-06-15 | 2018-12-21 | 维沃移动通信有限公司 | A kind of input method and terminal |
CN109739366A (en) * | 2018-03-20 | 2019-05-10 | 北京字节跳动网络技术有限公司 | A kind of method and apparatus that soft keyboard is shown |
CN111984130A (en) * | 2020-07-06 | 2020-11-24 | 维沃移动通信有限公司 | Shortcut operation method and device and electronic equipment |
-
2021
- 2021-05-26 CN CN202110575914.0A patent/CN113360000B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7705829B1 (en) * | 2004-04-23 | 2010-04-27 | F5 Networks, Inc. | System and method for providing computer input |
CN101089795A (en) * | 2006-06-16 | 2007-12-19 | 李一新 | Method and keyboard for single and multiple input Chinese and English |
CN101089806A (en) * | 2007-07-24 | 2007-12-19 | 中兴通讯股份有限公司 | Character input device and method |
CN107783667A (en) * | 2016-08-26 | 2018-03-09 | 法乐第(北京)网络科技有限公司 | A kind of soft keyboard display method and device |
CN109739366A (en) * | 2018-03-20 | 2019-05-10 | 北京字节跳动网络技术有限公司 | A kind of method and apparatus that soft keyboard is shown |
CN109062477A (en) * | 2018-06-15 | 2018-12-21 | 维沃移动通信有限公司 | A kind of input method and terminal |
CN111984130A (en) * | 2020-07-06 | 2020-11-24 | 维沃移动通信有限公司 | Shortcut operation method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113360000A (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8621380B2 (en) | Apparatus and method for conditionally enabling or disabling soft buttons | |
US20110175826A1 (en) | Automatically Displaying and Hiding an On-screen Keyboard | |
CN105630327B (en) | The method of the display of portable electronic device and control optional element | |
CN113311968B (en) | Application association method and device | |
CN113703624A (en) | Screen splitting method and device and electronic equipment | |
KR20140073245A (en) | Method for inputting back surface and an electronic device thereof | |
WO2023005828A1 (en) | Message display method and apparatus, and electronic device | |
CN112698735B (en) | Information input method, device and electronic device | |
CN113342241A (en) | Target character selection method and device, electronic equipment and storage medium | |
CN112783408A (en) | Gesture navigation method and device of electronic equipment, equipment and readable storage medium | |
WO2023093590A1 (en) | Display control method and apparatus, and electronic device and medium | |
WO2023045927A1 (en) | Object moving method and electronic device | |
CN113230649B (en) | Display control method and device | |
KR20140131070A (en) | Apparatus and method for generating a message in a portable terminal | |
CN112948843A (en) | Encryption method, encryption device, electronic equipment and medium | |
CN113360000B (en) | Input keyboard display method and device | |
WO2024104157A1 (en) | Application interface management method and apparatus, and electronic device and readable storage medium | |
WO2022247787A1 (en) | Application classification method and apparatus, and electronic device | |
CN117061655A (en) | Information display method, information display device, electronic equipment and readable storage medium | |
CN114415887B (en) | Document content processing method and device | |
CN114416264B (en) | Message display method and device | |
WO2023103901A1 (en) | Application management method and apparatus, and electronic device | |
WO2023160443A1 (en) | Application processing method and device | |
CN112162689B (en) | Input method and device and electronic equipment | |
CN114020389A (en) | Application display method, device and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |