Information input method and device, electronic device, and storage medium

By acquiring and analyzing finger biological characteristic information to determine false touches of virtual keyboard input, the problem of low virtual keyboard input efficiency is solved and more efficient and accurate information input is achieved.

CN114816207BActive Publication Date: 2024-08-23LENOVO (BEIJING) LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210287515.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-22
Publication Date
2024-08-23
Estimated Expiration
2042-03-22

AI Technical Summary

Technical Problem

When inputting information through a physical keyboard or virtual keyboard, it is common to accidentally touch keys, resulting in low input efficiency. Especially when the virtual keyboard lacks physical keys and tactile feel, it is difficult to locate the key position and it is easy to press the wrong key.

Method used

By obtaining and analyzing the biological characteristic information of the finger, such as fingerprint information or identification information, the target button is determined, and the trigger operation is responded to based on the matching of the first biological characteristic information and the second biological characteristic information, and the mistaken touch is determined and the input behavior is adjusted. , thereby improving input efficiency.

Benefits of technology

It effectively reduces the probability of accidental key presses and improves the efficiency and accuracy of information input. Especially during the input process of the virtual keyboard, the judgment of biological characteristic information reduces accidental press errors and enhances the reliability of input information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816207B
    Figure CN114816207B
Patent Text Reader

Abstract

The embodiment of the present application discloses an information input method, including: obtaining a trigger operation on a key in a keyboard; the keyboard includes multiple keys; based on the trigger operation, determining a target key; obtaining first biometric feature information determined based on the target key, and second biometric feature information collected through the target key; based on the first biometric feature information and the second biometric feature information, responding to the trigger operation. The embodiment of the present application also provides an information input device electronic device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and is related to but not limited to an information input method and device, electronic equipment, and storage medium. Background Art

[0002] When inputting information into an electronic device by blindly typing on a physical keyboard, it is necessary to determine the key to be pressed based on the position of the finger relative to the keyboard, and sometimes false touches occur, resulting in low efficiency in inputting information. When inputting information into an electronic device by typing on a virtual keyboard, it is necessary to input information through a virtual keyboard displayed on a touch screen. Similar to a physical keyboard, the key positions of the virtual keyboard on a touch screen are also prone to shifting, which can easily lead to low efficiency in inputting information due to pressing the wrong key. Summary of the invention

[0003] Embodiments of the present application provide an information input method and device, an electronic device, and a storage medium.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] On the one hand, an embodiment of the present application provides an information input method, the method comprising:

[0006] Obtaining a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys;

[0007] Based on the trigger operation, determining a target button;

[0008] Acquire first biometric feature information determined based on the target button and second biometric feature information collected through the target button;

[0009] Respond to the trigger operation based on the first biometric feature information and the second biometric feature information.

[0010] In another aspect, an embodiment of the present application provides an information input device, the device comprising an acquisition module, a determination module and a response module, wherein:

[0011] The acquisition module is used to acquire a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys; acquire first biometric feature information determined based on the target key, and second biometric feature information collected through the target key;

[0012] The determination module is used to determine the target key based on the trigger operation;

[0013] The response module is used to respond to the trigger operation based on the first biometric feature information and the second biometric feature information.

[0014] On the other hand, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and the processor implements the above method when executing the program.

[0015] On the other hand, an embodiment of the present application provides a computer storage medium storing executable instructions for causing a processor to execute and implement the above method.

[0016] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0017] In the embodiment of the present application, on the one hand, the second biometric characteristic information collected by the target key can obtain the biometric characteristic information on the target key during the process of inputting information through a physical keyboard or a virtual keyboard displayed on a touch screen, so as to judge the false touch through the biometric characteristic information. On the other hand, based on the first biometric characteristic information and the second biometric characteristic information, the trigger operation is responded to. In this way, the validity of the trigger operation can be judged in time during the process of inputting information, the probability of false touch of the key can be reduced, and the efficiency of inputting information can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0019] Figure 1 A flowchart of an information input method provided in an embodiment of the present application;

[0020] Figure 2 A flowchart of an information input method provided in an embodiment of the present application;

[0021] Figure 3 A flowchart of an information input method provided in an embodiment of the present application;

[0022] Figure 4 A flowchart of an information input method provided in an embodiment of the present application;

[0023] Figure 5A A schematic diagram of the display effect of a virtual keyboard provided in an embodiment of the present application;

[0024] Figure 5B A flowchart of an information input method provided in an embodiment of the present application;

