[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2015127731A1 - Soft keyboard layout adjustment method and apparatus - Google Patents

Soft keyboard layout adjustment method and apparatus Download PDF

Info

Publication number
WO2015127731A1
WO2015127731A1 PCT/CN2014/080319 CN2014080319W WO2015127731A1 WO 2015127731 A1 WO2015127731 A1 WO 2015127731A1 CN 2014080319 W CN2014080319 W CN 2014080319W WO 2015127731 A1 WO2015127731 A1 WO 2015127731A1
Authority
WO
WIPO (PCT)
Prior art keywords
soft keyboard
user
coordinate value
finger
finger tip
Prior art date
Application number
PCT/CN2014/080319
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 WO2015127731A1 publication Critical patent/WO2015127731A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a soft keyboard layout adjustment method and apparatus. Background technique
  • a mobile device equipped with a touch screen usually adopts a soft keyboard input mode, and the soft keyboard layout can select a full keyboard or a traditional 12-key keyboard.
  • a traditional 12-key keyboard one button is shared by three to four letters, often multiple clicks to filter the target value.
  • the full keyboard layout each letter has a separate button corresponding to it, and the target value can be obtained with a single click, which improves the input efficiency.
  • the individual keys of the full keyboard are usually too narrow.
  • portable electronic computing devices with limited width such as mobile phones.
  • the narrow button size is easy to cause the wrong button to be pressed, which improves the input error rate and reduces the input efficiency.
  • the present invention has been made in order to provide a soft keyboard layout adjustment method and apparatus.
  • the embodiment of the invention provides a soft keyboard layout adjustment method, including:
  • the finger movement information when the user inputs the soft keyboard is collected, the coordinate value set of the finger movement of the user finger is calculated according to the finger movement information, and the displacement direction of the finger finger end of the user on the soft keyboard is determined according to the coordinate value set. ;
  • the coordinate value set and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved is determined, and the keys in the target soft keyboard area are enlarged, and the keys in the remaining soft keyboard areas are reduced. And display it.
  • the information about the finger movement when the user inputs the soft keyboard includes: Adjusting the terminal's own camera is capable of capturing the soft keyboard input angle, and taking the action of the user's fingertip when taking the soft keyboard input by the self-contained camera to form the finger movement information of the video data format.
  • the coordinate value set of the finger movement of the user finger is calculated according to the finger movement information, and the displacement direction of the finger finger end of the user on the soft keyboard is determined according to the coordinate value set, specifically: calculating the video data by using a graphic processing algorithm The coordinate value of the user's finger pointing end of each frame of video data, and acquiring a coordinate value set of the user's finger finger movement within a predetermined time, and determining the displacement direction of the user's finger finger end on the soft keyboard according to the coordinate value set.
  • determining the target soft keyboard area to which the user's fingertip is to be moved specifically includes:
  • the target soft keyboard area to which the user's fingertip is to be moved is determined.
  • the above method further comprises: turning off or turning on the soft keyboard layout adjustment function of the terminal according to the operation of the user.
  • the embodiment of the invention further provides a soft keyboard layout adjusting device, comprising:
  • the collection module is configured to collect finger movement information when the user inputs the soft keyboard in the terminal;
  • the calculation module is configured to calculate a coordinate value set of the movement of the fingertip of the user within a predetermined time according to the movement information of the finger, and determine according to the coordinate value set The direction of displacement of the user's finger on the soft keyboard;
  • the processing module is configured to determine, according to the pre-divided soft keyboard partition, the coordinate value set and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved, and enlarge the button in the target soft keyboard area, and the remaining soft keyboard area The button in the button is zoomed out and displayed.
  • the collection module is specifically configured to: adjust the terminal self-contained camera to be able to capture the soft keyboard input angle, and take the action of the user's fingertip when the soft keyboard input is performed by the self-contained camera to form the finger movement information of the video data format.
  • the calculating module is specifically configured to: calculate, by using a graphics processing algorithm, coordinate values of a user's fingertips of each frame of video data in the video data, and acquire coordinates of the fingertip movement of the user within a predetermined time
  • the set of values, and the direction of displacement of the fingertip of the user on the soft keyboard is determined according to the set of coordinate values.
  • the processing module is specifically configured to: determine, according to a coordinate value of a current user finger finger end in the coordinate value set, and a coordinate value of the pre-divided soft keyboard partition, determine a soft keyboard area where the current user finger finger end is located; according to the current user The soft keyboard area where the finger is pointed and the direction of displacement determine the target soft keyboard area to which the user's fingertip is to be moved.
  • the device further includes: a selection module, configured to select to turn off or turn on the soft keyboard layout adjustment function of the terminal according to a user operation.
  • a selection module configured to select to turn off or turn on the soft keyboard layout adjustment function of the terminal according to a user operation.
  • the error of the full keyboard input caused by the narrow key is solved in the prior art.
  • the problem can reduce the probability of the user pressing the wrong key and improve the efficiency of the user's text input.
  • FIG. 1 is a flowchart of a method for adjusting a soft keyboard layout according to an embodiment of the present invention
  • FIG. 2 is a flowchart of detailed processing of a soft keyboard layout adjustment method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a soft keyboard partition according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram showing the layout of the soft keyboard automatically adjusted to the left button in the embodiment of the present invention
  • FIG. 5 is a schematic diagram showing the layout of the soft keyboard automatically adjusted to the right button in the embodiment of the present invention
  • FIG. 6 is a soft keyboard according to an embodiment of the present invention
  • Schematic diagram of the layout adjustment device
  • the present invention provides a soft keyboard layout adjustment method and device.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. . It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • FIG. 1 is a flowchart of a soft keyboard layout adjustment method according to an embodiment of the present invention, which includes the following processing:
  • Step 101 Collect finger movement information when the user inputs the soft keyboard, calculate a coordinate value set of the finger movement of the user finger within a predetermined time according to the finger movement information, and collect according to the coordinate value
  • the finger movement information of the user when performing the soft keyboard input specifically includes: adjusting the terminal self-contained camera to be able to capture the soft keyboard input angle, and photographing the user finger when performing the soft keyboard input by the self-contained camera
  • the action of the fingertip forms the finger movement information in the video data format.
  • step 101 the set of coordinate values of the fingertip movement of the user within a predetermined time is calculated according to the finger movement information, and the direction of displacement of the fingertip of the user on the soft keyboard according to the coordinate value set specifically includes:
  • Step 102 Determine, according to the pre-divided soft keyboard partition, the coordinate value set, and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved, and enlarge the button in the target soft keyboard area, and the remaining soft keyboard area The button is zoomed out and displayed.
  • step 102 according to the pre-divided soft keyboard partition, the coordinate value set, and the displacement direction, determining the target soft keyboard area to which the user's fingertip is to be moved specifically includes:
  • the target soft keyboard area to which the user's fingertip is to be moved is determined.
  • the soft keyboard layout adjustment function of the terminal may be turned off or on according to the operation of the user.
  • the terminal must have at least the following components: a touch sensitive display (ie, a touch screen), a camera, and a computing control module.
  • a touch sensitive display ie, a touch screen
  • the camera is located above the touch screen and can be rotated; if the camera is not rotatable, but the angle is fixed to an angle at which the touch screen can be captured.
  • the above computing control module includes one or more calculators, controllers, and memories of the device. The technical solution of the embodiment of the present invention preliminarily judges the input intention by photographing the finger motion, and then dynamically adjusts the soft keyboard layout.
  • the camera located above the touch screen collects video data that the finger moves on the keyboard.
  • the video data of the finger movement collected by the ⁇ is sent to the calculation control module, and the coordinate value of the finger finger end in the single frame video is calculated by the graphics processing algorithm.
  • the calculation control module calculates the recorded array of fingertip coordinate values, and calculates the displacement direction of the fingertip coordinates for a continuous period of time, thereby judging that the finger is moving in the direction of the screen.
  • the calculation control module determines which area of the screen the fingertip is located by comparing the fingertip coordinate value with the screen partition coordinate value. And combined with the direction of the finger displacement obtained before, comprehensively determine which area of the screen the finger will move.
  • the calculation control module adjusts the layout of the soft keyboard, enlarges the button of the target area where the finger is moved, and the keys of the remaining areas are correspondingly reduced, and the adjusted layout is refreshed, and the new keyboard layout is displayed by the touch screen.
  • whether the keyboard layout is dynamically adjusted at the time of input can be selectively turned on or off by the user.
  • the soft keyboard dynamically adjusts the button size according to the pre-divided keyboard partition, and the sub-area is uniformly and dynamically adjusted, that is, the button size of the target area is uniformly enlarged, and the button size of other non-target areas is uniformly reduced.
  • the partition can be determined based on the camera module's collection speed and the processor's calculation speed. Generally, the higher the processing speed of image collection and system, the more partitions can be divided, and the number of buttons in a single area is small. Therefore, the size of a single button can be enlarged. On the contrary, the number of partitions is small, and the number of buttons in a single area is large. The size that can be enlarged will be smaller.
  • the design principle is to ensure that the keyboard partition is minimized and the burden of the computing system is reduced by ensuring that a single button is zoomed in to greatly reduce the false touch rate.
  • FIG. 2 is a flowchart of detailed processing of a method for adjusting a soft keyboard layout according to an embodiment of the present invention. As shown in FIG. 2, the following specifically includes the following processing:
  • Step 201 The system detects that the text input box obtains focus, and starts the soft keyboard startup process. Turn the camera above the touch screen to a predetermined angle and turn on the camera. The predetermined angle is designed to ensure that the camera can capture the soft keyboard area below the screen.
  • Step 202 displaying a soft keyboard interface.
  • Step 203 The camera captures a finger motion image.
  • the collected video data is sent to the processor for corresponding graphics algorithm calculation.
  • Step 204 Acquire coordinate values of the fingertips in the image by calculation and record them in an array. Steps 203 and 204 are executed cyclically, and the coordinate data of the finger end is continuously acquired and the coordinate value array is updated.
  • Step 205 Calculate the finger end displacement direction by using a plurality of coordinate points continuously recorded.
  • Step 206 Determine whether the finger end horizontal coordinate is to the left of the screen horizontal center line and whether the current finger end displacement direction is to the left. If the result of the determination is true, then the process proceeds to step 207, and the result of the determination is otherwise to step 208.
  • Step 207 If the result of the determination in step 206 is true, the system determines that the user wants to click the button on the left side of the keyboard, and automatically adjusts the full keyboard layout.
  • FIG. 3 is a schematic diagram of a soft keyboard partition according to an embodiment of the present invention.
  • the keyboard is divided into two areas, left and right, which are respectively identified by black and white colors.
  • the middle gray area is the area where the left and right areas overlap.
  • the buttons on the left white area and the middle gray area in the keyboard layout of Fig. 3 are widened, and the keys on the right black area are narrowed. The result is shown in Fig. 4. Then go back to step 205.
  • Step 208 Determine whether the finger end horizontal coordinate is on the right side of the screen horizontal center line and whether the current finger end displacement direction is to the right. If the result of the determination is true, the process goes to step 209, and the result of the determination is otherwise, and the process returns to step 205.
  • Step 209 If the result of the determination in step 208 is true, the system determines that the user wants to click the button on the right side of the keyboard, and automatically adjusts the full keyboard layout. In the keyboard layout of Figure 3, the buttons on the right black area and the middle gray area will be widened, and the buttons on the left white area will be narrowed. The result is shown in Figure 5. Then go back and repeat step 205.
  • the technical solution described in the embodiment of the present invention can pre-determine the intention of the user's button, and dynamically increase the local button of the keyboard according to the user's intention, widen the target button, and reduce the probability of the user pressing the wrong button. Improve the efficiency of text input.
  • FIG. 6 is a schematic structural diagram of a soft keyboard layout adjustment apparatus according to an embodiment of the present invention. As shown in FIG. 6, the soft keyboard layout adjustment according to an embodiment of the present invention is shown.
  • the device includes: a collection module 60, a calculation module 62, and a processing module 64. The respective modules of the embodiments of the present invention are described in detail below.
  • the collection module 60 is configured to collect finger movement information when the user inputs the soft keyboard at the terminal; preferably, the collection module 60 is specifically configured to: adjust the terminal self-equipped camera to be able to capture the soft keyboard The input angle is used to capture the movement of the finger of the user in the video data format by taking the action of the user's fingertip when the soft keyboard is input.
  • the calculating module 62 is configured to calculate a coordinate value set of the fingertip movement of the user within a predetermined time according to the finger movement information, and determine a displacement direction of the finger finger end of the user on the soft keyboard according to the coordinate value set; 5 preferably, the calculation module 62 is specifically configured to: calculate a coordinate value of a user finger finger end of each frame of video data in the video data by using a graphics processing algorithm, and acquire a coordinate value set of the finger finger movement of the user within a predetermined time, and determine the user finger finger according to the coordinate value set; The direction of displacement on the soft keyboard.
  • the processing module 64 is configured to determine, according to the pre-divided soft keyboard partition, the coordinate value set, and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved, and press the 10 key in the target soft keyboard area to enlarge the rest.
  • the buttons in the soft keyboard area are zoomed out and displayed.
  • the processing module 64 is specifically configured to: determine, according to a coordinate value of a current user finger finger end in the coordinate value set, and a coordinate value of the pre-divided soft keyboard partition, determine a soft keyboard area where the current user finger finger end is located; The soft keyboard area where the user's fingertip is located, and the direction of displacement determine the target soft keyboard area to which the user's fingertip is to be moved.
  • the apparatus according to the embodiment of the present invention further comprises: a selection module for selecting to disable or turn on the soft keyboard layout adjustment function of the terminal according to the user's operation.
  • the terminal has at least the following components, and the collection module can be a touch-sensitive display (ie, a touch screen) and a camera; the calculation module, the processing module, and the selection module can be one or more calculators, controllers, and Memory.
  • the camera is located above the touch screen and can be rotated; if the camera is not rotated, the angle is fixed to the angle at which the touch screen can be captured.
  • the technical solution of the embodiment of the present invention determines the target soft keyboard area to which the user's fingertip is to be moved according to the finger movement information when the user inputs the soft keyboard at the terminal, and performs the release of the target soft keyboard area.
  • the full keyboard input is easy to input and error caused by the narrow button, which can reduce the probability of the user pressing the wrong key and improve the efficiency of the user's text input.

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

Disclosed are a soft keyboard layout adjustment method and an apparatus. The method comprises: collecting finger movement information when a user performs soft keyboard input on a terminal, calculating a coordinate value set of finger tip movement of the user within preset time according to the finger movement information, and determining a displacement direction of a finger tip of the user on a soft keyboard according to the coordinate value set; and determining a target soft keyboard area to which the finger tip of the user will move according to pre-divided soft keyboard areas, the coordinate value set and the displacement direction, magnifying keys in the target soft keyboard area, minifying keys in other soft keyboard areas, and performing display.

Description

软键盘布局调整方法及装置 技术领域  Soft keyboard layout adjustment method and device
本发明涉及计算机技术领域,特别是涉及一种软键盘布局调整方法及装置。 背景技术  The present invention relates to the field of computer technologies, and in particular, to a soft keyboard layout adjustment method and apparatus. Background technique
在现有技术中, 配备触摸屏的移动设备通常釆用软键盘输入的方式, 软键 盘布局可以选择全键盘,也可以选择传统的 12键键盘。在传统的 12键键盘中, 一个按键由三至四个字母共用, 经常要多次点击才能筛选到目标值。 在全键盘 布局下,每一个字母都有独立的按键与之对应, 只需点击一次即可获取目标值, 提高了输入效率。  In the prior art, a mobile device equipped with a touch screen usually adopts a soft keyboard input mode, and the soft keyboard layout can select a full keyboard or a traditional 12-key keyboard. In a traditional 12-key keyboard, one button is shared by three to four letters, often multiple clicks to filter the target value. In the full keyboard layout, each letter has a separate button corresponding to it, and the target value can be obtained with a single click, which improves the input efficiency.
受限于屏幕的宽度, 全键盘的单个按键通常过于窄小。 特别是像手机这样 宽度有限的便携式电子计算设备。 按键窄小容易引发按错键, 提升了输入的错 误率, 降低了输入的效率。 发明内容  Limited by the width of the screen, the individual keys of the full keyboard are usually too narrow. In particular, portable electronic computing devices with limited width, such as mobile phones. The narrow button size is easy to cause the wrong button to be pressed, which improves the input error rate and reduces the input efficiency. Summary of the invention
鉴于现有技术中全键盘输入因按键窄小而引发的易输错的问题, 提出了本 发明以便提供一种软键盘布局调整方法及装置。  In view of the problem of easy error input caused by the narrow keyboard keys in the prior art, the present invention has been made in order to provide a soft keyboard layout adjustment method and apparatus.
本发明实施例提供一种软键盘布局调整方法, 包括:  The embodiment of the invention provides a soft keyboard layout adjustment method, including:
釆集用户在终端进行软键盘输入时的手指移动信息, 根据手指移动信息计 算预定时间内用户手指指端移动的坐标值集合, 并根据坐标值集合判断用户手 指指端在软键盘上的位移方向;  The finger movement information when the user inputs the soft keyboard is collected, the coordinate value set of the finger movement of the user finger is calculated according to the finger movement information, and the displacement direction of the finger finger end of the user on the soft keyboard is determined according to the coordinate value set. ;
根据预先划分的软键盘分区、 坐标值集合以及位移方向, 确定用户手指指 端将要移动到的目标软键盘区域, 并将目标软键盘区域中的按键放大, 将其余 软键盘区域中的按键缩小, 并进行显示。  According to the pre-divided soft keyboard partition, the coordinate value set and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved is determined, and the keys in the target soft keyboard area are enlarged, and the keys in the remaining soft keyboard areas are reduced. And display it.
优选地, 釆集用户在进行软键盘输入时的手指移动信息具体包括: 调整终端自带摄像头为能够拍摄到软键盘输入角度, 通过自带摄像头拍摄 在进行软键盘输入时用户手指指端的动作,形成视频数据格式的手指移动信息。 Preferably, the information about the finger movement when the user inputs the soft keyboard includes: Adjusting the terminal's own camera is capable of capturing the soft keyboard input angle, and taking the action of the user's fingertip when taking the soft keyboard input by the self-contained camera to form the finger movement information of the video data format.
优选地, 才艮据手指移动信息计算预定时间内用户手指指端移动的坐标值集 合, 并根据坐标值集合判断用户手指指端在软键盘上的位移方向具体包括: 通过图形处理算法计算视频数据中每一帧视频数据的用户手指指端的坐标 值, 并获取预定时间内用户手指指端移动的坐标值集合, 并根据坐标值集合判 断用户手指指端在软键盘上的位移方向。  Preferably, the coordinate value set of the finger movement of the user finger is calculated according to the finger movement information, and the displacement direction of the finger finger end of the user on the soft keyboard is determined according to the coordinate value set, specifically: calculating the video data by using a graphic processing algorithm The coordinate value of the user's finger pointing end of each frame of video data, and acquiring a coordinate value set of the user's finger finger movement within a predetermined time, and determining the displacement direction of the user's finger finger end on the soft keyboard according to the coordinate value set.
优选地, 根据预先划分的软键盘分区、 坐标值集合以及位移方向, 确定用 户手指指端将要移动到的目标软键盘区域具体包括:  Preferably, according to the pre-divided soft keyboard partition, the coordinate value set, and the displacement direction, determining the target soft keyboard area to which the user's fingertip is to be moved specifically includes:
根据坐标值集合中当前用户手指指端所处的坐标值、 以及预先划分的软键 盘分区的坐标值判断当前用户手指指端所处软键盘区域;  Determining, according to the coordinate value of the current user's fingertip in the coordinate value set, and the coordinate value of the pre-divided soft keyboard partition, determining the soft keyboard area where the current user's fingertip is located;
根据当前用户手指指端所处软键盘区域、 以及位移方向, 确定用户手指指 端将要移动到的目标软键盘区域。  According to the soft keyboard area where the current user's fingertip is located, and the direction of displacement, the target soft keyboard area to which the user's fingertip is to be moved is determined.
优选地, 上述方法进一步包括: 根据用户的操作关闭或开启终端的软键盘 布局调整功能。  Preferably, the above method further comprises: turning off or turning on the soft keyboard layout adjustment function of the terminal according to the operation of the user.
本发明实施例还提供了一种软键盘布局调整装置, 包括:  The embodiment of the invention further provides a soft keyboard layout adjusting device, comprising:
釆集模块, 用于釆集用户在终端进行软键盘输入时的手指移动信息; 计算模块, 用于根据手指移动信息计算预定时间内用户手指指端移动的坐 标值集合, 并根据坐标值集合判断用户手指指端在软键盘上的位移方向;  The collection module is configured to collect finger movement information when the user inputs the soft keyboard in the terminal; the calculation module is configured to calculate a coordinate value set of the movement of the fingertip of the user within a predetermined time according to the movement information of the finger, and determine according to the coordinate value set The direction of displacement of the user's finger on the soft keyboard;
处理模块, 用于根据预先划分的软键盘分区、 坐标值集合以及位移方向, 确定用户手指指端将要移动到的目标软键盘区域, 并将目标软键盘区域中的按 键放大, 将其余软键盘区域中的按键缩小, 并进行显示。  The processing module is configured to determine, according to the pre-divided soft keyboard partition, the coordinate value set and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved, and enlarge the button in the target soft keyboard area, and the remaining soft keyboard area The button in the button is zoomed out and displayed.
优选地, 釆集模块具体用于: 调整终端自带摄像头为能够拍摄到软键盘输 入角度, 通过自带摄像头拍摄在进行软键盘输入时用户手指指端的动作, 形成 视频数据格式的手指移动信息。  Preferably, the collection module is specifically configured to: adjust the terminal self-contained camera to be able to capture the soft keyboard input angle, and take the action of the user's fingertip when the soft keyboard input is performed by the self-contained camera to form the finger movement information of the video data format.
优选地, 计算模块具体用于: 通过图形处理算法计算视频数据中每一帧视 频数据的用户手指指端的坐标值, 并获取预定时间内用户手指指端移动的坐标 值集合, 并根据坐标值集合判断用户手指指端在软键盘上的位移方向。 Preferably, the calculating module is specifically configured to: calculate, by using a graphics processing algorithm, coordinate values of a user's fingertips of each frame of video data in the video data, and acquire coordinates of the fingertip movement of the user within a predetermined time The set of values, and the direction of displacement of the fingertip of the user on the soft keyboard is determined according to the set of coordinate values.
优选地, 处理模块具体用于: 根据坐标值集合中当前用户手指指端所处的 坐标值、 以及预先划分的软键盘分区的坐标值判断当前用户手指指端所处软键 盘区域; 根据当前用户手指指端所处软键盘区域、 以及位移方向, 确定用户手 指指端将要移动到的目标软键盘区域。  Preferably, the processing module is specifically configured to: determine, according to a coordinate value of a current user finger finger end in the coordinate value set, and a coordinate value of the pre-divided soft keyboard partition, determine a soft keyboard area where the current user finger finger end is located; according to the current user The soft keyboard area where the finger is pointed and the direction of displacement determine the target soft keyboard area to which the user's fingertip is to be moved.
优选地, 上述装置进一步包括: 选择模块, 用于根据用户的操作选择关闭 或开启终端的软键盘布局调整功能。  Preferably, the device further includes: a selection module, configured to select to turn off or turn on the soft keyboard layout adjustment function of the terminal according to a user operation.
本发明实施例有益效果如下:  The beneficial effects of the embodiments of the present invention are as follows:
通过根据用户在终端进行软键盘输入时的手指移动信息确定用户手指指端 将要移动到的目标软键盘区域并进行放大, 解决了现有技术中全键盘输入因按 键窄小而引发的易输错的问题, 能够减少用户按错键的几率, 提高用户文本输 入的效率。  By determining the target soft keyboard area to which the fingertip of the user is to be moved and zooming according to the finger movement information when the user inputs the soft keyboard at the terminal, the error of the full keyboard input caused by the narrow key is solved in the prior art. The problem can reduce the probability of the user pressing the wrong key and improve the efficiency of the user's text input.
上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明的技术 手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实施方式。 附图说明  The above description is only an overview of the technical solutions of the present invention, and the technical means of the present invention can be more clearly understood, and can be implemented in accordance with the contents of the specification, and the above and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below. DRAWINGS
通过阅读下文优选实施方式的详细描述, 各种其他的优点和益处对于本领 域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式的目的, 而并 不认为是对本发明的限制。 而且在整个附图中, 用相同的参考符号表示相同的 部件。 在附图中:  Various other advantages and benefits will become apparent to those of ordinary skill in the art. The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图 1是本发明实施例的软键盘布局调整方法的流程图;  1 is a flowchart of a method for adjusting a soft keyboard layout according to an embodiment of the present invention;
图 2是本发明实施例的软键盘布局调整方法的详细处理的流程图; 图 3是本发明实施例的软键盘分区示意图;  2 is a flowchart of detailed processing of a soft keyboard layout adjustment method according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a soft keyboard partition according to an embodiment of the present invention;
图 4是本发明实施例的软键盘自动调整为左边按键放大的布局示意图; 图 5是本发明实施例的软键盘自动调整为右边按键放大的布局示意图; 图 6是本发明实施例的软键盘布局调整装置的结构示意图。 具体实施方式 4 is a schematic diagram showing the layout of the soft keyboard automatically adjusted to the left button in the embodiment of the present invention; FIG. 5 is a schematic diagram showing the layout of the soft keyboard automatically adjusted to the right button in the embodiment of the present invention; FIG. 6 is a soft keyboard according to an embodiment of the present invention; Schematic diagram of the layout adjustment device. detailed description
下面将参照附图更详细地描述本公开的示例性实施例。 虽然附图中显示了 本公开的示例性实施例, 然而应当理解, 可以以各种形式实现本公开而不应被 这里阐述的实施例所限制。 相反, 提供这些实施例是为了能够更透彻地理解本 5 公开, 并且能够将本公开的范围完整的传达给本领域的技术人员。  Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the exemplary embodiments of the present invention are shown in the drawings, it is understood that the invention may be embodied in various forms and not limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure can be fully conveyed by those skilled in the art.
为了解决现有技术中全键盘输入因按键窄小而引发的易输错的问题, 本发 明提供了一种软键盘布局调整方法及装置, 以下结合附图以及实施例, 对本发 明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本 发明, 并不限定本发明。  In order to solve the problem of easy error input caused by the narrow keystroke of the full keyboard input in the prior art, the present invention provides a soft keyboard layout adjustment method and device. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. . It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
10 方法实施例、 10 method embodiments,
根据本发明的实施例, 提供了一种软键盘布局调整方法, 图 1是本发明实 施例的软键盘布局调整方法的流程图, 包括如下处理:  According to an embodiment of the present invention, a soft keyboard layout adjustment method is provided. FIG. 1 is a flowchart of a soft keyboard layout adjustment method according to an embodiment of the present invention, which includes the following processing:
步骤 101, 釆集用户在终端进行软键盘输入时的手指移动信息, 根据手指 移动信息计算预定时间内用户手指指端移动的坐标值集合, 并根据坐标值集合 Step 101: Collect finger movement information when the user inputs the soft keyboard, calculate a coordinate value set of the finger movement of the user finger within a predetermined time according to the finger movement information, and collect according to the coordinate value
15 判断用户手指指端在软键盘上的位移方向; 15 judging the direction of displacement of the fingertip of the user on the soft keyboard;
在本发明实施例中, 釆集用户在进行软键盘输入时的手指移动信息具体包 括: 调整终端自带摄像头为能够拍摄到软键盘输入角度, 通过自带摄像头拍摄 在进行软键盘输入时用户手指指端的动作,形成视频数据格式的手指移动信息。  In the embodiment of the present invention, the finger movement information of the user when performing the soft keyboard input specifically includes: adjusting the terminal self-contained camera to be able to capture the soft keyboard input angle, and photographing the user finger when performing the soft keyboard input by the self-contained camera The action of the fingertip forms the finger movement information in the video data format.
当然, 除了上述通过终端自带摄像头釆集手指移动信息以外, 还可以釆用 Of course, in addition to the above-mentioned camera movement information by the terminal's own camera, it can also be used.
!0 其他方式进行釆集。 上述通过终端自带摄像头釆集手指移动信息仅仅是本发明 的一个优选实施方式。 !0 Other ways to collect. The above-described collection of finger movement information by the terminal's own camera is only a preferred embodiment of the present invention.
在步骤 101 中, 根据手指移动信息计算预定时间内用户手指指端移动的坐 标值集合, 并根据坐标值集合判断用户手指指端在软键盘上的位移方向具体包 括:  In step 101, the set of coordinate values of the fingertip movement of the user within a predetermined time is calculated according to the finger movement information, and the direction of displacement of the fingertip of the user on the soft keyboard according to the coordinate value set specifically includes:
!5 通过图形处理算法计算视频数据中每一帧视频数据的用户手指指端的坐标 值, 并获取预定时间内用户手指指端移动的坐标值集合, 并根据坐标值集合判 断用户手指指端在软键盘上的位移方向。 !5 Calculate the coordinate value of the user's fingertip of each frame of video data in the video data through the graphics processing algorithm, and obtain the coordinate value set of the user's fingertip movement within a predetermined time, and judge according to the coordinate value set Break the direction of displacement of the user's finger on the soft keyboard.
步骤 102, 根据预先划分的软键盘分区、 坐标值集合以及位移方向, 确定 用户手指指端将要移动到的目标软键盘区域, 并将目标软键盘区域中的按键放 大, 将其余软键盘区域中的按键缩小, 并进行显示。  Step 102: Determine, according to the pre-divided soft keyboard partition, the coordinate value set, and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved, and enlarge the button in the target soft keyboard area, and the remaining soft keyboard area The button is zoomed out and displayed.
在步骤 102中, 根据预先划分的软键盘分区、 坐标值集合以及位移方向, 确定用户手指指端将要移动到的目标软键盘区域具体包括:  In step 102, according to the pre-divided soft keyboard partition, the coordinate value set, and the displacement direction, determining the target soft keyboard area to which the user's fingertip is to be moved specifically includes:
根据坐标值集合中当前用户手指指端所处的坐标值、 以及预先划分的软键 盘分区的坐标值判断当前用户手指指端所处软键盘区域;  Determining, according to the coordinate value of the current user's fingertip in the coordinate value set, and the coordinate value of the pre-divided soft keyboard partition, determining the soft keyboard area where the current user's fingertip is located;
根据当前用户手指指端所处软键盘区域、 以及位移方向, 确定用户手指指 端将要移动到的目标软键盘区域。  According to the soft keyboard area where the current user's fingertip is located, and the direction of displacement, the target soft keyboard area to which the user's fingertip is to be moved is determined.
优选地, 在本发明实施例中, 还可以根据用户的操作关闭或开启终端的软 键盘布局调整功能。  Preferably, in the embodiment of the present invention, the soft keyboard layout adjustment function of the terminal may be turned off or on according to the operation of the user.
下面以通过通过终端自带摄像头釆集用户在软键盘进行单手输入时的手指 移动信息为例, 对本发明实施例的技术方案进行详细说明。  In the following, the technical solution of the embodiment of the present invention will be described in detail by taking the finger movement information when the user performs one-hand input on the soft keyboard through the terminal's own camera.
在本发明实施中,终端至少要具备以下几个组件:触敏显示屏(即触摸屏)、 摄像头、 以及计算控制模块。 优选地, 摄像头位于触摸屏的上方, 并且可以旋 转; 如果摄像头不可以旋转, 但是角度固定到可以拍摄到触摸屏的角度。 上述 计算控制模块包括设备的一个或多个计算器、 控制器、 存储器。 本发明实施例 的技术方案摄像头通过拍摄手指动作, 对输入意图进行预先判断, 进而动态调 整软键盘布局的方法。  In the implementation of the present invention, the terminal must have at least the following components: a touch sensitive display (ie, a touch screen), a camera, and a computing control module. Preferably, the camera is located above the touch screen and can be rotated; if the camera is not rotatable, but the angle is fixed to an angle at which the touch screen can be captured. The above computing control module includes one or more calculators, controllers, and memories of the device. The technical solution of the embodiment of the present invention preliminarily judges the input intention by photographing the finger motion, and then dynamically adjusts the soft keyboard layout.
具体地, 用户通过全键盘进行单手输入时, 位于触摸屏上方的摄像头釆集 手指在键盘上移动的视频数据。 釆集到的手指移动的视频数据会被送到计算控 制模块, 通过图形处理算法计算出单帧视频中手指指端的坐标值。 计算控制模 块对记录下来的指端坐标值数组进行计算, 算出在一段连续时间内指端坐标的 位移方向, 从而判断出手指正在向屏幕的那个方向移动。 计算控制模块通过比 较指端坐标值和屏幕分区坐标值, 从而判断出指端位于屏幕的哪一块区域。 并 结合之前获取的手指位移方向, 综合判断出手指会向屏幕的哪个区域移动。 最 后, 计算控制模块调整软键盘的布局, 将手指移动的目的区域的按键放大, 其 余区域的按键相应缩小, 并将调整后的布局刷新, 由触摸屏显示新的键盘布局。 Specifically, when the user performs one-hand input through the full keyboard, the camera located above the touch screen collects video data that the finger moves on the keyboard. The video data of the finger movement collected by the 会 is sent to the calculation control module, and the coordinate value of the finger finger end in the single frame video is calculated by the graphics processing algorithm. The calculation control module calculates the recorded array of fingertip coordinate values, and calculates the displacement direction of the fingertip coordinates for a continuous period of time, thereby judging that the finger is moving in the direction of the screen. The calculation control module determines which area of the screen the fingertip is located by comparing the fingertip coordinate value with the screen partition coordinate value. And combined with the direction of the finger displacement obtained before, comprehensively determine which area of the screen the finger will move. Most After that, the calculation control module adjusts the layout of the soft keyboard, enlarges the button of the target area where the finger is moved, and the keys of the remaining areas are correspondingly reduced, and the adjusted layout is refreshed, and the new keyboard layout is displayed by the touch screen.
在本发明实施例中, 优选地, 是否在输入时动态调整键盘布局是可以由用 户选择性开启或关闭的。  In the embodiment of the present invention, preferably, whether the keyboard layout is dynamically adjusted at the time of input can be selectively turned on or off by the user.
需要说明的是, 软键盘动态调整按键大小是按照预先划分的键盘分区, 分 区域统一动态调整的, 即统一放大目标区域的按键尺寸, 统一缩小其他非目标 区域的按键尺寸。 分区可以根据摄像模块的釆集速度和处理器的计算速度来确 定。 通常图像釆集和系统的处理速度越高, 分区可以划分更多更细, 单个区域 内按键数量少, 因此单个按键可放大尺寸越大; 反之则分区少, 单个区域内按 键数量多, 单个按键可放大尺寸会小一些。 设计的原则是保证单个按键放大到 极大幅度减小误触率的前提下尽量少划分键盘分区, 减小计算系统负担。此外, 在本发明实施例中, 键盘各个区域之间应该有重叠部分, 保证区域间的临界范 围内的按键能够正常显示。  It should be noted that the soft keyboard dynamically adjusts the button size according to the pre-divided keyboard partition, and the sub-area is uniformly and dynamically adjusted, that is, the button size of the target area is uniformly enlarged, and the button size of other non-target areas is uniformly reduced. The partition can be determined based on the camera module's collection speed and the processor's calculation speed. Generally, the higher the processing speed of image collection and system, the more partitions can be divided, and the number of buttons in a single area is small. Therefore, the size of a single button can be enlarged. On the contrary, the number of partitions is small, and the number of buttons in a single area is large. The size that can be enlarged will be smaller. The design principle is to ensure that the keyboard partition is minimized and the burden of the computing system is reduced by ensuring that a single button is zoomed in to greatly reduce the false touch rate. In addition, in the embodiment of the present invention, there should be overlapping portions between the various areas of the keyboard to ensure that the keys in the critical range between the areas can be displayed normally.
上述实施例中主要是以单手输入为例进行说明, 但是本发明实施例的技术 方案同样适用于双手输入, 其处理步骤与单手输入相似, 在此不再赘述。  The above embodiment is mainly described by taking one-handed input as an example. However, the technical solution of the embodiment of the present invention is also applicable to the two-hand input, and the processing steps are similar to the one-hand input, and details are not described herein again.
以下结合附图, 对本发明实施例的上述技术方案进行详细说明。  The above technical solutions of the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图 2是本发明实施例的软键盘布局调整方法的详细处理的流程图, 如图 2 所示, 具体包括如下处理:  2 is a flowchart of detailed processing of a method for adjusting a soft keyboard layout according to an embodiment of the present invention. As shown in FIG. 2, the following specifically includes the following processing:
步骤 201, 系统检测到文本输入框获取聚焦, 开始软键盘启动流程。 转动 触目屏上方摄像头到预定角度并开启摄像。 预定角度设计为保证摄像头可以拍 摄到屏幕下方的软键盘区域。  Step 201: The system detects that the text input box obtains focus, and starts the soft keyboard startup process. Turn the camera above the touch screen to a predetermined angle and turn on the camera. The predetermined angle is designed to ensure that the camera can capture the soft keyboard area below the screen.
步骤 202, 显示软键盘界面。  Step 202, displaying a soft keyboard interface.
步骤 203, 摄像头捕捉手指动作影像。 将釆集到的视频数据送到处理器进 行相应的图形算法计算。  Step 203: The camera captures a finger motion image. The collected video data is sent to the processor for corresponding graphics algorithm calculation.
步骤 204, 通过计算获取图像中指端的坐标值并记录到一个数组中。 步骤 203和步骤 204会循环执行, 不断获取指端的坐标数据并更新坐标值数组。  Step 204: Acquire coordinate values of the fingertips in the image by calculation and record them in an array. Steps 203 and 204 are executed cyclically, and the coordinate data of the finger end is continuously acquired and the coordinate value array is updated.
步骤 205, 通过连续记录的多个坐标点计算指端位移方向。 步骤 206, 判断指端水平坐标是否在屏幕水平中线左边并且当前指端位移 方向是否向左。 如果判定结果为真则转向步骤 207, 判定结果为否则转向步骤 208。 Step 205: Calculate the finger end displacement direction by using a plurality of coordinate points continuously recorded. Step 206: Determine whether the finger end horizontal coordinate is to the left of the screen horizontal center line and whether the current finger end displacement direction is to the left. If the result of the determination is true, then the process proceeds to step 207, and the result of the determination is otherwise to step 208.
步骤 207, 如果步骤 206 中判定结果为真, 系统判定用户想要点击键盘左 部的按键, 则自动调整全键盘布局。  Step 207: If the result of the determination in step 206 is true, the system determines that the user wants to click the button on the left side of the keyboard, and automatically adjusts the full keyboard layout.
图 3是本发明实施例的软键盘分区示意图, 如图 3所示, 在本发明实施例 中, 键盘被划分为左、 右两个区域, 分别以黑、 白两种颜色标识。 中间灰色区 域是左右两个区域重叠的区域。 在步骤 207中图 3键盘布局中左边白色区域及 中间灰色区域的按键会增宽, 右边黑色区域的按键会缩窄, 结果如图 4所示。 然后返回重复执行步骤 205。  FIG. 3 is a schematic diagram of a soft keyboard partition according to an embodiment of the present invention. As shown in FIG. 3, in the embodiment of the present invention, the keyboard is divided into two areas, left and right, which are respectively identified by black and white colors. The middle gray area is the area where the left and right areas overlap. In step 207, the buttons on the left white area and the middle gray area in the keyboard layout of Fig. 3 are widened, and the keys on the right black area are narrowed. The result is shown in Fig. 4. Then go back to step 205.
步骤 208, 判断指端水平坐标是否在屏幕水平中线右边并且当前指端位移 方向是否向右。 如果判定结果为真则转向步骤 209, 判定结果为否则返回重复 执行步骤 205。  Step 208: Determine whether the finger end horizontal coordinate is on the right side of the screen horizontal center line and whether the current finger end displacement direction is to the right. If the result of the determination is true, the process goes to step 209, and the result of the determination is otherwise, and the process returns to step 205.
步骤 209, 如果步骤 208中判定结果为真, 系统判定用户想要点击键盘右 部的按键, 则自动调整全键盘布局。 图 3键盘布局中右边黑色区域及中间灰色 区域的按键会增宽, 左边白色区域的按键会缩窄, 结果如图 5所示。 然后返回 重复执行步骤 205。  Step 209: If the result of the determination in step 208 is true, the system determines that the user wants to click the button on the right side of the keyboard, and automatically adjusts the full keyboard layout. In the keyboard layout of Figure 3, the buttons on the right black area and the middle gray area will be widened, and the buttons on the left white area will be narrowed. The result is shown in Figure 5. Then go back and repeat step 205.
综上所述,釆用本发明实施例所述的技术方案可以预先判定用户按键意图, 并根据用户意图使键盘局部按键动态变大, 增宽目标按键, 减小了用户按错键 的几率, 从提高了文本输入的效率。  In summary, the technical solution described in the embodiment of the present invention can pre-determine the intention of the user's button, and dynamically increase the local button of the keyboard according to the user's intention, widen the target button, and reduce the probability of the user pressing the wrong button. Improve the efficiency of text input.
装置实施例  Device embodiment
根据本发明的实施例, 提供了一种软键盘布局调整装置, 图 6是本发明实 施例的软键盘布局调整装置的结构示意图, 如图 6所示, 根据本发明实施例的 软键盘布局调整装置包括: 釆集模块 60、 计算模块 62、 以及处理模块 64, 以 下对本发明实施例的各个模块进行详细的说明。  According to an embodiment of the present invention, a soft keyboard layout adjustment apparatus is provided, and FIG. 6 is a schematic structural diagram of a soft keyboard layout adjustment apparatus according to an embodiment of the present invention. As shown in FIG. 6, the soft keyboard layout adjustment according to an embodiment of the present invention is shown. The device includes: a collection module 60, a calculation module 62, and a processing module 64. The respective modules of the embodiments of the present invention are described in detail below.
釆集模块 60, 用于釆集用户在终端进行软键盘输入时的手指移动信息; 优选地,釆集模块 60具体用于: 调整终端自带摄像头为能够拍摄到软键盘 输入角度, 通过自带摄像头拍摄在进行软键盘输入时用户手指指端的动作, 形 成视频数据格式的手指移动信息。 The collection module 60 is configured to collect finger movement information when the user inputs the soft keyboard at the terminal; preferably, the collection module 60 is specifically configured to: adjust the terminal self-equipped camera to be able to capture the soft keyboard The input angle is used to capture the movement of the finger of the user in the video data format by taking the action of the user's fingertip when the soft keyboard is input.
计算模块 62, 用于才艮据手指移动信息计算预定时间内用户手指指端移动的 坐标值集合, 并根据坐标值集合判断用户手指指端在软键盘上的位移方向; 5 优选地,计算模块 62具体用于: 通过图形处理算法计算视频数据中每一帧 视频数据的用户手指指端的坐标值, 并获取预定时间内用户手指指端移动的坐 标值集合, 并根据坐标值集合判断用户手指指端在软键盘上的位移方向。  The calculating module 62 is configured to calculate a coordinate value set of the fingertip movement of the user within a predetermined time according to the finger movement information, and determine a displacement direction of the finger finger end of the user on the soft keyboard according to the coordinate value set; 5 preferably, the calculation module 62 is specifically configured to: calculate a coordinate value of a user finger finger end of each frame of video data in the video data by using a graphics processing algorithm, and acquire a coordinate value set of the finger finger movement of the user within a predetermined time, and determine the user finger finger according to the coordinate value set; The direction of displacement on the soft keyboard.
处理模块 64,用于根据预先划分的软键盘分区、坐标值集合以及位移方向, 确定用户手指指端将要移动到的目标软键盘区域, 并将目标软键盘区域中的按 10 键放大, 将其余软键盘区域中的按键缩小, 并进行显示。  The processing module 64 is configured to determine, according to the pre-divided soft keyboard partition, the coordinate value set, and the displacement direction, the target soft keyboard area to which the user's fingertip is to be moved, and press the 10 key in the target soft keyboard area to enlarge the rest. The buttons in the soft keyboard area are zoomed out and displayed.
优选地,处理模块 64具体用于: 根据坐标值集合中当前用户手指指端所处 的坐标值、 以及预先划分的软键盘分区的坐标值判断当前用户手指指端所处软 键盘区域; 根据当前用户手指指端所处软键盘区域、 以及位移方向, 确定用户 手指指端将要移动到的目标软键盘区域。  Preferably, the processing module 64 is specifically configured to: determine, according to a coordinate value of a current user finger finger end in the coordinate value set, and a coordinate value of the pre-divided soft keyboard partition, determine a soft keyboard area where the current user finger finger end is located; The soft keyboard area where the user's fingertip is located, and the direction of displacement determine the target soft keyboard area to which the user's fingertip is to be moved.
Ϊ5 优选地, 根据本发明实施例的装置进一步包括: 选择模块, 用于根据用户 的操作选择关闭或开启终端的软键盘布局调整功能。  Preferably, the apparatus according to the embodiment of the present invention further comprises: a selection module for selecting to disable or turn on the soft keyboard layout adjustment function of the terminal according to the user's operation.
终端至少要具备以下几个组件, 所述釆集模块可以为触敏显示屏(即触摸 屏)、摄像头;所述计算模块、处理模块和选择模块均可以为一个或多个计算器、 控制器、 存储器。 优选地, 摄像头位于触摸屏的上方, 并且可以旋转; 如果摄 !0 像头不可以旋转, 但是角度固定到可以拍摄到触摸屏的角度。  The terminal has at least the following components, and the collection module can be a touch-sensitive display (ie, a touch screen) and a camera; the calculation module, the processing module, and the selection module can be one or more calculators, controllers, and Memory. Preferably, the camera is located above the touch screen and can be rotated; if the camera is not rotated, the angle is fixed to the angle at which the touch screen can be captured.
上述各个模块的详细处理步骤参照上述方法实施例中的相应描述进行理 解, 在此不再赘述。  The detailed processing steps of the above-mentioned respective modules are understood by referring to the corresponding descriptions in the foregoing method embodiments, and details are not described herein again.
综上所述, 本发明实施例的技术方案通过根据用户在终端进行软键盘输入 时的手指移动信息确定用户手指指端将要移动到的目标软键盘区域并进行放 !5 大, 解决了现有技术中全键盘输入因按键窄小而引发的易输错的问题, 能够减 少用户按错键的几率, 提高用户文本输入的效率。 明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及 其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 In summary, the technical solution of the embodiment of the present invention determines the target soft keyboard area to which the user's fingertip is to be moved according to the finger movement information when the user inputs the soft keyboard at the terminal, and performs the release of the target soft keyboard area. In the technology, the full keyboard input is easy to input and error caused by the narrow button, which can reduce the probability of the user pressing the wrong key and improve the efficiency of the user's text input. The spirit and scope of the Ming. Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Claims

权利要求书 claims
1、 一种软键盘布局调整方法, 包括: 1. A soft keyboard layout adjustment method, including:
釆集用户在终端进行软键盘输入时的手指移动信息, 根据所述手指移动信 息计算预定时间内用户手指指端移动的坐标值集合, 并根据所述坐标值集合判 断用户手指指端在所述软键盘上的位移方向; Collect finger movement information when the user performs soft keyboard input on the terminal, calculate a coordinate value set of the user's finger tip movement within a predetermined time based on the finger movement information, and determine based on the coordinate value set whether the user's finger tip is in the The displacement direction on the soft keyboard;
根据预先划分的软键盘分区、 所述坐标值集合以及所述位移方向, 确定用 户手指指端将要移动到的目标软键盘区域, 并将所述目标软键盘区域中的按键 放大, 将其余软键盘区域中的按键缩小, 并进行显示。 According to the pre-divided soft keyboard partition, the coordinate value set and the displacement direction, determine the target soft keyboard area to which the user's finger tip will move, enlarge the keys in the target soft keyboard area, and move the remaining soft keyboard The keys in the area are reduced and displayed.
2、 如权利要求 1所述的方法, 其中, 釆集用户在进行软键盘输入时的手指 移动信息具体包括: 2. The method of claim 1, wherein collecting the user's finger movement information during soft keyboard input specifically includes:
调整终端自带摄像头为能够拍摄到软键盘输入角度, 通过所述自带摄像头 拍摄在进行软键盘输入时用户手指指端的动作, 形成视频数据格式的手指移动 信息。 The terminal's built-in camera is adjusted to be able to capture the input angle of the soft keyboard. The built-in camera captures the movements of the user's fingertips during soft keyboard input to form finger movement information in a video data format.
3、 如权利要求 2所述的方法, 其中, 根据所述手指移动信息计算预定时间 内用户手指指端移动的坐标值集合, 并根据所述坐标值集合判断用户手指指端 在所述软键盘上的位移方向具体包括: 3. The method of claim 2, wherein: calculating a set of coordinate values for the movement of the user's finger tips within a predetermined time based on the finger movement information, and determining based on the set of coordinate values whether the user's finger tips are on the soft keyboard. The specific displacement directions include:
通过图形处理算法计算所述视频数据中每一帧视频数据的用户手指指端的 坐标值, 并获取预定时间内用户手指指端移动的坐标值集合, 并根据所述坐标 值集合判断用户手指指端在所述软键盘上的位移方向。 Calculate the coordinate value of the user's finger tip for each frame of video data in the video data through a graphics processing algorithm, obtain a coordinate value set of the user's finger tip movement within a predetermined time, and determine the user's finger tip based on the coordinate value set The displacement direction on the soft keyboard.
4、 如权利要求 1所述的方法, 其中, 根据预先划分的软键盘分区、 所述坐 标值集合以及所述位移方向, 确定用户手指指端将要移动到的目标软键盘区域 具体包括: 4. The method of claim 1, wherein determining the target soft keyboard area to which the user's finger tip will move based on the pre-divided soft keyboard partition, the coordinate value set and the displacement direction specifically includes:
根据所述坐标值集合中当前用户手指指端所处的坐标值、 以及预先划分的 软键盘分区的坐标值判断当前用户手指指端所处软键盘区域; Determine the soft keyboard area where the current user's finger tip is located according to the coordinate value of the current user's finger tip in the coordinate value set and the coordinate value of the pre-divided soft keyboard partition;
根据所述当前用户手指指端所处软键盘区域、 以及所述位移方向, 确定用 户手指指端将要移动到的目标软键盘区域。 According to the soft keyboard area where the user's finger tip is currently located and the displacement direction, the target soft keyboard area to which the user's finger tip will move is determined.
5、 如权利要求 1所述的方法, 其中, 所述方法还包括: 根据用户的操作关 闭或开启终端的软键盘布局调整功能。 5. The method according to claim 1, wherein the method further includes: turning off or turning on the soft keyboard layout adjustment function of the terminal according to the user's operation.
6、 一种软键盘布局调整装置, 包括: 6. A soft keyboard layout adjustment device, including:
釆集模块, 配置为釆集用户在终端进行软键盘输入时的手指移动信息; 计算模块, 配置为根据所述手指移动信息计算预定时间内用户手指指端移 动的坐标值集合, 并根据所述坐标值集合判断用户手指指端在所述软键盘上的 位移方向; The collection module is configured to collect finger movement information when the user performs soft keyboard input on the terminal; the calculation module is configured to calculate a coordinate value set of the user's fingertip movement within a predetermined time based on the finger movement information, and calculate the coordinate value set based on the finger movement information. The coordinate value set determines the displacement direction of the user's finger tip on the soft keyboard;
处理模块, 配置为根据预先划分的软键盘分区、 所述坐标值集合以及所述 位移方向, 确定用户手指指端将要移动到的目标软键盘区域, 并将所述目标软 键盘区域中的按键放大, 将其余软键盘区域中的按键缩小, 并进行显示。 The processing module is configured to determine the target soft keyboard area to which the user's finger tip will move based on the pre-divided soft keyboard partition, the coordinate value set and the displacement direction, and enlarge the keys in the target soft keyboard area. , reduce the keys in the remaining soft keyboard area and display them.
7、 如权利要求 6所述的装置, 其中, 所述釆集模块, 配置为调整终端自带 摄像头为能够拍摄到软键盘输入角度, 通过所述自带摄像头拍摄在进行软键盘 输入时用户手指指端的动作, 形成视频数据格式的手指移动信息。 7. The device according to claim 6, wherein the collection module is configured to adjust the terminal's built-in camera to capture the input angle of the soft keyboard, and use the built-in camera to capture the user's fingers during soft keyboard input. The movements of the fingertips form finger movement information in video data format.
8、 如权利要求 7所述的装置, 其中, 所述计算模块, 配置为通过图形处理 算法计算所述视频数据中每一帧视频数据的用户手指指端的坐标值, 并获取预 定时间内用户手指指端移动的坐标值集合, 并根据所述坐标值集合判断用户手 指指端在所述软键盘上的位移方向。 8. The device according to claim 7, wherein the calculation module is configured to calculate the coordinate value of the user's finger tip of each frame of video data in the video data through a graphics processing algorithm, and obtain the user's finger tip within a predetermined time A set of coordinate values for the movement of the finger tip, and the displacement direction of the user's finger tip on the soft keyboard is determined based on the set of coordinate values.
9、 如权利要求 6所述的装置, 其中, 所述处理模块, 配置为根据所述坐标 值集合中当前用户手指指端所处的坐标值、 以及预先划分的软键盘分区的坐标 值判断当前用户手指指端所处软键盘区域; 根据所述当前用户手指指端所处软 键盘区域、 以及所述位移方向, 确定用户手指指端将要移动到的目标软键盘区 域。 9. The device according to claim 6, wherein the processing module is configured to determine the current coordinate value according to the coordinate value of the current user's finger tip in the coordinate value set and the coordinate value of the pre-divided soft keyboard partition. The soft keyboard area where the user's finger tip is located; and the target soft keyboard area to which the user's finger tip is to be moved is determined based on the soft keyboard area where the user's finger tip is currently located and the displacement direction.
10、 如权利要求 6所述的装置, 其中, 所述装置还包括: 选择模块, 配置 为根据用户的操作选择关闭或开启终端的软键盘布局调整功能。 10. The device according to claim 6, wherein the device further includes: a selection module configured to select to turn off or turn on the soft keyboard layout adjustment function of the terminal according to the user's operation.
PCT/CN2014/080319 2014-02-27 2014-06-19 Soft keyboard layout adjustment method and apparatus WO2015127731A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410069278.4 2014-02-27
CN201410069278.4A CN104881200A (en) 2014-02-27 2014-02-27 Soft keyboard layout adjusting method and soft keyboard layout adjusting apparatus

Publications (1)

Publication Number Publication Date
WO2015127731A1 true WO2015127731A1 (en) 2015-09-03

Family

ID=53948714

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/080319 WO2015127731A1 (en) 2014-02-27 2014-06-19 Soft keyboard layout adjustment method and apparatus

Country Status (2)

Country Link
CN (1) CN104881200A (en)
WO (1) WO2015127731A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242825B (en) * 2015-09-09 2018-11-20 北京新美互通科技有限公司 terminal control method and device
CN105404456B (en) * 2015-12-22 2019-01-22 厦门美图移动科技有限公司 A kind of mobile terminal dialing keyboard management method and device
CN107239218A (en) * 2017-04-28 2017-10-10 努比亚技术有限公司 Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN108363541A (en) * 2018-02-09 2018-08-03 长沙联远电子科技有限公司 touch screen input control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050110756A1 (en) * 2003-11-21 2005-05-26 Hall Bernard J. Device and method for controlling symbols displayed on a display device
CN101630223A (en) * 2009-07-25 2010-01-20 深圳华为通信技术有限公司 Method and terminal for adjusting interface
CN102360249A (en) * 2011-09-29 2012-02-22 上海汉翔信息技术有限公司 Discrete keyboard layout system and setting method, corresponding portable electronic device and control method
CN103150105A (en) * 2013-01-17 2013-06-12 苏州佳世达电通有限公司 Adjustment method and system of virtual keyboard
CN103577033A (en) * 2012-08-07 2014-02-12 百度在线网络技术(北京)有限公司 Method and system for setting input method panel

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050020325A1 (en) * 2003-07-24 2005-01-27 Motorola, Inc. Multi-configuration portable electronic device and method for operating the same
US20050071778A1 (en) * 2003-09-26 2005-03-31 Nokia Corporation Method for dynamic key size prediction with touch displays and an electronic device using the method
GB2440683B (en) * 2005-02-23 2010-12-08 Zienon L L C Method and apparatus for data entry input
CN101589355A (en) * 2006-11-08 2009-11-25 库比克设计工作室有限责任公司 Asymmetric recombination keyboard
CN102681670A (en) * 2012-04-09 2012-09-19 中兴通讯股份有限公司 Mobile terminal and setting method for virtual keyboard of same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050110756A1 (en) * 2003-11-21 2005-05-26 Hall Bernard J. Device and method for controlling symbols displayed on a display device
CN101630223A (en) * 2009-07-25 2010-01-20 深圳华为通信技术有限公司 Method and terminal for adjusting interface
CN102360249A (en) * 2011-09-29 2012-02-22 上海汉翔信息技术有限公司 Discrete keyboard layout system and setting method, corresponding portable electronic device and control method
CN103577033A (en) * 2012-08-07 2014-02-12 百度在线网络技术(北京)有限公司 Method and system for setting input method panel
CN103150105A (en) * 2013-01-17 2013-06-12 苏州佳世达电通有限公司 Adjustment method and system of virtual keyboard

Also Published As

Publication number Publication date
CN104881200A (en) 2015-09-02

Similar Documents

Publication Publication Date Title
US10565437B2 (en) Image processing device and method for moving gesture recognition using difference images
US9182816B2 (en) Information processing apparatus and program
US10628010B2 (en) Quick review of captured image data
CN109428969B (en) Edge touch method and device of double-screen terminal and computer readable storage medium
US20150035746A1 (en) User Interface Device
US20150220150A1 (en) Virtual touch user interface system and methods
US20130257736A1 (en) Gesture sensing apparatus, electronic system having gesture input function, and gesture determining method
US8462113B2 (en) Method for executing mouse function of electronic device and electronic device thereof
US10095384B2 (en) Method of receiving user input by detecting movement of user and apparatus therefor
WO2017059734A1 (en) Image zoom in/out method and electronic device
CN112565613B (en) Preview image display control method, device, electronic equipment and medium
US10754446B2 (en) Information processing apparatus and information processing method
US20150241968A1 (en) Method for Processing Information and Electronic Device
CN104898880B (en) A kind of control method and electronic equipment
WO2015127731A1 (en) Soft keyboard layout adjustment method and apparatus
US10656746B2 (en) Information processing device, information processing method, and program
CN113655929A (en) Interface display adaptation processing method and device and electronic equipment
CN112911147A (en) Display control method, display control device and electronic equipment
CN105302459B (en) Single-hand control method and device for terminal
US10318131B2 (en) Method for scaling down effective display area of screen, and mobile terminal
WO2023169499A1 (en) Single-hand control method and control apparatus for touch screen, electronic device, and storage medium
WO2019201223A1 (en) Screen display switch method and apparatus, and storage medium
KR20110066545A (en) Method and terminal for displaying of image using touchscreen
TW201537389A (en) Gesture recognition method for motion sensing detector
WO2017071495A1 (en) Keyboard switching method and device for touchscreen mobile device and mobile device

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

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

Country of ref document: EP

Kind code of ref document: A1