CN112684906A - Input control method and electronic equipment - Google Patents

Input control method and electronic equipment Download PDF

Info

Publication number
CN112684906A
CN112684906A CN202011545066.0A CN202011545066A CN112684906A CN 112684906 A CN112684906 A CN 112684906A CN 202011545066 A CN202011545066 A CN 202011545066A CN 112684906 A CN112684906 A CN 112684906A
Authority
CN
China
Prior art keywords
key
key operation
keys
input unit
operations
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.)
Granted
Application number
CN202011545066.0A
Other languages
Chinese (zh)
Other versions
CN112684906B (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 CN202011545066.0A priority Critical patent/CN112684906B/en
Publication of CN112684906A publication Critical patent/CN112684906A/en
Application granted granted Critical
Publication of CN112684906B publication Critical patent/CN112684906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The application provides an input control method and electronic equipment, wherein the method comprises the following steps: receiving key operation aiming at least two keys on an input unit; judging whether the key operation has wrong key operation or not; if yes, forbidding to respond to the mistaken key pressing operation; if not, determining that the key operation aiming at the at least two keys is the combined key operation, and responding to the combined key operation, therefore, the method and the device can prohibit the response of the mistaken key operation under the condition that the mistaken key operation exists in the key operation, realize the identification of the mistaken key operation, and reduce the mistaken response rate.

Description

Input control method and electronic equipment
Technical Field
The invention relates to the technical field of key processing, in particular to an input control method and electronic equipment
Background
With the development of the mobile internet technology, electronic devices such as mobile phones and tablet computers have been more and more deeply inserted into the lives of people, and great convenience is brought to the lives, entertainment and study of people.
However, in the process of using the electronic device, a situation often occurs that a user often mistakenly operates some keys, for example, a female user often touches other keys due to too long nails when operating some keys during playing a game, thereby causing interruption or error of the game.
Therefore, how to solve the technical problem that the user operates the key by mistake is an urgent need to be solved in the field.
Disclosure of Invention
In view of the above, the present invention provides an input control method to solve the above technical problems.
In order to achieve the purpose, the invention provides the following technical scheme:
an input control method comprising:
receiving key operation aiming at least two keys on an input unit;
judging whether the key operation has wrong key operation or not;
if yes, forbidding to respond to the mistaken key pressing operation;
if not, determining that the key operation aiming at the at least two keys is combined key operation, and responding to the combined key operation.
Optionally, the determining whether there is a key operation mistakenly pressed in the key operation includes:
and judging whether the key operation has wrong key operation or not at least based on the pressure information corresponding to the key operation.
Optionally, the determining, at least based on the pressure information corresponding to the key operation, whether there is a key operation mistakenly pressed in the key operation includes:
respectively acquiring key pressure values of the key operation aiming at the at least two keys;
judging whether the key pressure value of one key is larger than a first pressure value and the key pressure values of other keys are smaller than a second pressure value in the key pressure values of the at least two keys; wherein the first pressure value is greater than the second pressure value;
if yes, determining that the key operation corresponding to the key with the key pressure value smaller than the second pressure value is the error key operation, and determining that the key operation corresponding to the key with the key pressure value larger than the first pressure value is the normal key operation.
Optionally, the method further includes:
judging whether the pressing time interval of the key operation for the at least two keys is greater than a preset time threshold value;
under the condition that the pressing time interval of the key operation for the at least two keys is larger than the preset time threshold, determining that the key operation for the at least two keys is a combined key operation, and responding to the combined key operation;
and under the condition that the pressing time interval of the key operation for the at least two keys is not greater than the preset time threshold, entering into the judgment of whether the key operation has mistaken key pressing operation.
Optionally, when the input unit is in a continuous-tapping state, the determining whether there is a wrong key pressing operation in the key pressing operations includes:
judging whether the at least two keys aimed at by the key operation belong to the combined keys in the continuous knocking state;
if not, determining that the key operation belongs to the mistaken key operation.
Optionally, when the type of the input unit is a specific type, the determining whether there is a wrong key pressing operation in the key pressing operations includes:
respectively acquiring signal variation of the key operation aiming at the at least two keys;
judging whether the signal variation of one key is larger than a first threshold value and the signal variation of other keys is smaller than a second threshold value in the signal variations of the at least two keys; wherein the first threshold is greater than or equal to the second threshold;
if yes, determining that the key operation corresponding to the key with the signal variation smaller than the second threshold is the wrong key operation, and determining that the key operation corresponding to the key with the signal variation larger than the first threshold is the normal key operation.
Optionally, the method further includes:
detecting whether a user currently using the input unit is a specific user;
under the condition that the user is a specific user, expanding a sensing area of a designated key on the input unit from a first area to a second area; the second area at least covers part of the sensing area of other keys adjacent to the appointed key.
Optionally, the method further includes:
accumulating the operation times of the mistaken key operation under the condition that the mistaken key operation is determined to exist;
and under the condition that the accumulated times reach the preset times, changing the key layout of the input unit from a first layout to a second layout, wherein the wrong key operation rate under the second layout is lower than that under the first layout.
An electronic device, comprising:
an input unit including a plurality of keys;
and the processor is used for receiving key operations aiming at least two keys on the input unit, judging whether the key operations have wrong key operations or not, if so, forbidding to respond to the wrong key operations, if not, determining that the key operations aiming at the at least two keys are combined key operations, and responding to the combined key operations.
Optionally, the method further includes:
the sensor is used for respectively acquiring pressure information of the key operation aiming at the at least two keys;
correspondingly, the processor is specifically configured to determine whether a wrong key pressing operation exists in the key pressing operations at least based on the pressure information corresponding to the key pressing operations.
According to the technical scheme, the input control method comprises the steps of receiving key operations of at least two keys on an input unit, judging whether the key operations have wrong key operations, if so, forbidding to respond to the wrong key operations, if not, determining that the key operations of the at least two keys are combined key operations, and responding to the combined key operations.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of an input control method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an input control method according to a second embodiment of the present application;
fig. 3 is a schematic flowchart of an input control method according to a third embodiment of the present application;
fig. 4 is a schematic flowchart of an input control method according to a fourth embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
An embodiment of the method of the present invention provides an input control method, as shown in fig. 1, the method includes the following steps:
step 101: receiving key operation aiming at least two keys on an input unit;
when receiving key operations for at least two keys on the input unit, there are at least two possibilities, one is that the user triggers a combined key operation for the two keys, and the other is that the user accidentally triggers other keys when triggering a specific key, for example, the nail inadvertently triggers a key adjacent to the specific key when triggering a finger to trigger the specific key due to the long nail of the user, and a false key operation occurs.
It should be noted that the input unit in the present application may be a physical keyboard or a virtual keyboard.
Step 102: judging whether the key operation has wrong key operation or not; if yes, go to step 103; if not, go to step 104;
the application provides various implementation modes for judging whether the key pressing operation is mistaken or not in the key pressing operation. Specifically, the method comprises the following steps:
in the first mode, determining whether there is a wrong key pressing operation in the key pressing operations may include:
and judging whether the key operation has wrong key operation or not at least based on the pressure information corresponding to the key operation.
In practical application, the force of the user on the key which is really wanted to be triggered is different from the force of the user on the key which is triggered carelessly, so that whether the key operation has the mistaken key pressing operation or not can be judged based on the pressure information corresponding to different key operations.
Specifically, the determining whether there is a wrong key pressing operation in the key pressing operations at least based on the pressure information corresponding to the key pressing operations may include:
(1) respectively acquiring key pressure values of the key operation aiming at the at least two keys;
specifically, a pressure sensor may be disposed under the input unit, for example, a pressure sensor may be disposed under each key, and when the key is triggered, the pressure value of the key may be collected through the pressure sensor. The key pressure value is a key pressure value of the key operation for each key of the at least two keys.
(2) Judging whether the key pressure value of one key is larger than a first pressure value and the key pressure values of other keys are smaller than a second pressure value in the key pressure values of the at least two keys; wherein the first pressure value is greater than the second pressure value;
if the user has the wrong key operation, the key pressure of the key which is really required to be triggered by the user is larger than the key pressure of the key which is triggered carelessly, so that whether the wrong key operation exists or not is determined by judging whether the key pressure value of one key is larger than the first pressure value and the key pressure values of other keys are smaller than the second pressure value in the key pressure values of the at least two keys.
The first pressure value and the second pressure value differ by a certain threshold value, and may be set based on practical experience, for example, the first pressure value is 50p, and the second pressure value is 40 p.
(3) If yes, determining that the key operation corresponding to the key with the key pressure value smaller than the second pressure value is the error key operation, and determining that the key operation corresponding to the key with the key pressure value larger than the first pressure value is the normal key operation.
And when the key pressure value of one key is larger than the first pressure value and the key pressure values of other keys are smaller than the second pressure value in the key pressure values of the at least two keys, determining that a false key pressing operation exists, namely determining that the key operation corresponding to the key of which the key pressure value is smaller than the second pressure value is a false key pressing operation, and determining that the key operation corresponding to the key of which the key pressure value is larger than the first pressure value is a normal key operation. Then the response to the false key operation may be prohibited and the response to the normal key operation may be prohibited.
In a second mode, when the input unit is in a continuous-tap state, the determining whether there is a wrong key pressing operation in the key pressing operations may include:
(1) judging whether the at least two keys aimed at by the key operation belong to the combined keys in the continuous knocking state;
(2) if not, determining that the key operation belongs to the mistaken key operation.
In general, when a user needs to continuously tap the input unit, misoperation is easy to occur, and for the condition, the method can be adopted to identify mistaken key pressing operation in key pressing operation.
The continuous tapping state of the input unit can be determined by the triggering interval and duration of the keys on the input unit, for example, if the triggering interval of the keys on the input unit is short (smaller than a first threshold) and the triggering duration of the keys is long (larger than a second threshold), whether the input unit is in the continuous tapping state or whether the input unit is in the continuous tapping state is determined by the currently running application, for example, if the electronic device currently runs a specific application, such as a game application, the input unit can be determined to be in the continuous tapping state because the game application needs to continuously use the input unit for control.
In the continuous tapping state, it may be preset which keys on the input unit may be simultaneously triggered, and if the key operation does not belong to a combined key that can be simultaneously triggered for the at least two keys, it is determined that the key operation belongs to a false key operation.
In a third mode, when the type of the input unit is the designated type, the determining whether there is a wrong key pressing operation in the key pressing operations may include the following steps:
(1) respectively acquiring signal variation of the key operation aiming at the at least two keys;
(2) judging whether the signal variation of one key is larger than a first threshold value and the signal variation of other keys is smaller than a second threshold value in the signal variations of the at least two keys;
wherein the first threshold is greater than or equal to the second threshold.
(3) If yes, determining that the key operation corresponding to the key with the signal variation smaller than the second threshold is the wrong key operation, and determining that the key operation corresponding to the key with the signal variation larger than the first threshold is the normal key operation.
The input unit under the designated type may recognize a trigger operation of a plurality of different types of operation bodies, for example, the input unit of the designated type may be a resistive touch type input unit. With this type of input unit, it is possible to recognize a wrong key operation among key operations in the present manner.
If the user has the wrong key operation, the triggering area of the user for the key which is really required to be triggered is larger than the triggering area of the key which is triggered carelessly, so that whether the wrong key operation exists or not is determined by judging whether the signal variation of one key is larger than the first threshold value and the signal variations of the other keys are smaller than the second threshold value in the signal variations of the at least two keys.
And when the signal variation of one key is larger than a first threshold value and the signal variation of other keys is smaller than a second threshold value in the signal variation of the at least two keys, determining that a wrong key operation exists, namely determining that the key operation corresponding to the key with the signal variation smaller than the second threshold value is a wrong key operation, and determining that the key operation corresponding to the key with the signal variation larger than the first threshold value is a normal key operation.
Step 103: forbidding to respond to the mistaken key pressing operation;
it should be noted that, if the mistaken key pressing operation and the normal key pressing operation in the received key pressing operations can be identified, only the response to the mistaken key pressing operation may be prohibited, and the response to the normal key pressing operation may be performed, so as to avoid the mistaken identification of the normal key pressing operation.
Step 104: and determining that the key operation aiming at the at least two keys is a combined key operation, and responding to the combined key operation.
Therefore, in the embodiment, the key operation aiming at the at least two keys on the input unit is received, whether the key operation has the wrong key operation is judged, if yes, the response to the wrong key operation is forbidden, if not, the key operation aiming at the at least two keys is determined to be the combined key operation, and the combined key operation is responded, so that the application can forbid the response to the wrong key operation under the condition that the wrong key operation is determined to exist in the key operation, the identification of the wrong key operation is realized, and the wrong response rate is reduced.
An embodiment of the method of the present application provides an input control method, as shown in fig. 2, the method includes the following steps:
step 201: receiving key operation aiming at least two keys on an input unit;
step 202: judging whether the pressing time interval of the key operation for the at least two keys is greater than a preset time threshold value; if yes, go to step 203; if not, go to step 204;
if a certain time interval exists between the triggering of at least two keys by the user, the key operation aiming at the at least two keys can be directly determined to be the combined key operation without identifying the mistaken key operation, and if the triggering of the at least two keys by the user is simultaneous or the occurring time interval is too short, whether the mistaken key operation exists in the key operation aiming at the at least two keys needs to be judged.
That is, whether the key operation for the at least two keys is a combined key operation can be directly determined by judging whether the pressing time interval of the key operation for the at least two keys is greater than a preset time threshold. The preset time threshold may be set based on actual conditions, and may be 50ns, for example.
Step 203: determining that the key operation aiming at the at least two keys is a combined key operation, and responding to the combined key operation;
step 204: judging whether the key operation has the wrong key operation, if so, forbidding responding to the wrong key operation; if not, determining that the key operation aiming at the at least two keys is combined key operation, and responding to the combined key operation.
Specifically, whether a wrong key pressing operation exists in the key pressing operations may be determined based on at least pressure information corresponding to the key pressing operations.
Therefore, in the embodiment, by receiving key operations on at least two keys on an input unit, determining whether a pressing time interval of the key operations on the at least two keys is greater than a preset time threshold, if so, determining that the key operations on the at least two keys are combined key operations, and responding to the combined key operations, and if not, determining whether a mistaken key operation exists in the key operations, the situation that the mistaken key operation is not certain is eliminated, and for the situation that the mistaken key operation possibly exists, the mistaken key operation is also identified, and the mistaken response rate is reduced.
The third implementation of the method provides an input control method, as shown in fig. 3, the method includes the following steps:
step 301: detecting whether a user currently using the input unit is a specific user;
the collector may be configured to detect whether a user currently using the input unit is a specific user, and specifically, the collector may acquire feature information of the user currently using the input unit, and identify the feature information to determine whether the user currently using the input unit is the specific user.
The collector can be an image collector, correspondingly, the collected characteristic information is image characteristic information, the collector can also be a sound collector, and correspondingly, the collected characteristic information is audio characteristic information.
The specific user may be referred to as a female user, that is, the female user may have a greater probability of a wrong key operation when using the input unit because the nail of the female user may be longer.
In addition to the manner of detecting the specific user by the collector, the user currently using the input unit may directly input whether the user is the specific user, for example, the specific user is a female user, and then the user currently using the input unit may be prompted to manually input the gender of the user to detect whether the user is the specific user.
Step 302: under the condition that the user is a specific user, expanding a sensing area of a designated key on the input unit from a first area to a second area;
when the user is a specific user, the induction area of the designated key on the input unit is enlarged, so that the specific user is ensured not to easily trigger the adjacent key when triggering the designated key, and the misoperation rate is reduced. The second area at least covers part of the sensing area of other keys adjacent to the appointed key.
For example, the designated key is the key marked with a and D on the input unit, and the sensing area of the key a and the key D is enlarged, so that a specific user is not easy to trigger an adjacent key when triggering the key a or the key D.
Step 303: receiving key operation aiming at least two keys on an input unit;
step 304: judging whether the key operation has wrong key operation or not; if yes, go to step 305; if not, go to step 306;
step 305: forbidding to respond to the mistaken key pressing operation;
step 306: and determining that the key operation aiming at the at least two keys is a combined key operation, and responding to the combined key operation.
Therefore, in the embodiment, when the user currently using the input unit is determined to be a specific user, the sensing area of the designated key on the input unit is directly expanded from the first area to the second area, so that the misoperation rate of other keys can be reduced when the user triggers the designated key; and by receiving key operations aiming at least two keys on the input unit, judging whether the key operations have wrong key operations, if so, forbidding to respond to the wrong key operations, and if not, determining that the key operations aiming at the at least two keys are combined key operations and responding to the combined key operations, thereby realizing the identification of the wrong key operations and reducing the wrong response rate.
An embodiment of the method of the present application provides an input control method, as shown in fig. 4, the method includes the following steps:
step 401: receiving key operation aiming at least two keys on an input unit;
step 402: judging whether the key operation has wrong key operation or not; if yes, go to step 403; if not, go to step 406;
step 403: forbidding to respond to the mistaken key pressing operation;
step 404: accumulating the operation times of the mistaken key operation under the condition that the mistaken key operation is determined to exist;
specifically, the operation times of the mistaken key pressing operation can be accumulated in the process of using the input unit this time.
Step 405: changing the key layout of the input unit from a first layout to a second layout under the condition that the accumulated times reach a preset time;
and the wrong key operation rate under the second layout is lower than that under the first layout.
In this embodiment, the input unit may be an input unit capable of changing a layout, such as a virtual key, and the layout of the keys of the input unit is changed when the accumulated number of times reaches a preset number of times, where a change manner is not limited in this application, such as changing a distance between the keys, for example, the distance between the keys of the input unit in the second layout is greater than the distance between the keys of the input unit in the first layout. Or changing the setting position of the key corresponding to the mistaken key pressing operation identified in the input unit, so that the mistaken key pressing operation rate in the second layout is lower than that in the first layout.
Step 406: and determining that the key operation aiming at the at least two keys is a combined key operation, and responding to the combined key operation.
In this embodiment, the operation times of the mistaken key pressing operation are accumulated, and the key layout of the input unit is changed from the first layout to the second layout when the accumulated times reach the preset times, so that the mistaken key pressing operation rate is reduced to a certain extent because the mistaken key pressing operation rate in the second layout is lower than that in the first layout.
Corresponding to the above input control method, an embodiment of the apparatus of the present application further provides an electronic device, and specifically, as shown in fig. 5, is a schematic structural diagram of an electronic device provided in an embodiment of the apparatus of the present application, where the electronic device includes: an input unit 510 and a processor 520; wherein:
the input unit 510 includes a plurality of keys. The input unit may be a physical keyboard or a virtual keyboard.
The processor 520 is configured to receive key operations for at least two keys on the input unit 510, determine whether there is a wrong key operation in the key operations, prohibit a response to the wrong key operation if the wrong key operation exists, determine that the key operations for the at least two keys are combined key operations if the wrong key operation does not exist, and respond to the combined key operations.
The application provides various implementation modes for judging whether the key pressing operation is mistaken or not in the key pressing operation. Specifically, the method comprises the following steps:
in a first mode, the electronic device further includes a sensor, and the sensor is configured to obtain pressure information of the key operation for the at least two keys respectively;
correspondingly, the processor is specifically configured to determine whether a wrong key pressing operation exists in the key pressing operations at least based on the pressure information corresponding to the key pressing operations.
Specifically, the determining, by the processor, whether there is a wrong key pressing operation in the key pressing operations at least based on the pressure information corresponding to the key pressing operations may include: respectively acquiring key pressure values of the key operation aiming at the at least two keys; judging whether the key pressure value of one key is larger than a first pressure value and the key pressure values of other keys are smaller than a second pressure value in the key pressure values of the at least two keys; wherein the first pressure value is greater than the second pressure value; if yes, determining that the key operation corresponding to the key with the key pressure value smaller than the second pressure value is the error key operation, and determining that the key operation corresponding to the key with the key pressure value larger than the first pressure value is the normal key operation.
In a second mode, when the input unit is in a continuous-tapping state, the processor determining whether there is a wrong key pressing operation in the key pressing operations may include: judging whether the at least two keys aimed at by the key operation belong to the combined keys in the continuous knocking state;
if not, determining that the key operation belongs to the mistaken key operation.
In a third mode, when the type of the input unit is a designated type, the processor determines whether a wrong key pressing operation exists in the key pressing operations, and the determining may include: respectively acquiring signal variation of the key operation aiming at the at least two keys; judging whether the signal variation of one key is larger than a first threshold value and the signal variation of other keys is smaller than a second threshold value in the signal variations of the at least two keys; wherein the first threshold is greater than or equal to the second threshold; if yes, determining that the key operation corresponding to the key with the signal variation smaller than the second threshold is the wrong key operation, and determining that the key operation corresponding to the key with the signal variation larger than the first threshold is the normal key operation.
Therefore, in the embodiment, the key operation aiming at the at least two keys on the input unit is received, whether the key operation has the wrong key operation is judged, if yes, the response to the wrong key operation is forbidden, if not, the key operation aiming at the at least two keys is determined to be the combined key operation, and the combined key operation is responded, so that the application can forbid the response to the wrong key operation under the condition that the wrong key operation is determined to exist in the key operation, the identification of the wrong key operation is realized, and the wrong response rate is reduced.
In an example of the apparatus of the present application, the processor is further configured to determine whether a pressing time interval of the key operation for the at least two keys is greater than a preset time threshold; under the condition that the pressing time interval of the key operation for the at least two keys is larger than the preset time threshold, determining that the key operation for the at least two keys is a combined key operation, and responding to the combined key operation; and under the condition that the pressing time interval of the key operation for the at least two keys is not greater than the preset time threshold, executing the judgment of whether the key operation has mistaken key pressing operation.
In a third embodiment of the apparatus of the present application, the processor is further configured to detect whether a user currently using the input unit is a specific user; under the condition that the user is a specific user, expanding a sensing area of a designated key on the input unit from a first area to a second area; the second area at least covers part of the sensing area of other keys adjacent to the appointed key.
The electronic device may further include a collector configured to collect characteristic information of a user currently using the input unit. The processor determines whether a user currently using the input unit is a specific user by recognizing the characteristic information.
The collector can be an image collector, correspondingly, the collected characteristic information is image characteristic information, the collector can also be a sound collector, and correspondingly, the collected characteristic information is audio characteristic information.
The specific user may be referred to as a female user, that is, the female user may have a greater probability of a wrong key operation when using the input unit because the nail of the female user may be longer.
In addition to the manner of detecting the specific user by the collector, the user currently using the input unit may directly input whether the user is the specific user, for example, the specific user is a female user, and then the user currently using the input unit may be prompted to manually input the gender of the user to detect whether the user is the specific user.
In a fourth embodiment of the apparatus of the present application, the processor is further configured to accumulate the operation times of the incorrect key pressing operation when it is determined that the incorrect key pressing operation exists; and under the condition that the accumulated times reach the preset times, changing the key layout of the input unit from a first layout to a second layout, wherein the wrong key operation rate under the second layout is lower than that under the first layout.
In this embodiment, the input unit may be an input unit capable of changing a layout, such as a virtual key, and the layout of the keys of the input unit is changed when the accumulated number of times reaches a preset number of times, where a change manner is not limited in this application, such as changing a distance between the keys, for example, the distance between the keys of the input unit in the second layout is greater than the distance between the keys of the input unit in the first layout. Or changing the setting position of the key corresponding to the mistaken key pressing operation identified in the input unit, so that the mistaken key pressing operation rate in the second layout is lower than that in the first layout.
Features described in the embodiments in the present specification may be replaced with or combined with each other, each embodiment is described with a focus on differences from other embodiments, and the same and similar portions among the embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An input control method comprising:
receiving key operation aiming at least two keys on an input unit;
judging whether the key operation has wrong key operation or not;
if yes, forbidding to respond to the mistaken key pressing operation;
if not, determining that the key operation aiming at the at least two keys is combined key operation, and responding to the combined key operation.
2. The method of claim 1, wherein the determining whether the key operation has a wrong key operation comprises:
and judging whether the key operation has wrong key operation or not at least based on the pressure information corresponding to the key operation.
3. The method of claim 2, wherein the determining whether there is a false key operation in the key operations based on at least the pressure information corresponding to the key operations comprises:
respectively acquiring key pressure values of the key operation aiming at the at least two keys;
judging whether the key pressure value of one key is larger than a first pressure value and the key pressure values of other keys are smaller than a second pressure value in the key pressure values of the at least two keys; wherein the first pressure value is greater than the second pressure value;
if yes, determining that the key operation corresponding to the key with the key pressure value smaller than the second pressure value is the error key operation, and determining that the key operation corresponding to the key with the key pressure value larger than the first pressure value is the normal key operation.
4. The method of claim 2, further comprising:
judging whether the pressing time interval of the key operation for the at least two keys is greater than a preset time threshold value;
under the condition that the pressing time interval of the key operation for the at least two keys is larger than the preset time threshold, determining that the key operation for the at least two keys is a combined key operation, and responding to the combined key operation;
and under the condition that the pressing time interval of the key operation for the at least two keys is not greater than the preset time threshold, entering into the judgment of whether the key operation has mistaken key pressing operation.
5. The method according to claim 1, wherein the determining whether there is a wrong key operation in the key operations when the input unit is in a continuous-tap state comprises:
judging whether the at least two keys aimed at by the key operation belong to the combined keys in the continuous knocking state;
if not, determining that the key operation belongs to the mistaken key operation.
6. The method according to claim 1, wherein the determining whether there is a wrong key operation in the key operations when the type of the input unit is a designated type includes:
respectively acquiring signal variation of the key operation aiming at the at least two keys;
judging whether the signal variation of one key is larger than a first threshold value and the signal variation of other keys is smaller than a second threshold value in the signal variations of the at least two keys; wherein the first threshold is greater than or equal to the second threshold;
if yes, determining that the key operation corresponding to the key with the signal variation smaller than the second threshold is the wrong key operation, and determining that the key operation corresponding to the key with the signal variation larger than the first threshold is the normal key operation.
7. The method of claim 1, further comprising:
detecting whether a user currently using the input unit is a specific user;
under the condition that the user is a specific user, expanding a sensing area of a designated key on the input unit from a first area to a second area; the second area at least covers part of the sensing area of other keys adjacent to the appointed key.
8. The method of claim 1, further comprising:
accumulating the operation times of the mistaken key operation under the condition that the mistaken key operation is determined to exist;
and under the condition that the accumulated times reach the preset times, changing the key layout of the input unit from a first layout to a second layout, wherein the wrong key operation rate under the second layout is lower than that under the first layout.
9. An electronic device, comprising:
an input unit including a plurality of keys;
and the processor is used for receiving key operations aiming at least two keys on the input unit, judging whether the key operations have wrong key operations or not, if so, forbidding to respond to the wrong key operations, if not, determining that the key operations aiming at the at least two keys are combined key operations, and responding to the combined key operations.
10. The electronic device of claim 9, further comprising:
the sensor is used for respectively acquiring pressure information of the key operation aiming at the at least two keys;
correspondingly, the processor is specifically configured to determine whether a wrong key pressing operation exists in the key pressing operations at least based on the pressure information corresponding to the key pressing operations.
CN202011545066.0A 2020-12-23 2020-12-23 Input control method and electronic equipment Active CN112684906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011545066.0A CN112684906B (en) 2020-12-23 2020-12-23 Input control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011545066.0A CN112684906B (en) 2020-12-23 2020-12-23 Input control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112684906A true CN112684906A (en) 2021-04-20
CN112684906B CN112684906B (en) 2024-06-18

Family

ID=75451411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011545066.0A Active CN112684906B (en) 2020-12-23 2020-12-23 Input control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112684906B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114413441A (en) * 2022-01-04 2022-04-29 珠海格力电器股份有限公司 Key control method, key control device, computer equipment, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442584A (en) * 2007-11-20 2009-05-27 中兴通讯股份有限公司 Touch screen mobile phone capable of improving key-press input rate
CN103699318A (en) * 2014-01-06 2014-04-02 联想(北京)有限公司 Touch response method and touch response device of electronic device
CN103744593A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for preventing mis-operation of mobile terminal
CN106598456A (en) * 2016-11-15 2017-04-26 北京小米移动软件有限公司 Method and device for sending control instruction, and electronic equipment
CN109067978A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Button operation processing method, device, storage medium and electronic equipment
CN111637528A (en) * 2020-04-24 2020-09-08 广东志高暖通设备股份有限公司 Air conditioner control method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442584A (en) * 2007-11-20 2009-05-27 中兴通讯股份有限公司 Touch screen mobile phone capable of improving key-press input rate
CN103744593A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for preventing mis-operation of mobile terminal
CN103699318A (en) * 2014-01-06 2014-04-02 联想(北京)有限公司 Touch response method and touch response device of electronic device
CN106598456A (en) * 2016-11-15 2017-04-26 北京小米移动软件有限公司 Method and device for sending control instruction, and electronic equipment
CN109067978A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Button operation processing method, device, storage medium and electronic equipment
CN111637528A (en) * 2020-04-24 2020-09-08 广东志高暖通设备股份有限公司 Air conditioner control method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114413441A (en) * 2022-01-04 2022-04-29 珠海格力电器股份有限公司 Key control method, key control device, computer equipment, storage medium and program product

Also Published As

Publication number Publication date
CN112684906B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
KR100672539B1 (en) Method for recognizing a touch input in mobile communication terminal having touch screen and mobile communication terminal able to implement the same
CN106406904B (en) Information processing method, electronic equipment and information processing device
CN104951159B (en) Touch key-press and fingerprint identification method
WO2018107898A1 (en) Method and device for preventing false triggering of touch button, terminal and storage medium
CN106775087B (en) Touch screen control method and device of mobile terminal and mobile terminal
EP2079011A1 (en) Handheld electronic device and screen lock method thereof
CN108431756B (en) Method for responding to gesture acting on touch screen of electronic equipment and electronic equipment
JP6149604B2 (en) Display control apparatus, display control method, and program
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
CN104866226A (en) Terminal device and method for controlling same
CN106502470A (en) Prevent method, device and the terminal of touch key-press false triggering
CN112445410B (en) Touch event identification method and device and computer readable storage medium
CN108319886A (en) Fingerprint identification method and device
CN105630370A (en) Slide touch operation method and apparatus for terminal, and terminal
WO2016082251A1 (en) Touch signal processing method and device
CN105867822B (en) Information processing method and electronic equipment
CN107179849B (en) Terminal, input control method thereof, and computer-readable storage medium
CN105573653A (en) Multi-object selecting method and terminal
CN104077050A (en) Terminal operating method
EP2674848A2 (en) Information terminal device and display control method
KR101952342B1 (en) Off-center sensor target region
CN112684906A (en) Input control method and electronic equipment
CN107239202B (en) Control instruction identification method and device
US10241671B2 (en) Gesture response method and device
CN109710111B (en) False touch prevention method and electronic equipment

Legal Events

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