WO2016183940A1 - Method, apparatus and terminal for controlling keyboard display and computer storage medium - Google Patents

Method, apparatus and terminal for controlling keyboard display and computer storage medium Download PDF

Info

Publication number
WO2016183940A1
WO2016183940A1 PCT/CN2015/085710 CN2015085710W WO2016183940A1 WO 2016183940 A1 WO2016183940 A1 WO 2016183940A1 CN 2015085710 W CN2015085710 W CN 2015085710W WO 2016183940 A1 WO2016183940 A1 WO 2016183940A1
Authority
WO
WIPO (PCT)
Prior art keywords
keyboard
display
input
user
input range
Prior art date
Application number
PCT/CN2015/085710
Other languages
French (fr)
Chinese (zh)
Inventor
孔鹮
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016183940A1 publication Critical patent/WO2016183940A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Definitions

  • the present invention relates to a keyboard display technology in the field of terminal applications, and in particular, to a method, device, terminal and computer storage medium for controlling keyboard display.
  • terminals have become widely popular. Consumers and terminal manufacturers are increasingly favoring large-screen terminals.
  • other terminals such as tablet PCs (PADs)
  • PADs tablet PCs
  • Electronic terminal products The large-screen terminal enables consumers to have an excellent user experience when performing web browsing and video playback.
  • the existing keyboard display position is fixed, such as using the 9-square grid keyboard in the portrait mode, or the 26-letter grid keyboard;
  • the 26-letter palace keyboard is used in the mode; all keyboards are presented at the bottom of the screen.
  • the large screen size of the terminal means that the keyboard occupies a larger range. If the user is accustomed to using only one-handed input, or if the current one is only able to do the input with one hand, the user may not be able to touch the opposite keyboard button with one hand; or, switch to the horizontal display.
  • the terminal can be input only by placing the terminal on the desktop.
  • some keyboard keys may not be touched.
  • the existing keyboard display mode is applied to a large-screen mobile phone, which may cause inconvenience to the user input due to the inability of the user's fingertip to touch the relevant keyboard keys.
  • embodiments of the present invention are directed to providing a method and apparatus for controlling keyboard display.
  • the terminal and the computer storage medium can facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input.
  • a first aspect of the embodiments of the present invention provides a method for controlling a keyboard display for an electronic device having a touch display screen, the method comprising:
  • a keyboard is displayed within the input range.
  • the detecting the input range of the user on the touch display comprises:
  • the input range of the user on the touch display is obtained according to the manner in which the user holds and the touch trajectory of the user in the holding mode.
  • the method further includes:
  • the method further includes:
  • the keyboard display manner is a manner of displaying a keyboard within the input range.
  • the method further includes:
  • the displaying the keyboard in the input range includes:
  • the keyboard display manner corresponding to the input range is determined, including:
  • the preview displays the plurality of keyboard display modes, and prompts the user to input an instruction, where the instruction is used to indicate that a keyboard display manner corresponding to the input range is determined from the plurality of keyboard display modes;
  • the keyboard display mode corresponding to the input range is determined according to an instruction input by the user.
  • the keyboard display manner corresponding to the input range is determined, including:
  • the keyboard display manner corresponding to the input range is determined according to a second instruction input by the user.
  • a second aspect of the embodiments of the present invention provides a device for controlling a keyboard display, which is disposed on an electronic device having a touch display screen, and the device includes:
  • a detecting module configured to detect a user input range on the touch display screen
  • a display module configured to display a keyboard within the input range detected by the detection module.
  • the detecting module is configured to obtain an input range of the user on the touch display according to a holding manner of the user and a touch trajectory of the user in the holding manner.
  • the device further includes an obtaining module and a recording module, where
  • the acquiring module is configured to acquire an input mode corresponding to the input range
  • the recording module is configured to record a keyboard display manner corresponding to the input mode acquired by the acquiring module, where the keyboard display manner is a manner in which the display module displays a keyboard within the input range.
  • the acquiring module is further configured to acquire the input mode
  • the display module is further configured to display the keyboard according to a keyboard display manner corresponding to the input mode recorded by the recording module.
  • the device further includes: a processing module; wherein
  • the processing module is configured to determine, according to the input range detected by the detecting module and the frame structure of the keyboard, a keyboard display manner corresponding to the input range;
  • the display module is configured to display a keyboard within the input range according to a keyboard display manner determined by the processing module.
  • the device further includes: a receiving module; wherein
  • the processing module is configured to obtain a plurality of keyboard display modes according to the input range detected by the detecting module and the frame structure of various keyboards;
  • the display module is further configured to preview display a plurality of keyboard display modes obtained by the processing module, and prompt the user to input an instruction;
  • the receiving module is configured to receive an instruction input by a user, where the instruction is used to indicate that a keyboard display manner corresponding to the input range is determined from the plurality of keyboard display modes;
  • the processing module is configured to determine, according to an instruction received by the receiving module, a keyboard display manner corresponding to the input range.
  • the device further includes: a receiving module; wherein
  • the receiving module is configured to receive a first instruction input by a user
  • the processing module is configured to determine, according to the first instruction received by the receiving module, a frame structure of a keyboard selected by the user, and according to the input range detected by the detecting module and the keyboard selected by the user Frame structure, obtaining a variety of keyboard display modes;
  • the display module is further configured to preview display a plurality of keyboard display modes obtained by the processing module, and prompt the user to input a second instruction, where the second instruction is used to indicate that the input is determined from the multiple keyboard display modes.
  • the keyboard display mode corresponding to the range;
  • the receiving module is configured to receive a second instruction input by a user
  • the processing module is configured to determine a keyboard display manner corresponding to the input range according to the second instruction received by the receiving module.
  • a third aspect of the embodiments of the present invention provides a terminal, where the terminal includes: a processor and a display;
  • the processor is configured to detect an input range of a user on the touch display screen
  • the display is configured to display a keyboard within the input range detected by the processor.
  • a fourth aspect of the embodiments of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the methods of the first aspect of the embodiments of the present invention.
  • the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the methods of the first aspect of the embodiments of the present invention.
  • Embodiments of the present invention provide a method for controlling keyboard display, a device terminal, and a computer storage medium.
  • detecting an input range of a user on the touch display screen and then displaying a keyboard within the input range, the keyboard can be displayed on the user.
  • the position that can be touched makes it easy for the user to touch any key on the keyboard displayed on the large screen and apply the keyboard for input.
  • FIG. 1 is a schematic flowchart of a method for controlling keyboard display according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for controlling keyboard display according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of a method for controlling keyboard display according to Embodiment 3 of the present invention.
  • FIG. 5 is a structural block diagram of an apparatus for controlling keyboard display according to Embodiment 4 of the present invention.
  • This embodiment provides a method, a device, a terminal, and a computer storage medium for controlling the display of the keyboard. Will detect the area on the touch display that the user can touch Domain, this area can be called the input range, and the keyboard is displayed in the input range. In this case, it is obvious that the user cannot touch the keyboard in the case of some holding the terminal, which improves the display intelligence and the user. Use satisfaction.
  • the embodiment of the present invention provides a method for controlling the display of a keyboard for an electronic device having a touch display screen. As shown in FIG. 1 , the processing flow of the method in this embodiment includes the following steps:
  • Step 101 Detect a user input range on the touch display screen.
  • the method of the embodiment is to facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input. Therefore, the method of the embodiment needs to first determine the input range of the user on the touch display screen; the input range is The range that the user can touch on the touch display.
  • the user When the user needs to input data by using the keyboard, the user can draw a range on the touch display screen by using a finger, a touch pen, etc., and the terminal obtains the input range of the user on the touch display screen by detecting the range defined by the user.
  • the user can also obtain the input range of the user on the touch display screen according to the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch.
  • the input range on the display is the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch.
  • the input range on the display is the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch.
  • Step 102 Display a keyboard within the input range.
  • the terminal can display the keyboard within the input range.
  • the terminal may determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, according to the keyboard display manner, the input The keyboard is displayed in the range.
  • the method in this embodiment may be that each time the keyboard input data is applied, the user independently delimits the input range of the user, and the terminal performs steps 101 and 102, detects the input range first, and then displays the keyboard within the input range.
  • the method of this embodiment may also be: after detecting step 101 of detecting an input range of the user on the touch display screen, acquiring an input mode corresponding to the input range according to the input range; and displaying a keyboard when the input range is displayed. Recording a keyboard display manner corresponding to the input mode, and the keyboard display manner is a manner of displaying a keyboard within the input range.
  • the terminal can detect the input mode of the user, and then display the keyboard according to the keyboard display mode corresponding to the recorded input mode. In this way, the user does not need to define the input range of the user each time, and only needs to determine the input mode of the user, and the keyboard can be displayed according to the keyboard display mode corresponding to the recorded input mode.
  • the keyboard by detecting the input range of the user on the touch display screen, and then displaying the keyboard within the input range, the keyboard can be displayed at a position that the user can touch, so that the user can touch the keyboard displayed on the large screen. Any of the keys and apply the keyboard for input.
  • the embodiment of the present invention provides a method for controlling the display of a keyboard for an electronic device having a touch display screen. As shown in FIG. 2, the processing flow of the method in this embodiment includes the following steps:
  • Step 201 Detect a user input range on the touch display screen.
  • the method of the embodiment is to facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input. Therefore, the method of the embodiment needs to first determine the input range of the user on the touch display screen; the input range is The range that the user can touch on the touch display.
  • the user When the user needs to input data by using the keyboard, the user can draw a range on the touch display screen by using a finger, a touch pen, etc., and the terminal obtains the input range of the user on the touch display screen by detecting the range defined by the user.
  • the user can also obtain the input range of the user on the touch display screen according to the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch.
  • the input range on the display is the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch.
  • the input range on the display is the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch.
  • Step 202 Determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and display the keyboard within the input range according to the keyboard display manner.
  • the terminal After obtaining the input range of the user on the touch display screen, the terminal can display the keyboard within the input range.
  • the terminal may determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and display the keyboard within the input range according to the keyboard display manner.
  • the common frame structure of the keyboard mainly includes: a pinyin 9-key input method frame structure, a pinyin 26-key input method frame structure, a stroke keyboard input method frame structure, and a handwriting keyboard input method frame structure.
  • the terminal can determine the keyboard display mode corresponding to the input range by the terminal according to a certain algorithm according to the input range obtained in step 201 and the frame structure of the various keyboards described above.
  • the keyboard display mode only needs to ensure that the keyboard is displayed within the input range.
  • the terminal may also obtain the plurality of keyboard display modes according to the input range acquired in step 201 and the frame structure of the various keyboards described above according to different algorithms, and the frame structure of each keyboard.
  • the terminal may preview display the plurality of keyboard display manners, and prompt the user to input an instruction, where the instruction is used to indicate that the keyboard display manner corresponding to the input range is determined from the plurality of keyboard display manners, and the user
  • the keyboard display mode corresponding to the input range can be selected according to personal habits, and the terminal will follow the instruction input by the user.
  • the keyboard display mode corresponding to the input range is determined.
  • the terminal may prompt the user to select a frame structure of the keyboard according to personal habits, and the user inputs a first instruction to determine a frame structure of the keyboard that the user is accustomed from the frame structure of the plurality of keyboards, so that the terminal may firstly be based on the user.
  • the input first instruction determines a frame structure of the keyboard selected by the user, and then obtains a plurality of keyboard display manners when the frame structure of the keyboard selected by the user is applied according to the input range and the frame structure of the keyboard selected by the user.
  • the terminal may preview display the plurality of keyboard display modes, and prompt the user to input a second instruction, where the second instruction is used to indicate that the keyboard display mode corresponding to the input range is determined from the plurality of keyboard display modes;
  • the user can input the second instruction according to personal habits, and the terminal determines the keyboard display mode corresponding to the input range according to the second instruction input by the user. This reduces the number of calculations and improves efficiency.
  • the user can select the most suitable keyboard display mode from the various keyboard display modes given by the terminal. If the user is not satisfied, you can choose an existing keyboard display.
  • the user needs to apply a keyboard for input when watching a video.
  • the user can delimit a range outside the video screen of the touch display screen by using a finger, a touch pen, or the like.
  • the input range of the user on the touch display screen is obtained, and then the keyboard is displayed within the input range, so that the keyboard does not cover the video screen, and the range defined by the user is that the user can Touched.
  • the terminal When the user inputs the keyboard, the terminal outputs the corresponding character in the output display area according to the content input by the user.
  • the terminal sets the output display area outside the display area of the keyboard according to the size of the screen and the size of the keyboard.
  • the output display area may be within the input range or outside the input range, and is not limited herein.
  • the output display area can be outside the input range, it is difficult for the user to confirm by clicking on the character. Therefore, the displayed keyboard must have a confirmation direction key for selecting the character in the input display area. Of course, if the output display area is within the input range, the user can confirm by clicking on the characters in the output display area, and there is no need to confirm the direction key.
  • the default output display area is displayed on the left side of the keyboard; if the input range is within the touch of the terminal On the lower left and lower right sides of the display, the default output display area is displayed in the middle of the keyboard display area on both sides.
  • the method of the embodiment only determines the display position of the keyboard through the input range of the user, and the use of various keys and keyboards in the keyboard is also in accordance with the existing operation, as long as all input operations of the user can be completed in the keyboard.
  • the terminal needs to adjust the entire display screen of the terminal, that is, after the keyboard is displayed, the original display page moves up and may be re-typed to ensure the keyboard and the original display page.
  • the information on the page does not overlap, and the original page information is displayed normally.
  • the keyboard by detecting the input range of the user on the touch display screen, and then displaying the keyboard within the input range, the keyboard can be displayed at a position that the user can touch, so that the user can touch the keyboard displayed on the large screen. Any of the keys and apply the keyboard for input.
  • the embodiment of the present invention provides a method for controlling a keyboard display for an electronic device having a touch display screen. As shown in FIG. 3, the processing flow of the method in this embodiment includes the following steps:
  • Step 301 Detect a user input range on the touch display screen.
  • the method of the embodiment is to facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input. Therefore, the method of the embodiment needs to first determine the input range of the user on the touch display screen; the input range is The range that the user can touch on the touch display.
  • the user can touch display by finger, touch pen, or the like.
  • a range is defined on the screen, and the terminal obtains the input range of the user on the touch display screen by detecting the range defined by the user.
  • the user can also obtain the input range of the user on the touch display screen according to the manner of the user's holding and the touch trajectory of the user in the holding mode.
  • the user's holding method is a dual-handheld terminal, and an arc is drawn on the left and right sides of the touch screen by the left and right hand fingers, and the range between the left arc and the left side of the terminal, and The range between the right arc and the boundary on the right side of the terminal is the user's input range on the touch display.
  • Step 302 Acquire an input mode corresponding to the input range.
  • the terminal may obtain an input mode corresponding to the input range according to the input range. For example, if the user inputs by a finger, the input range is located at a lower left side of the touch display screen of the terminal, and the corresponding input range may be detected.
  • the input mode is the left-hand input of the left hand-held terminal; the input range is located at the lower right side of the touch display screen of the terminal, and the input mode corresponding to the input range can be detected to be the right-hand input of the right hand-held terminal; the input range is located at the terminal touch On the lower right side and the lower right side of the display screen, it can be detected that the input mode of the user corresponding to the input range is the two-handed terminal with two-hand input; the input range is located in the middle of the terminal touch display screen, and the detection can be obtained.
  • the input mode of the user corresponding to the input range is that the hand of the terminal is not input.
  • Step 303 Display a keyboard within the input range.
  • the terminal may determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and display the keyboard within the input range according to the keyboard display manner. For details, refer to step 202 in Embodiment 2.
  • Step 304 Record a keyboard display manner corresponding to the input mode, where the keyboard display mode is a manner of displaying a keyboard within the input range.
  • step 303 the terminal displays the keyboard according to a certain keyboard display manner in the input range.
  • the terminal may input the input mode corresponding to the input range according to step 302, and
  • the keyboard display manner corresponding to the input range is one-to-one corresponding to recording a keyboard display manner corresponding to the input mode in the input range.
  • the subsequent user can eliminate the input range every time, and the terminal only needs to obtain the input mode of the user, and the keyboard can be displayed according to the keyboard display mode corresponding to the input mode.
  • the terminal there are two methods for the terminal to obtain the input mode of the user. One is: when the user needs to input data by using the keyboard, the user inputs an instruction, and after receiving the instruction, the terminal can display a selection interface, so that the user can select the input mode, and the user can According to personal habits, the user's input mode is selected by clicking the input mode option on the selection interface. The other is: after receiving the command, the terminal applies the relevant sensing recognition system of the terminal, such as a gravity recognition system or a pressure recognition system, to detect the input mode of the current user in real time.
  • the relevant sensing recognition system of the terminal such as a gravity recognition system or a pressure recognition system
  • the terminal acquires the input mode of the user. If the keyboard display mode corresponding to the input mode is not recorded in the terminal, the terminal needs to perform steps 301-304 to obtain the input range and its corresponding input mode; and then according to the input range and a keyboard frame structure, determining a keyboard display manner corresponding to the input range; displaying a keyboard in the input range according to the keyboard display manner; and recording a keyboard display manner corresponding to the input mode.
  • the keyboard display mode corresponding to the input mode is already stored in the terminal, and after the terminal obtains the input mode of the user, the terminal can directly display the keyboard corresponding to the stored input mode. The way the keyboard is displayed.
  • the input mode of the user is a dual-hand-held two-hand input mode
  • the detected input range of the user is the lower left side and the lower right side of the touch display screen of the terminal
  • the frame structure of the keyboard selected by the user is the pinyin 9 key. Enter the frame structure.
  • the keyboard finally displayed on the terminal screen by applying the method of the embodiment is as shown in FIG.
  • the two arcs in Figure 4 represent the arcs that the user's finger strokes, and the user's input range is between the two arcs and the terminal boundary.
  • the keyboard of the Pinyin 9-key input method frame is displayed in these two arcs, and the output display area can be in the two arcs except the display keyboard, and also in the two Out of the arc.
  • the output display area shown in FIG. 4 is disposed outside the two arcs, because the output display area is outside the two arcs that the user's finger can touch, and it is difficult for the user to click on the characters of the output display area. confirm.
  • a confirmation direction key must be used to select the characters in the output display area.
  • the output display area is within the two arcs that the user's finger can touch, the user can confirm by clicking on the characters in the output display area, and there is no need to confirm the direction key.
  • the terminal since the keyboard is not located in a rectangular area below the screen, the terminal needs to adjust the display content on the top of the screen to ensure that the entire screen does not look strange.
  • the keyboard can also be made into a regular rectangle by means of image overlay, etc., to facilitate display of other information on the screen.
  • the input display area where the keyboard in this example is located can be determined by the following rules: 1) the input display area should be in the sector formed by the arc and the screen on both sides of the screen; 2) the complete input display area is a regular rectangle and can be The left and right sides are symmetrically separated; 3) the lower left area and the lower right area are exactly the same shape, and it is required to select the largest area as the input display area.
  • the algorithm of the keyboard shown in FIG. 4 is implemented as follows: according to the rule 2) 3), that is, the width ratio length of the complete keyboard rectangle is a certain value, which is denoted as tga.
  • the method of the embodiment performs the corresponding keyboard display according to the input range of the user, so that the keyboard is displayed within the input range of the user; thus, when the user uses the large screen terminal, the keyboard can be conveniently touched on the keyboard within the input range. Any of the keys and apply the keyboard for input.
  • Embodiments of the present invention provide a device for controlling keyboard display, which can be set at the end On the end, as shown in FIG. 5, the device includes: a detecting module 501 and a display module 502, where
  • the detecting module 501 is configured to detect an input range of the user on the touch display; the display module 502 is configured to display the keyboard within the input range detected by the detecting module 501.
  • the detecting module 501 is configured to obtain an input range of the user on the touch display according to a holding manner of the user and a touch trajectory of the user in the holding manner.
  • the device further includes an obtaining module 503 and a recording module 504, where
  • the obtaining module 503 is configured to acquire an input mode corresponding to the input range
  • the recording module 504 is configured to record a keyboard display manner corresponding to the input mode acquired by the obtaining module 503, where the keyboard display mode is a manner in which the display module 502 displays a keyboard within the input range.
  • the obtaining module 503 is further configured to acquire the input mode.
  • the display module 502 is further configured to display a keyboard according to a keyboard display manner corresponding to the input mode recorded by the recording module 504.
  • the device further includes: a processing module 505; wherein
  • the processing module 505 is configured to determine, according to the input range detected by the detecting module 501 and the frame structure of the keyboard, a keyboard display manner corresponding to the input range; the display module 502 is configured to follow the processing module The keyboard display mode determined by 505 displays the keyboard within the input range.
  • the device further includes: a receiving module 506; wherein
  • the processing module 505 is configured to obtain a plurality of keyboard display modes according to the input range detected by the detecting module 501 and the frame structure of various keyboards.
  • the display module 502 is further configured to preview display the processing.
  • the module 505 obtains a plurality of keyboard display modes, and prompts the user to input an instruction.
  • the receiving module 506 is configured to receive an instruction input by the user, where the instruction is used to indicate that the input range is determined from the plurality of keyboard display modes.
  • the processing module 505 is configured to determine a keyboard display manner corresponding to the input range according to an instruction received by the receiving module 506.
  • the receiving module 506 is configured to receive a first instruction input by the user; the processing module 505 is configured to determine a frame structure of the keyboard selected by the user according to the first instruction received by the receiving module 506, and according to The input range and the frame structure of the keyboard selected by the user are used to obtain a plurality of keyboard display modes.
  • the display module 502 is further configured to preview and display various keyboard display modes obtained by the processing module, and prompt the user to input the first a second instruction, the second instruction is used to determine a keyboard display manner corresponding to the input range from the plurality of keyboard display modes;
  • the receiving module 506 is configured to receive a second instruction input by a user;
  • the module 505 is configured to determine, according to the second instruction received by the receiving module 506, a keyboard display manner corresponding to the input range.
  • An embodiment of the present invention provides a terminal, where the terminal is an electronic device having a touch display screen, including a processor and a display, wherein the processor is configured to detect an input range of the user on the touch display screen; The display is configured to display a keyboard within the input range detected by the processor.
  • the terminal may be used to implement the method described in Embodiment 1 - Embodiment 3.
  • the detection module 501, the acquisition module 503, the recording module 504, the processing module 505, and the receiving module 506 described in Embodiment 4 may all be located at the terminal.
  • Display module 502 can be implemented by a display located on the terminal.
  • the terminal here may be a terminal with a touch display such as a smart phone, a notebook computer, a personal digital assistant (PDA), a tablet computer (PAD).
  • PDA personal digital assistant
  • PAD tablet computer
  • the processor may include a processing structure having an information processing function, such as an application processor, a central processing unit, a microprocessor, a digital signal processor, or a programmable array, and the processor may further include a processing structure such as an application specific integrated circuit.
  • an information processing function such as an application processor, a central processing unit, a microprocessor, a digital signal processor, or a programmable array
  • the processor may further include a processing structure such as an application specific integrated circuit.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention may be employed in one or more of its A computer program product embodied on a computer usable storage medium (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
  • a computer usable storage medium including but not limited to disk storage and optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for controlling keyboard display is disclosed. The method includes: detecting a range of user input on a touch display screen; and displaying a keyboard within the input range. An apparatus for controlling keyboard display is also disclosed, and embodiments of the invention further provide a computer storage medium.

Description

控制键盘显示的方法、装置、终端和计算机存储介质Method, device, terminal and computer storage medium for controlling keyboard display 技术领域Technical field
本发明涉及终端应用领域的键盘显示技术,尤其涉及一种控制键盘显示的方法、装置、终端和计算机存储介质。The present invention relates to a keyboard display technology in the field of terminal applications, and in particular, to a method, device, terminal and computer storage medium for controlling keyboard display.
背景技术Background technique
在终端已广为普及的今天,消费者及终端厂家对大屏终端日益青睐,除了大屏智能手机已经成为消费者首选手机外,其他终端,如平板电脑(PAD)等也成为家庭日益普及的电子终端产品。大屏终端使消费者在进行网页浏览、视频播放时的用户体验极佳。Nowadays, terminals have become widely popular. Consumers and terminal manufacturers are increasingly favoring large-screen terminals. In addition to large-screen smart phones, which have become the preferred mobile phone for consumers, other terminals, such as tablet PCs (PADs), have become increasingly popular among families. Electronic terminal products. The large-screen terminal enables consumers to have an excellent user experience when performing web browsing and video playback.
但随之而来的是大屏终端在输入方面的缺陷,现有的键盘显示位置是固定的,譬如在竖屏模式下使用类9宫格键盘,或者是26字母宫格键盘;在横屏模式下使用26字母宫格键盘;所有键盘均在屏幕下方呈现。终端的屏幕大意味着键盘所占用的范围就较大。如果用户习惯只用单手输入,或者当前一只手在做其他事情只能单手完成输入的情况下,用户用单手可能无法触摸到对侧的键盘按键;或者,在切换到横屏显示时,一般的输入法显示为类似与电脑键盘模式的26字母宫格键盘而非9宫格键盘,在这种情况下,如果用户双手同时输入,只有将终端放在桌面上才能双手输入,而用户双手拿终端进行双手输入时,可能无法触摸到部分键盘按键。But what comes with the shortcomings of the large screen terminal in terms of input, the existing keyboard display position is fixed, such as using the 9-square grid keyboard in the portrait mode, or the 26-letter grid keyboard; The 26-letter palace keyboard is used in the mode; all keyboards are presented at the bottom of the screen. The large screen size of the terminal means that the keyboard occupies a larger range. If the user is accustomed to using only one-handed input, or if the current one is only able to do the input with one hand, the user may not be able to touch the opposite keyboard button with one hand; or, switch to the horizontal display. When the general input method is displayed as a 26-letter palace keyboard similar to the computer keyboard mode instead of the 9-square grid keyboard, in this case, if the user inputs both hands at the same time, the terminal can be input only by placing the terminal on the desktop. When the user takes two-handed input with both hands, some keyboard keys may not be touched.
由上可知,现有的键盘显示方式应用在大屏手机上,可能由于用户指尖无法触摸到相关键盘按键而造成用户输入上的不便。As can be seen from the above, the existing keyboard display mode is applied to a large-screen mobile phone, which may cause inconvenience to the user input due to the inability of the user's fingertip to touch the relevant keyboard keys.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种控制键盘显示的方法、装置、 终端及计算机存储介质,可以方便用户触摸到大屏幕上显示的键盘上的任意按键,并应用该键盘进行输入。In view of this, embodiments of the present invention are directed to providing a method and apparatus for controlling keyboard display. The terminal and the computer storage medium can facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例第一方面提供一种控制键盘显示的方法,用于具有触摸显示屏的电子设备,所述方法包括:A first aspect of the embodiments of the present invention provides a method for controlling a keyboard display for an electronic device having a touch display screen, the method comprising:
检测用户在所述触摸显示屏上的输入范围;Detecting a user's input range on the touch display screen;
在所述输入范围内显示键盘。A keyboard is displayed within the input range.
上述方案中,所述检测用户在所述触摸显示器上的输入范围,包括:In the above solution, the detecting the input range of the user on the touch display comprises:
根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示器上的输入范围。The input range of the user on the touch display is obtained according to the manner in which the user holds and the touch trajectory of the user in the holding mode.
上述方案中,所述检测用户在所述触摸显示器上的输入范围之后,所述方法还包括:In the above solution, after the detecting the input range of the user on the touch display, the method further includes:
获取所述输入范围对应的输入模式;Obtaining an input mode corresponding to the input range;
相应的,所述方法还包括:Correspondingly, the method further includes:
记录所述输入模式对应的键盘显示方式,所述键盘显示方式为在所述输入范围内显示键盘的方式。Recording a keyboard display manner corresponding to the input mode, and the keyboard display manner is a manner of displaying a keyboard within the input range.
上述方案中,在记录所述输入模式对应的键盘显示方式之后,所述方法还包括:In the above solution, after the keyboard display mode corresponding to the input mode is recorded, the method further includes:
获取所述输入模式,并按照记录的所述输入模式对应的键盘显示方式显示键盘。Obtaining the input mode, and displaying the keyboard according to the recorded keyboard display mode corresponding to the input mode.
上述方案中,所述在所述输入范围内显示键盘包括:In the above solution, the displaying the keyboard in the input range includes:
根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,按照所述键盘显示方式在所述输入范围内显示键盘。And determining, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and displaying the keyboard within the input range according to the keyboard display manner.
上述方案中,根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,包括: In the above solution, according to the input range and the frame structure of the keyboard, the keyboard display manner corresponding to the input range is determined, including:
根据所述输入范围以及各种键盘的框结构,获得多种键盘显示方式;According to the input range and the frame structure of various keyboards, various keyboard display modes are obtained;
预览显示所述多种键盘显示方式,提示用户输入指令,所述指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The preview displays the plurality of keyboard display modes, and prompts the user to input an instruction, where the instruction is used to indicate that a keyboard display manner corresponding to the input range is determined from the plurality of keyboard display modes;
按照用户输入的指令确定所述输入范围对应的键盘显示方式。The keyboard display mode corresponding to the input range is determined according to an instruction input by the user.
上述方案中,根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,包括:In the above solution, according to the input range and the frame structure of the keyboard, the keyboard display manner corresponding to the input range is determined, including:
按照用户输入的第一指令确定用户选定的键盘的框结构;Determining a frame structure of a keyboard selected by the user according to the first instruction input by the user;
根据所述输入范围以及所述用户选定的键盘的框结构,获得多种键盘显示方式;Obtaining a plurality of keyboard display modes according to the input range and a frame structure of the keyboard selected by the user;
预览显示所述多种键盘显示方式,提示用户输入第二指令,所述第二指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The preview display the plurality of keyboard display manners, prompting the user to input a second instruction, where the second instruction is used to indicate that the keyboard display manner corresponding to the input range is determined from the plurality of keyboard display manners;
按照用户输入的第二指令确定所述输入范围对应的键盘显示方式。The keyboard display manner corresponding to the input range is determined according to a second instruction input by the user.
本发明实施例第二方面提供一种控制键盘显示的装置,设置在具有触摸显示屏的电子设备上,所述装置包括:A second aspect of the embodiments of the present invention provides a device for controlling a keyboard display, which is disposed on an electronic device having a touch display screen, and the device includes:
检测模块,配置为检测用户在所述触摸显示屏上的输入范围;a detecting module configured to detect a user input range on the touch display screen;
显示模块,配置为在所述检测模块检测到的所述输入范围内显示键盘。a display module configured to display a keyboard within the input range detected by the detection module.
上述方案中,所述检测模块,配置为根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示器上的输入范围。In the above solution, the detecting module is configured to obtain an input range of the user on the touch display according to a holding manner of the user and a touch trajectory of the user in the holding manner.
上述方案中,所述装置还包括获取模块和记录模块,其中,In the above solution, the device further includes an obtaining module and a recording module, where
所述获取模块,配置为获取所述输入范围对应的输入模式;The acquiring module is configured to acquire an input mode corresponding to the input range;
所述记录模块,配置为记录所述获取模块获取的所述输入模式对应的键盘显示方式,所述键盘显示方式为所述显示模块在所述输入范围内显示键盘的方式。The recording module is configured to record a keyboard display manner corresponding to the input mode acquired by the acquiring module, where the keyboard display manner is a manner in which the display module displays a keyboard within the input range.
上述方案中,所述获取模块,还配置为获取所述输入模式; In the above solution, the acquiring module is further configured to acquire the input mode;
所述显示模块,还配置为按照所述记录模块记录的所述输入模式对应的键盘显示方式显示键盘。The display module is further configured to display the keyboard according to a keyboard display manner corresponding to the input mode recorded by the recording module.
上述方案中,所述装置还包括:处理模块;其中,In the above solution, the device further includes: a processing module; wherein
所述处理模块,配置为根据所述检测模块检测到的所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式;The processing module is configured to determine, according to the input range detected by the detecting module and the frame structure of the keyboard, a keyboard display manner corresponding to the input range;
所述显示模块,配置为按照所述处理模块确定的键盘显示方式在所述输入范围内显示键盘。The display module is configured to display a keyboard within the input range according to a keyboard display manner determined by the processing module.
上述方案中,所述装置还包括:接收模块;其中,In the above solution, the device further includes: a receiving module; wherein
所述处理模块,配置为根据所述检测模块检测到的所述输入范围以及各种键盘的框结构,获得多种键盘显示方式;The processing module is configured to obtain a plurality of keyboard display modes according to the input range detected by the detecting module and the frame structure of various keyboards;
所述显示模块,还配置为预览显示所述处理模块获得的多种键盘显示方式,提示用户输入指令;The display module is further configured to preview display a plurality of keyboard display modes obtained by the processing module, and prompt the user to input an instruction;
所述接收模块,配置为接收用户输入的指令,所述指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The receiving module is configured to receive an instruction input by a user, where the instruction is used to indicate that a keyboard display manner corresponding to the input range is determined from the plurality of keyboard display modes;
所述处理模块,配置为按照所述接收模块接收到的指令确定所述输入范围对应的键盘显示方式。The processing module is configured to determine, according to an instruction received by the receiving module, a keyboard display manner corresponding to the input range.
上述方案中,所述装置还包括:接收模块;其中,In the above solution, the device further includes: a receiving module; wherein
所述接收模块,配置为接收用户输入的第一指令;The receiving module is configured to receive a first instruction input by a user;
所述处理模块,配置为按照所述接收模块接收到的第一指令确定用户选定的键盘的框结构,并根据所述检测模块检测到的所述输入范围以及所述用户选定的键盘的框结构,获得多种键盘显示方式;The processing module is configured to determine, according to the first instruction received by the receiving module, a frame structure of a keyboard selected by the user, and according to the input range detected by the detecting module and the keyboard selected by the user Frame structure, obtaining a variety of keyboard display modes;
所述显示模块,还配置为预览显示所述处理模块获得的多种键盘显示方式,提示用户输入第二指令,所述第二指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The display module is further configured to preview display a plurality of keyboard display modes obtained by the processing module, and prompt the user to input a second instruction, where the second instruction is used to indicate that the input is determined from the multiple keyboard display modes. The keyboard display mode corresponding to the range;
所述接收模块,配置为接收用户输入的第二指令; The receiving module is configured to receive a second instruction input by a user;
所述处理模块,配置为按照所述接收模块接收到的第二指令确定所述输入范围对应的键盘显示方式。The processing module is configured to determine a keyboard display manner corresponding to the input range according to the second instruction received by the receiving module.
本发明实施例第三方面提供一种终端,所述终端包括:处理器和显示器;其中,A third aspect of the embodiments of the present invention provides a terminal, where the terminal includes: a processor and a display;
所述处理器,配置为检测用户在所述触摸显示屏上的输入范围;The processor is configured to detect an input range of a user on the touch display screen;
所述显示器,配置为在所述处理器检测到的所述输入范围内显示键盘。The display is configured to display a keyboard within the input range detected by the processor.
本发明实施例第四方面提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例第一方面所述方法的至少其中之一。A fourth aspect of the embodiments of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the methods of the first aspect of the embodiments of the present invention. One.
本发明实施例提供了一种控制键盘显示的方法、装置终端及计算机存储介质,通过检测用户在所述触摸显示屏上的输入范围,然后在该输入范围内显示键盘,可以将键盘显示在用户可以触摸到的位置,方便用户触摸到大屏幕上显示的键盘上的任意按键,并应用该键盘进行输入。Embodiments of the present invention provide a method for controlling keyboard display, a device terminal, and a computer storage medium. By detecting an input range of a user on the touch display screen, and then displaying a keyboard within the input range, the keyboard can be displayed on the user. The position that can be touched makes it easy for the user to touch any key on the keyboard displayed on the large screen and apply the keyboard for input.
附图说明DRAWINGS
图1为本发明实施例1提供的一种控制键盘显示的方法流程示意图;1 is a schematic flowchart of a method for controlling keyboard display according to Embodiment 1 of the present invention;
图2为本发明实施例2提供的一种控制键盘显示的方法流程示意图;2 is a schematic flowchart of a method for controlling keyboard display according to Embodiment 2 of the present invention;
图3为本发明实施例3提供的一种控制键盘显示的方法流程示意图;3 is a schematic flowchart of a method for controlling keyboard display according to Embodiment 3 of the present invention;
图4为本发明实施例3提供的一种键盘显示结果示意图;4 is a schematic diagram of a keyboard display result according to Embodiment 3 of the present invention;
图5为本发明实施例4提供的一种控制键盘显示的装置结构框图。FIG. 5 is a structural block diagram of an apparatus for controlling keyboard display according to Embodiment 4 of the present invention.
具体实施方式detailed description
避免在大屏手机等触摸显示屏较大的终端中,用户无法触摸到触摸显示屏上显示的某些按键的现象,本实施例提供控制键盘显示的方法、装置、终端和计算机存储介质,首先将检测用户能够触摸到的触摸显示屏上的区 域,该区域可称为输入范围,在输入范围内显示键盘,这样的话,显然就不会出现用户在某些握持终端的情况下,无法触控键盘的现象,提升了显示智能性和用户使用满意度。In the terminal with a large touch screen such as a large-screen mobile phone, the user cannot touch the phenomenon of touching some keys displayed on the display screen. This embodiment provides a method, a device, a terminal, and a computer storage medium for controlling the display of the keyboard. Will detect the area on the touch display that the user can touch Domain, this area can be called the input range, and the keyboard is displayed in the input range. In this case, it is obvious that the user cannot touch the keyboard in the case of some holding the terminal, which improves the display intelligence and the user. Use satisfaction.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not intended to limit this invention. .
实施例1Example 1
本发明实施例提供了一种控制键盘显示的方法,用于具有触摸显示屏的电子设备,如图1所示,本实施例方法的处理流程包括以下步骤:The embodiment of the present invention provides a method for controlling the display of a keyboard for an electronic device having a touch display screen. As shown in FIG. 1 , the processing flow of the method in this embodiment includes the following steps:
步骤101、检测用户在所述触摸显示屏上的输入范围。Step 101: Detect a user input range on the touch display screen.
本实施例方法是为了方便用户触摸到大屏幕上显示的键盘上的任意按键,并应用该键盘进行输入,故本实施例方法需要先确定用户在触摸显示屏上的输入范围;这个输入范围是用户能够在触摸显示屏触摸到的范围。The method of the embodiment is to facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input. Therefore, the method of the embodiment needs to first determine the input range of the user on the touch display screen; the input range is The range that the user can touch on the touch display.
用户在需要用键盘输入数据时,可以通过手指、触摸笔等在触摸显示屏上划定一个范围,终端通过检测用户划定的范围,获得用户在所述触摸显示屏上的输入范围。When the user needs to input data by using the keyboard, the user can draw a range on the touch display screen by using a finger, a touch pen, etc., and the terminal obtains the input range of the user on the touch display screen by detecting the range defined by the user.
当然,用户也可以根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示屏上的输入范围。示例的,用户的持拿方式为右手持拿终端,并通过右手手指在触摸显示屏上划定一个弧线,则该弧线与终端右侧的边界之间的范围即为用户在所述触摸显示屏上的输入范围。Of course, the user can also obtain the input range of the user on the touch display screen according to the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch. The input range on the display.
步骤102、在所述输入范围内显示键盘。Step 102: Display a keyboard within the input range.
终端在获得用户在所述触摸显示屏上的输入范围后,就可以在所述输入范围内显示键盘。终端可以根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,按照所述键盘显示方式在所述输入 范围内显示键盘。After obtaining the input range of the user on the touch display screen, the terminal can display the keyboard within the input range. The terminal may determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, according to the keyboard display manner, the input The keyboard is displayed in the range.
本实施例方法可以是在每次应用键盘输入数据时,用户都自主划定用户的输入范围,终端就进行步骤101和102,先检测该输入范围,然后在所述输入范围内显示键盘。The method in this embodiment may be that each time the keyboard input data is applied, the user independently delimits the input range of the user, and the terminal performs steps 101 and 102, detects the input range first, and then displays the keyboard within the input range.
本实施例方法也可以是在进行步骤101检测用户在所述触摸显示屏上的输入范围之后,根据所述输入范围获取所述输入范围对应的输入模式;并在所述输入范围内显示键盘时记录所述输入模式对应的键盘显示方式,所述键盘显示方式为在所述输入范围内显示键盘的方式。在之后应用键盘输入数据时,终端可以检测获取用户的输入模式,然后按照记录的所述输入模式对应的键盘显示方式显示键盘。这样就不需要用户每次都划定用户的输入范围,只需要确定用户的输入模式就可以按照记录的所述输入模式对应的键盘显示方式显示键盘。The method of this embodiment may also be: after detecting step 101 of detecting an input range of the user on the touch display screen, acquiring an input mode corresponding to the input range according to the input range; and displaying a keyboard when the input range is displayed. Recording a keyboard display manner corresponding to the input mode, and the keyboard display manner is a manner of displaying a keyboard within the input range. When the keyboard input data is applied later, the terminal can detect the input mode of the user, and then display the keyboard according to the keyboard display mode corresponding to the recorded input mode. In this way, the user does not need to define the input range of the user each time, and only needs to determine the input mode of the user, and the keyboard can be displayed according to the keyboard display mode corresponding to the recorded input mode.
本实施例方法通过检测用户在所述触摸显示屏上的输入范围,然后在该输入范围内显示键盘,可以将键盘显示在用户可以触摸到的位置,方便用户触摸到大屏幕上显示的键盘上的任意按键,并应用该键盘进行输入。In the method of the embodiment, by detecting the input range of the user on the touch display screen, and then displaying the keyboard within the input range, the keyboard can be displayed at a position that the user can touch, so that the user can touch the keyboard displayed on the large screen. Any of the keys and apply the keyboard for input.
实施例2Example 2
本发明实施例提供了一种控制键盘显示的方法,用于具有触摸显示屏的电子设备,如图2所示,本实施例方法的处理流程包括以下步骤:The embodiment of the present invention provides a method for controlling the display of a keyboard for an electronic device having a touch display screen. As shown in FIG. 2, the processing flow of the method in this embodiment includes the following steps:
步骤201、检测用户在所述触摸显示屏上的输入范围。Step 201: Detect a user input range on the touch display screen.
本实施例方法是为了方便用户触摸到大屏幕上显示的键盘上的任意按键,并应用该键盘进行输入,故本实施例方法需要先确定用户在触摸显示屏上的输入范围;这个输入范围是用户能够在触摸显示屏触摸到的范围。The method of the embodiment is to facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input. Therefore, the method of the embodiment needs to first determine the input range of the user on the touch display screen; the input range is The range that the user can touch on the touch display.
用户在需要用键盘输入数据时,可以通过手指、触摸笔等在触摸显示屏上划定一个范围,终端通过检测用户划定的范围,获得用户在所述触摸显示屏上的输入范围。 When the user needs to input data by using the keyboard, the user can draw a range on the touch display screen by using a finger, a touch pen, etc., and the terminal obtains the input range of the user on the touch display screen by detecting the range defined by the user.
当然,用户也可以根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示屏上的输入范围。示例的,用户的持拿方式为右手持拿终端,并通过右手手指在触摸显示屏上划定一个弧线,则该弧线与终端右侧的边界之间的范围即为用户在所述触摸显示屏上的输入范围。Of course, the user can also obtain the input range of the user on the touch display screen according to the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user holds the terminal in the right hand and draws an arc on the touch display screen by the right hand finger, and the range between the arc and the boundary on the right side of the terminal is the user's touch. The input range on the display.
步骤202、根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,按照所述键盘显示方式在所述输入范围内显示键盘。Step 202: Determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and display the keyboard within the input range according to the keyboard display manner.
终端在获得用户在所述触摸显示屏上的输入范围后,就可以在所述输入范围内显示键盘。终端可以根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,按照所述键盘显示方式在所述输入范围内显示键盘。After obtaining the input range of the user on the touch display screen, the terminal can display the keyboard within the input range. The terminal may determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and display the keyboard within the input range according to the keyboard display manner.
目前常见的键盘的框结构主要包括:拼音9键输入法框结构、拼音26键输入法框结构、笔画键盘输入法框结构、以及手写键盘输入法框结构等。At present, the common frame structure of the keyboard mainly includes: a pinyin 9-key input method frame structure, a pinyin 26-key input method frame structure, a stroke keyboard input method frame structure, and a handwriting keyboard input method frame structure.
在这里所述终端可以根据步骤201获取的输入范围,以及上述的各种键盘的框结构,按照一定的算法由终端自主确定出所述输入范围对应的键盘显示方式。所述键盘显示方式只要保证使所述键盘在所述输入范围内显示即可。The terminal can determine the keyboard display mode corresponding to the input range by the terminal according to a certain algorithm according to the input range obtained in step 201 and the frame structure of the various keyboards described above. The keyboard display mode only needs to ensure that the keyboard is displayed within the input range.
当然,为了提高用户的体验,也可以是终端根据步骤201获取的所述输入范围,以及上述的各种键盘的框结构,按照不同的算法计算获得多种键盘显示方式,每种键盘的框结构都可能对应有多种键盘显示方式;这多种键盘显示方式都可以使所述键盘在应用该键盘的框结构时,保证所述键盘在所述输入范围内显示。计算完成后,所述终端可以预览显示所述多种键盘显示方式,提示用户输入指令,所述指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式,用户可以根据个人习惯选择所述输入范围对应的键盘显示方式,终端就会按照用户输入的指令确 定所述输入范围对应的键盘显示方式。Of course, in order to improve the user experience, the terminal may also obtain the plurality of keyboard display modes according to the input range acquired in step 201 and the frame structure of the various keyboards described above according to different algorithms, and the frame structure of each keyboard. There may be a plurality of keyboard display modes; the plurality of keyboard display modes may enable the keyboard to display the keyboard within the input range when the frame structure of the keyboard is applied. After the calculation is completed, the terminal may preview display the plurality of keyboard display manners, and prompt the user to input an instruction, where the instruction is used to indicate that the keyboard display manner corresponding to the input range is determined from the plurality of keyboard display manners, and the user The keyboard display mode corresponding to the input range can be selected according to personal habits, and the terminal will follow the instruction input by the user. The keyboard display mode corresponding to the input range is determined.
上述方法中,针对每种键盘的框结构,都要计算出应用这种键盘的框结构时的多种键盘显示方式,需要进行多次计算,占用终端的资源且浪费时间。故终端可以提示用户根据个人习惯选择出一个键盘的框结构,用户输入第一指令指示从所述多种键盘的框结构中确定一种用户习惯的键盘的框结构,这样终端就可以先根据用户输入的第一指令确定用户选定的键盘的框结构,然后根据所述输入范围以及所述用户选定的键盘的框结构,获得应用用户选定的键盘的框结构时的多种键盘显示方式;所述终端可以预览显示所述多种键盘显示方式,提示用户输入第二指令,所述第二指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;用户可以根据个人习惯输入第二指令,终端就会按照用户输入的第二指令确定所述输入范围对应的键盘显示方式。这样就减少了计算次数,提高了效率。In the above method, for each frame structure of the keyboard, a plurality of keyboard display modes when the frame structure of the keyboard is applied are calculated, and multiple calculations are required, occupying resources of the terminal and wasting time. Therefore, the terminal may prompt the user to select a frame structure of the keyboard according to personal habits, and the user inputs a first instruction to determine a frame structure of the keyboard that the user is accustomed from the frame structure of the plurality of keyboards, so that the terminal may firstly be based on the user. The input first instruction determines a frame structure of the keyboard selected by the user, and then obtains a plurality of keyboard display manners when the frame structure of the keyboard selected by the user is applied according to the input range and the frame structure of the keyboard selected by the user. The terminal may preview display the plurality of keyboard display modes, and prompt the user to input a second instruction, where the second instruction is used to indicate that the keyboard display mode corresponding to the input range is determined from the plurality of keyboard display modes; The user can input the second instruction according to personal habits, and the terminal determines the keyboard display mode corresponding to the input range according to the second instruction input by the user. This reduces the number of calculations and improves efficiency.
用户可以从终端给出的多种键盘显示方式中选择最适合的键盘显示方式。如果用户都不满意,则可以选择现有的键盘显示方式。The user can select the most suitable keyboard display mode from the various keyboard display modes given by the terminal. If the user is not satisfied, you can choose an existing keyboard display.
示例的,用户在观看视频时需要应用键盘进行输入,用户为了防止键盘覆盖到视频画面,影响用户观看视频,用户可以通过手指、触摸笔等在触摸显示屏的视频画面外划定一个范围,终端通过检测用户划定的范围,获得用户在所述触摸显示屏上的输入范围,然后在所述输入范围内显示键盘,这样键盘就不会覆盖到视频画面,并且用户划定的范围是用户能够触摸到的。For example, the user needs to apply a keyboard for input when watching a video. In order to prevent the keyboard from covering the video screen and affecting the user watching the video, the user can delimit a range outside the video screen of the touch display screen by using a finger, a touch pen, or the like. By detecting the range delineated by the user, the input range of the user on the touch display screen is obtained, and then the keyboard is displayed within the input range, so that the keyboard does not cover the video screen, and the range defined by the user is that the user can Touched.
用户在应用键盘进行输入时,终端会根据用户输入的内容,在输出显示区输出对应的字符,终端会根据屏幕的大小以及键盘的大小,将输出显示区设置在键盘的显示区域之外。输出显示区可以在所述输入范围之内,也可以在所述输入范围之外,在此并不做限制。 When the user inputs the keyboard, the terminal outputs the corresponding character in the output display area according to the content input by the user. The terminal sets the output display area outside the display area of the keyboard according to the size of the screen and the size of the keyboard. The output display area may be within the input range or outside the input range, and is not limited herein.
若输出显示区可以在所述输入范围之外,用户很难通过点击字符进行确认,故在显示的键盘必须要有确认方向键,用来选择输入显示区中的字符。当然,如果输出显示区在所述输入范围内,则用户可以通过点击输出显示区内的字符进行确认,此时就不需要确认方向键。If the output display area can be outside the input range, it is difficult for the user to confirm by clicking on the character. Therefore, the displayed keyboard must have a confirmation direction key for selecting the character in the input display area. Of course, if the output display area is within the input range, the user can confirm by clicking on the characters in the output display area, and there is no need to confirm the direction key.
输出显示区在所述输入范围之外的情况下,若所述输入范围内在终端的触摸显示屏右下侧,则默认输出显示区在键盘的左侧显示;如果所述输入范围内在终端的触摸显示屏左下侧和右下侧,则默认输出显示区在两侧键盘显示区域的中间进行显示。If the output display area is outside the input range, if the input range is in the lower right side of the touch display screen of the terminal, the default output display area is displayed on the left side of the keyboard; if the input range is within the touch of the terminal On the lower left and lower right sides of the display, the default output display area is displayed in the middle of the keyboard display area on both sides.
本实施例方法只是通过用户的输入范围来确定键盘的显示位置,对键盘中的各种按键以及键盘的使用还依照现有操作,只要保证用户所有的输入操作均可以在键盘中完成即可。The method of the embodiment only determines the display position of the keyboard through the input range of the user, and the use of various keys and keyboards in the keyboard is also in accordance with the existing operation, as long as all input operations of the user can be completed in the keyboard.
在用户的输入范围内显示所述键盘后,所述终端需要对该终端的整个显示屏幕进行调整,即在显示所述键盘后,原显示页面上移并可能重新排版,保证键盘和原显示页面上的信息不重叠,原页面信息正常显示。After the keyboard is displayed in the input range of the user, the terminal needs to adjust the entire display screen of the terminal, that is, after the keyboard is displayed, the original display page moves up and may be re-typed to ensure the keyboard and the original display page. The information on the page does not overlap, and the original page information is displayed normally.
本实施例方法通过检测用户在所述触摸显示屏上的输入范围,然后在该输入范围内显示键盘,可以将键盘显示在用户可以触摸到的位置,方便用户触摸到大屏幕上显示的键盘上的任意按键,并应用该键盘进行输入。In the method of the embodiment, by detecting the input range of the user on the touch display screen, and then displaying the keyboard within the input range, the keyboard can be displayed at a position that the user can touch, so that the user can touch the keyboard displayed on the large screen. Any of the keys and apply the keyboard for input.
实施例3Example 3
本发明实施例提供了一种控制键盘显示的方法,用于具有触摸显示屏的电子设备,如图3所示,本实施例方法的处理流程包括以下步骤:The embodiment of the present invention provides a method for controlling a keyboard display for an electronic device having a touch display screen. As shown in FIG. 3, the processing flow of the method in this embodiment includes the following steps:
步骤301、检测用户在所述触摸显示屏上的输入范围。Step 301: Detect a user input range on the touch display screen.
本实施例方法是为了方便用户触摸到大屏幕上显示的键盘上的任意按键,并应用该键盘进行输入,故本实施例方法需要先确定用户在触摸显示屏上的输入范围;这个输入范围是用户能够在触摸显示屏触摸到的范围。The method of the embodiment is to facilitate the user to touch any button on the keyboard displayed on the large screen and apply the keyboard for input. Therefore, the method of the embodiment needs to first determine the input range of the user on the touch display screen; the input range is The range that the user can touch on the touch display.
用户在需要用键盘输入数据时,可以通过手指、触摸笔等在触摸显示 屏上划定一个范围,终端通过检测用户划定的范围,获得用户在所述触摸显示屏上的输入范围。When the user needs to input data with the keyboard, the user can touch display by finger, touch pen, or the like. A range is defined on the screen, and the terminal obtains the input range of the user on the touch display screen by detecting the range defined by the user.
当然,用户也可以根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示屏上的输入范围。示例的,用户的持拿方式为双手持拿终端,并通过左、右手手指在触摸显示屏左右两侧分别划定一个弧线,左侧弧线与终端左侧的边界之间的范围,以及右侧弧线与终端右侧的边界之间的范围即为用户在所述触摸显示屏上的输入范围。Of course, the user can also obtain the input range of the user on the touch display screen according to the manner of the user's holding and the touch trajectory of the user in the holding mode. For example, the user's holding method is a dual-handheld terminal, and an arc is drawn on the left and right sides of the touch screen by the left and right hand fingers, and the range between the left arc and the left side of the terminal, and The range between the right arc and the boundary on the right side of the terminal is the user's input range on the touch display.
步骤302、获取所述输入范围对应的输入模式。Step 302: Acquire an input mode corresponding to the input range.
终端可以根据所述输入范围获取所述输入范围对应的输入模式,示例的,用户通过手指输入的情况下,所述输入范围位于终端触摸显示屏的左下侧,可以检测获得所述输入范围对应的输入模式是左手持拿终端左手输入;所述输入范围位于终端触摸显示屏的右下侧,可以检测获得所述输入范围对应的输入模式是右手持拿终端右手输入;所述输入范围位于终端触摸显示屏的右下侧和右下侧,可以检测获得所述输入范围对应的用户的输入模式是双手持拿终端双手输入;所述输入范围位于终端触摸显示屏的中间一个范围,可以检测获得所述输入范围对应的用户的输入模式是没拿终端的手进行输入。The terminal may obtain an input mode corresponding to the input range according to the input range. For example, if the user inputs by a finger, the input range is located at a lower left side of the touch display screen of the terminal, and the corresponding input range may be detected. The input mode is the left-hand input of the left hand-held terminal; the input range is located at the lower right side of the touch display screen of the terminal, and the input mode corresponding to the input range can be detected to be the right-hand input of the right hand-held terminal; the input range is located at the terminal touch On the lower right side and the lower right side of the display screen, it can be detected that the input mode of the user corresponding to the input range is the two-handed terminal with two-hand input; the input range is located in the middle of the terminal touch display screen, and the detection can be obtained. The input mode of the user corresponding to the input range is that the hand of the terminal is not input.
步骤303、在所述输入范围内显示键盘。Step 303: Display a keyboard within the input range.
终端可以根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,按照所述键盘显示方式在所述输入范围内显示键盘。具体情况可参考实施例2中的步骤202所述。The terminal may determine, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and display the keyboard within the input range according to the keyboard display manner. For details, refer to step 202 in Embodiment 2.
步骤304、记录所述输入模式对应的键盘显示方式,所述键盘显示方式为在所述输入范围内显示键盘的方式。Step 304: Record a keyboard display manner corresponding to the input mode, where the keyboard display mode is a manner of displaying a keyboard within the input range.
步骤303中终端在所述输入范围内按照一定的键盘显示方式显示键盘,此时,终端可以根据步骤302获取的所述输入范围对应的输入模式,以及 所述输入范围对应的键盘显示方式,一一对应记录所述输入范围内所述输入模式对应的键盘显示方式。In step 303, the terminal displays the keyboard according to a certain keyboard display manner in the input range. At this time, the terminal may input the input mode corresponding to the input range according to step 302, and The keyboard display manner corresponding to the input range is one-to-one corresponding to recording a keyboard display manner corresponding to the input mode in the input range.
这样,在后续用户就可以不必再每次都划定输入范围,终端只需要获取用户的输入模式,就可以按照该输入模式对应的键盘显示方式显示键盘。In this way, the subsequent user can eliminate the input range every time, and the terminal only needs to obtain the input mode of the user, and the keyboard can be displayed according to the keyboard display mode corresponding to the input mode.
终端获取用户的输入模式的方法可以有两种,一种是:用户在需要用键盘输入数据时,给终端输入指令,终端接收到指令后可以显示选择界面,让用户来选择输入模式,用户可以根据个人习惯,通过点击所述选择界面上的输入模式选项来选择用户的输入模式。另一种是:终端收到指令后应用终端的相关感应识别系统,如重力识别系统或者压力识别系统,来实时检测当前用户的输入模式。There are two methods for the terminal to obtain the input mode of the user. One is: when the user needs to input data by using the keyboard, the user inputs an instruction, and after receiving the instruction, the terminal can display a selection interface, so that the user can select the input mode, and the user can According to personal habits, the user's input mode is selected by clicking the input mode option on the selection interface. The other is: after receiving the command, the terminal applies the relevant sensing recognition system of the terminal, such as a gravity recognition system or a pressure recognition system, to detect the input mode of the current user in real time.
终端获取到用户的输入模式,如果终端内未记录所述输入模式对应的键盘显示方式,则终端需要进行步骤301-304获取所述输入范围及其对应的输入模式;然后根据所述输入范围以及键盘框结构,确定所述输入范围对应的键盘显示方式;按照所述键盘显示方式在所述输入范围内显示键盘;并记录所述输入模式对应的键盘显示方式。当然,用户在本次使用键盘输入时,终端内已经存储有所述输入模式对应的键盘显示方式,则终端在获取用户的输入模式后,就可以直接按照存储的所述输入模式对应的键盘显示方式显示键盘。The terminal acquires the input mode of the user. If the keyboard display mode corresponding to the input mode is not recorded in the terminal, the terminal needs to perform steps 301-304 to obtain the input range and its corresponding input mode; and then according to the input range and a keyboard frame structure, determining a keyboard display manner corresponding to the input range; displaying a keyboard in the input range according to the keyboard display manner; and recording a keyboard display manner corresponding to the input mode. Of course, when the user inputs the keyboard, the keyboard display mode corresponding to the input mode is already stored in the terminal, and after the terminal obtains the input mode of the user, the terminal can directly display the keyboard corresponding to the stored input mode. The way the keyboard is displayed.
本实施例中,假设用户的输入模式为双手持拿双手输入模式,检测到的用户的输入范围为终端触摸显示屏的左下侧和右下侧,用户选定的键盘的框结构为拼音9键输入法框结构。In this embodiment, it is assumed that the input mode of the user is a dual-hand-held two-hand input mode, and the detected input range of the user is the lower left side and the lower right side of the touch display screen of the terminal, and the frame structure of the keyboard selected by the user is the pinyin 9 key. Enter the frame structure.
应用本实施例的方法最终在终端屏幕上显示的键盘如图4所示。图4中的两个弧线表示为用户手指划过的弧线,用户的输入范围在这两个弧线与终端边界之间。拼音9键输入法框结构的键盘显示在这两个弧线内,输出显示区可以在这两个弧线内除了显示键盘之外的地方,也可以在这两个 弧线外。图4中所示的输出显示区就设置在这两个弧线外,因为该输出显示区是位于的用户手指能够触摸到的两弧线之外,用户很难通过点击输出显示区的字符进行确认。故在拼音9键输入法框结构中必须要有确认方向键,用来选择输出显示区中的字符。当然,如果输出显示区在用户手指能够触摸到的两弧线范围内,则用户可以通过点击输出显示区内的字符进行确认,此时就不需要确认方向键。The keyboard finally displayed on the terminal screen by applying the method of the embodiment is as shown in FIG. The two arcs in Figure 4 represent the arcs that the user's finger strokes, and the user's input range is between the two arcs and the terminal boundary. The keyboard of the Pinyin 9-key input method frame is displayed in these two arcs, and the output display area can be in the two arcs except the display keyboard, and also in the two Out of the arc. The output display area shown in FIG. 4 is disposed outside the two arcs, because the output display area is outside the two arcs that the user's finger can touch, and it is difficult for the user to click on the characters of the output display area. confirm. Therefore, in the Pinyin 9-key input method frame structure, a confirmation direction key must be used to select the characters in the output display area. Of course, if the output display area is within the two arcs that the user's finger can touch, the user can confirm by clicking on the characters in the output display area, and there is no need to confirm the direction key.
本实施例中,由于键盘并不是位于屏幕下方长方形区域,终端需要对屏幕上方的显示内容进行调整,保证整个屏幕看起来不会很奇怪。当然,也可以通过图片覆盖等方法使得键盘成为规则的长方形,便于屏幕其他信息显示。In this embodiment, since the keyboard is not located in a rectangular area below the screen, the terminal needs to adjust the display content on the top of the screen to ensure that the entire screen does not look strange. Of course, the keyboard can also be made into a regular rectangle by means of image overlay, etc., to facilitate display of other information on the screen.
本实例中的键盘所在的输入显示区可以通过以下规则确定:1)输入显示区应该在用户划过的弧线和屏幕两边组成的扇形区域中;2)完整的输入显示区域是规则长方形且可左右对称分开;3)左下区域和右下区域形状完全一样,要求选择最大面积作为输入显示区。The input display area where the keyboard in this example is located can be determined by the following rules: 1) the input display area should be in the sector formed by the arc and the screen on both sides of the screen; 2) the complete input display area is a regular rectangle and can be The left and right sides are symmetrically separated; 3) the lower left area and the lower right area are exactly the same shape, and it is required to select the largest area as the input display area.
本实施中显示出图4所示的键盘的算法实现为:具体的根据规则2)3),即完整键盘长方形的宽比长是一定值,记作tga。沿点A及E做射线AB及ED,和两个弧线分别相交与点B和点D;分别从点B及点D做AE的垂线,分别和AE相交与点C及点F;取H=min(C,F)作为左右两边输入法显示区域对角线的横坐标,则纵坐标为G=H/tga。从而即可确定出在这两个弧线范围内该键盘的显示方式。然后就可以将键盘显示到该输入显示区域。In the present embodiment, the algorithm of the keyboard shown in FIG. 4 is implemented as follows: according to the rule 2) 3), that is, the width ratio length of the complete keyboard rectangle is a certain value, which is denoted as tga. Rays AB and ED are made along points A and E, and the two arcs intersect with point B and point D respectively; the perpendicular lines of AE are made from point B and point D, respectively, intersecting with AE and point C and point F; H=min(C,F) is the abscissa of the diagonal of the display area of the left and right input methods, and the ordinate is G=H/tga. This will determine how the keyboard will be displayed within these two arcs. The keyboard can then be displayed to the input display area.
本实施例方法通过按照用户的输入范围来进行相应的键盘显示,使所述键盘显示到用户的输入范围内;这样,用户在使用大屏幕终端时,可以方便地在输入范围内触摸到键盘上的任意按键,并应用该键盘进行输入。The method of the embodiment performs the corresponding keyboard display according to the input range of the user, so that the keyboard is displayed within the input range of the user; thus, when the user uses the large screen terminal, the keyboard can be conveniently touched on the keyboard within the input range. Any of the keys and apply the keyboard for input.
实施例4Example 4
本发明实施例提供了一种控制键盘显示的装置,该装置可以设置在终 端上,如图5所示,该装置包括:检测模块501和显示模块502,其中,Embodiments of the present invention provide a device for controlling keyboard display, which can be set at the end On the end, as shown in FIG. 5, the device includes: a detecting module 501 and a display module 502, where
检测模块501,配置为检测用户在所述触摸显示器上的输入范围;显示模块502,配置为在所述检测模块501检测到的所述输入范围内显示键盘。The detecting module 501 is configured to detect an input range of the user on the touch display; the display module 502 is configured to display the keyboard within the input range detected by the detecting module 501.
所述检测模块501,配置为根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示器上的输入范围。The detecting module 501 is configured to obtain an input range of the user on the touch display according to a holding manner of the user and a touch trajectory of the user in the holding manner.
如图5所示,所述装置还包括获取模块503和记录模块504,其中,As shown in FIG. 5, the device further includes an obtaining module 503 and a recording module 504, where
所述获取模块503,配置为获取所述输入范围对应的输入模式;The obtaining module 503 is configured to acquire an input mode corresponding to the input range;
相应的,所述记录模块504,配置为记录所述获取模块503获取的所述输入模式对应的键盘显示方式,所述键盘显示方式为所述显示模块502在所述输入范围内显示键盘的方式。所述获取模块503,还配置为获取所述输入模式;所述显示模块502,还配置为按照所述记录模块504记录的所述输入模式对应的键盘显示方式显示键盘。Correspondingly, the recording module 504 is configured to record a keyboard display manner corresponding to the input mode acquired by the obtaining module 503, where the keyboard display mode is a manner in which the display module 502 displays a keyboard within the input range. . The obtaining module 503 is further configured to acquire the input mode. The display module 502 is further configured to display a keyboard according to a keyboard display manner corresponding to the input mode recorded by the recording module 504.
如图5所示,所述装置还包括:处理模块505;其中,As shown in FIG. 5, the device further includes: a processing module 505; wherein
所述处理模块505,配置为根据所述检测模块501检测到的输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式;所述显示模块502,配置为按照所述处理模块505确定的键盘显示方式在所述输入范围内显示键盘。The processing module 505 is configured to determine, according to the input range detected by the detecting module 501 and the frame structure of the keyboard, a keyboard display manner corresponding to the input range; the display module 502 is configured to follow the processing module The keyboard display mode determined by 505 displays the keyboard within the input range.
如图5所示,所述装置还包括:接收模块506;其中,As shown in FIG. 5, the device further includes: a receiving module 506; wherein
所述处理模块505,配置为根据所述检测模块501检测到的所述输入范围以及各种键盘的框结构,获得多种键盘显示方式;所述显示模块502,还配置为预览显示所述处理模块505获得的多种键盘显示方式,提示用户输入指令;所述接收模块506,配置为接收用户输入的指令,所述指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;所述处理模块505,配置为按照所述接收模块506接收到的指令确定所述输入范围对应的键盘显示方式。 The processing module 505 is configured to obtain a plurality of keyboard display modes according to the input range detected by the detecting module 501 and the frame structure of various keyboards. The display module 502 is further configured to preview display the processing. The module 505 obtains a plurality of keyboard display modes, and prompts the user to input an instruction. The receiving module 506 is configured to receive an instruction input by the user, where the instruction is used to indicate that the input range is determined from the plurality of keyboard display modes. The processing module 505 is configured to determine a keyboard display manner corresponding to the input range according to an instruction received by the receiving module 506.
或者,所述接收模块506,配置为接收用户输入的第一指令;所述处理模块505,配置为按照所述接收模块506接收到的第一指令确定用户选定的键盘的框结构,并根据所述输入范围以及所述用户选定的键盘的框结构,获得多种键盘显示方式;所述显示模块502,还配置为预览显示所述处理模块获得的多种键盘显示方式,提示用户输入第二指令,所述第二指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;所述接收模块506,配置为接收用户输入的第二指令;所述处理模块505,配置为按照所述接收模块506接收到的第二指令确定所述输入范围对应的键盘显示方式。Alternatively, the receiving module 506 is configured to receive a first instruction input by the user; the processing module 505 is configured to determine a frame structure of the keyboard selected by the user according to the first instruction received by the receiving module 506, and according to The input range and the frame structure of the keyboard selected by the user are used to obtain a plurality of keyboard display modes. The display module 502 is further configured to preview and display various keyboard display modes obtained by the processing module, and prompt the user to input the first a second instruction, the second instruction is used to determine a keyboard display manner corresponding to the input range from the plurality of keyboard display modes; the receiving module 506 is configured to receive a second instruction input by a user; The module 505 is configured to determine, according to the second instruction received by the receiving module 506, a keyboard display manner corresponding to the input range.
实施例5Example 5
本发明实施例提供了一种终端,所述终端为具有触摸显示屏的电子设备,包括处理器和显示器,其中,所述处理器,配置为检测用户在所述触摸显示屏上的输入范围;所述显示器,配置为在所述处理器检测到的所述输入范围内显示键盘。An embodiment of the present invention provides a terminal, where the terminal is an electronic device having a touch display screen, including a processor and a display, wherein the processor is configured to detect an input range of the user on the touch display screen; The display is configured to display a keyboard within the input range detected by the processor.
所述终端可以用于实现实施例1-实施例3中所述的方法,实施例4中所述的检测模块501、获取模块503、记录模块504、处理模块505、接收模块506都可由位于终端上的处理器实现。显示模块502可由位于终端上的显示器实现。这里的终端可以是诸如智能手机、笔记本电脑、个人数字助理(PDA)、平板电脑(PAD)等具有触摸显示屏的终端。The terminal may be used to implement the method described in Embodiment 1 - Embodiment 3. The detection module 501, the acquisition module 503, the recording module 504, the processing module 505, and the receiving module 506 described in Embodiment 4 may all be located at the terminal. On the processor implementation. Display module 502 can be implemented by a display located on the terminal. The terminal here may be a terminal with a touch display such as a smart phone, a notebook computer, a personal digital assistant (PDA), a tablet computer (PAD).
所述处理器可包括应用处理器、中央处理器、微处理器、数字信号处理器或可编程阵列等具有信息处理功能的处理结构,所述处理器还可包括专用集成电路等处理结构。The processor may include a processing structure having an information processing function, such as an application processor, a central processing unit, a microprocessor, a digital signal processor, or a programmable array, and the processor may further include a processing structure such as an application specific integrated circuit.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention may be employed in one or more of its A computer program product embodied on a computer usable storage medium (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。 The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. The modifications made in accordance with the principles of the present invention are understood to fall within the scope of the present invention.

Claims (16)

  1. 一种控制键盘显示的方法,用于具有触摸显示屏的电子设备,所述方法包括:A method of controlling a keyboard display for an electronic device having a touch display screen, the method comprising:
    检测用户在所述触摸显示屏上的输入范围;Detecting a user's input range on the touch display screen;
    在所述输入范围内显示键盘。A keyboard is displayed within the input range.
  2. 根据权利要求1所述的方法,其中,检测用户在所述触摸显示器上的输入范围,包括:The method of claim 1 wherein detecting an input range of a user on the touch display comprises:
    根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示器上的输入范围。The input range of the user on the touch display is obtained according to the manner in which the user holds and the touch trajectory of the user in the holding mode.
  3. 根据权利要求1所述的方法,其中,所述检测用户在所述触摸显示器上的输入范围之后,所述方法还包括:The method of claim 1, wherein after the detecting a user's input range on the touch display, the method further comprises:
    获取所述输入范围对应的输入模式;Obtaining an input mode corresponding to the input range;
    所述方法还包括:The method further includes:
    记录所述输入模式对应的键盘显示方式,所述键盘显示方式为在所述输入范围内显示键盘的方式。Recording a keyboard display manner corresponding to the input mode, and the keyboard display manner is a manner of displaying a keyboard within the input range.
  4. 根据权利要求3所述的方法,其中,在记录所述输入模式对应的键盘显示方式之后,所述方法还包括:The method of claim 3, wherein after the recording of the keyboard display mode corresponding to the input mode, the method further comprises:
    获取所述输入模式,并按照记录的所述输入模式对应的键盘显示方式显示键盘。Obtaining the input mode, and displaying the keyboard according to the recorded keyboard display mode corresponding to the input mode.
  5. 根据权利要求1至4任一项所述的方法,其中,所述在所述输入范围内显示键盘包括:The method of any one of claims 1 to 4, wherein said displaying a keyboard within said input range comprises:
    根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,按照所述键盘显示方式在所述输入范围内显示键盘。And determining, according to the input range and the frame structure of the keyboard, a keyboard display manner corresponding to the input range, and displaying the keyboard within the input range according to the keyboard display manner.
  6. 根据权利要求5所述的方法,其中,根据所述输入范围以及键盘的 框结构,确定出所述输入范围对应的键盘显示方式,包括:The method of claim 5, wherein the input range and the keyboard are The frame structure determines a keyboard display manner corresponding to the input range, including:
    根据所述输入范围以及各种键盘的框结构,获得多种键盘显示方式;According to the input range and the frame structure of various keyboards, various keyboard display modes are obtained;
    预览显示所述多种键盘显示方式,提示用户输入指令,所述指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The preview displays the plurality of keyboard display modes, and prompts the user to input an instruction, where the instruction is used to indicate that a keyboard display manner corresponding to the input range is determined from the plurality of keyboard display modes;
    按照用户输入的指令确定所述输入范围对应的键盘显示方式。The keyboard display mode corresponding to the input range is determined according to an instruction input by the user.
  7. 根据权利要求5所述的方法,其中,根据所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式,包括:The method according to claim 5, wherein the keyboard display manner corresponding to the input range is determined according to the input range and the frame structure of the keyboard, including:
    按照用户输入的第一指令确定用户选定的键盘的框结构;Determining a frame structure of a keyboard selected by the user according to the first instruction input by the user;
    根据所述输入范围以及所述用户选定的键盘的框结构,获得多种键盘显示方式;Obtaining a plurality of keyboard display modes according to the input range and a frame structure of the keyboard selected by the user;
    预览显示所述多种键盘显示方式,提示用户输入第二指令,所述第二指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The preview display the plurality of keyboard display manners, prompting the user to input a second instruction, where the second instruction is used to indicate that the keyboard display manner corresponding to the input range is determined from the plurality of keyboard display manners;
    按照用户输入的第二指令确定所述输入范围对应的键盘显示方式。The keyboard display manner corresponding to the input range is determined according to a second instruction input by the user.
  8. 一种控制键盘显示的装置,设置在具有触摸显示屏的电子设备上,所述装置包括:A device for controlling a keyboard display, disposed on an electronic device having a touch display screen, the device comprising:
    检测模块,配置为检测用户在所述触摸显示屏上的输入范围;a detecting module configured to detect a user input range on the touch display screen;
    显示模块,配置为在所述检测模块检测到的所述输入范围内显示键盘。a display module configured to display a keyboard within the input range detected by the detection module.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述检测模块,配置为根据用户的持拿方式以及用户在所述持拿方式下的触摸轨迹获得用户在所述触摸显示器上的输入范围。The detecting module is configured to obtain an input range of the user on the touch display according to a holding manner of the user and a touch trajectory of the user in the holding manner.
  10. 根据权利要求8所述的装置,其中,所述装置还包括获取模块和记录模块,其中,The apparatus according to claim 8, wherein said apparatus further comprises an acquisition module and a recording module, wherein
    所述获取模块,配置为获取所述输入范围对应的输入模式;The acquiring module is configured to acquire an input mode corresponding to the input range;
    所述记录模块,配置为记录所述获取模块获取的所述输入模式对应的 键盘显示方式,所述键盘显示方式为所述显示模块在所述输入范围内显示键盘的方式。The recording module is configured to record, corresponding to the input mode acquired by the acquiring module The keyboard display mode is a manner in which the display module displays the keyboard within the input range.
  11. 根据权利要求10所述的装置,其中,The device according to claim 10, wherein
    所述获取模块,还配置为获取所述输入模式;The obtaining module is further configured to acquire the input mode;
    所述显示模块,还配置为按照所述记录模块记录的所述输入模式对应的键盘显示方式显示键盘。The display module is further configured to display the keyboard according to a keyboard display manner corresponding to the input mode recorded by the recording module.
  12. 根据权利要求8至11任一项所述的装置,其中,所述装置还包括:处理模块;其中,The apparatus according to any one of claims 8 to 11, wherein the apparatus further comprises: a processing module; wherein
    所述处理模块,配置为根据所述检测模块检测到的所述输入范围以及键盘的框结构,确定出所述输入范围对应的键盘显示方式;The processing module is configured to determine, according to the input range detected by the detecting module and the frame structure of the keyboard, a keyboard display manner corresponding to the input range;
    所述显示模块,配置为按照所述处理模块确定的键盘显示方式在所述输入范围内显示键盘。The display module is configured to display a keyboard within the input range according to a keyboard display manner determined by the processing module.
  13. 根据权利要求12所述的装置,其中,所述装置还包括:接收模块;The device of claim 12, wherein the device further comprises: a receiving module;
    所述处理模块,配置为根据所述检测模块检测到的所述输入范围以及各种键盘的框结构,获得多种键盘显示方式;The processing module is configured to obtain a plurality of keyboard display modes according to the input range detected by the detecting module and the frame structure of various keyboards;
    所述显示模块,还配置为预览显示所述处理模块获得的多种键盘显示方式,提示用户输入指令;The display module is further configured to preview display a plurality of keyboard display modes obtained by the processing module, and prompt the user to input an instruction;
    所述接收模块,配置为接收用户输入的指令,所述指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The receiving module is configured to receive an instruction input by a user, where the instruction is used to indicate that a keyboard display manner corresponding to the input range is determined from the plurality of keyboard display modes;
    所述处理模块,配置为按照所述接收模块接收到的指令确定所述输入范围对应的键盘显示方式。The processing module is configured to determine, according to an instruction received by the receiving module, a keyboard display manner corresponding to the input range.
  14. 根据权利要求12所述的装置,其中,所述装置还包括:接收模块;The device of claim 12, wherein the device further comprises: a receiving module;
    所述接收模块,配置为接收用户输入的第一指令;The receiving module is configured to receive a first instruction input by a user;
    所述处理模块,配置为按照所述接收模块接收到的第一指令确定用户选定的键盘的框结构,并根据所述检测模块检测到的所述输入范围以及所 述用户选定的键盘的框结构,获得多种键盘显示方式;The processing module is configured to determine a frame structure of a keyboard selected by the user according to the first instruction received by the receiving module, and according to the input range and the detected by the detecting module The frame structure of the keyboard selected by the user is obtained, and various keyboard display modes are obtained;
    所述显示模块,还配置为预览显示所述处理模块获得的多种键盘显示方式,提示用户输入第二指令,所述第二指令用于指示从所述多种键盘显示方式中确定所述输入范围对应的键盘显示方式;The display module is further configured to preview display a plurality of keyboard display modes obtained by the processing module, and prompt the user to input a second instruction, where the second instruction is used to indicate that the input is determined from the multiple keyboard display modes. The keyboard display mode corresponding to the range;
    所述接收模块,配置为接收用户输入的第二指令;The receiving module is configured to receive a second instruction input by a user;
    所述处理模块,配置为按照所述接收模块接收到的第二指令确定所述输入范围对应的键盘显示方式。The processing module is configured to determine a keyboard display manner corresponding to the input range according to the second instruction received by the receiving module.
  15. 一种终端,其中,所述终端包括:处理器和显示器;其中,A terminal, wherein the terminal comprises: a processor and a display; wherein
    所述处理器,配置为检测用户在所述触摸显示屏上的输入范围;The processor is configured to detect an input range of a user on the touch display screen;
    所述显示器,配置为在所述处理器检测到的所述输入范围内显示键盘。The display is configured to display a keyboard within the input range detected by the processor.
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至7所述方法的至少其中之一。 A computer storage medium having stored therein computer executable instructions for performing at least one of the methods of claims 1-7.
PCT/CN2015/085710 2015-05-21 2015-07-31 Method, apparatus and terminal for controlling keyboard display and computer storage medium WO2016183940A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510263646.3 2015-05-21
CN201510263646.3A CN106293429A (en) 2015-05-21 2015-05-21 A kind of method and device controlling keyboard & display

Publications (1)

Publication Number Publication Date
WO2016183940A1 true WO2016183940A1 (en) 2016-11-24

Family

ID=57319311

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085710 WO2016183940A1 (en) 2015-05-21 2015-07-31 Method, apparatus and terminal for controlling keyboard display and computer storage medium

Country Status (2)

Country Link
CN (1) CN106293429A (en)
WO (1) WO2016183940A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324423A (en) * 2012-03-21 2013-09-25 北京三星通信技术研究有限公司 Terminal and user interface display method thereof
US20140098024A1 (en) * 2012-10-10 2014-04-10 Microsoft Corporation Split virtual keyboard on a mobile computing device
CN104007917A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Control method for virtual keyboard and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123072B (en) * 2013-04-28 2019-03-19 百度在线网络技术(北京)有限公司 It is a kind of for providing the method and apparatus of the dummy keyboard in mobile device
CN104156166B (en) * 2014-07-21 2017-12-05 小米科技有限责任公司 Operational controls layout adjustment method and device
CN104238919A (en) * 2014-08-25 2014-12-24 三星电子(中国)研发中心 Method and device for moving display content of interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324423A (en) * 2012-03-21 2013-09-25 北京三星通信技术研究有限公司 Terminal and user interface display method thereof
US20140098024A1 (en) * 2012-10-10 2014-04-10 Microsoft Corporation Split virtual keyboard on a mobile computing device
CN104007917A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Control method for virtual keyboard and electronic device

Also Published As

Publication number Publication date
CN106293429A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US10296206B2 (en) Multi-finger touchpad gestures
CN102221957B (en) Electronic equipment and operation control method thereof
CA2841195C (en) Method and apparatus for multitasking
KR102519800B1 (en) Electronic device
US8564555B2 (en) Operating a touch screen control system according to a plurality of rule sets
CN109428969B (en) Edge touch method and device of double-screen terminal and computer readable storage medium
CN106909305B (en) Method and apparatus for displaying graphical user interface
US20140198036A1 (en) Method for controlling a portable apparatus including a flexible display and the portable apparatus
US20130067400A1 (en) Pinch To Adjust
US9696882B2 (en) Operation processing method, operation processing device, and control method
KR101654335B1 (en) Gesture command method and terminal using bezel of touch screen
KR102168648B1 (en) User terminal apparatus and control method thereof
US10387033B2 (en) Size reduction and utilization of software keyboards
TWI616803B (en) Method, apparatus and computer program product for zooming and operating screen frame
KR102205283B1 (en) Electro device executing at least one application and method for controlling thereof
US20130179845A1 (en) Method and apparatus for displaying keypad in terminal having touch screen
KR20170057823A (en) Method and electronic apparatus for touch input via edge screen
US20140285445A1 (en) Portable device and operating method thereof
WO2016183912A1 (en) Menu layout arrangement method and apparatus
US20130238976A1 (en) Information processing apparatus, information processing method, and computer program
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
WO2023030307A1 (en) Screenshot method and apparatus, and electronic device
WO2016183940A1 (en) Method, apparatus and terminal for controlling keyboard display and computer storage medium
KR101366170B1 (en) User Interface for controlling state of menu
US20140085340A1 (en) Method and electronic device for manipulating scale or rotation of graphic on display

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

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

Country of ref document: EP

Kind code of ref document: A1