Unlocking device, unlocking method and electronic equipment

By setting multiple fingerprint modules on the same side wall of the folding screen electronic device and detecting fingerprint images and sliding directions in different time domains, the problem of high error recognition rate caused by limited area of power buttons is solved, and a higher security level is unlocked, protecting user privacy and information security.

CN120475097APending Publication Date: 2025-08-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510543192.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

The side capacitive fingerprint unlocking solution of existing folding screen electronic devices has a limited area of power buttons, resulting in a small effective recognition area, a high false recognition rate, and a high probability of false touch.

Method used

The first and second keys are set on the same side wall of the electronic device, and the fingerprint module is installed on each key. The fingerprint image is detected in different time domains through the detection unit, and the position and sliding direction of the fingerprint image are analyzed by the processing unit to ensure that the fingerprint image matches the preset template and is unlocked when the sliding direction is consistent.

Benefits of technology

Improve the security level and accuracy of unlocking, reduce the misidentification rate, and protect user privacy and information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120475097A_ABST
    Figure CN120475097A_ABST
Patent Text Reader

Abstract

The invention provides an unlocking device, which comprises a detection unit and a processing unit, and is characterized in that the detection unit is used for detecting a fingerprint image of a finger on a first fingerprint module and / or a second fingerprint module; the detection unit controls the fingerprint identification module to detect a first fingerprint image in a first time domain and controls the fingerprint identification module to detect a second fingerprint image in a second time domain; the processing unit is used for analyzing the position of the second fingerprint image relative to the first fingerprint image to obtain the sliding direction of the finger relative to the fingerprint identification module; and if the first fingerprint image is successfully matched with the preset fingerprint template of the touch position corresponding to the first time domain, the second fingerprint image is successfully matched with the preset fingerprint template of the touch position corresponding to the second time domain, and the sliding direction of the touch operation is successfully matched with the preset sliding direction, determining that the electronic equipment is unlocked through the fingerprint identification module. The invention further provides the electronic equipment provided with the unlocking device and an unlocking method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic equipment, and in particular to an unlocking device, an unlocking method using the unlocking device, and electronic equipment provided with the unlocking device. Background Art

[0002] Currently, foldable electronic devices on the market generally use a side capacitive fingerprint unlocking solution. This side capacitive fingerprint unlocking solution usually integrates the capacitive fingerprint module and the power button, that is, the sensor is usually integrated into the power button. However, as foldable electronic devices become thinner and lighter, the area of the power button is limited, resulting in a smaller and smaller effective recognition area for the side capacitive fingerprint. The fingerprint image comparison of a small area may lead to a certain false recognition rate and a relatively high probability of false touch. Summary of the Invention

[0003] The present application provides an unlocking device, an unlocking method using the unlocking device, and an electronic device provided with the unlocking device.

[0004] The present application provides an unlocking device, which is applied to an electronic device. The electronic device includes a first button, a second button, and a fingerprint recognition module. The fingerprint recognition module includes a first fingerprint module provided on the first button and a second fingerprint module provided on the second button. The first fingerprint module is used to identify fingerprint information on the first button, and the second fingerprint module is used to identify fingerprint information on the second button. The unlocking device includes:

[0005] a detection unit, configured to detect a fingerprint image of a finger on the first fingerprint module and / or the second fingerprint module; the detection unit controls the fingerprint recognition module to detect the first fingerprint image within a first time domain, and the detection unit controls the fingerprint recognition module to detect the second fingerprint image within a second time domain, where the second time domain is temporally delayed from the first time domain; and

[0006] A processing unit is used to analyze the position of the second fingerprint image relative to the first fingerprint image to obtain the sliding direction of the finger relative to the fingerprint recognition module; if the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second time domain, and the sliding direction of the touch operation successfully matches the preset sliding direction, it is determined that the electronic device is unlocked by the fingerprint recognition module.

[0007] The present application also provides an unlocking method, which is applied to an electronic device. The electronic device includes a first button, a second button, a fingerprint recognition module provided on the first button and the second button, and an unlocking device; the fingerprint recognition module is used to recognize fingerprint information on the first button and the second button. The unlocking method includes:

[0008] detecting a first touch operation on the first button and / or the second button within a first time domain, and controlling the fingerprint recognition module to recognize a first fingerprint image corresponding to the first touch operation;

[0009] detecting a second touch operation on the first button and / or the second button within a second time domain, and controlling the fingerprint recognition module to recognize a second fingerprint image corresponding to the second touch operation;

[0010] analyzing a position of the second fingerprint image relative to the first fingerprint image to derive a sliding direction of the touch operation;

[0011] If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first touch operation in the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second touch operation in the second time domain, and the sliding direction of the touch operation successfully matches the preset sliding direction, it is determined that the electronic device is unlocked by the fingerprint recognition module.

[0012] The present application also provides an electronic device, comprising a first button, a second button, a fingerprint recognition module, and an unlocking device, wherein the first button and the second button are disposed on the same side wall of a housing of the electronic device, the fingerprint recognition module comprising a first fingerprint module disposed on the first button and a second fingerprint module disposed on the second button, the first fingerprint module being used to identify fingerprint information on the first button, and the second fingerprint module being used to identify fingerprint information on the second button; the unlocking device being disposed in the electronic device, wherein a detection unit of the unlocking device is used to detect sliding of a finger on the first fingerprint module and / or the second fingerprint module to control the fingerprint recognition module to detect a first fingerprint image in a first time domain, and the detection unit controls the fingerprint recognition module to detect a second fingerprint image in a second time domain; the processing unit of the unlocking device is used to analyze the position of the second fingerprint image relative to the first fingerprint image to derive a sliding direction of the finger relative to the fingerprint recognition module; if the first fingerprint image successfully matches a preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image successfully matches a preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction successfully matches a preset sliding direction, it can be determined that the electronic device is unlocked by the fingerprint recognition module.

