CN110673753B - Key false touch error correction method and device - Google Patents

Key false touch error correction method and device Download PDF

Info

Publication number
CN110673753B
CN110673753B CN201810717883.6A CN201810717883A CN110673753B CN 110673753 B CN110673753 B CN 110673753B CN 201810717883 A CN201810717883 A CN 201810717883A CN 110673753 B CN110673753 B CN 110673753B
Authority
CN
China
Prior art keywords
key
pressing
false triggering
determining
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810717883.6A
Other languages
Chinese (zh)
Other versions
CN110673753A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201810717883.6A priority Critical patent/CN110673753B/en
Publication of CN110673753A publication Critical patent/CN110673753A/en
Application granted granted Critical
Publication of CN110673753B publication Critical patent/CN110673753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

Landscapes

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

Abstract

The invention discloses a key false touch error correction method and a device, wherein the method comprises the following steps: in the process of inputting by a user, obtaining pressing information when each key is triggered; determining false triggering keys according to the obtained pressing information; correcting errors of the false triggering keys; and determining each candidate word corresponding to the complete input string after error correction. By using the invention, the influence of the false touch of the key on the input of the user can be reduced, and the input experience of the user is improved.

Description

Key false touch error correction method and device
Technical Field
The invention relates to the field of key input, in particular to a key false touch error correction method and device.
Background
The keyboard is the most commonly used and main input device, and english letters, numbers, punctuation marks and the like can be input into the device through the keyboard, so that commands, input data and the like can be sent to the device. Currently, with the widespread use of touch screens, some intelligent terminal devices requiring key input mostly adopt virtual keyboards. Because the keyboard is limited by the size of the screen, the use area of the keyboard is limited, so that the position of each character of the keyboard is very dense, and the misoperation of keys is often caused during input, in particular to a full-screen mobile phone.
In the prior art, although there are some error correction schemes for input methods, these schemes do not distinguish whether the input of a character is caused by the manual active triggering of a corresponding key or by the false triggering of a key, that is, these schemes usually concern whether there is a word or word corresponding to the input character string, and are error correction for the input method itself, not for the false touch of a key, so that when there is an input error caused by the false touch of a key, the error correction effect is poor. For example, the user inputs qinhan, but p is touched by mistake when q is input, the result input string is qpinhan, and the final candidate is to be safe because q is resolved into simple spellings.
Disclosure of Invention
The embodiment of the invention provides a key false touch error correction method and device, which are used for improving the error correction accuracy in the input process and improving the user input quality.
Therefore, the invention provides the following technical scheme:
a key false touch error correction method, the method comprising:
in the process of inputting by a user, obtaining pressing information when each key is triggered;
determining false triggering keys according to the obtained pressing information;
correcting errors of the false triggering keys;
and determining each candidate word corresponding to the corrected complete input string.
Optionally, the determining the false triggering key according to the acquired pressing information includes:
if the pressing value of the current key is smaller than the pressing values of the front key and the rear key, determining that the current key is a false triggering key; or alternatively
And if the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
Optionally, the method further comprises:
recording historical pressing information of a non-false triggering key in the input process;
determining normal pressing values of all keys according to the historical pressing information;
the determining the false triggering key according to the obtained pressing information comprises the following steps:
if the pressing value of the current key is smaller than the normal pressing value of the key, determining that the current key is a false triggering key; or alternatively
If the pressing value of the current key is smaller than the normal pressing value of the key and the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
Optionally, the method further comprises:
determining false triggering weight values of the keys according to the positions of the keys and/or the current input environment;
adjusting the pressing value of each key according to the false triggering weight of each key to obtain an adjusted pressing value;
the determining the false triggering key according to the obtained pressing information comprises the following steps:
and determining the false triggering key according to the adjusted pressing value.
Optionally, the current input environment includes: current input device type, and/or current input device status.
Optionally, the pressing information includes: pressure information and/or coverage area information.
Optionally, the error correction for the false triggering key includes:
deleting the character corresponding to the false triggering key to obtain the complete input string after error correction.
Optionally, the error correction for the false triggering key includes:
respectively calculating the scores of the complete input strings obtained before deleting the characters corresponding to the false triggering keys and after deleting the characters corresponding to the false triggering keys;
and taking the complete input string with higher score as the complete input string after error correction.
A key false touch error correction device, the device comprising:
the information acquisition module is used for acquiring the pressing information when each key is triggered in the user input process;
the judging module is used for determining false triggering keys according to the acquired pressing information;
the error correction module is used for correcting errors of the false triggering keys;
and the output module is used for determining each candidate word corresponding to the corrected complete input string.
Optionally, the judging module is specifically configured to determine that the current key is a false triggering key when a pressing value of the current key is smaller than pressing values of a front key and a rear key of the current key; or when the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
Optionally, the apparatus further comprises:
the recording module is used for recording the historical pressing information of the non-false triggering key in the input process;
the calculation module is used for determining the normal pressing value of each key according to the historical pressing information;
the judging module is specifically configured to determine that the current key is a false triggering key when the pressing value of the current key is smaller than the normal pressing value of the key; or when the pressing value of the current key is smaller than the normal pressing value of the key and the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
Optionally, the apparatus further comprises:
the weight determining module is used for determining the false triggering weight of each key according to the position of the key and/or the current input environment;
the information adjustment module is used for adjusting the pressing value of each key according to the false triggering weight of each key to obtain an adjusted pressing value;
the judging module is specifically configured to determine, according to the adjusted pressing value, a false triggering key.
Optionally, the current input environment includes: current input device type, and/or current input device status.
Optionally, the pressing information includes: pressure information and/or coverage area information.
Optionally, the error correction module is specifically configured to delete a character corresponding to the false triggering key, so as to obtain an corrected complete input string.
Optionally, the error correction module is specifically configured to calculate the score of the complete input string obtained before deleting the character corresponding to the false triggering key and after deleting the character corresponding to the false triggering key, and use the complete input string with higher score as the complete input string after error correction.
A computer device, comprising: one or more processors, memory;
the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to implement the methods described above.
A readable storage medium having stored thereon instructions that are executed to implement the method described previously.
According to the key false touch error correction method and device, whether each key is normally triggered or is triggered by mistake is determined based on the pressing information when the key is triggered, and error correction is carried out on the false trigger key to finally obtain each candidate word corresponding to the corrected complete input string, so that the influence of the false touch on user input due to pressing is greatly reduced, and the input experience of a user is improved.
Further, when the false triggering key judgment is performed, not only is the pressing information input by the key this time based on the key, but also the historical pressing information of the key is considered, so that the judgment result is more accurate, and the error correction capability is improved.
Further, considering that the key position and the input environment factors have certain influence on the false triggering of the key, when the false triggering key is judged, the false triggering weight of the key can be determined according to the position of each key and/or the current input environment, and the false triggering key is determined by utilizing the weight and the corresponding pressing information, so that the scheme of the invention can be better suitable for various environments and the layout of the keyboard.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a flow chart of a method for error correction of key press error in accordance with an embodiment of the present invention;
FIG. 2 is another flow chart of a key error correction method according to an embodiment of the present invention;
FIG. 3 is an output example using an input method to which the method of the present invention is not applied;
FIG. 4 is an output example of an input method utilizing the method of the present invention;
FIG. 5 is a schematic diagram of a device for error correction of key touch according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another structure of a device for error correction of touch by a key according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another structure of a device for error correction of touch by a key according to an embodiment of the present invention;
FIG. 8 is a block diagram illustrating an apparatus for a key false touch error correction method, according to an example embodiment;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the solution of the embodiment of the present invention better understood by those skilled in the art, the embodiment of the present invention is further described in detail below with reference to the accompanying drawings and embodiments.
The embodiment of the invention provides a method and a device for error correction of key false touch, which effectively identify the condition that each key is triggered by false through pressing information when the key is triggered, so as to correct the error of the false-triggered key, improve the accuracy of error correction in the input process and improve the input quality of a user.
As shown in fig. 1, a flowchart of a key error touch correction method according to an embodiment of the present invention includes the following steps:
step 101, in the process of inputting by a user, obtaining the pressing information when each key is triggered.
When the key is triggered by mistake, because the user does not actively apply force to the key, the pressing force and/or the contact area of the key triggered by mistake are smaller than those of the normal key, so that in the embodiment of the invention, whether the key is actively triggered by the user or is triggered by mistake is judged by acquiring the pressing information of the key triggered by the key.
The pressing information may be pressure information or coverage area information, or both of these information may be included. Both the information can be used for obtaining pressure information and coverage area information acquired by the equipment sensor by calling an application program interface provided by the input application.
Step 102, determining the false triggering key according to the obtained pressing information.
Specifically, according to application requirements, there may be various judging methods:
for example, if the pressing value of the current key is smaller than the pressing values of the front and rear keys, determining that the current key is a false triggering key;
for another example, if the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
The pressing value may be a pressure or a coverage area, and it is of course also possible to determine whether both of them satisfy the corresponding conditions.
And 103, correcting errors of the false triggering keys.
Because the false triggering key is not the key which the user wants to trigger, that is, the input of the corresponding key is not the target input of the user, when the false triggering key is corrected, the character which is input corresponding to the false triggering key can be deleted, and the character string which is input completely at one time after the correction is obtained.
And 104, determining each candidate word corresponding to the corrected complete input string.
It should be noted that the complete input string refers to all input characters composed of the current key and the triggered history key, for example, the input string that the user inputs completely at a time by using the pinyin input method is "qpinhan".
In addition, the input process of the user is continuous, and accordingly, each candidate word corresponding to the corrected complete input string is dynamically changed.
Further, in order to avoid erroneous deletion caused by erroneous judgment, in another embodiment of the method of the present invention, the score of the complete input string obtained before deleting the character corresponding to the false triggering key and after deleting the character corresponding to the false triggering key may be calculated, where the score may specifically be a ranking score in the input method; and taking the input string with higher score as the complete input string after error correction. Then, each candidate word corresponding to the corrected complete input string is determined.
The method provided by the embodiment of the invention can be applied to various input methods, is not only suitable for Chinese input realized by utilizing various input methods, but also suitable for English and other languages, and if the input is English, the finally output candidate word is an English word.
The following will illustrate the process of correcting errors by using the key error touch correction method provided by the embodiment of the invention in the pinyin input Chinese process.
Assuming that the user inputs qinhan (ash) but inputs q and mistakenly touches p, the result input string is qpinhan, since when the user mistakenly touches p, the key pressure is smaller than other keys of the input, namely the key q, i, n, h, a, n, and the key coverage area is also smaller than other keys of the input, namely the key q, i, n, h, a, n, the p is determined to be caused by mistakenly touching the key, the mistakenly touched key is corrected, the corresponding character p is deleted, the character string qinhan is obtained, and the corresponding candidate word 'ash' is output.
Therefore, by using the method provided by the embodiment of the invention, the influence of the mistaken touch of the key on the input of the user can be greatly reduced, so that the input experience of the user is improved.
As shown in fig. 2, another flowchart of a key error touch correction method according to an embodiment of the present invention includes the following steps:
step 201, in the process of inputting by the user, obtaining the pressing information when each key is triggered.
Step 202, determining normal pressing values of all keys according to the historical pressing information.
The historical press information refers to press information of each key normally triggered by each user input, the press information can be press strength and/or contact area, and the information can be obtained through an application program interface provided by an input application.
In practical application, the above information may be directly recorded, and in order to avoid excessive occupation of memory resources, after a certain amount of corresponding pressing information is accumulated, the normal pressing value of each key may be calculated and stored, and the recorded historical pressing information may be deleted. In the subsequent user input process, the normal pressing value is dynamically updated, for example, the normal pressing value can be updated after the pressing information of each key is accumulated to a certain amount, or the normal pressing value after each key is input once is updated, and the updated normal pressing value is the average value of the historical pressing value and the current pressing value.
And 203, determining false triggering keys according to the obtained pressing information and the normal pressing values of the keys.
For example, if the pressing value of the current key is smaller than the normal pressing value of the key, determining that the current key is a false triggering key;
for another example, if the pressing value of the current key is smaller than the normal pressing value of the key and the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
The pressing value may be a pressure or a coverage area, and it is of course also possible to determine whether both of them satisfy the corresponding conditions.
Step 204, record the historical press information of the non-false trigger key.
Step 205, error correction is performed on the false triggering key.
Step 206, determining each candidate word corresponding to the corrected complete input string.
Continuing with the above pinyin input example, assuming that the user inputs qinhan (qinhan), but inputs q and mistakenly touches p, the result input string is qpinhan, since when the user mistakenly touches p, the key pressure is smaller than the other keys of the input, namely, the key q, i, n, h, a, n, and the pressure of the user normally pressing p in the previous input, and the key coverage area is also smaller than the coverage area of the other keys of the input, namely, the key q, i, n, h, a, n, and the coverage area of the user normally pressing p in the previous input, it is determined that p is caused by mistaken touch of the key, the mistaken touch key is corrected, the corresponding character p is deleted, the character string qinhan is obtained, and the corresponding candidate word "qinhan" is output.
According to the key false touch error correction method, when a user inputs, the false trigger key is determined based on the pressing information of each key in the current input and the historical pressing information of each key, or the historical pressing information of each key is referred to at the same time, the pressing information of the current key in the current input is compared with the pressing information of other keys in the complete input, and the false trigger key is determined, so that the accuracy of judging the false trigger key can be further improved, the influence of false touch on the user input is reduced, and the input experience of the user is improved.
In addition, because the keyboard layout, the input environment and the like of the user equipment are different, the probability of false triggering of each key is also different, and therefore, in another embodiment of the method of the invention, the false triggering weight of each key can be determined according to the position and/or the current input environment of the key; the current input environment includes, but is not limited to: a current input device type, a current input device state; the input device type such as: notebook, computer, PAD, cell phone, etc., the input device state refers to whether the input device is currently in a stationary state or in a moving state.
The obtained pressing value of the corresponding key is adjusted by utilizing the false triggering weight value, so that the accuracy of the subsequent false triggering key judgment is improved; for example, for a key on a mobile phone, the closer to the edge of the screen, the higher the probability of being triggered by mistake; for a key that is activated in a moving state, the probability of being activated by mistake is relatively high relative to a key that is activated in a stationary state. The higher the false triggering probability is, the smaller the false triggering weight is.
For example, the false triggering weight can be calculated by the following formula:
wherein,represent the firstiFalse triggering weight of each key, +.>Represent the firstiThe shortest distance of each key from the edge of the screen,representing the shortest distance between the center of the keyboard and the edge of the screen,/the keyboard>Represent the firstiSpeed of the input device when the keys are activated, < >>And->Is a weighting coefficient.
It should be noted that, the embodiment of the present invention is not limited by the specific calculation formula of the false triggering weight, and the same effect can be achieved by adjusting the obtained pressing value of the corresponding key based on the above principle, that is, the accuracy of the false triggering key judgment is improved.
Correspondingly, when the false triggering key is determined, the obtained pressing value of the key can be adjusted according to the false triggering weight of each key, and then whether the key is the false triggering key is determined according to the adjusted pressing value, so that the method of the embodiment of the invention can be better suitable for various different input environments and keyboard layouts.
Correspondingly, the embodiment of the invention also provides a key false touch error correction device, which can be integrated in user equipment, wherein the user equipment can be a notebook, a computer, a PAD, a mobile phone and the like. When the user performs input operation, the user needs to press or touch corresponding keys in a keyboard of the user equipment, wherein the keyboard can be an entity keyboard or a virtual keyboard on a touch screen of the user equipment.
Fig. 3 and fig. 4 show an example of an input method not applying the method of the present invention and an actual screen display of the input method applying the method of the present invention, respectively, after the user inputs qinhan by touching the key p by mistake and actually inputting qpinhan.
By comparing the outputs of the examples of fig. 3 and fig. 4, it is obvious that by using the method of the present invention, the output error caused by the error of the key touch in the input process can be effectively corrected, and the input quality of the user can be improved.
Fig. 5 is a schematic structural diagram of a device for error correction of key touch according to an embodiment of the present invention.
In this embodiment, the apparatus comprises: an information acquisition module 301, a judgment module 302, an error correction module 303, and an output module 304. Wherein:
the information obtaining module 301 is configured to obtain, during a user input process, pressing information when each key is triggered. Specifically, when the user performs an input operation, the key is actively triggered by the user or is triggered by mistake, the information obtaining module 301 may obtain, through interaction with the user device, pressing information of the currently triggered key from an application program interface provided by the user device, where the pressing information may be collected by a corresponding sensor in the user device. As to how the user equipment obtains the corresponding values by using the corresponding sensors, the embodiment of the present invention is not limited.
In an embodiment of the present invention, the compression information may be pressure information and/or coverage area information. The pressure and the coverage area refer to the pressure and the coverage area applied to the current single key.
The judging module 302 is configured to determine that the key is triggered by mistake according to the obtained pressing information.
The error correction module 303 is configured to correct errors of the false triggering key. Since the false triggering key is not the key that the user wants to trigger, when the error correction module 303 corrects the false triggering key, the character input corresponding to the false triggering key can be directly deleted, so as to obtain the corrected complete input string. In addition, in order to avoid erroneous deletion caused by erroneous judgment, the error correction module 303 may calculate the score of the complete input string obtained before deleting the character corresponding to the false trigger key and after deleting the character corresponding to the false trigger key, and then use the input string with higher score as the complete input string after error correction.
In this embodiment, the compression information may be pressure information and/or coverage area information. Accordingly, the determination module 302 may also determine the false trigger key in a variety of ways. For example, when the pressing value of the current key is smaller than the pressing values of the front and rear keys, determining that the current key is a false triggering key; or when the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key. Wherein the pressing value refers to a specific pressure and/or coverage area.
It should be noted that, the determination manner of the false triggering key by the determining module 302 according to the obtained pressing information is merely an example, and in practical application, other determination manners are also possible, as long as the false triggering key is determined according to the pressing information and is included in the protection scope of the present invention.
The key false touch error correction device provided by the embodiment of the invention can be applied to various input methods, is not only suitable for Chinese input realized by utilizing various input methods, but also suitable for English and other languages, and if the input is English, the finally output candidate word is the English word.
By using the key false touch error correction device provided by the embodiment of the invention, the influence of key false touch on user input can be greatly reduced, so that the input experience of a user is improved.
Fig. 6 is a schematic diagram of another structure of a device for error correction of touch by a key according to an embodiment of the invention.
In this embodiment, the apparatus comprises: an information acquisition module 301, a judgment module 302, an error correction module 303, an output module 304, a recording module 305, and a calculation module 306. Wherein:
the information obtaining module 301 is configured to obtain, during a user input process, pressing information when each key is triggered. Specifically, the pressing information of the currently triggered key may be obtained from an application program interface provided by the user equipment, where the pressing information may be: pressure information and/or coverage area information, both of which refer to the pressure and coverage area applied to the current single key.
The judging module 302 is configured to determine that the key is triggered by mistake according to the obtained pressing information.
The error correction module 303 is configured to correct errors of the false triggering key. Since the false triggering key is not the key that the user wants to trigger, when the error correction module 303 corrects the false triggering key, the character input corresponding to the false triggering key can be directly deleted, so as to obtain the character string input completely once after error correction. In addition, in order to avoid erroneous deletion caused by erroneous judgment, the error correction module 303 may calculate the scores of the character strings that are input once and are obtained before and after deleting the character corresponding to the false trigger button, and then use the character string with the higher score as the character string that is input once and is input once after error correction.
The output module 304 is configured to determine each candidate word that is completely input after error correction, that is, determine each candidate word corresponding to the character string that is completely input after error correction.
The recording module 305 is configured to record historical press information of a non-false triggering key in the input process.
The calculating module 306 is configured to determine a normal pressing value of each key according to the historical pressing information.
It should be noted that, the recording module 305 may directly record the pressing information of the non-false triggering key in each input process, so as to avoid the overflow of the stored data due to the limitation of the storage space, and delete the historical data with earlier time after the corresponding pressing information is accumulated to a certain amount, and so on, that is, the recorded pressing information of the non-false triggering key is continuously updated. Of course, after the corresponding pressing information is accumulated to a certain amount, the normal pressing value of each key may be calculated and stored. The normal press value is dynamically updated during each subsequent user input.
Accordingly, in this embodiment, the judging module 302 may determine the false triggering key based on the pressing information of the current key and the historical pressing information, and the specific judging manner may also be various, for example: when the pressing value of the current key is smaller than the normal pressing value of the key, determining that the current key is a false triggering key; or when the pressing value of the current key is smaller than the normal pressing value of the key and the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
Likewise, the determination mode of the false triggering key by the determining module 302 according to the obtained pressing information and the historical pressing information is merely an example, and in practical application, other determination modes are also possible, as long as the false triggering key is determined to be included in the protection scope of the present invention according to the pressing information.
According to the key false touch error correction device, when a user inputs, the false touch key is determined based on the pressing information of each key in the current input and the historical pressing information of each key, or the historical pressing information of each key is referred to at the same time, the pressing information of the current key in the current input is compared with the pressing information of other keys in the complete input, and the false touch key is determined, so that the accuracy of judging the false touch key can be further improved, the influence of false touch on the user input is reduced, and the input experience of the user is improved.
Fig. 7 is a schematic diagram of another structure of a device for error correction of touch by a key according to an embodiment of the invention.
Unlike the embodiment shown in fig. 5, in this embodiment, the apparatus further comprises: a weight determination module 307 and an information adjustment module 308. Wherein:
the weight determining module 307 is configured to determine a false triggering weight of each key according to a position of the key and/or a current input environment;
the information adjustment module 308 is configured to adjust a pressing value of each key according to the false triggering weight of the key, so as to obtain an adjusted pressing value.
Accordingly, in this embodiment, the determining module 302 determines the false triggering key according to the adjusted pressing value, so that the method according to the embodiment of the present invention can better adapt to various different input environments and keyboard layouts.
Because the keyboard layout, the input environment and the like of the user equipment are different, the probability of false triggering of each key is also different, in the embodiment, not only the pressing information of each key in the current input is considered, but also the influence of key positions and/or input environment factors on false touch of the keys is considered, so that the scheme of the invention can be better suitable for various environments and the layout of the keyboard.
The current input environment includes, but is not limited to: a current input device type, a current input device state; the input device type such as: notebook, computer, PAD, cell phone, etc., the input device state refers to whether the input device is currently in a stationary state or in a moving state.
It should be noted that, the weight determining module 307 and the information adjusting module 308 described above may be applied to the embodiment shown in fig. 6, that is, the determining module 302 needs to determine the false triggering key by comprehensively considering the obtained pressing information, the historical pressing information, and the false triggering weight of each key.
It should be noted that, the method and the device of the embodiment of the present invention may be applied to an entity keyboard or a virtual keyboard on a screen of a user device, where the user device may be a computer, a notebook, a mobile phone, a PAD, etc.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram illustrating an apparatus 800 for a key false touch error correction method according to an example embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
Input/output interface 812 provides an interface between processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described key-miss-touch error correction method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 9 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 1900 may vary considerably in configuration or performance and may include one or more central processing units (Central Processing Units, CPU) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) that store applications 1942 or data 1944. Wherein the memory 1932 and storage medium 1930 may be transitory or persistent. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, a central processor 1922 may be provided in communication with a storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
A non-transitory computer readable storage medium, which when executed by a processor of an apparatus, causes the apparatus to perform the above-described key-press error correction method.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (9)

