WO2022001472A1 - Display method and apparatus, electronic device, and storage medium - Google Patents

Display method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2022001472A1
WO2022001472A1 PCT/CN2021/095248 CN2021095248W WO2022001472A1 WO 2022001472 A1 WO2022001472 A1 WO 2022001472A1 CN 2021095248 W CN2021095248 W CN 2021095248W WO 2022001472 A1 WO2022001472 A1 WO 2022001472A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
virtual keyboard
display
keyboard
input
Prior art date
Application number
PCT/CN2021/095248
Other languages
French (fr)
Chinese (zh)
Inventor
侯奕含
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022001472A1 publication Critical patent/WO2022001472A1/en

Links

Images

Classifications

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

Definitions

  • the present application relates to the field of communication technologies, and more particularly, to a display method, apparatus, electronic device, and storage medium.
  • the terminal can choose the way to display the virtual keyboard according to the screen state.
  • the length of the keyboard is often enlarged and displayed.
  • the virtual keyboard will be tiled in the lower area of the screen.
  • the width of the screen in the landscape state is wide, which is not conducive to user operations.
  • Embodiments of the present application provide a display method, apparatus, electronic device, and storage medium.
  • an embodiment of the present application provides a display method, which is applied to a terminal with a display screen.
  • the method includes: displaying a first virtual keyboard on a first display area, and displaying a second virtual keyboard on a second display area; display target content in a third display area, wherein the third display area is located in a display area other than the first display area and the second display area, and the target content includes an auxiliary keyboard input Supplementary information.
  • an embodiment of the present application provides a display device, which is applied to a terminal with a display screen.
  • the device includes: a keyboard display module, configured to display a first virtual keyboard in a first display area, and display a second virtual keyboard in the first display area.
  • the keyboard is displayed in the second display area;
  • the auxiliary display module is used to display the target content in the third display area, wherein the third display area is located in the display area other than the first display area and the second display area , the target content includes auxiliary information for auxiliary keyboard input.
  • embodiments of the present application provide an electronic device, including: a memory; one or more processors coupled to the memory; and one or more application programs, wherein the one or more application programs are stored In the memory and configured to be executed by one or more processors, one or more application programs are configured to execute the display method provided by the above-mentioned first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the display method provided in the first aspect.
  • FIG. 1 shows a schematic diagram of an application environment suitable for this embodiment of the present application.
  • FIG. 2 shows a schematic flowchart of a display method provided by an embodiment of the present application.
  • FIG. 3 shows a schematic flowchart of a display method provided by another embodiment of the present application.
  • FIG. 4 shows a schematic diagram of an interface provided by an exemplary embodiment of the present application.
  • FIG. 5 shows a schematic diagram of an interface provided by an exemplary embodiment of the present application.
  • FIG. 6 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
  • FIG. 7 shows a schematic flowchart of step S240 in FIG. 3 provided by an exemplary embodiment of the present application.
  • FIG. 8 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
  • FIG. 9 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
  • FIG. 10 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
  • FIG. 11 shows a module block diagram of a display device provided by an embodiment of the present application.
  • FIG. 12 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 13 shows a storage unit provided by an embodiment of the present application for storing or carrying a program code for implementing the display method according to the embodiment of the present application.
  • the terminal can choose the way to display the virtual keyboard according to the screen state.
  • the length of the keyboard is often enlarged and displayed.
  • the virtual keyboard will be tiled in the lower area of the screen.
  • the width of the screen in the landscape state is wide, which is not conducive to user operations.
  • the widened keyboard increases the distance that the user's fingers move during input (in one example, the user's two hands
  • the button "x" is originally 1cm away from the bottom edge of the screen, but when it is widened, the button is widened, that is, the width occupied by each button becomes wider.
  • the button "z” close to the bottom edge of the screen is widened, and the button “x” will be further away from the bottom edge of the screen), which is more likely to cause input discomfort.
  • the embodiments of the present application provide a display method, apparatus, electronic device, and computer-readable storage medium, which can display the first virtual keyboard in the first display area and display the second virtual keyboard in the second display area, and display the target content for auxiliary keyboard input in the third display area, wherein the third display area is located in the display area other than the first display area and the second display area, and the target content includes the auxiliary keyboard input Supplementary information. Therefore, in this embodiment of the present application, the first virtual keyboard and the second virtual keyboard can be displayed in different display areas respectively, and auxiliary information can be displayed in other display areas to assist user input, so that the user can use the first virtual keyboard as needed.
  • the keyboard and the second virtual keyboard enable users to input on the keyboard without frequent switching, and at the same time, they can also easily assist keyboard input based on auxiliary information, reduce the tedious operation of the user, improve the input efficiency, and improve the input experience.
  • the embodiments of the present application can be applied to a terminal with a display screen, where the terminal can be, but is not limited to, a mobile phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving image compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving image compression standard audio layer 4) Players, laptops, e-books or wearable electronic devices, etc.
  • the terminal can be, but is not limited to, a mobile phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving image compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving image compression standard audio layer 4) Players, laptops, e-books or wearable electronic devices, etc.
  • MP3 player Moving Picture Experts Group Audio Layer III, moving image compression standard audio layer 3
  • MP4 Motion Picture Experts Group Audio Layer IV, moving image compression standard audio layer 4
  • Players laptops, e-books or wearable electronic devices, etc.
  • the display screen 110 may also be a folding screen, a pull-out screen or other special-shaped screen, or a non-special-shaped screen.
  • a folding screen when the folding screen is unfolded, the screen width is lengthened, and the keyboard is often displayed in a tiled display when the unfolded folding screen is displayed, causing the keyboard, keys, etc. to be displayed in a wider width.
  • the embodiments of the present application may be applied to the terminal 100 shown in FIG. 1 , and the display screen 110 may include a top edge 111 , a bottom edge 112 , a first side edge 113 and a second side edge 114 .
  • FIG. 1 only one type of terminal is shown in FIG. 1 , but in practical applications, those skilled in the art can refer to the solutions of the embodiments of the present application and select any terminal with a display screen to implement the solutions, which are not limited in the embodiments of the present application. .
  • FIG. 2 shows a schematic flowchart of a display method provided by an embodiment of the present application, which can be applied to a terminal with a display screen. The following will describe in detail the flow chart shown in FIG. 2 .
  • the display method may include the following steps:
  • Step S110 Display the first virtual keyboard in the first display area, and display the second virtual keyboard in the second display area.
  • the first virtual keyboard and the second virtual keyboard may be the same or different virtual keyboards
  • the virtual keyboard may be a full keyboard such as a 26-letter keyboard, or various types of virtual keyboards such as a nine-square keyboard, and the virtual keyboards can correspond to each input methods, such as Pinyin, Wubi, handwriting, etc., which are not limited in this embodiment.
  • the first virtual keyboard and the second virtual keyboard may be two virtual keyboards with different types, input methods, and the like. In some embodiments, the first virtual keyboard and the second virtual keyboard may be two virtual keyboards with different input methods. For example, the first virtual keyboard may be a virtual keyboard of the Pinyin input method, and the second virtual keyboard may be the Wubi input method. virtual keyboard. In other embodiments, the first virtual keyboard and the second virtual keyboard may also be different types of virtual keyboards, for example, the first virtual keyboard may be a full keyboard, and the second virtual keyboard may be a nine-square keyboard.
  • the first virtual keyboard and the second virtual keyboard may be two sub-keyboards of a virtual keyboard, for example, two sub-keyboards are obtained by splitting the full keyboard, and the two sub-keyboards are included in the virtual keyboard. Therefore, the complete virtual keyboard can be divided into two parts, and the left and right hands of the user can be fully utilized, which is convenient for the user to control.
  • two sub-keyboards are obtained by splitting the full keyboard, and the two sub-keyboards are included in the virtual keyboard. Therefore, the complete virtual keyboard can be divided into two parts, and the left and right hands of the user can be fully utilized, which is convenient for the user to control.
  • the first virtual keyboard and the second virtual keyboard may be two identical virtual keyboards, and the user may choose to input based on the first virtual keyboard or the second virtual keyboard according to actual needs, Thus, the convenience of user input is improved. If the first virtual keyboard is displayed in the first display area, and the second virtual keyboard is displayed in the second display area, the user can perform input operations based on the first display area to use the functions corresponding to the virtual keys in the first virtual keyboard. The input operation is performed based on the second display area to use the function corresponding to the virtual key in the second virtual keyboard.
  • the first display area and the second display area may be set according to the hot zone operated by the user, so as to facilitate the user's operation and improve the input experience.
  • the first display area and the second display area may be determined according to the user's holding gesture of the terminal.
  • a touch sensor can be set around the terminal to detect the user's touch action, and if the touched area can be obtained, two areas with the largest touch area are selected from the touched area, which are respectively recorded as area 1 and area 1.
  • the first display area may be determined according to the first area
  • the second display area may be determined according to the second area.
  • the first display area and the second display area may be determined directly according to the touched area instead of the touch area.
  • the hot area operated by the user can be obtained by learning the user's daily holding habits, then at least one area usually held by the user can be determined, and the at least one area can be determined as the first display area and the first display area, respectively. Second display area.
  • the first display area and the second display area may also be preset, for example, may be preset by a program, or may be manually customized by a user, which is not limited herein.
  • the display of the two virtual keyboards can be customized to meet user input requirements.
  • Step S120 Display the target content in the third display area.
  • the third display area is located in a display area other than the first display area and the second display area.
  • the third display area displays the target content to assist the user. Input based on virtual keyboard.
  • the display interface of the display screen may only include the first display area, the second display area, and the third display area.
  • the display interface of the display screen may only include the first display area, the second display area and the second display area.
  • other display areas may also be included, which are not limited herein.
  • the target content includes auxiliary information for auxiliary keyboard input
  • the auxiliary information may include at least one of emoticons, text error correction information, input association, relevant information of the input text, etc., wherein the relevant information of the input text may be related History, allusions, etc., are not limited here.
  • the extra area can be used to assist user input while adapting to wide-screen and large-screen display, without the need for the user to switch frequently, so that the user can conveniently input based on the virtual keyboard and directly based on the third display area.
  • the operation is performed to input the information corresponding to the target content, which reduces the cumbersome operation of the user, improves the convenience of the user's operation and improves the input efficiency, thereby improving the input experience.
  • the display method by displaying the first virtual keyboard in the first display area, displaying the second virtual keyboard in the second display area, and displaying the target content for auxiliary keyboard input in the third display area
  • the third display area is located in a display area other than the first display area and the second display area
  • the target content includes auxiliary information used for input from the auxiliary keyboard. Therefore, in this embodiment of the present application, the first virtual keyboard and the second virtual keyboard can be displayed in different display areas respectively, and auxiliary information can be displayed in other display areas to assist user input, so that the user can use the first virtual keyboard as needed.
  • the keyboard and the second virtual keyboard enable users to input on the keyboard without frequent switching, and at the same time, they can also easily assist keyboard input based on auxiliary information, reduce the tedious operation of the user, improve the input efficiency, and improve the input experience.
  • FIG. 3 shows a schematic flowchart of a display method provided by another embodiment of the present application. Specifically, the method may include:
  • Step S210 Determine the first display area according to the first holding position where the user holds the terminal.
  • Step S220 Determine the second display area according to the second holding position where the user holds the terminal.
  • the terminal can detect the first holding position and the second holding position. For example, if the user holds the terminal with both hands, the user's left hand and right hand can respectively correspond to one holding position.
  • the position where the user holds the left side of the display interface may correspond to the first holding position
  • the position where the user holds the right side of the display interface may correspond to the second holding position
  • the position where the user holds the terminal with the left hand may be determined as the first holding position
  • the position where the user holds the terminal with the right hand is determined as the second holding position.
  • the position where the terminal is held by the right hand may also be determined as the first holding position
  • the position where the terminal is held by the left hand is determined as the second holding position, which is not limited herein.
  • the terminal may determine the first display area according to the first holding position of the user holding the terminal, and determine the second display area according to the second holding position of the user holding the terminal.
  • the terminal may determine the display area corresponding to the first holding position as the first display area, and determine the display area corresponding to the second holding position as the second display area, which may be determined according to the holding position Two to-be-displayed areas when the first virtual keyboard and the second virtual keyboard are displayed, namely the first display area and the second display area.
  • Step S230 Display the first virtual keyboard in the first display area, and display the second virtual keyboard in the second display area.
  • first display area and the second display area are determined by the holding position of the user holding the terminal, by displaying the first virtual keyboard in the first display area and the second virtual keyboard in the second display area,
  • the user's left and right hands can be effectively used, and the holding scene can be considered, and the finger movement during user input can be reduced, so that the user can conveniently operate the keyboard and improve the input efficiency and input experience.
  • the terminal may acquire the keyboard partition instruction, and then, in response to the keyboard partition instruction, display the first virtual keyboard in the first display area, and display the second virtual keyboard in the second display area.
  • the keyboard partition instruction is used to instruct the terminal to display the keyboard in different regions.
  • the terminal may receive a keyboard partition instruction when detecting a user's operation based on the text input area. For example, when the user touches an input box or other input area that can be used to input text, the terminal may detect a corresponding operation, And receive the corresponding keyboard partition instruction.
  • the terminal may also receive a keyboard partition instruction when receiving the shortcut input of calling the input method. For example, if the user jumps to the payment password input interface in the process of scanning the code to pay, the keyboard will be triggered. display, the terminal can receive the keyboard partition command at this time.
  • the keyboard partition instruction may also be received in other manners, which is not limited in this embodiment.
  • the first virtual keyboard and the second virtual keyboard may be two sub-keyboards of one virtual keyboard.
  • it can be two sub-keyboards obtained by splitting the full keyboard.
  • the first virtual keyboard and the second virtual keyboard can be completely different.
  • the first virtual keyboard and the second virtual keyboard can respectively include different virtual keys of the virtual keyboard;
  • the keyboard and the second virtual keyboard may also be partially identical, for example, at least one of the virtual keys of the first virtual keyboard and the second virtual keyboard is the same.
  • the target virtual keyboard may be a currently displayed virtual keyboard, or a preset virtual keyboard, etc., which is not limited in this embodiment.
  • the terminal currently displays a virtual keyboard
  • the currently displayed virtual keyboard can be used as the target virtual keyboard; for another example, when the terminal does not display the virtual keyboard, the preset virtual keyboard can be used as the target virtual keyboard, and the preset virtual keyboard can be used as the target virtual keyboard.
  • the set virtual keyboard may be the virtual keyboard used last time or the default virtual keyboard, which is not limited in this embodiment.
  • the keyboard partition instruction may carry area division information, and in response to the keyboard partition instruction, the terminal may divide the target virtual keyboard according to the area division information, and divide the target virtual keyboard into a first virtual keyboard and a second virtual keyboard , for example, the area division information may be the area halving information for halving, then the terminal can halve the operation area of the target virtual keyboard according to the area halving information, that is, divide it into two operations with equal widths
  • the regions are respectively used as the first operation region and the second operation region.
  • the area division information may also be area division information for trisection, etc., area quarter division information for quarter division, and, of course, may also be unequal division information, such as area bisection, Three points, four points, etc. are not limited here.
  • the area division information may be preset, and how to divide the operation area according to the area division information may also be preset, which is not limited in this embodiment.
  • the area division information may be the area bisection information for halving, that is, based on the keyboard division instruction carrying the area division information, the terminal may split the target virtual keyboard into two halves suitable for left and right hand input
  • the operation area and then the virtual keyboards corresponding to the two operation areas are respectively determined as the first virtual keyboard and the second virtual keyboard, and are displayed in different areas, the first virtual keyboard is displayed in the first display area, and the second virtual keyboard is displayed in the second virtual keyboard.
  • second display area In an example, if both the first operation area and the first display area belong to the area on the left side, and the second operation area and the second display area belong to the area on the right side, the terminal can assign the target virtual keyboard to the target virtual keyboard based on the keyboard partition instruction.
  • the virtual keyboard of the left operation area is displayed in the left display area
  • the virtual keyboard of the right operation area is displayed in the right display area.
  • the user's left and right hands can be effectively used to split the target virtual keyboard according to the user's holding habits
  • the split first virtual keyboard can be displayed in the first display area
  • the second virtual keyboard can be displayed in the second display area.
  • both the first virtual keyboard and the second virtual keyboard can be displayed close to the edge of the terminal, which reduces the spanning of fingers during user input, and improves input efficiency and input experience.
  • the terminal can obtain the keyboard partition instruction when the target virtual keyboard is displayed on the designated display interface.
  • the user can manually trigger the keyboard partition instruction.
  • the designated display interface displays the target virtual keyboard
  • the user can touch the designated key to trigger the keyboard partition instruction, so that the terminal can obtain it; for another example, when the designated display interface displays the target virtual keyboard, the user can trigger the keyboard partition instruction through gesture input, and the terminal can pre-store preset gestures , and is set to trigger a keyboard partition instruction, the preset gesture may be determined according to actual needs, may be preset by a program, or may be user-defined, which is not limited in this embodiment.
  • the keyboard partition instruction may also be triggered automatically.
  • the terminal may detect its own posture, that is, the terminal posture, and obtain the keyboard partition instruction when detecting that the terminal switches from the portrait state to the landscape state.
  • the first virtual keyboard and the second virtual keyboard may be at least partially identical, that is, they may have one or more identical virtual keys, which are denoted as designated virtual keys.
  • the designated virtual key may be determined according to the operation area, or may be determined according to user habits, and may also be customized according to actual needs, which is not limited here. In this way, the user's input based on the wide screen can be further optimized, and the input experience can be improved, without the inconvenience of the user moving too far during input due to the wide screen tiled keyboard.
  • the designated virtual keys can be determined according to actual needs, preset by programs, or customized by users. For example, users can set their own commonly used keys as designated virtual keys, and then they can receive the keyboard partition instruction after receiving the keyboard partition instruction. When partitioning the keyboard, the commonly used keys are simultaneously displayed in two display areas as the first virtual key and the second virtual key, so that it is convenient for the user to select one of the keys to operate.
  • the specified virtual key may be any one or more of a space bar, an enter key, a comma key (for inputting ","), a delete key, and the like, which is not limited in this embodiment.
  • the layout of virtual keyboards under different virtual keyboards, different operating systems, and different terminals there may be multiple virtual keys located in the first operation area and the second operation area at the same time.
  • At least one of the virtual keys is determined to be the designated virtual key. This is in line with the user's operating habits. For example, the user usually moves the distance a before the keyboard is not partitioned to touch the designated virtual key such as the space bar, and after the partition is still only needed to move the distance a to touch the designated virtual key such as the space bar.
  • the keyboard partition improves input efficiency and operational convenience while still satisfying the user's operating habits, thereby further improving the user's input experience.
  • the terminal can determine that the virtual keys on the target virtual keyboard are located in the first operation area and the second operation area.
  • a virtual key in an operation area is used as a first virtual key
  • a virtual key located in a second operation area among a plurality of virtual keys on the target virtual keyboard is determined as a second virtual key.
  • half of the space bar may be displayed in the first operation area, and the other half may be displayed in the second operation area, then the space bar may be determined as the designated virtual key at this time.
  • the target virtual keyboard is partitioned, the virtual keys to be displayed in each display area are determined, and the virtual keys located in the first operation area and the second operation area are simultaneously used as the first virtual key and the second virtual key, that is, At the same time, as the keys of the first virtual keyboard and the keys of the second virtual keyboard, they are displayed in the first display area and the second display area at the same time, so that the user can choose to control the designated virtual keys on any virtual keyboard according to actual needs, realize the corresponding functions, and further Improve input efficiency and convenience, and improve user experience.
  • the usage frequency of each virtual key can also be counted, and the first preset number of virtual keys with high usage frequency are used as designated virtual keys, and are displayed in the first display area and the second display area at the same time, so that the user can It is necessary to select any virtual keyboard to control the designated virtual key for input, which is convenient for the user to operate.
  • the designated virtual keys can also be customized by the user.
  • the user can set the designated virtual keys on the keyboard setting page in advance according to their own usage habits, preferences, etc., wherein the keyboard setting interface is used to set the virtual keyboard.
  • the keyboard setting interface is used to set the virtual keyboard.
  • FIG. 4 shows a schematic diagram of an interface provided by an exemplary embodiment of the present application.
  • the space bar is both located in the first display area 21 (space bar 211 ), and also If it is located in the second display area 22 (space bar 221 ), the space bar can be determined as a designated virtual key, and the space bar can be displayed in the first display area 21 and the second display area 22 at the same time.
  • the user can choose to press the space bar on the left or the right for input as required, instead of having to operate the virtual key in the first display area 21 with the left hand for input, when the space bar is required for input, the user needs to operate with the right hand.
  • the user can select a nearby space bar for input no matter which display area is based on the operation, which can eliminate the need for excessive span operation, no need to switch the display area of the operation, no need to change hands, reduce the moving distance of the user input, improve the input efficiency, Convenience and fluency.
  • the first and second virtual keyboards can also be obtained by typesetting the virtual keyboard obtained by the partition. That is, the terminal can obtain a keyboard containing a plurality of typeset first virtual keys as the first virtual keyboard by typesetting the first virtual keys, and obtain a keyboard containing a plurality of typesetting second virtual keys after typesetting the second virtual keys.
  • the keyboard acts as a second virtual keyboard. This embodiment does not limit the typesetting manner.
  • the keyboard obtained by the first virtual key typed based on the typesetting method may be determined as the first virtual keyboard
  • the second virtual keyboard typesetting based on the typesetting method may be determined as the first virtual keyboard.
  • the keyboard obtained by the virtual key is determined as the second virtual keyboard.
  • the display screen of the terminal may include a top edge, a bottom edge and two side edges, as shown in FIG. and the length of the second side edge 114), the first display area can be close to the top edge 111 of the display screen, and the second display area can be close to the bottom edge 112 of the display screen. Therefore, the first virtual keyboard can be displayed close to the top edge, and the second virtual keyboard can be displayed close to the bottom edge, which is more in line with the user's holding habits in the horizontal screen state, so that the two display areas correspond to the holding positions of the left and right hands.
  • the terminal if it detects that the terminal is switched from the vertical screen state to the horizontal screen state, it can obtain a keyboard partition instruction, and consider the holding position of the user, divide the target virtual keyboard into a first virtual keyboard and a second virtual keyboard, and further The first virtual keyboard is displayed in the first display area, that is, the first virtual keyboard is displayed near the top edge, and the second virtual keyboard is displayed in the second display area, that is, the second virtual keyboard is displayed near the bottom edge, so that the user can When the terminal is in the horizontal screen state, when holding the terminal with both hands, the area that is easy to operate with both hands can correspond to the display area of the virtual keyboard, so that the fingers of both hands do not need to move long-span when inputting, improving the convenience and fluency of input operation .
  • Step S240 Display the target content in the third display area.
  • the third display area is a display area other than the first display area and the second display area.
  • the third display area and the first and second display areas belong to the same information input area.
  • the specified display interface may include an information input area and an information display area, and the information input area is used to obtain user input operations. Accordingly, the corresponding input information is obtained, and the information display area is used to display the information.
  • the first display area and the second display area may be two display areas of the information input area, and the third display area may be a display area other than the first display area and the second display area in the information input area.
  • the specified display interface may be the current display interface of the terminal or the display interface of a specified application, such as the display interface of a chat application, etc., which is not limited herein.
  • FIG. 5 shows a schematic diagram of an interface provided by an exemplary embodiment of the present application, as shown in FIG. 5 .
  • the shown display interface includes an information display area 10 and an information input area 20, the information display area 10 can display a chat window, and the information input area 20 includes a first display area 21, a second display area 22 and a third display area 23, where the first display area 21, the second display area 22 and the third display area 23.
  • the display area 21 can display the first virtual keyboard
  • the second display area 22 can display the second virtual keyboard
  • the third display area 23 can display at least one emoticon
  • the terminal obtains the corresponding input information by detecting the user's input operation, For example, if it is detected that the user inputs signals to the virtual keys "X", "I", and "E” on the virtual keyboard in sequence, the corresponding input information, that is, the text symbol "Xie", can be obtained.
  • the input information can be displayed in the information input
  • the area 20 can also be displayed in the information display area 10, which is not limited here.
  • the input operation based on the virtual keyboard may be a contact operation, such as a touch operation, such as a click operation, a sliding operation, etc., or a non-contact operation, such as a gesture input operation in a space, etc., the embodiment of the present application This is not limited.
  • the third display area can be located between the first display area and the second display area, the first virtual keyboard and the second virtual keyboard can be displayed on both sides, and the target content can be displayed in the middle.
  • the virtual keyboard will be tiled, which makes the displayable area of the virtual keyboard wider, so the virtual keyboard is widened.
  • the virtual keys are widened, etc., resulting in an increase in the distance that the user needs to move when inputting.
  • the width of the displayable area of the virtual keyboard before the folding screen is unfolded is 4cm
  • the width of the displayable area of the virtual keyboard can be increased to 8cm, which is an extra 4cm wide.
  • the display area can be used.
  • the virtual keyboard is usually tiled to display based on the entire width of the display area of 8cm. At this time, the virtual keys will be widened and the keyboard will be widened. The moving distance and span have also increased, which is not conducive to the problem of operation.
  • the target content in the third display area between the first display area and the second display area, it is not only convenient for the user to input based on the first and second virtual keyboards, but also the left and right hands of the user are effectively utilized, and the operation convenience is improved, especially It is input in a wide screen, which reduces the user's finger spanning when inputting, and makes full use of the area between the display areas of the first virtual keyboard and the second virtual keyboard to display the target content for auxiliary input, which can also improve input efficiency.
  • the third display area when the third display area is located between the first display area and the second display area, it may be located between the first display area and the second display area in a narrow sense, or in a broad sense.
  • the display area is located to the left of the second display area, the left edge of the third display area is located to the right of the left edge of the first display area, and the right edge of the third display area is located to the left of the right edge of the second display area, only It is sufficient to satisfy the foregoing conditions, and the specific positions where the upper and lower edges of the third display area are located are not limited.
  • the third display area may not be located between the first display area and the second display area, for example, the third display area may be located above or below the first display area, Above or below, etc., are not limited here.
  • the third display area can display at least one emoji, so that when the user is inputting based on the current target virtual keyboard, if he wants to input an emoji, he does not need to switch the input method or open the emoji area, and more No need to close the emoji area.
  • the emoji can be input, for example, the emoji is displayed in an input box, waiting to be sent or directly displayed in the currently edited document.
  • FIG. 6 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
  • a third interface between the first display area 21 and the second display area 22 is The display area 23 displays at least one emoji, and the user can directly select an emoji from the third display area for input without switching keyboards or input methods when inputting based on the input method corresponding to the target virtual keyboard. Therefore, by displaying at least one emoticon in the third display area, frequent switching of input methods or functions can be avoided, cumbersome operations are reduced, input convenience and fluency are improved, and input experience is further improved.
  • Displaying at least one emoticon between the first virtual keyboard and the second virtual keyboard can greatly reduce the user's operations such as switching keyboards, input methods, and the like, and improve input efficiency and convenience.
  • the third display area can also display text error correction information, so that the third display area can be fully utilized to provide proofreading and error correction prompts without interfering with continued input, so as to improve the accuracy of the text output by the user enhance the input experience.
  • FIG. 7 shows a schematic flowchart of step S240 in FIG. 3 provided by an exemplary embodiment of the present application.
  • Step S240 may include:
  • Step S241 Generate text error correction information for the input text according to the input text input by the user based on the target virtual keyboard.
  • the text error correction information is the information after the input text is corrected, which is used to correct the user's typos, for example, the erroneous words or words can be marked, and the corresponding corrected information, that is, the correct words or words, can be displayed accordingly. For example, if the input text is "today's cool moon is very round", based on this input text, the terminal can generate text error correction information for the input text, such as "today's cool (bright) moon is very round", the typo “cool” Correspondingly, the correct word "bright” after the correction can be displayed.
  • Step S242 Display a text error correction interface in the third display area.
  • text error correction information is displayed in the text error correction interface, then by displaying the text error correction interface in the third display area, the text error correction information of the text currently input by the user can be displayed, so as not to interfere with the user's continued input. Provide proofreading and error correction tips.
  • the user can select the corrected text error correction information to realize text replacement, and replace the text error correction information with the corresponding input text, thereby improving input accuracy and efficiency.
  • FIG. 8 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
  • a third interface between the first display area 21 and the second display area 22 is The display area 23 can display a text error correction interface, and the text error correction information of the input text can be displayed in the text error correction interface, as shown in FIG. Very cool (can) love.”
  • This article first introduces the key techniques for correcting (correcting) the types of typos.
  • a selection box may also be included, and the terminal can detect the user's touch event based on the selection box, so as to select the corresponding text error correction information to correct the corresponding input text.
  • a proofreading prompt can be provided, and text error correction can be realized, which can greatly improve the input efficiency.
  • the third display area may further display a text manipulation interface, wherein at least one manipulation key for manipulating the input text may be displayed in the text manipulation interface, and the at least one manipulation key includes a cursor movement key, a full At least one of the select key, copy key, paste key, and clipboard key.
  • this embodiment can greatly simplify the text manipulation interface in the third display area without interfering with user input. Operation improves input efficiency and fluency.
  • FIG. 9 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
  • a third interface between the first display area 21 and the second display area 22 is The display area 23 can display a text manipulation interface, and the text manipulation interface can display a cursor movement key 231 , a select all key 232 , a copy key 233 , a paste key 234 , and a clipboard key 235 .
  • the cursor movement key 231 also includes the direction key 2311 for adjusting the cursor position, the cursor front key 2312 for moving the cursor to the front of the full text or the front of the current paragraph, for moving the cursor to the very end of the full text or the current paragraph
  • target content may also be displayed in the third display area, that is, the target content may include but not limited to the emoticons, text error correction information, text manipulation interface, etc. described in the above embodiments, It may also be other content, which is not limited in the embodiments of the present application, but is limited by space and will not be exhaustive.
  • the terminal may only display the first virtual keyboard and the second virtual keyboard, without displaying the target content in the third display area, so that the third display area is hollowed out, so that the terminal can pass the third display area.
  • the display area continues to display the displayed content under the keyboard, thereby reducing the occlusion of the displayed content by the keyboard in the immersive interface.
  • the target virtual keyboard when the target virtual keyboard is displayed in the designated display interface, it may be determined whether the terminal currently runs the designated application program. If it is currently detected that the application running in the foreground of the terminal is the designated application, the target content can be displayed in the third display area. If it is currently detected that the application running in the foreground of the terminal is a non-designated application, the target content may not be displayed in the third display area.
  • the non-designated applications may include at least one of video applications and game applications. It should be noted that the designated application and the non-designated application may be determined according to actual needs, may be preset by a program, or may be user-defined, which is not limited in this embodiment.
  • the user needs to input a bullet screen when the terminal is playing a video, he can trigger the keyboard partition command to call up the keyboard and divide it into two virtual keyboards, which are displayed in the first display area and the second display area respectively, and the two The third display area between the two virtual keyboards is hollowed out, and the user can continue to watch part of the video content displayed in the third display area and the video content not blocked by the first virtual keyboard and the second virtual keyboard through the third display area.
  • the occlusion of the video content when the user inputs the bullet screen can be reduced, so that the input experience can be improved and the viewing experience can be further improved.
  • this embodiment can also achieve corresponding effects in other examples.
  • this embodiment can reduce the occlusion of the game interface, reduce the occlusion of the user's game field of view, and improve the operation. experience.
  • the terminal may also, in response to the first operation acting on the target display area, switch the display content of the target display area to the display content of the third display area, wherein , the target display area is the first display area or the second display area.
  • the first operation also belongs to an input operation, which may be a contact operation or a non-contact operation, which can be specifically referred to in the foregoing embodiments, and will not be repeated here.
  • the terminal may acquire the first operation based on the target virtual keyboard, determine the target display area to be switched according to the first operation, and switch the display content of the target display area to the target content.
  • the target display area is the first display area or the second display area.
  • the display area affected by the first operation may be determined according to the detected first operation, and the display area may be determined as The target display area is to display the target content in the target display area, so that when the user needs to input based on the target content, the target content displayed in the middle of the keyboard can be switched to the first display area or the second display area near the edge of the terminal. show.
  • a first operation based on a designated area of the target virtual keyboard may be detected, and then when a first operation based on a non-designated area of the target virtual keyboard is detected, the operation may not be performed.
  • Switch do not switch the display area of the target content, so as to avoid switching caused by accidental touch.
  • the designated area may be the upper part, the lower part, the right side, the left side, etc. of the target virtual keyboard, which is not limited here.
  • the designated area since the probability of being touched by mistake on the upper part of the target virtual keyboard is relatively low compared to other areas, the designated area may be the upper part of the target virtual keyboard to further reduce the probability of false touches and improve the input experience.
  • the third display area can also be hollowed out, that is, the content in the display interface before the target virtual keyboard is called up can be displayed through the third display area, and then the third display area belongs to the information display at this time.
  • the information input area only includes the first display area and the second display area, and the first display area displays the first virtual keyboard, and the second display area displays the second virtual keyboard. Then the terminal detects the first operation based on the target virtual keyboard, and determines the target display area to be switched accordingly, and when the display content of the target display area is switched to the target content, the third display area may not display the original display area of the target display area.
  • content i.e. the first virtual keyboard or the second virtual keyboard.
  • the target virtual keyboard can be split into two parts and displayed in the display area near the edge of the terminal, reducing finger swiping, especially when the keyboard is input on a wide screen, which is too large to facilitate user operations.
  • the display content of the target display area can be switched to be the target content, so that the user can conveniently manipulate and input the target content of the auxiliary input without the need to move too much with fingers, improving the performance of the target display area.
  • the input efficiency also ensures the convenience of input, which further optimizes the input experience.
  • FIG. 10 shows a schematic interface diagram provided by another exemplary embodiment of the present application
  • 10(a) is a schematic diagram of time t
  • FIG. 10(b) is a schematic diagram of time t+1.
  • the third display area 23 between the first display area 21 and the second display area 22 displays at least one emoticon, and the information corresponding to the holding position of the user’s right hand is input at this time.
  • the area is the second display area 22, and the user's right finger slides from right to left on the upper part of the second display area 22, then at time t+1, the target content originally displayed in the third display area 23 at time t is switched to It is displayed on the second display area 22 , and the second virtual keyboard originally displayed in the second display area 22 at time t+1 is switched to the third display area 23 for display.
  • the user can conveniently operate and input the target content with the right hand without the need to move too much fingers.
  • the emoticon is switched to the target display area for display, so that the input of the emoticon can be realized without the need to move too much fingers, which greatly improves the input efficiency and facilitates user input. Convenience.
  • the terminal switches the display content of the target display area to the display content of the third display area in response to the first operation acting on the target display area
  • the content of the current target display area can be switched back to the previously displayed display content.
  • the terminal swaps the second virtual keyboard displayed in the second display area with the target content displayed in the third display area at this time, that is, the second display area and the The display contents of the three display areas are exchanged, and after the exchange, the second display area displays the target content, and the third display area displays the second virtual keyboard.
  • the terminal detects the first operation acting on the second display area again, and responds to the first operation, it can compare the target content displayed in the second display area at this time with the second virtual image displayed in the third display area.
  • the keyboard is exchanged. After the exchange, the second virtual keyboard is displayed in the second display area, and the target content is displayed in the third display area.
  • FIGS. 4 , 6 , and 8-10 do not show the information display area, and this embodiment does not limit the content displayed in the information display area.
  • the terminal may also, in response to a second operation on the target content, obtain input information of the second operation corresponding to the target content, where the first operation also belongs to An input operation, which may be a contact operation or a non-contact operation, may be specific to the foregoing embodiments, and will not be repeated here.
  • An input operation which may be a contact operation or a non-contact operation, may be specific to the foregoing embodiments, and will not be repeated here.
  • the terminal can detect the input operation acting on the third display area, so as to obtain corresponding input information, make full use of the target content to assist keyboard input, and improve input efficiency.
  • the target content may be equivalent to a virtual keyboard, and the terminal may obtain the corresponding emoticon for input in response to the user's input operation on the emoticon, and after obtaining When the instruction is sent, the input information including the emoticon is sent to the terminal of the chat object, and displayed on the chat window of the terminal.
  • the target content displayed in the third display area can be input according to the second operation input by the user, and input with the auxiliary keyboard.
  • the first display area is determined according to the first holding position of the user holding the terminal
  • the second display area is determined according to the second holding position of the user holding the terminal
  • the first virtual keyboard is displayed.
  • the second virtual keyboard is displayed in the second display area
  • the target content is displayed in the third display area, so that the virtual keyboard divided into two parts of the target virtual keyboard can be displayed in different areas respectively. 1.
  • the setting of the display area of the human virtual keyboard fully considers the holding scene, improves the convenience of user input, and simultaneously displays the target content for assisting user input in the third display area between the display areas of the two virtual keyboards.
  • the display of the virtual keyboard can be more suitable for the wide screen, and the movement of the finger length span when the user is inputting in the wide screen can be reduced.
  • Errors, text manipulation interfaces, etc. are displayed in the middle area of the keyboard after the partition, that is, the third display area, so as to assist the user's input without interfering with the user's continued input, and further improve the input efficiency.
  • the more commonly used target content in the input scene is placed in the middle of the first and second virtual keyboards for display, such as Emoji, text error correction interface, text manipulation interface, etc., allow users to customize the content required in the input scene and display it in the middle of the keyboard.
  • FIG. 11 shows a structural block diagram of a display device 1100 provided by an embodiment of the present application, which can be applied to a terminal with a display screen.
  • the display device 1100 may include: a keyboard display module 1110 and an auxiliary display Module 1120, specifically:
  • the keyboard display module 1110 is used for displaying the first virtual keyboard in the first display area, and displaying the second virtual keyboard in the second display area;
  • the auxiliary display module 1120 is configured to display target content in a third display area, wherein the third display area is located in a display area other than the first display area and the second display area, and the target content includes Auxiliary information for keyboard input.
  • the display device 1100 further includes: a grip detection module, a first area determination module and a second area determination module, wherein:
  • a first area determination module configured to determine a first display area according to a first holding position where the user holds the terminal
  • the second area determination module is configured to determine the second display area according to the second holding position where the user holds the terminal.
  • the display device 1100 further includes: a display content switching module and a target content input module, wherein:
  • a display content switching module configured to switch the display content of the target display area to the display content of the third display area in response to a first operation acting on the target display area, where the target display area is the first display area display area or the second display area.
  • a target content input module configured to, in response to a second operation on the target content, acquire input information of the second operation corresponding to the target content.
  • the keyboard display module 1110 may include: a first area determination sub-module and a second area determination sub-module, wherein:
  • the first area determination submodule is used for displaying the first virtual keyboard in the first display area and the second virtual keyboard in the second display area in response to the keyboard partition instruction.
  • the second area determination sub-module is configured to display the first virtual keyboard on the first display if it is detected that the terminal is switched from the vertical screen state to the horizontal screen state when the target virtual keyboard is displayed in the designated display interface. area, and the second virtual keyboard is displayed in the second display area.
  • first virtual keyboard and the second virtual keyboard are two sub-keyboards of the target virtual keyboard.
  • the display screen includes a top edge and a bottom edge, the first display area is close to the top edge, and the second display area is close to the bottom edge.
  • auxiliary display module 1120 comprises: expression display submodule, error correction generation submodule, error correction display submodule and manipulation display submodule, wherein:
  • the emoticon display submodule is used for displaying at least one emoticon in the third display area.
  • An error correction generation sub-module configured to generate text error correction information for the input text according to the input text input by the user based on at least one of the first virtual keyboard and the second virtual keyboard, the text error correction The information is the corrected information of the input text;
  • the error correction display sub-module is used for displaying a text error correction interface in the third display area, and the text error correction information is displayed in the text error correction interface.
  • the manipulation display sub-module is used for displaying a text manipulation interface in the third display area, and at least one manipulation button for manipulating the input text is displayed in the text manipulation interface, and the at least one manipulation button includes a cursor movement key, a select all at least one of key, copy key, paste key, clipboard key.
  • the third display area is located between the first display area and the second display area.
  • first virtual keyboard and the second virtual keyboard are virtual keyboards with different input methods.
  • first virtual keyboard and the second virtual keyboard are identical or partially identical.
  • the display device provided by the embodiment of the present application is used to implement the corresponding display method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • FIG. 12 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 1200 may be the above-mentioned terminal, such as a mobile phone, a tablet computer, an MP3 player, an MP4 player, an e-book, a notebook computer, a personal computer, a wearable electronic device, etc. that can run applications and have a display screen.
  • the electronic device 1200 in the present application may include one or more of the following components: a processor 1210, a memory 1220, and one or more application programs, wherein the one or more application programs may be stored in the memory 1220 and configured to be executed by a
  • the processor or processors 1210 execute one or more programs configured to execute the methods described in the foregoing method embodiments.
  • the processor 1210 may include one or more processing cores.
  • the processor 1210 uses various interfaces and lines to connect various parts of the entire electronic device 1200, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1220, and calling the data stored in the memory 1220.
  • the processor 1210 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1210 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1210, and is implemented by a communication chip alone.
  • the memory 1220 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 1220 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 1220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data created by the electronic device 1200 during use (eg, phone book, audio and video data, chat record data) and the like.
  • FIG. 13 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable storage medium 1300 stores program codes, which can be invoked by the processor to execute the methods described in the above embodiments.
  • the computer readable storage medium 1300 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1300 includes a non-volatile computer-readable storage medium (non-transitory computer-readable storage medium).
  • Computer readable storage medium 1300 has storage space for program code 1310 to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products.
  • Program code 1310 may be compressed, for example, in a suitable form.