[0013] The detection unit of the unlocking device of the electronic device of the present application controls the fingerprint recognition module to detect and obtain the first fingerprint image in the first time domain, and to detect and obtain the second fingerprint image in the second time domain; when the electronic device needs to be unlocked, if the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second time domain, and the sliding direction of the touch operation of the finger on the fingerprint recognition module successfully matches the preset sliding direction, then the electronic device is successfully unlocked. Therefore, the unlocking of the electronic device of the present application requires that the first fingerprint image and the second fingerprint image are successfully matched with the preset fingerprint template respectively, and the sliding direction of the touch operation is also required to successfully match the preset sliding direction, which greatly improves the unlocking security level of the electronic device, improves the security of information, and protects user privacy. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for the implementation. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be derived from these drawings without inventive effort.

[0015] Figure 1 is a schematic diagram of the three-dimensional structure of the electronic device in the first embodiment of the present application;

[0016] Figure 2 yes Figure 1 A schematic diagram of a side structure of an electronic device;

[0017] Figure 3 yes Figure 2 An enlarged view of part III in FIG;

[0018] Figure 4 yes Figure 1 A schematic structural diagram of an unlocking device for an electronic device;

[0019] Figure 5 yes Figure 1 A schematic diagram of one unlocking scenario of an electronic device in FIG.

[0020] Figure 6 yes Figure 1 Schematic diagram of another unlocking scenario of the electronic device in FIG.

[0021] Figure 7 yes Figure 1 Schematic diagram of another unlocking scenario of the electronic device in FIG.

[0022] Figure 8 yes Figure 1 Schematic diagram of another unlocking scenario of the electronic device in FIG.

[0023] Figure 9 yes Figure 1 A flowchart of a method for unlocking an electronic device in FIG.

[0024] Figure 10 is a schematic diagram of a side structure of an electronic device in the second embodiment of the present application;

[0025] Figure 11 yes Figure 10 An enlarged view of part XI in FIG;

[0026] Figure 12 yes Figure 10 A schematic diagram of one unlocking scenario of an electronic device in FIG.

[0027] Figure 13 yes Figure 10 Schematic diagram of another unlocking scenario of the electronic device in FIG.

[0028] Figure 14 yes Figure 10 Schematic diagram of another unlocking scenario of the electronic device in FIG.

[0029] Figure 15 yes Figure 10 Schematic diagram of another unlocking scenario of an electronic device in FIG.

[0030] Description of main numbers:

[0031] 100. Electronic device; 20. Housing; 22. First housing; 221. First through hole; 223. Second through hole; 24. Second housing; 26. Folding device; 30. First button; 40. Second button; 50. Fingerprint recognition module; 52. First fingerprint module; 54. Second fingerprint module; 56. Third fingerprint module; 60. Unlocking device; 62. Detection unit; 64. Processing unit. DETAILED DESCRIPTION

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without creative work are within the scope of protection of the present invention.

[0033] In addition, the following descriptions of the various embodiments refer to the accompanying drawings to illustrate specific embodiments that may be implemented in the present application. Directional terms mentioned in this application, such as "upper," "lower," "front," "back," "left," "right," "inner," "outer," and "side," are only used with reference to the directions in the accompanying drawings. Therefore, the directional terms used are intended to better and more clearly illustrate and understand the present application, and are not intended to indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be understood as limitations on the present application.

[0034] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," "connected," and "disposed on" should be understood broadly. For example, they may refer to fixed connection, detachable connection, or integral connection; they may refer to mechanical connection; they may refer to direct connection, indirect connection via an intermediate medium, or internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0035] Please also refer to Figures 1 to 4The electronic device 100 in the first embodiment of the present invention includes a housing 20, a first button 30, a second button 40, a fingerprint recognition module 50 and an unlocking device 60. The first button 30 and the second button 40 are arranged on the same side wall of the housing 20 with a gap between them. The fingerprint recognition module 50 includes a first fingerprint module 52 arranged on the first button 30 and a second fingerprint module 54 arranged on the second button 40. The first fingerprint module 52 can be used to identify the fingerprint information on the first button 30, and the second fingerprint module 54 can be used to identify the fingerprint information on the second button 40; the unlocking device 60 is arranged on and applied to the electronic device 100. Specifically, the unlocking device 60 includes a detection unit 62 and a processing unit 64. The detection unit 62 is used to detect the first fingerprint module 52 on the first button 30 and / or the second fingerprint module 54 on the second button 40 of the finger. Fingerprint image, the detection unit 62 controls the fingerprint recognition module 50 to detect the first fingerprint image in the first time domain; the detection unit 62 controls the fingerprint recognition module 50 to detect the second fingerprint image in the second time domain; the second time domain lags behind the first time domain in time; the processing unit 64 is used to analyze the position of the second fingerprint image relative to the first fingerprint image to obtain the sliding direction of the finger relative to the fingerprint recognition module 50. If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second time domain, and the sliding direction of the touch operation successfully matches the preset sliding direction, it is determined that the electronic device 100 is unlocked by the fingerprint recognition module 50; the unlocking security level of the unlocking device 60 is greatly improved, the security of information is improved, and user privacy is protected.

[0036] It can be understood that the electronic device 100 can be, but is not limited to, various handheld portable electronic devices with wireless communication functions, wearable devices, vehicle-mounted devices, computing devices, or other processing devices connected to a wireless modem, as well as various forms of user devices, etc. In this embodiment, the electronic device 100 is a folding mobile phone. The "connection" in the description of the embodiment of the present invention includes both direct connection and indirect connection. For example, the connection between A and B includes A and B being directly connected or connected through a third element C or more other elements. The connection also includes two situations: integrated connection and non-integrated connection. The integrated connection means that A and B are formed and connected as one body, and the non-integrated connection means that A and B are formed and connected as a non-integrated body.