1. A method for error correction of key-press mistouches, the method comprising:
in the process of inputting by a user, obtaining pressing information when each key is triggered;
determining false triggering keys according to the obtained pressing information;
correcting errors of the false triggering keys;
determining each candidate word corresponding to the corrected complete input string;
wherein, determining the false triggering key according to the obtained pressing information includes:
if the pressing value of the current key is smaller than the pressing values of the front key and the rear key, determining that the current key is a false triggering key; or alternatively
If the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key;
the method further comprises the steps of:
determining false triggering weight of each key according to the shortest distance between each key and the edge of the screen and the current input environment of each key; the closer each key is to the edge of the screen, the higher the probability of being triggered by mistake, and the smaller the weight of the false triggering;
adjusting the pressing value of each key according to the false triggering weight of each key to obtain an adjusted pressing value;
correspondingly, the determining the false triggering key according to the acquired pressing information comprises the following steps:
and determining the false triggering key according to the adjusted pressing value.
2. The method according to claim 1, wherein the method further comprises:
recording historical pressing information of a non-false triggering key in the input process;
determining normal pressing values of all keys according to the historical pressing information;
the determining the false triggering key according to the obtained pressing information comprises the following steps:
if the pressing value of the current key is smaller than the normal pressing value of the key, determining that the current key is a false triggering key; or alternatively
If the pressing value of the current key is smaller than the normal pressing value of the key and the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key.
3. The method of claim 1, wherein the current input environment comprises: current input device type, and/or current input device status.
4. The method according to claim 1 or 2, wherein the compression information comprises: pressure information and/or coverage area information.
5. The method of claim 1, wherein error correcting the false trigger key comprises:
deleting the character corresponding to the false triggering key to obtain the complete input string after error correction.
6. The method of claim 1, wherein error correcting the false trigger key comprises:
respectively calculating the scores of the complete input strings obtained before deleting the characters corresponding to the false triggering keys and after deleting the characters corresponding to the false triggering keys;
and taking the complete input string with higher score as the complete input string after error correction.
7. A key false touch error correction device, the device comprising:
the information acquisition module is used for acquiring the pressing information when each key is triggered in the user input process;
the judging module is used for determining false triggering keys according to the acquired pressing information;
the error correction module is used for correcting errors of the false triggering keys;
the output module is used for determining each candidate word corresponding to the corrected complete input string;
the judging module is further used for determining that the current key is a false triggering key if the pressing value of the current key is smaller than the pressing values of the front key and the rear key of the current key; or alternatively
If the pressing value of the current key is smaller than the pressing values of other keys in the complete input, determining that the current key is a false triggering key;
the apparatus further comprises:
the weight determining module is used for determining the false triggering weight of each key according to the shortest distance between each key and the edge of the screen and the current input environment of each key; the closer each key is to the edge of the screen, the higher the probability of being triggered by mistake, and the smaller the weight of the false triggering;
the information adjustment module is used for adjusting the pressing value of each key according to the false triggering weight of each key to obtain an adjusted pressing value;
the judging module is specifically configured to determine, according to the adjusted pressing value, a false triggering key.
8. A computer device, comprising: one or more processors, memory;
the memory is for storing computer executable instructions and the processor is for executing the computer executable instructions to implement the method of any one of claims 1 to 6.
9. A readable storage medium having stored thereon instructions that are executed to implement the method of any of claims 1 to 6.
CN201810717883.6A 2018-07-03 2018-07-03 Key false touch error correction method and device Active CN110673753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810717883.6A CN110673753B (en) 2018-07-03 2018-07-03 Key false touch error correction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810717883.6A CN110673753B (en) 2018-07-03 2018-07-03 Key false touch error correction method and device