[0025] Figure 5C A schematic diagram of the mapping relationship between fingerprint information of a finger and keys on a keyboard provided in an embodiment of the present application;

[0026] Figure 5D A flowchart of an information input method provided in an embodiment of the present application;

[0027] Figure 6 A schematic diagram of the structure of an information input device provided in an embodiment of the present application;

[0028] Figure 7 A hardware entity schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. The following embodiments are used to illustrate the present application, but are not intended to limit the scope of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0030] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0031] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are merely to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0032] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as the general understanding of those skilled in the art in the field to which the embodiments of the present application belong. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0033] Figure 1 A flowchart of an information input method provided in an embodiment of the present application is shown as follows: Figure 1As shown, the method comprises at least the following steps:

[0034] Step S101, obtaining a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys;

[0035] Here, the keyboard may be a physical keyboard or a virtual keyboard. In one possible implementation, the keyboard is a virtual keyboard, and before obtaining a trigger operation on a key in the keyboard, the method further includes: displaying a virtual keyboard; the layout of the virtual keyboard is the same as that of the physical keyboard. For example, the keyboard may be as follows: Figure 5A As shown, a virtual keyboard 502 displayed on the touch screen 501 is required.

[0036] Here, the keys in the keyboard may be keys that have sound effects after being triggered, for example, key K may emit a "mi" sound effect, and key J may emit a "whoosh" sound effect. They may also be keys that have vibration effects after being triggered.

[0037] Step S102, determining a target button based on the trigger operation;

[0038] In a possible implementation, after acquiring a trigger operation on a key in the keyboard, the electronic device detects a key signal, identifies the key signal, and obtains a key code of the target key.

[0039] For example, Figure 5C As shown, after obtaining the trigger operation on the key M, the electronic device detects a key signal, identifies the key signal, and obtains the key code M.

[0040] Step S103, acquiring first biometric feature information determined based on the target button and second biometric feature information collected through the target button;

[0041] Here, the first biometric characteristic information may be various types of characteristic information of the human body, for example, fingerprint information of a finger, or identification information of a finger, for example, the identification information of the finger may be the ring finger or the index finger.

[0042] Here, the second biometric feature information collected through the target button may be fingerprint information of a finger. Figure 5C As shown, the thumb is on the space bar, and the fingerprint information of the thumb can be collected through the fingerprint information left on the space bar.

[0043] Here, the second biometric feature information collected through the target key may be finger identification information. Figure 5CAs shown, in the case where the space bar is triggered by the thumb, the identification information of the finger that triggers the target key can be identified as the thumb through the captured triggering operation video.

[0044] Step S104: respond to the trigger operation based on the first biometric feature information and the second biometric feature information.

[0045] In an practicable manner, it is possible to determine how to respond to the trigger operation based on whether the first biometric feature information and the second biometric feature information are consistent. Exemplarily, the first biometric feature information is the fingerprint information of the finger commonly used to trigger the K key; the second biometric feature information is the fingerprint information collected when the user triggers the K key, and by determining whether the two fingerprint information are consistent, it can be determined whether to respond to the K key triggered by the user.

[0046] In another practicable manner, how to respond to the trigger operation may be determined based on whether the first biometric feature information and the second biometric feature information have a mapping relationship.

[0047] Exemplarily, the first biometric feature information is the fingerprint information of the three fingers commonly used to trigger the K key; the second biometric feature information is the fingerprint information collected when the user triggers the K key. By determining whether the collected fingerprint information belongs to one of the fingerprint information of the three commonly used fingers, it can be determined whether to respond to the K key triggered by the user.

[0048] In the above embodiment, on the one hand, the second biometric characteristic information collected by the target key can obtain the biometric characteristic information on the target key during the process of inputting information through a physical keyboard or a virtual keyboard displayed on a touch screen, so as to judge the false touch through the biometric characteristic information. On the other hand, based on the first biometric characteristic information and the second biometric characteristic information, the trigger operation is responded to. In this way, the validity of the trigger operation can be judged in time during the process of inputting information, the probability of false touch of the key can be reduced, and the efficiency of inputting information can be improved.

[0049] Figure 2 A flowchart of an information input method provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the method comprises at least the following steps:

[0050] Step S201, obtaining a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys;

[0051] Step S202, based on the trigger operation, determine the target button; the trigger operation may be an operation in which the user clicks a button, and according to the user's trigger operation, determine the key code of the button clicked by the user, and the device determines the button corresponding to the trigger operation, that is, the target button, according to the obtained key code.

[0052] In one possible implementation, the method further includes: step S203, obtaining configuration information; the configuration information includes: a status identifier of an information collection function; here, the status identifier of the information collection function is used to indicate whether the fingerprint comparison input mode is turned on. Step S204, when the status identifier is in the activated state, obtaining second biometric feature information collected through the target key; here, the second biometric feature information is the fingerprint information of the finger collected through the target key. Step S205, when the status identifier is in the unactivated state, responding to the trigger operation to input the key code of the target key.

[0053] Here, the status flag of the information collection function can be changed by means of a shortcut key. For example, the information collection function can be turned on / off by pressing the FJ keys at the same time. Here, the status flag of the information collection function is used to indicate whether the fingerprint comparison input mode is turned on. When the fingerprint comparison input mode is turned on, the second biometric feature information is collected through the target key. For example, Figure 5D As shown, in step S51, the FJ button is triggered at the same time; in step S52, it is determined whether the fingerprint comparison input mode is turned on; in one possible implementation, the state of the information collection function is marked as the off state, and step S53 is executed to turn on the fingerprint comparison input mode. After step S53, the second biometric feature information is collected through the target button. In another possible implementation, the state of the information collection function is marked as the on state, and step S54 is executed to turn off the fingerprint comparison input mode.

[0054] Step S206, determining the fingerprint information of the finger pressing the target key based on the target key and the first mapping relationship; the first mapping relationship includes: the fingerprint information of the finger corresponding to each of the keys;

[0055] In one possible implementation, the first mapping relationship may include: Figure 5C The scene shown here, Figure 5C is a schematic diagram of the mapping relationship between the fingerprint information of the finger and the keys in the keyboard; Figure 5C As shown, the keys in the keyboard are divided into 9 areas. The mapping relationship between the fingerprint information of the left hand fingers and the keys is: the little finger corresponds to area 51, the ring finger corresponds to area 52, the middle finger corresponds to area 53, the index finger corresponds to area 54, and the thumb corresponds to area 55. The mapping relationship between the fingerprint information of the right hand fingers and the keys is: the thumb corresponds to area 55, the index finger corresponds to area 56, the middle finger corresponds to area 57, the ring finger corresponds to area 58, and the little finger corresponds to area 59.

[0056] Step S207: Based on the first biological feature information and the second biological feature information, respond to the trigger operation.

[0057] In an implementable manner, step S207 includes: step S2071, comparing the first biological feature information and the second biological feature information; step S2072, when the first biological feature information and the second biological feature information match, inputting the key code of the target key corresponding to the trigger operation. Here, the first biological feature information may include the fingerprint information of the finger of the target key, and the second biological feature information may include: the fingerprint information of the collected finger.

[0058] In an implementable manner, the method further includes: step S2073, when the first biological feature information and the second biological feature information do not match, not inputting the key code of the target key corresponding to the trigger operation.

[0059] Exemplarily, when the touch screen is a "phosphorescent" screen, the user taps the physical keyboard, or the key K of the virtual keyboard displayed on the "phosphorescent" screen. Through the material attached to the key K, the fingerprint information of the user's finger is obtained as the right index finger; based on the mapping relationship between the keys on the keyboard and the fingerprint information, it is determined that the user is accustomed to tapping the key K with the right middle finger. The obtained fingerprint information is inconsistent with the fingerprint information in the mapping relationship, and it is determined that the user's operation of pressing the K key is invalid, and the key code K is not input.

[0060] In an implementable manner, the method further includes:

[0061] When the first biological feature information and the second biological feature information do not match, stop obtaining trigger operations other than the target key;

[0062] Obtain the set of biological feature information collected through the target key;

[0063] When there is biological feature information in the set of biological feature information that matches the first biological feature information, input the key code of the target key.

[0064] Exemplarily, when the user is inputting the Chinese character "生" and needs to input "s", "h", "e", "n", "g", after the user inputs "e", when the fingerprint information of the finger collected through the "e" key does not match the fingerprint information of the finger of the "e" key determined through the mapping relationship, no longer obtain the trigger operations of the user on other keys except the "e" key; collect the set of fingerprint information composed of the fingerprint information of all fingers tapping the "e" key; when there is fingerprint information in the set that matches the fingerprint information of the finger of the "e" key determined through the mapping relationship, input the "e" key.