Abstract

The present application relates to the technical field of communications. Disclosed are a display method and apparatus, an electronic device, and a storage medium, applied to a terminal provided with a display screen. The method comprises: displaying a first virtual keyboard in a first display area, and displaying a second virtual keyboard in a second display area; and displaying target content in a third display area, the third display area being located in a display area other than the first display area and the second display area, and the target content comprising auxiliary information for assisting keyboard input. In embodiments of the present application, the virtual keyboards can be displayed in different display areas respectively, and meanwhile, the auxiliary information is displayed in another display area, thereby improving the input efficiency.

Description

显示方法、装置、电子设备及存储介质Display method, device, electronic device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年7月2日提交的申请号为202010634268.6的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims priority to Chinese Application No. 202010634268.6 filed on July 2, 2020, the entire contents of which are hereby incorporated by reference for all purposes.
技术领域technical field
本申请涉及通信技术领域,更具体地,涉及一种显示方法、装置、电子设备及存储介质。The present application relates to the field of communication technologies, and more particularly, to a display method, apparatus, electronic device, and storage medium.
背景技术Background technique
目前终端可以根据屏幕状态选择显示虚拟键盘的方式,但是在手机横屏或大屏手机的使用场景下,为使键盘适应屏幕状态,键盘长度往往会被拉宽显示,比如当终端处于横屏状态时,虚拟键盘会在屏幕下方区域平铺显示,此时,由于横屏状态下的屏幕宽度较宽,不利于用户操作。At present, the terminal can choose the way to display the virtual keyboard according to the screen state. However, in the mobile phone landscape or large-screen mobile phone usage scenarios, in order to adapt the keyboard to the screen state, the length of the keyboard is often enlarged and displayed. For example, when the terminal is in the landscape state At this time, the virtual keyboard will be tiled in the lower area of the screen. At this time, the width of the screen in the landscape state is wide, which is not conducive to user operations.
发明内容SUMMARY OF THE INVENTION
本申请实施例提出了一种显示方法、装置、电子设备及存储介质。Embodiments of the present application provide a display method, apparatus, electronic device, and storage medium.
第一方面,本申请实施例提供了一种显示方法,应用于具有显示屏的终端,所述方法包括:将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域;在第三显示区域显示目标内容,其中,所述第三显示区域位于除所述第一显示区域与所述第二显示区域以外的显示区域,所述目标内容包括用于辅助键盘输入的辅助信息。In a first aspect, an embodiment of the present application provides a display method, which is applied to a terminal with a display screen. The method includes: displaying a first virtual keyboard on a first display area, and displaying a second virtual keyboard on a second display area; display target content in a third display area, wherein the third display area is located in a display area other than the first display area and the second display area, and the target content includes an auxiliary keyboard input Supplementary information.
第二方面,本申请实施例提供了一种显示装置,应用于具有显示屏的终端,所述装置包括:键盘显示模块,用于将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域;辅助显示模块,用于在第三显示区域显示目标内容,其中,所述第三显示区域位于除所述第一显示区域与所述第二显示区域以外的显示区域,所述目标内容包括用于辅助键盘输入的辅助信息。In a second aspect, an embodiment of the present application provides a display device, which is applied to a terminal with a display screen. The device includes: a keyboard display module, configured to display a first virtual keyboard in a first display area, and display a second virtual keyboard in the first display area. The keyboard is displayed in the second display area; the auxiliary display module is used to display the target content in the third display area, wherein the third display area is located in the display area other than the first display area and the second display area , the target content includes auxiliary information for auxiliary keyboard input.
第三方面,本申请实施例提供了一种电子设备,包括:存储器;一个或多个处理器,与所述存储器耦接;一个或多个应用程序,其中,一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个应用程序配置用于执行上述第一方面提供的显示方法。In a third aspect, embodiments of the present application provide an electronic device, including: a memory; one or more processors coupled to the memory; and one or more application programs, wherein the one or more application programs are stored In the memory and configured to be executed by one or more processors, one or more application programs are configured to execute the display method provided by the above-mentioned first aspect.
第四方面,本申请实施例提供了一种计算机可读取存储介质,计算机可读取存储介质中存储有程序代码,程序代码可被处理器调用执行上述第一方面提供的显示方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the display method provided in the first aspect.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了一种适用于本申请实施例的应用环境示意图。FIG. 1 shows a schematic diagram of an application environment suitable for this embodiment of the present application.
图2示出了本申请一个实施例提供的显示方法的流程示意图。FIG. 2 shows a schematic flowchart of a display method provided by an embodiment of the present application.
图3示出了本申请另一个实施例提供的显示方法的流程示意图。FIG. 3 shows a schematic flowchart of a display method provided by another embodiment of the present application.
图4示出了本申请一个示例性实施例提供的界面示意图。FIG. 4 shows a schematic diagram of an interface provided by an exemplary embodiment of the present application.
图5示出了本申请一个示例性实施例提供的界面示意图。FIG. 5 shows a schematic diagram of an interface provided by an exemplary embodiment of the present application.
图6示出了本申请另一个示例性实施例提供的界面示意图。FIG. 6 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
图7示出了本申请一个示例性实施例提供的图3中步骤S240的流程示意图。FIG. 7 shows a schematic flowchart of step S240 in FIG. 3 provided by an exemplary embodiment of the present application.
图8示出了本申请又一个示例性实施例提供的界面示意图。FIG. 8 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
图9示出了本申请再一个示例性实施例提供的界面示意图。FIG. 9 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
图10示出了本申请还一个示例性实施例提供的界面示意图。FIG. 10 shows a schematic diagram of an interface provided by another exemplary embodiment of the present application.
图11示出了本申请实施例提供的显示装置的模块框图。FIG. 11 shows a module block diagram of a display device provided by an embodiment of the present application.
图12示出了本申请实施例提供的电子设备的结构框图。FIG. 12 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
图13示出了本申请实施例提供的用于保存或者携带实现根据本申请实施例的显示方法的程序代码的存储单元。FIG. 13 shows a storage unit provided by an embodiment of the present application for storing or carrying a program code for implementing the display method according to the embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
目前终端可以根据屏幕状态选择显示虚拟键盘的方式,但是在手机横屏或大屏手机的使用场景下,为使键盘适应屏幕状态,键盘长度往往会被拉宽显示,比如当终端处于横屏状态时,虚拟键盘会在屏幕下方区域平铺显示,此时,由于横屏状态下的屏幕宽度较宽,不利于用户操作。At present, the terminal can choose the way to display the virtual keyboard according to the screen state. However, in the mobile phone landscape or large-screen mobile phone usage scenarios, in order to adapt the keyboard to the screen state, the length of the keyboard is often enlarged and displayed. For example, when the terminal is in the landscape state At this time, the virtual keyboard will be tiled in the lower area of the screen. At this time, the width of the screen in the landscape state is wide, which is not conducive to user operations.
并且随着终端屏幕的不断扩大,特别是考虑横屏、折叠屏手机完全展开、抽拉屏等大屏、异形屏的使用场景,如果仅仅通过平铺显示键盘,使得键盘、按键以被拉宽的状态显示,并不能提高输入体验和效率。例如,用户在通过拼音输入法输入“在(zai)”、“谢(xie)”等常用汉字时,被拉宽的键盘使得用户手指在输入时移动的距离增加(在一个示例中,用户双手握持横屏的手机,键盘平铺显示时,按键“x”原来距离屏幕底边1cm,而当被拉宽后,按键被拉宽,即每个按键占用的宽度变宽,此时由于更靠近屏幕底边的按键“z”被拉宽,则按键“x”会距离屏幕底边更远了),如此反而更容易引起输入的不适。And with the continuous expansion of the terminal screen, especially considering the use scenarios of large screens and special-shaped screens such as horizontal screens, fully unfolded mobile phones with folding screens, and pull-out screens, if the keyboard is only displayed by tiling, the keyboard and keys will be widened. The status display does not improve the input experience and efficiency. For example, when a user inputs common Chinese characters such as "zai (zai)" and "xie (xie)" through the pinyin input method, the widened keyboard increases the distance that the user's fingers move during input (in one example, the user's two hands When holding a mobile phone with a horizontal screen, when the keyboard is tiled and displayed, the button "x" is originally 1cm away from the bottom edge of the screen, but when it is widened, the button is widened, that is, the width occupied by each button becomes wider. The button "z" close to the bottom edge of the screen is widened, and the button "x" will be further away from the bottom edge of the screen), which is more likely to cause input discomfort.
基于上述问题,本申请实施例提供了一种显示方法、装置、电子设备及计算机可读取存储介质,可通过将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,并在第三显示区域显示用于辅助键盘输入的目标内容,其中,第三显示区域位于除第一显示区域与第二显示区域以外的显示区域,目标内容包括用于辅助键盘输入的辅助信息。由此,本申请实施例可将第一虚拟键盘和第二虚拟键盘分别在不同的显示区域显示,并在其他显示区域显示辅助信息,以辅助用户输入,从而使得用户可根据需要基于第一虚拟键盘、第二虚拟键盘进行输入使得用户无需频繁切换即可在键盘输入的同时,还可方便地基于辅助信息来辅助键盘输入,减少用户繁琐的操作,提升输入效率,以改善输入体验。Based on the above problems, the embodiments of the present application provide a display method, apparatus, electronic device, and computer-readable storage medium, which can display the first virtual keyboard in the first display area and display the second virtual keyboard in the second display area, and display the target content for auxiliary keyboard input in the third display area, wherein the third display area is located in the display area other than the first display area and the second display area, and the target content includes the auxiliary keyboard input Supplementary information. Therefore, in this embodiment of the present application, the first virtual keyboard and the second virtual keyboard can be displayed in different display areas respectively, and auxiliary information can be displayed in other display areas to assist user input, so that the user can use the first virtual keyboard as needed. The keyboard and the second virtual keyboard enable users to input on the keyboard without frequent switching, and at the same time, they can also easily assist keyboard input based on auxiliary information, reduce the tedious operation of the user, improve the input efficiency, and improve the input experience.
为便于更好的理解本申请实施例,下面先对适用于本申请实施例的应用环境进行描述。For better understanding of the embodiments of the present application, an application environment applicable to the embodiments of the present application is first described below.
本申请实施例可应用于具有显示屏的终端,其中,终端可以为但不限于为手机、平板 电脑、MP3播放器(Moving Picture Experts Group Audio LayerⅢ,动态影像压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio LayerⅣ,动态影像压缩标准音频层面4)播放器、笔记本电脑、电子书或可穿戴电子设备等等。本申请实施例对具体的终端的设备类型、形状不作限定。The embodiments of the present application can be applied to a terminal with a display screen, where the terminal can be, but is not limited to, a mobile phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving image compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer Ⅳ, moving image compression standard audio layer 4) Players, laptops, e-books or wearable electronic devices, etc. This embodiment of the present application does not limit the specific device type and shape of the terminal.
在一些实施例中,显示屏110也可以是折叠屏、抽拉屏或其他异形屏,也可以是非异形屏。以折叠屏为例,折叠屏展开时屏幕宽度加长,则键盘在展开后的折叠屏显示时,往往会被平铺显示,导致键盘、按键等被拉宽显示。In some embodiments, the display screen 110 may also be a folding screen, a pull-out screen or other special-shaped screen, or a non-special-shaped screen. Taking a folding screen as an example, when the folding screen is unfolded, the screen width is lengthened, and the keyboard is often displayed in a tiled display when the unfolded folding screen is displayed, causing the keyboard, keys, etc. to be displayed in a wider width.
在一些实施方式中,本申请实施例可应用于如图1所示的终端100,显示屏110可包括顶边111、底边112、第一侧边113和第二侧边114。In some implementation manners, the embodiments of the present application may be applied to the terminal 100 shown in FIG. 1 , and the display screen 110 may include a top edge 111 , a bottom edge 112 , a first side edge 113 and a second side edge 114 .
另外,图1中仅示出一种终端,而在实际应用中,本领域技术人员可参照本申请实施例的方案,选择任意具有显示屏的终端实施本方案,本申请实施例对此不作限定。In addition, only one type of terminal is shown in FIG. 1 , but in practical applications, those skilled in the art can refer to the solutions of the embodiments of the present application and select any terminal with a display screen to implement the solutions, which are not limited in the embodiments of the present application. .
下面将通过具体实施例对本申请实施例提供的显示方法、装置、电子设备及存储介质进行详细说明。请参阅图2,图2示出了本申请实施例提供的一种显示方法的流程示意图,可应用于具有显示屏的终端。下面将针对图2所示的流程示意图进行详细的阐述。该显示方法可以包括以下步骤:The display method, device, electronic device, and storage medium provided by the embodiments of the present application will be described in detail below through specific embodiments. Referring to FIG. 2, FIG. 2 shows a schematic flowchart of a display method provided by an embodiment of the present application, which can be applied to a terminal with a display screen. The following will describe in detail the flow chart shown in FIG. 2 . The display method may include the following steps:
步骤S110:将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域。Step S110: Display the first virtual keyboard in the first display area, and display the second virtual keyboard in the second display area.
其中,第一虚拟键盘、第二虚拟键盘可以是相同或不同的虚拟键盘,虚拟键盘可以是全键盘如26字母键盘,也可以是九宫格键盘等各种类型的虚拟键盘,并且虚拟键盘可对应各种输入法,如拼音、五笔、手写等,本实施例对此也不作限定。Wherein, the first virtual keyboard and the second virtual keyboard may be the same or different virtual keyboards, the virtual keyboard may be a full keyboard such as a 26-letter keyboard, or various types of virtual keyboards such as a nine-square keyboard, and the virtual keyboards can correspond to each input methods, such as Pinyin, Wubi, handwriting, etc., which are not limited in this embodiment.
在一些实施例中,第一虚拟键盘和第二虚拟键盘可以为类型、输入法等不相同的两个虚拟键盘。在一些实施方式中,第一虚拟键盘和第二虚拟键盘可以为不同输入法的两个虚拟键盘,比如,第一虚拟键盘可以是拼音输入法的虚拟键盘,第二虚拟键盘可以是五笔输入法的虚拟键盘。在另一些实施方式中,第一虚拟键盘和第二虚拟键盘也可以为不同类型的虚拟键盘,比如,第一虚拟键盘可以是全键盘,第二虚拟键盘可以是九宫格键盘。In some embodiments, the first virtual keyboard and the second virtual keyboard may be two virtual keyboards with different types, input methods, and the like. In some embodiments, the first virtual keyboard and the second virtual keyboard may be two virtual keyboards with different input methods. For example, the first virtual keyboard may be a virtual keyboard of the Pinyin input method, and the second virtual keyboard may be the Wubi input method. virtual keyboard. In other embodiments, the first virtual keyboard and the second virtual keyboard may also be different types of virtual keyboards, for example, the first virtual keyboard may be a full keyboard, and the second virtual keyboard may be a nine-square keyboard.
在另一些实施例中,第一虚拟键盘和第二虚拟键盘可以是一个虚拟键盘的两个子键盘,例如由全键盘拆分得到两个子键盘,两个子键盘包含于该虚拟键盘。从而可将完整的虚拟键盘一分为二,充分利用用户左右手,方便用户操控,尤其是基于宽屏终端进行输入操作时可减小手指跨动。其中一种具体实施方式可见后述实施例,在此不作赘述。In other embodiments, the first virtual keyboard and the second virtual keyboard may be two sub-keyboards of a virtual keyboard, for example, two sub-keyboards are obtained by splitting the full keyboard, and the two sub-keyboards are included in the virtual keyboard. Therefore, the complete virtual keyboard can be divided into two parts, and the left and right hands of the user can be fully utilized, which is convenient for the user to control. One of the specific implementations can be seen in the following embodiments, which will not be repeated here.
在另一些实施方式中,第一虚拟键盘和第二虚拟键盘可以是完全相同的两个虚拟键盘,则用户可根据实际需要选择基于第一虚拟键盘进行输入,还是基于第二虚拟键盘进行输入,从而提升用户输入便利度。将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,则用户可基于第一显示区域进行输入操作,以使用第一虚拟键盘内虚拟按键对应的功能,可基于第二显示区域进行输入操作,以使用第二虚拟键盘内虚拟按键对应的功能。In other embodiments, the first virtual keyboard and the second virtual keyboard may be two identical virtual keyboards, and the user may choose to input based on the first virtual keyboard or the second virtual keyboard according to actual needs, Thus, the convenience of user input is improved. If the first virtual keyboard is displayed in the first display area, and the second virtual keyboard is displayed in the second display area, the user can perform input operations based on the first display area to use the functions corresponding to the virtual keys in the first virtual keyboard. The input operation is performed based on the second display area to use the function corresponding to the virtual key in the second virtual keyboard.
在一些实施例中,第一显示区域与第二显示区域可根据用户操作的热区进行设置,以方便用户操作,提升输入体验。在一些实施方式中,可根据用户对终端的握持姿态,确定第一显示区域以及第二显示区域。在一个示例中,可在终端周围设置触摸传感器,用于检测用户的触摸动作,则若可获取被触摸区域,从被触摸区域中选择触摸面积最大的两个区域,分别记为区域一、区域二,则可根据区域一确定为第一显示区域,根据区域二确定为第二显示区域。在另一个示例中,也可不根据触摸面积,直接根据被触摸区域确定第一显示区域与第二显示区域。In some embodiments, the first display area and the second display area may be set according to the hot zone operated by the user, so as to facilitate the user's operation and improve the input experience. In some embodiments, the first display area and the second display area may be determined according to the user's holding gesture of the terminal. In one example, a touch sensor can be set around the terminal to detect the user's touch action, and if the touched area can be obtained, two areas with the largest touch area are selected from the touched area, which are respectively recorded as area 1 and area 1. Second, the first display area may be determined according to the first area, and the second display area may be determined according to the second area. In another example, the first display area and the second display area may be determined directly according to the touched area instead of the touch area.
在另一些实施方式中,用户操作的热区可通过学习用户的日常握持习惯得到,则可确定用户通常握持的至少一个区域,并将该至少一个区域分别确定为第一显示区域与第二显示区域。In other embodiments, the hot area operated by the user can be obtained by learning the user's daily holding habits, then at least one area usually held by the user can be determined, and the at least one area can be determined as the first display area and the first display area, respectively. Second display area.
在另一些实施例中,第一显示区域与第二显示区域也可以是预先设置的,比如可以是程序预先设置的,还可以是由用户手动自定义设置的,在此不作限定。由此,使得两个虚拟键盘的显示可自定义,以满足用户输入需求。In other embodiments, the first display area and the second display area may also be preset, for example, may be preset by a program, or may be manually customized by a user, which is not limited herein. Thus, the display of the two virtual keyboards can be customized to meet user input requirements.
步骤S120:在第三显示区域显示目标内容。Step S120: Display the target content in the third display area.
其中,第三显示区域位于除第一显示区域与第二显示区域以外的显示区域,则在第一显示区域、第二显示区域分别显示虚拟键盘时,第三显示区域显示目标内容,以辅助用户基于虚拟键盘的输入。作为一种方式,显示屏的显示界面可仅包括第一显示区域、第二显示区域以及第三显示区域,作为另一种方式,显示屏的显示界面除了包括第一显示区域、第二显示区域以及第三显示区域外,还可包括其他显示区域,在此不作限定。The third display area is located in a display area other than the first display area and the second display area. When the virtual keyboard is displayed in the first display area and the second display area, respectively, the third display area displays the target content to assist the user. Input based on virtual keyboard. As one way, the display interface of the display screen may only include the first display area, the second display area, and the third display area. As another way, the display interface of the display screen may only include the first display area, the second display area and the second display area. In addition to the third display area, other display areas may also be included, which are not limited herein.
其中,目标内容包括用于辅助键盘输入的辅助信息,辅助信息可以包括表情符号、文本纠错信息、输入联想、所输入文字的相关信息等至少一个,其中,所输入文字的相关信息可以是相关历史、典故等,在此不作限定。基于此,可对多出的区域加以利用,适应宽屏、大屏显示的同时辅助用户输入,无需用户频繁切换即可使得用户方便地在基于虚拟键盘进行输入的同时,可直接基于第三显示区域进行操作,以输入目标内容对应的信息,减少用户繁琐操作,提高用户操作便利性的同时提升输入效率,从而提升输入体验。Wherein, the target content includes auxiliary information for auxiliary keyboard input, and the auxiliary information may include at least one of emoticons, text error correction information, input association, relevant information of the input text, etc., wherein the relevant information of the input text may be related History, allusions, etc., are not limited here. Based on this, the extra area can be used to assist user input while adapting to wide-screen and large-screen display, without the need for the user to switch frequently, so that the user can conveniently input based on the virtual keyboard and directly based on the third display area. The operation is performed to input the information corresponding to the target content, which reduces the cumbersome operation of the user, improves the convenience of the user's operation and improves the input efficiency, thereby improving the input experience.
本申请实施例提供的显示方法,通过将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,并在第三显示区域显示用于辅助键盘输入的目标内容,其中,第三显示区域位于除第一显示区域与第二显示区域以外的显示区域,目标内容包括用于辅助键盘输入的辅助信息。由此,本申请实施例可将第一虚拟键盘和第二虚拟键盘分别在不同的显示区域显示,并在其他显示区域显示辅助信息,以辅助用户输入,从而使得用户可根据需要基于第一虚拟键盘、第二虚拟键盘进行输入使得用户无需频繁切换即可在键盘输入的同时,还可方便地基于辅助信息来辅助键盘输入,减少用户繁琐的操作,提升输入效率,以改善输入体验。In the display method provided by the embodiment of the present application, by displaying the first virtual keyboard in the first display area, displaying the second virtual keyboard in the second display area, and displaying the target content for auxiliary keyboard input in the third display area, Wherein, the third display area is located in a display area other than the first display area and the second display area, and the target content includes auxiliary information used for input from the auxiliary keyboard. Therefore, in this embodiment of the present application, the first virtual keyboard and the second virtual keyboard can be displayed in different display areas respectively, and auxiliary information can be displayed in other display areas to assist user input, so that the user can use the first virtual keyboard as needed. The keyboard and the second virtual keyboard enable users to input on the keyboard without frequent switching, and at the same time, they can also easily assist keyboard input based on auxiliary information, reduce the tedious operation of the user, improve the input efficiency, and improve the input experience.
请参阅图3,图3示出了本申请另一个实施例提供的显示方法的流程示意图,具体地,该方法可以包括:Please refer to FIG. 3. FIG. 3 shows a schematic flowchart of a display method provided by another embodiment of the present application. Specifically, the method may include:
步骤S210:根据用户握持终端的第一握持位置确定第一显示区域。步骤S220:根据用户握持终端的第二握持位置确定第二显示区域。Step S210: Determine the first display area according to the first holding position where the user holds the terminal. Step S220: Determine the second display area according to the second holding position where the user holds the terminal.
用户双手握持终端时,终端可检测到第一握持位置、第二握持位置,例如,用户双手握持终端,则用户的左手、右手可分别对应一个握持位置。作为一种实施方式,按终端的显示界面的方向,用户握持显示界面左侧的位置可对应为第一握持位置,用户握持显示界面右侧的位置可对应为第二握持位置,则在一种示例中,可将用户左手握持终端的位置确定为第一握持位置,右手握持终端的位置确定为第二握持位置。当然,在另一种示例中,也可将右手握持终端的位置确定为第一握持位置,左手握持终端的位置确定为第二握持位置,在此不作限定。When the user holds the terminal with both hands, the terminal can detect the first holding position and the second holding position. For example, if the user holds the terminal with both hands, the user's left hand and right hand can respectively correspond to one holding position. As an implementation manner, according to the direction of the display interface of the terminal, the position where the user holds the left side of the display interface may correspond to the first holding position, and the position where the user holds the right side of the display interface may correspond to the second holding position, Then, in an example, the position where the user holds the terminal with the left hand may be determined as the first holding position, and the position where the user holds the terminal with the right hand is determined as the second holding position. Of course, in another example, the position where the terminal is held by the right hand may also be determined as the first holding position, and the position where the terminal is held by the left hand is determined as the second holding position, which is not limited herein.
进一步地,终端可根据用户握持终端的第一握持位置确定第一显示区域,根据用户握持终端的第二握持位置确定第二显示区域。作为一种实施方式,终端可将第一握持位置对应的显示区域确定为第一显示区域,将第二握持位置对应的显示区域确定为第二显示区域,则可根据握持位置来确定显示第一虚拟键盘和第二虚拟键盘时的2个待显示区域,即 第一显示区域与第二显示区域。Further, the terminal may determine the first display area according to the first holding position of the user holding the terminal, and determine the second display area according to the second holding position of the user holding the terminal. As an implementation manner, the terminal may determine the display area corresponding to the first holding position as the first display area, and determine the display area corresponding to the second holding position as the second display area, which may be determined according to the holding position Two to-be-displayed areas when the first virtual keyboard and the second virtual keyboard are displayed, namely the first display area and the second display area.
步骤S230:将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域。Step S230: Display the first virtual keyboard in the first display area, and display the second virtual keyboard in the second display area.
由于第一显示区域和第二显示区域是由户握持终端的握持位置来确定的,则通过将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,可有效利用用户的左右手,考虑握持场景,减少用户输入时手指的跨动,从而使得用户方便操作键盘,提升输入效率和输入体验。Since the first display area and the second display area are determined by the holding position of the user holding the terminal, by displaying the first virtual keyboard in the first display area and the second virtual keyboard in the second display area, The user's left and right hands can be effectively used, and the holding scene can be considered, and the finger movement during user input can be reduced, so that the user can conveniently operate the keyboard and improve the input efficiency and input experience.
在一些实施例中,终端可获取键盘分区指令,然后响应于键盘分区指令,将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域。其中,键盘分区指令用于指示终端分区域显示键盘。In some embodiments, the terminal may acquire the keyboard partition instruction, and then, in response to the keyboard partition instruction, display the first virtual keyboard in the first display area, and display the second virtual keyboard in the second display area. The keyboard partition instruction is used to instruct the terminal to display the keyboard in different regions.
在一些实施方式中,终端在检测到用户基于文本输入区域的操作时,可接收到键盘分区指令,比如,用户触摸输入框或其他可用于输入文本的输入区域时,终端可检测到相应操作,并接收到对应的键盘分区指令。在另一些实施方式中,终端在接收到调用输入法的快捷输入时,也可接收到键盘分区指令,比如,用户扫码支付的过程中若跳转到支付密码的输入界面时,将触发键盘显示,则此时终端可接收到键盘分区指令。在其他一些实施方式中,还可以通过其他方式接收到键盘分区指令,本实施例对此不作限定。In some embodiments, the terminal may receive a keyboard partition instruction when detecting a user's operation based on the text input area. For example, when the user touches an input box or other input area that can be used to input text, the terminal may detect a corresponding operation, And receive the corresponding keyboard partition instruction. In other embodiments, the terminal may also receive a keyboard partition instruction when receiving the shortcut input of calling the input method. For example, if the user jumps to the payment password input interface in the process of scanning the code to pay, the keyboard will be triggered. display, the terminal can receive the keyboard partition command at this time. In some other implementation manners, the keyboard partition instruction may also be received in other manners, which is not limited in this embodiment.
在一些实施例中,第一虚拟键盘和第二虚拟键盘可以是一个虚拟键盘的两个子键盘。例如可以是由全键盘拆分得到的两个子键盘,第一虚拟键盘和第二虚拟键盘可以完全不同,例如第一虚拟键盘和第二虚拟键盘可分别包含虚拟键盘的不同虚拟按键;第一虚拟键盘和第二虚拟键盘也可以部分相同,例如第一虚拟键盘和第二虚拟键盘的虚拟按键有至少一个是相同的。In some embodiments, the first virtual keyboard and the second virtual keyboard may be two sub-keyboards of one virtual keyboard. For example, it can be two sub-keyboards obtained by splitting the full keyboard. The first virtual keyboard and the second virtual keyboard can be completely different. For example, the first virtual keyboard and the second virtual keyboard can respectively include different virtual keys of the virtual keyboard; The keyboard and the second virtual keyboard may also be partially identical, for example, at least one of the virtual keys of the first virtual keyboard and the second virtual keyboard is the same.
若第一虚拟键盘和第二虚拟键盘是由目标虚拟键盘拆分得到的,即第一虚拟按键与第二虚拟按键的并集包括目标虚拟键盘的所有虚拟按键,则用户基于第一显示区域、第二显示区域即可对目标虚拟键盘的所有虚拟按键进行操控。则目标虚拟键盘可以是当前显示的虚拟键盘,也可以是预设的虚拟键盘等,本实施例对此不作限定。比如,当终端当前显示有一个虚拟键盘时,可将该当前显示的虚拟键盘作为目标虚拟键盘;再如,当终端未显示虚拟键盘时,可将预设的虚拟键盘作为目标虚拟键盘,该预设的虚拟键盘可以是上次使用的虚拟键盘,也可以是默认的虚拟键盘,本实施例对此不作限定。If the first virtual keyboard and the second virtual keyboard are obtained by splitting the target virtual keyboard, that is, the union of the first virtual key and the second virtual key includes all the virtual keys of the target virtual keyboard, the user will be based on the first display area, The second display area can control all virtual keys of the target virtual keyboard. The target virtual keyboard may be a currently displayed virtual keyboard, or a preset virtual keyboard, etc., which is not limited in this embodiment. For example, when the terminal currently displays a virtual keyboard, the currently displayed virtual keyboard can be used as the target virtual keyboard; for another example, when the terminal does not display the virtual keyboard, the preset virtual keyboard can be used as the target virtual keyboard, and the preset virtual keyboard can be used as the target virtual keyboard. The set virtual keyboard may be the virtual keyboard used last time or the default virtual keyboard, which is not limited in this embodiment.
在一些实施方式中,键盘分区指令可携带有区域划分信息,终端响应于键盘分区指令,可根据区域划分信息对目标虚拟键盘进行划分,将目标虚拟键盘划分为第一虚拟键盘和第二虚拟键盘,比如,区域划分信息可以是用于二等分的区域二等分信息,则终端根据区域二等分信息,可将目标虚拟键盘的操作区域二等分,即划分为宽度相等的两个操作区域分别作为第一操作区域以及第二操作区域。再如,区域划分信息也可以是用于三等分的区域三等分信息等、用于四等分的区域四等分信息,当然还可以是不等分的区域划分信息,如区域二分、三分、四分等,在此不做限定。需要说明的是,区域划分信息可以是预先设定的,且根据区域划分信息如何划分操作区域也可以是预先设定的,本实施例对此不作限定。In some embodiments, the keyboard partition instruction may carry area division information, and in response to the keyboard partition instruction, the terminal may divide the target virtual keyboard according to the area division information, and divide the target virtual keyboard into a first virtual keyboard and a second virtual keyboard , for example, the area division information may be the area halving information for halving, then the terminal can halve the operation area of the target virtual keyboard according to the area halving information, that is, divide it into two operations with equal widths The regions are respectively used as the first operation region and the second operation region. For another example, the area division information may also be area division information for trisection, etc., area quarter division information for quarter division, and, of course, may also be unequal division information, such as area bisection, Three points, four points, etc. are not limited here. It should be noted that the area division information may be preset, and how to divide the operation area according to the area division information may also be preset, which is not limited in this embodiment.
作为一种方式,区域划分信息可以是用于二等分的区域二等分信息,则即基于携带该区域划分信息的键盘分区指令,终端可将目标虚拟键盘拆分成适合左右手输入的两半操作区域,进而将两个操作区域对应的虚拟键盘分别确定为第一虚拟键盘和第二虚拟键盘,并分区域显示,将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域。在一个示例中,若第一操作区域、第一显示区域均属于左侧的区域,第二操作区域、第二显示区域均属于右侧的区域,则终端基于键盘分区指令,可将目标虚拟键盘划分为左右两部分操作区域,将左侧操作区域的虚拟键盘显示于左侧显示区域,将右侧操作区域的虚拟 键盘显示于右侧显示区域。由此,可有效利用用户左右手,按照用户的握持习惯拆分目标虚拟键盘,并通过将拆分得到的第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,则可使得第一虚拟键盘、第二虚拟键盘均靠近终端边缘显示,减少用户输入时手指的跨动,提升输入效率和输入体验。As a method, the area division information may be the area bisection information for halving, that is, based on the keyboard division instruction carrying the area division information, the terminal may split the target virtual keyboard into two halves suitable for left and right hand input The operation area, and then the virtual keyboards corresponding to the two operation areas are respectively determined as the first virtual keyboard and the second virtual keyboard, and are displayed in different areas, the first virtual keyboard is displayed in the first display area, and the second virtual keyboard is displayed in the second virtual keyboard. second display area. In an example, if both the first operation area and the first display area belong to the area on the left side, and the second operation area and the second display area belong to the area on the right side, the terminal can assign the target virtual keyboard to the target virtual keyboard based on the keyboard partition instruction. It is divided into left and right operation areas, the virtual keyboard of the left operation area is displayed in the left display area, and the virtual keyboard of the right operation area is displayed in the right display area. In this way, the user's left and right hands can be effectively used to split the target virtual keyboard according to the user's holding habits, and the split first virtual keyboard can be displayed in the first display area, and the second virtual keyboard can be displayed in the second display area. , both the first virtual keyboard and the second virtual keyboard can be displayed close to the edge of the terminal, which reduces the spanning of fingers during user input, and improves input efficiency and input experience.
在一些实施例中,终端可在指定显示界面显示目标虚拟键盘时,获取键盘分区指令,则在一些实施方式中,用户可手动触发键盘分区指令,例如,当指定显示界面显示目标虚拟键盘时,用户可触摸指定按键,以触发键盘分区指令,使得终端可获取到;再如,当指定显示界面显示目标虚拟键盘时,用户可通过手势输入以触发键盘分区指令,终端可预先存储有预设手势,并设置为用于触发键盘分区指令,该预设手势可以根据实际需要确定、也可以是程序预设的、还可以是用户自定义的,本实施例对此不做限定。In some embodiments, the terminal can obtain the keyboard partition instruction when the target virtual keyboard is displayed on the designated display interface. In some embodiments, the user can manually trigger the keyboard partition instruction. For example, when the designated display interface displays the target virtual keyboard, The user can touch the designated key to trigger the keyboard partition instruction, so that the terminal can obtain it; for another example, when the designated display interface displays the target virtual keyboard, the user can trigger the keyboard partition instruction through gesture input, and the terminal can pre-store preset gestures , and is set to trigger a keyboard partition instruction, the preset gesture may be determined according to actual needs, may be preset by a program, or may be user-defined, which is not limited in this embodiment.
在另一些实施方式中,键盘分区指令也可以是自动触发的,例如,终端可检测自身姿态即终端姿态,在检测到终端从竖屏状态切换为横屏状态时,获取键盘分区指令。In other embodiments, the keyboard partition instruction may also be triggered automatically. For example, the terminal may detect its own posture, that is, the terminal posture, and obtain the keyboard partition instruction when detecting that the terminal switches from the portrait state to the landscape state.
另外,在一些实施例中,第一虚拟键盘与第二虚拟键盘可以至少部分相同,即可具有一个或多个相同的虚拟按键,记为指定虚拟按键。指定虚拟按键可根据操作区域确定,也可根据用户习惯确定,还可以根据实际需要自定义,在此不作限定。由此,可进一步优化用户基于宽屏的输入,提升输入体验,不必因为宽屏平铺键盘引起用户输入时移动距离过大的不便。In addition, in some embodiments, the first virtual keyboard and the second virtual keyboard may be at least partially identical, that is, they may have one or more identical virtual keys, which are denoted as designated virtual keys. The designated virtual key may be determined according to the operation area, or may be determined according to user habits, and may also be customized according to actual needs, which is not limited here. In this way, the user's input based on the wide screen can be further optimized, and the input experience can be improved, without the inconvenience of the user moving too far during input due to the wide screen tiled keyboard.
其中,指定虚拟按键可以根据实际需要确定,也可以是程序预设的,还可以是用户自定义的,例如,用户可把自己的常用按键设为指定虚拟按键,则可在接收到键盘分区指令进行键盘分区时,将常用按键同时作为第一虚拟按键和第二虚拟按键同时在两个显示区域显示,方便用户选择其中一个按键操作。在一些示例中,指定虚拟按键可以是空格键、回车键、逗号键(用于输入“,”)、删除键等任意一个或多个,本实施例对此不作限定。The designated virtual keys can be determined according to actual needs, preset by programs, or customized by users. For example, users can set their own commonly used keys as designated virtual keys, and then they can receive the keyboard partition instruction after receiving the keyboard partition instruction. When partitioning the keyboard, the commonly used keys are simultaneously displayed in two display areas as the first virtual key and the second virtual key, so that it is convenient for the user to select one of the keys to operate. In some examples, the specified virtual key may be any one or more of a space bar, an enter key, a comma key (for inputting ","), a delete key, and the like, which is not limited in this embodiment.
需要说明的是,不同虚拟键盘、不同操作系统、不同终端下虚拟键盘的排版可能存在差异,则可能存在多个虚拟按键同时位于第一操作区域和第二操作区域内,此时可将多个虚拟按键中的至少一个确定为指定虚拟按键。从而符合用户操作习惯,例如,用户平时在键盘未分区前移动距离a可触摸到指定虚拟按键如空格键,而分区后仍只需移动距离a即可触摸到指定虚拟按键如空格键,由此通过键盘分区提升输入效率和操作便利性的同时仍可满足用户的操作习惯,从而可进一步提升用户输入体验。It should be noted that there may be differences in the layout of virtual keyboards under different virtual keyboards, different operating systems, and different terminals, and there may be multiple virtual keys located in the first operation area and the second operation area at the same time. At least one of the virtual keys is determined to be the designated virtual key. This is in line with the user's operating habits. For example, the user usually moves the distance a before the keyboard is not partitioned to touch the designated virtual key such as the space bar, and after the partition is still only needed to move the distance a to touch the designated virtual key such as the space bar. The keyboard partition improves input efficiency and operational convenience while still satisfying the user's operating habits, thereby further improving the user's input experience.
作为一种实施方式,若键盘分区指令携带有区域划分信息,则根据区域划分信息所确定的第一操作区域和第二操作区域后,终端可确定目标虚拟键盘上的多个虚拟按键中位于第一操作区域内的虚拟按键,作为第一虚拟按键,以及确定目标虚拟键盘上的多个虚拟按键中位于第二操作区域内的虚拟按键,作为第二虚拟按键。例如,在将目标虚拟键盘划分为两半后,空格键可能一半显示于第一操作区域内,另一半显示于第二操作区域内,则此时可将空格键确定为指定虚拟按键。由此,将目标虚拟键盘分区,确定了每个显示区域要显示的虚拟按键,并将同时位于第一操作区域和第二操作区域的虚拟按键同时作为第一虚拟按键、第二虚拟按键,即同时作为第一虚拟键盘的按键、第二虚拟键盘的按键而同时显示于第一显示区域和第二显示区域,使得用户可根据实际需要选择在任一虚拟键盘操控指定虚拟按键,实现相应功能,进一步提升输入效率和便利度,提升用户体验。As an implementation manner, if the keyboard partition instruction carries the area division information, after the first operation area and the second operation area determined according to the area division information, the terminal can determine that the virtual keys on the target virtual keyboard are located in the first operation area and the second operation area. A virtual key in an operation area is used as a first virtual key, and a virtual key located in a second operation area among a plurality of virtual keys on the target virtual keyboard is determined as a second virtual key. For example, after dividing the target virtual keyboard into two halves, half of the space bar may be displayed in the first operation area, and the other half may be displayed in the second operation area, then the space bar may be determined as the designated virtual key at this time. Therefore, the target virtual keyboard is partitioned, the virtual keys to be displayed in each display area are determined, and the virtual keys located in the first operation area and the second operation area are simultaneously used as the first virtual key and the second virtual key, that is, At the same time, as the keys of the first virtual keyboard and the keys of the second virtual keyboard, they are displayed in the first display area and the second display area at the same time, so that the user can choose to control the designated virtual keys on any virtual keyboard according to actual needs, realize the corresponding functions, and further Improve input efficiency and convenience, and improve user experience.
作为另一种实施方式,还可统计各虚拟按键的使用频率,将使用频率高的前预设数目个虚拟按键作为指定虚拟按键,同时在第一显示区域、第二显示区域显示,以便用户根据需要选择任一虚拟键盘即可对该指定虚拟按键进行操控以进行输入,方便用户操作。As another embodiment, the usage frequency of each virtual key can also be counted, and the first preset number of virtual keys with high usage frequency are used as designated virtual keys, and are displayed in the first display area and the second display area at the same time, so that the user can It is necessary to select any virtual keyboard to control the designated virtual key for input, which is convenient for the user to operate.
作为又一种实施方式,指定虚拟按键还可由用户自定义,用户根据自己的使用习惯、喜好等,可预先在键盘设置页面设置指定虚拟按键,其中,键盘设置界面用于对虚拟键盘 进行设置。由此,在分区域显示第一虚拟键盘和第二虚拟键盘以提升输入效率和操作便利度的基础上,还可通过提供指定虚拟按键的自定义设置功能,进一步使得键盘显示更用户自己的操作习惯,提升输入体验。As another embodiment, the designated virtual keys can also be customized by the user. The user can set the designated virtual keys on the keyboard setting page in advance according to their own usage habits, preferences, etc., wherein the keyboard setting interface is used to set the virtual keyboard. In this way, on the basis of displaying the first virtual keyboard and the second virtual keyboard in sub-areas to improve input efficiency and operation convenience, it is also possible to further make the keyboard display more user-friendly by providing a custom setting function for specifying virtual keys. Habits, improve the input experience.
在一个具体示例中,请参阅图4,其示出了本申请一个示例性实施例提供的界面示意图,如图4所示,空格键既位于第一显示区域21内(空格键211),又位于第二显示区域22内(空格键221),则可确定空格键作为指定虚拟按键,将空格键同时显示于第一显示区域21以及第二显示区域22内。由此,使得用户可根据需要选择按左边或右边的空格键进行输入,而不必左手操作第一显示区域21内的虚拟按键进行输入后,当需要空格键输入时还要用右手操作,由此,用户无论基于哪个显示区域操作后都可就近选择一个空格键进行输入,可以无需跨度过大的操作、无需切换操作的显示区域、无需换手操作,减少用户输入的移动距离,提高输入效率、便利性和流畅度。在一些实施例中,对目标虚拟键盘进行分区后,还可对分区得到的虚拟键盘排版后得到第一、第二虚拟键盘。即终端可通过对第一虚拟按键排版后得到包含排版好的多个第一虚拟按键的键盘作为第一虚拟键盘,通过对第二虚拟按键排版后得到包含排版好的多个第二虚拟按键的键盘作为第二虚拟键盘。本实施例对排版方式不作限定。In a specific example, please refer to FIG. 4 , which shows a schematic diagram of an interface provided by an exemplary embodiment of the present application. As shown in FIG. 4 , the space bar is both located in the first display area 21 (space bar 211 ), and also If it is located in the second display area 22 (space bar 221 ), the space bar can be determined as a designated virtual key, and the space bar can be displayed in the first display area 21 and the second display area 22 at the same time. In this way, the user can choose to press the space bar on the left or the right for input as required, instead of having to operate the virtual key in the first display area 21 with the left hand for input, when the space bar is required for input, the user needs to operate with the right hand. , the user can select a nearby space bar for input no matter which display area is based on the operation, which can eliminate the need for excessive span operation, no need to switch the display area of the operation, no need to change hands, reduce the moving distance of the user input, improve the input efficiency, Convenience and fluency. In some embodiments, after the target virtual keyboard is partitioned, the first and second virtual keyboards can also be obtained by typesetting the virtual keyboard obtained by the partition. That is, the terminal can obtain a keyboard containing a plurality of typeset first virtual keys as the first virtual keyboard by typesetting the first virtual keys, and obtain a keyboard containing a plurality of typesetting second virtual keys after typesetting the second virtual keys. The keyboard acts as a second virtual keyboard. This embodiment does not limit the typesetting manner.
当然,在一些示例中,也可基于分区前的目标虚拟键盘的排版方式,将基于该排版方式排版的第一虚拟按键得到的键盘确定为第一虚拟键盘,将基于该排版方式排版的第二虚拟按键得到的键盘确定为第二虚拟键盘。由此,使得第一虚拟按键的排版、第二虚拟按键的排版与各自在目标虚拟键盘显示时的排版相符,使得由目标虚拟键盘拆分得到第一虚拟键盘和第二虚拟键盘的排版仍符合用户操作习惯。Of course, in some examples, based on the typesetting method of the target virtual keyboard before the partition, the keyboard obtained by the first virtual key typed based on the typesetting method may be determined as the first virtual keyboard, and the second virtual keyboard typesetting based on the typesetting method may be determined as the first virtual keyboard. The keyboard obtained by the virtual key is determined as the second virtual keyboard. Thereby, the layout of the first virtual key and the layout of the second virtual key are consistent with their respective layouts when the target virtual keyboard is displayed, so that the layouts of the first virtual keyboard and the second virtual keyboard obtained by splitting the target virtual keyboard are still consistent with User operating habits.
在一些实施方式中,终端的显示屏可包括顶边、底边和两个侧边,如图1所示,顶边111、底边112的长度短于两个侧边(第一侧边113与第二侧边114)的长度,则第一显示区域可靠近显示屏的顶边111,第二显示区域可靠近显示屏的底边112。由此,可将第一虚拟键盘靠近顶边显示,将第二虚拟键盘靠近底边显示,则更符合横屏状态下用户的握持习惯,使得两个显示区域与左右手的握持位置对应,即使是双手握持手机,也可以在不改变用户输入习惯的及基础上,充分利用用户双手进行输入,使得双手手指在输入时都无需进行长跨度的移动,提高输入操作的便利度和流畅性,进而提升用户输入体验尤其是宽屏下输入的体验。In some embodiments, the display screen of the terminal may include a top edge, a bottom edge and two side edges, as shown in FIG. and the length of the second side edge 114), the first display area can be close to the top edge 111 of the display screen, and the second display area can be close to the bottom edge 112 of the display screen. Therefore, the first virtual keyboard can be displayed close to the top edge, and the second virtual keyboard can be displayed close to the bottom edge, which is more in line with the user's holding habits in the horizontal screen state, so that the two display areas correspond to the holding positions of the left and right hands. Even if you hold the phone with both hands, you can make full use of the user's hands for input without changing the user's input habits, so that the fingers of both hands do not need to move long-span during input, improving the convenience and fluency of input operations. , so as to improve the user input experience, especially the input experience under wide screen.
在一个示例中,若终端监测到终端从竖屏状态切换为横屏状态,可获取键盘分区指令,考虑用户的握持位置,将目标虚拟键盘划分为第一虚拟键盘、第二虚拟键盘,进一步地将第一虚拟键盘显示于第一显示区域,即靠近顶边显示第一虚拟键盘,将第二虚拟键盘显示于第二显示区域,即靠近底边显示第二虚拟键盘,从而可使得用户在终端处于横屏状态下,双手握持终端时,双手容易操作的区域与虚拟键盘的显示区域可对应,使得双手手指在输入时都无需进行长跨度的移动,提高输入操作的便利度和流畅性。In one example, if the terminal detects that the terminal is switched from the vertical screen state to the horizontal screen state, it can obtain a keyboard partition instruction, and consider the holding position of the user, divide the target virtual keyboard into a first virtual keyboard and a second virtual keyboard, and further The first virtual keyboard is displayed in the first display area, that is, the first virtual keyboard is displayed near the top edge, and the second virtual keyboard is displayed in the second display area, that is, the second virtual keyboard is displayed near the bottom edge, so that the user can When the terminal is in the horizontal screen state, when holding the terminal with both hands, the area that is easy to operate with both hands can correspond to the display area of the virtual keyboard, so that the fingers of both hands do not need to move long-span when inputting, improving the convenience and fluency of input operation .
步骤S240:在第三显示区域显示目标内容。其中,第三显示区域为除第一显示区域、第二显示区域外的显示区域。Step S240: Display the target content in the third display area. The third display area is a display area other than the first display area and the second display area.
在一些实施方式中,第三显示区域与第一、第二显示区域均属于同一个信息输入区域,具体,指定显示界面可包括信息输入区域和信息展示区域,信息输入区域用于获取用户输入操作从而得到对应的输入信息,而信息展示区域用于展示信息。第一显示区域和第二显示区域可以为信息输入区域的两个显示区域,而第三显示区域可为信息输入区域中除第一显示区域和第二显示区域外的显示区域。在一些实施方式中,指定显示界面可以是终端当前的显示界面或指定应用程序的显示界面,例如聊天应用程序的显示界面等,在此不作限定。In some embodiments, the third display area and the first and second display areas belong to the same information input area. Specifically, the specified display interface may include an information input area and an information display area, and the information input area is used to obtain user input operations. Accordingly, the corresponding input information is obtained, and the information display area is used to display the information. The first display area and the second display area may be two display areas of the information input area, and the third display area may be a display area other than the first display area and the second display area in the information input area. In some embodiments, the specified display interface may be the current display interface of the terminal or the display interface of a specified application, such as the display interface of a chat application, etc., which is not limited herein.
在一个具体示例中,例如,指定显示界面为聊天应用程序的聊天界面时,请参阅图5,其示出了本申请一个示例性实施例提供的界面示意图,如图5所示,图5所示的显示界面包括信息展示区域10与信息输入区域20,信息展示区域10可显示聊天窗口,信息输入区域20包括第一显示区域21、第二显示区域22和第三显示区域23,其中第一显示区域21可显示第一虚拟键盘,第二显示区域22可显示第二虚拟键盘,第三显示区域23可显示至少一个表情符号,则终端通过检测用户的输入操作,进而得到对应的输入信息,比如,若检测到用户依次对虚拟键盘中虚拟按键“X”、“I”、“E”的输入信号,可得到对应的输入信息即文本符号“谢”,其中,输入信息可显示于信息输入区域20,也可显示于信息展示区域10,在此不作限定。In a specific example, for example, when the display interface is designated as a chat interface of a chat application, please refer to FIG. 5 , which shows a schematic diagram of an interface provided by an exemplary embodiment of the present application, as shown in FIG. 5 . The shown display interface includes an information display area 10 and an information input area 20, the information display area 10 can display a chat window, and the information input area 20 includes a first display area 21, a second display area 22 and a third display area 23, where the first display area 21, the second display area 22 and the third display area 23. The display area 21 can display the first virtual keyboard, the second display area 22 can display the second virtual keyboard, and the third display area 23 can display at least one emoticon, then the terminal obtains the corresponding input information by detecting the user's input operation, For example, if it is detected that the user inputs signals to the virtual keys "X", "I", and "E" on the virtual keyboard in sequence, the corresponding input information, that is, the text symbol "Xie", can be obtained. The input information can be displayed in the information input The area 20 can also be displayed in the information display area 10, which is not limited here.
需要说明的是,基于虚拟键盘的输入操作可以是接触式操作,例如触控操作,如点击操作、滑动操作等,还可以是非接触式操作,例如隔空的手势输入操作等,本申请实施例对此不作限定。It should be noted that the input operation based on the virtual keyboard may be a contact operation, such as a touch operation, such as a click operation, a sliding operation, etc., or a non-contact operation, such as a gesture input operation in a space, etc., the embodiment of the present application This is not limited.
另外,在一些实施方式中,第三显示区域可以位于第一显示区域与第二显示区域之间,则第一虚拟键盘和第二虚拟键盘可显示于两侧,而目标内容显示于中间第一、第二虚拟键盘之间,由于实际应用中,宽屏、大屏终端如折叠屏手机展开时,虚拟键盘会被平铺,使得虚拟键盘可显示的区域变宽,所以导致虚拟键盘被拉宽,虚拟按键被拉宽等,导致用户输入时需要移动的距离增加。以折叠屏为例,若折叠屏展开前虚拟键盘的可显示区域的宽度为4cm,那么在折叠屏完全展开后,虚拟键盘的可显示区域的宽度可增大为8cm,则多出了4cm宽的显示区域可使用,而目前终端多将虚拟键盘平铺以基于整个宽度为8cm的显示区域进行显示,则此时会使得虚拟按键被拉宽、键盘被拉宽,则用户输入时所需的移动距离、跨度也有所增加,不利于操作的问题。由此,通过在第一显示区域与第二显示区域之间的第三显示区域显示目标内容,不仅便于用户基于第一、第二虚拟键盘进行输入,有效利用用户左右手,提高操作便利度,尤其是宽屏下的输入,减少用户输入时的手指跨动,而且充分利用第一虚拟键盘和第二虚拟键盘所显示区域中间的区域,显示用于辅助输入的目标内容,还可提高输入效率。In addition, in some embodiments, the third display area can be located between the first display area and the second display area, the first virtual keyboard and the second virtual keyboard can be displayed on both sides, and the target content can be displayed in the middle. , between the second virtual keyboards, because in practical applications, when a widescreen or large screen terminal such as a folding screen mobile phone is unfolded, the virtual keyboard will be tiled, which makes the displayable area of the virtual keyboard wider, so the virtual keyboard is widened. The virtual keys are widened, etc., resulting in an increase in the distance that the user needs to move when inputting. Taking the folding screen as an example, if the width of the displayable area of the virtual keyboard before the folding screen is unfolded is 4cm, then after the folding screen is fully unfolded, the width of the displayable area of the virtual keyboard can be increased to 8cm, which is an extra 4cm wide. The display area can be used. At present, the virtual keyboard is usually tiled to display based on the entire width of the display area of 8cm. At this time, the virtual keys will be widened and the keyboard will be widened. The moving distance and span have also increased, which is not conducive to the problem of operation. Therefore, by displaying the target content in the third display area between the first display area and the second display area, it is not only convenient for the user to input based on the first and second virtual keyboards, but also the left and right hands of the user are effectively utilized, and the operation convenience is improved, especially It is input in a wide screen, which reduces the user's finger spanning when inputting, and makes full use of the area between the display areas of the first virtual keyboard and the second virtual keyboard to display the target content for auxiliary input, which can also improve input efficiency.
需要说明的是,第三显示区域位于第一显示区域与第二显示区域之间时,可以是狭义的位于第一显示区域与第二显示区域中间,也可以是广义的,例如,若第一显示区域位于第二显示区域的左侧,则第三显示区域的左边缘位于第一显示区域的左边缘右侧,且第三显示区域的右边缘位于第二显示区域的右边缘左侧,仅满足前述条件即可,并不限定第三显示区域的上下边缘所位于的具体位置。It should be noted that when the third display area is located between the first display area and the second display area, it may be located between the first display area and the second display area in a narrow sense, or in a broad sense. The display area is located to the left of the second display area, the left edge of the third display area is located to the right of the left edge of the first display area, and the right edge of the third display area is located to the left of the right edge of the second display area, only It is sufficient to satisfy the foregoing conditions, and the specific positions where the upper and lower edges of the third display area are located are not limited.
当然,在一些可能的实施方式中,第三显示区域也可不位于第一显示区域与第二显示区域之间,例如,第三显示区域可位于第一显示区域上方或下方、第二显示区域的上方或下方等,在此不作限定。Of course, in some possible implementations, the third display area may not be located between the first display area and the second display area, for example, the third display area may be located above or below the first display area, Above or below, etc., are not limited here.
在一些实施例中,第三显示区域可显示至少一个表情符号,由此,可在用户基于当前的目标虚拟键盘进行输入的同时,如需输入表情符号,无需切换输入法或打开表情区,更无需关闭表情区。在一个示例中,当检测到用户对表情符号的触摸事件时,可输入该表情符号,例如将该表情符号显示到输入框中,等待发送或直接显示到当前编辑的文档中。In some embodiments, the third display area can display at least one emoji, so that when the user is inputting based on the current target virtual keyboard, if he wants to input an emoji, he does not need to switch the input method or open the emoji area, and more No need to close the emoji area. In one example, when a user's touch event on an emoji is detected, the emoji can be input, for example, the emoji is displayed in an input box, waiting to be sent or directly displayed in the currently edited document.
在一个具体示例中,请参阅图6,其示出了本申请另一个示例性实施例提供的界面示意图,如图6所示,第一显示区域21与第二显示区域22之间的第三显示区域23显示至少一个表情符号,则用户可在基于目标虚拟键盘对应的输入法进行输入时,还可在无需切换键盘或输入法等操作下直接从第三显示区域中选择表情符号进行输入。由此,通过在第三显示区域显示至少一个表情符号,可避免频繁地切换输入法或功能,减少繁琐的操作,提高输入便利度和流畅性,进一步提升输入体验。并且由于目前基于终端输入时,用户使用 表情符号的频率越来越高,比如用户基于社交软件进行输入时,往往会使用更多的表情符号,从而通过在键盘分区后的第三显示区域显示,在第一虚拟键盘与第二虚拟键盘之间显示至少一个表情符号,可大大减少用户切换键盘、输入法等操作,提升输入效率和便利度。In a specific example, please refer to FIG. 6 , which shows a schematic diagram of an interface provided by another exemplary embodiment of the present application. As shown in FIG. 6 , a third interface between the first display area 21 and the second display area 22 is The display area 23 displays at least one emoji, and the user can directly select an emoji from the third display area for input without switching keyboards or input methods when inputting based on the input method corresponding to the target virtual keyboard. Therefore, by displaying at least one emoticon in the third display area, frequent switching of input methods or functions can be avoided, cumbersome operations are reduced, input convenience and fluency are improved, and input experience is further improved. And because the frequency of using emoji symbols is increasing when inputting based on the terminal, for example, when users input based on social software, they often use more emoji symbols, which are displayed in the third display area after the keyboard partition. Displaying at least one emoticon between the first virtual keyboard and the second virtual keyboard can greatly reduce the user's operations such as switching keyboards, input methods, and the like, and improve input efficiency and convenience.
在另一些实施例中,第三显示区域还可显示文本纠错信息,从而可充分利用第三显示区域,在不干扰继续输入的情况下提供校对、纠错提示,以提高用户输出文本的准确性,提升输入体验。具体地,请参阅图7,其示出了本申请一个示例性实施例提供的图3中步骤S240的流程示意图,步骤S240可包括:In other embodiments, the third display area can also display text error correction information, so that the third display area can be fully utilized to provide proofreading and error correction prompts without interfering with continued input, so as to improve the accuracy of the text output by the user enhance the input experience. Specifically, please refer to FIG. 7, which shows a schematic flowchart of step S240 in FIG. 3 provided by an exemplary embodiment of the present application. Step S240 may include:
步骤S241:根据用户基于目标虚拟键盘输入的输入文本,生成对输入文本的文本纠错信息。Step S241: Generate text error correction information for the input text according to the input text input by the user based on the target virtual keyboard.
其中,文本纠错信息为输入文本被纠正后的信息,用于纠正用户错别字,例如可标注出错别字或词,并相应显示对应的纠正后的信息,即正确的字或词。例如,输入文本为“今天的月凉很圆”,基于此输入文本,终端可生成对输入文本的文本纠错信息,如“今天的月凉(亮)很圆”,则针对错别字“凉”可对应显示纠正后的正确的字“亮”。The text error correction information is the information after the input text is corrected, which is used to correct the user's typos, for example, the erroneous words or words can be marked, and the corresponding corrected information, that is, the correct words or words, can be displayed accordingly. For example, if the input text is "today's cool moon is very round", based on this input text, the terminal can generate text error correction information for the input text, such as "today's cool (bright) moon is very round", the typo "cool" Correspondingly, the correct word "bright" after the correction can be displayed.
步骤S242:在第三显示区域显示文本纠错界面。Step S242: Display a text error correction interface in the third display area.
其中,文本纠错界面内显示有文本纠错信息,则通过在第三显示区域显示文本纠错界面,可显示对用户当前输入文本的文本纠错信息,以在不干扰用户继续输入的情况下提供校对、纠错提示。Wherein, text error correction information is displayed in the text error correction interface, then by displaying the text error correction interface in the third display area, the text error correction information of the text currently input by the user can be displayed, so as not to interfere with the user's continued input. Provide proofreading and error correction tips.
并在一些实施方式中,用户可通过选中纠正后的文本纠错信息,从而实现文本替换,将文本纠错信息替换对应的输入文本,从而提升输入准确性和效率。And in some embodiments, the user can select the corrected text error correction information to realize text replacement, and replace the text error correction information with the corresponding input text, thereby improving input accuracy and efficiency.
在一个具体示例中,请参阅图8,其示出了本申请又一个示例性实施例提供的界面示意图,如图8所示,第一显示区域21与第二显示区域22之间的第三显示区域23可显示文本纠错界面,文本纠错界面内可显示输入文本的文本纠错信息,如图8所示,如“今天的月凉(亮)很圆。”、“我的小狗很科(可)爱。”、本文首先介绍一下错别字的类型有哪些错别字就正(纠正)的关键技术。并文本纠错界面内针对每条文本纠错信息,还可包括选择框,终端可检测用户基于选择框的触摸事件,从而选中对应的文本纠错信息对相应的输入文本进行修正。从而可提供校对提示,并可实现文本纠错,可大大提高输入效率。In a specific example, please refer to FIG. 8 , which shows a schematic diagram of an interface provided by another exemplary embodiment of the present application. As shown in FIG. 8 , a third interface between the first display area 21 and the second display area 22 is The display area 23 can display a text error correction interface, and the text error correction information of the input text can be displayed in the text error correction interface, as shown in FIG. Very cool (can) love." This article first introduces the key techniques for correcting (correcting) the types of typos. In addition, for each piece of text error correction information in the text error correction interface, a selection box may also be included, and the terminal can detect the user's touch event based on the selection box, so as to select the corresponding text error correction information to correct the corresponding input text. Thus, a proofreading prompt can be provided, and text error correction can be realized, which can greatly improve the input efficiency.
在又一些实施例中,第三显示区域还可显示文本操控界面,其中,文本操控界面内可显示有用于对输入文本进行操控的至少一个操控按键,该至少一个操控按键包括光标移动键、全选键、复制键、粘贴键、剪切板键中的至少一个。相比于目前需要长按选择文本、长按实现全选、复制、粘贴等功能的方式,本实施例通过在第三显示区域文本操控界面,可在不干扰用户输入的同时,从而可大大简化操作提高输入效率和流畅性。In still other embodiments, the third display area may further display a text manipulation interface, wherein at least one manipulation key for manipulating the input text may be displayed in the text manipulation interface, and the at least one manipulation key includes a cursor movement key, a full At least one of the select key, copy key, paste key, and clipboard key. Compared with the current method that requires a long press to select text and long press to realize functions such as select all, copy, paste, etc., this embodiment can greatly simplify the text manipulation interface in the third display area without interfering with user input. Operation improves input efficiency and fluency.
在一个具体示例中,请参阅图9,其示出了本申请再一个示例性实施例提供的界面示意图,如图9所示,第一显示区域21与第二显示区域22之间的第三显示区域23可显示文本操控界面,文本操控界面可显示有光标移动键231、全选键232、复制键233、粘贴键234、剪切板键235。其中,光标移动键231还包括用于调整光标位置的方向键2311,用于将光标移动到全文最前或当前段落的最前的光标前置键2312,用于将光标移动到全文最末尾或当前段落的最末尾的光标后置键2313。由此通过文本操控界面所显示的操控按键,可实现多种操控功能,并且不干扰用户继续输入文本,大大提高输入效率和文本编辑效率,进一步提升输入体验。In a specific example, please refer to FIG. 9 , which shows a schematic diagram of an interface provided by another exemplary embodiment of the present application. As shown in FIG. 9 , a third interface between the first display area 21 and the second display area 22 is The display area 23 can display a text manipulation interface, and the text manipulation interface can display a cursor movement key 231 , a select all key 232 , a copy key 233 , a paste key 234 , and a clipboard key 235 . Among them, the cursor movement key 231 also includes the direction key 2311 for adjusting the cursor position, the cursor front key 2312 for moving the cursor to the front of the full text or the front of the current paragraph, for moving the cursor to the very end of the full text or the current paragraph The last cursor post key 2313 of . As a result, various control functions can be realized through the control keys displayed on the text control interface, and the user is not disturbed to continue to input text, which greatly improves the input efficiency and text editing efficiency, and further improves the input experience.
当然,在其他一些实施例中,还可在第三显示区域内显示其他的目标内容,即目标内容可包括但不限于上述实施例所述的表情符号、文本纠错信息、文本操控界面等,还可以是其他的例如内容,本申请实施例对此不作限定,但受篇幅所限,不再穷举。Of course, in some other embodiments, other target content may also be displayed in the third display area, that is, the target content may include but not limited to the emoticons, text error correction information, text manipulation interface, etc. described in the above embodiments, It may also be other content, which is not limited in the embodiments of the present application, but is limited by space and will not be exhaustive.
另外,在其他一些可能的实施例中,终端还可只显示第一虚拟键盘和第二虚拟键盘,而不在第三显示区域显示目标内容,使得第三显示区域镂空设置,使得终端可通过第三显示区域继续显示键盘下的显示内容,从而可减少沉浸式界面下键盘对所显示内容的遮挡。In addition, in some other possible embodiments, the terminal may only display the first virtual keyboard and the second virtual keyboard, without displaying the target content in the third display area, so that the third display area is hollowed out, so that the terminal can pass the third display area. The display area continues to display the displayed content under the keyboard, thereby reducing the occlusion of the displayed content by the keyboard in the immersive interface.
作为一种实施方式,可以是在指定显示界面内显示目标虚拟键盘时,判断终端当前是否运行有指定应用程序。若当前检测到终端前台运行的应用为指定应用时,则可以在第三显示区域显示目标内容。若当前检测到终端前台运行的应用为非指定应用时,则可以不在第三显示区域显示目标内容。其中,非指定应用可以包括视频类应用、游戏类应用中的至少一种。需要说明的是,该指定应用和非指定应用可以根据实际需要确定、也可以是程序预设的、还可以是用户自定义的,本实施例对此不做限定。As an implementation manner, when the target virtual keyboard is displayed in the designated display interface, it may be determined whether the terminal currently runs the designated application program. If it is currently detected that the application running in the foreground of the terminal is the designated application, the target content can be displayed in the third display area. If it is currently detected that the application running in the foreground of the terminal is a non-designated application, the target content may not be displayed in the third display area. The non-designated applications may include at least one of video applications and game applications. It should be noted that the designated application and the non-designated application may be determined according to actual needs, may be preset by a program, or may be user-defined, which is not limited in this embodiment.
在一个示例中,在终端播放视频时用户如需输入弹幕,可通过触发键盘分区指令,唤出键盘并分成两个虚拟键盘,分别在第一显示区域、第二显示区域内显示,而两个虚拟键盘之间的第三显示区域镂空设置,用户可通过第三显示区域继续观看位于第三显示区域内显示的部分视频内容以及未被第一虚拟键盘、第二虚拟键盘遮挡的视频内容,从而减少用户输入弹幕时对视频内容的遮挡,从而可在提升输入体验的同时还可进一步提升观看体验。In one example, if the user needs to input a bullet screen when the terminal is playing a video, he can trigger the keyboard partition command to call up the keyboard and divide it into two virtual keyboards, which are displayed in the first display area and the second display area respectively, and the two The third display area between the two virtual keyboards is hollowed out, and the user can continue to watch part of the video content displayed in the third display area and the video content not blocked by the first virtual keyboard and the second virtual keyboard through the third display area. Thereby, the occlusion of the video content when the user inputs the bullet screen can be reduced, so that the input experience can be improved and the viewing experience can be further improved.
当然,本实施例还可以在其他示例中实现相应的效果,例如,游戏过程中需要输入文本的场景下,可通过本实施例减少对游戏界面的遮挡,降低对用户游戏视野的遮挡,提升操作体验。Of course, this embodiment can also achieve corresponding effects in other examples. For example, in the scenario where text needs to be input during the game, this embodiment can reduce the occlusion of the game interface, reduce the occlusion of the user's game field of view, and improve the operation. experience.
另外,在一些实施例中,终端将目标虚拟键盘分区域显示后,还可响应于作用于目标显示区域的第一操作,将目标显示区域的显示内容切换为第三显示区域的显示内容,其中,目标显示区域为第一显示区域或第二显示区域。需要说明的是,第一操作也属于一种输入操作,其可以是接触式操作,也可以是非接触式操作,具体可前述实施例,在此不再赘述。In addition, in some embodiments, after displaying the target virtual keyboard in sub-areas, the terminal may also, in response to the first operation acting on the target display area, switch the display content of the target display area to the display content of the third display area, wherein , the target display area is the first display area or the second display area. It should be noted that the first operation also belongs to an input operation, which may be a contact operation or a non-contact operation, which can be specifically referred to in the foregoing embodiments, and will not be repeated here.
作为一种实施方式,终端可获取基于目标虚拟键盘的第一操作,根据第一操作确定待切换的目标显示区域,并将目标显示区域的显示内容切换为目标内容。其中,目标显示区域为第一显示区域或第二显示区域,在一种实施方式中,可根据检测到的第一操作,确定该第一操作所作用的显示区域,并将该显示区域确定为目标显示区域,将目标内容显示于目标显示区域,则使得用户在需要基于目标内容进行输入时,可将在键盘中间显示的目标内容切换到靠近终端边缘的第一显示区域或第二显示区域进行显示。As an implementation manner, the terminal may acquire the first operation based on the target virtual keyboard, determine the target display area to be switched according to the first operation, and switch the display content of the target display area to the target content. Wherein, the target display area is the first display area or the second display area. In one embodiment, the display area affected by the first operation may be determined according to the detected first operation, and the display area may be determined as The target display area is to display the target content in the target display area, so that when the user needs to input based on the target content, the target content displayed in the middle of the keyboard can be switched to the first display area or the second display area near the edge of the terminal. show.
在一些实施方式中,为了避免误触发,导致不必要的切换,可以检测基于目标虚拟键盘的指定区域的第一操作,则当检测到基于目标虚拟键盘的非指定区域的第一操作时可不作切换,不切换目标内容的显示区域,从而可避免误触引发的切换。其中,指定区域可以是目标虚拟键盘的上部、下部、右侧、左侧等,在此不作限定。可选地,由于目标虚拟键盘的上部被误触的概率相对其他区域较低,故指定区域可以是目标虚拟键盘的上部,以进一步降低误触概率,提升输入体验。In some embodiments, in order to avoid false triggering and cause unnecessary switching, a first operation based on a designated area of the target virtual keyboard may be detected, and then when a first operation based on a non-designated area of the target virtual keyboard is detected, the operation may not be performed. Switch, do not switch the display area of the target content, so as to avoid switching caused by accidental touch. Wherein, the designated area may be the upper part, the lower part, the right side, the left side, etc. of the target virtual keyboard, which is not limited here. Optionally, since the probability of being touched by mistake on the upper part of the target virtual keyboard is relatively low compared to other areas, the designated area may be the upper part of the target virtual keyboard to further reduce the probability of false touches and improve the input experience.
另外,在一些可能的实施方式中,第三显示区域也可镂空设置,即通过第三显示区域可显示目标虚拟键盘被唤出前的显示界面中的内容,则此时第三显示区域属于信息展示区域,而非信息输入区域,即此时信息输入区域仅包括第一显示区域和第二显示区域,且第一显示区域显示第一虚拟键盘,第二显示区域显示第二虚拟键盘。则终端检测到基于目标虚拟键盘的第一操作,并据此确定待切换的目标显示区域,并将目标显示区域的显示内容切换为目标内容时,第三显示区域可不显示目标显示区域原来显示的内容,即第一虚拟键盘或第二虚拟键盘。由此,可将目标虚拟键盘拆分为两部分并分别显示于靠近终端边缘的显示区域,减少手指跨动,尤其是宽屏下键盘输入时过大的手指跨动,方便用户操作,同时检测用户基于目标显示区域的第一操作,可切换目标显示区域的显示内容为目标内容, 以在仍然无需过大手指跨动的情况下,使得用户可方便地对辅助输入的目标内容进行操控输入,提升输入效率同时也保证了输入便利度,进一步优化了输入体验。In addition, in some possible implementations, the third display area can also be hollowed out, that is, the content in the display interface before the target virtual keyboard is called up can be displayed through the third display area, and then the third display area belongs to the information display at this time. The information input area only includes the first display area and the second display area, and the first display area displays the first virtual keyboard, and the second display area displays the second virtual keyboard. Then the terminal detects the first operation based on the target virtual keyboard, and determines the target display area to be switched accordingly, and when the display content of the target display area is switched to the target content, the third display area may not display the original display area of the target display area. content, i.e. the first virtual keyboard or the second virtual keyboard. As a result, the target virtual keyboard can be split into two parts and displayed in the display area near the edge of the terminal, reducing finger swiping, especially when the keyboard is input on a wide screen, which is too large to facilitate user operations. Based on the first operation of the target display area, the display content of the target display area can be switched to be the target content, so that the user can conveniently manipulate and input the target content of the auxiliary input without the need to move too much with fingers, improving the performance of the target display area. The input efficiency also ensures the convenience of input, which further optimizes the input experience.
在一个具体示例中,以目标内容包括至少一个表情符号、第一操作为接触式的触控操作为例,请参阅图10,其示出了本申请还一个示例性实施例提供的界面示意图,其中,图10(a)为时刻t的示意图,图10(b)为时刻t+1的示意图。如图10(a)所示,时刻t下,第一显示区域21与第二显示区域22之间的第三显示区域23显示至少一个表情符号,此时用户右手的握持位置对应的信息输入区域为第二显示区域22,用户右手手指在第二显示区域22的上部由右向左滑动,则时刻t+1时,原本在时刻t时于第三显示区域23显示的目标内容,切换至第二显示区域22上显示,而原本在时刻t+1时于第二显示区域22显示的第二虚拟键盘,切换至第三显示区域23显示。由此,用户无需过大的手指跨动,即可方便地通过右手对目标内容进行操作、输入,在本示例中,不仅可方便地操控键盘进行输入,而且可在需要输入表情符号时,通过基于目标显示区域的触控操作,将表情符号切换到目标显示区域进行显示,从而输入表情符号时也无需过大手指跨动即可实现,大大提升输入效率的同时还方便用户输入,提升了输入便利度。In a specific example, taking the target content including at least one emoticon and the first operation being a touch-sensitive operation as an example, please refer to FIG. 10 , which shows a schematic interface diagram provided by another exemplary embodiment of the present application, 10(a) is a schematic diagram of time t, and FIG. 10(b) is a schematic diagram of time t+1. As shown in FIG. 10( a ), at time t, the third display area 23 between the first display area 21 and the second display area 22 displays at least one emoticon, and the information corresponding to the holding position of the user’s right hand is input at this time. The area is the second display area 22, and the user's right finger slides from right to left on the upper part of the second display area 22, then at time t+1, the target content originally displayed in the third display area 23 at time t is switched to It is displayed on the second display area 22 , and the second virtual keyboard originally displayed in the second display area 22 at time t+1 is switched to the third display area 23 for display. As a result, the user can conveniently operate and input the target content with the right hand without the need to move too much fingers. Based on the touch operation of the target display area, the emoticon is switched to the target display area for display, so that the input of the emoticon can be realized without the need to move too much fingers, which greatly improves the input efficiency and facilitates user input. Convenience.
在一些实施例中,终端响应于作用于目标显示区域的第一操作,将目标显示区域的显示内容切换为第三显示区域的显示内容后,若再次检测到作用于该目标显示区域的第一操作,则可将本次目标显示区域的内容再切换回之前显示的显示内容。比如,终端响应于作用于第二显示区域的第一操作,将第二显示区域此时显示的第二虚拟键盘与第三显示区域此时显示的目标内容互换,即将第二显示区域与第三显示区域的显示内容交换,则交换后,第二显示区域显示目标内容,第三显示区域显示第二虚拟键盘。此时,若终端再次检测到作用于第二显示区域的第一操作,并响应于该第一操作,则可将第二显示区域此时显示的目标内容与第三显示区域显示的第二虚拟键盘交换,交换后,第二显示区域显示第二虚拟键盘,第三显示区域显示目标内容。In some embodiments, after the terminal switches the display content of the target display area to the display content of the third display area in response to the first operation acting on the target display area, if the first operation acting on the target display area is detected again operation, the content of the current target display area can be switched back to the previously displayed display content. For example, in response to the first operation acting on the second display area, the terminal swaps the second virtual keyboard displayed in the second display area with the target content displayed in the third display area at this time, that is, the second display area and the The display contents of the three display areas are exchanged, and after the exchange, the second display area displays the target content, and the third display area displays the second virtual keyboard. At this time, if the terminal detects the first operation acting on the second display area again, and responds to the first operation, it can compare the target content displayed in the second display area at this time with the second virtual image displayed in the third display area. The keyboard is exchanged. After the exchange, the second virtual keyboard is displayed in the second display area, and the target content is displayed in the third display area.
需要说明的是,图4、6、8-10所示的界面示意图未示出信息展示区域,本实施例对信息展示区域所显示的内容不作限定。It should be noted that the schematic interface diagrams shown in FIGS. 4 , 6 , and 8-10 do not show the information display area, and this embodiment does not limit the content displayed in the information display area.
另外,在一些实施例中,在第三显示区域显示目标内容之后,终端还可响应于对目标内容的第二操作,获取第二操作对应于目标内容的输入信息,其中,第一操作也属于一种输入操作,其可以是接触式操作,也可以是非接触式操作,具体可前述实施例,在此不再赘述。由此,终端可检测作用于第三显示区域的输入操作,从而获取对应的输入信息,充分利用目标内容来辅助键盘输入,提升输入效率。In addition, in some embodiments, after the target content is displayed in the third display area, the terminal may also, in response to a second operation on the target content, obtain input information of the second operation corresponding to the target content, where the first operation also belongs to An input operation, which may be a contact operation or a non-contact operation, may be specific to the foregoing embodiments, and will not be repeated here. In this way, the terminal can detect the input operation acting on the third display area, so as to obtain corresponding input information, make full use of the target content to assist keyboard input, and improve input efficiency.
例如,以图5所示的目标内容包括至少一个表情符号为例,则目标内容可以相当于虚拟键盘,终端可响应于用户对表情符号的输入操作,获取对应的表情符号进行输入,并在获取到发送指令时,将包含该表情符号的输入信息发送至聊天对象的终端,并在终端的聊天窗口进行显示。可以理解的是,第三显示区域显示的目标内容可根据用户输入的第二操作,来进行输入,以辅助键盘输入,前述仅为一个示例,在不同输入场景下随着目标内容的不同,还可以有各种适应性应用,均属于本申请实施例的保护范围内,但考虑篇幅原因,在此不再一一举例。For example, taking the target content shown in FIG. 5 including at least one emoticon as an example, the target content may be equivalent to a virtual keyboard, and the terminal may obtain the corresponding emoticon for input in response to the user's input operation on the emoticon, and after obtaining When the instruction is sent, the input information including the emoticon is sent to the terminal of the chat object, and displayed on the chat window of the terminal. It can be understood that the target content displayed in the third display area can be input according to the second operation input by the user, and input with the auxiliary keyboard. The foregoing is only an example. Various adaptive applications are possible, all of which fall within the protection scope of the embodiments of the present application, but for reasons of space, examples are omitted here.
需要说明的是,本实施例中未详细描述的部分可以参考前述实施例,在此不再赘述。It should be noted that, for parts not described in detail in this embodiment, reference may be made to the foregoing embodiments, and details are not described herein again.
本实施例提供的显示方法,通过根据用户握持终端的第一握持位置确定第一显示区域,根据用户握持终端的第二握持位置确定第二显示区域,然后将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,并在第三显示区域显示目标内容,使得目标虚拟键盘分开为两部分的虚拟键盘可分别在不同的区域显示,且由于第一、的人虚拟键盘的显示区域的设置充分考虑握持场景,提升用户输入便利度,并同时在两个虚拟键盘的 显示区域之间的第三显示区域显示用于辅助用户输入的目标内容,从而可使得虚拟键盘的显示更适应于宽屏,并减少用户在宽屏下输入时手指长跨度的移动,并充分利用宽屏界面,将目标虚拟键盘和常用的目标内容,如表情符号的输入、文本纠错、文本操控界面等显示于分区后键盘的中间区域即第三显示区域,从而可在不干扰用户继续输入的同时辅助用户输入,进一步提高输入效率。同时,考虑握持场景,在保证在用户容易操作的区域显示第一、第二虚拟键盘的情况下,将输入场景下较常用的目标内容,置于第一、第二虚拟键盘中间显示,如表情符号、文本纠错界面、文本操控界面等,使得用户可以自定义输入场景下需要的内容并展示在键盘中间。In the display method provided in this embodiment, the first display area is determined according to the first holding position of the user holding the terminal, the second display area is determined according to the second holding position of the user holding the terminal, and then the first virtual keyboard is displayed. In the first display area, the second virtual keyboard is displayed in the second display area, and the target content is displayed in the third display area, so that the virtual keyboard divided into two parts of the target virtual keyboard can be displayed in different areas respectively. 1. The setting of the display area of the human virtual keyboard fully considers the holding scene, improves the convenience of user input, and simultaneously displays the target content for assisting user input in the third display area between the display areas of the two virtual keyboards. Therefore, the display of the virtual keyboard can be more suitable for the wide screen, and the movement of the finger length span when the user is inputting in the wide screen can be reduced. Errors, text manipulation interfaces, etc. are displayed in the middle area of the keyboard after the partition, that is, the third display area, so as to assist the user's input without interfering with the user's continued input, and further improve the input efficiency. At the same time, considering the holding scene, while ensuring that the first and second virtual keyboards are displayed in an area that is easy for the user to operate, the more commonly used target content in the input scene is placed in the middle of the first and second virtual keyboards for display, such as Emoji, text error correction interface, text manipulation interface, etc., allow users to customize the content required in the input scene and display it in the middle of the keyboard.
请参阅图11,其示出了本申请实施例提供的一种显示装置1100的结构框图,可应用于具有显示屏的终端,具体地,该显示装置1100可以包括:键盘显示模块1110以及辅助显示模块1120,具体地:Please refer to FIG. 11, which shows a structural block diagram of a display device 1100 provided by an embodiment of the present application, which can be applied to a terminal with a display screen. Specifically, the display device 1100 may include: a keyboard display module 1110 and an auxiliary display Module 1120, specifically:
键盘显示模块1110,用于将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域;The keyboard display module 1110 is used for displaying the first virtual keyboard in the first display area, and displaying the second virtual keyboard in the second display area;
辅助显示模块1120,用于在第三显示区域显示目标内容,其中,所述第三显示区域位于除所述第一显示区域与所述第二显示区域以外的显示区域,所述目标内容包括用于辅助键盘输入的辅助信息。The auxiliary display module 1120 is configured to display target content in a third display area, wherein the third display area is located in a display area other than the first display area and the second display area, and the target content includes Auxiliary information for keyboard input.
进一步地,所述显示装置1100还包括:握持检测模块、第一区域确定模块以及第二区域确定模块,其中:Further, the display device 1100 further includes: a grip detection module, a first area determination module and a second area determination module, wherein:
第一区域确定模块,用于根据用户握持所述终端的第一握持位置确定第一显示区域;a first area determination module, configured to determine a first display area according to a first holding position where the user holds the terminal;
第二区域确定模块,用于根据用户握持所述终端的第二握持位置确定第二显示区域。The second area determination module is configured to determine the second display area according to the second holding position where the user holds the terminal.
进一步地,所述显示装置1100还包括:显示内容切换模块以及目标内容输入模块,其中:Further, the display device 1100 further includes: a display content switching module and a target content input module, wherein:
显示内容切换模块,用于响应于作用于目标显示区域的第一操作,将所述目标显示区域的显示内容切换为所述第三显示区域的显示内容,所述目标显示区域为所述第一显示区域或所述第二显示区域。A display content switching module, configured to switch the display content of the target display area to the display content of the third display area in response to a first operation acting on the target display area, where the target display area is the first display area display area or the second display area.
目标内容输入模块,用于响应于对所述目标内容的第二操作,获取所述第二操作对应于所述目标内容的输入信息。A target content input module, configured to, in response to a second operation on the target content, acquire input information of the second operation corresponding to the target content.
进一步地,所述键盘显示模块1110可包括:第一区域确定子模块以及第二区域确定子模块,其中:Further, the keyboard display module 1110 may include: a first area determination sub-module and a second area determination sub-module, wherein:
第一区域确定子模块,用于响应于键盘分区指令,将所述第一虚拟键盘显示于第一显示区域,将所述第二虚拟键盘显示于第二显示区域。The first area determination submodule is used for displaying the first virtual keyboard in the first display area and the second virtual keyboard in the second display area in response to the keyboard partition instruction.
第二区域确定子模块,用于在指定显示界面内显示所述目标虚拟键盘时,若检测到所述终端从竖屏状态切换为横屏状态,将所述第一虚拟键盘显示于第一显示区域,将所述第二虚拟键盘显示于第二显示区域。The second area determination sub-module is configured to display the first virtual keyboard on the first display if it is detected that the terminal is switched from the vertical screen state to the horizontal screen state when the target virtual keyboard is displayed in the designated display interface. area, and the second virtual keyboard is displayed in the second display area.
进一步地,所述第一虚拟键盘与所述第二虚拟键盘为所述目标虚拟键盘的两个子键盘。Further, the first virtual keyboard and the second virtual keyboard are two sub-keyboards of the target virtual keyboard.
进一步地,所述显示屏包括顶边以及底边,所述第一显示区域靠近所述顶边,所述第二显示区域靠近所述底边。Further, the display screen includes a top edge and a bottom edge, the first display area is close to the top edge, and the second display area is close to the bottom edge.
进一步地,所述辅助显示模块1120包括:表情显示子模块、纠错生成子模块、纠错显 示子模块以及操控显示子模块,其中:Further, described auxiliary display module 1120 comprises: expression display submodule, error correction generation submodule, error correction display submodule and manipulation display submodule, wherein:
表情显示子模块,用于在第三显示区域显示至少一个表情符号。The emoticon display submodule is used for displaying at least one emoticon in the third display area.
纠错生成子模块,用于根据用户基于所述第一虚拟键盘和所述第二虚拟键盘中的至少一个输入的输入文本,生成对所述输入文本的文本纠错信息,所述文本纠错信息为所述输入文本被纠正后的信息;An error correction generation sub-module, configured to generate text error correction information for the input text according to the input text input by the user based on at least one of the first virtual keyboard and the second virtual keyboard, the text error correction The information is the corrected information of the input text;
纠错显示子模块,用于在第三显示区域显示文本纠错界面,所述文本纠错界面内显示有所述文本纠错信息。The error correction display sub-module is used for displaying a text error correction interface in the third display area, and the text error correction information is displayed in the text error correction interface.
操控显示子模块,用于在第三显示区域显示文本操控界面,所述文本操控界面内显示有用于对输入文本进行操控的至少一个操控按键,所述至少一个操控按键包括光标移动键、全选键、复制键、粘贴键、剪切板键中的至少一个。The manipulation display sub-module is used for displaying a text manipulation interface in the third display area, and at least one manipulation button for manipulating the input text is displayed in the text manipulation interface, and the at least one manipulation button includes a cursor movement key, a select all at least one of key, copy key, paste key, clipboard key.
进一步地,所述第三显示区域位于所述第一显示区域与所述第二显示区域之间。Further, the third display area is located between the first display area and the second display area.
进一步地,所述第一虚拟键盘与所述第二虚拟键盘为不同输入法的虚拟键盘。Further, the first virtual keyboard and the second virtual keyboard are virtual keyboards with different input methods.
进一步地,所述第一虚拟键盘和所述第二虚拟键盘相同或部分相同。Further, the first virtual keyboard and the second virtual keyboard are identical or partially identical.
本申请实施例提供的显示装置用于实现前述方法实施例中相应的显示方法,并具有相应的方法实施例的有益效果,在此不再赘述。The display device provided by the embodiment of the present application is used to implement the corresponding display method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between the modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
请参考图12,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备1200可以是上述终端,如手机、平板电脑、MP3播放器、MP4播放器、电子书、笔记本电脑、个人计算机、可穿戴电子设备等能够运行应用程序且具有显示屏的终端。本申请中的电子设备1200可以包括一个或多个如下部件:处理器1210、存储器1220以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器1220中并被配置为由一个或多个处理器1210执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 12 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 1200 may be the above-mentioned terminal, such as a mobile phone, a tablet computer, an MP3 player, an MP4 player, an e-book, a notebook computer, a personal computer, a wearable electronic device, etc. that can run applications and have a display screen. The electronic device 1200 in the present application may include one or more of the following components: a processor 1210, a memory 1220, and one or more application programs, wherein the one or more application programs may be stored in the memory 1220 and configured to be executed by a The processor or processors 1210 execute one or more programs configured to execute the methods described in the foregoing method embodiments.
处理器1210可以包括一个或者多个处理核。处理器1210利用各种接口和线路连接整个电子设备1200内的各个部分,通过运行或执行存储在存储器1220内的指令、程序、代码集或指令集,以及调用存储在存储器1220内的数据,执行电子设备1200的各种功能和处理数据。可选地,处理器1210可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1210可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1210中,单独通过一块通信芯片进行实现。The processor 1210 may include one or more processing cores. The processor 1210 uses various interfaces and lines to connect various parts of the entire electronic device 1200, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1220, and calling the data stored in the memory 1220. Various functions of the electronic device 1200 and processing data. Optionally, the processor 1210 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 1210 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1210, and is implemented by a communication chip alone.
存储器1220可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器1220可用于存储指令、程序、代码、代码集或指令集。存储器1220可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备1200在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 1220 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 1220 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The storage data area may also store data created by the electronic device 1200 during use (eg, phone book, audio and video data, chat record data) and the like.
请参考图13,其示出了本申请实施例提供的一种计算机可读取存储介质的结构框图。该计算机可读取存储介质1300中存储有程序代码,所述程序代码可被处理器调用执行上述实施例中所描述的方法。Please refer to FIG. 13 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable storage medium 1300 stores program codes, which can be invoked by the processor to execute the methods described in the above embodiments.
计算机可读取存储介质1300可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读取存储介质1300包括非易失性计算机可读取存储介质(non-transitory computer-readable storage medium)。计算机可读取存储介质1300具有执行上述方法中的任何方法步骤的程序代码1310的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1310可以例如以适当形式进行压缩。The computer readable storage medium 1300 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1300 includes a non-volatile computer-readable storage medium (non-transitory computer-readable storage medium). Computer readable storage medium 1300 has storage space for program code 1310 to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products. Program code 1310 may be compressed, for example, in a suitable form.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种显示方法,其特征在于,应用于具有显示屏的终端,所述方法包括:A display method, characterized in that it is applied to a terminal with a display screen, the method comprising:
    将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域;displaying the first virtual keyboard in the first display area, and displaying the second virtual keyboard in the second display area;
    在第三显示区域显示目标内容,其中,所述第三显示区域位于除所述第一显示区域与所述第二显示区域以外的显示区域,所述目标内容包括用于辅助键盘输入的辅助信息。Target content is displayed in a third display area, wherein the third display area is located in a display area other than the first display area and the second display area, and the target content includes auxiliary information for auxiliary keyboard input .
  2. 根据权利要求1所述的方法,其特征在于,所述将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域之前,所述方法还包括:The method according to claim 1, characterized in that, before displaying the first virtual keyboard in the first display area and before displaying the second virtual keyboard in the second display area, the method further comprises:
    根据用户握持所述终端的第一握持位置确定第一显示区域;determining the first display area according to the first holding position where the user holds the terminal;
    根据用户握持所述终端的第二握持位置确定第二显示区域。The second display area is determined according to the second holding position where the user holds the terminal.
  3. 根据权利要求1或2所述的方法,其特征在于,还包括:The method according to claim 1 or 2, further comprising:
    响应于作用于目标显示区域的第一操作,将所述目标显示区域的显示内容切换为所述第三显示区域的显示内容,所述目标显示区域为所述第一显示区域或所述第二显示区域。In response to the first operation acting on the target display area, the display content of the target display area is switched to the display content of the third display area, and the target display area is the first display area or the second display area Display area.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,包括:The method according to any one of claims 1-3, wherein the displaying the first virtual keyboard in the first display area and the displaying the second virtual keyboard in the second display area include:
    响应于键盘分区指令,将所述第一虚拟键盘显示于第一显示区域,将所述第二虚拟键盘显示于第二显示区域。In response to the keyboard partition instruction, the first virtual keyboard is displayed in the first display area, and the second virtual keyboard is displayed in the second display area.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域,包括:The method according to any one of claims 1-4, wherein the displaying the first virtual keyboard in the first display area and the displaying the second virtual keyboard in the second display area include:
    在指定显示界面内显示目标虚拟键盘时,若检测到所述终端从竖屏状态切换为横屏状态;When displaying the target virtual keyboard in the designated display interface, if it is detected that the terminal is switched from the vertical screen state to the horizontal screen state;
    响应于键盘分区指令,将所述第一虚拟键盘显示于第一显示区域,将所述第二虚拟键盘显示于第二显示区域。In response to the keyboard partition instruction, the first virtual keyboard is displayed in the first display area, and the second virtual keyboard is displayed in the second display area.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述显示屏包括顶边以及底边,所述第一显示区域靠近所述顶边,所述第二显示区域靠近所述底边。The method according to any one of claims 1-5, wherein the display screen includes a top edge and a bottom edge, the first display area is close to the top edge, and the second display area is close to the top edge bottom edge.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第三显示区域位于所述第一显示区域与所述第二显示区域之间。The method according to any one of claims 1-6, wherein the third display area is located between the first display area and the second display area.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述第一虚拟键盘与所述第二虚拟键盘为不同输入法的虚拟键盘。The method according to any one of claims 1-7, wherein the first virtual keyboard and the second virtual keyboard are virtual keyboards with different input methods.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述第一虚拟键盘和所述第二虚拟键盘相同或部分相同。The method according to any one of claims 1-8, wherein the first virtual keyboard and the second virtual keyboard are identical or partially identical.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述第一虚拟键盘和所述第二虚拟键盘为目标虚拟键盘的两个子键盘。The method according to any one of claims 1-9, wherein the first virtual keyboard and the second virtual keyboard are two sub-keyboards of a target virtual keyboard.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述在第三显示区域显示目标内容,包括:The method according to any one of claims 1-10, wherein the displaying the target content in the third display area comprises:
    在第三显示区域显示至少一个表情符号;或者display at least one emoji in the third display area; or
    在第三显示区域显示文本操控界面,所述文本操控界面内显示有用于对输入文本进行操控的至少一个操控按键,所述至少一个操控按键包括光标移动键、全选键、复制键、粘贴键、剪切板键中的至少一个;或者A text manipulation interface is displayed in the third display area. The text manipulation interface displays at least one manipulation key for manipulating the input text. The at least one manipulation key includes a cursor movement key, a select all key, a copy key, and a paste key. , at least one of the clipboard keys; or
    根据用户基于所述第一虚拟键盘和所述第二虚拟键盘中的至少一个输入的输入文本,生成对所述输入文本的文本纠错信息,所述文本纠错信息为所述输入文本被纠正后的信息;According to the input text input by the user based on at least one of the first virtual keyboard and the second virtual keyboard, text error correction information for the input text is generated, where the text error correction information is that the input text is corrected subsequent information;
    在第三显示区域显示文本纠错界面,所述文本纠错界面内显示有所述文本纠错信息。A text error correction interface is displayed in the third display area, and the text error correction information is displayed in the text error correction interface.
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述在第三显示区域显示目标内容之后,所述方法还包括:The method according to any one of claims 1-11, wherein after the target content is displayed in the third display area, the method further comprises:
    响应于对所述目标内容的第二操作,获取所述第二操作对应于所述目标内容的输入信息。In response to a second operation on the target content, input information corresponding to the target content by the second operation is acquired.
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述第一虚拟键盘和所述第二虚拟键盘中均包括指定虚拟按键,所述指定虚拟按键包括将空格键、回车键、逗号键、删除键中的至少一个。The method according to any one of claims 1-12, wherein the first virtual keyboard and the second virtual keyboard both include designated virtual keys, and the designated virtual keys include At least one of key, comma key, delete key.
  14. 根据权利要求1-13任一项所述的方法,其特征在于,所述第一虚拟键盘和所述第二虚拟键盘中均包括指定虚拟按键,所述指定虚拟按键包括使用频率高的前预设数目个的虚拟按键。The method according to any one of claims 1-13, wherein the first virtual keyboard and the second virtual keyboard both include designated virtual keys, and the designated virtual keys include pre-preset keys that are frequently used. Set the number of virtual keys.
  15. 根据权利要求1-14任一项所述的方法,其特征在于,所述在第三显示区域显示目标内容,包括:The method according to any one of claims 1-14, wherein the displaying the target content in the third display area comprises:
    在指定显示界面内显示目标虚拟键盘时,若检测到所述终端前台运行的应用为指定应用;When displaying the target virtual keyboard in the designated display interface, if it is detected that the application running in the foreground of the terminal is the designated application;
    在第三显示区域显示目标内容。The target content is displayed in the third display area.
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method of claim 15, wherein the method further comprises:
    在指定显示界面内显示目标虚拟键盘时,若检测到所述终端前台运行的应用为非指定应用;When displaying the target virtual keyboard in the designated display interface, if it is detected that the application running in the foreground of the terminal is a non-designated application;
    在第三显示区域不显示所述目标内容。The target content is not displayed in the third display area.
  17. 根据权利要求16所述的方法,其特征在于,所述非指定应用包括视频类应用、游戏类应用中的至少一种。The method according to claim 16, wherein the non-designated application comprises at least one of a video application and a game application.
  18. 一种显示装置,其特征在于,应用于具有显示屏的终端,所述装置包括:A display device, characterized in that it is applied to a terminal with a display screen, the device comprising:
    键盘显示模块,用于将第一虚拟键盘显示于第一显示区域,将第二虚拟键盘显示于第二显示区域;a keyboard display module, used for displaying the first virtual keyboard in the first display area, and displaying the second virtual keyboard in the second display area;
    辅助显示模块,用于在第三显示区域显示目标内容,其中,所述第三显示区域位于除所述第一显示区域与所述第二显示区域以外的显示区域,所述目标内容包括用于辅助键盘输入的辅助信息。an auxiliary display module for displaying target content in a third display area, wherein the third display area is located in a display area other than the first display area and the second display area, and the target content includes Auxiliary information for auxiliary keyboard input.
  19. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    一个或多个处理器;one or more processors;
    存储器;memory;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-17任一项所述的方法。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform such as The method of any one of claims 1-17.
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行所述权利要求1-17任一项所述的方法。A computer-readable storage medium, wherein a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the method described in any one of claims 1-17. method.
PCT/CN2021/095248 2020-07-02 2021-05-21 Display method and apparatus, electronic device, and storage medium WO2022001472A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010634268.6 2020-07-02
CN202010634268.6A CN111782127A (en) 2020-07-02 2020-07-02 Display method, display device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022001472A1 true WO2022001472A1 (en) 2022-01-06

