CN105867806B - Input method and electronic equipment - Google Patents

Input method and electronic equipment Download PDF

Info

Publication number
CN105867806B
CN105867806B CN201610180104.4A CN201610180104A CN105867806B CN 105867806 B CN105867806 B CN 105867806B CN 201610180104 A CN201610180104 A CN 201610180104A CN 105867806 B CN105867806 B CN 105867806B
Authority
CN
China
Prior art keywords
input
input key
determining
sub
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610180104.4A
Other languages
Chinese (zh)
Other versions
CN105867806A (en
Inventor
张晓平
姚强
谌琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610180104.4A priority Critical patent/CN105867806B/en
Publication of CN105867806A publication Critical patent/CN105867806A/en
Application granted granted Critical
Publication of CN105867806B publication Critical patent/CN105867806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

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

The embodiment of the invention provides an input method and electronic equipment, which are used for solving the technical problem of poor input effect of the electronic equipment. The method comprises the following steps: obtaining a first input operation performed on an input unit, wherein the input unit comprises M input key values, and M is an integer; determining a first position of the first input operation in the input unit, and determining a first operation body for performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer and is smaller than M; and determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the first key value is one of the N input key values.

Description

Input method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an input method and an electronic device.
Background
With the rapid development of science and technology and the increasingly intense market competition, the performance and appearance of electronic devices are greatly improved, and notebook computers are popular with more and more people due to the advantages of being small, light, convenient to carry, high in entertainment and the like, and become an indispensable part in study and life. More and more things users can do with electronic devices, such as: a user may watch videos, listen to music, play games, etc. through an electronic device connected to a network server.
At present, in the process of performing input operation on an electronic device by a user, a situation of incorrect input usually occurs, so that the user needs to perform corresponding operation for correction. Especially, when the virtual keyboard is used for inputting, because the virtual keyboard has no actual raised keys, there is no key stroke sense (keys are pressed), and the input accuracy usually decreases greatly, resulting in a poor input effect of the electronic device.
Disclosure of Invention
The embodiment of the invention provides an input method and electronic equipment, which are used for solving the technical problem of poor input effect of the electronic equipment.
In a first aspect, the present application provides an input method, comprising the steps of:
obtaining a first input operation performed on an input unit, wherein the input unit comprises M input key values, and M is an integer;
determining a first position of the first input operation in the input unit, and determining a first operation body for performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer and is smaller than M;
and determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the first key value is one of the N input key values.
Optionally, the determining a first operation body performing the first input operation includes:
acquiring an image including a plurality of operation bodies in the process of the first input operation of the user on the input unit;
analyzing the acquired image to determine the first operation body performing the first input operation from the plurality of operation bodies.
Optionally, the determining a first input key value corresponding to the first input operation based on the first operation body and the first position includes:
determining a first area of the N input key values in the input unit according to the first operation body;
and according to the first position and the first area, determining a first input key value uniquely corresponding to the first input operation from the N input key values.
Optionally, determining, according to the first position and the first area, a first input key value uniquely corresponding to the first input operation from the N input key values, including:
determining a first sub-region corresponding to the first position from N sub-regions included in the first region based on the first position, wherein the N sub-regions correspond to the N input key values one by one;
and determining the input key value corresponding to the first sub-area as a first input key value corresponding to the first input operation.
Optionally, the determining, based on the first position, a first sub-area corresponding to the first position from among N sub-areas included in the first area includes:
determining an operation direction corresponding to the first operation body;
determining at least one sub-region of the N input key values, which is in the operation direction relative to a starting position; wherein the starting position is a position where the first operation body is located before the first input operation;
determining a first sub-area in which the first position is located in the at least one sub-area, or determining a first sub-area closest to the first position in the at least one sub-area.
Optionally, the determining a first input key value corresponding to the first input operation based on the first operation body and the first position includes:
determining a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
In a second aspect, the present application provides an electronic device comprising:
an input unit including M input key values;
the processor is used for obtaining a first input operation performed on an input unit, determining a first position of the first input operation in the input unit, determining a first operation body performing the first input operation, and determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the first key value is one of the N input key values; n input key values in the M input key values correspond to the first operation body, N is a positive integer, and N is smaller than M.
Optionally, the electronic device further includes:
the acquisition unit is used for acquiring images;
the processor is further configured to:
controlling the acquisition unit to acquire images comprising a plurality of operation bodies in the process of the first input operation of the user on the input unit;
analyzing the acquired image to determine the first operation body performing the first input operation from the plurality of operation bodies.
Optionally, the processor is configured to:
determining a first area of the N input key values in the input unit according to the first operation body;
and according to the first position and the first area, determining a first input key value uniquely corresponding to the first input operation from the N input key values.
Optionally, the processor is configured to:
determining a first sub-region corresponding to the first position from N sub-regions included in the first region based on the first position, wherein the N sub-regions correspond to the N input key values one by one;
and determining the input key value corresponding to the first sub-area as a first input key value corresponding to the first input operation.
Optionally, the processor is configured to:
determining an operation direction corresponding to the first operation body;
determining at least one sub-region of the N input key values, which is in the operation direction relative to a starting position; wherein the starting position is a position where the first operation body is located before the first input operation;
determining a first sub-area in which the first position is located in the at least one sub-area, or determining a first sub-area closest to the first position in the at least one sub-area.
Optionally, the processor is configured to:
determining a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
In a third aspect, the present application provides an electronic device, comprising:
the input unit comprises M input key values, wherein M is an integer;
a first determination module, configured to determine a first position of the first input operation in the input unit, and determine a first operation body performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer and is smaller than M;
a second determining module, configured to determine, based on the first operation body and the first location, a first input key value corresponding to the first input operation, where the first key value is one of the N input key values.
In the application, when a first input operation performed on an input unit is obtained, a first position of the first input operation in the input unit and a first operation body performing the first input operation can be determined, the input unit comprises M input key values, N input key values in the M input key values correspond to the first operation body, and then a first input key value corresponding to the first input operation in the N input key values can be determined based on the first operation body and the first position, so that in the process of inputting by using the input unit, the first input key value corresponding to the first input operation can be determined from the N input key values corresponding to the first operation body by determining the first position of the first input operation and the corresponding first operation body, and even if a user blindly beats, the corresponding input key value can be determined by determining the first operation body corresponding to the first input operation and the first position, therefore, the error input is reduced, the input accuracy of the electronic equipment is improved, and the user experience is improved.
Drawings
FIG. 1 is a flow chart of an input method in an embodiment of the invention;
FIG. 2 is a schematic diagram of an acquisition device and an input unit in an electronic device according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a correspondence relationship between an operation body and an input key value according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 5 is a block diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, the electronic device may be a PC (personal computer), a notebook computer, a PAD (tablet computer), a mobile phone, or other different devices, which is not limited in the present invention.
Optionally, in the embodiment of the present invention, a plurality of applications may be installed in the electronic device, for example, a wechat application, a microblog application, a payment application, an Office application (a kind of Office software), and the like, and after the electronic device is connected to a network, for example, after the electronic device is connected to a Wi-Fi (Wireless Fidelity), the user may use a plurality of functions provided by the applications, for example, document editing may be performed using the Office application, or payment and account transfer may be performed using the payment application.
Optionally, the input unit of the electronic device may be an entity input unit, such as a physical key pad, where the layout of the key values in the physical key pad may be a conventional default layout form, for example, the key value in the middle column of the key pad may be ASDFGHJKL, each key has a corresponding key value, and when a user presses a key, the input of the corresponding key value may be triggered. Alternatively, the input unit may also be a virtual input unit, such as a virtual keyboard, and the layout manner of the key values may also adopt a conventional default layout form, which is not described herein.
The virtual keyboard adopts a light projection technology, a full-size computer keyboard is projected on a plane, and the virtual keyboard can be connected with the electronic equipment through Bluetooth, so that input can be performed through the virtual keyboard. For example, when used in PDAs and smartphones, e-mail, spreadsheet, Word processing, etc. may be conveniently performed via a virtual keyboard, such as opening a Pocket Word, text editing, etc.
Or, the virtual keyboard may also be directly displayed in the input unit, in this case, the input unit may be a touch display screen, and the user may directly implement an operation on the virtual keyboard through an operation on the touch display screen.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the embodiment of the present invention discloses an input method, and the process of the method can be described as follows.
S11: a first input operation performed on an input unit is obtained, wherein the input unit comprises M input key values, and M is an integer.
In the embodiment of the present invention, the first input operation may be an operation performed by a user with respect to an input unit, for example, a click operation or a touch operation with respect to the input unit.
Optionally, the M input key values included in the input unit may be keyboard characters in a keyboard, for example, the M input key values may include letters, numbers, symbols, and the like. In practical applications, each input key value may be located in a corresponding sub-area of the input unit, for example, each letter in the keyboard may have a corresponding key area.
When the user performs the first input operation on the input unit by using a hand, the first input operation may be obtained by detection of a sensor in the electronic device, for example, a capacitance sensor senses a change in capacitance in a touch display screen on which a virtual keyboard is displayed, or a pressure sensor detects a change in pressure in the input unit, or the like, or the first input operation may also be detected by other methods, which is not limited in the present invention.
S12: determining a first position of a first input operation in an input unit, and determining a first operation body for performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer, and N is smaller than M.
In the embodiment of the present invention, the first position may be a contact position between the user and the input unit when performing the first input operation, for example, the first position of the first input operation may be determined by a change of capacitance in the touch display screen, or a position where a pressure in the input unit changes may be detected as the first position of the first input operation, and so on.
Alternatively, the first operation body may refer to a finger, such as an index finger, a middle finger, a thumb, etc., used by the user to perform the first input operation during the input process.
In the embodiment of the present invention, when determining the first operation body corresponding to the first input operation, one implementation manner that may be adopted is: during the first input operation of the user on the input unit, a plurality of images including the operation body of the user are acquired by the acquisition device, generally speaking, the number of the operation bodies of the user may be a plurality, for example, may be 10, that is, the number corresponds to 10 fingers of the user, for example, 5 fingers of a left hand and 5 fingers of a right hand are included. Further, by analyzing the captured image, a first operation body that performs a first input operation can be determined from a plurality of operation bodies of the user. For example, the finger of the user performing the clicking operation, such as the index finger or the middle finger.
In practical application, the collecting device may be a camera, which may collect images of the finger movements of the user when the user uses the input unit, for example, a plurality of images may be collected continuously, and the movements of the fingers of the user, the movement tracks of the fingers, and the like may be determined through analysis of the plurality of images, and of course, the keyboard region where the first position of the detected first input operation is located may also be combined, so as to obtain the first operation body performing the first input operation through comprehensive analysis. As shown in fig. 2, which is a schematic diagram of an acquisition device and an input unit in an electronic device according to an embodiment of the present invention, a keyboard area of the input unit may be within an acquisition range of the acquisition device, so that an operation body of a user performing an input operation may be determined more accurately by analyzing an image acquired by the acquisition device in a process of inputting by the user.
Optionally, the M input key values included in the input unit may have a preset corresponding relationship with the operation body of the user. Generally, according to the keyboard usage habit of people, a corresponding input key value can be set for each operation body (i.e. finger) for the user to perform input operation. For example, the keyboard region may be divided into two parts, wherein the first part may correspond to a left hand of the user, the second part may correspond to a right hand of the user, and further, a corresponding preset input key value may be divided for each finger, so that a corresponding relationship between the operation body and the input key value may be set. For example, the fingers of the user may be numbered, for example, from right to left, and may be numbered 1, 2, 3, and 4 … 10 in sequence, and similarly, the input key values corresponding to the operation in the input unit may be numbered correspondingly, for example, as numbered a1, a2, A3, a4 … a10, that means 1 corresponds to the input key value of the a1 region, 2 corresponds to the input key value of the a2 region, and so on. As shown in fig. 3, it is a schematic diagram of the corresponding relationship between the operation body and the input key value.
Thus, by determining the operation body, the first region corresponding to the operation body in the input unit can be determined. For example, as can be seen from fig. 3, the input key values corresponding to the middle finger (numbered 3) of the right hand of the user include "8", "I", "K", and "<", and when the first operation body is determined to be the middle finger of the hand of the user, the first area can be correspondingly determined to be the area occupied by the input key values "8", "I", "K", and "<".
S13: and determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the first key value is one of the N input key values.
In the embodiment of the present invention, when determining the first input key value according to the first operation body and the first position, the following ways may be adopted, but not limited to.
The first method is as follows: according to the corresponding relation between the operation body and the input key values, the region where the N input key values corresponding to the first operation body in the input unit are located can be determined, namely the first region. Of course, the first region may include N sub-regions corresponding to N input key values.
And then a first input key value uniquely corresponding to the first input operation can be determined from the N input key values according to the first position and the first area.
In practical applications, when the user uses the input unit, if the input unit is a virtual keyboard, for example, the input unit may be a virtual keyboard displayed on a display screen of the electronic device or a virtual keyboard projected by a projection technology.
Generally, when a user enables a virtual keyboard, the position where the virtual keyboard is located may be set. For example, a user can trigger the electronic device to display the virtual keyboard on the display screen through a gesture, and then touch at least one hand on the display screen, so that the position of the virtual keyboard in the input display unit can be updated according to the position touched by the user. For example, in the initial state, the user's right hand may correspond to an initial row of characters in a virtual keyboard, e.g., the index finger of the hand typically corresponds to the "J" character, the middle finger corresponds to the "K" character, the ring finger corresponds to the "L", and the little finger corresponds to the ": "(or"; ") accordingly, when the user places the right hand on the display screen of the electronic device (or projects an area of the virtual keyboard) to use the virtual keyboard for the first time, the display area/projection area of the virtual keyboard may be updated based on the fingers of the right hand, such as at least three fingers, so that the displayed/projected virtual keyboard can adjust the position of the virtual keyboard based on the position of the fingers and the initial position corresponding to the fingers in the virtual keyboard, so as to facilitate the user to perform input operation. Of course, the layout form of the key values in the keyboard is not changed in the process that the keyboard moves along with the movement of the hands of the user.
Of course, in practical applications, the positions of the M input key values in the input unit may also be fixed, that is, the input unit may not transmit the position change according to the motion of the hand.
Optionally, after the first region is determined, a first sub-region corresponding to the first position in the N sub-regions included in the first region may be determined according to the first position.
In the embodiment of the present invention, in the process of determining the first sub-region, the following may be performed: determining an operation direction corresponding to a first operation body, determining at least one sub-region of the N input key values, which is in the operation direction relative to the starting position, and further determining a first sub-region of the first position in the at least one sub-region, or determining a first sub-region of the at least one sub-region, which is closest to the first position; the starting position is the position of the first operation body before the first input operation.
Alternatively, the operation direction of the first operation body may be determined by analyzing an image acquired by the acquisition device, for example, by analyzing the acquired image, a motion trajectory of the first operation body may be determined, and thus the operation direction of the first operation body may be determined. Alternatively, the operation direction corresponding to the first operation body may be determined based on the vector directions corresponding to the positions of the first operation body before and after the first input operation is performed, that is, the start position and the end position (that is, the first position). For example, referring to fig. 3, if the initial position of the first operation body in the input unit is the sub-region where "J" is located, and the first position is the sub-region where "U" is located, the operation direction of the first operation body can be determined, i.e. the operation direction pointing from "J" to "U".
After determining the operating direction of the first operating body, at least one sub-region in the operating direction relative to the starting position may be determined. For example, when it is determined that the operation direction of the first operation body is a direction pointing from "J" to "U", it may be determined that the sub-region in the first operation direction in the first region may include the sub-region corresponding to the input key value "U" and the sub-region of the input key value "7".
Further, a first input key value corresponding to the first input operation in the at least one sub-region determined based on the first position may be determined. At this time, whether the first position is located in the at least one sub-region may be detected, and if it is determined that the first position is located in a first sub-region of the at least one sub-region, an input key value corresponding to the first sub-region may be determined as a first input key value corresponding to the first input operation. For example, if it is determined that the first position is in the sub-region corresponding to "U", the first input key value corresponding to the first input operation is "U".
Or, if the first position is not in the range to which any one of the sub-regions divided in the first region belongs, for example, the first position may be between two connected sub-regions, at this time, a sub-region closest to the first position in at least one sub-region may be determined as the first sub-region, and if the first position is determined to be closer to the "U" when the first position is in the position between the sub-region corresponding to the "U" and the sub-region corresponding to the "7", the first input key value may be determined as the "U".
The second method comprises the following steps: and determining a target sub-region where the first position is located in M sub-regions corresponding to the M input key values, and judging whether the target sub-region is located in a first region where the N input key values corresponding to the first operation body are located.
And if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation. For example, referring to fig. 3, if the first operation body is determined to be the index finger of the right hand of the user, the first region is the region denoted by reference numeral a4, and if the determined first position is located in the sub-region of "J" in the input unit, at this time, the target sub-region where the first position is located may be determined to be the first input key value corresponding to the first operation body to be "J".
Or, if it is determined that the target sub-region is not in the first region, the first input key value may be updated to one of the N input key values according to a preset rule. The preset rule may be that an input key value of a sub-region adjacent to the target sub-region is determined from the N input key values based on the first position and determined as the first input key value.
For example, if it is determined that the first operation body is the index finger of the user, the first region is the region denoted by reference numeral a4, and if the target sub-region where the first position is located in the input unit is the sub-region of the input key value "G", and the input key value G is not the input key value corresponding to the index finger and is not located in the first region, at this time, it may be determined that the input key value of the sub-region located in the first region adjacent to "G" in the horizontal direction is the first input key value, and at this time, the first input key value may be updated to "H" adjacent to "G", that is, the input "H".
The third method comprises the following steps: and determining the target input key value corresponding to the M input key values at the first position, and judging whether the target input key value is one of N input key values corresponding to the first operation body, if so, determining the target input key value to be the first input key value corresponding to the first input operation, otherwise, determining the first input key value from the N input key values.
In the embodiment of the invention, the electronic equipment can determine the coordinate position of the first position in the input unit, and further can determine the target input key value corresponding to the first position according to the corresponding relation between the coordinate position in the input unit and the input key value. For example, the target input key value corresponding to the first position may be determined to be "P".
Further, it may be determined whether the target input key value is one of N input key values corresponding to the first operation body, and the first input key value may be determined according to the determination result.
For example, when it is determined that the target input key value corresponding to the first position is "P", if the first operation body is a little finger of a right hand of the user and the N corresponding input key values include "P", it may be determined that the target input key value is one of the input key values corresponding to the first operation body, and therefore, the "P" may be determined as the first input key value.
Alternatively, if it is determined that the first operation body is a ring finger of the right hand of the user, and the N input key values corresponding to the first operation body are the input key values included in the region a2 in fig. 3, that is, "9", "O", "L", and ">", then the target input key value "P" is not any one of the input key values corresponding to the first operation body, and it can be presumed that the user may touch another input key value other than the input key value corresponding to the finger by mistake while performing touch typing. At this time, the input key values of the user may be corrected, for example, an input key value closer to "P" among the N input key values corresponding to the first operation body (in this example, a ring finger) may be used as the first input key value, and for example, "O" may be used as the first input key value corresponding to the first input operation.
As shown in fig. 4, based on the same inventive concept, the embodiment of the present invention also discloses an electronic device, which includes an input unit 10 and a processor 20.
The input unit 10 includes M input key values, and the input unit 10 may be a physical keyboard or a virtual keyboard.
The processor 20 may be configured to obtain a first input operation performed on the input unit 10, determine a first position of the first input operation in the input unit 10, determine a first operation body performing the first input operation, and determine a first input key value corresponding to the first input operation based on the first operation body and the first position, where the first key value is one of the N input key values; n input key values in the M input key values correspond to the first operation body, N is a positive integer, and N is smaller than M.
Optionally, the electronic device further includes:
the acquisition unit is used for acquiring images and can be a camera arranged in the electronic equipment.
The processor 20 is configured to:
controlling the acquisition unit to acquire an image including a plurality of operation bodies in the process of the first input operation of the user on the input unit 10;
analyzing the acquired image to determine the first operation body performing the first input operation from the plurality of operation bodies.
Optionally, the processor 20 is configured to:
determining a first area of the input unit 10 where the N input key values are located according to the first operation body;
and according to the first position and the first area, determining a first input key value uniquely corresponding to the first input operation from the N input key values.
Optionally, the processor 20 is configured to:
determining a first sub-region corresponding to the first position from N sub-regions included in the first region based on the first position, wherein the N sub-regions correspond to the N input key values one by one;
and determining the input key value corresponding to the first sub-area as a first input key value corresponding to the first input operation.
Optionally, the processor 20 is configured to:
determining an operation direction corresponding to the first operation body;
determining at least one sub-region of the N input key values, which is in the operation direction relative to a starting position; wherein the starting position is a position where the first operation body is located before the first input operation;
determining a first sub-area in which the first position is located in the at least one sub-area, or determining a first sub-area closest to the first position in the at least one sub-area.
Optionally, the processor 20 is configured to:
determining a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
As shown in fig. 5, based on the same inventive concept, an embodiment of the present invention further discloses an electronic device, which includes an obtaining module 301, a first determining module 302, and a second determining module 303.
The obtaining module 301 may be configured to obtain a first input operation performed on an input unit, where the input unit includes M input key values, and M is an integer.
The first determining module 302 may be configured to determine a first position of the first input operation in the input unit, and determine a first operation body performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer, and N is smaller than M.
The second determining module 303 may be configured to determine, based on the first operation body and the first position, a first input key value corresponding to the first input operation, where the first key value is one of the N input key values.
Optionally, the first determining module 302 may be configured to: acquiring an image including a plurality of operation bodies in the process of the first input operation of the user on the input unit; analyzing the acquired image to determine the first operation body performing the first input operation from the plurality of operation bodies.
Optionally, the second determining module 303 may be configured to:
determining a first area of the N input key values in the input unit according to the first operation body;
and according to the first position and the first area, determining a first input key value uniquely corresponding to the first input operation from the N input key values.
Optionally, the second determining module 303 may be configured to:
determining a first sub-region corresponding to the first position from N sub-regions included in the first region based on the first position, wherein the N sub-regions correspond to the N input key values one by one;
and determining the input key value corresponding to the first sub-area as a first input key value corresponding to the first input operation.
Optionally, the second determining module 303 may be configured to:
determining an operation direction corresponding to the first operation body;
determining at least one sub-region of the N input key values, which is in the operation direction relative to a starting position; wherein the starting position is a position where the first operation body is located before the first input operation;
determining a first sub-area in which the first position is located in the at least one sub-area, or determining a first sub-area closest to the first position in the at least one sub-area.
Optionally, the second determining module 303 may be configured to:
determining a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
The input method and the specific examples in the embodiments of fig. 1 to fig. 3 are also applicable to the electronic device of the present embodiment, and the implementation method of the electronic device in the present embodiment can be clearly known by those skilled in the art through the foregoing detailed description of the input method, so for the brevity of the description, detailed description is not provided herein.
Specifically, the computer program instructions corresponding to the input method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to the input method in the storage medium are read or executed by an electronic device, the method includes the following steps:
obtaining a first input operation performed on an input unit, wherein the input unit comprises M input key values, and M is an integer;
determining a first position of the first input operation in the input unit, and determining a first operation body for performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer and is smaller than M;
and determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the first key value is one of the N input key values.
Optionally, the step of storing in the storage medium: determining a first operation body for performing the first input operation, wherein the corresponding computer instruction comprises the following steps in the specific executed process:
acquiring an image including a plurality of operation bodies in the process of the first input operation of the user on the input unit;
analyzing the acquired image to determine the first operation body performing the first input operation from the plurality of operation bodies.
Optionally, the step of storing in the storage medium: determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the corresponding computer instruction comprises the following steps in the specific executed process:
determining a first area of the N input key values in the input unit according to the first operation body;
and according to the first position and the first area, determining a first input key value uniquely corresponding to the first input operation from the N input key values.
Optionally, the step of storing in the storage medium: according to the first position and the first area, a first input key value uniquely corresponding to the first input operation is determined from the N input key values, and the corresponding computer instruction comprises the following steps in the specific executed process:
determining a first sub-region corresponding to the first position from N sub-regions included in the first region based on the first position, wherein the N sub-regions correspond to the N input key values one by one;
and determining the input key value corresponding to the first sub-area as a first input key value corresponding to the first input operation.
Optionally, the step of storing in the storage medium: based on the first position, determining a first sub-area corresponding to the first position in the N sub-areas included in the first area, wherein the corresponding computer instructions, in a specific executed process, include the following steps:
determining an operation direction corresponding to the first operation body;
determining at least one sub-region of the N input key values, which is in the operation direction relative to a starting position; wherein the starting position is a position where the first operation body is located before the first input operation;
determining a first sub-area in which the first position is located in the at least one sub-area, or determining a first sub-area closest to the first position in the at least one sub-area.
Optionally, the step of storing in the storage medium: determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the corresponding computer instruction comprises the following steps in the specific executed process:
determining a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. An input method, comprising:
obtaining a first input operation performed on an input unit, wherein the input unit comprises M input key values, and M is an integer;
determining a first position of the first input operation in the input unit, and determining a first operation body for performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer and is smaller than M;
determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the first key value is one of the N input key values;
wherein the determining a first input key value corresponding to the first input operation based on the first operation body and the first position includes:
determining a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
2. The method of claim 1, wherein the determining a first operation body to perform the first input operation comprises:
acquiring an image including a plurality of operation bodies in the process of the first input operation of the user on the input unit;
analyzing the acquired image to determine the first operation body performing the first input operation from the plurality of operation bodies.
3. The method of claim 1 or 2, wherein the determining a first input key value corresponding to the first input operation based on the first operation body and the first position comprises:
determining a first area of the N input key values in the input unit according to the first operation body;
and according to the first position and the first area, determining a first input key value uniquely corresponding to the first input operation from the N input key values.
4. The method of claim 3, wherein determining a first input key value from the N input key values that uniquely corresponds to the first input operation according to the first location and the first region comprises:
determining a first sub-region corresponding to the first position from N sub-regions included in the first region based on the first position, wherein the N sub-regions correspond to the N input key values one by one;
and determining the input key value corresponding to the first sub-area as a first input key value corresponding to the first input operation.
5. The method of claim 4, wherein said determining, based on the first location, a first sub-region of the N sub-regions the first region comprises that corresponds to the first location comprises:
determining an operation direction corresponding to the first operation body;
determining at least one sub-region of the N input key values, which is in the operation direction relative to a starting position; wherein the starting position is a position where the first operation body is located before the first input operation;
determining a first sub-area in which the first position is located in the at least one sub-area, or determining a first sub-area closest to the first position in the at least one sub-area.
6. An electronic device, comprising:
an input unit including M input key values;
the input unit is used for inputting a first input operation, determining a first position of the first input operation in the input unit, determining a first operation body for performing the first input operation, and determining a first input key value corresponding to the first input operation based on the first operation body and the first position, wherein the first key value is one of N input key values; n input key values in the M input key values correspond to the first operation body, N is a positive integer and is smaller than M;
the processor is further configured to determine a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
7. The electronic device of claim 6, further comprising:
the acquisition unit is used for acquiring images;
the processor is further configured to:
controlling the acquisition unit to acquire images comprising a plurality of operation bodies in the process of the first input operation of the user on the input unit;
analyzing the acquired image to determine the first operation body performing the first input operation from the plurality of operation bodies.
8. The electronic device of claim 6 or 7, wherein the processor is to:
determining a first area of the N input key values in the input unit according to the first operation body;
and according to the first position and the first area, determining a first input key value uniquely corresponding to the first input operation from the N input key values.
9. The electronic device of claim 8, wherein the processor is to:
determining a first sub-region corresponding to the first position from N sub-regions included in the first region based on the first position, wherein the N sub-regions correspond to the N input key values one by one;
and determining the input key value corresponding to the first sub-area as a first input key value corresponding to the first input operation.
10. The electronic device of claim 9, wherein the processor is to:
determining an operation direction corresponding to the first operation body;
determining at least one sub-region of the N input key values, which is in the operation direction relative to a starting position; wherein the starting position is a position where the first operation body is located before the first input operation;
determining a first sub-area in which the first position is located in the at least one sub-area, or determining a first sub-area closest to the first position in the at least one sub-area.
11. An electronic device, comprising:
the input unit comprises M input key values, wherein M is an integer;
a first determination module, configured to determine a first position of the first input operation in the input unit, and determine a first operation body performing the first input operation; n input key values in the M input key values correspond to the first operation body, N is a positive integer and is smaller than M;
a second determining module, configured to determine, based on the first operation body and the first position, a first input key value corresponding to the first input operation, where the first key value is one of the N input key values;
the second determining module is further configured to determine a target sub-region where the first position is located in M sub-regions corresponding to the M input key values;
judging whether the target sub-region is in a first region where the N input key values are located;
and if the target sub-region is determined to be in the first region, determining that the input key value corresponding to the target sub-region is the first input key value corresponding to the first input operation, otherwise, updating the first input key value to be one of the N input key values according to a preset rule.
CN201610180104.4A 2016-03-25 2016-03-25 Input method and electronic equipment Active CN105867806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610180104.4A CN105867806B (en) 2016-03-25 2016-03-25 Input method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610180104.4A CN105867806B (en) 2016-03-25 2016-03-25 Input method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105867806A CN105867806A (en) 2016-08-17
CN105867806B true CN105867806B (en) 2020-05-26

Family

ID=56624985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610180104.4A Active CN105867806B (en) 2016-03-25 2016-03-25 Input method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105867806B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1316684A (en) * 2000-02-01 2001-10-10 科乐美股份有限公司 Culture recreation system with typewriting practising function and typewriting practising system
CN101937313A (en) * 2010-09-13 2011-01-05 中兴通讯股份有限公司 Dynamic generation and input method and device for touch keyboard
CN102750044A (en) * 2011-04-19 2012-10-24 北京三星通信技术研究有限公司 Virtual keyboard device and realizing method thereof
CN104199550A (en) * 2014-08-29 2014-12-10 福州瑞芯微电子有限公司 Man-machine interactive type virtual touch device, system and method
CN104205019A (en) * 2012-02-28 2014-12-10 阿尔卡特朗讯 System and method for inputting symbols
CN104583906A (en) * 2012-08-21 2015-04-29 三星电子株式会社 Input method and apparatus of portable device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8232973B2 (en) * 2008-01-09 2012-07-31 Apple Inc. Method, device, and graphical user interface providing word recommendations for text input

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1316684A (en) * 2000-02-01 2001-10-10 科乐美股份有限公司 Culture recreation system with typewriting practising function and typewriting practising system
CN101937313A (en) * 2010-09-13 2011-01-05 中兴通讯股份有限公司 Dynamic generation and input method and device for touch keyboard
CN102750044A (en) * 2011-04-19 2012-10-24 北京三星通信技术研究有限公司 Virtual keyboard device and realizing method thereof
CN104205019A (en) * 2012-02-28 2014-12-10 阿尔卡特朗讯 System and method for inputting symbols
CN104583906A (en) * 2012-08-21 2015-04-29 三星电子株式会社 Input method and apparatus of portable device
CN104199550A (en) * 2014-08-29 2014-12-10 福州瑞芯微电子有限公司 Man-machine interactive type virtual touch device, system and method

Also Published As

Publication number Publication date
CN105867806A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN103038728B (en) Such as use the multi-mode text input system of touch-screen on a cellular telephone
US8619048B2 (en) Method and device of stroke based user input
US20130275907A1 (en) Virtual keyboard
US20100020033A1 (en) System, method and computer program product for a virtual keyboard
US20090231282A1 (en) Character selection on a device using offset contact-zone
WO2009074047A1 (en) Method, system, device and terminal for correcting touch screen error
US20140285445A1 (en) Portable device and operating method thereof
Cha et al. Virtual Sliding QWERTY: A new text entry method for smartwatches using Tap-N-Drag
US9182908B2 (en) Method and electronic device for processing handwritten object
US20230244379A1 (en) Key function execution method and apparatus, device, and storage medium
CN103455262A (en) Pen-based interaction method and system based on mobile computing platform
TWI807955B (en) Method for inputting letters, host, and computer readable storage medium
CN104077065A (en) Method for displaying virtual keyboard by touch screen terminal and touch screen terminal
CN105867684A (en) Object controlling method and device
CA2651469C (en) Character selection on a device using offset contact-zone
CN107132927B (en) Input character recognition method and device for recognizing input characters
US20140191992A1 (en) Touch input method, electronic device, system, and readable recording medium by using virtual keys
JP6057441B2 (en) Portable device and input method thereof
JP6599504B2 (en) Touch error calibration method and system
CN105867806B (en) Input method and electronic equipment
Fedor et al. Performance evaluation and efficiency of laser holographic peripherals
Ljubic et al. Predicting upper-bound text entry speeds for discrete-tilt-based input on smartphones
JP2014082605A (en) Information processing apparatus, and method of controlling and program for the same
CN112698739B (en) Control method and device
Lee et al. Embodied interaction on constrained interfaces for augmented reality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant