CN105511773B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105511773B CN105511773B CN201410505721.8A CN201410505721A CN105511773B CN 105511773 B CN105511773 B CN 105511773B CN 201410505721 A CN201410505721 A CN 201410505721A CN 105511773 B CN105511773 B CN 105511773B
- Authority
- CN
- China
- Prior art keywords
- input
- target
- bodies
- input area
- determining
- 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
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 23
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims description 19
- 238000001514 detection method Methods 0.000 claims description 9
- 210000003811 finger Anatomy 0.000 description 112
- 230000006870 function Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 12
- 210000004247 hand Anatomy 0.000 description 12
- 238000004590 computer program Methods 0.000 description 7
- 210000004932 little finger Anatomy 0.000 description 3
- 210000003813 thumb Anatomy 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of information processing method and electronic equipments;The information processing method is applied in electronic equipment, and the electronic equipment is provided with touch-control input module, and the input module includes input area;Wherein, the information processing method includes: to detect at least two operating bodies by the touch-control input module;When at least two operating body meets the first preset condition, determine that at least two operating body position is preset at least two input character position;All input character positions in the input area are determined based on the default at least two inputs character.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
In the prior art, a virtual keyboard is usually used for an electronic device, and a user usually touches a touch display screen of the electronic device with a finger, so as to trigger the virtual keyboard to operate. The electronic equipment identifies the touch position of a user through the touch display screen, identifies a corresponding virtual key according to the touch position and further triggers the virtual key. In this way, once the position touched by the user is slightly deviated, the electronic device cannot identify the accurate virtual key, thereby affecting the accuracy of the operation.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device, which can improve the accuracy of input operation.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with a touch input assembly, and the touch input assembly comprises an input area; the method comprises the following steps:
detecting at least two operation bodies through the touch input assembly;
when the at least two operation bodies are determined to meet a first preset condition, determining that the positions of the at least two operation bodies are the positions of at least two preset input characters;
and determining the positions of all input characters in the input area based on the preset at least two input characters.
Preferably, the method further comprises:
when the fact that the movement of a first operation body meets a second preset condition is detected, the first operation body is determined to be a target operation body; wherein the first operation body is any one of the at least two operation bodies;
and determining a target character aimed at by the target operation body in the input area according to the moving position of the target operation body.
Preferably, the method further comprises:
and generating a first instruction based on the logic function of the target character representation, and executing the logic function of the target character representation according to the first instruction.
Preferably, the at least two operation bodies satisfy a first preset condition, including:
and when the relative positions of the at least two operation bodies between the operation points in the input area meet the relative positions of the at least two preset input characters, determining that the at least two operation bodies meet the first preset condition.
Preferably, the detecting that the movement of the first operating body satisfies the second preset condition includes:
acquiring an initial operation point and a target operation point of an operation body in the input area, and determining the moving distance of the operation body according to the initial operation point and the target operation point;
and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
Preferably, the determining a target character aimed at by the target operation body in the input area according to the moving position of the target operation body includes:
acquiring an initial operation point and a target operation point of the target operation body in the input area;
and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
The present invention also provides an electronic device, including: a touch input unit and a determination unit; the touch input unit comprises an input area; wherein,
the touch input unit is used for detecting at least two operation bodies;
the determining unit is configured to determine that the positions of the at least two operation bodies are the positions of the preset at least two input characters when it is determined that the at least two operation bodies detected by the touch input unit satisfy a first preset condition; and determining the positions of all input characters in the input area based on the preset at least two input characters.
Preferably, the touch detection unit is further configured to detect movement of the first operation body; wherein the first operation body is any one of the at least two operation bodies;
the determining unit is further configured to determine that the first operation body is a target operation body when the movement of the first operation body detected by the touch detection unit meets a second preset condition; and determining a target character aimed at by the target operation body in the input area according to the moving position of the target operation body.
Preferably, the electronic device further includes an execution unit, configured to generate a first instruction based on the logic function characterized by the target character determined by the determination unit, and execute the logic function characterized by the target character according to the first instruction.
Preferably, the determining unit is configured to determine that the at least two operation bodies satisfy the first preset condition when the relative positions of the at least two operation bodies between the operation points in the input area satisfy the preset relative positions of the at least two input characters.
Preferably, the determining unit is configured to acquire an initial operation point and a target operation point of an operation body in the input area, and determine a moving distance of the operation body according to the initial operation point and the target operation point; and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
Preferably, the determining unit is configured to acquire an initial operating point and a target operating point of the target operating body in the input area; and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
The embodiment of the invention provides an information processing method and electronic equipment, wherein the electronic equipment is provided with a touch input assembly, and the touch input assembly comprises an input area; the method comprises the following steps: detecting at least two operation bodies through the touch input assembly; when the at least two operation bodies are determined to meet a first preset condition, determining that the positions of the at least two operation bodies are the positions of at least two preset input characters; and determining the positions of all input characters in the input area based on the preset at least two input characters. Therefore, all input characters in the input area are determined through the operation points of the at least two operation bodies meeting the preset conditions, and therefore the accuracy of input operation can be greatly improved in the input operation of a user.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a first structure of an electronic device according to an embodiment of the invention;
fig. 5 is a schematic diagram of a second structure of an electronic device according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
The embodiment of the invention provides an information processing method, which is applied to electronic equipment; the electronic equipment is provided with a touch input assembly, and the touch input assembly comprises an input area; fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: at least two operation bodies are detected through the touch input assembly.
In this embodiment, the electronic device is an electronic device having a touch input module, for example: a mobile phone, a tablet computer, a computer, an all-in-one machine and the like with a touch screen. The touch input component can detect a touch input operation, and is specifically a touch screen or a touch display screen of the electronic device; the input area may be an operation area of the touch input device, for example, a touch area of the touch screen or a touch display area of the touch display screen.
Here, if the operation body is an object for operating the electronic device by a user, for example, a finger of the user, the at least two operation bodies are specifically two to ten operation bodies.
Step 102: and when the at least two operation bodies are determined to meet a first preset condition, determining that the positions of the at least two operation bodies are the positions of the preset at least two input characters.
Here, the at least two operation bodies satisfy a first preset condition including:
and when the relative positions of the at least two operation bodies between the operation points in the input area meet the relative positions of the at least two preset input characters, determining that the at least two operation bodies meet the first preset condition.
Specifically, the electronic device detects at least two operation bodies through the touch input component, and obtains positions of operation points of the at least two operation bodies in the input area; determining relative positions of the at least two operation bodies between the operation points in the input area based on the positions of the operation points of the at least two operation bodies in the input area; the relative position of the at least two operation bodies between the operation points in the input area is the relative position between the operation points of every two operation bodies; here, the electronic device stores therein preset relative positions of at least two input characters; when the relative position of the at least two operation bodies between the operation points in the input area meets the relative position of the at least two input characters, determining that the at least two operation bodies meet the first preset condition.
In practical applications, when a user operates the touch input device, generally, ten fingers of two hands contact with an input area of the touch input device, that is, ten operation bodies are detected by the touch input device; generally, when a user contacts ten fingers with an input area of the touch input component, operation points of the ten fingers on the input area generally have similar positions, namely the operation points of four fingers of each hand are approximately arranged in parallel, and the distances between the operation points of adjacent fingers are approximately equal; the operating point of the thumb of each hand is not on the same straight line with the operating points of the four fingers of each hand; that is, when the user contacts the input area with ten fingers of both hands, the relative positions between the operating points of the ten fingers detected by the touch input component approximately coincide with the relative positions of the operating points of both hands contacted on a conventional mechanical keyboard by the user, i.e., the relative positions between the operating points of the ten fingers detected by the touch input component and the keys A, S, D, F, J, K, L, and keys "on the mechanical keyboard; the relative position between "and the key" space "is approximately consistent. That is, when the ten operating points of the user's fingers are detected by the touch input device, and the relative positions between the ten operating points of the user's fingers satisfy the keys A, S, D, F, J, K, L and the keys "; and when the relative position between the ' and key ' blank ' is determined, the at least two operation bodies are determined to meet the first preset condition. Further, the preset at least two input characters may be input characters corresponding to relative positions of the at least two operation bodies between the operation points in the input area. Preferably, when the at least two operators are ten fingers of the user, the preset at least two input characters may be the input character A, S, D, F, J, K, L and an input character "; "and input characters" space ".
Of course, not all users use ten fingers when operating the touch input device. When the user operates the touch input device with only two fingers, for example, the user operates the manipulation input device with index fingers of two hands; when the positions of the two index fingers of the user between the operation points in the input area of the touch input component are on the same horizontal line, and the horizontal line is approximately parallel to any side of the input area, determining that the two index fingers of the user meet the first preset condition; based on the condition that the at least two operation bodies are only two index fingers of the user, the at least two input characters can be two input characters which are adapted to the relative position between the two index fingers of the user in the input area; preferably, the two input characters may be input characters F and J based on a habit of an input operation of a user.
Step 103: and determining the positions of all input characters in the input area based on the preset at least two input characters.
Here, since the input character corresponding to each finger is specified in advance in the conventional input operation, for example, the little finger of the left hand corresponds to a column of input characters 1, q, a, z; the ring finger of the left hand corresponds to the input character 2, w, s, x, and so on, and ten fingers of the user all have corresponding input characters in advance. When the at least two input characters corresponding to the at least two operation bodies are determined, other input characters in the input area can be determined according to the at least two characters.
The arrangement of all input characters in the input area is the same as that of each key in the existing full keyboard; in the existing full keyboard, the positions of the individual keys in the full keyboard may be different due to different brands or manufacturers, but the positions of the letters, the numbers and the commonly used function keys (such as an enter key, a Shift key and a CapsLock key) in all the full keyboards are the same; in a specific application, the input character characteristic data of the full keyboard of a certain type of a certain brand can be preset, and the positions of all input characters in the input area in the embodiment are matched with the input character characteristic data of the full keyboard of a certain type of a certain brand.
By adopting the technical scheme of the embodiment of the invention, the input mode of the preset position of the input character in the touch input area of the operation body in the prior art is changed, and all the input characters in the input area are determined through the operation points of at least two operation bodies meeting the preset conditions, so that the accuracy of the input operation can be greatly improved in the input operation of a user.
Example two
The embodiment of the invention provides an information processing method, which is applied to electronic equipment; the electronic equipment is provided with a touch input assembly, and the touch input assembly comprises an input area; FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 2, the method includes:
step 201: at least two operation bodies are detected through the touch input assembly.
In this embodiment, the electronic device is an electronic device having a touch input module, for example: a mobile phone, a tablet computer, a computer, an all-in-one machine and the like with a touch screen. The touch input component can detect a touch input operation, and is specifically a touch screen or a touch display screen of the electronic device; the input area may be an operation area of the touch input device, for example, a touch area of the touch screen or a touch display area of the touch display screen.
Here, if the operation body is an object for operating the electronic device by a user, for example, a finger of the user, the at least two operation bodies are specifically two to ten operation bodies.
Step 202: and when the at least two operation bodies are determined to meet a first preset condition, determining that the positions of the at least two operation bodies are the positions of the preset at least two input characters.
Here, the at least two operation bodies satisfy a first preset condition including:
and when the relative positions of the at least two operation bodies between the operation points in the input area meet the relative positions of the at least two preset input characters, determining that the at least two operation bodies meet the first preset condition.
Specifically, the electronic device detects at least two operation bodies through the touch input component, and obtains positions of operation points of the at least two operation bodies in the input area; determining relative positions of the at least two operation bodies between the operation points in the input area based on the positions of the operation points of the at least two operation bodies in the input area; the relative position of the at least two operation bodies between the operation points in the input area is the relative position between the operation points of every two operation bodies; here, the electronic device stores therein preset relative positions of at least two input characters; when the relative position of the at least two operation bodies between the operation points in the input area meets the relative position of the at least two input characters, determining that the at least two operation bodies meet the first preset condition.
In practical applications, when a user operates the touch input device, generally, ten fingers of two hands contact with an input area of the touch input device, that is, ten operation bodies are detected by the touch input device; generally, when a user contacts ten fingers with an input area of the touch input component, operation points of the ten fingers on the input area generally have similar positions, namely the operation points of four fingers of each hand are approximately arranged in parallel, and the distances between the operation points of adjacent fingers are approximately equal; the operating point of the thumb of each hand is not on the same straight line with the operating points of the four fingers of each hand; that is, when the user contacts the input area with ten fingers of both hands, the relative positions between the operating points of the ten fingers detected by the touch input component approximately coincide with the relative positions of the operating points of both hands contacted on a conventional mechanical keyboard by the user, i.e., the relative positions between the operating points of the ten fingers detected by the touch input component and the keys A, S, D, F, J, K, L, and keys "on the mechanical keyboard; the relative position between "and the key" space "is approximately consistent. That is, when the ten operating points of the user's fingers are detected by the touch input device, and the relative positions between the ten operating points of the user's fingers satisfy the keys A, S, D, F, J, K, L and the keys "; and when the relative position between the ' and key ' blank ' is determined, the at least two operation bodies are determined to meet the first preset condition. Further, the preset at least two input characters may be input characters corresponding to relative positions of the at least two operation bodies between the operation points in the input area. Preferably, when the at least two operators are ten fingers of the user, the preset at least two input characters may be the input character A, S, D, F, J, K, L and an input character "; "and input characters" space ".
Of course, not all users use ten fingers when operating the touch input device. When the user operates the touch input device with only two fingers, for example, the user operates the manipulation input device with index fingers of two hands; when the positions of the two index fingers of the user between the operation points in the input area of the touch input component are on the same horizontal line, and the horizontal line is approximately parallel to any side of the input area, determining that the two index fingers of the user meet the first preset condition; based on the condition that the at least two operation bodies are only two index fingers of the user, the at least two input characters can be two input characters which are adapted to the relative position between the two index fingers of the user in the input area; preferably, the two input characters may be input characters F and J based on a habit of an input operation of a user
Step 203: and determining the positions of all input characters in the input area based on the preset at least two input characters.
Here, since the input character corresponding to each finger is specified in advance in the conventional input operation, for example, the little finger of the left hand corresponds to a column of input characters 1, q, a, z; the ring finger of the left hand corresponds to the input character 2, w, s, x, and so on, and ten fingers of the user all have corresponding input characters in advance. When the at least two input characters corresponding to the at least two operation bodies are determined, other input characters in the input area can be determined according to the at least two characters.
The arrangement of all input characters in the input area is the same as that of each key in the existing full keyboard; in the existing full keyboard, the positions of the individual keys in the full keyboard may be different due to different brands or manufacturers, but the positions of the letters, the numbers and the commonly used function keys (such as an enter key, a Shift key and a CapsLock key) in all the full keyboards are the same; in a specific application, the input character characteristic data of the full keyboard of a certain type of a certain brand can be preset, and the positions of all input characters in the input area in the embodiment are matched with the input character characteristic data of the full keyboard of a certain type of a certain brand.
Step 204: when the fact that the movement of a first operation body meets a second preset condition is detected, the first operation body is determined to be a target operation body; wherein the first operation body is any one of the at least two operation bodies.
Here, the detecting that the movement of the first operating body satisfies a second preset condition includes:
acquiring an initial operation point and a target operation point of an operation body in the input area, and determining the moving distance of the operation body according to the initial operation point and the target operation point;
and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
Specifically, the at least two operation bodies are taken as ten fingers of the user as an example; the user performs touch operation through ten fingers, and in the process of touch operation, the situation that more than one finger moves inevitably occurs, but only one finger performs touch operation at the same time; therefore, when it is detected that the distance moved by the operation point of the first finger in the input area is the largest with respect to the distances moved by the operation points of the other nine fingers in the input area, it is determined that the first finger is the target operation body.
Step 205: and determining a target character aimed at by the target operation body in the input area according to the moving position of the target operation body.
Here, the determining a target character for the target operation body in the input area according to the movement position of the target operation body includes:
acquiring an initial operation point and a target operation point of the target operation body in the input area;
and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
Specifically, the at least two operation bodies are taken as ten fingers of the user as an example; the at least two input characters corresponding to the ten fingers of the user are an input character A, S, D, F, J, K, L and an input character "; the "and input character" space ", which input character corresponds to each finger is the same as that in the prior art, and is not described herein again. Determining a target operation body, wherein the target operation body is assumed to be the index finger of the right hand of the user in the embodiment, and the initial operation point of the index finger of the user is the position of the input character J; in this embodiment, the position of any input character can be represented by a coordinate system established by taking the center point of the input area as the point O, for example, the position of the initial operation point is (x1, y 1). When the index finger of the right hand of the user moves as a target operation body, acquiring the position (X2, Y2) of a target operation point of the index finger of the right hand of the user, wherein the X axis of the coordinate system is the same as the direction of the input character A, S, D, F, J, K, L in the input area, and then the Y axis of the coordinate system is vertical to the X axis; determining a percentage of the user's index finger shifting during movement from the position of the initial operation point (x1, y1) and the position of the target operation point (x2, y 2); based on the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area, the target character within the percentage range of the offset from the preset input character can be determined.
For example, if it is determined that the index finger of the user is shifted by a% in the X-axis direction and b% in the Y-axis direction during the movement according to the positions (X1, Y1) of the initial operation point and the positions (X2, Y2) of the target operation point, it may be determined that the index finger of the user is moved by one bit in the upper right direction; wherein the values of a, b are related to the total size of all input characters in the input area; taking the input character corresponding to the initial operation point as an input character J, the target character corresponding to the index finger of the user moving one bit upwards to the right is an input character I. For another example, if it is determined that the index finger of the user is shifted by 2 a% in the positive X-axis direction and by b% in the negative Y-axis direction according to the positions (X1, Y1) of the initial operation point and the positions (X2, Y2) of the target operation point, it may be determined that the index finger of the user is shifted by two bits in the lower right direction; taking the input character corresponding to the initial operation point as an input character J as an example, the target character corresponding to the index finger of the user moving two digits right down is taken as an input character'.
By adopting the technical scheme of the embodiment of the invention, the input mode of the preset position of the input character in the touch input area of the operation body in the prior art is changed, and all the input characters in the input area are determined through the operation points of at least two operation bodies meeting the preset conditions, so that the accuracy of the input operation can be greatly improved in the input operation of a user.
EXAMPLE III
The embodiment of the invention provides an information processing method, which is applied to electronic equipment; the electronic equipment is provided with a touch input assembly, and the touch input assembly comprises an input area; FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 3, the method includes:
step 301: at least two operation bodies are detected through the touch input assembly.
In this embodiment, the electronic device is an electronic device having a touch input module, for example: a mobile phone, a tablet computer, a computer, an all-in-one machine and the like with a touch screen. The touch input component can detect a touch input operation, and is specifically a touch screen or a touch display screen of the electronic device; the input area may be an operation area of the touch input device, for example, a touch area of the touch screen or a touch display area of the touch display screen.
Here, if the operation body is an object for operating the electronic device by a user, for example, a finger of the user, the at least two operation bodies are specifically two to ten operation bodies.
Step 302: and when the at least two operation bodies are determined to meet a first preset condition, determining that the positions of the at least two operation bodies are the positions of the preset at least two input characters.
Here, the at least two operation bodies satisfy a first preset condition including:
and when the relative positions of the at least two operation bodies between the operation points in the input area meet the relative positions of the at least two preset input characters, determining that the at least two operation bodies meet the first preset condition.
Specifically, the electronic device detects at least two operation bodies through the touch input component, and obtains positions of operation points of the at least two operation bodies in the input area; determining relative positions of the at least two operation bodies between the operation points in the input area based on the positions of the operation points of the at least two operation bodies in the input area; the relative position of the at least two operation bodies between the operation points in the input area is the relative position between the operation points of every two operation bodies; here, the electronic device stores therein preset relative positions of at least two input characters; when the relative position of the at least two operation bodies between the operation points in the input area meets the relative position of the at least two input characters, determining that the at least two operation bodies meet the first preset condition.
In practical applications, when a user operates the touch input device, generally, ten fingers of two hands contact with an input area of the touch input device, that is, ten operation bodies are detected by the touch input device; generally, when a user contacts ten fingers with an input area of the touch input component, operation points of the ten fingers on the input area generally have similar positions, namely the operation points of four fingers of each hand are approximately arranged in parallel, and the distances between the operation points of adjacent fingers are approximately equal; the operating point of the thumb of each hand is not on the same straight line with the operating points of the four fingers of each hand; that is, when the user contacts the input area with ten fingers of both hands, the relative positions between the operating points of the ten fingers detected by the touch input component approximately coincide with the relative positions of the operating points of both hands contacted on a conventional mechanical keyboard by the user, i.e., the relative positions between the operating points of the ten fingers detected by the touch input component and the keys A, S, D, F, J, K, L, and keys "on the mechanical keyboard; the relative position between "and the key" space "is approximately consistent. That is, when the ten operating points of the user's fingers are detected by the touch input device, and the relative positions between the ten operating points of the user's fingers satisfy the keys A, S, D, F, J, K, L and the keys "; and when the relative position between the ' and key ' blank ' is determined, the at least two operation bodies are determined to meet the first preset condition. Further, the preset at least two input characters may be input characters corresponding to relative positions of the at least two operation bodies between the operation points in the input area. Preferably, when the at least two operators are ten fingers of the user, the preset at least two input characters may be the input character A, S, D, F, J, K, L and an input character "; "and input characters" space ".
Of course, not all users use ten fingers when operating the touch input device. When the user operates the touch input device with only two fingers, for example, the user operates the manipulation input device with index fingers of two hands; when the positions of the two index fingers of the user between the operation points in the input area of the touch input component are on the same horizontal line, and the horizontal line is approximately parallel to any side of the input area, determining that the two index fingers of the user meet the first preset condition; based on the condition that the at least two operation bodies are only two index fingers of the user, the at least two input characters can be two input characters which are adapted to the relative position between the two index fingers of the user in the input area; preferably, the two input characters may be input characters F and J based on a habit of an input operation of a user.
Step 303: and determining the positions of all input characters in the input area based on the preset at least two input characters.
Here, since the input character corresponding to each finger is specified in advance in the conventional input operation, for example, the little finger of the left hand corresponds to a column of input characters 1, q, a, z; the ring finger of the left hand corresponds to the input character 2, w, s, x, and so on, and ten fingers of the user all have corresponding input characters in advance. When the at least two input characters corresponding to the at least two operation bodies are determined, other input characters in the input area can be determined according to the at least two characters.
The arrangement of all input characters in the input area is the same as that of each key in the existing full keyboard; in the existing full keyboard, the positions of the individual keys in the full keyboard may be different due to different brands or manufacturers, but the positions of the letters, the numbers and the commonly used function keys (such as an enter key, a Shift key and a CapsLock key) in all the full keyboards are the same; in a specific application, the input character characteristic data of the full keyboard of a certain type of a certain brand can be preset, and the positions of all input characters in the input area in the embodiment are matched with the input character characteristic data of the full keyboard of a certain type of a certain brand.
Step 304: when the fact that the movement of a first operation body meets a second preset condition is detected, the first operation body is determined to be a target operation body; wherein the first operation body is any one of the at least two operation bodies.
Here, the detecting that the movement of the first operating body satisfies a second preset condition includes:
acquiring an initial operation point and a target operation point of an operation body in the input area, and determining the moving distance of the operation body according to the initial operation point and the target operation point;
and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
Specifically, the at least two operation bodies are taken as ten fingers of the user as an example; the user performs touch operation through ten fingers, and in the process of touch operation, the situation that more than one finger moves inevitably occurs, but only one finger performs touch operation at the same time; therefore, when it is detected that the distance moved by the operation point of the first finger in the input area is the largest with respect to the distances moved by the operation points of the other nine fingers in the input area, it is determined that the first finger is the target operation body.
Step 305: and determining a target character aimed at by the target operation body in the input area according to the moving position of the target operation body.
Here, the determining a target character for the target operation body in the input area according to the movement position of the target operation body includes:
acquiring an initial operation point and a target operation point of the target operation body in the input area;
and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
Specifically, the at least two operation bodies are taken as ten fingers of the user as an example; the at least two input characters corresponding to the ten fingers of the user are an input character A, S, D, F, J, K, L and an input character "; the "and input character" space ", which input character corresponds to each finger is the same as that in the prior art, and is not described herein again. Determining a target operation body, wherein the target operation body is assumed to be the index finger of the right hand of the user in the embodiment, and the initial operation point of the index finger of the user is the position of the input character J; in this embodiment, the position of any input character can be represented by a coordinate system established by taking the center point of the input area as the point O, for example, the position of the initial operation point is (x1, y 1). When the index finger of the right hand of the user moves as a target operation body, acquiring the position (X2, Y2) of a target operation point of the index finger of the right hand of the user, wherein the X axis of the coordinate system is the same as the direction of the input character A, S, D, F, J, K, L in the input area, and then the Y axis of the coordinate system is vertical to the X axis; determining a percentage of the user's index finger shifting during movement from the position of the initial operation point (x1, y1) and the position of the target operation point (x2, y 2); based on the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area, the target character within the percentage range of the offset from the preset input character can be determined.
For example, if it is determined that the index finger of the user is shifted by a% in the X-axis direction and b% in the Y-axis direction during the movement according to the positions (X1, Y1) of the initial operation point and the positions (X2, Y2) of the target operation point, it may be determined that the index finger of the user is moved by one bit in the upper right direction; wherein the values of a, b are related to the total size of all input characters in the input area; taking the input character corresponding to the initial operation point as an input character J, the target character corresponding to the index finger of the user moving one bit upwards to the right is an input character I. For another example, if it is determined that the index finger of the user is shifted by 2 a% in the positive X-axis direction and by b% in the negative Y-axis direction according to the positions (X1, Y1) of the initial operation point and the positions (X2, Y2) of the target operation point, it may be determined that the index finger of the user is shifted by two bits in the lower right direction; taking the input character corresponding to the initial operation point as an input character J as an example, the target character corresponding to the index finger of the user moving two digits right down is taken as an input character'.
Step 306: and generating a first instruction based on the logic function of the target character representation, and executing the logic function of the target character representation according to the first instruction.
Here, taking the target character as an input character J as an example, the logic function represented by the input character J is an output character J; the logic function of the target character representation according to the first instruction is: and executing the first instruction, and controlling a display screen of the electronic equipment to output a character J.
By adopting the technical scheme of the embodiment of the invention, the input mode of the preset position of the input character in the touch input area of the operation body in the prior art is changed, and all the input characters in the input area are determined through the operation points of at least two operation bodies meeting the preset conditions, so that the accuracy of the input operation can be greatly improved in the input operation of a user.
In the first to third embodiments of the present invention, the electronic device is provided with a touch input component, that is, an operation body is detected by the touch input component; in other embodiments, the electronic device may also be provided with other principles of input components, such as a laser projection component; when the electronic equipment detects an operation body by adopting the laser projection assembly, the position of the operation body is determined by the detected depth value of the operation body. Specifically, based on the method for determining the position of the operation body by detecting the depth value of the operation body, the method for determining the positions of all input characters in the input area by the electronic device using the laser projection assembly is similar to the method described in the first embodiment of the present invention, and is not repeated here.
Example four
The embodiment of the invention also provides the electronic equipment; FIG. 4 is a schematic diagram of a first structure of an electronic device according to an embodiment of the invention; as shown in fig. 4, the electronic apparatus includes: a touch input unit 41 and a determination unit 42; the touch input unit 41 includes an input area; wherein,
the touch input unit 41 is configured to detect at least two operation bodies;
the determining unit 42 is configured to determine, when it is determined that the at least two operation bodies detected by the touch input unit 41 satisfy a first preset condition, that the positions of the at least two operation bodies are the preset positions of at least two input characters; and determining the positions of all input characters in the input area based on the preset at least two input characters.
Specifically, the determining unit 42 is configured to determine that the at least two operation bodies meet the first preset condition when the relative positions of the at least two operation bodies between the operation points in the input area meet the preset relative position between the at least two input characters.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE five
The embodiment of the invention also provides the electronic equipment; as shown in fig. 4, the electronic apparatus includes: a touch input unit 41 and a determination unit 42; the touch input unit 41 includes an input area; wherein,
the touch input unit 41 is configured to detect at least two operation bodies; the first operating body is also used for detecting the movement of the first operating body; wherein the first operation body is any one of the at least two operation bodies;
the determining unit 42 is configured to determine, when it is determined that the at least two operation bodies detected by the touch input unit 41 satisfy a first preset condition, that the positions of the at least two operation bodies are the preset positions of at least two input characters; determining the positions of all input characters in the input area based on the preset at least two input characters; the touch detection unit is further used for determining the first operation body as a target operation body when the movement of the first operation body detected by the touch detection unit meets a second preset condition; and determining a target character aimed at by the target operation body in the input area according to the moving position of the target operation body.
Specifically, the determining unit 42 is configured to determine that the at least two operation bodies meet the first preset condition when the relative positions of the at least two operation bodies between the operation points in the input area meet the preset relative position between the at least two input characters.
Specifically, the determining unit 42 is configured to acquire an initial operating point and a target operating point of an operating body in the input area, and determine a moving distance of the operating body according to the initial operating point and the target operating point; and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
Specifically, the determining unit 42 is configured to obtain an initial operating point and a target operating point of the target operating body in the input area; and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE six
The embodiment of the invention also provides the electronic equipment; FIG. 5 is a diagram illustrating a second structure of an electronic device according to an embodiment of the invention; as shown in fig. 5, the electronic device includes: a touch input unit 41, a determination unit 42, and an execution unit 43; the touch input unit 41 includes an input area; wherein,
the touch input unit 41 is configured to detect at least two operation bodies; the first operating body is also used for detecting the movement of the first operating body; wherein the first operation body is any one of the at least two operation bodies;
the determining unit 42 is configured to determine, when it is determined that the at least two operation bodies detected by the touch input unit 41 satisfy a first preset condition, that the positions of the at least two operation bodies are the preset positions of at least two input characters; determining the positions of all input characters in the input area based on the preset at least two input characters; the touch detection unit 41 is further configured to determine that the first operation body is a target operation body when the movement of the first operation body detected by the touch detection unit 41 meets a second preset condition; determining a target character aimed at by the target operation body in the input area according to the moving position of the target operation body;
the executing unit 43 is configured to generate a first instruction based on the logic function characterized by the target character determined by the determining unit 42, and execute the logic function characterized by the target character according to the first instruction.
Specifically, the determining unit 42 is configured to determine that the at least two operation bodies meet the first preset condition when the relative positions of the at least two operation bodies between the operation points in the input area meet the preset relative position between the at least two input characters.
Specifically, the determining unit 42 is configured to acquire an initial operating point and a target operating point of an operating body in the input area, and determine a moving distance of the operating body according to the initial operating point and the target operating point; and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
Specifically, the determining unit 42 is configured to obtain an initial operating point and a target operating point of the target operating body in the input area; and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
In the fourth to sixth embodiments of the present invention, the determining Unit 42 and the executing Unit 43 in the electronic device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the electronic device in practical applications; in practical applications, the touch input unit 41 in the electronic device may be implemented by a touch screen in the electronic device, and the touch screen is not limited to a capacitive touch screen and a resistive touch screen.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (6)
1. An information processing method is applied to electronic equipment, wherein the electronic equipment is provided with a touch input assembly, and the touch input assembly comprises an input area; the method comprises the following steps:
detecting at least two operation bodies through the touch input assembly;
when the at least two operation bodies are determined to meet a first preset condition, determining that the positions of the at least two operation bodies are the positions of at least two preset input characters;
determining the positions of all input characters in the input area based on the preset at least two input characters;
wherein, the at least two operation bodies satisfy a first preset condition, including:
when the relative positions of the at least two operation bodies between the operation points in the input area meet the relative positions of the at least two preset input characters, determining that the at least two operation bodies meet the first preset condition;
the method further comprises the following steps:
when the fact that the movement of a first operation body meets a second preset condition is detected, the first operation body is determined to be a target operation body; wherein the first operation body is any one of the at least two operation bodies;
acquiring an initial operation point and a target operation point of the target operation body in the input area;
and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
2. The method of claim 1, further comprising:
and generating a first instruction based on the logic function of the target character representation, and executing the logic function of the target character representation according to the first instruction.
3. The method according to claim 1, wherein the detecting that the movement of the first operation body satisfies a second preset condition comprises:
acquiring an initial operation point and a target operation point of an operation body in the input area, and determining the moving distance of the operation body according to the initial operation point and the target operation point;
and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
4. An electronic device, characterized in that the electronic device comprises: the device comprises a touch input unit, a determination unit and a touch detection unit; the touch input unit comprises an input area; wherein,
the touch input unit is used for detecting at least two operation bodies;
the determining unit is configured to determine that the positions of the at least two operation bodies are the positions of the preset at least two input characters when it is determined that the at least two operation bodies detected by the touch input unit satisfy a first preset condition; determining the positions of all input characters in the input area based on the preset at least two input characters;
the determining unit is used for determining that the at least two operation bodies meet the first preset condition when the relative positions of the at least two operation bodies between the operation points in the input area meet the preset relative positions of the at least two input characters;
the touch detection unit is also used for detecting the movement of the first operation body; wherein the first operation body is any one of the at least two operation bodies;
the determining unit is further configured to determine that the first operation body is a target operation body when the movement of the first operation body detected by the touch detection unit meets a second preset condition; taking an initial operation point and a target operation point of the target operation body in the input area; and determining a target character corresponding to the target operation point in the input area according to the relative position relationship between the initial operation point and the target operation point and the position relationship between the preset input character corresponding to the initial operation point and all the input characters in the input area.
5. The electronic device according to claim 4, further comprising an execution unit configured to generate a first instruction based on the logical function characterized by the target character determined by the determination unit, and execute the logical function characterized by the target character according to the first instruction.
6. The electronic device according to claim 4, wherein the determination unit is configured to acquire an initial operation point and a target operation point of an operation body in the input area, and determine a movement distance of the operation body according to the initial operation point and the target operation point; and determining that the movement of the first operation body meets the second preset condition when the movement distance of the first operation body is the maximum among all the moving operation bodies.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410505721.8A CN105511773B (en) | 2014-09-26 | 2014-09-26 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410505721.8A CN105511773B (en) | 2014-09-26 | 2014-09-26 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105511773A CN105511773A (en) | 2016-04-20 |
CN105511773B true CN105511773B (en) | 2019-10-29 |
Family
ID=55719795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410505721.8A Active CN105511773B (en) | 2014-09-26 | 2014-09-26 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105511773B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN103329070A (en) * | 2010-11-24 | 2013-09-25 | 日本电气株式会社 | Input device and control method of input device |
CN103713838A (en) * | 2012-10-04 | 2014-04-09 | 纬创资通股份有限公司 | Electronic device and virtual keyboard positioning method |
CN103885632A (en) * | 2014-02-22 | 2014-06-25 | 小米科技有限责任公司 | Input method and input device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003288156A (en) * | 2002-03-28 | 2003-10-10 | Minolta Co Ltd | Input device |
-
2014
- 2014-09-26 CN CN201410505721.8A patent/CN105511773B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101937313A (en) * | 2010-09-13 | 2011-01-05 | 中兴通讯股份有限公司 | Dynamic generation and input method and device for touch keyboard |
CN103329070A (en) * | 2010-11-24 | 2013-09-25 | 日本电气株式会社 | Input device and control method of input device |
CN102750044A (en) * | 2011-04-19 | 2012-10-24 | 北京三星通信技术研究有限公司 | Virtual keyboard device and realizing method thereof |
CN103713838A (en) * | 2012-10-04 | 2014-04-09 | 纬创资通股份有限公司 | Electronic device and virtual keyboard positioning method |
CN103885632A (en) * | 2014-02-22 | 2014-06-25 | 小米科技有限责任公司 | Input method and input device |
Also Published As
Publication number | Publication date |
---|---|
CN105511773A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101411569B1 (en) | Device and method for information processing using virtual keyboard | |
US20110242025A1 (en) | Hand Gesture Recognition Method for Touch Panel and Associated Apparatus | |
EP2657826A2 (en) | Mobile device and gesture determination method | |
KR20120128690A (en) | Method and device for generating dynamically touch keyboard | |
GB2510333A (en) | Emulating pressure sensitivity on multi-touch devices | |
US10802710B2 (en) | System and method for inputting one or more inputs associated with a multi-input target | |
CN105528130A (en) | A control method and device and an electronic apparatus | |
JP2015022745A (en) | Determining input received via tactile input device | |
JP5783645B2 (en) | Touchpad | |
US10564844B2 (en) | Touch-control devices and methods for determining keys of a virtual keyboard | |
CN103389862A (en) | Information processing apparatus, information processing method, and program | |
US20160342275A1 (en) | Method and device for processing touch signal | |
CN104598786A (en) | Password inputting method and device | |
JP6370118B2 (en) | Information processing apparatus, information processing method, and computer program | |
JPWO2012111227A1 (en) | Touch-type input device, electronic apparatus, and input method | |
US20150253918A1 (en) | 3D Multi-Touch | |
KR20130115750A (en) | Method for recognizing key input on a virtual keyboard and apparatus for the same | |
CN110658976B (en) | Touch track display method and electronic equipment | |
CN103257724B (en) | A kind of non-contact type mouse and method of operating thereof | |
CN105511773B (en) | A kind of information processing method and electronic equipment | |
JP2016066254A (en) | Electronic device with touch detection apparatus | |
KR101296590B1 (en) | Apparatus and method for inputting character | |
CN109669565B (en) | Touch motion tracking and reporting techniques for slow touch movement | |
KR20100042762A (en) | Method of performing mouse interface in portable terminal and the portable terminal | |
CN104375659A (en) | Information processing method and electronic equipment |
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 |