Family

ID=72758600

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095248 WO2022001472A1 (en) 2020-07-02 2021-05-21 Display method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN111782127A (en)
WO (1) WO2022001472A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782127A (en) * 2020-07-02 2020-10-16 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium
CN112286613A (en) * 2020-10-29 2021-01-29 维沃移动通信有限公司 Interface display method and interface display device
CN112463014B (en) * 2020-11-23 2022-08-05 科大讯飞股份有限公司 Input panel display method, related equipment and readable storage medium
CN113360074B (en) * 2021-06-01 2024-01-12 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN113262474A (en) * 2021-06-04 2021-08-17 网易(杭州)网络有限公司 Display control method and device in game and electronic equipment
CN113761881A (en) * 2021-09-06 2021-12-07 北京字跳网络技术有限公司 Wrong-word recognition method and device
CN113986112B (en) * 2021-10-29 2023-09-29 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN114185478A (en) * 2021-11-05 2022-03-15 北京搜狗科技发展有限公司 Application program display method and device and storage medium
CN114840132A (en) * 2022-04-29 2022-08-02 Oppo广东移动通信有限公司 Display method and device of virtual keyboard, electronic equipment and storage medium
CN115098015A (en) * 2022-07-11 2022-09-23 Oppo广东移动通信有限公司 Display method and device of virtual keyboard, electronic equipment and storage medium
CN116483689B (en) * 2023-03-13 2024-01-05 深圳华锐分布式技术股份有限公司 Method, device, equipment and medium for testing option brokerage quick trading system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004139151A (en) * 2002-10-15 2004-05-13 Beru Techno:Kk Input device for information processing apparatus
CN102360249A (en) * 2011-09-29 2012-02-22 上海汉翔信息技术有限公司 Discrete keyboard layout system and setting method, corresponding portable electronic device and control method
CN103389869A (en) * 2012-05-08 2013-11-13 百度在线网络技术(北京)有限公司 Method, device and apparatus for regulating touch input interface
CN110874147A (en) * 2019-10-23 2020-03-10 维沃移动通信有限公司 Display method and electronic equipment
CN111782127A (en) * 2020-07-02 2020-10-16 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9116552B2 (en) * 2012-06-27 2015-08-25 Blackberry Limited Touchscreen keyboard providing selection of word predictions in partitions of the touchscreen keyboard
US9547375B2 (en) * 2012-10-10 2017-01-17 Microsoft Technology Licensing, Llc Split virtual keyboard on a mobile computing device
CN105468182A (en) * 2014-09-09 2016-04-06 富泰华工业(深圳)有限公司 Virtual keyboard displaying system and method
CN104915264A (en) * 2015-05-29 2015-09-16 北京搜狗科技发展有限公司 Input error-correction method and device
CN107622053A (en) * 2017-09-26 2018-01-23 上海展扬通信技术有限公司 A kind of text error correction method and text error correction system based on intelligent terminal
CN111158553B (en) * 2019-12-31 2022-04-22 联想(北京)有限公司 Processing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004139151A (en) * 2002-10-15 2004-05-13 Beru Techno:Kk Input device for information processing apparatus
CN102360249A (en) * 2011-09-29 2012-02-22 上海汉翔信息技术有限公司 Discrete keyboard layout system and setting method, corresponding portable electronic device and control method
CN103389869A (en) * 2012-05-08 2013-11-13 百度在线网络技术(北京)有限公司 Method, device and apparatus for regulating touch input interface
CN110874147A (en) * 2019-10-23 2020-03-10 维沃移动通信有限公司 Display method and electronic equipment
CN111782127A (en) * 2020-07-02 2020-10-16 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111782127A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
WO2022001472A1 (en) Display method and apparatus, electronic device, and storage medium
JP6286599B2 (en) Method and apparatus for providing character input interface
US10379626B2 (en) Portable computing device
US9035883B2 (en) Systems and methods for modifying virtual keyboards on a user interface
EP3002664B1 (en) Text processing method and touchscreen device
US20130271375A1 (en) Method and device having touchscreen keyboard with visual cues
US20140109016A1 (en) Gesture-based cursor control
US20090066668A1 (en) Terminal and method for entering command in the terminal
US20110154246A1 (en) Image forming apparatus with touchscreen and method of editing input letter thereof
US20150067572A1 (en) Mobile terminal and method for setting virtual keyboard of mobile terminal
CA2812457C (en) Method and device having touchscreen keyboard with visual cues
EP2653955B1 (en) Method and device having touchscreen keyboard with visual cues
US10387033B2 (en) Size reduction and utilization of software keyboards
US9569099B2 (en) Method and apparatus for displaying keypad in terminal having touch screen
US20160070412A1 (en) Mobile terminal and display control method
US20110319139A1 (en) Mobile terminal, key display program, and key display method
WO2022100275A1 (en) Multi-window processing method and device on mobile terminal, mobile terminal and medium
US20180329625A1 (en) Word typing touchscreen keyboard
KR101809952B1 (en) Mobile terminal and method for controlling thereof
WO2023226422A1 (en) Content editing control method and apparatus, electronic device, and storage medium
WO2022247718A1 (en) Information selection method and apparatus
KR20080078336A (en) Method for inputing notes and communication terminal for using the same
CN114356113A (en) Input method and input device
KR101454896B1 (en) Korean characters input apparatus using touch pannel and method of the same
KR101255801B1 (en) Mobile terminal capable of inputting hangul and method for displaying keypad thereof

Legal Events

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

Ref document number: 21833469

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21833469

Country of ref document: EP

Kind code of ref document: A1