[0037] The electronic device 100 of the present application is provided with a first fingerprint module 52 on the first button 30 and a second fingerprint module 54 on the second button 40 on the same side wall, making it easier for users to use the same finger for fingerprint unlocking and increasing the area of fingerprint unlocking, thereby increasing the effective recognition area of the capacitive fingerprint. The large-area fingerprint image comparison can reduce the false recognition rate and improve the accuracy of fingerprint unlocking. The detection unit 62 of the unlocking device 60 controls the fingerprint recognition module 50 to detect and obtain the first fingerprint image in the first time domain and the second fingerprint image in the second time domain. When the electronic device 100 needs to be unlocked, if the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second time domain, and the sliding direction of the finger's touch operation on the fingerprint recognition module 50 successfully matches the preset sliding direction, then the electronic device 100 is successfully unlocked. Therefore, the unlocking of the electronic device 100 of the present application requires that the first fingerprint image and the second fingerprint image are successfully matched with the preset fingerprint template respectively, and the sliding direction of the touch operation must also be successfully matched with the preset sliding direction, which greatly improves the unlocking security level of the electronic device 100, improves the security of information, and protects user privacy.

[0038] It is understood that the electronic device 100 is provided with a control circuit and input / output circuits electrically connected to the control circuit. The input / output circuits may include, but are not limited to, a display screen, input / output units, communication circuits, sensors, and audio components. The control circuit includes storage and processing circuits. The processing circuit and the storage circuit may include memory, which may include, but is not limited to, hard drive memory, flash memory, solid-state drive, static random access memory, etc. The processing circuit in the control circuit is used to control the operation of the electronic device 100. The processing circuit may be based on at least one microprocessor, digital signal processor, power management unit, microcontroller, baseband processor, audio codec chip, application-specific integrated circuit, display driver integrated circuit, etc. The control circuit is used to run the software of the electronic device, which may include, but is not limited to, operating system functions, browsing applications, email applications, media playback applications, and various application apps. The input / output circuits are used to enable the electronic device 100 to input and output data, allowing the electronic device 100 to receive data from external devices and allow the electronic device 100 to output data from the electronic device 100 to external devices. The input-output circuit includes at least one display screen, which may include but is not limited to a liquid crystal display, an organic light-emitting diode display, or a plasma display; the display screen includes a touch sensor array, which may be a capacitive touch sensor formed by a transparent touch sensor electrode array, or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, resistive touch, optical touch, etc.

[0039] The communication circuit is used to enable electronic device 100 to communicate with external devices. The communication circuit may include, but is not limited to, analog and digital input and output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals. The wireless communication circuit includes a radio frequency transceiver circuit, a power amplifier circuit, a low-noise amplifier, a switch, a filter, and an antenna.

[0040] The input-output unit may include, but is not limited to, a button, a mouse, a light-emitting diode, a touchpad, a keyboard, a scroll wheel, a keypad, and a camera. The button may be a mechanical button or a touch button, and the button may be, but is not limited to, a power button, a volume adjustment button, a Home button, and the like. The input-output circuit may also include a sensor, and the sensor may include, but is not limited to, a capacitive touch sensor, an optical touch sensor, an acceleration sensor, a gravity sensor, and the like. In the present application, the sensor is a fingerprint recognition module, which is used to identify fingerprint information on the first button 30 and the second button 40. The fingerprint recognition module is composed of a fingerprint acquisition module and a fingerprint recognition module. The fingerprint acquisition module is used to complete fingerprint acquisition, and the fingerprint recognition module is used to identify fingerprints.

[0041] The shell 20 includes a first shell 22, a second shell 24 and a folding device 26, and the first shell 22 and the second shell 24 are foldably connected by the folding device 26; a first through hole 221 and a second through hole 223 are provided on one side wall of the first shell 22, and the first through hole 221 and the second through hole 223 are both connected to the inner cavity of the first shell 22, and the first through hole 221 and the second through hole 223 are spaced from each other, and the first through hole 221 is farther away from the folding device 26 than the second through hole 223; the first button 30 is installed in the first through hole 221, and the first button 30 is electrically connected to the main board of the inner cavity of the first shell 22; the second button 40 is installed in the second through hole 223, and the second button 40 is electrically connected to the main board of the inner cavity of the first shell 22; the first button 30 is farther away from the folding device 26 than the second button 40. The first fingerprint module 52 is located on the first button 30 and electrically connected to the motherboard within the first housing 22. The second fingerprint module 54 is located on the second button 40 and electrically connected to the motherboard within the first housing 22. The second fingerprint module 54 is located closer to the first fingerprint module 52, while the first fingerprint module 52 is further away from the folding device 26 than the second fingerprint module 54. Since the first and second fingerprint modules 52, 54 are located on the first and second buttons 30, 40, respectively, the area for fingerprint unlocking is increased, thereby enlarging the effective recognition area for capacitive fingerprint recognition. This large-area fingerprint image comparison reduces the false recognition rate and improves the accuracy of fingerprint unlocking. Furthermore, the addition of the second fingerprint module 54 without adding any additional openings in the housing better protects the internal structure of the electronic device 100 from the intrusion of dust, moisture, and the like.

[0042] In this embodiment, the first button 30 is a power button, and the second button 40 is a bar-shaped volume control button. The power button and the volume control button are located on the same side wall of the first housing 22 of the electronic device 100. The first fingerprint module 52 is located on the power button, and the second fingerprint module 54 is located on the end of the volume control button away from the folding device 26. Because the second fingerprint module 54 is directly located on the volume control button, there is no need to add buttons or openings to the housing of the electronic device 100, which can better protect the internal structure of the electronic device 100 and maintain high waterproof and dustproof performance.