Publications (2)

Publication Number Publication Date
CN110673753A CN110673753A (en) 2020-01-10
CN110673753B true CN110673753B (en) 2024-04-12

Family

ID=69065916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810717883.6A Active CN110673753B (en) 2018-07-03 2018-07-03 Key false touch error correction method and device

Country Status (1)

Country Link
CN (1) CN110673753B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023112400A (en) * 2022-02-01 2023-08-14 オムロン株式会社 Input device, method for controlling input device, and information processing device
CN115731684B (en) * 2022-10-21 2024-04-12 广州视声智能股份有限公司 Control method and device of wireless key switch equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034431A (en) * 2011-10-06 2013-04-10 丽智科技股份有限公司 Intelligent GUI touch method and system
CN105183213A (en) * 2015-08-04 2015-12-23 南昌欧菲光科技有限公司 Touch screen, and anti-misoperation method therefor
CN106886294A (en) * 2015-12-15 2017-06-23 北京搜狗科技发展有限公司 A kind of input method error correction method and device
CN106896931A (en) * 2015-12-18 2017-06-27 北京搜狗科技发展有限公司 A kind of input method error correction method and device
CN107085471A (en) * 2017-04-25 2017-08-22 北京百度网讯科技有限公司 A kind of input method error correction method and device based on user's input speed
CN107092424A (en) * 2016-02-18 2017-08-25 北京搜狗科技发展有限公司 A kind of display methods of error correction, device and the device of the display for error correction
CN107332569A (en) * 2017-06-12 2017-11-07 苏州贝艾尔净化科技有限公司 The control method of new trend controller touch key-press
CN108182001A (en) * 2017-12-28 2018-06-19 科大讯飞股份有限公司 Input error correction method and device, storage medium and electronic equipment
WO2018107898A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method and device for preventing false triggering of touch button, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266520B (en) * 2008-04-18 2013-03-27 上海触乐信息科技有限公司 System for accomplishing live keyboard layout

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034431A (en) * 2011-10-06 2013-04-10 丽智科技股份有限公司 Intelligent GUI touch method and system
CN105183213A (en) * 2015-08-04 2015-12-23 南昌欧菲光科技有限公司 Touch screen, and anti-misoperation method therefor
CN106886294A (en) * 2015-12-15 2017-06-23 北京搜狗科技发展有限公司 A kind of input method error correction method and device
CN106896931A (en) * 2015-12-18 2017-06-27 北京搜狗科技发展有限公司 A kind of input method error correction method and device
CN107092424A (en) * 2016-02-18 2017-08-25 北京搜狗科技发展有限公司 A kind of display methods of error correction, device and the device of the display for error correction
WO2018107898A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method and device for preventing false triggering of touch button, terminal and storage medium
CN107085471A (en) * 2017-04-25 2017-08-22 北京百度网讯科技有限公司 A kind of input method error correction method and device based on user's input speed
CN107332569A (en) * 2017-06-12 2017-11-07 苏州贝艾尔净化科技有限公司 The control method of new trend controller touch key-press
CN108182001A (en) * 2017-12-28 2018-06-19 科大讯飞股份有限公司 Input error correction method and device, storage medium and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Formalization of a realtime person-computer ensemble system with an effective matching algorithm;Tetsuya Mizutani.etc;《IEEE》;20121231;全文 *
基于统计和特征相结合的查询纠错方法研究;段建勇;关晓龙;;现代图书情报技术;20160225(02);全文 *
触摸屏技术在16位单片机中的应用;戴娟;赵艳启;;南京工业职业技术学院学报;20100615(02);全文 *