[0065] In the above embodiment, on the one hand, configuration information is obtained; the configuration information includes: a status identifier of the information collection function; when the status identifier is an activated state, the second biometric feature information collected through the target key is obtained; when the status identifier is an unactivated state, the trigger operation is responded to to input the key code of the target key. In this way, the fingerprint comparison input mode can be turned on or off by changing the configuration information, and then it can be determined whether to collect the second biometric feature information, so that when the accuracy of the input information is not required, the fingerprint comparison function to prevent accidental touches is not used; when the accuracy of the input information is required, the fingerprint comparison function to prevent accidental touches is used, and the effectiveness of the input information is selectively improved to meet customer needs.

[0066] On the other hand, when the first biometric feature information and the second biometric feature information do not match, the trigger operation other than the target key is stopped. In this way, the probability of inputting wrong information can be reduced, the number of feature matching can be reduced, and the speed of information input can be improved during the information input process.

[0067] Figure 3 A flowchart of an information input method provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the method comprises at least the following steps:

[0068] Step S301, obtaining a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys;

[0069] Step S302, determining a target button based on the trigger operation;

[0070] Step S303, based on the target key and the second mapping relationship, determining the identification information of the finger that triggers the target key; the second mapping relationship includes: the identification information of the finger corresponding to each key; acquiring the second biometric feature information collected through the target key;

[0071] In one achievable manner, the second mapping relationship can be obtained through the following steps: acquiring identification information of fingers collected historically; and determining a second mapping relationship between the identification information of each finger and a key in the keyboard based on the identification information of the fingers collected historically.

[0072] In one practicable manner, the acquiring of the second biometric feature information collected through the target key includes: acquiring video information of the triggering operation; and determining identification information of the finger pressing the target key based on the video information.

[0073] Step S304, responding to the trigger operation based on the first biometric characteristic information and the second biometric characteristic information; the first biometric characteristic information includes the identification information of the finger pressing the target key; the second biometric characteristic information includes the identification information of the finger collected through the target key.

[0074] In one achievable manner, the step S304 includes: comparing the first biometric feature information and the second biometric feature information; and when the first biometric feature information and the second biometric feature information match, responding to the trigger operation to input the key code of the target key.

[0075] For example, the finger identification information may be the ring finger of the left hand, or the little finger, or other fingers. In the case where it is costly to add fingerprint collection to the keyboard, the video information collected by the camera may be used to capture the key triggered by the finger, and determine whether the key triggered by the finger is in the trigger key area corresponding to the user's habitual finger, thereby determining whether the trigger operation is valid.

[0076] In the above embodiment, the identification information of the finger that triggers the target key is determined based on the target key and the second mapping relationship; the second mapping relationship includes: the identification information of the finger corresponding to each key. In this way, it is possible to determine whether the key triggered by the finger is in the trigger key area corresponding to the user's habitual finger through the identification information of the finger, while considering the acquisition cost of fingerprint information, so as to determine whether the trigger operation is valid, increase the way to verify false touches, improve the accuracy of information input through keys, reduce the probability of inputting wrong information, and increase the reliability of input information.

[0077] Figure 4 A flowchart of an information input method provided in an embodiment of the present application is shown as follows: Figure 4 As shown, the method comprises at least the following steps:

[0078] Step S401, obtaining a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys;

[0079] Step S402, determining a target button based on the trigger operation;

[0080] Step S403, acquiring first biometric feature information determined based on the target button and second biometric feature information collected through the target button;

[0081] Step S404, obtaining the duration of triggering the target key and the number of the target keys triggered simultaneously;

[0082] Step S405, responding to the trigger operation based on the first biometric feature information and the second biometric feature information when the duration of the target key is less than the duration threshold and / or the number of the target keys triggered simultaneously is less than the number threshold.

[0083] For example, when the number of simultaneously triggered target keys is less than 2, the number of simultaneously triggered target keys is 1, and it is determined that the user may have accidentally touched the keyboard. Figure 5A As shown, in the case where the keyboard is a virtual keyboard, the thumb of the right hand lightly touches the space key in the virtual keyboard 502 in the touch screen while holding the touch screen 501. At this time, based on the comparison between the first biometric information and the second biometric information, it is further determined whether it is a false touch.

[0084] For example, when the duration of triggering the target key is less than 1 second, it is determined that the operation of triggering the target key may be an erroneous operation. Based on the comparison of the first biometric information and the second biometric information, it is further determined whether it is an erroneous touch, thereby reducing the probability of misjudgment of an erroneous touch.

[0085] Exemplarily, when the number of target keys triggered simultaneously is 1 and the duration of triggering the target key is less than 1 second, it is further determined whether it is a false touch based on the comparison between the first biometric information and the second biometric information, thereby reducing the probability of misjudgment of false touches.