[0043] Optionally, the first fingerprint module 52 and the second fingerprint module 54 both collect the same fingerprint image, which serves as a preset fingerprint image for the first fingerprint module 52 and a preset fingerprint image for the second fingerprint module 54, respectively. The preset fingerprint image is used to compare with the fingerprint image collected by the user fingerprint recognition module during actual touch to verify the user's identity. Specifically, the fingerprint collection module of the first fingerprint module 52 scans the fingerprint of one of the user's fingers and generates a preset fingerprint image. The collected fingerprint image is subjected to a series of processing, such as grayscale conversion, binarization, and denoising, to extract the core features of the fingerprint; the fingerprint collection module of the second fingerprint module 54 scans the fingerprint of one of the user's fingers and generates a preset fingerprint image. The collected fingerprint image is subjected to a series of processing, such as grayscale conversion, binarization, and denoising, to extract the core features of the fingerprint.

[0044] like Figure 4 As shown, the unlocking device 60 is applied to the electronic device 100, and the detection unit 62 is used to detect that the electronic device is unlocked by the first fingerprint module 52 on the first button and / or the second fingerprint module 54 on the second button. Specifically, the detection unit 62 can detect that the electronic device is unlocked by contact on the first fingerprint module 52 and / or the second fingerprint module 54, or the detection unit can detect that the electronic device is unlocked by contact and sliding on the first fingerprint module 52 and / or the second fingerprint module 54. The processing unit 64 is used to analyze the position of the first fingerprint image detected by the first fingerprint module 52 in a first time domain relative to the second fingerprint image detected by the second fingerprint module 54 in a second time domain to determine the sliding direction of the finger on the first button and the second button; or the processing unit 64 is used to analyze the position of the first fingerprint image detected by the second fingerprint module 54 in the first time domain relative to the second fingerprint image detected by the first fingerprint module 52 in the second time domain to determine the sliding direction of the finger on the first button and the second button.

[0045] If the electronic device 100 needs to be unlocked at a low security level, it only needs to be unlocked by contact on the first fingerprint module 52 and / or the second fingerprint module 54. This low security level unlocking can access information with lower security level. Specifically, the detection unit 62 detects the touch operation on the first button and / or the second button, controls the fingerprint recognition module to identify the fingerprint image corresponding to the touch operation, and if the fingerprint image successfully matches the preset fingerprint template at the touch position corresponding to the touch operation, it is determined that the electronic device is unlocked by the fingerprint touch operation. If the electronic device 100 needs to be unlocked at a high security level, it needs to be unlocked by contact and sliding direction of the fingerprint recognition module. This high security level unlocking can access information with higher security level. Specifically, the detection unit 62 detects the touch operation on the first button and / or the second button, controls the fingerprint recognition module to identify the fingerprint image corresponding to the touch operation, and if the fingerprint image successfully matches the preset fingerprint template at the touch position corresponding to the touch operation, and the processing unit can obtain the sliding direction corresponding to the touch operation, if the sliding direction successfully matches the preset sliding direction, it is determined that the electronic device is unlocked by the fingerprint touch operation and the touch operation sliding. Therefore, users can choose different unlocking methods according to different needs, which is not only convenient to operate, but also improves the security of information and protects user privacy. Optionally, the preset sliding direction of the touch operation in the electronic device 100 is set by the software in the electronic device, such as the preset sliding direction can be set in the WeChat payment or Alipay software of the electronic device 100.

[0046] like Figure 5 and Figure 6 As shown, the first fingerprint module 52 and the second fingerprint module 54 can both detect the sliding direction of the finger's touch operation. Specifically, the first fingerprint module 52 and the second fingerprint module 54 both collect the fingerprint image of the finger as the preset fingerprint image. When the finger slides on the first fingerprint module 52 and the second fingerprint module 54, a small fingerprint image of the finger can be detected in the time domain, that is, a small first fingerprint image of the finger is detected in the first time domain, and another small second fingerprint image of the finger is detected in the second time domain. The second time domain is temporally lagged behind the first time domain. If the second fingerprint image collected in the second time domain is lower than the first fingerprint image collected in the first time domain, it means that the finger is sliding upward. It should be noted that in this application, the upward sliding direction is the direction in which the finger slides from the first button 30 to the second button 40, and the downward sliding direction is the direction in which the finger slides from the second button 40 to the first button 30.

[0047] In one application scenario, an upward swipe direction is set as the preset swipe direction on one of the software programs on the electronic device, and the user's same finger is recorded on the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template. When the software program needs to be unlocked, the user touches the first button 30 with the finger and swipes upward to the second button 40. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, and the second fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the second fingerprint image collected in the second time domain is lower than the first fingerprint image collected in the first time domain, then the swipe direction of the finger's touch operation successfully matches the preset swipe direction, thereby unlocking the software program. The software program can be, but is not limited to, WeChat, Alipay, WeChat for Business, QQ, and various APPs.

[0048] In another application scenario, a downward sliding direction is set as a preset sliding direction on one of the software programs of the electronic device, and the same finger of the user is recorded in the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template. When it is necessary to unlock one of the software programs, the user touches the second button 40 with the finger and slides downward to the first button 30. If the first fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, and the second fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the first fingerprint image collected in the first time domain is higher than the second fingerprint image collected in the second time domain, then the sliding direction of the touch operation of the finger successfully matches the preset sliding direction, thereby achieving the unlocking of the one of the software programs.

[0049] In another application scenario, a leftward sliding direction is set as a preset sliding direction on one of the software programs of the electronic device, and the same finger of the user is recorded in the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template. When it is necessary to unlock one of the software programs, the user touches the first button 30 and the second button 40 with the finger and slides to the left. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the first fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, and the first fingerprint image collected in the first time domain is further to the right than the second fingerprint image collected in the second time domain, then the sliding direction of the touch operation of the finger successfully matches the preset sliding direction, thereby achieving the unlocking of the one of the software programs.

