Interaction method and device, electronic equipment and storage medium
By collecting fingerprint collections in the fingerprint module of the electronic device and identifying the sliding direction, the problem of insufficient fingerprint recognition security in the prior art is solved, and higher interactive operation security is achieved.
Patent Information
- Application Number
- CN202310748059.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2024-12-24
AI Technical Summary
The existing fingerprint recognition technology has poor security performance in terms of anti-counterfeiting, and is susceptible to attacks from finger model cracking, making it difficult to effectively improve the security of interactive operations.
By collecting a fingerprint set in the fingerprint module of the electronic device, the sliding direction of the sliding operation is identified, and determining whether the target interaction is performed based on the matching fingerprint set and sliding direction, the security of the interaction is improved.
Through sliding direction verification, the security of target interaction is enhanced, the risk of being cracked is reduced, and the security performance is improved.
Smart Images

Figure CN119179424A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and in particular to an interaction method, device, electronic device and storage medium. Background Art
[0002] At present, fingerprint recognition technology is widely used in various fields. Traditional fingerprint recognition is mainly achieved through three detection technologies: photoelectric, capacitance or ultrasonic.
[0003] In the existing technology, more efforts are made to study and improve the algorithms or identification methods of fingerprint recognition, which often only improve the fingerprint recognition capabilities but cannot effectively solve the application disadvantages in fingerprint anti-counterfeiting. Summary of the invention
[0004] The present invention provides an interactive method, device, electronic device and storage medium, which can improve the security of target interactive operation. 。
[0005] A first aspect of an embodiment of the present application provides an interaction method, including:
[0006] Collecting at least one fingerprint set through a fingerprint module of an electronic device, each fingerprint set including multiple fingerprints during a sliding operation of a user on the fingerprint module;
[0007] According to at least one target fingerprint set, identifying a sliding direction of a sliding operation corresponding to each target fingerprint set; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set;
[0008] Whether to execute the target interactive operation is determined according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
[0009] A second aspect of an embodiment of the present application provides an interactive device, including:
[0010] A fingerprint collection unit, used to collect at least one fingerprint set through a fingerprint module of the electronic device, each fingerprint set including multiple fingerprints of a user in a sliding operation process on the fingerprint module;
[0011] A fingerprint analysis unit is used to identify a sliding direction of a sliding operation corresponding to each target fingerprint set according to at least one target fingerprint set; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set; and determine whether to perform a target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
[0012] A third aspect of the present application provides an electronic device, comprising:
[0013] A memory storing executable program code;
[0014] and a processor coupled to the memory;
[0015] The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method described in the first aspect of the embodiment of the present application.
[0016] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the method described in the first aspect of the embodiment of the present application is implemented.
[0017] A fifth aspect of an embodiment of the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
[0018] A sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
[0019] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0020] In an embodiment of the present application, at least one fingerprint set is collected through a fingerprint module of an electronic device, and each fingerprint set includes multiple fingerprints during a sliding operation of a user on the fingerprint module; according to at least one target fingerprint set, a sliding direction of the sliding operation corresponding to each target fingerprint set is identified; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set; and according to the sliding direction of the sliding operation corresponding to each target fingerprint set, it is determined whether to perform the target interaction operation.
[0021] By implementing this method, the triggering of the target interaction operation on the electronic device can be determined according to the sliding direction of the sliding operation corresponding to the target fingerprint set, so that the triggering of the target interaction operation is not limited to the verification of the fingerprint pattern, but also includes the verification of the sliding direction of the sliding operation, which effectively improves the security of the target interaction operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.
[0023] Figure 1 It is a scenario diagram of the interactive method disclosed in the embodiment of the present application;
[0024] Figure 2 It is a flowchart of the interactive method disclosed in the embodiment of the present application;
[0025] Figure 3A is another flowchart of the interactive method disclosed in the embodiment of the present application;
[0026] Figure 3B It is a diagram of a sliding operation corresponding to the target fingerprint set disclosed in the embodiment of the present application;
[0027] Figure 3C is another illustration of the sliding operation corresponding to the target fingerprint set disclosed in the embodiment of the present application;
[0028] Figure 4 It is a structural diagram of an interactive device disclosed in an embodiment of the present application;
[0029] Figure 5 It is a structural diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The embodiments of the present application provide an interaction method, device, electronic device and storage medium, which can improve the security of target interaction operations.
[0031] In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.
[0032] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. For example, the first instruction and the second instruction are used to distinguish different passenger instructions, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0033] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0034] "At least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or plural.
[0035] See also Figure 1 , Figure 1 It is a scene diagram of the interactive method disclosed in the embodiment of this application. Figure 1 The illustrated scenario illustration includes an electronic device 10 and a user 20 .
[0036] Among them, the electronic device 10 may include general handheld screen electronic devices, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (PDA), portable multimedia players (Personal Media Player, PMP) devices, laptop computers, notebooks (Note Pad), wireless broadband (Wireless Broadband, Wibro) terminals, tablet computers (Personal Computer, PC), smart PCs, sales terminals (Point of Sales, POS) and car computers, etc.
[0037] The electronic device 10 may also include a wearable device. A wearable device is a portable electronic device that can be worn directly on the user or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but can also realize powerful intelligent functions through software support, data interaction, and cloud server interaction, such as: computing function, positioning function, and alarm function. At the same time, they can also connect to mobile phones and various terminals. Wearable devices may include but are not limited to watches supported by wrists (such as watches, wrists, etc.), shoes supported by feet (such as shoes, socks or other products worn on the legs), glasses supported by the head (such as glasses, helmets, headbands, etc.), and various non-mainstream product forms such as smart clothing, school bags, crutches, accessories, etc.
[0038] In the embodiment of the present application, the electronic device 10 may be provided with a fingerprint module for detecting the fingerprint input operation of the user 20, and the working principle of the fingerprint module may include but is not limited to photoelectric, capacitance and ultrasonic, etc. In order to improve the convenience of interaction, the target interaction operation of the electronic device 10 can be triggered by a legal fingerprint input operation. The electronic device 20 can detect the fingerprint input operation of the user 20 through the fingerprint module, and execute the target interaction operation when it is determined that the fingerprint input operation is legal.
[0039] At present, fingerprint input operations mostly refer to finger pressing. The electronic device 10 can collect the fingerprint pattern of the user 20 when the finger presses through the fingerprint module, and compare the fingerprint pattern with the legal fingerprint pattern pre-stored in the electronic device 10. If they match, the fingerprint input operation is determined to be legal, and the target interactive operation is performed. This method of verifying the legality of the fingerprint input operation mainly relies on the detection of a single fingerprint pattern, which is usually vulnerable to attacks by cracking the finger model and has poor security performance.
[0040] In order to solve the above problems, in the technical solution of the present application, the electronic device 10 can collect at least one fingerprint set through a fingerprint module, each fingerprint set includes multiple fingerprints of the user 20 during a sliding operation on the fingerprint module; according to at least one target fingerprint set, the sliding direction of the sliding operation corresponding to each target fingerprint set is identified; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the above at least one fingerprint set includes the above at least one target fingerprint set; according to the sliding direction of the sliding operation corresponding to each target fingerprint set, it is determined whether to perform the target interaction operation.
[0041] It is understandable that when the fingerprint set in at least one fingerprint set is the target fingerprint set, it can be determined that the user 20 is a legitimate user, and at this time the electronic device 10 does not perform the target interactive operation, and needs to be further determined based on the sliding direction of the sliding operation corresponding to the fingerprint set. It can be seen that in the technical solution of the present application, the triggering of the target interactive operation of the electronic device 10 is not limited to the verification of the fingerprint pattern, but also includes the verification of the sliding direction of the sliding operation, which effectively improves the security of the target interactive operation.
[0042] In addition, since the finger movement amplitude of a sliding operation on the fingerprint module is mostly small, the chance of being copied and cracked is greatly reduced, and the security performance is higher.
[0043] See also Figure 2 , Figure 2 It is a flowchart of the interactive method disclosed in the embodiment of this application. Figure 2 The interactive method shown may include the following steps:
[0044] 201. Collect at least one fingerprint set through a fingerprint module of an electronic device, where each fingerprint set includes multiple fingerprints during a sliding operation of a user on the fingerprint module.
[0045] In an embodiment of the present application, the fingerprint module of the electronic device may include a capacitive fingerprint module.
[0046] In some embodiments, the fingerprint module can be set on the side, front or back of the electronic device, which is not limited in the embodiments of the present application.
[0047] In some embodiments, each fingerprint set in the at least one fingerprint set may successfully match the fingerprint of the target user, or may not match the fingerprint of the target user, which is not limited in the embodiments of the present application.
[0048] Among them, when each fingerprint set in the above-mentioned at least one fingerprint set successfully matches the fingerprint of the target user, the above-mentioned at least one fingerprint set includes a first fingerprint set, and collecting at least one fingerprint set through a fingerprint module of an electronic device can include: matching the first collected fingerprint with the fingerprint of the target user; if the first collected fingerprint matches the fingerprint of the target user, continuing to collect subsequent N consecutive fingerprints through the fingerprint module to obtain the first fingerprint set.
[0049] 202. Identify a sliding direction of a sliding operation corresponding to each target fingerprint set according to at least one target fingerprint set; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set.
[0050] It can be understood that, when each fingerprint set in the at least one fingerprint set successfully matches the fingerprint of the target user, each fingerprint set in the at least one fingerprint set is a target fingerprint set.
[0051] In the case that each fingerprint set in the at least one fingerprint set does not match the fingerprint of the target user, before step 202, each fingerprint set in the at least one fingerprint set needs to be matched with the fingerprint of the target user.
[0052] Optionally, the at least one fingerprint set includes a first fingerprint set. Before step 202, the method may further include: matching the fingerprint collected first in the first fingerprint set with the fingerprint of the target user; if they match, determining the first fingerprint set as the target fingerprint set.
[0053] 203. Determine whether to execute the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
[0054] In the embodiment of the present application, the target interaction operation may include but is not limited to any of the following: an unlocking operation, a payment operation, launching a target application, etc.
[0055] In some embodiments, the target interaction operation may be triggered by one or more fingers of the target user, which is not limited in the embodiments of the present application.
[0056] Furthermore, when the target interaction operation is triggered by one finger of the target user, whether the electronic device performs the target interaction operation may be related to the sliding direction of the sliding operation corresponding to each target fingerprint set; when the target interaction operation is triggered by multiple fingers of the target user, whether the electronic device performs the target interaction operation may be related to the sliding direction and finger of the sliding operation corresponding to each target fingerprint set.
[0057] In some embodiments, when it is determined that the target interactive operation is prohibited from being executed according to the sliding direction of the sliding operation corresponding to each target fingerprint set, the method may further include:
[0058] Sending a warning message to a terminal device associated with the electronic device, the warning message being used to indicate that the electronic device is illegally operated;
[0059] or,
[0060] The camera module of the electronic device is turned on to collect the user image, and when the user image is an illegal image, a warning message is sent to a terminal device associated with the electronic device, where the warning message is used to indicate that the electronic device is illegally operated.
[0061] By implementing the above method, the triggering of the target interaction operation on the electronic device can be determined according to the sliding direction of the sliding operation corresponding to each target fingerprint set, so that the triggering of the target interaction operation is not limited to the verification of the fingerprint pattern, but also includes the verification of the sliding direction of the sliding operation, thereby effectively improving the security of the target interaction operation.
[0062] See also Figure 3A , Figure 3A is another flowchart of the interactive method disclosed in the embodiment of the present application. Figure 3A The interactive method shown may include the following steps:
[0063] 301. Collect at least one fingerprint set through a fingerprint module of an electronic device, where each fingerprint set includes multiple fingerprints during a sliding operation of a user on the fingerprint module.
[0064] In some embodiments, collecting at least one fingerprint set through a fingerprint module of an electronic device may include: when the capacitance value of the fingerprint module of the electronic device is greater than a capacitance threshold, and / or when the pressure value of the fingerprint module is greater than a pressure threshold, collecting at least one fingerprint set through the fingerprint module. By implementing this method, the probability of fingerprint mis-collection can be reduced.
[0065] 302. According to the fingerprint pattern of the designated finger that matches each target fingerprint set, identify the finger area corresponding to each fingerprint in each target fingerprint set.
[0066] The fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the target fingerprint set.
[0067] In some embodiments, the designated fingers that match different target fingerprint sets may be the same or different, which is not limited in the embodiments of the present application.
[0068] In the embodiment of the present application, the fingerprint pattern of the designated finger may include: fingerprint patterns of multiple finger areas of the designated finger.
[0069] 303. Determine a sliding direction of a sliding operation corresponding to each target fingerprint set according to the finger area corresponding to each fingerprint and the collection sequence.
[0070] 304. Determine whether to execute the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
[0071] In the embodiment of the present application, when the target interaction operation is triggered by the first finger of the target user, the designated finger is the first finger, and all target fingerprint sets match the fingerprint of the first finger. When the target interaction operation is triggered by multiple second fingers of the target user, the designated finger is any one of the multiple second fingers, and different target fingerprint sets correspond to different second fingers.
[0072] Further, determining whether to perform the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set may include:
[0073] In the case where the target interactive operation is triggered by the first finger of the target user, determining whether to execute the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set;
[0074] In the case where the target interactive operation is triggered by multiple second fingers of the target user, it is determined whether to execute the target interactive operation according to the sliding direction and the second finger of the sliding operation corresponding to each target fingerprint set.
[0075] In the case where the target interaction operation is triggered by the first finger, the target interaction operation may be triggered by one or M sliding operations of the first finger, which is not limited in the embodiment of the present application.
[0076] When the target interaction operation is triggered by a sliding operation of the first finger, if the sliding direction of the sliding operation corresponding to the target fingerprint set is the specified direction, the target interaction operation is performed; if the sliding direction of the sliding operation corresponding to the target fingerprint set is not the specified direction, the target interaction operation is prohibited.
[0077] In the embodiment of the present application, the specified direction may include but is not limited to at least one of the following: clockwise rotation, counterclockwise rotation, first horizontal direction, second horizontal direction, first vertical direction and second vertical direction, etc.
[0078] For example, the fingerprint module is disposed on the side of the electronic device, and the sliding operation corresponding to the target fingerprint set can be shown in FIG. Figure 3B and Figure 3C .in, Figure 3B The sliding direction of the sliding operation shown is a clockwise circle. Figure 3C The sliding direction of the sliding operation shown is a first longitudinal direction.
[0079] Exemplarily, the target interaction operation is triggered by the middle finger of the right hand of the target user rotating in a clockwise circle once, the first finger is the middle finger of the right hand of the target user, and the specified direction is a clockwise circle.
[0080] In some embodiments, when the target interaction operation is triggered by M sliding operations of a first finger, or the target interaction operation is triggered by M sliding operations of multiple second fingers of the target user, before step 304, it can be determined whether the number of sliding operations corresponding to the target fingerprint set is equal to M. If so, step 304 is executed.
[0081] When the target interaction operation is triggered by M sliding operations of the first finger, the sliding directions of the M sliding operations may be the same or different, which is not limited in the embodiment of the present application.
[0082] When the sliding directions corresponding to the M sliding operations of the first finger are the same, determining whether to perform the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set may include:
[0083] If the sliding directions of the sliding operations corresponding to each target fingerprint set are all in the specified direction, the target interactive operation is performed;
[0084] If the sliding direction of the sliding operation corresponding to the target fingerprint set is not the specified direction, the target interactive operation is prohibited.
[0085] Exemplarily, the target interactive operation is triggered by the target user's right middle finger rotating in a clockwise circle twice, the first finger is the target user's right middle finger, and the designated direction is a clockwise circle. When the number of sliding operations corresponding to the target fingerprint set is 2, if the sliding directions of the two sliding operations are both clockwise circles, the target interactive operation is executed; if there is a sliding operation in the two sliding operations that is not a clockwise circle, the target interactive operation is prohibited.
[0086] When the sliding directions corresponding to the M sliding operations of the first finger are different, determining whether to perform the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set may include:
[0087] When the sliding direction of the sliding operation corresponding to each target fingerprint set matches the preset sliding direction of the corresponding sliding sequence, determining to execute the target interactive operation;
[0088] When there is a sliding direction of the sliding operation corresponding to the target fingerprint set that does not match the preset sliding direction of the corresponding sliding sequence, it is determined that the target interactive operation is prohibited from being executed.
[0089] Exemplarily, the target interactive operation is triggered by the target user's right middle finger rotating in a clockwise circle once and then in a counterclockwise circle once. The first finger is the target user's right middle finger. The preset sliding direction of the first sliding operation is a clockwise circle, and the preset sliding direction of the second sliding operation is a counterclockwise circle. When the number of sliding operations corresponding to the target fingerprint set is 2, if the sliding direction of the first sliding operation in the two sliding operations is a clockwise circle, and the sliding direction of the subsequent sliding operation is a counterclockwise circle, the target interactive operation is executed; if the sliding direction of the first sliding operation in the two sliding operations is not a clockwise circle, or the sliding direction of the subsequent sliding operation is not a counterclockwise circle, the target interactive operation is prohibited.
[0090] In the case where the target interaction operation is triggered by M sliding operations of multiple second fingers of the target user, determining whether to execute the target interaction operation according to the sliding direction and the second finger of the sliding operation corresponding to each target fingerprint set may include:
[0091] When the sliding direction and the second finger of the sliding operation corresponding to each target fingerprint set are respectively the same as the preset sliding direction and the preset second finger of the corresponding sliding sequence, it is determined to execute the target interactive operation;
[0092] When the sliding direction of the sliding operation corresponding to the target fingerprint set is different from the preset sliding direction of the corresponding sliding order, or the second finger of the sliding operation corresponding to the target fingerprint set is different from the preset second finger of the corresponding sliding order, it is determined that the target interaction operation is prohibited.
[0093] Exemplarily, the target interaction operation is triggered by the target user's right middle finger rotating in a clockwise circle once, and then the target user's right index finger rotating in a counterclockwise circle once, and the second finger includes the target user's right middle finger and index finger. When the target fingerprint set corresponds to two sliding operations, if the second finger of the first sliding operation in the two sliding operations is the target user's right middle finger, and the corresponding sliding direction is a clockwise circle, and the second finger of the subsequent sliding operation is the target user's right index finger, and the corresponding sliding direction is a counterclockwise circle, then the target interaction operation is performed; if the second finger of the first sliding operation is not the target user's right middle finger, the sliding direction of the first sliding operation is not a clockwise circle, the second finger of the subsequent sliding operation is not the target user's right index finger, or the sliding direction of the subsequent sliding operation is not a counterclockwise circle, then the target interaction operation is prohibited.
[0094] By implementing the above method, the triggering of the target interaction operation on the electronic device can be determined according to the sliding direction of the sliding operation corresponding to each target fingerprint set, so that the triggering of the target interaction operation is not limited to the verification of the fingerprint pattern, but also includes the verification of the sliding direction of the sliding operation, thereby effectively improving the security of the target interaction operation. Furthermore, in the case where the target interaction operation is triggered by multiple sliding operations, the complexity of the verification can be further increased, which is conducive to further improving the security of the target interaction operation.
[0095] See also Figure 4 , Figure 4 is a structural diagram of the interactive device disclosed in the embodiment of the present application. Figure 4 The interactive device shown may include a fingerprint collection unit 401 and a fingerprint analysis unit 402; wherein:
[0096] The fingerprint collection unit 401 is used to collect at least one fingerprint set through a fingerprint module of the electronic device, each fingerprint set including multiple fingerprints in a sliding operation of the user on the fingerprint module;
[0097] The fingerprint analysis unit 402 is used to identify the sliding direction of the sliding operation corresponding to each target fingerprint set according to at least one target fingerprint set; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set; and determine whether to perform the target interaction operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
[0098] In some embodiments, the above-mentioned at least one fingerprint set includes a first fingerprint set, and the fingerprint collection unit 401 is used to collect at least one fingerprint set through a fingerprint module of an electronic device. Specifically, the fingerprint collection unit 401 is used to match the first collected fingerprint with the fingerprint of the target user; and if the first collected fingerprint matches the fingerprint of the target user, continue to collect subsequent N consecutive fingerprints through the fingerprint module to obtain the first fingerprint set.
[0099] In some embodiments, the at least one fingerprint set includes a first fingerprint set, and the fingerprint analysis unit 402 is further used to match the fingerprint collected first in the first fingerprint set with the fingerprint of the target user before identifying the sliding direction of the sliding operation corresponding to each target fingerprint set based on at least one target fingerprint set; if they match, the first fingerprint set is determined to be the target fingerprint set.
[0100] In some embodiments, the fingerprint analysis unit 402 may be configured to identify the sliding direction of the sliding operation corresponding to each target fingerprint set according to at least one target fingerprint set, for example:
[0101] The fingerprint analysis unit 402 is used to identify the finger area corresponding to each fingerprint in each target fingerprint set according to the fingerprint pattern of the designated finger matching each target fingerprint set; and determine the sliding direction of the sliding operation corresponding to each target fingerprint set according to the finger area corresponding to each fingerprint and the collection timing.
[0102] In some embodiments, the target interaction operation is triggered by a first finger of the target user, and the designated finger includes the first finger.
[0103] In some embodiments, the target interaction operation is triggered by a sliding operation of the first finger, and the fingerprint analysis unit 402 is used to determine whether to execute the target interaction operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set. Specifically, the fingerprint analysis unit 402 is used to execute the target interaction operation if the sliding direction of the sliding operation corresponding to the target fingerprint set is a specified direction; if the sliding direction of the sliding operation corresponding to the target fingerprint set is not the specified direction, prohibiting the execution of the target interaction operation.
[0104] In some embodiments, the target interaction operation is triggered by M sliding operations of the first finger, M is greater than or equal to 2, and the number of sliding operations corresponding to the target fingerprint set is M; the fingerprint analysis unit 402 is used to determine whether to perform the target interaction operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set. Specifically, the method may include:
[0105] The fingerprint analysis unit 402 is used to execute the target interactive operation if the sliding direction of the sliding operation corresponding to each target fingerprint set is the specified direction; and to prohibit the target interactive operation from being executed if the sliding direction of the sliding operation corresponding to the target fingerprint set is not the specified direction.
[0106] In some embodiments, the target interaction operation is triggered by M sliding operations of multiple second fingers of the target user, the above-mentioned designated fingers include any second finger, the number of sliding operations corresponding to the target fingerprint set is M, and M is greater than or equal to 2; the fingerprint analysis unit 402 is used to determine whether to execute the target interaction operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set. Specifically, the fingerprint analysis unit 402 can include: the fingerprint analysis unit 402 is used to determine whether to execute the target interaction operation according to the second finger and sliding direction of the sliding operation corresponding to each target fingerprint set.
[0107] In some embodiments, the fingerprint collection unit 401 is used to collect at least one fingerprint set through the fingerprint module of the electronic device, which may specifically include: the fingerprint collection unit 401 is used to collect at least one fingerprint set through the fingerprint module when the capacitance value of the fingerprint module of the electronic device is greater than the capacitance threshold and / or when the pressure value of the fingerprint module is greater than the pressure threshold.
[0108] In some embodiments, the target interaction operation includes at least one of the following: an unlocking operation, a payment operation, and launching a target application.
[0109] See also Figure 5 , Figure 5 FIG. 1 is a structural diagram of an electronic device disclosed in an embodiment of the present application. Figure 5 The electronic device shown may include components such as a processor 510 , a memory 520 , a display unit 530 , an input unit 540 , a sensor 550 , an audio circuit 560 , and the like.
[0110] The processor 510 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 520, and calling data stored in the memory 520, so as to monitor the electronic device as a whole. Optionally, the processor 510 may include one or more processing units; optionally, the processor 510 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.
[0111] The memory 520 can be used to store software programs and modules. The processor 510 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 520. The memory 520 can mainly include a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 520 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0112] The display unit 530 can be used to display information input by the user or information provided to the user and various menus of the electronic device. The display unit 530 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel may cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of touch event. Subsequently, the processor 510 provides a corresponding visual output on the display panel according to the type of touch event. Among them, the touch panel and the display panel are not in contact with each other. Figure 5The touch panel and the display panel can be used as two independent components to realize the input and output functions of the electronic device, or the touch panel and the display panel can be integrated to realize the input and output functions of the electronic device.
[0113] The input unit 540 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 540 may include a touch panel and other input devices. A touch panel, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by a user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel), and drive the corresponding connection device according to a pre-set program. In addition, a variety of types such as resistive, capacitive, infrared, and surface acoustic waves can be used to implement the touch panel. In addition to the touch panel, the input unit 540 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.
[0114] The electronic device may also include at least one sensor 550, such as a magnetometer, a gyroscope sensor, a motion sensor, and other sensors. Specifically, the magnetometer is used to determine the orientation of the electronic device, and the gyroscope sensor can be used to determine the motion posture of the electronic device. It can be used for anti-shake shooting, and can also be used for navigation and somatosensory game scenes. As a type of motion sensor, the acceleration sensor can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the electronic device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc.; As for other sensors that the electronic device can also be configured with, such as pressure gauges, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0115] The audio circuit 560 may include a speaker and a microphone, and may provide an audio interface between a user and an electronic device. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 560 and converted into audio data, and then the audio data is output to the processor 510 for processing, and then sent to another electronic device through the video circuit, or the audio data is output to the memory 520 for further processing.
[0116] Although not shown, the electronic device may further include a power supply and a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the present embodiment.
[0117] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0118] In the embodiment of the present application, the processor 510 also has the following functions:
[0119] Collecting at least one fingerprint set through a fingerprint module of an electronic device, each fingerprint set including multiple fingerprints during a sliding operation of a user on the fingerprint module;
[0120] According to at least one target fingerprint set, identifying a sliding direction of a sliding operation corresponding to each target fingerprint set; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set;
[0121] Whether to execute the target interactive operation is determined according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
[0122] In the embodiment of the present application, the at least one fingerprint set includes a first fingerprint set, and the processor 510 further has the following functions:
[0123] Match the first collected fingerprint with the target user's fingerprint;
[0124] If the first collected fingerprint matches the target user's fingerprint, the fingerprint module continues to collect subsequent N consecutive fingerprints to obtain a first fingerprint set.
[0125] In the embodiment of the present application, the at least one fingerprint set includes a first fingerprint set, and the processor 510 further has the following functions:
[0126] Matching the first collected fingerprint in the first fingerprint set with the fingerprint of the target user;
[0127] If they match, the first fingerprint set is determined to be the target fingerprint set.
[0128] In the embodiment of the present application, the processor 510 also has the following functions:
[0129] According to the fingerprint pattern of the designated finger matched with each target fingerprint set, identifying the finger area corresponding to each fingerprint in each target fingerprint set;
[0130] According to the finger area corresponding to each fingerprint and the collection time sequence, the sliding direction of the sliding operation corresponding to each target fingerprint set is determined.
[0131] In the embodiment of the present application, the target interaction operation is triggered by a first finger of the target user, and the designated finger includes the first finger.
[0132] In the embodiment of the present application, the target interaction operation is triggered by a sliding operation of the first finger, and the processor 510 also has the following functions:
[0133] If the sliding direction of the sliding operation corresponding to the target fingerprint set is the specified direction, the target interactive operation is performed;
[0134] If the sliding direction of the sliding operation corresponding to the target fingerprint set is not the specified direction, the target interactive operation is prohibited from being executed.
[0135] In the embodiment of the present application, the target interaction operation is triggered by M sliding operations of the first finger, M is greater than or equal to 2, and the number of sliding operations corresponding to the target fingerprint set is M; the processor 510 also has the following functions:
[0136] If the sliding directions of the sliding operations corresponding to each target fingerprint set are all in the specified direction, the target interactive operation is performed;
[0137] If the sliding direction of the sliding operation corresponding to the target fingerprint set is not the specified direction, the target interactive operation is prohibited.
[0138] In the embodiment of the present application, the target interaction operation is triggered by M sliding operations of multiple second fingers of the target user, the designated finger includes any second finger, the number of sliding operations corresponding to the target fingerprint set is M, and M is greater than or equal to 2; the processor 510 also has the following functions:
[0139] Whether to execute the target interactive operation is determined according to the second finger and the sliding direction of the sliding operation corresponding to each target fingerprint set.
[0140] In the embodiment of the present application, the processor 510 also has the following functions:
[0141] When the capacitance value of the fingerprint module of the electronic device is greater than the capacitance threshold, and / or when the pressure value of the fingerprint module is greater than the pressure threshold, at least one fingerprint set is collected through the fingerprint module.
[0142] In the embodiment of the present application, the target interaction operation includes at least one of the following:
[0143] Unlock operation;
[0144] Payment operations;
[0145] Start the target application.
[0146] The embodiment of the present application discloses a computer program product. When the computer program product is executed on a computer, the computer implements the method described in the wireless broadband device in the embodiment of the present application.
[0147] An embodiment of the present application discloses another computer program product. When the computer program product is executed on a computer, the computer implements the method described in the first device or the second device in the embodiment of the present application.
[0148] An embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer implements the method described in the first device or the second device in the embodiment of the present application.
[0149] An embodiment of the present application discloses another application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer implements the method described in the first device or the second device in the embodiment of the present application.
[0150] 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, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0151] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" 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 one embodiment" or "in some embodiments" appearing throughout the specification may 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 embodiment 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. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0152] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0153] 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.
[0154] 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 embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules 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 devices or modules can be electrical, mechanical or other forms.
[0155] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0156] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0157] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0158] 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 enabling an electronic 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.
[0159] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0160] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0161] 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.
[0162] 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. An interactive method, characterized in that: include: Collecting at least one fingerprint set through a fingerprint module of an electronic device, each fingerprint set including multiple fingerprints during a sliding operation of a user on the fingerprint module; According to at least one target fingerprint set, identifying a sliding direction of a sliding operation corresponding to each target fingerprint set; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set; Whether to execute the target interactive operation is determined according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
2. The method according to claim 1, characterized in that The at least one fingerprint set includes a first fingerprint set, and the collecting of the at least one fingerprint set by the fingerprint module of the electronic device includes: Match the first collected fingerprint with the target user's fingerprint; If the first collected fingerprint matches the fingerprint of the target user, the fingerprint module continues to collect subsequent N consecutive fingerprints to obtain a first fingerprint set.
3. The method according to claim 1, characterized in that The at least one fingerprint set includes a first fingerprint set. Before identifying the sliding direction of the sliding operation corresponding to each target fingerprint set according to the at least one target fingerprint set, the method further includes: Matching the first collected fingerprint in the first fingerprint set with the fingerprint of the target user; If they match, the first fingerprint set is determined to be the target fingerprint set.
4. The method according to claim 1, characterized in that: The step of identifying the sliding direction of the sliding operation corresponding to each target fingerprint set according to at least one target fingerprint set includes: According to the fingerprint pattern of the designated finger matched with each target fingerprint set, identifying the finger area corresponding to each fingerprint in each target fingerprint set; According to the finger area corresponding to each fingerprint and the collection time sequence, the sliding direction of the sliding operation corresponding to each target fingerprint set is determined.
5. The method according to claim 4, characterized in that The target interaction operation is triggered by a first finger of the target user, and the designated fingers include the first finger.
6. The method according to claim 5, characterized in that The target interaction operation is triggered by a sliding operation of the first finger, and determining whether to perform the target interaction operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set includes: If the sliding direction of the sliding operation corresponding to the target fingerprint set is the specified direction, the target interactive operation is performed; If the sliding direction of the sliding operation corresponding to the target fingerprint set is not the specified direction, the target interactive operation is prohibited from being executed.
7. The method according to claim 5, characterized in that The target interaction operation is triggered by M sliding operations of the first finger, where M is greater than or equal to 2, and the number of sliding operations corresponding to the target fingerprint set is M; The determining whether to perform the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set includes: If the sliding directions of the sliding operations corresponding to each target fingerprint set are all in the specified direction, the target interactive operation is performed; If there is a sliding operation corresponding to the target fingerprint set whose sliding direction is not the specified direction, the target interactive operation is prohibited from being executed.
8. The method according to claim 4, characterized in that The target interaction operation is triggered by M sliding operations of multiple second fingers of the target user, where M is greater than or equal to 2, the designated finger includes any second finger, and the number of sliding operations corresponding to the target fingerprint set is M; The determining whether to perform the target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set includes: Whether to execute the target interactive operation is determined according to the second finger and the sliding direction of the sliding operation corresponding to each target fingerprint set.
9. The method according to any one of claims 1 to 8, characterized in that: The collecting of at least one fingerprint set by a fingerprint module of the electronic device includes: When the capacitance value of the fingerprint module of the electronic device is greater than the capacitance threshold, and / or when the pressure value of the fingerprint module is greater than the pressure threshold, at least one fingerprint set is collected through the fingerprint module.
10. The method according to any one of claims 1 to 8, characterized in that: The target interaction operation includes at least one of the following: Unlock operation; Payment operations; Start the target application.
11. An interactive device, characterized in that: include: A fingerprint collection unit, used to collect at least one fingerprint set through a fingerprint module of the electronic device, each fingerprint set including multiple fingerprints of a user during a sliding operation on the fingerprint module; A fingerprint analysis unit is used to identify a sliding direction of a sliding operation corresponding to each target fingerprint set according to at least one target fingerprint set; wherein the fingerprints in the target fingerprint set match the fingerprints of the target user, and the at least one fingerprint set includes the at least one target fingerprint set; and determine whether to perform a target interactive operation according to the sliding direction of the sliding operation corresponding to each target fingerprint set.
12. An electronic device, characterized in that: include: A memory storing executable program code; and a processor coupled to the memory; The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method according to any one of claims 1 to 10.
13. A computer-readable storage medium having executable program code stored thereon, characterized in that: When the executable program code is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
