CN110727388A - Method and device for controlling input method keyboard - Google Patents

Method and device for controlling input method keyboard Download PDF

Info

Publication number
CN110727388A
CN110727388A CN201910963435.9A CN201910963435A CN110727388A CN 110727388 A CN110727388 A CN 110727388A CN 201910963435 A CN201910963435 A CN 201910963435A CN 110727388 A CN110727388 A CN 110727388A
Authority
CN
China
Prior art keywords
mode option
hand
input
mode
option
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.)
Granted
Application number
CN201910963435.9A
Other languages
Chinese (zh)
Other versions
CN110727388B (en
Inventor
黄汉佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Hongqin Communication Technology Co Ltd
Original Assignee
Guangdong Hongqin Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Hongqin Communication Technology Co Ltd filed Critical Guangdong Hongqin Communication Technology Co Ltd
Priority to CN201910963435.9A priority Critical patent/CN110727388B/en
Publication of CN110727388A publication Critical patent/CN110727388A/en
Application granted granted Critical
Publication of CN110727388B publication Critical patent/CN110727388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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

Abstract

The invention discloses a method and a device for controlling an input method keyboard, which are used for facilitating a user to select the input method keyboard with different modes. In the method for controlling an input method keyboard, when it is detected that an application program interface comprises a text input box, a left-hand mode option, a global mode option and a right-hand mode option are displayed on the screen. And determining a target mode option which is selected by clicking on the screen, wherein the target mode option is one of a left-hand mode option, a global mode option and a right-hand mode option. And displaying an input method keyboard on the screen by using the input mode corresponding to the target mode option. Therefore, the input method keyboard displayed on the screen is controlled by the user to be displayed in a mode required by the user, and the user can conveniently select the input method keyboard with different modes.

Description

Method and device for controlling input method keyboard
Technical Field
The invention relates to the technical field of data information processing, in particular to a method and a device for controlling an input method keyboard.
Background
The terminal, for example, a mobile phone, has a single-hand mode, and the user can select whether to turn on the single-hand mode, for example, a left-hand input mode and a right-hand input mode, in the terminal system.
For the input method keyboard, the application is more at present, and the user directly adjusts the keyboard into a left-hand input mode or a right-hand input mode in the system. For example, if the left-hand input mode is set, the entire keyboard is moved to the left of the terminal screen, and reduced in size and relative position to the original keys, so that the keyboard can be input with a single finger (typically the thumb). The right hand input mode works the same.
However, this method is very inconvenient, and if the user sets the left-handed mode, the input method keyboard is always fixed at the left position, so that it is very inconvenient if the user needs to use the right-handed single-handed input. Or, if the left-hand mode is opened during the setting, but the right hand is needed during the process of using the input method keyboard, the setting needs to be switched to the right-hand mode, and such an operation is cumbersome.
Disclosure of Invention
The invention aims to provide a method and a device for controlling an input method keyboard, which are used for facilitating a user to select the input method keyboard with different modes.
To achieve the purpose, the embodiment of the invention adopts the following technical scheme:
a method of controlling an input method keyboard, the method being applied to a terminal including a screen, the method comprising:
when detecting that the application program interface comprises a text input box, displaying a left-hand mode option, a global mode option and a right-hand mode option on the screen;
determining a target mode option that is click-selected on the screen, the target mode option being one of the left-hand mode option, the global mode option, and the right-hand mode option;
displaying an input method keyboard on the screen by using an input mode corresponding to the target mode option;
the input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode.
Optionally, the displaying a left-hand mode option, a global mode option, and a right-hand mode option on the screen includes:
and displaying a left-hand mode option, a global mode option and a right-hand mode option in sequence from left to right on the screen.
Optionally, the displaying a left-hand mode option, a global mode option, and a right-hand mode option on the screen from left to right in sequence includes:
dividing the character input box into three column areas at equal intervals;
and respectively displaying a left-hand mode option, a global mode option and a right-hand mode option on the three column areas from left to right on the screen.
Optionally, after the left-hand mode option, the global mode option, and the right-hand mode option are respectively displayed on the three column areas from left to right on the screen, the method further includes:
after preset time, obtaining historical click data, wherein the historical click data comprises click frequency of each column area in the three column areas, position information of a click position of each column area and click frequency of the click position of each column area;
adjusting the sizes of the three column areas according to the historical click data to obtain three target column areas;
and respectively displaying a left-hand mode option, a global mode option and a right-hand mode option on the three target column areas from left to right on the screen.
Optionally, the application program interface further comprises an input field, wherein the input field comprises the text input box and a function button;
the method further comprises the following steps:
after a preset interval, collecting a first frequency of clicking and selecting the function button, a second frequency of clicking and selecting the left-hand mode option, a third frequency of clicking and selecting the global mode option and a fourth frequency of clicking and selecting the right-hand mode option;
adjusting, on the screen, a position of the function button according to the first frequency, the second frequency, the third frequency, and the fourth frequency.
Optionally, the input method keyboard comprises a candidate word column, a pinyin input column, and a pull-down expansion button;
the candidate word column, the tail end position of the candidate word column, the pinyin input column and the display mode of the pull-down expansion button correspond to the target mode option.
In order to achieve the purpose, the embodiment of the invention also adopts the following technical scheme:
an apparatus for controlling an input method keyboard, the apparatus being applied to a terminal including a screen, the apparatus comprising:
the first display unit is used for displaying a left-hand mode option, a global mode option and a right-hand mode option on the screen when detecting that the application program interface comprises a text input box;
a determining unit, configured to determine a target mode option that is clicked and selected on the screen, where the target mode option is one of the left-hand mode option, the global mode option, and the right-hand mode option;
the second display unit is used for displaying an input method keyboard on the screen by using the input mode corresponding to the target mode option;
the input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode.
Optionally, the first display unit is further configured to sequentially display, on the screen, a left-hand mode option, a global mode option, and a right-hand mode option from left to right.
Optionally, the first display unit includes a dividing module and a display module;
the dividing module is used for dividing the character input box into three column areas at equal intervals;
the display module is used for respectively displaying a left-hand mode option, a global mode option and a right-hand mode option on the three column areas from left to right on the screen.
Optionally, the apparatus further comprises an obtaining unit and an adjusting unit;
the acquisition unit is used for acquiring historical click data after preset time, wherein the historical click data comprises click frequency of each column area in the three column areas, position information of the click position of each column area and click frequency of the click position of each column area;
the adjusting unit is used for adjusting the sizes of the three column areas according to the historical click data to obtain three target column areas;
the first display unit is further configured to display a left-hand mode option, a global mode option, and a right-hand mode option on the three target column areas in sequence from left to right on the screen.
The invention has the beneficial effects that:
in the method for controlling an input method keyboard, when it is detected that an application program interface comprises a text input box, a left-hand mode option, a global mode option and a right-hand mode option are displayed on the screen. And determining a target mode option which is selected by clicking on the screen, wherein the target mode option is one of a left-hand mode option, a global mode option and a right-hand mode option. Thus, on the screen, the input method keyboard is displayed using the input mode corresponding to the target mode option. The input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode. Therefore, the input method keyboard displayed on the screen is controlled by the user to be displayed in a mode required by the user, and the user can conveniently select the input method keyboard with different modes.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for controlling an input method keyboard according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for controlling an input method keyboard according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of an input interface according to another embodiment of the present invention;
fig. 4 is a schematic diagram of an input method keyboard according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for controlling an input method keyboard according to another embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method and a device for controlling an input method keyboard, which are used for facilitating a user to select the input method keyboard with different modes.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
Fig. 1 is a flowchart of a method for controlling an input method keyboard according to an embodiment of the present invention, and referring to fig. 1, the method for controlling an input method keyboard according to an embodiment of the present invention is applied to a terminal, where the terminal includes a screen. The terminal may be a mobile terminal, such as a mobile phone, a tablet computer, and the like.
Referring to fig. 1, a method for controlling an input method keyboard according to an embodiment of the present invention includes:
step 101: when it is detected that the application program interface includes a text input box, a left-hand mode option, a global mode option, and a right-hand mode option are displayed on the screen.
The text input box is the position where the user inputs the text, and the user needs to use the input method keyboard to input the text, symbol information and the like on the text input box.
The left-hand mode option, the global mode option and the right-hand mode option respectively correspond to different input modes. The input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode.
The user uses an application program on the terminal, and the application program interface is displayed on the screen of the terminal. The terminal now detects whether the application program interface includes a text entry box. And if the application program interface is detected to comprise a text input box, displaying a left-hand mode option, a global mode option and a right-hand mode option on the screen. And if the application program interface is not detected to comprise the text input box, executing other operations.
In a specific implementation manner, the left-hand mode option, the global mode option, and the right-hand mode option may be implemented as buttons, graphic frames, location areas, and the like, and a user may click and select the left-hand mode option, and this is not specifically limited in the embodiment of the present invention.
Step 102: the target mode option that is click selected on the screen is determined.
The target mode option is one of a left-hand mode option, a global mode option, and a right-hand mode option.
The user may click on one of a left-hand mode option, a global mode option, and a right-hand mode option, the selected mode option being a target mode option.
Step 103: and displaying an input method keyboard on the screen by using the input mode corresponding to the target mode option.
And after the terminal determines the target mode option clicked and selected on the screen, displaying the input method keyboard on the screen by using the input mode corresponding to the target mode option.
The input method keyboard of the embodiment of the invention is one type of virtual keyboard.
The input method keyboard displayed by using the left-hand input mode is convenient for a user to use the left hand to carry out input operation; the input method keyboard displayed by using the left-hand and right-hand input modes is convenient for a user to carry out input operation by using the left hand and the right hand; the input method keyboard displayed by using the right-hand input mode is convenient for a user to use the right hand to carry out input operation.
In summary, in the method for controlling an input method keyboard according to the embodiments of the present invention, when it is detected that an application program interface includes a text input box, a left-hand mode option, a global mode option, and a right-hand mode option are displayed on a screen. And determining a target mode option which is selected by clicking on the screen, wherein the target mode option is one of a left-hand mode option, a global mode option and a right-hand mode option. Thus, on the screen, the input method keyboard is displayed using the input mode corresponding to the target mode option. The input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode. Therefore, the input method keyboard displayed on the screen is controlled by the user to be displayed in a mode required by the user, and the user can conveniently select the input method keyboard with different modes.
Fig. 2 is a flowchart of a method for controlling an input method keyboard according to an embodiment of the present invention. The method shown in fig. 2 can be implemented based on the method shown in fig. 1.
Referring to fig. 2, the method for controlling an input method keyboard according to the embodiment of the present invention is applied to a terminal, and the terminal includes a screen. The terminal may be a mobile terminal, such as a mobile phone, a tablet computer, and the like.
The method of the embodiment of the invention comprises the following steps:
step 201: when the application program interface is detected to comprise a text input box, displaying a left-hand mode option, a global mode option and a right-hand mode option on the screen from left to right in sequence.
The text input box is the position where the user inputs the text, and the user needs to use the input method keyboard to input the text, symbol information and the like on the text input box.
The left-hand mode option, the global mode option and the right-hand mode option respectively correspond to different input modes. The input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode.
The user uses an application program on the terminal, and the application program interface is displayed on the screen of the terminal. The terminal now detects whether the application program interface includes a text entry box. And if the application program interface is detected to comprise a text input box, displaying a left-hand mode option, a global mode option and a right-hand mode option on the screen.
In other embodiments, the user may select whether to enter the one-handed mode for different applications. Different settings can be owned for different applications, so that the different applications do not affect each other. Therefore, the method of the embodiment of the invention can realize the dynamic adjustment of the one-hand mode of the virtual keyboard under different interfaces of the mobile terminal. Different application programs can have different personalized settings, and the practicability of the method of the embodiment of the invention can be enhanced.
In other embodiments, after the terminal starts the application program, the terminal may automatically detect the position of the input field of the current application program, identify the size and the position arrangement of the input box in the input field, and position arrangement of other function buttons in the input field, so as to prepare for execution of subsequent steps.
It should be appreciated that step 201 is one of specific implementations of the step of displaying the left-hand mode option, the global mode option, and the right-hand mode option on the screen when it is detected that the application program interface includes a text input box.
For the convenience of the selection operation of the user, optionally, the step of sequentially displaying the left-hand mode option, the global mode option, and the right-hand mode option from left to right on the screen specifically includes: the character input box is divided into three column areas at equal intervals. Then, on the screen, a left-hand mode option, a global mode option, and a right-hand mode option are displayed on the three column areas in order from left to right, respectively. Therefore, the mode options correspond to the positions of the character input box, the left-hand mode option is positioned on the left side, the right-hand mode option is positioned on the right side, and the global mode option is positioned in the middle, so that the visual position feeling of the user corresponds to the selected mode option, and the user can conveniently click and select the mode option. In order to prompt the user more intuitively, separation identification lines can be arranged among the three column areas.
Step 202: the target mode option that is click selected on the screen is determined.
The target mode option is one of a left-hand mode option, a global mode option, and a right-hand mode option.
The user may click on one of a left-hand mode option, a global mode option, and a right-hand mode option, the selected mode option being a target mode option.
For example, in the example of dividing the text entry box into three column areas at equal intervals, the user clicks on different column areas and may invoke different input modes of the input method. If the user clicks the left column area, a left-hand input mode is called for the input method; if the user clicks the right column area, a right-hand input mode is called for the input method; when the middle column area is clicked, the input method is in a global mode, a left-hand input mode and a right-hand input mode are called for the input method, and therefore the user can use two hands to input the input method simultaneously when the user operates the mobile phone.
Step 203: and displaying an input method keyboard on the screen by using the input mode corresponding to the target mode option.
And after the terminal determines the target mode option clicked and selected on the screen, displaying the input method keyboard on the screen by using the input mode corresponding to the target mode option.
The input method keyboard displayed in the left-hand input mode is convenient for a user to perform input operation by using the left hand, for example, the input method keyboard is reduced to the left according to the original key size and relative position, so that the input method keyboard can be input by using a single finger (such as the thumb of the left hand).
The input method keyboard displayed using the left-right hand input mode facilitates the user to perform input operations using both the left hand and the right hand, for example, the input method keyboard is arranged centrally in the screen.
The input method keyboard displayed by using the right-hand input mode is convenient for a user to use the right hand to carry out input operation. For example, the input method keyboard is reduced to the right by the original key size and relative position to enable input with a single finger (e.g., the thumb of the right hand).
Optionally, the method according to the embodiment of the present invention may further dynamically adjust the relative size of each column area. At this time, after the step of displaying the left-hand mode option, the global mode option, and the right-hand mode option on the three column areas sequentially from left to right on the screen, the method according to the embodiment of the present invention further includes: after the preset time, obtaining historical click data, wherein the historical click data comprises click frequency of each column area in the three column areas, position information of the click position of each column area and the click frequency of the click position of each column area. And then, adjusting the sizes of the three column areas according to the historical click data to obtain three target column areas. Thus, the left-hand mode option, the global mode option, and the right-hand mode option are displayed on the three target column areas in sequence from left to right on the screen. In this way, the relative size of each column area can be dynamically adjusted according to the use habits of different users (frequency and click position of using a certain one-hand mode).
For example, the terminal collects the frequency of clicking different column areas each time by the user, the relative position and frequency of the clicking point, and dynamically adjusts the relative sizes of the three column areas at regular intervals. Therefore, the relative size of each column area can be dynamically adjusted according to the use habits of different users, so that the input is more convenient.
If the user clicks the point in the middle of the column every time, the size and the position of the column are suitable for the input habit of the user, if the user frequently clicks the near side, the position is too far away or too close to the user when the user holds the mobile phone with one hand for inputting, and the size of the column needs to be adjusted to avoid mistaken touch. If the left-hand input frequency of the user is high, the click point position is collected to find that the frequency of the click point close to the middle column is high, which indicates that the size of the column is too small for the user to enlarge.
In a specific example, the sizes of the three column areas are adjusted according to the historical click data, and a specific implementation manner of obtaining the three target column areas is as follows: the click frequencies of the three column areas are sorted, the occurrence frequency of the relative position of the click position under each column area is sorted, the calling-out frequency of the mode option correspondingly displayed in one column area is high, the frequency of the click position inside the column area close to the edge of the column area is high, and the relative size of the column area is larger. But the areas of other column areas are not reduced without limitation, each area has a preset minimum area, and after the preset minimum area is reached, the column areas can not be reduced any more, so that the user can use the column areas when having different requirements in different periods.
Optionally, the method of the embodiment of the present invention may further adjust the position of the function button. The click frequencies of other function buttons in the input field are collected, and the positions of function buttons with high frequencies are adjusted. In addition, the positions of the function buttons can be further adjusted by combining the clicking frequency of the three column areas of the input box. For example, the application interface also includes an input field that includes a text entry box and function buttons. At this time, the method of the embodiment of the present invention further includes: after a preset interval, collecting a first frequency of clicking and selecting the function button, a second frequency of clicking and selecting the left-hand mode option, a third frequency of clicking and selecting the global mode option and a fourth frequency of clicking and selecting the right-hand mode option. Then, on the screen, the position of the function button is adjusted according to the first frequency, the second frequency, the third frequency, and the fourth frequency.
Therefore, the use frequency of other function buttons in the input field except the character input frame is collected, and the position of the function button can be dynamically adjusted by combining the use frequency of a specific input mode.
For example, as shown in fig. 3, if the left-hand mode frequency of the user is high while the frequency of clicking the emotion input function button 301 is high and the voice input function button 302 is less in the input field of WeChat, after collecting necessary information, the user prompts and adjusts the emotion input function button 301 to the left (originally fixed to the right), and places the voice input function button 302 to the right (originally fixed to the left), where fig. 3 is a schematic diagram before the function button is adjusted. In addition, the relative sizes of the three column areas of the text entry box can be adjusted to provide the most comfortable input position for the user.
Alternatively, as shown in fig. 4, the input method keyboard includes a candidate word column 401, a pinyin input column 402, and a drop-down expansion button 403. The candidate word column 401, the end position of the candidate word column 401, the pinyin input column 402, and the pull-down expansion button 403 are displayed in a manner corresponding to the target mode option.
Specifically, after pinyin is input on the input method keyboard, a candidate character column is above the input method keyboard, but the candidate character column is moved from right to left at present, which is not beneficial to clicking the first preferred word by using right hand.
1) The display mode of the candidate word column corresponds to the target mode option.
Specifically, the moving direction of the candidate word column can be switched according to the target mode option.
If the left-hand mode option or the global mode option is clicked and selected, the moving direction of the candidate word column is dragged from right to left according to a default mode. If the right-hand mode option is clicked and selected, the moving direction of the candidate word column is reversed left and right, namely dragging from left to right is carried out, and the first candidate word appears on the right.
2) The display modes of the pinyin input field and the pull-down expansion button correspond to the target mode options.
The display modes of the pinyin input field and the pull-down expansion button can also be switched according to the target mode option. If the left-hand mode option or the global mode option is clicked and selected, the display mode of the pinyin input field and the pull-down expansion button is the default mode. If the right-hand mode option is clicked and selected, the display modes of the pinyin input field and the pull-down expansion button are reversely adjusted, namely the pinyin input field is arranged at the upper right corner of the input method interface, and the pull-down expansion button is arranged at the end of the left side of the input method interface.
3) The display mode of the end position of the candidate word column corresponds to the target mode option.
The end position of the candidate word column is not fixed, sometimes the last word needs to be pulled, when the last word of the candidate word column is pulled, if the user fingers leave the screen, the candidate word column can rebound and move, and in a single-hand operation mode, the candidate word at the farthest position is inconvenient to click.
Therefore, if the character input box is in the left-hand input mode, the candidate character column is dragged from right to left, the dragging is continued to left, and the last candidate character stays in the front, specifically the position where the character input box is clicked most frequently in the left-hand input mode. At this time, a space partially left blank appears at the right end of the candidate word column.
In the left-right hand input mode, the user uses both hands to operate, and the current default mode is not changed.
The right-hand input mode is adjusted in a direction opposite to that of the left-hand input mode, and will not be described herein.
In summary, in the method for controlling an input method keyboard according to the embodiments of the present invention, when it is detected that an application program interface includes a text input box, a left-hand mode option, a global mode option, and a right-hand mode option are displayed on a screen. And determining a target mode option which is selected by clicking on the screen, wherein the target mode option is one of a left-hand mode option, a global mode option and a right-hand mode option. Thus, on the screen, the input method keyboard is displayed using the input mode corresponding to the target mode option. The input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode. Therefore, the input method keyboard displayed on the screen is controlled by the user to be displayed in a mode required by the user, and the user can conveniently select the input method keyboard with different modes.
Fig. 5 is a schematic structural diagram of an apparatus for controlling an input method keyboard according to an embodiment of the present invention. The apparatus for controlling an input method keypad shown in fig. 5 may be used to perform the method for controlling an input method keypad shown in fig. 1 and 2 described above.
Referring to fig. 5, the apparatus for controlling an input method keyboard according to the embodiment of the present invention is applied to a terminal, the terminal includes a screen, and the apparatus for controlling an input method keyboard according to the embodiment of the present invention includes:
a first display unit 501, configured to display a left-hand mode option, a global mode option, and a right-hand mode option on a screen when it is detected that the application program interface includes a text input box;
a determining unit 502, configured to determine a target mode option clicked and selected on the screen, where the target mode option is one of a left-hand mode option, a global mode option, and a right-hand mode option;
a second display unit 503, configured to display an input method keyboard using an input mode corresponding to the target mode option on the screen;
the input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode.
Optionally, the first display unit 501 is further configured to display a left-hand mode option, a global mode option, and a right-hand mode option in sequence from left to right on the screen.
Optionally, the first display unit 501 includes a dividing module 504 and a display module 505;
a dividing module 504, configured to divide the text input box into three column areas at equal intervals;
and a display module 505, configured to display a left-hand mode option, a global mode option, and a right-hand mode option on the three column areas in sequence from left to right on the screen.
Optionally, the apparatus for controlling an input method keyboard according to the embodiment of the present invention further includes an obtaining unit 506 and an adjusting unit 507;
an obtaining unit 506, configured to obtain historical click data after a preset time, where the historical click data includes a click frequency for each of the three column areas, position information of a click position of each of the three column areas, and a click frequency of a click position of each of the three column areas;
the adjusting unit 507 is configured to adjust the sizes of the three column areas according to the historical click data to obtain three target column areas;
the first display unit 501 is further configured to display a left-hand mode option, a global mode option, and a right-hand mode option on three target column areas in sequence from left to right on the screen.
Optionally, the application program interface further comprises an input field, wherein the input field comprises a text input box and a function button;
the apparatus for controlling an input method keyboard according to the embodiment of the present invention further includes a frequency collecting unit 508 and a button adjusting unit 509;
a frequency collecting unit 508, configured to collect, after a preset interval, a first frequency at which the function button is clicked and selected, a second frequency at which the left-hand mode option is clicked and selected, a third frequency at which the global mode option is clicked and selected, and a fourth frequency at which the right-hand mode option is clicked and selected;
a button adjusting unit 509 for adjusting the positions of the function buttons on the screen according to the first frequency, the second frequency, the third frequency, and the fourth frequency.
Optionally, the input method keyboard comprises a candidate word column, a pinyin input column, and a pull-down expansion button;
the candidate character column, the tail end position of the candidate character column, the pinyin input column and the display mode of the pull-down expansion button correspond to the target mode option.
In summary, in the apparatus for controlling an input method keyboard according to the embodiment of the present invention, when it is detected that the application interface includes a text input box, the first display unit 501 displays a left-hand mode option, a global mode option, and a right-hand mode option on the screen. The determination unit 502 determines a target mode option, which is one of a left-hand mode option, a global mode option, and a right-hand mode option, to be click-selected on the screen. The second display unit 503 displays an input method keypad on the screen using an input mode corresponding to the target mode option. The input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode. Therefore, the input method keyboard displayed on the screen is controlled by the user to be displayed in a mode required by the user, and the user can conveniently select the input method keyboard with different modes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for controlling an input method keyboard, wherein the method is applied to a terminal, the terminal comprises a screen, and the method comprises the following steps:
when detecting that the application program interface comprises a text input box, displaying a left-hand mode option, a global mode option and a right-hand mode option on the screen;
determining a target mode option that is click-selected on the screen, the target mode option being one of the left-hand mode option, the global mode option, and the right-hand mode option;
displaying an input method keyboard on the screen by using an input mode corresponding to the target mode option;
the input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode.
2. The method of claim 1,
the displaying a left-hand mode option, a global mode option, and a right-hand mode option on the screen includes:
and displaying a left-hand mode option, a global mode option and a right-hand mode option in sequence from left to right on the screen.
3. The method of claim 2,
the left-hand mode option, the global mode option and the right-hand mode option are sequentially displayed on the screen from left to right, and the method comprises the following steps:
dividing the character input box into three column areas at equal intervals;
and respectively displaying a left-hand mode option, a global mode option and a right-hand mode option on the three column areas from left to right on the screen.
4. The method of claim 3,
after the left-hand mode option, the global mode option and the right-hand mode option are respectively displayed on the three column areas from left to right on the screen, the method further comprises:
after preset time, obtaining historical click data, wherein the historical click data comprises click frequency of each column area in the three column areas, position information of a click position of each column area and click frequency of the click position of each column area;
adjusting the sizes of the three column areas according to the historical click data to obtain three target column areas;
and respectively displaying a left-hand mode option, a global mode option and a right-hand mode option on the three target column areas from left to right on the screen.
5. The method of claim 1,
the application program interface further comprises an input field, and the input field comprises the text input box and a function button;
the method further comprises the following steps:
after a preset interval, collecting a first frequency of clicking and selecting the function button, a second frequency of clicking and selecting the left-hand mode option, a third frequency of clicking and selecting the global mode option and a fourth frequency of clicking and selecting the right-hand mode option;
adjusting, on the screen, a position of the function button according to the first frequency, the second frequency, the third frequency, and the fourth frequency.
6. The method of claim 1,
the input method keyboard comprises a candidate character column, a pinyin input column and a pull-down expansion button;
the candidate word column, the tail end position of the candidate word column, the pinyin input column and the display mode of the pull-down expansion button correspond to the target mode option.
7. An apparatus for controlling a keyboard of an input method, the apparatus being applied to a terminal, the terminal including a screen, the apparatus comprising:
the first display unit is used for displaying a left-hand mode option, a global mode option and a right-hand mode option on the screen when detecting that the application program interface comprises a text input box;
a determining unit, configured to determine a target mode option that is clicked and selected on the screen, where the target mode option is one of the left-hand mode option, the global mode option, and the right-hand mode option;
the second display unit is used for displaying an input method keyboard on the screen by using the input mode corresponding to the target mode option;
the input mode corresponding to the left-hand mode option is a left-hand input mode, the input mode corresponding to the global mode option is a left-hand input mode, and the input mode corresponding to the right-hand mode option is a right-hand input mode.
8. The apparatus of claim 7,
the first display unit is further configured to sequentially display a left-hand mode option, a global mode option, and a right-hand mode option from left to right on the screen.
9. The apparatus of claim 8,
the first display unit comprises a dividing module and a display module;
the dividing module is used for dividing the character input box into three column areas at equal intervals;
the display module is used for respectively displaying a left-hand mode option, a global mode option and a right-hand mode option on the three column areas from left to right on the screen.
10. The apparatus of claim 9,
the device also comprises an acquisition unit and an adjustment unit;
the acquisition unit is used for acquiring historical click data after preset time, wherein the historical click data comprises click frequency of each column area in the three column areas, position information of the click position of each column area and click frequency of the click position of each column area;
the adjusting unit is used for adjusting the sizes of the three column areas according to the historical click data to obtain three target column areas;
the first display unit is further configured to display a left-hand mode option, a global mode option, and a right-hand mode option on the three target column areas in sequence from left to right on the screen.
CN201910963435.9A 2019-10-11 2019-10-11 Method and device for controlling input method keyboard Active CN110727388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910963435.9A CN110727388B (en) 2019-10-11 2019-10-11 Method and device for controlling input method keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910963435.9A CN110727388B (en) 2019-10-11 2019-10-11 Method and device for controlling input method keyboard