[0050] In another application scenario, a rightward sliding direction is set as a preset sliding direction on one of the software programs of the electronic device, and the same finger of the user is recorded in the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template. When it is necessary to unlock one of the software programs, the user touches the first button 30 and the second button 40 with the finger and slides to the right. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the first fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, and the first fingerprint image collected in the first time domain is further to the left than the second fingerprint image collected in the second time domain, then the sliding direction of the touch operation of the finger successfully matches the preset sliding direction, thereby achieving the unlocking of the one of the software programs.

[0051] like Figure 7 As shown, in one application scenario, the user's finger is recorded on the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template, and a rightward and then upward sliding direction is set as the preset sliding direction on one of the software of the electronic device. When it is necessary to unlock one of the software, the user touches the first button 30 with the finger and slides rightward and then upward to the second button 40. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, the software is unlocked.

[0052] In another application scenario, the user's finger is recorded on the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template, and a leftward and then upward swiping direction is set as the preset swiping direction on one of the software in the electronic device. When it is necessary to unlock one of the software, the user touches the first button 30 with the finger and swipes leftward and then upward to the second button 40. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the swiping direction of the finger's touch operation successfully matches the preset swiping direction, the software is unlocked.

[0053] like Figure 8As shown, in one application scenario, the user's finger is recorded on the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template, and a leftward and then downward sliding direction is set as the preset sliding direction on one of the software of the electronic device. When it is necessary to unlock one of the software, the user touches the second button 400 with the finger and slides leftward and then downward on the second button 40. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, the software is unlocked.

[0054] In another application scenario, the user's finger is recorded on the first fingerprint module 52 and the second fingerprint module 54 to form a preset fingerprint template, and a rightward and then downward sliding direction is set as the preset sliding direction on one of the software in the electronic device. When it is necessary to unlock one of the software, the user touches the second button 400 with the finger and slides leftward and then downward onto the second button 40. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, the software is unlocked.

[0055] As can be seen from the above, the user can enter the fingerprint image of a certain finger as a preset fingerprint template on the first fingerprint module 52 and the second fingerprint module 54 as needed, and set the preset sliding direction on the corresponding software in the electronic device. There are many ways to preset the sliding direction, and the user can set it according to his needs.

[0056] like Figure 2 and Figure 9 As shown, an unlocking method provided in an embodiment of the present application is applied to an electronic device 100. The electronic device 100 includes a first button 30, a second button 40, a fingerprint recognition module 50 provided on the first button 30 and the second button 40, and an unlocking device; the fingerprint recognition module 50 is used to recognize fingerprint information on the first button 30 and the second button 40. The unlocking method includes:

[0057] S11: Detecting a first touch operation on the first button 30 and / or the second button 40 within a first time domain, and controlling the fingerprint recognition module 50 to recognize a first fingerprint image corresponding to the first touch operation.

[0058] In the present application, the first touch operation may be a finger touching the first button 30, controlling the first fingerprint module 52 to identify the first fingerprint image corresponding to the first touch operation; the first touch operation may be a finger touching the second button 40, controlling the second fingerprint module 54 to identify the first fingerprint image corresponding to the first touch operation; or the first touch operation may be a finger touching the first button 30 and the second button 40 at the same time, controlling the first fingerprint module 52 and the second fingerprint module 54 to identify the first fingerprint image corresponding to the first touch operation at the same time.

[0059] To unlock the electronic device 100 at a low security level, the user simply touches the first fingerprint module 52 on the first button 30 and / or the second fingerprint module 54 on the second button 40. The fingerprint recognition module 50 then detects the fingerprint image corresponding to the touch operation. When the fingerprint image successfully matches a preset fingerprint template, unlocking is complete. Low-security unlocking of the electronic device 100 can be performed to view text messages or emails, accept calls, audio requests, or video requests.

[0060] S12: Detecting a second touch operation on the first button 30 and / or the second button 40 within a second time domain, and controlling the fingerprint recognition module to recognize a second fingerprint image corresponding to the second touch operation.

[0061] The second touch operation is sliding the touch position corresponding to the first touch operation in the first time domain to the touch position corresponding to the second touch operation in the second time domain; specifically, the second touch operation can be, but is not limited to, the finger sliding from the first button 30 to the second button 40, the finger sliding from the second button 40 to the first button 30, the finger sliding first to the left on the first button 30 and then sliding to the second button 40, the finger sliding first to the right on the first button 30 and then sliding to the second button 40, the finger sliding first to the left on the second button 40 and then sliding to the first button 30, the finger sliding first to the right on the second button 40 and then sliding to the first button 30, the finger sliding first to the left on the first button 30 and then sliding to the second button 40 and then sliding to the right, the finger sliding first to the right on the first button 30 and then sliding to the second button 40 and then sliding to the left, the finger sliding first to the left on the second button 40 and then sliding to the first button 30 and then sliding to the right, or the finger sliding first to the right on the second button 40 and then sliding to the first button 30 and then sliding to the left, etc.

[0062] S13: Analyze the position of the second fingerprint image relative to the first fingerprint image to obtain the sliding direction of the touch operation;

[0063] The sliding direction of the touch operation is determined based on the position of the second fingerprint image relative to the first fingerprint image. Specifically, the finger detects a small block of the first fingerprint image in the first time domain on the control fingerprint recognition module 50, and the finger detects another small block of the second fingerprint image in the second time domain on the control fingerprint recognition module 50. If the second fingerprint image collected in the second time domain is lower than the first fingerprint image collected in the first time domain, it is determined that the finger slides upward; if the second fingerprint image collected in the second time domain is higher than the first fingerprint image collected in the first time domain, it is determined that the finger slides downward; if the second fingerprint image collected in the second time domain is further to the left than the first fingerprint image collected in the first time domain, it is determined that the finger slides to the right; if the second fingerprint image collected in the second time domain is further to the right than the first fingerprint image collected in the first time domain, it is determined that the finger slides to the left, etc. Using the same principle, it is possible to detect a finger sliding left and then upward, right and then upward, left and then downward, right and then downward, left and then upward and then right, right and then upward and then left, left and then downward and then right, or right and then downward and then left, etc. The user can set the above sliding directions in the program of the electronic device 100 to obtain a preset sliding direction.