Also Published As

Publication number Publication date
CN110673753A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
US20170371513A1 (en) Method and apparatus for text selection
EP3046016A1 (en) Method and apparatus for switching display mode
CN107870677B (en) Input method, input device and input device
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN107291260B (en) Information input method and device for inputting information
CN112905103B (en) False touch processing method and device and storage medium
CN113705225A (en) Sensitive word data processing method and device and electronic equipment
CN110673753B (en) Key false touch error correction method and device
CN107239184B (en) Touch screen touch device and method and mobile terminal
CN110059548B (en) Target detection method and device
CN109725736B (en) Candidate sorting method and device and electronic equipment
CN111104001A (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN112015279B (en) Key false touch error correction method and device
CN110795014B (en) Data processing method and device and data processing device
CN110780749B (en) Character string error correction method and device
CN109977424B (en) Training method and device for machine translation model
CN111092971A (en) Display method and device for displaying
CN116204073A (en) Touch control method, touch control device, electronic equipment and storage medium
CN111221710B (en) Method, device and equipment for identifying user type
CN108037875B (en) Method, device and storage medium for switching input modes
CN113093933A (en) Point output control method, point output control device, and storage medium
CN112068793A (en) Voice input method and device
CN112905023A (en) Input error correction method and device for input error correction
CN113741783B (en) Key identification method and device for identifying keys
CN111124142B (en) Input method, device and device for inputting

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
GR01 Patent grant