Publications (2)

Publication Number Publication Date
CN110727388A true CN110727388A (en) 2020-01-24
CN110727388B CN110727388B (en) 2021-02-26

Family

ID=69220991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910963435.9A Active CN110727388B (en) 2019-10-11 2019-10-11 Method and device for controlling input method keyboard

Country Status (1)

Country Link
CN (1) CN110727388B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953846A (en) * 2020-08-11 2020-11-17 深圳传音控股股份有限公司 Interface layout adjusting method, terminal device and computer-readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200874A (en) * 2010-03-26 2011-09-28 腾讯科技(深圳)有限公司 Key input method and key input device based on touch screen
CN102662603A (en) * 2012-05-18 2012-09-12 广州市渡明信息技术有限公司 Input method display method and input method display system for mobile phone with touch screen
CN102902486A (en) * 2011-09-09 2013-01-30 马舜尧 Pinyin slide input method and system for main and auxiliary keyboards
CN103324423A (en) * 2012-03-21 2013-09-25 北京三星通信技术研究有限公司 Terminal and user interface display method thereof
CN103425430A (en) * 2013-07-24 2013-12-04 广州三星通信技术研究有限公司 Method and device for supporting one-hand text input in mobile terminal
CN103677539A (en) * 2012-09-18 2014-03-26 阿里巴巴集团控股有限公司 Method and device for adjusting interfaces
CN104427122A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Portable electronic equipment and target selecting method thereof
CN107291361A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 The keyboard layout method to set up and device of a kind of input method
CN107329679A (en) * 2016-04-28 2017-11-07 范浪波 The method and device and software of automatic switchover intelligent handheld device one hand steer mode
CN108279783A (en) * 2017-12-14 2018-07-13 北京百度网讯科技有限公司 Method, apparatus, equipment and the computer storage media shielded in a kind of candidate item
CN108920234A (en) * 2018-06-26 2018-11-30 三星电子(中国)研发中心 The method and terminal of Dynamically Announce UI element

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200874A (en) * 2010-03-26 2011-09-28 腾讯科技(深圳)有限公司 Key input method and key input device based on touch screen
CN102902486A (en) * 2011-09-09 2013-01-30 马舜尧 Pinyin slide input method and system for main and auxiliary keyboards
CN103324423A (en) * 2012-03-21 2013-09-25 北京三星通信技术研究有限公司 Terminal and user interface display method thereof
CN102662603A (en) * 2012-05-18 2012-09-12 广州市渡明信息技术有限公司 Input method display method and input method display system for mobile phone with touch screen
CN103677539A (en) * 2012-09-18 2014-03-26 阿里巴巴集团控股有限公司 Method and device for adjusting interfaces
CN103425430A (en) * 2013-07-24 2013-12-04 广州三星通信技术研究有限公司 Method and device for supporting one-hand text input in mobile terminal
CN104427122A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Portable electronic equipment and target selecting method thereof
CN107291361A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 The keyboard layout method to set up and device of a kind of input method
CN107329679A (en) * 2016-04-28 2017-11-07 范浪波 The method and device and software of automatic switchover intelligent handheld device one hand steer mode
CN108279783A (en) * 2017-12-14 2018-07-13 北京百度网讯科技有限公司 Method, apparatus, equipment and the computer storage media shielded in a kind of candidate item
CN108920234A (en) * 2018-06-26 2018-11-30 三星电子(中国)研发中心 The method and terminal of Dynamically Announce UI element

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953846A (en) * 2020-08-11 2020-11-17 深圳传音控股股份有限公司 Interface layout adjusting method, terminal device and computer-readable storage medium