[0064] S14: If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first touch operation in the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second touch operation in the second time domain, and the sliding direction of the touch operation successfully matches the preset sliding direction, it is determined that the electronic device 100 is unlocked by the fingerprint recognition module.

[0065] For high-level unlocking of the electronic device 100, the user must first set up fingerprint unlocking, that is, the user enters the fingerprint of the same finger into the first fingerprint module 52 and the second fingerprint module 54, and sets the preset sliding direction in the program or software of the electronic device 100; when unlocking, the user can complete the unlocking by sliding his finger on the fingerprint recognition module 50.

[0066] The first fingerprint module 52 and the second fingerprint module 54 of the fingerprint recognition module 50 are both provided with the same preset fingerprint image; the position of the second fingerprint image relative to the first fingerprint image is analyzed to determine the sliding direction of the touch operation, including:

[0067] Obtaining a position of a first fingerprint image corresponding to the first touch operation relative to a preset fingerprint image;

[0068] Obtaining a position of a second fingerprint image corresponding to the second touch operation relative to a preset fingerprint image;

[0069] If the second fingerprint image is closer to the bottom of the preset fingerprint image than the first fingerprint image, the sliding direction of the touch operation is analyzed to be from the first fingerprint module 52 to the second fingerprint module 54. If the second fingerprint image is closer to the top of the preset fingerprint image than the first fingerprint image, the sliding direction of the touch operation is analyzed to be from the second fingerprint module 54 to the first fingerprint module 52. When unlocking using this unlocking method, the electronic device 100 must be successfully unlocked only if the first fingerprint image successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction of the finger on the fingerprint recognition module 50 successfully matches the preset sliding direction. This greatly improves the unlocking security level of the electronic device 100, enhances information security, and protects user privacy.

[0070] In one scenario, if the preset sliding direction is an upward sliding direction from the first button 30 to the second button 40, when unlocking, the finger is used to touch the first fingerprint module 52 on the first button 30 in the first time domain to detect the first fingerprint image, and then the finger is slid to the second button 40 in the second time domain to the second fingerprint module 54 to detect the second fingerprint image. If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first touch operation in the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second touch operation in the second time domain, and the second fingerprint image of the finger on the second button 40 is closer to the lower side of the preset fingerprint image than the first fingerprint image on the first button 30, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, it can be determined that the electronic device 100 is unlocked by the fingerprint recognition module.

[0071] In one scenario, if the preset sliding direction is a downward sliding direction from the second button 40 to the first button 30, when unlocking, the finger is used to touch the second fingerprint module 54 on the second button 40 in the first time domain to detect the first fingerprint image, and then the finger is slid toward the first button 30 in the second time domain to the first fingerprint module 52 to detect the second fingerprint image. If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first touch operation in the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second touch operation in the second time domain, and the second fingerprint image of the finger on the first button 30 is closer to the upper side of the preset fingerprint image than the first fingerprint image on the second button 40, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, it can be determined that the electronic device 100 is unlocked by the fingerprint recognition module.

[0072] In one scenario, if the preset sliding direction is to slide from the first button 30 to the right and then to the upward sliding direction of the second button 40, when unlocking, the finger is used to touch the first fingerprint module 52 on the first button 30 in the first time domain to detect the first fingerprint image, and then the finger is slid to the right and then upward to the second fingerprint module 54 in the second time domain to detect the second fingerprint image. If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first touch operation in the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second touch operation in the second time domain, and the fingerprint image of the finger on the right side of the first button 30 is closer to the left side than the fingerprint image on the left side, and the second fingerprint image on the second button 40 is closer to the lower side of the preset fingerprint image than the first fingerprint image on the first button 30, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, it can be determined that the electronic device 100 is unlocked by the fingerprint recognition module.

[0073] In one scenario, if the preset sliding direction is to slide from the second button 40 to the left and then to the downward sliding direction of the first button 30, when unlocking, the finger is used to touch the second fingerprint module 54 on the second button 40 in the first time domain to detect the first fingerprint image, and then the finger is slid to the left and then downward to the first button 30 in the second time domain to detect the second fingerprint image. If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first touch operation in the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second touch operation in the second time domain, and the fingerprint image of the finger on the left side of the second button 40 is closer to the right side than the fingerprint image on the right side, and the second fingerprint image on the first button 30 is closer to the upper side of the preset fingerprint image than the first fingerprint image on the second button 40, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, it can be determined that the electronic device 100 is unlocked by the fingerprint recognition module.

[0074] like Figure 10-11As shown, the structure of the electronic device 100a in the second embodiment of the present application is similar to that of the electronic device 100 in the first embodiment, except that the structure of the fingerprint recognition module 50a in the second embodiment is slightly different from that of the fingerprint recognition module 50 in the first embodiment; specifically, the fingerprint recognition module 50a in the second embodiment adds a fingerprint module on the basis of the fingerprint recognition module 50 in the first embodiment, that is, the fingerprint recognition module 50a includes a first fingerprint module 52, a second fingerprint module 54 and a third fingerprint module 55. 6. The first fingerprint module 52 is mounted on the first button 30, while the second and third fingerprint modules 54, 56 are mounted on the second button 40, with the second and third fingerprint modules 54, 56 spaced apart from each other. Specifically, the second button 40 is strip-shaped, with the second and third fingerprint modules 54, 56 located at opposite ends of the strip. The first, second, and third fingerprint modules 52, 54, 56 are arranged along the length of the strip, with the second fingerprint module 54 being closer to the first fingerprint module 52 than the third fingerprint module 56. Because the first, second, and third fingerprint modules 52, 54, 56 are mounted on the first and second buttons 30, 40, respectively, the area for fingerprint unlocking is increased, further increasing the effective recognition area for capacitive fingerprint recognition. This large-area fingerprint image comparison reduces the false recognition rate and improves the accuracy of fingerprint unlocking. The first, second, and third fingerprint modules 52, 54, 56 are all electrically connected to the mainboard of the electronic device 100a. On the basis of adding the second fingerprint module 54 and the third fingerprint module 56 , no additional openings are added on the first housing 22 , which can better protect the internal structure of the electronic device 100 a and prevent the intrusion of dust, moisture, etc.