[0086] In one achievable manner, the method further includes: when the duration of triggering the target key is greater than a duration threshold or the number of keys triggered simultaneously is greater than a number threshold, responding to the trigger operation to input a key code of the target key.

[0087] Exemplarily, when the number of target keys triggered simultaneously is greater than 2, it is determined that the user is inputting information normally, and the key code of the target key is input in response to the trigger operation.

[0088] Exemplarily, when the duration of triggering the target key is greater than 1 second, it is determined that the operation of triggering the target key may be the user's target operation. At this time, the key code corresponding to the target key is input in response to the triggering operation.

[0089] In the above embodiment, the duration of triggering the target key and the number of simultaneously triggered target keys are obtained, so that the verification conditions for the validity of the triggering operation can be increased and the probability of misjudgment can be reduced.

[0090] When inputting information into an electronic device by blind typing on a physical keyboard, it is necessary to determine the key to be pressed based on the position of the finger relative to the keyboard, and sometimes false touches occur, resulting in low efficiency in inputting information. Figure 5A As shown, information needs to be input through a virtual keyboard 502 displayed on a touch screen 501. However, compared with a physical keyboard, a virtual keyboard on a touch screen does not have physical keys that can be touched, and the located keys are easily offset, and the problem of low efficiency of inputting information caused by pressing the wrong key is more obvious.

[0091] In the related art, the position of the key is relocated and the correct information is entered by deleting the input erroneous information and observing the change in the position of the finger relative to the keyboard. In the process of determining the relative position of the finger and the keyboard, it can be determined by the identification and touch of the key. For example, key F and key J have short horizontal line protrusions, and there will be sound effects when tapping. The positions of the remaining keys can be quickly located through the protrusions and sound effects. However, in the process of quickly inputting information, such as when tapping keys with a large span, information such as protrusions and sound effects are easily ignored, which can easily lead to tapping errors. Furthermore, in the process of inputting information through a virtual keyboard, due to the lack of identification and touch of the keys, it is more difficult to accurately locate the position of the keys, and it is more likely to press the wrong keys.

[0092] The above-mentioned information input method is described below in conjunction with an embodiment. However, it should be noted that this embodiment is used to better illustrate the present application and does not constitute an improper limitation on the present application.

[0093] The embodiment of the present application takes the fingerprint information of the finger collected through the target button as the second biological feature information as an example to illustrate an information input method provided by the present application. Figure 5B As shown, the method includes:

[0094] Step S501, obtaining a trigger operation on a key in the keyboard;

[0095] Here, the trigger operation may be an operation of tapping a key.

[0096] In one practicable manner, after step S501, the method further includes: determining a target key based on the trigger operation.

[0097] Step S502, determining whether the fingerprint comparison input mode is turned on;

[0098] In one possible implementation, when the fingerprint comparison input mode is turned on, step S503 is executed to obtain the number of target keys that are triggered simultaneously, the duration of the target keys being triggered, and the fingerprint information of the finger that triggers the target keys. In another possible implementation, when the fingerprint comparison input mode is not turned on, step S509 is executed to respond to the triggering operation, thereby inputting the key code of the target key.

[0099] Step S504, determining whether the number of simultaneously triggered target keys is greater than 1;

[0100] In one possible implementation, if the number of target keys triggered simultaneously is greater than 1, it is determined that the current user is in a state of rapidly inputting information, and at this time, step S509 is executed to respond to the triggering operation, thereby inputting the key code of the target key. In another possible implementation, if the number of target keys triggered simultaneously is 1, it is determined that the user may have accidentally touched the keyboard. Figure 5A As shown, in the case where the keyboard is a virtual keyboard, the thumb of the right hand lightly touches the space key in the virtual keyboard 502 in the touch screen while holding the touch screen 501. At this time, step S505 is executed to determine whether the fingerprint information of the finger is successfully read, and then further determine whether it is a false touch based on the fingerprint comparison method.

[0101] Step S506, determining whether the duration of triggering the target key is greater than a threshold;

[0102] When the number of target keys triggered by the user is 1, it is determined that there may be an accidental touch on the keyboard. At this time, the accidental touch can be further verified by the duration of triggering the target key, thereby reducing the probability of misjudgment of the accidental touch.

