CN116052224B - Fingerprint identification method and electronic equipment - Google Patents

Fingerprint identification method and electronic equipment Download PDF

Info

Publication number
CN116052224B
CN116052224B CN202210841793.4A CN202210841793A CN116052224B CN 116052224 B CN116052224 B CN 116052224B CN 202210841793 A CN202210841793 A CN 202210841793A CN 116052224 B CN116052224 B CN 116052224B
Authority
CN
China
Prior art keywords
fingerprint
electronic device
electronic equipment
screen
feature information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210841793.4A
Other languages
Chinese (zh)
Other versions
CN116052224A (en
Inventor
蔡佩芝
张峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210841793.4A priority Critical patent/CN116052224B/en
Publication of CN116052224A publication Critical patent/CN116052224A/en
Application granted granted Critical
Publication of CN116052224B publication Critical patent/CN116052224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1306Sensors therefor non-optical, e.g. ultrasonic or capacitive sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1347Preprocessing; Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a fingerprint identification method and electronic equipment, and relates to the field of terminals, wherein the method comprises the following steps: the electronic equipment sets up fingerprint collection module 1 in the left side, sets up fingerprint collection module 2 in the right side. When the folding screen of the electronic device is in the fully folded configuration, the distance between the fingerprint acquisition module 1 and the fingerprint acquisition module 2 is smaller than a first threshold value. When the electronic device is in a locked state and the folding screen is detected to be in a fully folded state, the finger 1 designated by the user can touch the two fingerprint acquisition modules at the same time. The electronic equipment collects a fingerprint image 1 through a fingerprint collection module 1 and collects a fingerprint image 2 through a fingerprint collection module 2. The fingerprint image 1 comprises fingerprint feature information 1 specifying the finger 1 and the fingerprint image 2 comprises fingerprint feature information 2 specifying the finger 1. When the electronic equipment determines that the fingerprint characteristic information in the preset fingerprint template 1 comprises the fingerprint characteristic information 1 and the fingerprint characteristic information 2, the electronic equipment can unlock the equipment.

Description

Fingerprint identification method and electronic equipment
Technical Field
The present application relates to the field of terminals, and in particular, to a fingerprint identification method and an electronic device.
Background
With the continuous development of screen technology, display screens on electronic devices are increasingly provided with diversified forms. In recent years, electronic devices equipped with a folding screen are increasingly used by users in daily life and work. In order to improve the use safety of the folding screen electronic device, the fingerprint unlocking technology is also applied to the folding screen electronic device.
At present, a side fingerprint unlocking mode is adopted in a fingerprint unlocking technology on the folding screen electronic equipment. That is, the fingerprint acquisition module is located at the side of the electronic device. When the finger of the user touches the fingerprint acquisition module on the side face of the device, the electronic device can acquire the fingerprint image of the user, and then match the acquired fingerprint image with a pre-stored fingerprint template. If the matching is successful, the electronic equipment is changed from the locking state to the unlocking state, and the user can use the electronic equipment. If the matching is unsuccessful, the electronic device remains locked, and the user cannot use the electronic device.
However, in order to acquire the fingerprint image of the user as completely as possible, the fingerprint recognition module on the side of the electronic device is often set to be thicker, usually more than 2.12 mm, which results in thicker folding screen electronic device, so that the user is inconvenient to hold the folding screen electronic device, and the operation flexibility of the electronic device is not good.
Disclosure of Invention
The application provides a fingerprint identification method and electronic equipment, which can increase the area for fingerprint image acquisition, improve the accuracy and efficiency of fingerprint identification, simultaneously enable the thickness of the electronic equipment to be thinner, enable a user to hold the electronic equipment 100 more conveniently, and improve the operation flexibility of the electronic equipment 100.
In a first aspect, the present application provides a fingerprint identification method, applied to an electronic device, where the electronic device includes a folding screen, a first fingerprint acquisition module and a second fingerprint acquisition module, the first fingerprint acquisition module is disposed on a left side of the electronic device, the second fingerprint acquisition module is disposed on a right side of the electronic device, and when the folding screen of the electronic device is in a fully folded state, a distance between the first fingerprint acquisition module and the second fingerprint acquisition module is smaller than a first threshold, the method includes: the electronic device is in a locked state. When the electronic equipment detects that the folding screen is in a completely folded state, the electronic equipment receives a first input that a first finger of a user touches the first fingerprint acquisition module and the second fingerprint acquisition module. And responding to the first input, the electronic equipment collects first fingerprint characteristic information of the first finger through the first fingerprint collection module, and collects second fingerprint characteristic information of the first finger through the second fingerprint collection module, wherein the first fingerprint characteristic information is different from the second fingerprint characteristic information. When the electronic equipment determines that the preset first fingerprint template comprises the first fingerprint feature information and the second fingerprint feature information, the electronic equipment executes a first operation to unlock the electronic equipment.
In one possible implementation, the first fingerprint feature information is included in a first fingerprint image, the second fingerprint feature information is included in a second fingerprint image, and the first fingerprint template includes third fingerprint feature information of the first finger. When the electronic device determines that the preset first fingerprint template comprises the first fingerprint feature information and the second fingerprint feature information, the electronic device executes a first operation to unlock the electronic device, and the method specifically comprises the following steps: the electronic device generates a third fingerprint image based on the first fingerprint image and the second fingerprint image. The electronic device calculates the similarity between the third fingerprint image and the first fingerprint template based on the first fingerprint feature information, the second fingerprint feature information and the third fingerprint feature information. When the value of the similarity is greater than or equal to a second threshold value, the electronic device determines that the third fingerprint feature information in the first fingerprint template comprises the first fingerprint feature information and the second fingerprint feature information. The electronic device executes the first operation to unlock the electronic device.
In one possible implementation, the method further includes: the electronic device is in a locked state. When the electronic equipment detects that the folding screen is in the fully unfolded state, the electronic equipment receives second input that a second finger of a user touches the first fingerprint acquisition module, and the first finger touches third input of the second fingerprint acquisition module. In response to the second input, the electronic device collects fourth fingerprint feature information of the second finger through the first fingerprint collection module, and in response to the third input, the electronic device collects fifth fingerprint feature information of the first finger through the second fingerprint collection module. When the electronic equipment determines that the first fingerprint template comprises the fifth fingerprint feature information and the preset second fingerprint template comprises the fourth fingerprint feature information, the electronic equipment executes a second operation to unlock the electronic equipment.
In one possible implementation, the method further includes: the electronic equipment collects sixth fingerprint characteristic information of the first finger based on the first fingerprint collection module. And when the electronic equipment determines that the sixth fingerprint feature information is included in the first fingerprint template, the electronic equipment executes a third operation.
In one possible implementation, the method further includes: the electronic equipment collects seventh fingerprint characteristic information of the first finger based on the second fingerprint collection module. And when the electronic equipment determines that the seventh fingerprint feature information is included in the first fingerprint template, the electronic equipment executes a fourth operation.
In one possible implementation, the third operation is: the electronic device displays a payment two-dimensional code.
In one possible implementation, the fourth operation is: the electronic equipment displays a scanning interface which is used for scanning the two-dimensional code and reading and displaying information contained in the two-dimensional code.
In a second aspect, an embodiment of the present application provides an electronic device, including computer instructions, including: one or more processors, one or more memories, and a display screen. The one or more memories are coupled with one or more processors, the one or more memories being configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of the possible implementations of the first aspect described above.
In a third aspect, embodiments of the present application provide a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a chip or chip system comprising processing circuitry and interface circuitry, the interface circuitry for receiving code instructions and transmitting to the processing circuitry, the processing circuitry for executing the code instructions to perform the method of any one of the possible implementations of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product which, when run on an electronic device, causes the electronic device to perform the method of any one of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic product form of an electronic device 100 with an out-folding screen according to an embodiment of the present application;
fig. 2 is a schematic product form of an electronic device 100 with an inward folding screen according to an embodiment of the present application;
fig. 3 is a schematic product form of an electronic device 100 with a third screen according to an embodiment of the present application;
Fig. 4A is a schematic diagram illustrating a set of fingerprint recognition modules according to an embodiment of the present application;
fig. 4B is a schematic flow chart of an electronic device for collecting a fingerprint of a user according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a fingerprint identification method according to an embodiment of the present application;
FIGS. 6A-6B are a set of user interface diagrams provided in accordance with an embodiment of the present application;
fig. 6C is a schematic diagram of fingerprint acquisition according to an embodiment of the present application;
fig. 6D is a schematic diagram illustrating a configuration of a fingerprint acquisition module according to an embodiment of the present application;
fig. 6E is a schematic flow chart of another electronic device for capturing a fingerprint of a user according to an embodiment of the present application;
FIG. 6F is a schematic diagram illustrating an alternative fingerprint acquisition module according to an embodiment of the present application;
fig. 6G is a schematic view of fingerprint image stitching according to an embodiment of the present application;
FIGS. 7A-7E are a set of user interface diagrams provided in accordance with an embodiment of the present application;
fig. 7F is a schematic diagram of an electronic device generating a preset fingerprint template according to an embodiment of the present application;
FIG. 7G is a diagram of a user interface according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another fingerprint identification method according to an embodiment of the present application;
FIGS. 9A-9B are a set of user interface diagrams provided in accordance with an embodiment of the present application;
fig. 9C is a schematic flow chart of another electronic device for capturing a fingerprint of a user according to an embodiment of the present application;
fig. 9D is a schematic diagram of fingerprint image matching according to an embodiment of the present application;
FIG. 9E is a diagram of a user interface according to an embodiment of the present application;
FIG. 10A is a schematic diagram of another fingerprint acquisition according to an embodiment of the present application;
FIG. 10B is a schematic diagram of another fingerprint acquisition according to an embodiment of the present application;
FIG. 10C is a schematic diagram of a set of fingerprint acquisitions according to an embodiment of the present application;
FIG. 10D is a schematic diagram of a set of fingerprint acquisitions according to an embodiment of the present application;
fig. 11A is a schematic hardware structure of an electronic device 100 according to an embodiment of the present application;
FIG. 11B is a schematic diagram of detecting an included angle of a folding screen according to an embodiment of the present application;
FIG. 11C is a schematic diagram of a geographic coordinate system according to an embodiment of the present application;
fig. 12 is a schematic software module of the electronic device 100 according to an embodiment of the present application.
Detailed Description
The terminology used in the following embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that the term "and/or" as used in this disclosure is meant to encompass any or all possible combinations of one or more of the listed items. In embodiments of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the application, unless otherwise indicated, the meaning of "a plurality" is two or more.
First, an electronic device 100 provided with a folding screen according to an embodiment of the present application will be described.
The folding screen on the electronic device 100 may form at least two screens. For example, the folding screen may be folded along a fold edge or fold axis to form a first screen and a second screen.
The folding manner of the folding screen on the electronic device 100 can be divided into two types. One type is an outward folding screen (called outward folding screen for short), and the other type is an inward folding screen (called inward folding screen for short). Wherein, take the example of folding screen can fold and form first screen and second screen. After the outward folding screen is folded, the display direction of the first screen is opposite to the display direction of the second screen. After the inward folding screen is folded, the display direction of the first screen is opposite to the display direction of the second screen. In the embodiment of the application, the first screen may be referred to as an a screen, and the second screen may be referred to as a B screen.
Exemplary, the form of the outward folding screen provided by the embodiment of the application can be as follows:
referring to fig. 1, a schematic product form of an electronic device 100 with an outward folding screen according to an embodiment of the application is shown. Wherein (a) in fig. 1 is a schematic view of a fully unfolded configuration of the out-turned folding screen. The out-folded panel may be folded along the fold edges in directions 11a and 11B shown in fig. 1 (a) to form a panel a (i.e., a first panel) and a panel B (i.e., a second panel) in a semi-folded configuration shown in fig. 1 (B). The out-turned folding screen can be folded over along the folding edges in the directions 12a and 12b shown in fig. 1 (b) to form the out-turned folding screen in the fully folded configuration shown in fig. 1 (c). As shown in fig. 1 (c), after the folding screen of the electronic device 100 is completely folded, the a screen (i.e., the first screen) and the B screen (i.e., the second screen) are opposite to each other, and are visible to the user.
It will be appreciated that for an electronic device having an out-folded folding screen, the electronic device 100 may display interface content on either the a-screen (i.e., the first screen) or the B-screen (i.e., the second screen) when the folding screen is in the fully folded configuration or the semi-folded configuration. When the folded screen is in the fully unfolded configuration, the electronic device 100 may display interface content on the a-screen (i.e., the first screen) and the B-screen (i.e., the first screen). The fully folded configuration, the semi-folded configuration and the fully unfolded configuration of the folding screen may be described in the following embodiments, and will not be described herein.
Exemplary, the form of the inward folding screen provided by the embodiment of the application can be as follows:
fig. 2 is a schematic product form of an electronic device 100 with an inward folding screen according to an embodiment of the application. Wherein (a) in fig. 2 is a schematic view of the fully unfolded configuration of the invaginated folding screen. The inwardly folded screen may be folded along the fold edges in directions 21a and 21B shown in fig. 2 (a) to form a semi-folded form of the screen a and the screen B shown in fig. 2 (B). The inner folding screen may be folded over along the fold edges in the directions 22a and 22b shown in fig. 2 (b) to form the out-turned folding screen in the fully folded configuration shown in fig. 2 (c). As shown in fig. 2 (c), after the folding screen of the electronic device 100 is fully folded, the a screen and the B screen are opposite and invisible to the user.
It should be noted that, the back of the first screen or the second screen of the invaginated folding screen provided by the embodiment of the application may also be provided with a display screen, and the display screen may be referred to as a third screen. As shown in fig. 3, a C-screen (i.e., a third screen) may be provided on the back of the a-screen (i.e., the first screen). After the inward folding screen is completely folded, the C screen is opposite to the A screen, and the C screen is visible to a user. It will be appreciated that for an electronic device 100 having such an internal folding screen, the interface may be displayed on the third screen when the folding screen is in the fully folded configuration; when the folding screen is in a semi-folding state, displaying interfaces on the first screen, the second screen and the third screen; when the folding screen is in the fully unfolded state, an interface can be displayed on the first screen and the second screen.
In the embodiment of the present application, the value range of the included angle α between the a screen and the B screen of the folding screen (including the inward folding screen and the outward folding screen) of the electronic device 100 is [0 °,180 ° ]. Wherein if α ε [0 °, P1], electronic device 100 may determine that the folding screen is in a fully folded configuration; if α∈ (P1, P2), the electronic device 100 may determine that the folding screen is in a semi-folded configuration; alpha e [ P2, 180 ], the electronic device 100 may determine that the folding screen is in a fully unfolded configuration. Wherein, 0 DEG is more than 0 DEG and less than P1 and less than 180 DEG is more than P2. P1, P2 may be preset angle thresholds. P1 and P2 may be determined based on usage habits of a large number of users using the folding screen; alternatively, P1, P2 may be set by the user in the electronic device 100.
In some embodiments, the user may want to use the a-screen and the B-screen as a whole (i.e., as a complete display screen) with a greater angle α than 150 ° according to the usage habits of most users. When the included angle α between the a-screen and the B-screen is smaller than 30 degrees, the possibility that the user wants to use the a-screen or the B-screen separately is high, and the folding screen may be in a fully folded configuration. Therefore, in the embodiment of the present application, the range of the preset angle threshold P1 may be (0, 30 °), and the range of the preset angle threshold P2 may be (150 °,180 °). For example, the preset angle threshold P1 may be 5 °, 10 °, 15 °, 20 °, or the like. The preset angle threshold P2 may be 155 °, 160 °, 165 °, 170 °, or the like. The specific implementation manner of detecting the included angle between the screen a and the screen B by the electronic device 100 will be described in detail in the following embodiments, which will not be described herein.
It should be noted that, at least two screens formed after the folding screen (including the inner folding screen and the outer folding screen) in the embodiment of the present application are folded may be multiple screens that exist independently, or may be a complete screen with an integral structure, and only are folded to form at least two portions.
For example, the folding screen may be a flexible folding screen including folding edges made of a flexible material. Part or all of the flexible folding screen is made of flexible materials. The at least two panels formed after the flexible folding panel is folded are one complete panel of unitary construction, but folded to form at least two sections.
For another example, the folding screen may be a multi-screen folding screen. The multi-screen folding screen may include multiple (two or more) screens. The plurality of screens is a plurality of individual display screens. The plurality of screens may be connected in turn by a folding shaft. Each screen can rotate around a folding shaft connected with the screen, so that the folding of the multi-screen folding screen is realized.
In fig. 1, fig. 2, and fig. 3, the folding screen is a flexible folding screen, and the folding screen in the embodiment of the present application is described. In the subsequent embodiments of the present application, the method provided in the embodiments of the present application will be described by taking the case that the folding screen is a flexible folding screen as an example.
By way of example, the electronic device 100 in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (Augmented reality, AR) \virtual reality (VR) device, or the like, including the above-described folding screen, and the embodiment of the present application is not limited to the specific type of the electronic device.
Next, a side fingerprint recognition process applied to the electronic device 100 is described.
In some application scenarios, the electronic device 100 may set a fingerprint identification module at a side of the device. As shown in fig. 4A, the electronic device 100 may be provided with a fingerprint recognition module on the left side or a fingerprint recognition module on the right side. Further, as shown in fig. 4B, when the finger of the user touches the fingerprint acquisition module on the side (right side as shown in fig. 4B), the electronic device 100 may acquire a fingerprint image of the user through the fingerprint acquisition module. The electronic device 100 may then match the captured fingerprint image with a pre-stored fingerprint template. If the acquired fingerprint image can be successfully matched with the fingerprint template, the electronic device 100 can be changed from the locking state to the unlocking state, and the user can use the electronic device 100 to process various transactions. If the acquired fingerprint image cannot be successfully matched with the fingerprint template, the electronic device 100 still remains locked, and the user cannot process various transactions using the electronic device 100.
However, in order to acquire the fingerprint image of the user as completely as possible, the fingerprint recognition module on the side of the electronic device 100 is often set to be thicker, usually more than 2.12 mm, which results in thicker thickness of the electronic device 100, so that the user is inconvenient to hold the electronic device 100, and the operation flexibility of the electronic device 100 is not good.
Therefore, the application provides a fingerprint identification method.
Specifically, the fingerprint identification method can be applied to the electronic device 100 with the folding screen. The implementation of the fingerprint identification method is specifically described in the subsequent embodiment by taking the foregoing electronic device 100 including an a-screen, a B-screen, and a C-screen, which are folded and folded inward.
In this method, the electronic device 100 may be provided with the fingerprint acquisition module 1 on the left side and the fingerprint acquisition module 2 on the right side. The fingerprint acquisition module 1 and the fingerprint acquisition module 2 may be symmetrically arranged, and/or, when the folding screen of the electronic device 100 is in the completely folded configuration, the distance between the fingerprint acquisition module 1 and the fingerprint acquisition module 2 is smaller than the first threshold. When the finger 1 designated by the user touches the fingerprint acquisition module 1 and the fingerprint acquisition module 2 at the same time, the electronic device 100 may acquire the fingerprint image 1 of the finger 1 designated by the user through the fingerprint acquisition module 1. The electronic device 100 may acquire a fingerprint image 2 of a user-specified finger 1 through the fingerprint acquisition module 2. Wherein the fingerprint image 1 comprises fingerprint feature information 1 of the designated finger 1 and the fingerprint image 2 comprises fingerprint feature information 2 of the designated finger 2. Then, the electronic device 100 may determine whether the fingerprint feature information 1 and the fingerprint feature information 2 are included in the fingerprint feature information in the preset fingerprint template 1. If so, the electronic device 100 may change from the locked state to the unlocked state, and the user may use the electronic device 100 to process various transactions. If not, the electronic device 100 remains locked and the user cannot process transactions using the electronic device 100.
Thus, the single-sided fingerprint acquisition module may be configured to be relatively narrow (e.g., 1.8 millimeters or less), and the thickness of the electronic device 100 may be relatively thin. Meanwhile, based on the fact that two fingerprint collection modules collect fingerprint images, the area for collecting the fingerprint images can be increased. For example, if the width of the single-sided fingerprint acquisition module is 1.5 millimeters, the width of the acquired fingerprint image is 1.5 millimeters; and the width of the two-sided fingerprint acquisition module can be 3 mm as a whole, the width of the acquired fingerprint image is 3 mm. Thereby increasing the collected fingerprint characteristic information, improving the accuracy and efficiency of fingerprint identification, and also enabling a user to hold the electronic device 100 more conveniently, improving the operation flexibility of the electronic device 100.
The following describes a specific flow of a fingerprint identification method provided by the embodiment of the application.
In some application scenarios, the folding screen of the electronic device 100 may be in a fully folded configuration, and the electronic device 100 may be in a locked state. The electronic device 100 implements the fingerprint identification method provided by the application to unlock the device.
Referring to fig. 5, based on the application scenario, fig. 5 schematically shows a specific flowchart of a fingerprint identification method according to an embodiment of the present application. As shown in fig. 5, taking an example in which the folding screen of the electronic device 100 is in a fully folded configuration, the specific flow of the method may include:
S501, the electronic device 100 is in a locked state.
Specifically, in the embodiment of the present application, the electronic device 100 may have two states according to whether it is locked or not: a locked state and an unlocked state. When the electronic device 100 is in the locked state, a part of the functions are locked, i.e., the electronic device 100 does not provide a part of the functions. The functionality provided by the electronic device 100 in the locked state requires less data security. For example, the functions provided by the electronic device 100 in the locked state may include: answering calls, hanging up calls, adjusting the volume of music, starting camera applications, turning on/off flight modes, etc. In the unlocking state, the locked function has high requirements on data security. Illustratively, the functions for which the unlocked state is locked may include: a portion of the application (e.g., a WeChat application) is launched, as well as functionality provided by the application (e.g., displaying a WeChat payment interface), etc.
When the electronic device 100 is in the locked state, the screen (which may also be referred to as a display screen, a touch screen, or a folding screen) interface of the electronic device 100 may have several types: an off screen interface, an off screen (AOD) interface, and a lock screen interface. The screen-off interface may refer to: when the electronic device 100 is in the locked state, the display of the electronic device 100 is dormant to be a black screen, the screen of which does not display interface elements, but other devices and programs are in a state of normal operation. The AOD interface may refer to: when the electronic device 100 is in the locked state, a partial area of the screen on the electronic device 100 remains normally bright for displaying information of time, notification, and the like. The lock screen interface may refer to: when the electronic device 100 is in the locked state, all pixels of the screen on the electronic device 100 are lit.
For example, the electronic device 100 may display the interface 1 when the device is in a locked state. Interface 1 may be an AOD interface or, alternatively, a lock screen interface.
As shown in fig. 6A, when the folding screen of electronic device 100 is in a fully folded configuration, electronic device 100 may display AOD interface 20 based on the C-screen. The AOD interface 20 may include: calendar indicators, battery status indicators, images that a user designates for display, and the like. Wherein calendar indicators may be used to indicate current time, such as date, day of week, time division information, and so forth. In AOD interface 20, calendar indicators may be the text information "08:08", "6 month 13 day", "Monday" and "five month five in NOUYAN". The battery status indicator may be used to indicate the current battery level. The AOD interface may also display notification information, other icons, etc. without being limited to the above interface elements.
As shown in fig. 6B, when the folding screen of the electronic device 100 is in the fully folded configuration, the electronic device 100 may display the screen lock interface 21 based on the C-screen. The lock screen interface 21 may include: status bars, calendar indicators, etc. Wherein the status bar may include one or more signal strength indicators of a mobile communication signal (also may be referred to as a cellular signal), one or more signal strength indicators of a wireless high-fidelity (wireless fidelity, wi-Fi) signal, a battery status indicator, and the like. The calendar indicator may be described with reference to the embodiment shown in fig. 6A, and will not be described in detail herein.
It should be noted that the above user interfaces are only used for exemplary explanation of the present application, and are not meant as limitations of the present application.
S502, when the electronic device 100 detects that the folding screen is in a completely folded state, the electronic device 100 collects a fingerprint image 1 of a user through the fingerprint collection module 1 and collects a fingerprint image 2 of the user through the fingerprint collection module 2.
Wherein the fingerprint acquisition module 1 (may also be referred to as a first fingerprint acquisition module) and the fingerprint acquisition module 2 (may also be referred to as a second fingerprint acquisition module) may acquire the fingerprint image 1 and the fingerprint image 2 based on capacitive fingerprint recognition technology.
The fingerprint image 1 comprises fingerprint information 1 (which may also be referred to as first fingerprint information) of a specified finger 1 of the user, and the fingerprint image 2 comprises fingerprint information 2 (which may also be referred to as second fingerprint information) of the specified finger 1 of the user. The fingerprint feature information 1 and the fingerprint feature information 2 are part of fingerprint feature information of the designated finger 1, and the fingerprint feature information 1 and the fingerprint feature information 2 may be different.
Fingerprint feature information 1/fingerprint feature information 2 may include, but is not limited to, one or more of the following feature information: node information of the fingerprint, endpoint information of the fingerprint, triangular point information of the fingerprint, and the like. The nodes of the fingerprint may refer to: break points of the fingerprint lines, bifurcation points of the fingerprint lines and turning points of the fingerprint lines. The endpoints of the fingerprint may refer to: where a fingerprint line ends. The triangular points of the fingerprint may refer to: the fingerprint lines in three different directions are converged.
Next, a specific implementation of the capacitive fingerprint identification technology is specifically described.
As shown in fig. 6C, the fingerprint acquisition modules (e.g., fingerprint acquisition module 1 and fingerprint acquisition module 2 described above) on the electronic device 100 may include devices such as silicon crystal sensors. The silicon crystal sensor comprises a plurality of detection points for collecting fingerprint images, and the area S of each detection point is the same. When a finger of a user touches the fingerprint acquisition module, the surface of the finger skin can be matched with detection points one by one to form a capacitor. Where the fingerprint surface is raised may be referred to as a "ridge" and where the fingerprint surface is recessed may be referred to as a "groove". The distance between the ridge and the capacitor at the ridge formed by the detection point is shorter than the distance between the trench and the capacitor at the trench formed by the detection point. Therefore, the capacitance of the capacitor at the ridge is larger than the capacitance of the capacitor at the trench. The fingerprint identification module can charge each detection point to a preset voltage value. Each detection point may then discharge at a specified current. The discharge at the detection point at the ridge is slower due to the high capacitance of the capacitor at the ridge. The capacitance of the capacitor at the trench is low and thus the discharge detected at the trench is faster. The fingerprint identification module can detect the discharge rate of each detection point, and detect the ridge and the groove of the fingerprint based on the discharge rate of each detection point to form a fingerprint image of the user.
Specifically, the electronic device 100 may detect an angle between the a-screen and the B-screen based on the gyro sensor. When the electronic device 100 determines that the included angle is less than or equal to the angle P1, the electronic device 100 determines that the folding screen is in the fully folded configuration. Specific implementations may be referred to in the description of the following embodiments and will not be described herein.
Then, as shown in fig. 6D, for example, taking the case that the folding screen of the electronic device 100 is in the fully folded configuration, the electronic device 100 may be provided with the fingerprint acquisition module 1 on the left side and the fingerprint acquisition module 2 on the right side. Wherein the fingerprint acquisition module 1 and the fingerprint acquisition module 2 may be symmetrically arranged and/or the distance between the fingerprint acquisition module 1 and the fingerprint acquisition module 2 is smaller than a first threshold (e.g. 0.3 mm, 0.5 mm, etc.) when the folding screen of the electronic device 100 is in the fully folded configuration. The fingerprint acquisition module 2 may be provided with a volume key on the top, on the basis of which the user can adjust the size of the sound play. As shown in fig. 6E, when a finger 1 designated by a user (may also be referred to as a first finger, and in the figure, a thumb of the right hand of the user is taken as an example) touches both the fingerprint acquisition module 1 and the fingerprint acquisition module 2, the fingerprint acquisition module 1 may acquire the fingerprint image 1 (may also be referred to as a first fingerprint image) based on a capacitive fingerprint recognition technology, and the fingerprint acquisition module 2 may acquire the fingerprint image 2 (may also be referred to as a second fingerprint image) based on a capacitive fingerprint recognition technology. For a specific implementation of the capacitive fingerprint identification technology, reference may be made to the foregoing description, and details are not repeated here. Here, the input in which the finger 1 designated by the user touches both the fingerprint acquisition module 1 and the fingerprint acquisition module 2 may be referred to as a first input.
In some examples, fingerprint acquisition module 1 and fingerprint acquisition module 2 may also acquire fingerprint image 1 and fingerprint image 2 based on ultrasonic fingerprint recognition technology, optical fingerprint recognition technology, or temperature differential sensing fingerprint recognition technology. That is, the present application is not limited as to how the fingerprint image 1 and the fingerprint image 2 are acquired.
In some examples, the fingerprint acquisition module 2 may be disposed above the volume key, the fingerprint acquisition module 1 and the fingerprint acquisition module 2 being symmetrically disposed, and/or the distance between the fingerprint acquisition module 1 and the fingerprint acquisition module 2 being less than a first threshold when the folding screen of the electronic device 100 is in the fully folded configuration. In other examples, as shown in fig. 6F, the fingerprint acquisition module 1 may be disposed in an area near the bottom on the left side, and the fingerprint acquisition module 2 may be disposed in an area near the bottom on the right side. The fingerprint acquisition module 1 and the fingerprint acquisition module 2 are symmetrically arranged and/or when the folding screen of the electronic device 100 is in a fully folded configuration, the distance between the fingerprint acquisition module 1 and the fingerprint acquisition module 2 is smaller than a first threshold. In still other examples, fingerprint acquisition module 1 may be disposed in the area of the left side near the top and fingerprint acquisition module 2 may be disposed in the area of the right side near the top. The fingerprint acquisition module 1 and the fingerprint acquisition module 2 are symmetrically arranged and/or when the folding screen of the electronic device 100 is in a fully folded configuration, the distance between the fingerprint acquisition module 1 and the fingerprint acquisition module 2 is smaller than a first threshold. That is, the fingerprint acquisition module 1 and the fingerprint acquisition module 2 are symmetrically arranged, and/or, when the folding screen of the electronic device 100 is in the fully folded configuration, the distance between the fingerprint acquisition module 1 and the fingerprint acquisition module 2 is smaller than the first threshold, and the specific position where the fingerprint acquisition module 1 and the fingerprint acquisition module 2 are arranged in the electronic device 100 is not limited by the embodiment of the present application.
S503, the electronic device 100 generates a stitched fingerprint image of the user based on the fingerprint image 1 and the fingerprint image 2.
Specifically, the electronic device 100 may stitch the fused fingerprint image 1 and the fingerprint image 2 to generate a stitched fingerprint image (may also be referred to as a third fingerprint image) of the user. Wherein the fingerprint image 1 is located in the left partial region of the stitched fingerprint image, and the fingerprint image 2 is located in the right partial region of the by-fingerprint image. The spliced fingerprint image of the user comprises fingerprint characteristic information 3, wherein the fingerprint characteristic information 3 consists of fingerprint characteristic information 1 and fingerprint characteristic information 2, the fingerprint characteristic information 1 is adjacent to the fingerprint characteristic information 2, and the fingerprint characteristic information 1 is arranged on the left side of the fingerprint characteristic information 2.
For example, as shown in fig. 6G, taking the example of fig. 6E as an example, the electronic device 100 may acquire the fingerprint image 1 and the fingerprint image 2 of the thumb of the right hand of the user through the fingerprint acquisition module 1 and the fingerprint acquisition module 2. The electronic device 100 may then stitch the fused fingerprint image 1 and the fingerprint image 2 to generate a stitched fingerprint image of the user's right thumb. The fingerprint characteristic information 1 and the fingerprint characteristic information 2 in the spliced fingerprint image are adjacent, and the fingerprint characteristic information 1 is arranged on the left side of the fingerprint characteristic information 2.
S504, the electronic device 100 matches the pre-stored fingerprint template 1 based on the spliced fingerprint image of the user.
Wherein the electronic device 100 may pre-store a fingerprint template 1 (which may also be referred to as a first fingerprint template) of the user. The fingerprint template 1 may comprise fingerprint feature information 4 (which may also be referred to as third fingerprint feature information) of the user-specified finger 1. The fingerprint feature information 4 may include, but is not limited to, the following feature information: node information of the fingerprint, endpoint information of the fingerprint, triangular point information of the fingerprint, and the like. The description of the above feature information may refer to the foregoing description. The fingerprint feature information 4 contains more feature information than the fingerprint feature information 1 and the fingerprint feature information 2.
In the following, taking the user interfaces of fig. 7A-7F as an example, the folding screen of the electronic device 100 is in a fully folded configuration, and specifically describes an implementation manner in which the electronic device 100 stores the fingerprint template of the user in advance.
As shown in fig. 7A, the electronic device 100 may display a desktop 30. The desktop 30 may display one or more application icons. The one or more application icons may include, among other things, a weather application icon, a stock application icon, a calculator application icon, a settings application icon 301, a mail application icon, a theme application icon, a calendar application icon, a video application icon, and the like. Optionally, desktop 30 may also display a status bar. The status bar may include, among other things, one or more signal strength indicators of a mobile communication signal (which may also be referred to as a cellular signal), a signal strength indicator of a wireless fidelity (wireless fidelity, wi-Fi) signal, a battery status indicator, a time indicator, and so forth.
The electronic device 100 may receive a touch operation (e.g., a click) on the set application icon 301. In response to the touch operation, the electronic device 100 may display a setting interface.
As shown in fig. 7B, the electronic device 100 may display the setting interface 31. The setup interface 31 may display a plurality of setup options, which may include an application setup option, a battery setup option, a storage setup option, a security setup option, a privacy setup option, a health use mobile phone setup option, a biometric and password setup option 311, an auxiliary function setup option, and the like.
The electronic device 100 may accept a touch operation (e.g., click) on the biometric and password setting option 311. In response to the touch operation, the electronic device 100 may display a biometric and password interface.
As shown in fig. 7C, the electronic device 100 may display the biometric and password setup interface 32. The biometric and password setup interface 32 may include a plurality of setup options that may include a fingerprint setup option 321, a face recognition setup option, a change lock screen password setup option, a close lock screen password setup option, and so forth.
The electronic device 100 may accept a touch operation (e.g., a click) on the fingerprint setting option 321. In response to the touch operation, the electronic device 100 may display a fingerprint setting interface.
As shown in fig. 7D, the electronic device 100 may display the fingerprint setting interface 33. The fingerprint settings interface 33 may include a plurality of settings options that may include an unlock device option, an access locker settings option, an access application lock settings option, and a new fingerprint option 331, among others.
The electronic device 100 may receive a touch operation (e.g., a click) on the new fingerprint option 331. In response to the touch operation, the electronic device 100 may display a fingerprint acquisition interface.
As shown in fig. 7E, the electronic device 100 may display the fingerprint acquisition interface 34. The fingerprint acquisition interface 34 includes a text prompt and a fingerprint acquisition prompt area 341. Wherein, the fingerprint collection prompting area 341 may be used to prompt the user electronic device 100 to collect the progress of fingerprint feature information. The text prompt message may be used to prompt the user to collect fingerprint feature information, so that the electronic device 100 generates the fingerprint template 1, and the specific content thereof may be, for example, "placing a finger" and "when the mobile phone is in a folded state," where a single finger presses both fingerprint collection modules on the side at the same time, and after sensing vibration, the fingerprint collection modules are removed, and this step is repeated.
As shown in fig. 7F, when the electronic device 100 receives a touch operation of the user's designated finger 1 on the fingerprint acquisition module 1 and the fingerprint acquisition module 2 at the same time or multiple times, the electronic device 100 may acquire and generate the fingerprint template 1 of the designated finger 1 based on the capacitive fingerprint recognition technology. The fingerprint template 1 comprises fingerprint feature information 4 specifying a finger 1, here exemplified by the thumb of the right hand of the user. After the electronic device 100 collects and generates the fingerprint template 1, the electronic device 100 may display the lighted fingerprint collection prompt area 341 on the screen. The manner in which the fingerprint template 1 is generated based on the capacitive fingerprint recognition technology may be referred to the foregoing description, and will not be described in detail herein.
Specifically, after the electronic device 100 acquires the fingerprint template 1 based on the previous steps, the present step may be performed based on the fingerprint template 1. The electronic device 100 may calculate the similarity of the stitched fingerprint image to the fingerprint template 1 based on the specified algorithm from the fingerprint feature information 3 in the stitched fingerprint image and the fingerprint feature information 4 in the fingerprint template 1. When the electronic device 100 determines that the above-mentioned similarity value is greater than or equal to the specified threshold value a (may also be referred to as a second threshold value, for example, 0.7, 0.8, etc.), the electronic device 100 determines that the stitched fingerprint image successfully matches the fingerprint template 1, the fingerprint feature information 4 in the fingerprint template 1 includes the fingerprint feature information 1 and the fingerprint feature information 2, and the fingerprint feature information 1 is adjacent to the fingerprint feature information 2 and on the left side of the fingerprint feature information 2. The electronic device 100 may perform subsequent steps. When the electronic device 100 determines that the similarity value is smaller than the specified threshold value a, the electronic device 100 determines that the spliced fingerprint image is not successfully matched with the fingerprint template 1, and terminates the process.
The specified algorithm may be, for example, a Hough transform-based matching algorithm, a string distance-based matching algorithm, and the like, which is not limited in the embodiment of the present application.
S505, when the electronic device 100 determines that the stitched fingerprint image of the user can be successfully matched with the fingerprint template 1, the electronic device 100 performs a device unlocking operation.
For example, taking the case that the folding screen of the electronic device 100 is in the fully folded configuration, when the electronic device 100 is in the locked state, the interface of the screen on the electronic device 100 may be a screen-off interface, or, as shown in fig. 6A or fig. 6B, the electronic device 100 may display an AOD interface or a screen-lock interface. After the electronic device 100 performs the procedure shown in the foregoing steps, the electronic device 100 determines that the stitched fingerprint image of the user can be successfully matched with the fingerprint template 1. Then, the electronic device 100 may perform a device unlocking operation to unlock the electronic device 100 such that the electronic device 100 is in an unlocked state. In the unlocked state, the electronic device 100 may provide functionality that may be performed by all of the electronic device 100.
As shown in fig. 7G, the electronic device 100 may display the desktop 30 based on the C-screen in the unlocked state. For the description of the desktop 30, reference may be made to the description of the foregoing embodiments, and the description is omitted herein.
It should be noted that, in this application scenario, the device unlock operation herein may be referred to as a first operation. Not limited to the device unlocking operation, the first operation performed by the electronic device 100 may also be other operations after the electronic device 100 performs S501-S505. The application is not limited in this regard.
In some examples, the electronic device 100 may not stitch and fuse the designated image 1 and the designated image 2, but match the fingerprint image 1 and the fingerprint image 2 with the fingerprint template 1, respectively. That is, after the electronic device 100 collects the fingerprint image 1 including the fingerprint feature information 1 and the fingerprint image 2 including the fingerprint feature information 2, the electronic device 100 may perform matching with the fingerprint template 1 based on the specified image 1 and match with the fingerprint template 1 based on the specified image 2. When the electronic device 100 determines that the designated image 1 is successfully matched with the fingerprint template 1, and that the designated image 2 is successfully matched with the fingerprint template 1, that is, when the fingerprint feature information 4 in the fingerprint template 1 includes the fingerprint feature information 1 and the fingerprint feature information 2, the electronic device 100 may perform the device unlocking operation (that is, the first operation). The specific implementation may refer to the foregoing flow, and will not be described herein.
Next, a specific flow of another fingerprint identification method provided by the embodiment of the present application is described.
In some application scenarios, the folding screen of the electronic device 100 may be in a semi-folded configuration or a fully unfolded configuration, and the electronic device 100 may be in a locked state. The electronic device 100 may implement the fingerprint identification method provided by the present application to unlock the device.
Referring to fig. 8, based on the application scenario, fig. 8 illustrates a specific flowchart of another fingerprint identification provided in an embodiment of the present application. As shown in fig. 8, taking an example in which the folding screen of the electronic device 100 is in a fully unfolded state, the specific flow of the method may include:
s801, the electronic apparatus 100 is in a locked state.
Specifically, in an embodiment of the present application, the electronic device 100 may have two states depending on whether it is locked. The specific description may refer to the foregoing description of the embodiment of fig. 5, and will not be repeated here.
For example, the electronic device 100 may display the interface 1 when the device is in a locked state. Interface 1 may be an AOD interface or, alternatively, a lock screen interface.
As shown in fig. 9A, when the folding screen of electronic device 100 is in the fully unfolded configuration, electronic device 100 may display AOD interface 22 based on the a-screen and the B-screen. For the description of the AOD interface 22, reference may be made to the foregoing description of the AOD interface 20, which is not repeated here.
As shown in fig. 9B, when the folding screen of the electronic device 100 is in the fully unfolded configuration, the electronic device 100 may display the lock screen interface 23 based on the a-screen and the B-screen. For the explanation of the screen lock interface 23, reference may be made to the foregoing description of the screen lock interface 21, which is not repeated here.
It should be noted that the above user interfaces are only used for exemplary explanation of the present application, and are not meant as limitations of the present application.
S802, when the electronic device 100 detects that the folding screen is in the fully unfolded state, the electronic device 100 collects a fingerprint image 3 of a user through the fingerprint collection module 1, and collects a fingerprint image 4 of the user through the fingerprint collection module 2.
The method for capturing the fingerprint image 3 and the fingerprint image 4 by the fingerprint capturing module 1 and the fingerprint capturing module 2 may refer to the description in S502 shown in fig. 5, and will not be described herein.
The fingerprint image 3 includes fingerprint feature information 5 (may also be referred to as fourth fingerprint feature information) of a specified finger 2 (may also be referred to as second finger) of the user, the fingerprint feature information 5 being part of the fingerprint feature information of the specified finger 2; the fingerprint image 4 includes fingerprint feature information 6 (which may also be referred to as fifth fingerprint feature information) of the specified finger 1 of the user, the fingerprint feature information 6 being part of the fingerprint feature information of the specified finger 1. For the descriptions of the fingerprint feature information 5 and the fingerprint feature information 6, reference may be made to the descriptions of the fingerprint feature information 1 and the fingerprint feature information 2 in S502 shown in fig. 5, which are not described herein.
Specifically, the electronic device 100 may detect an angle between the a-screen and the B-screen based on the gyro sensor. When the electronic device 100 determines that the included angle is greater than or equal to the angle P2, the electronic device 100 determines that the folding screen is in the fully unfolded configuration. Specific implementations may be referred to in the description of the following embodiments and will not be described herein.
Then, as shown in fig. 9C, for example, taking the fully unfolded state of the folding screen of the electronic device 100 as in the example of fig. 6D, the electronic device 100 is provided with the fingerprint acquisition module 1 on the left side and the fingerprint acquisition module 2 on the right side. When a user's designated finger 2 (here exemplified by the user's left thumb) touches the fingerprint acquisition module 1, the fingerprint acquisition module 1 may acquire a fingerprint image 3 based on capacitive fingerprint recognition technology. When a user's designated finger 1 (here exemplified by the thumb of the user's right hand) touches the fingerprint acquisition module 2, the fingerprint acquisition module 2 may acquire a fingerprint image 4 based on capacitive fingerprint recognition technology. For a specific implementation of the capacitive fingerprint identification technology, reference may be made to the foregoing description, and details are not repeated here. It should be noted that, the operation of touching the fingerprint acquisition module 1 with the finger 2 may be referred to as a second input, and the operation of touching the fingerprint acquisition module 2 with the finger 1 may be referred to as a third input.
In some examples, fingerprint acquisition module 1 and fingerprint acquisition module 2 may also acquire fingerprint image 3 and fingerprint image 4 based on ultrasonic fingerprint recognition technology, optical fingerprint recognition technology, or temperature differential sensing fingerprint recognition technology. That is, the present application is not limited as to how the fingerprint image 3 and the fingerprint image 4 are acquired.
It should be noted that, the fingerprint acquisition modules 1 and 2 are symmetrically arranged, and the specific positions are not limited in the embodiment of the present application.
S803, the electronic device 100 matches the pre-stored fingerprint template 2 based on the fingerprint image 3.
Wherein the electronic device 100 may pre-store a fingerprint template 2 (which may also be referred to as a second fingerprint template) of the user. The fingerprint template 2 is preset to be associated with the fingerprint acquisition module 1 when the folding screen of the electronic device 100 is in a semi-folded configuration or in a fully unfolded configuration. That is, when the folding screen of the electronic device 100 is in the semi-folded configuration or the fully unfolded configuration, the fingerprint image (e.g., fingerprint image 3) captured by the fingerprint capture module 1 is matched with the fingerprint template 2. The fingerprint template 2 may include fingerprint feature information 7 of the user-specified finger 2. The fingerprint feature information 7 may include, but is not limited to, the following feature information: node information of the fingerprint, endpoint information of the fingerprint, triangular point information of the fingerprint, and the like. The description of the above feature information may refer to the foregoing description.
The manner in which the electronic device 100 obtains and stores the fingerprint template 2 may refer to the description in S504 shown in fig. 5, which is not described herein.
Specifically, the electronic device 100 may calculate the similarity between the fingerprint image 3 and the fingerprint template 2 based on the specified algorithm according to the fingerprint feature information 5 in the fingerprint image 3 and the fingerprint feature information 7 in the fingerprint template 2. When the electronic device 100 determines that the value of the similarity is greater than or equal to the specified threshold a (for example, 0.7, 0.8, etc.), the electronic device 100 determines that the fingerprint image 3 is successfully matched with the fingerprint template 2, and the fingerprint feature information 7 in the fingerprint template 2 includes the fingerprint feature information 5. When the electronic device 100 determines that the similarity value is smaller than the specified threshold value a, the electronic device 100 determines that the fingerprint image 3 is not successfully matched with the fingerprint template 2, and terminates the process.
The specified algorithm may be, for example, a Hough transform-based matching algorithm, a string distance-based matching algorithm, and the like, which is not limited in the embodiment of the present application. The specific implementation manner of the electronic device 100 based on the gyroscope sensor to detect the angle between the a screen and the B screen will be described in detail in the following embodiments, which will not be described herein.
S804, the electronic device 100 matches the pre-stored fingerprint template 1 based on the fingerprint image 4.
The description of the fingerprint template 1 and the manner in which the electronic device 100 obtains and stores the fingerprint template 1 may refer to the description in S504 shown in fig. 5, which is not described herein. The fingerprint template 1 is preset in association with the fingerprint acquisition module 2 when the folding screen of the electronic device 100 is in a semi-folded configuration or in a fully unfolded configuration. That is, when the folding screen of the electronic device 100 is in the semi-folded configuration or the fully unfolded configuration, the fingerprint image (e.g., the fingerprint image 4) acquired by the fingerprint acquisition module 2 is matched with the fingerprint template 1.
Specifically, the electronic device 100 may calculate the similarity between the fingerprint image 4 and the fingerprint template 1 based on the specified algorithm according to the fingerprint feature information 6 in the fingerprint image 4 and the fingerprint feature information 4 in the fingerprint template 1. When the electronic device 100 determines that the value of the similarity is greater than or equal to the specified threshold a (for example, 0.7, 0.8, etc.), the electronic device 100 determines that the fingerprint image 4 is successfully matched with the fingerprint template 1, and the fingerprint feature information 4 of the fingerprint template 1 includes the fingerprint feature information 6. When the electronic device 100 determines that the similarity value is smaller than the specified threshold value a, the electronic device 100 determines that the fingerprint image 4 is not successfully matched with the fingerprint template 1, and terminates the process.
The specified algorithm may be, for example, a Hough transform-based matching algorithm, a string distance-based matching algorithm, and the like, which is not limited in the embodiment of the present application.
S805, when the electronic device 100 determines that the fingerprint image 3 is successfully matched with the fingerprint template 2, the electronic device 100 performs a device unlocking operation when the fingerprint image 4 is successfully matched with the fingerprint template 2.
For example, taking the case that the folding screen of the electronic device 100 is in the fully unfolded state, when the electronic device 100 is in the locked state, the interface of the screen on the electronic device 100 may be a screen-off interface, or, as shown in fig. 9A or 9B, the electronic device 100 may display an AOD interface or a screen-lock interface, where the electronic device 100 is in the locked state. After the electronic device 100 performs the procedure shown in the foregoing steps, as shown in fig. 9D, the electronic device 100 determines that the fingerprint image 3 successfully matches the fingerprint template 2, and that the fingerprint image 4 successfully matches the fingerprint template 2. Then, the electronic device 100 may perform a device unlocking operation to unlock the electronic device 100 such that the electronic device 100 is in an unlocked state. In the unlocked state, the electronic device 100 may provide functionality that may be performed by all of the electronic device 100.
As shown in fig. 9E, taking an example in which the folding screen of the electronic device 100 is in the fully unfolded state, the electronic device 100 may display the desktop 30 based on the a screen and the B screen in the unlocked state of the electronic device 100. For the description of the desktop 30, reference may be made to the description of the foregoing embodiments, and the description is omitted herein.
It should be noted that, in this application scenario, the device unlock operation herein may be referred to as a second operation. Not limited to the device unlocking operation, the second operation performed by the electronic device 100 may also be other operations after the electronic device 100 performs S801 to S805. The application is not limited in this regard.
In some examples, the second operation may also be a payment operation. That is, when the folding screen of the electronic device 100 is not in the fully folded configuration (i.e., in the semi-folded or fully unfolded configuration), the electronic device 100 may perform the second operation, i.e., display the payment two-dimensional code based on the a-screen and the B-screen after performing S801-S805, so that the user may perform the payment operation based on the payment two-dimensional code. The second operation may be other operations, not limited to the device unlocking operation and the payment operation, and the present application is not limited thereto.
In some application scenarios, when the folding screen of the electronic device 100 is in the fully folded configuration, the electronic device 100 may acquire the fingerprint image 5 of the user-specified finger 1 through the fingerprint acquisition module 1. The fingerprint image 5 may comprise fingerprint information 8 (which may also be referred to as sixth fingerprint information) of a specified finger 1 of the user. The fingerprint feature information 8 specifies part of the fingerprint feature information of the finger 1 for the user. For specific description reference is made to the description in the foregoing flow. When the electronic device 100 detects that the folding screen is in the fully folded configuration, the electronic device 100 may match the fingerprint image 5 with the fingerprint template 1. When the fingerprint image 5 and the fingerprint template 1 are successfully matched, i.e. the fingerprint information 8 is included in the fingerprint information 4 of the fingerprint template 1, the electronic device 100 may perform a corresponding third operation. The specific implementation may refer to the steps in the foregoing embodiments, which are not described herein.
For example, as shown in fig. 10A, when the electronic device 100 detects that a finger 1 designated by a user (here, a thumb of the right hand of the user is taken as an example) touches the fingerprint acquisition module 1 on the left side, the electronic device 100 may acquire a fingerprint image 5 of the user based on the fingerprint acquisition module 1. The fingerprint image 5 may comprise fingerprint feature information 8 of the thumb of the right hand of the user. The fingerprint feature information 8 is part of the fingerprint feature information of the thumb of the right hand of the user. When the electronic device 100 detects that the folding screen is in the fully folded configuration, the electronic device 100 may match the fingerprint image 5 with the fingerprint template 1. When the fingerprint image 5 and the fingerprint template 1 are successfully matched, the electronic device 100 may perform a third operation, i.e., display a payment two-dimensional code. At this time, the electronic device 100 may display the user interface 35 based on the C-screen. The user interface 35 may display a page title, a return control 351, and a payment two-dimensional code 352. The page title may be, among other things, a text prompt, such as "pay merchant". The return control 351 may be used to receive a touch operation (e.g., a click) acted upon by the user, such that the electronic device 100 returns to the previous level page in response to the touch operation.
It should be noted that the above-mentioned user interfaces are only used for exemplary explanation of the embodiments of the present application, and do not limit the present application in any way. The third operation may be other operations not limited to displaying the payment two-dimensional code, and the present application is not limited.
In some application scenarios, when the folding screen of the electronic device 100 is in the fully folded configuration, the electronic device 100 may acquire the fingerprint image 6 of the user-specified finger 1 through the fingerprint acquisition module 2. The fingerprint image 6 may comprise fingerprint information 9 (which may also be referred to as seventh fingerprint information) of a specified finger 1 of the user. The fingerprint feature information 9 specifies part of the fingerprint feature information of the finger 1 for the user. For specific description reference is made to the description in the foregoing flow. When the electronic device 100 detects that the folding screen is in the fully folded configuration, the electronic device 100 may match the fingerprint image 6 with the fingerprint template 1. When the fingerprint image 6 and the fingerprint template 1 are successfully matched, i.e. the fingerprint information 9 is included in the fingerprint information 4 of the fingerprint template 1, the electronic device 100 may perform a corresponding fourth operation. The specific implementation may refer to the steps in the foregoing embodiments, which are not described herein.
For example, as shown in fig. 10B, when the electronic device 100 detects that a finger 1 designated by a user (here, a thumb of the right hand of the user is taken as an example) touches the fingerprint acquisition module 2 on the right side, the electronic device 100 may acquire a fingerprint image 6 of the user based on the fingerprint acquisition module 2. The fingerprint image 6 may comprise fingerprint feature information 9 of the thumb of the right hand of the user. The fingerprint feature information 9 is part of the fingerprint feature information of the thumb of the right hand of the user. When the electronic device 100 detects that the folding screen is in the fully folded configuration, the electronic device 100 may match the fingerprint image 6 with the fingerprint template 1. When the fingerprint image 6 and the fingerprint template 1 are successfully matched, the electronic device 100 may perform a fourth operation, i.e. a swipe interface is displayed. As shown in fig. 10B, the electronic device 100 may display the user interface 36 based on a C-screen. The user interface 36 is a swipe interface, including a scan window 362. The scanning window 362 may be used to scan the two-dimensional code, and read and display information contained in the two-dimensional code. The scanning window 362 may be used to scan and identify animals, and/or plants, and/or merchandise, etc., without limitation to two-dimensional codes.
It should be noted that the above-mentioned user interfaces are only used for exemplary explanation of the embodiments of the present application, and do not limit the present application in any way. The fourth operation may be other operations not limited to displaying a swipe interface, and the present application is not limited.
In some application scenarios, when the folding screen of the electronic device 100 is in the semi-folded configuration or the fully unfolded configuration, and the electronic device 100 is in the locked configuration, the electronic device 100 may perform the corresponding second operation based on the fingerprint image acquired by the fingerprint acquisition module 1 or the fingerprint image acquired by the fingerprint acquisition module 2.
Illustratively, as shown in (a) in fig. 10C, the second operation is an example of the device unlocking operation. When the electronic device 100 detects that the folding screen is in the fully unfolded configuration, the electronic device 100 may acquire a fingerprint image 3 of a user-specified finger 2 (here, the left thumb of the user is taken as an example) based on the fingerprint acquisition module 1. The fingerprint image 3 includes fingerprint feature information 5 of a specified finger 2 of the user, the fingerprint feature information 5 being part of the fingerprint feature information of the specified finger 2. For specific description reference is made to the description in the foregoing flow. When the electronic device 100 determines that the fingerprint image 3 is successfully matched with the fingerprint template 2, that is, the fingerprint feature information 7 in the fingerprint template 2 includes the fingerprint feature information 5, the electronic device 100 may perform a device unlocking operation. Reference may be made to the foregoing descriptions for specific implementation, and details are not repeated here.
Illustratively, as shown in (b) in fig. 10C, the second operation is an example of the device unlocking operation. When the electronic device 100 detects that the folding screen is in the fully unfolded configuration, the electronic device 100 may acquire a fingerprint image 4 of the user-specified finger 1 (here, the user's right thumb is taken as an example) based on the fingerprint acquisition module 2. The fingerprint image 4 includes fingerprint feature information 6 of the specified finger 1 of the user, the fingerprint feature information 6 being part of the fingerprint feature information of the specified finger 1. For specific description reference is made to the description in the foregoing flow. When the electronic device 100 determines that the fingerprint image 4 is successfully matched with the fingerprint template 1, that is, the fingerprint feature information 4 in the fingerprint template 1 includes the fingerprint feature information 6, the electronic device 100 may perform a device unlocking operation. Reference may be made to the foregoing descriptions for specific implementation, and details are not repeated here.
In some application scenarios, the electronic device 100 may detect that the finger of the user touches the fingerprint acquisition module 1 for a period of time of 1. The electronic device 100 can determine whether the duration 1 is greater than a specified duration threshold (e.g., 1 second, 1.5 seconds, etc.). If the electronic device 100 determines that the duration 1 is greater than the specified duration threshold, the electronic device 100 may perform a corresponding fifth operation. Similarly, the electronic device 100 may detect that the finger of the user touches the fingerprint acquisition module 2 for a period of time of 2. The electronic device 100 can determine whether the duration 2 is greater than a specified duration threshold. If the electronic device 100 determines that the duration 2 is greater than the specified duration threshold, the electronic device 100 may perform a corresponding sixth operation.
Illustratively, as shown in (a) of fig. 10D, taking an example that the fifth operation is an operation of increasing the volume, the folding screen of the electronic apparatus 100 is in a fully folded configuration. The electronic device 100 may detect that the finger of the user touches the fingerprint acquisition module 1 for a period of time 1. The electronic device 100 can determine whether the duration 1 is greater than a specified duration threshold. If the electronic device 100 determines that the duration 1 is greater than the specified duration threshold, the electronic device 100 may perform a corresponding fifth operation to increase the volume.
Illustratively, as shown in (b) of fig. 10D, taking an example that the sixth operation is a volume-reducing operation, the folding screen of the electronic apparatus 100 is in a fully folded configuration. The electronic device 100 may detect that the finger of the user touches the fingerprint acquisition module 2 for a period of time of 2. The electronic device 100 can determine whether the duration 2 is greater than a specified duration threshold. If the electronic device 100 determines that the duration 2 is greater than the specified duration threshold, the electronic device 100 may perform a corresponding sixth operation to reduce the volume.
Next, a hardware structure of the electronic device 100 provided in the embodiment of the present application will be described
Referring to fig. 11A, fig. 11A schematically illustrates a hardware structure of an electronic device 100 according to an embodiment of the present application.
As shown in fig. 11A, the electronic device 100 may include a processor 401, a memory 402, a wireless communication module 403, a display 404, a sensor module 405, an audio module 406, and a microphone 407.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may also include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 401 may include one or more processor units, for example, the processor 401 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 401 for storing instructions and data. In some embodiments, the memory in the processor 401 is a cache memory. The memory may hold instructions or data that has just been used or recycled by the processor 401. If the processor 401 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 401 is reduced, thus improving the efficiency of the system.
In some embodiments, the processor 401 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a USB interface, among others.
A memory 402 is coupled to the processor 401 for storing various software programs and/or sets of instructions. In particular implementations, memory 402 may include volatile memory (RAM), such as Random Access Memory (RAM); non-volatile memory (non-volatile memory) such as ROM, flash memory (flash memory), hard Disk Drive (HDD) or solid state Disk (Solid State Drives, SSD) may also be included; memory 402 may also include a combination of the above types of memory. The memory 402 may also store some program code such that the processor 401 invokes the program code stored in the memory 402 to implement a method of implementing an embodiment of the present application in the electronic device 100. The memory 402 may store an operating system, such as an embedded operating system, for example uCOS, vxWorks, RTLinux.
The wireless communication module 403 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the electronic device 100. The wireless communication module 403 may be one or more devices integrating at least one communication processing module. The wireless communication module 403 receives electromagnetic waves via an antenna, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 401. The wireless communication module 403 may also receive a signal to be transmitted from the processor 401, frequency modulate and amplify the signal, and convert the signal to electromagnetic waves through an antenna to radiate. In some embodiments, the electronic device 100 may also detect or scan devices in the vicinity of the electronic device 100 by transmitting signals through a bluetooth module (not shown in fig. 11A), a WLAN module (not shown in fig. 11A) in the wireless communication module 403, and establish a wireless communication connection with the nearby devices to transmit data. The bluetooth module may provide a solution including one or more bluetooth communications of classical bluetooth (BR/EDR) or bluetooth low energy (bluetooth low energy, BLE), and the WLAN module may provide a solution including one or more WLAN communications of Wi-Fi direct, wi-Fi LAN, or Wi-Fi softAP, among others.
The display 404 may be used to display images, video, etc. The display 404 may include a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, electronic device 100 may include 1 or N displays 404, N being a positive integer greater than 1.
The sensor module 405 may include a plurality of sensing devices, such as a fingerprint sensor 405A and a gyro sensor 405B. The fingerprint sensor 405A may be used to capture a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc. For specific implementation, reference may be made to the foregoing flow, which is not described herein.
The gyro sensor 405B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 405B. The gyro sensor 405B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 405B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 405B may also be used for navigation, somatosensory of a game scene.
In an embodiment of the present application, the display 404 of the electronic device 100 may be folded to form multiple screens. A gyro sensor 405B may be provided in the plurality of screens for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen. The electronic device 100 may determine the angle between adjacent screens (e.g., the angle between the a screen and the B screen) according to the change of the orientation angle of each screen measured by the gyro sensor 405B, so as to determine the form of the folded screen (e.g., the fully folded form, the semi-folded form, and the fully unfolded form) of the electronic device 100.
It should be noted that, in the embodiment of the present application, the folding screen (such as the display screen 404 described above) of the electronic device 100 may be folded to form a plurality of screens. A gyroscopic sensor (such as gyroscopic sensor 405B described above) may be included in each screen for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen. For example, in conjunction with fig. 1, 2, or 3, the display 404 of the electronic device 100 may be folded to form an a-screen (i.e., a first screen) and a B-screen (i.e., a second screen), and the a-screen and the B-screen each include a gyro sensor 405B for measuring the orientation of the a-screen and the B-screen, respectively. The electronic device 100 may determine the included angle between adjacent screens and the angular relationship between each screen and the horizontal plane according to the measured angular change of the orientation of each screen.
Illustratively, the folding screen of the electronic device 100 may be folded to form the A-screen and the B-screen shown in FIG. 11B. The screen A is provided with a gyroscope sensor A, and the screen B is provided with a gyroscope sensor B. Here, a principle that the gyro sensor a measures the orientation of the a-screen (i.e., the direction vector of the orientation), the gyro sensor B measures the orientation of the B-screen (i.e., the direction vector of the orientation), and a principle that the electronic apparatus 100 calculates the angle α between the a-screen and the B-screen from the orientation of the a-screen and the orientation of the B-screen will be described.
Wherein the coordinate system of the gyro sensor is a geographical coordinate system. As shown in fig. 11C, the origin O of the geographic coordinate system is at the point where the vehicle (i.e., the device containing the gyroscopic sensor, such as electronic device 100) is located, the X-axis is directed east (E) along the local latitude line, the Y-axis is directed north (N) along the local meridian line, and the Z-axis is directed upward along the local geographic perpendicular line, and forms a right-hand rectangular coordinate system with the X-axis and the Y-axis. The plane formed by the X axis and the Y axis is a local horizontal plane, and the plane formed by the Y axis and the Z axis is a local meridian plane. Thus, it can be appreciated that the coordinate system of the gyroscopic sensor is: the gyroscope sensor is taken as an origin O, an X axis along the eastern direction of a local weft line, a Y axis along the north direction of a local meridian line and a Z axis along the upward direction of a local geographic perpendicular line (namely, the direction of the geographic perpendicular line).
The electronic device 100 can measure a direction vector oriented in a coordinate system of the gyro sensor provided in each screen using the gyro sensor provided in each screen. For example, referring to a side view of the electronic apparatus 100 as shown in fig. 11B, the electronic apparatus 100 measures a direction vector in which the a-screen is oriented in the coordinate system of the gyro sensor a as a vectorThe direction vector of the orientation of the B-screen in the coordinate system of the gyro sensor B is vector +.>The electronic device 100 can calculate the vector +_ using the following formula (1)>Vector->Included angle θ:
as can be seen from FIG. 11B, the vectorPerpendicular to A-screen, vector->Perpendicular to the B screen, so that an included angle alpha=180-theta between the A screen and the B screen can be obtained. That is, the electronic device 100 can determine the direction vector (i.e., vector +.>) And a direction vector of the orientation of the B-screen in the coordinate system of the gyro sensor B (i.e., vector +.>) And determining an included angle alpha between the screen A and the screen B.
Note that, although the positions of the gyro sensors provided in the a-screen and the B-screen do not overlap, that is, the origins of the coordinate systems of the gyro sensors of the a-screen and the B-screen do not overlap, the X-axis, the Y-axis, and the Z-axis of the two coordinate systems are parallel, so that the coordinate systems of the gyro sensors provided in the a-screen and the B-screen can be considered to be parallel. Thus, although the vector Sum vector->Not in the same coordinate system, but because the axes of the two coordinate systems are parallel, the vector +_ can still be calculated by equation (1) above>Vector->And an included angle theta.
In some embodiments, there may be other sensor or sensors cooperating to measure the angle α between the a and B panels. For example, one acceleration sensor may be provided in each of the folding screens. The electronic device 100 (e.g., the processor 401) may measure the motion acceleration of each screen as it is rotated using an acceleration sensor; and then calculating the rotation angle of one screen relative to the other screen according to the measured motion acceleration, namely the included angle alpha between the screen A and the screen B.
In other embodiments, the gyro sensor may be a virtual gyro sensor formed by matching a plurality of other sensors, where the virtual gyro sensor may be used to calculate an angle between adjacent screens of the folding screen, that is, an angle α between the screen a and the screen B.
In other embodiments, the angle sensor is mounted at a folding portion (e.g., on a rotating shaft) of the folding line of the electronic device 100, and the electronic device 100 may measure the included angle α formed by the a-screen and the B-screen through the angle sensor disposed at the folding portion of the folding screen.
The sensor module 405 may also include a touch sensor (not shown). Touch sensors may also be referred to as "touch devices". The touch sensor may be disposed on the display screen 404, and the touch sensor and the display screen 404 form a touch screen, which is also referred to as a "touch screen". The touch sensor may be used to detect touch operations acting on or near it.
The audio module 406 may be used to convert digital audio information to an analog audio signal output, and may also be used to convert an analog audio input to a digital audio signal. The audio module 406 may also be used to encode and decode audio signals. In some embodiments, the audio module 406 may also be provided in the processor 401, or part of the functional modules of the audio module 406 may be provided in the processor 401.
The microphone 407, which may also be referred to as a "microphone" or "microphone", may be used to collect a sound signal in the environment surrounding the electronic device, then convert the sound signal into an electrical signal, and then subject the electrical signal to a series of processes, such as analog-to-digital conversion, to obtain an audio signal in a digital form that may be processed by the processor 401 of the electronic device. When making a call or transmitting voice information, the user can sound near the microphone 407 through the mouth, inputting a sound signal to the microphone 407. The electronic device 100 may be provided with at least one microphone 407. In other embodiments, the electronic device 100 may be provided with two microphones 407, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 407 to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
Note that, the electronic device 100 shown in fig. 11A is merely for exemplarily explaining a hardware structure of the electronic device provided by the present application, and does not impose a specific limitation on the present application.
The software modules of the electronic device 100 according to the embodiment of the present application are described below
Referring to fig. 12, fig. 12 is a schematic diagram illustrating software modules of an electronic device 100 according to an embodiment of the application.
As shown in fig. 12, the electronic device 100 may include: a storage module 501, a fingerprint acquisition module 502, a fingerprint matching module 503, an instruction execution module 504, and the like. Wherein:
the storage module 501 may be used to store fingerprint template 1 and fingerprint template 2. The memory module 501 may also store program codes to implement the method of the embodiment of the present application in an electronic device. Specific implementation may refer to the steps shown in the flowchart of fig. 5, and will not be described herein.
The fingerprint acquisition template 502 may be used to acquire fingerprint images of a user's finger (e.g., a designated finger 1 and a designated finger 2) through the fingerprint acquisition module 1 and the fingerprint acquisition module 2. Specific implementation may refer to the steps shown in the flowchart of fig. 5, and will not be described herein.
The fingerprint matching template 503 may be used to match the collected fingerprint image of the user with a corresponding fingerprint template based on the folding form of the folding screen of the electronic device 100, and determine whether the matching is successful. Specific implementation may refer to the steps shown in the flowchart of fig. 5, and will not be described herein.
The instruction execution module 504 may be configured to execute the corresponding first operation by the electronic device 100 after the acquired fingerprint image of the user is successfully matched with the corresponding fingerprint template. Specific implementation may refer to the steps shown in the flowchart of fig. 5, and will not be described herein.
As used in the above embodiments, the term "when …" may be interpreted to mean "if …" or "after …" or "in response to determination …" or "in response to detection …" depending on the context. Similarly, the phrase "at the time of determination …" or "if detected (a stated condition or event)" may be interpreted to mean "if determined …" or "in response to determination …" or "at the time of detection (a stated condition or event)" or "in response to detection (a stated condition or event)" depending on the context.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: ROM or random access memory RAM, magnetic or optical disk, etc.

Claims (9)

1. The utility model provides a fingerprint identification method, the method is applied to electronic equipment, electronic equipment includes folding screen, first fingerprint collection module and second fingerprint collection module, first fingerprint collection module set up in the left side of electronic equipment, second fingerprint collection module set up in the right side of electronic equipment, when the folding screen of electronic equipment is in the complete folding form, first fingerprint collection module with the distance of second fingerprint collection module is less than first threshold value, its characterized in that, the method includes:
the electronic equipment is in a locking state;
when the electronic equipment detects that the folding screen is in a fully folded state, the electronic equipment receives a first input that a first finger of a user touches the first fingerprint acquisition module and the second fingerprint acquisition module;
Responding to the first input, the electronic equipment acquires a first fingerprint image of the first finger through the first fingerprint acquisition module and acquires a second fingerprint image of the first finger through the second fingerprint acquisition module, wherein the first fingerprint image is different from the second fingerprint image, the first fingerprint image comprises first fingerprint characteristic information, and the second fingerprint image comprises second fingerprint characteristic information;
the electronic equipment generates a third fingerprint image based on the first fingerprint image and the second fingerprint image in a splicing way;
the electronic equipment calculates the similarity between the third fingerprint image and the first fingerprint template based on the first fingerprint characteristic information, the second fingerprint characteristic information and third fingerprint characteristic information included in a preset first fingerprint template;
when the value of the similarity is greater than or equal to a second threshold value, the electronic equipment determines that the third fingerprint feature information comprises the first fingerprint feature information and the second fingerprint feature information;
and the electronic equipment executes a first operation and unlocks the electronic equipment.
2. The method according to claim 1, wherein the method further comprises:
The electronic equipment is in a locking state;
when the electronic equipment detects that the folding screen is in a fully unfolded state, the electronic equipment receives a second input that a second finger of a user touches the first fingerprint acquisition module, and the first finger touches a third input of the second fingerprint acquisition module;
in response to the second input, the electronic device collects fourth fingerprint feature information of the second finger through the first fingerprint collection module, and in response to the third input, the electronic device collects fifth fingerprint feature information of the first finger through the second fingerprint collection module;
when the electronic equipment determines that the first fingerprint template comprises the fifth fingerprint feature information and the preset second fingerprint template comprises the fourth fingerprint feature information, the electronic equipment executes a second operation to unlock the electronic equipment.
3. The method according to claim 1, wherein the method further comprises:
the electronic equipment collects sixth fingerprint characteristic information of the first finger based on the first fingerprint collection module;
and when the electronic equipment determines that the sixth fingerprint characteristic information is included in the first fingerprint template, the electronic equipment executes a third operation.
4. The method according to claim 1, wherein the method further comprises:
the electronic equipment collects seventh fingerprint characteristic information of the first finger based on the second fingerprint collection module;
and when the electronic equipment determines that the seventh fingerprint feature information is included in the first fingerprint template, the electronic equipment executes a fourth operation.
5. A method according to claim 3, wherein the third operation is:
the electronic device displays a payment two-dimensional code.
6. The method of claim 4, wherein the fourth operation is:
the electronic equipment displays a scanning interface which is used for scanning the two-dimensional code and reading and displaying information contained in the two-dimensional code.
7. An electronic device, comprising: one or more processors, one or more memories, and a display screen; the one or more memories are coupled with one or more processors, the one or more memories being configured to store computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-6.
8. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-6.
9. A chip or chip system comprising processing circuitry and interface circuitry, the interface circuitry to receive code instructions and to transmit to the processing circuitry, the processing circuitry to execute the code instructions to perform the method of any of claims 1-6.
CN202210841793.4A 2022-07-18 2022-07-18 Fingerprint identification method and electronic equipment Active CN116052224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210841793.4A CN116052224B (en) 2022-07-18 2022-07-18 Fingerprint identification method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210841793.4A CN116052224B (en) 2022-07-18 2022-07-18 Fingerprint identification method and electronic equipment

Publications (2)

Publication Number Publication Date
CN116052224A CN116052224A (en) 2023-05-02
CN116052224B true CN116052224B (en) 2023-10-20

Family

ID=86112013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210841793.4A Active CN116052224B (en) 2022-07-18 2022-07-18 Fingerprint identification method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116052224B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563174A (en) * 2017-10-19 2018-01-09 广东欧珀移动通信有限公司 A kind of method and apparatus of fingerprint recognition
CN109241899A (en) * 2018-08-29 2019-01-18 Oppo(重庆)智能科技有限公司 Fingerprint identification method and relevant apparatus
CN110232266A (en) * 2019-04-25 2019-09-13 维沃移动通信有限公司 A kind of unlocking screen method and terminal device
CN110673783A (en) * 2019-08-29 2020-01-10 华为技术有限公司 Touch control method and electronic equipment
CN111444874A (en) * 2020-04-07 2020-07-24 维沃移动通信有限公司 Fingerprint module control method and electronic equipment
WO2020191596A1 (en) * 2019-03-25 2020-10-01 深圳市汇顶科技股份有限公司 Fingerprint recognition apparatus and electronic device
CN114491457A (en) * 2020-11-13 2022-05-13 北京小米移动软件有限公司 Display control method, device, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563174A (en) * 2017-10-19 2018-01-09 广东欧珀移动通信有限公司 A kind of method and apparatus of fingerprint recognition
CN109241899A (en) * 2018-08-29 2019-01-18 Oppo(重庆)智能科技有限公司 Fingerprint identification method and relevant apparatus
WO2020191596A1 (en) * 2019-03-25 2020-10-01 深圳市汇顶科技股份有限公司 Fingerprint recognition apparatus and electronic device
CN110232266A (en) * 2019-04-25 2019-09-13 维沃移动通信有限公司 A kind of unlocking screen method and terminal device
CN110673783A (en) * 2019-08-29 2020-01-10 华为技术有限公司 Touch control method and electronic equipment
CN111444874A (en) * 2020-04-07 2020-07-24 维沃移动通信有限公司 Fingerprint module control method and electronic equipment
CN114491457A (en) * 2020-11-13 2022-05-13 北京小米移动软件有限公司 Display control method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN116052224A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
US11630577B2 (en) Screen display control method and electronic device
EP4084450B1 (en) Display method for foldable screen, and related apparatus
US20220413553A1 (en) Display method for foldable screen and related apparatus
US10394371B2 (en) Method for controlling content and electronic device thereof
US20170220186A1 (en) Dynamic hover sensitivity and gesture adaptation in a dual display system
CN110620833B (en) Display method of foldable electronic equipment and electronic equipment
WO2020168976A1 (en) Method for always on display, and electronic device
KR20160012779A (en) Mobile terminal and control method thereof
CN112506386A (en) Display method of folding screen and electronic equipment
KR20140095635A (en) A cover,an electronic device using the same and operating method thereof
CN110059686B (en) Character recognition method, device, equipment and readable storage medium
CN110543287A (en) Screen display method and electronic equipment
US11257439B2 (en) Data transmission method and device, display screen, and display device
CN110211202B (en) Fold line drawing method and device, electronic equipment and storage medium
WO2024001506A1 (en) Display method and electronic device
CN114174954A (en) Foldable electronic device changing its form according to event and method for changing form of foldable electronic device
US20230026952A1 (en) Method for determining user authentication scheme of electronic device, and electronic device therefor
CN116052224B (en) Fingerprint identification method and electronic equipment
CN110163192B (en) Character recognition method, device and readable medium
WO2023116414A1 (en) Multi-screen unlocking method and electronic device
WO2022183915A1 (en) Payment method and apparatus for mobile terminal, and storage medium and mobile terminal
CN111047328A (en) Mobile payment method, device, system and storage medium
CN111061918B (en) Graph data processing method, device and storage medium
CN116704560A (en) Fingerprint identification method and electronic equipment
CN112135256A (en) Method, device and equipment for determining movement track and readable storage medium

Legal Events

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