[0075] In this embodiment, the first fingerprint module 52, the second fingerprint module 54, and the third fingerprint module 56 are arranged in the same direction, spaced apart from each other, with the second fingerprint module 54 located between the first and third fingerprint modules 52, 56. Since fingerprint modules are provided at opposite ends of the first and second buttons 30, 40, respectively, the area for fingerprint unlocking is increased, thereby enlarging the effective recognition area of the capacitive fingerprint recognition system. The large-area fingerprint image comparison can reduce the false recognition rate. The first, second, and third fingerprint modules 52, 54, 56 each capture the same fingerprint image, which serves as the preset fingerprint image for the first, second, and third fingerprint modules 54, 56, respectively. The method for entering the preset fingerprint image for the third fingerprint module 56 is the same as that for the first fingerprint module 52 and will not be further described here. The preset sliding direction of the fingerprint recognition module 50a is configured via a program or software in the electronic device 100a.

[0076] like Figure 12As shown, in one application scenario, an upward swipe direction is set as a preset swipe direction on one of the software programs on the electronic device 100a, and the user's finger is recorded on the first fingerprint module 52, the second fingerprint module 54, and the third fingerprint module 56 to form a preset fingerprint template. When the software program needs to be unlocked, the user touches the first button 30 with the finger and swipes upward until the second button 40 is farther away from the first button 30. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position, and the second fingerprint image detected by the third fingerprint module 56 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the second time domain lags behind the first time domain in time, and the second fingerprint image collected in the second time domain is located lower than the first fingerprint image collected in the first time domain, then the swipe direction of the touch operation successfully matches the preset swipe direction, thereby unlocking the software program.

[0077] like Figure 13 As shown, in one application scenario, a downward swipe direction is set as a preset swipe direction on one of the software programs on the electronic device 100a, and the user's finger is recorded on the first fingerprint module 52, the second fingerprint module 54, and the third fingerprint module 56 to form a preset fingerprint template. When the software program needs to be unlocked, the user touches the end of the second button 40 away from the first button 30 with the finger and swipes downward toward the first button 30. If the first fingerprint image detected by the third fingerprint module 56 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position, and the second fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the second time domain lags behind the first time domain in time, and the second fingerprint image collected in the second time domain is higher than the first fingerprint image collected in the first time domain, then the swipe direction of the finger's touch operation successfully matches the preset swipe direction, thereby unlocking the software program.

[0078] like Figure 14As shown in one application scenario, a preset sliding direction of first swiping rightward and then upward is set on one of the software programs on the electronic device 100a, and the same user's finger is recorded on the first fingerprint module 52, the second fingerprint module 54, and the third fingerprint module 56 to form a preset fingerprint template. When it is necessary to unlock one of the software programs, the user touches the first button 30 with the finger and swips rightward and then upward until the second button 40 is away from the first button 30. If the first fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position, the second fingerprint image detected by the third fingerprint module 56 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, the software program is unlocked.

[0079] like Figure 15 As shown in one application scenario, a preset sliding direction of first swiping left and then downward is set on one of the software programs on the electronic device 100a, and the user's finger is recorded on the first fingerprint module 52, the second fingerprint module 54, and the third fingerprint module 56 to form a preset fingerprint template. When the software program needs to be unlocked, the user touches the end of the second button 40 away from the first button 30 with the finger and swips left and then downward until it touches the first button 30. If the first fingerprint image detected by the third fingerprint module 56 successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the fingerprint image detected by the second fingerprint module 54 successfully matches the preset fingerprint template at the touch position, the second fingerprint image detected by the first fingerprint module 52 successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction of the finger's touch operation successfully matches the preset sliding direction, the software program is unlocked.

[0080] As can be seen from the above, the user can enter the fingerprint image of a certain finger as a preset fingerprint template on the first fingerprint module 52, the second fingerprint module 54 and the third fingerprint module 56 as needed, and set the preset sliding direction on the corresponding software in the electronic device. There are many ways to preset the sliding direction, and the user can set it according to his needs.

[0081] The electronic device 100a of the present application is provided with a first fingerprint module 52 on the first button 30 on the same side wall, and a second fingerprint module 54 and a third fingerprint module 56 are provided on the second button 40, which are spaced apart from each other. The detection unit 62 of the unlocking device 60 controls the fingerprint recognition module 50 to detect corresponding fingerprint images in different time domains. When the electronic device 100a needs to be unlocked, if the first fingerprint image successfully matches the preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction of the finger on the fingerprint recognition module 50 successfully matches the preset sliding direction, then the electronic device 100a is successfully unlocked. Therefore, the unlocking of the electronic device 100a of the present application requires that the first fingerprint image and the second fingerprint image are respectively matched with the preset fingerprint template, and the sliding direction of the touch operation also successfully matches the preset sliding direction, which greatly improves the unlocking security level of the electronic device 100a, improves the security of information, and protects user privacy.

[0082] The unlocking method of the electronic device 100a provided in the second embodiment of the present application is the same as the unlocking method of the electronic device 100 provided in the first embodiment, and will not be repeated here.