[0103] In one possible implementation, when the duration of triggering the target key is less than 1s, it is determined that the operation of triggering the target key may be an erroneous operation. At this time, execute step S507 to determine whether the fingerprint information of the finger is the fingerprint information stored for the key, so as to further verify the false touch according to the fingerprint information, and reduce the probability of misjudgment of the false touch. In the case of inconsistent fingerprint information, execute step S508, and do not enter the key code of the target key, thereby reducing false touches and the probability of entering wrong information. In another possible implementation, when the duration of triggering the target key is greater than 1s, it is determined that the operation of triggering the target key may be the user's target operation. At this time, execute step S509 to respond to the triggering operation to enter the key code corresponding to the target key.

[0104] In one practicable manner, before step S507, the method further includes: acquiring fingerprint information of a finger determined based on the target key.

[0105] Here, the fingerprint information of the finger determined based on the target key may include: determining a first mapping relationship between the fingerprint information of each finger and the key in the keyboard through the fingerprint information of the historical keys collected; and determining the fingerprint information of the finger corresponding to the target key based on the target key and the first mapping relationship. Here, Figure 5C A schematic diagram of the mapping relationship between the fingerprint information of a finger and the keys in the keyboard provided in the embodiment of the present application; Figure 5CAs shown, the keys in the keyboard are divided into 9 areas. The mapping relationship between the fingerprint information of the left hand fingers and the keys is: the little finger corresponds to area 51, the ring finger corresponds to area 52, the middle finger corresponds to area 53, the index finger corresponds to area 54, and the thumb corresponds to area 55. The mapping relationship between the fingerprint information of the right hand fingers and the keys is: the thumb corresponds to area 55, the index finger corresponds to area 56, the middle finger corresponds to area 57, the ring finger corresponds to area 58, and the little finger corresponds to area 59.

[0106] Exemplarily, when the touch screen is a "phosphorescent" screen, the user taps the physical keyboard, or the key K of the virtual keyboard displayed in the "phosphorescent" screen, and the fingerprint information of the user's finger is obtained as the right index finger through the material attached to the key K; based on the mapping relationship between the keys in the keyboard and the fingerprint information, it is determined that the user is accustomed to tapping the key K with the middle finger of the right hand, and the acquired fingerprint information is inconsistent with the fingerprint information in the mapping relationship, so it is judged that the user's operation of pressing the K key is invalid, and the letter K is not entered.

[0107] In one possible implementation, the method further includes: acquiring configuration information; the configuration information includes: a status identifier of an information collection function;

[0108] Here, the status flag of the information collection function can be changed by means of a shortcut key. For example, the information collection function can be turned on / off by pressing the FJ keys at the same time. Here, the status flag of the information collection function is used to indicate whether the fingerprint comparison input mode is turned on. When the fingerprint comparison input mode is turned on, the second biometric feature information is collected through the target key. For example, Figure 5D As shown, in step S51, the FJ button is triggered at the same time; in step S52, it is determined whether the fingerprint comparison input mode is turned on; in one possible implementation, the state of the information collection function is marked as the off state, and step S53 is executed to turn on the fingerprint comparison input mode. After step S53, the second biometric feature information is collected through the target button. In another possible implementation, the state of the information collection function is marked as the on state, and step S54 is executed to turn off the fingerprint comparison input mode.

[0109] In the above embodiment, on the one hand, the fingerprint information of the finger is collected through the target button. In this way, the fingerprint information on the target button can be obtained during the process of inputting information through a physical keyboard or a virtual keyboard displayed on a touch screen, so as to judge the false touch through the fingerprint information. On the other hand, whether the trigger operation is valid is judged by the fingerprint information of the finger determined by the target button and the fingerprint information of the finger collected by the target button. In this way, the validity of the trigger operation can be judged in time during the process of inputting information, thereby reducing the probability of false touch of the button and improving the efficiency of inputting information.

[0110] In the embodiment of the present application, the identification information of the finger collected through the target button is used as the second biological feature information as an example to illustrate an information input method provided by the present application, and the method includes:

[0111] Step S510, obtaining a trigger operation on a key in the keyboard;

[0112] Here, the trigger operation may be an operation of the user tapping a key.

[0113] Step S520, obtaining video information of the triggering operation;

[0114] Here, the video information of the triggering operation can be captured by a camera of the electronic device or an external camera. Exemplarily, the camera function of the electronic device is turned on to capture the video information of the user tapping the key.

[0115] Step S530, determining the target key and identification information of the finger that triggers the target key based on the video information;

[0116] Exemplarily, the video information is analyzed by an image recognition method to determine that the key K is triggered by the ring finger of the left hand.