Also Published As

Publication number Publication date
CN110727388B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
US20230185447A1 (en) Information Processing Device, Operation Input Method And Operation Input Program
US8261211B2 (en) Monitoring pointer trajectory and modifying display interface
EP2752744B1 (en) Arc menu index display method and relevant apparatus
US9575654B2 (en) Touch device and control method thereof
EP3002664B1 (en) Text processing method and touchscreen device
KR101467513B1 (en) Apparatus for controlling mobile terminal and method thereof
KR101979666B1 (en) Operation Method For plural Touch Panel And Portable Device supporting the same
US20090153495A1 (en) Input method for use in an electronic device having a touch-sensitive screen
US20050223342A1 (en) Method of navigating in application views, electronic device, graphical user interface and computer program product
US8456433B2 (en) Signal processing apparatus, signal processing method and selection method of user interface icon for multi-touch panel
US20190227688A1 (en) Head mounted display device and content input method thereof
KR101885132B1 (en) Apparatus and method for input by touch in user equipment
US20120218307A1 (en) Electronic device with touch control screen and display control method thereof
CN110248027B (en) Method and system for improving one-hand operation convenience of handheld terminal
CN106802754B (en) Electronic equipment icon display method and device
KR20080042056A (en) The method of enhanced keyboarding on a handheld terminal with the touchscreen
CN110727388B (en) Method and device for controlling input method keyboard
US10963143B2 (en) Data editing method and apparatus
CN105468182A (en) Virtual keyboard displaying system and method
KR101866417B1 (en) Processing method based on multi-touch of terminal and device thereof
CN105549837A (en) Method and device for displaying contact items of contact list based on touch-screen apparatus
CN108196785B (en) Display method and device of input method keyboard, mobile terminal and storage device
KR20090089707A (en) Method and apparatus for zoom in/out using touch-screen
CN114063845A (en) Display method, display device and electronic equipment
US11847313B2 (en) Electronic device having touchpad with operating functions selected based on gesture command and touch method thereof

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