[0083] The above is an implementation of the embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the embodiment of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An unlocking device, characterized in that: Applied to an electronic device, the electronic device includes a first button, a second button, and a fingerprint recognition module, the fingerprint recognition module includes a first fingerprint module provided on the first button and a second fingerprint module provided on the second button, the first fingerprint module is used to identify fingerprint information on the first button, and the second fingerprint module is used to identify fingerprint information on the second button, the unlocking device includes: a detection unit, configured to detect a fingerprint image of a finger on the first fingerprint module and / or the second fingerprint module; the detection unit controls the fingerprint recognition module to detect the first fingerprint image within a first time domain, and the detection unit controls the fingerprint recognition module to detect the second fingerprint image within a second time domain, where the second time domain is temporally delayed from the first time domain; and A processing unit is used to analyze the position of the second fingerprint image relative to the first fingerprint image to obtain the sliding direction of the finger relative to the fingerprint recognition module; if the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second time domain, and the sliding direction of the touch operation successfully matches the preset sliding direction, it is determined that the electronic device is unlocked by the fingerprint recognition module.

2. The unlocking device according to claim 1, characterized in that: The first fingerprint module and the second fingerprint module both collect the same fingerprint image to serve as the preset fingerprint image of the first fingerprint module and the second fingerprint module respectively.

3. The unlocking device according to claim 1, characterized in that: The fingerprint recognition module also includes a third fingerprint module, which is arranged on the second button. The second fingerprint module and the third fingerprint module are spaced apart from each other. The first fingerprint module, the second fingerprint module and the third fingerprint module respectively collect the same fingerprint image to serve as the preset fingerprint image of the first fingerprint module, the second fingerprint module and the third fingerprint module respectively.

4. The unlocking device according to claim 3, characterized in that: The first fingerprint module, the second fingerprint module and the third fingerprint module are arranged in the same direction, and the second fingerprint module is located between the first fingerprint module and the third fingerprint module.

5. The unlocking device according to claim 1, characterized in that: The first button and the second button are spaced apart from each other, and the first button and the second button are located on the same side wall of the electronic device.

6. The unlocking device according to claim 1, characterized in that: The first button is a power button, the second button is a volume adjustment button, and the power button and the volume adjustment button are located on the same side of the housing of the electronic device.

7. An unlocking method, characterized in that: Applicable to an electronic device, the electronic device comprising a first button, a second button, a fingerprint recognition module provided on the first button and the second button, and the unlocking device according to any one of claims 1 to 6; The fingerprint recognition module is used to identify fingerprint information on the first button and the second button, and the unlocking method includes: detecting a first touch operation on the first button and / or the second button within a first time domain, and controlling the fingerprint recognition module to recognize a first fingerprint image corresponding to the first touch operation; detecting a second touch operation on the first button and / or the second button within a second time domain, and controlling the fingerprint recognition module to recognize a second fingerprint image corresponding to the second touch operation; analyzing a position of the second fingerprint image relative to the first fingerprint image to derive a sliding direction of the touch operation; If the first fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the first touch operation in the first time domain, the second fingerprint image successfully matches the preset fingerprint template of the touch position corresponding to the second touch operation in the second time domain, and the sliding direction of the touch operation successfully matches the preset sliding direction, it is determined that the electronic device is unlocked by the fingerprint recognition module.

8. The unlocking method according to claim 7, characterized in that: The first fingerprint module and the second fingerprint module of the fingerprint recognition module are both provided with the same preset fingerprint image; Analyzing a position of the second fingerprint image relative to the first fingerprint image to derive a sliding direction of the touch operation, including: Obtaining a position of a first fingerprint image corresponding to the first touch operation relative to the preset fingerprint image; Obtaining a position of a second fingerprint image corresponding to the second touch operation relative to the preset fingerprint image; If the second fingerprint image is closer to the lower side of the preset fingerprint image than the first fingerprint image, it is analyzed that the sliding direction of the touch operation is from the first fingerprint module to the second fingerprint module; if the second fingerprint image is closer to the upper side of the preset fingerprint image than the first fingerprint image, it is analyzed that the sliding direction of the touch operation is from the second fingerprint module to the first fingerprint module.

9. An electronic device, characterized in that: The electronic device includes a first button, a second button, a fingerprint recognition module, and an unlocking device according to any one of claims 1 to 6, wherein the first button and the second button are arranged on the same side wall of a housing of the electronic device, and the fingerprint recognition module includes a first fingerprint module arranged on the first button and a second fingerprint module arranged on the second button, the first fingerprint module being used to recognize fingerprint information on the first button, and the second fingerprint module being used to recognize fingerprint information on the second button; the unlocking device is arranged on the electronic device, and the detection unit of the unlocking device is used to detect sliding of a finger on the first fingerprint module and / or the second fingerprint module to control the fingerprint recognition module to detect a first fingerprint image in a first time domain, and the detection unit controls the fingerprint recognition module to detect a second fingerprint image in a second time domain; the processing unit of the unlocking device is used to analyze the position of the second fingerprint image relative to the first fingerprint image to determine the sliding direction of the finger relative to the fingerprint recognition module; if the first fingerprint image successfully matches a preset fingerprint template at the touch position corresponding to the first time domain, the second fingerprint image successfully matches the preset fingerprint template at the touch position corresponding to the second time domain, and the sliding direction successfully matches a preset sliding direction, it can be determined that the electronic device is unlocked by the fingerprint recognition module.

10. The electronic device according to claim 9, characterized in that The fingerprint recognition module also includes a third fingerprint module, which is arranged on the second button. The second button is in a bar shape. The second fingerprint module and the third fingerprint module are respectively located at opposite ends of the bar shape. The first fingerprint module, the second fingerprint module and the third fingerprint module are arranged along the length direction of the bar shape.