[0117] Step S540, obtaining the finger identification information collected historically;

[0118] Step S550, determining a second mapping relationship between the identification information of each finger and a key on the keyboard based on the identification information of the finger collected historically;

[0119] Step S560, determining identification information of a finger corresponding to the target key based on the target key and the second mapping relationship;

[0120] Step S570: Based on the identification information of the finger corresponding to the target key and the identification information of the finger that triggers the target key, it is determined whether the trigger operation is valid.

[0121] For example, the finger identification information may be the ring finger of the left hand, or the little finger, or other fingers. In the case where it is costly to add fingerprint collection to the keyboard, the video information collected by the camera may be used to capture the key triggered by the finger, and determine whether the key triggered by the finger is in the trigger key area corresponding to the user's habitual finger, thereby determining whether the trigger operation is valid.

[0122] In the above embodiment, video information of the trigger operation is obtained; based on the video information, the identification information of the target key and the finger that triggers the target key is determined; based on the identification information of the finger corresponding to the target key and the identification information of the finger that triggers the target key, it is determined whether the trigger operation is valid. In this way, by analyzing the video information, the key triggered by the finger can be captured while considering the acquisition cost of fingerprint information, and it can be determined whether the key triggered by the finger is in the trigger key area corresponding to the finger that the user is accustomed to, thereby determining whether the trigger operation is valid, increasing the way to verify false touches, improving the accuracy of information input through keys, reducing the probability of inputting wrong information, and increasing the reliability of input information.

[0123] Based on the foregoing embodiments, the embodiments of the present application further provide an information input device, wherein the control device includes the modules included, which can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0124] Figure 6 A schematic diagram of the structure of an information input device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the device 600 includes an acquisition module 610, a determination module 620 and a response module 630, wherein:

[0125] The acquisition module 610 is used to acquire a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys; acquire first biometric feature information determined based on the target key, and second biometric feature information collected through the target key;

[0126] The determination module 620 is used to determine a target key based on the trigger operation;

[0127] The response module 630 is used to respond to the trigger operation based on the first biometric feature information and the second biometric feature information.

[0128] In some possible embodiments, the first biometric feature information includes fingerprint information of a finger, and the acquisition module 610 is further used to determine the fingerprint information of the finger of the target key based on the target key and the first mapping relationship; the first mapping relationship includes: the fingerprint information of the finger corresponding to each of the keys.

[0129] In some possible embodiments, the first biometric feature information includes identification information of a finger, and the acquisition module 610 is further used to determine the identification information of the finger that triggers the target key based on the target key and the second mapping relationship; the second mapping relationship includes: identification information of the finger corresponding to each of the keys.

[0130] In some possible embodiments, the response module 630 is further used to: compare the first biometric characteristic information and the second biometric characteristic information; and when the first biometric characteristic information and the second biometric characteristic information match, respond to the trigger operation to input the key code of the target button.

[0131] In some possible embodiments, the acquisition module 610 is also used to obtain the duration of triggering the target key and the number of the target keys triggered simultaneously; the response module 630 is also used to respond to the trigger operation based on the first biometric feature information and the second biometric feature information when the duration of the target key is less than a duration threshold and / or the number of the target keys triggered simultaneously is less than a number threshold.

[0132] In some possible embodiments, the response module 630 is also used to respond to the trigger operation to input the key code of the target key when the duration of triggering the target key is greater than a duration threshold or the number of simultaneously triggered keys is greater than a number threshold.

[0133] In some possible embodiments, the acquisition module 610 is further used to: acquire configuration information; the configuration information includes: a status identifier of an information collection function; when the status identifier is an activated state, acquire the second biometric feature information collected through the target button; the response module 630 is further used to: when the status identifier is an unactivated state, respond to the trigger operation to input the key code of the target button.

[0134] In some possible embodiments, the keyboard is a virtual keyboard, and the device 600 further includes: a display module, configured to display the virtual keyboard; and the layout of the virtual keyboard is the same as that of a physical keyboard.

[0135] It should be noted that the description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0136] It should be noted that in the embodiment of the present application, if the above-mentioned information input method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a smart phone with a camera, a tablet computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0137] Correspondingly, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the information input method described in any of the above embodiments are implemented.

[0138] Correspondingly, in an embodiment of the present application, a chip is also provided, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to implement the steps of the information input method described in any of the above embodiments.

[0139] Correspondingly, in an embodiment of the present application, a computer program product is also provided. When the computer program product is executed by a processor of an electronic device, it is used to implement the steps in any of the information input methods described in the above embodiments.

[0140] Based on the same technical concept, an embodiment of the present application provides an electronic device for implementing the information input method recorded in the above method embodiment. Figure 7 A hardware entity diagram of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, the electronic device 700 includes a memory 710 and a processor 720, wherein the memory 710 stores a computer program that can be run on the processor 720, and when the processor 720 executes the program, the steps in any information input method described in the embodiments of the present application are implemented.

[0141] The memory 710 is configured to store instructions and applications executable by the processor 720, and can also cache data to be processed or processed by the processor 720 and various modules in the electronic device (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0142] When the processor 720 executes the program, the steps of any of the above information input methods are implemented. The processor 720 generally controls the overall operation of the electronic device 700.

[0143] The processor may be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It is understandable that the electronic device that implements the functions of the processor may also be other, and the embodiments of the present application are not specifically limited.

[0144] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various electronic devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0145] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0146] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0147] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0148] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0149] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present application.

[0150] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0151] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for the automatic test line of the device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.

[0152] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0153] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0154] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for inputting information, characterized in that: The method comprises: Obtaining a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys; Based on the trigger operation, determining a target button; Acquire first biometric feature information determined based on the target button and second biometric feature information collected through the target button, wherein the first biometric feature information includes finger identification information, and the second biometric feature information includes finger identification information collected through the target button, wherein the finger identification information is determined by the target button being triggered by the finger in video information collected by a camera; Obtain the duration of triggering the target key and the number of simultaneously triggered target keys; When the duration of the target key is less than a duration threshold and / or the number of the target keys triggered simultaneously is less than a number threshold, the trigger operation is responded to based on the first biometric feature information and the second biometric feature information.

2. The method according to claim 1, characterized in that The first biometric feature information further includes fingerprint information of a finger, and the acquiring of the first biometric feature information determined based on the target key includes: Based on the target key and the first mapping relationship, the fingerprint information of the finger pressing the target key is determined; the first mapping relationship includes: the fingerprint information of the finger corresponding to each of the keys.

3. The method according to claim 1, characterized in that The acquiring of first biological feature information determined based on the target key includes: Based on the target key and the second mapping relationship, the identification information of the finger that triggers the target key is determined; the second mapping relationship includes: the identification information of the finger corresponding to each of the keys.

4. The method according to claim 1, characterized in that The responding to the trigger operation based on the first biometric feature information and the second biometric feature information includes: comparing the first biometric characteristic information with the second biometric characteristic information; In a case where the first biometric feature information matches the second biometric feature information, the trigger operation is responded to so as to input a key code of the target key.

5. The method according to claim 1, characterized in that The method further comprises: In the case that the duration of triggering the target key is greater than the duration threshold or the number of keys triggered simultaneously is greater than the number threshold, respond to the trigger operation to input the key code of the target key.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Acquire configuration information; the configuration information includes: a status identifier of an information collection function; When the state identifier is the start state, obtaining second biometric feature information collected through the target button; When the state is identified as an unactivated state, respond to the trigger operation to input a key code of the target key.

7. The method according to any one of claims 1 to 5, characterized in that: The keyboard is a virtual keyboard. Before acquiring a trigger operation on a key in the keyboard, the method further includes: A virtual keyboard is displayed; the layout of the virtual keyboard is the same as the layout of the physical keyboard.

8. An information input device, characterized in that: The device comprises an acquisition module, a determination module and a response module, wherein: The acquisition module is used to acquire a trigger operation on a key in a keyboard; the keyboard includes a plurality of keys; The determination module is used to determine the target key based on the trigger operation; The acquisition module is used to acquire first biometric feature information determined based on the target key and second biometric feature information collected through the target key, wherein the first biometric feature information includes finger identification information, and the second biometric feature information includes finger identification information collected through the target key, and the finger identification information is determined by the target key triggered by the finger in the video information collected by the camera; and is also used to acquire the duration of triggering the target key and the number of the target keys triggered simultaneously; The response module is used to respond to the trigger operation based on the first biometric feature information and the second biometric feature information when the duration of the target key is less than a duration threshold and / or the number of the target keys triggered simultaneously is less than a number threshold.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps in the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Fingerprint code input method and apparatus

    CN105302329A

  • Fingerprint identification-based login authentication method, device, storage medium, and electronic device

    CN109409056A

  • Systems and Methods for Adaptively Presenting a Keyboard on a Touch- Sensitive Display

    US20170003876A1