WO2019047739A1 - Fingerprint recognition function enabling method and apparatus, and terminal and storage medium - Google Patents

Fingerprint recognition function enabling method and apparatus, and terminal and storage medium Download PDF

Info

Publication number
WO2019047739A1
WO2019047739A1 PCT/CN2018/102501 CN2018102501W WO2019047739A1 WO 2019047739 A1 WO2019047739 A1 WO 2019047739A1 CN 2018102501 W CN2018102501 W CN 2018102501W WO 2019047739 A1 WO2019047739 A1 WO 2019047739A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
terminal
area
touch operation
holding
Prior art date
Application number
PCT/CN2018/102501
Other languages
French (fr)
Chinese (zh)
Inventor
米岚
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019047739A1 publication Critical patent/WO2019047739A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of terminal technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for opening a fingerprint identification function.
  • Fingerprint recognition is the process of completing identity authentication by collecting fingerprints and comparing them with preset fingerprints.
  • a fingerprint entry interface is set in the application on the terminal, and the fingerprint input interface can be opened and a fingerprint is entered in the fingerprint input interface to perform fingerprint recognition.
  • a fingerprint can be entered in the payment interface to complete the fingerprint payment, and the fingerprint can be entered in the unlock interface of any function to complete the fingerprint unlocking.
  • the fingerprint recognition function of the terminal needs to be fingerprinted in a specific area, and with the appearance of full-screen fingerprint recognition technology, it is now possible to collect and recognize the fingerprint in any area of the terminal screen.
  • the embodiment of the present application provides a method, an apparatus, a terminal, and a storage medium for opening a fingerprint identification function.
  • the technical solution is as follows:
  • a fingerprint identification function opening method which is applied to a terminal, and a fingerprint identification module is disposed under the touch display screen of the terminal, and the method includes:
  • the fingerprint recognition function of the touch landing area corresponding to the holding gesture is turned on.
  • the second aspect provides a fingerprint recognition function opening device, which is applied to a terminal, and a fingerprint identification module is disposed under the touch display screen of the terminal, and the device includes:
  • An operation detecting module for detecting a holding operation
  • a determining module configured to determine a holding gesture of the holding operation, and predict a touch landing area corresponding to the holding gesture
  • the module is opened for opening a fingerprint recognition function of the touch landing area corresponding to the holding gesture.
  • a third aspect provides a terminal, comprising: a processor; a memory for storing a computer program; wherein the processor is configured to execute a computer program stored on the memory, and the method of any one of the first aspects is implemented step.
  • a fourth aspect provides a computer readable storage medium having stored therein a computer program, the computer program being executed by a processor to implement the method steps of any of the first aspects.
  • the present invention predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the grip operation is detected by the terminal, so that only the fingerprint recognition function of the touch drop area is turned on, thereby effectively preventing the full screen from being opened.
  • the problem of large power consumption caused by the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
  • FIG. 1 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an interface of a touch landing area provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a fingerprint recognition function opening device according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a fingerprint recognition function opening apparatus according to an embodiment of the present application.
  • FIG. 6 is a structural block diagram of a terminal 500 according to an embodiment of the present application.
  • FIG. 7 is a structural block diagram of a terminal 500 according to an embodiment of the present application.
  • FIG. 8A is a schematic diagram of a full screen provided by an embodiment of the present application.
  • FIG. 8B is a schematic diagram of a curved screen provided by an embodiment of the present application.
  • FIG. 8C is a schematic diagram of a shaped screen provided by an embodiment of the present application.
  • 8D is a schematic diagram of a shaped screen provided by an embodiment of the present application.
  • 8E is a schematic diagram of a shaped screen provided by an embodiment of the present application.
  • FIG. 8F is a schematic diagram of a shaped screen provided by an embodiment of the present application.
  • the embodiment of the present application provides a method for opening a fingerprint recognition function.
  • the touch gesture area corresponding to the grip gesture is predicted according to the grip gesture of the grip operation, thereby opening only Touching the fingerprint recognition function of the landing area effectively avoids the problem of large power consumption caused by the full screen opening of the fingerprint recognition function, reduces the power consumption of the terminal, and prolongs the service life of the terminal hardware.
  • FIG. 1 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application.
  • the method for opening a fingerprint identification function is applied to a terminal, and a fingerprint identification module is disposed under the touch display screen of the terminal, as shown in FIG.
  • the method for opening the fingerprint recognition function includes the following steps:
  • step 101 a grip operation is detected.
  • Step 102 Determine a holding gesture of the holding operation, and predict a touch landing area corresponding to the holding gesture.
  • Step 103 Turn on the fingerprint recognition function of the touch landing area corresponding to the holding gesture.
  • the present invention predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the grip operation is detected by the terminal, so that only the fingerprint recognition function of the touch drop area is turned on, thereby effectively preventing the full screen from being opened.
  • the problem of large power consumption caused by the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
  • the method before the detecting the holding operation, the method further includes:
  • Detecting whether the terminal is in a specified state where the specified state refers to a state in which fingerprint entry is required to trigger the next processing
  • the method further includes:
  • the predicting the touch landing area corresponding to the holding gesture comprises: predicting a finger landing range according to the holding gesture, and determining the finger landing range as the touch corresponding to the holding gesture Falling area.
  • predicting a range of finger landing points includes: according to a contact position of the hand and the terminal touch display screen and a preset finger length, the starting point of the contact position is taken as a center, A sector area having a radius of the preset finger length is determined as the finger landing range.
  • the predicting the touch landing area corresponding to the holding gesture comprises: according to the holding gesture and the touch operation record, the number of touch operations corresponding to the holding gesture in the touch operation record is greater than A region of a preset threshold is determined as a touch drop region corresponding to the grip gesture.
  • the terminal includes a pressure sensor
  • the method further includes: when the touch drop area does not detect the first touch operation within a preset time period, and when the second touch operation is detected in another area Determining, according to the pressure value of the second touch operation, a touch drop area of the second touch operation; and opening a fingerprint recognition function of the touch drop area of the second touch operation.
  • the determining the touch landing area of the second touch operation according to the pressure value of the second touch operation comprises:
  • An area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
  • the terminal includes a pressure sensor
  • the method further includes: when the terminal does not detect the holding operation, and the terminal detects the third touch operation on the touch display screen, according to the touch The pressure value of the operation determines the touch drop area of the third touch operation; and the fingerprint recognition function of the touch drop area of the second touch operation is turned on.
  • the terminal involved in the embodiment of the present application is a touch terminal using a touch display screen.
  • the touch display screen is a simple, convenient and natural human-computer interaction device, which has a user interface for receiving a touch operation of the touch display screen, detecting the touch operation, and displaying various applications installed on the terminal.
  • a fingerprint identification module is disposed under the touch display screen of the terminal, and thus the terminal further has a fingerprint recognition function. The terminal can collect fingerprints through the fingerprint recognition module, identify the collected fingerprints, and perform corresponding functions based on the fingerprints.
  • FIG. 2 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application. As shown in FIG. 2, the method for opening a fingerprint identification function includes the following steps:
  • Step 201 Detect whether the terminal is in a designated state.
  • the specified state refers to a state in which fingerprint entry is required to trigger the next processing, that is, the specified state is a state in which fingerprint identification is required.
  • the specified state is a lock screen state; in another possible implementation manner, the specified state is a state in which the current display interface of the terminal is a fingerprint entry interface.
  • the fingerprint identification function opening method provided in the embodiment of the present application is applied to the terminal in the non-off state when the terminal is in the power-off state and does not respond to the touch operation of the touch display screen.
  • the non-off state includes a lock screen state and a non-lock screen state.
  • the lock screen status means that the terminal is in an unlocked state.
  • the non-lock screen state means that the terminal is in an unlocked state.
  • the fingerprint input interface refers to a user interface that needs to input a fingerprint for identity authentication in each application installed on the terminal to complete the corresponding function.
  • the fingerprint entry interface may include a fingerprint payment interface, an object unlock interface, and the like.
  • the fingerprint payment interface refers to an interface that needs to enter a fingerprint for identity authentication to complete a payment function;
  • the object unlock interface refers to an interface that needs to input a fingerprint for identity authentication to unlock an object in the terminal, and the object may be an application in the terminal. It can also be a folder in the terminal, or it can be an interface of the application in the terminal.
  • the terminal Taking the fingerprint input interface as the fingerprint payment interface as an example, an application of the terminal needs fingerprint identification when performing payment, and the terminal displays the fingerprint input interface of the application, that is, a payment interface, to prompt the user to input a fingerprint for identity authentication.
  • the terminal performs a payment function.
  • step 201 can be implemented as follows: when the specified state is the lock screen state, the terminal determines whether the terminal is in the designated state by detecting whether the lock screen interface is displayed. If it is detected that the terminal displays the lock screen interface, the terminal is in the specified state; if it is detected that the terminal does not display the lock screen interface, the terminal is not in the designated state.
  • the lock screen interface may be set by default by the terminal, or may be customized by the user. This embodiment of the present application does not limit this.
  • the step 201 may be implemented as follows: when the specified state is the state in which the current display interface of the terminal is the fingerprint input interface, the terminal determines whether the terminal is determined by determining whether the current display interface includes a preset keyword. Is in the specified state. If it is determined that the current display interface includes the preset keyword, the terminal is in the specified state; if it is determined that the current display interface does not include the preset keyword, it is determined that the terminal is not in the designated state.
  • the foregoing preset keywords may include “payment”, “payment”, “order”, “transfer”, and the like, which are not limited in the embodiment of the present application.
  • the following steps 202 to 203 may be performed, and the following steps 202 to 205 may be performed, and the following steps 206 to 207 may also be performed, which are not limited in this embodiment of the present application.
  • Step 202 If the terminal is in the designated state and the holding operation is detected, determining a holding gesture of the holding operation, and predicting a touch landing area corresponding to the holding gesture.
  • the holding gesture refers to a gesture used by the user to perform a holding operation on the terminal.
  • the grip gesture can include a left hand grip, a right hand grip, and a two-hand grip.
  • the touch drop area refers to an area where the contact probability between the user's finger and the touch display screen is greater than a preset probability when the user touches the touch display screen.
  • the shape and the area of the touch landing area are not limited in the embodiment of the present application.
  • a thermal sensor may be disposed at the edge of the terminal. Since the human body temperature is different from the temperature of the terminal, the temperature sensor may be sensed by the thermal sensor to detect whether there is a temperature change, thereby detecting whether there is a holding operation. Thereafter, the terminal further determines the determined touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation.
  • the position, shape, and area of the contact area of the current user's hand and the edge of the terminal may be detected by the thermal sensor, thereby analyzing the current holding gesture of the user.
  • the terminal detects that the difference between the first contact area and the second contact area is greater than a preset threshold, and the first contact area is greater than the second contact area, determining the current holding gesture Hold for the left hand.
  • the first contact area refers to the area of the contact area of the user's hand and the left side
  • the second contact area refers to the area of the contact area of the user's hand and the right side.
  • the preset threshold may be set according to actual requirements, which is not limited in this embodiment of the present application.
  • the terminal when the terminal detects that the difference between the first contact area and the second contact area is greater than a preset threshold, and the first contact area is smaller than the second contact area, determining the current hold The gesture is held by the right hand.
  • the touch drop area of the touch operation of the touch display screen may be determined according to the grip gesture.
  • a user's finger landing range is predicted, and the finger landing range is determined as a touch landing area.
  • the terminal when the terminal predicts the user's finger landing range, the terminal may use the starting point of the contact position as the center according to the contact position of the hand and the terminal touching the display screen and the preset finger length.
  • the sector area having the radius of the preset finger is determined as the finger drop range of the user.
  • the user's tiger mouth will press to the terminal touch display screen, and the contact position between the tiger mouth and the terminal touch display screen is the touch position between the hand and the terminal touch display screen.
  • the preset finger length may be the system default or may be preset by the user according to the length of his finger. The system default preset finger length can be obtained based on feedback from general users.
  • the angle of the sector area can also be set according to the user's own usage habits.
  • the first way may have the following three scenarios in the specific implementation:
  • the holding gesture indicates that the current terminal is held by the user's left hand
  • the holding gesture indicates that the current terminal is held by the right hand of the user
  • the holding gesture indicates that the user is currently being held by both hands of the user
  • the range of the right hand finger drop point, or the left hand and right hand finger drop point range is determined as the touch drop point area.
  • the dominant hand may be set according to the user's own usage habits, and the user's dominant finger drop point range is determined as the touch landing area.
  • the area of the touch operation record in which the number of touch operations corresponding to the holding gesture is greater than the first preset threshold is determined as the touch landing area.
  • the terminal can record the holding gesture, the area of the touch operation, and the corresponding function of the touch operation when the user performs a touch operation on the touch display screen, and obtain a touch operation record.
  • the terminal may also perform a classification and statistics on the touch operation according to the recorded holding gesture, obtain an area of the touch operation corresponding to each holding gesture, and the number of touch operations performed in each area.
  • the terminal may query the touch operation record corresponding to the current holding gesture in the touch operation record based on the grip gesture obtained by the analysis, so that the area of the touch operation corresponding to the current holding gesture is greater than the first preset threshold, and the The area is determined to be a touch drop area.
  • the terminal may query the touch operation record to record the touch operation when the terminal is held by the user's left hand, and in the query result, the number of touch operations is greater than the first A region of a predetermined threshold is determined as a touch drop region.
  • the step of the terminal to perform the query to determine the touch landing area is the same as the above-mentioned holding by the user's left hand. Make a statement.
  • FIG. 3 a schematic diagram of an interface of a touch drop area provided by an embodiment of the present application is shown.
  • the terminal is held by the user's left hand, and the terminal determines that the left hand holds the corresponding touch drop area 31.
  • the terminal puts the fingerprint recognition module set under the touch display screen into a sleep state, and when the fingerprint recognition module is in the sleep state, the fingerprint recognition The module does not fingerprint and recognize the user's touch operation on the touch display screen. In the above manner, the fingerprint recognition module can be prevented from being always in the working state, thereby saving power consumption of the terminal.
  • Step 203 The terminal starts the fingerprint recognition function of the touch landing area corresponding to the holding gesture.
  • the terminal supports full-screen fingerprint recognition
  • the user can perform touch operation on any area of the touch display screen for fingerprint input, and when the terminal needs to perform fingerprint input, the full-screen fingerprint recognition function is turned on, which may cause large power consumption.
  • the touch drop area of the touch operation of the touch display screen can be determined, so that only the fingerprint recognition function of the touch drop area is turned on.
  • the fingerprint recognition function of the touch drop area of the user performing the touch operation may be turned on, so that the fingerprint of the user is collected in the touch drop area, and the collected fingerprint is collected.
  • the feature points are compared with the preset fingerprints to complete fingerprint recognition. In this way, only the fingerprint recognition function of the touch landing area of the touch operation is opened, which effectively avoids the problem of large power consumption caused by the full screen opening fingerprint recognition function, reduces the power consumption of the terminal, and prolongs the service life of the terminal hardware.
  • the prompt information may be generated, where the prompt information is used to prompt the user to perform fingerprint input in the touch drop area.
  • the terminal frame selects the touch drop area described above to prompt the user to enter the location of the fingerprint. In the above manner, it is possible to prevent the occurrence of fingerprint collection failure when the user touches other locations outside the touch point area, and the success rate of fingerprint collection is improved.
  • the touch drop area determined by the embodiment shown in FIG. 2 is different from the actual touch area of the touch display screen performed by the user.
  • the user may also Holding the terminal, the finger of the other hand touches the touch display screen, and the touch drop area of the fingerprint recognition function is deviated from the actual one, so that the terminal does not detect the touch operation in the touch drop area, and A situation in which a touch operation on other areas of the touch display screen is detected occurs.
  • the terminal turns on the fingerprint recognition function of the touch drop area determined according to the holding gesture, the user's fingerprint cannot be collected and recognized. , which causes authentication to fail.
  • the method for opening the fingerprint identification function may further include the method for enabling the fingerprint identification function to be included in the foregoing embodiment. The following steps:
  • Step 204 When the first touch operation of the touch landing area corresponding to the holding posture is not detected within the preset time length, and the second touch operation of the other area is detected, according to the pressure of the second touch operation a value that determines a touch drop area of the second touch operation.
  • the preset duration can be set according to actual requirements, which is not limited in this embodiment of the present application. Illustratively, the preset duration is 2 seconds.
  • the other area is an area other than the touch drop area corresponding to the grip gesture in the touch display screen.
  • determining the touch landing area of the second touch operation is implemented as the following sub-steps according to the pressure value of the second touch operation:
  • Step 204a measuring a pressure value of the second touch operation
  • the pressure value is used to measure the magnitude of the pressure of the second touch operation of the user acting on the other areas described above.
  • the terminal measures the pressure value of the touch operation through the pressure sensor, so that the pressure value can be compared with the second preset threshold to determine whether the current touch operation is a touch operation for fingerprint recognition.
  • the varistor in the pressure sensor provided on the terminal may deform along with the touch operation, and the pressure is caused by the deformation.
  • the resistance value of the varistor changes, so that the pressure value of the current touch operation can be measured according to the current or voltage change.
  • the diaphragm in the pressure sensor provided on the terminal may be displaced along with the touch operation, and the film is displaced due to the displacement
  • the resistance value of the chip changes so that the pressure value of the current touch operation can be measured according to the current or voltage change.
  • Step 204b when the pressure value of the second touch operation is greater than the second preset threshold, acquiring coordinates of the pressure center point of the second touch operation;
  • the second preset threshold may be set according to the user's usage habits.
  • the second preset threshold determines the function setting of the touch operation.
  • the touch operation may correspond to a different function.
  • the pressure center point may be the geometric center of the touch position corresponding to the second touch operation, or may be the point with the largest pressure value.
  • the pressure value of the touch operation is greater than the second preset threshold, which may be used as a judgment condition for the fingerprint recognition function to be enabled when the terminal needs to perform fingerprint recognition.
  • the coordinates of the pressure center point of the touch operation may be acquired, and the pressure center point may be the maximum deformation point or the maximum displacement point caused by the touch operation, or may be the touch operation.
  • the point of action of stress Since the pressure center point is generally located at the center position of the user's fingerprint, the coordinates of the pressure center point of the touch operation can be acquired, and based on the coordinates of the pressure center point, the touch drop area of the touch operation is determined.
  • the terminal receives the touch operation, measures the pressure value of the touch operation, and analyzes the pressure of the touch operation, and obtains the coordinates of the pressure center point of the pressure.
  • step 204c an area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
  • the second preset threshold may be set according to actual requirements, which is not limited by the embodiment of the present application.
  • the preset area may be determined according to the area of the fingerprint image to be collected, which is not limited in this embodiment of the present application.
  • the area and shape of the touch drop area of the second touch operation are not limited in the embodiment of the present application.
  • the terminal may determine the area centered on the coordinate of the pressure center point and the area of the preset area as the touch drop area. After researching and analyzing the fingerprint of the user, it is concluded that the size of the fingerprint is generally less than 1 square centimeter (cm 2 ), and thus the predetermined area can be referenced by 1 cm 2 in a specific implementation.
  • the touch landing area may be a circular area, and may be other shape areas, which is not limited in this application.
  • Step 205 Turn on the fingerprint recognition function of the touch drop area of the second touch operation.
  • the terminal If the user does not perform fingerprint entry in the touch drop area corresponding to the predicted grip posture, but touches other areas than the touch drop area corresponding to the grip gesture, the terminal re-determines the touch drop area. And the fingerprint identification function of the newly determined touch drop area is turned on, thereby reducing the number of failures of the terminal fingerprint recognition, and improving the practicability of the fingerprint recognition function of the terminal. In addition, the terminal can also turn off the fingerprint recognition function of the touch landing area corresponding to the holding gesture to save power consumption of the terminal.
  • the terminal When the user enters the fingerprint, the terminal may not be gripped.
  • the terminal is placed on the table, and the fingerprint recognition function of how to accurately turn on the partial area in the touch display screen will be explained below.
  • Step 206 If the terminal is in the specified state, and the holding operation is not detected, and the third touch operation on the touch display screen is detected, determining the third touch operation according to the pressure value of the third touch operation. Touch the drop area.
  • the user can place the terminal on other objects (such as a table) and perform a touch operation on the touch display screen of the terminal.
  • the terminal does not detect the grip operation, and detects the touch on the touch display screen.
  • the terminal cannot determine the touch drop area of the touch operation on the touch display screen according to the user's holding gesture, and the touch operation may be analyzed, and the touch of the touch operation is determined according to the pressure value of the touch operation.
  • the landing area is opened, and the fingerprint recognition function of the touch drop area of the touch operation is turned on to implement identity authentication.
  • a pressure sensor can be arranged under the touch display of the terminal.
  • the pressure sensor provided by the terminal can measure the pressure value of the touch operation based on the deformation or the displacement amount.
  • the function corresponding to the touch operation may be different.
  • the terminal may determine the function corresponding to the touch operation based on different pressure values, and respond to the touch operation to implement the corresponding function.
  • the terminal determines, according to the pressure value of the touch operation, the specific implementation of the touch drop area of the touch operation as the following sub-steps:
  • Step 206a measuring a pressure value of the third touch operation
  • Step 206b when the pressure value of the second touch operation is greater than the third preset threshold, acquiring coordinates of the pressure center point of the third touch operation;
  • step 206c the area centered on the coordinate of the pressure center point of the third touch operation and the area of the preset area is determined as the touch drop area of the third touch operation.
  • steps 206a to 206c can refer to steps 204a to 204c. I will not repeat them here.
  • Step 207 the fingerprint recognition function of the touch landing area of the third touch operation is turned on.
  • the terminal determines the touch landing area according to the received touch operation, and turns on the fingerprint recognition function of the determined touch drop area, thereby The number of failures of terminal fingerprint recognition is reduced, and the utility of the fingerprint recognition function of the terminal is improved.
  • the present invention predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the grip operation is detected by the terminal, so that only the fingerprint recognition function of the touch drop area is turned on, thereby effectively preventing the full screen from being opened.
  • the problem of large power consumption caused by the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
  • the pressure sensor senses the pressure value of the touch operation, and determines the touch landing area of the touch operation according to the pressure value, so that only the touch drop point is turned on.
  • the fingerprint recognition function of the area enables fingerprint recognition to achieve the corresponding function when the terminal is not held, and does not cause large power consumption.
  • the touch drop area may be re-determined by the pressure sensor, and the re-determined touch drop area is turned on.
  • the fingerprint recognition function reduces the number of failures of the terminal fingerprint recognition and improves the practicality of the fingerprint recognition function of the terminal.
  • FIG. 4 is a schematic structural diagram of a fingerprint identification function enabling apparatus according to an embodiment of the present application.
  • the apparatus has the functions in the foregoing method, and the functions may be implemented by hardware or may be implemented by hardware.
  • the device includes an operation detection module 401, a determination module 402, and an opening module 403.
  • the operation detecting module 401 is configured to detect a holding operation.
  • a determining module 402 configured to determine a holding gesture of the holding operation, and predict a touch landing area corresponding to the holding gesture
  • the module 403 is configured to enable the fingerprint recognition function of the touch landing area corresponding to the holding gesture.
  • the apparatus further includes: a state detecting module 404.
  • the state detecting module 404 is configured to detect whether the terminal is in a specified state, where the specified state refers to a state in which fingerprint input is required to trigger the next processing.
  • the operation detecting module 401 is configured to start from the step of detecting the holding operation if the terminal is in the designated state.
  • the apparatus further includes: a state setting module 405.
  • the state setting module 405 is configured to set the fingerprint recognition module to a sleep state if the terminal is not in the designated state.
  • the determining module 402 is configured to: according to the holding gesture, predict a finger landing range, and determine the finger landing range as a touch landing area corresponding to the holding gesture.
  • the determining module 402 is configured to: use a starting point of the contact position as a center and a radius of the preset finger according to a contact position of the hand and the terminal touch display screen and a preset finger length.
  • the sector area is determined as the finger drop range.
  • the determining module 402 is configured to determine, according to the holding gesture and the touch operation record, an area of the touch operation record in which the number of touch operations corresponding to the holding gesture is greater than a first preset threshold is determined as Hold the touch point corresponding to the touch point area.
  • the terminal includes a pressure sensor
  • the determining module 402 is further configured to: when the touch drop area does not detect the first touch operation within the preset duration, and when the second touch operation is detected in the other area, determine according to the pressure value of the second touch operation a touch drop area of the second touch operation;
  • the opening module 403 is further configured to enable a fingerprint recognition function of the touch landing area of the second touch operation.
  • the determining module 302 includes:
  • An area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
  • the terminal includes a pressure sensor
  • the determining module 402 is further configured to: when the terminal does not detect the holding operation, and the terminal detects the third touch operation on the touch display screen, determine the third touch according to the pressure value of the third touch operation The touch drop area of the operation;
  • the opening module 403 is further configured to enable a fingerprint recognition function of the touch landing area of the third touch operation.
  • the device provided by the present application predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the terminal detects the grip operation, thereby opening only the fingerprint recognition function of the touch drop region, thereby effectively avoiding
  • the problem of large power consumption caused by the full screen turning on the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
  • the fingerprint recognition function is only used to illustrate the division of each functional module. In actual applications, the functions may be assigned different functions according to needs.
  • the module is completed, dividing the internal structure of the device into different functional modules to perform all or part of the functions described above.
  • the device for enabling the fingerprint recognition function provided by the above embodiment is the same as the method for opening the fingerprint recognition function, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • the terminal 500 can be a mobile phone, a tablet, a laptop, an e-book, and the like.
  • Terminal 500 in this application may include one or more of the following components: processor 510, memory 520, and touch display 530.
  • Processor 510 can include one or more processing cores.
  • the processor 510 connects various portions of the entire terminal 500 using various interfaces and lines, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 520, and invoking data stored in the memory 520. 500 various functions and processing data.
  • the processor 510 may use at least one of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA).
  • DSP digital signal processing
  • FPGA field-programmable gate array
  • PDA programmable logic array
  • a form of hardware is implemented.
  • the processor 510 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, the user interface, the application, and the like; the GPU is responsible for rendering and rendering of the content that needs to be displayed on the touch screen 530; the modem is used to process wireless communication. It can be understood that the above modem may also be integrated into the processor 510 and implemented by a single chip.
  • the memory 520 may include a random access memory (RAM), and may also include a read-only memory.
  • the memory 520 includes a non-transitory computer-readable storage medium.
  • Memory 520 can be used to store instructions, programs, code, code sets, or sets of instructions.
  • the memory 520 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), The instructions for implementing the various method embodiments described below, etc.; the storage data area may store data (such as audio data, phone book) created according to the use of the terminal 500, and the like.
  • the memory 520 stores a Linux kernel layer 720, a system runtime layer 740, an application framework layer 760, and an application layer 780.
  • the Linux kernel layer 720 provides the underlying drivers for various hardware of the terminal 500, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and the like.
  • System runtime layer 740 provides major feature support for Android systems through some C/C++ libraries. For example, the SQLite library provides support for the database, the OpenGL/ES library provides support for 3D graphics, and the Webkit library provides support for the browser kernel.
  • the Android Runtime Library (Android Runtime) is also provided in the System Runtime Layer 740. It mainly provides some core libraries that allow developers to write Android applications using the Java language.
  • the application framework layer 760 provides various APIs that may be used when building an application. Developers can also build their own applications by using these APIs, such as event management, window management, view management, notification management, content providers, Package management, call management, resource management, location management.
  • the application layer 780 runs at least one application, which may be a contact program, an SMS program, a clock program, a camera application, etc. that is provided by the operating system; or an application developed by a third-party developer, such as an instant. Communication programs, photo landscaping programs, etc.
  • the IOS system includes: a core operating system layer 820 (Core OS layer), a core service layer 840 (Core Services layer), and a media layer. 860 (Media layer), touchable layer 880 (Cocoa Touch Layer).
  • the core operating system layer 820 includes an operating system kernel, drivers, and an underlying program framework that provide functionality closer to the hardware for use by the program framework located at the core service layer 840.
  • the core service layer 840 provides system services and/or program frameworks required by the application, such as a Foundation framework, an account framework, an advertising framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and the like.
  • the media layer 860 provides an interface for the audiovisual aspect of the application, such as a graphic image related interface, an audio technology related interface, a video technology related interface, and an audio and video transmission technology wireless play (AirPlay) interface.
  • the touchable layer 880 provides various commonly used interface related frameworks for application development, and the touchable layer 880 is responsible for user touch interaction operations on the terminal 500. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework, and so on.
  • UI message user interface
  • frameworks related to most applications include, but are not limited to, the base framework in the core service layer 840 and the UIKit framework in the touchable layer 880.
  • the underlying framework provides many basic object classes and data types, providing the most basic system services for all applications, regardless of the UI.
  • the classes provided by the UIKit framework are the basic UI class libraries for creating touch-based user interfaces. iOS applications can provide UI based on the UIKit framework, so it provides the application infrastructure for building user interfaces, drawing , handling and user interaction events, responsive gestures, and more.
  • the touch display screen 530 is for receiving a touch operation on or near a user using any suitable object such as a finger, a touch pen, and the like, and displaying a user interface of each application.
  • the touch display screen 530 is typically disposed at the front panel of the terminal 530.
  • the touch display 530 can be designed as a full screen, a curved screen, or a profiled screen.
  • the touch screen 530 can also be designed as a combination of a full screen and a curved screen, and the combination of the special screen and the curved screen is not limited in this embodiment. among them:
  • the full screen may refer to a screen design in which the touch screen 530 occupies a screen of the front panel of the terminal 500 that exceeds a threshold (eg, 80% or 90% or 95%).
  • a threshold eg, 80% or 90% or 95%).
  • One calculation method of the screen ratio is: (the area of the touch screen 530 / the area of the front panel of the terminal 500) * 100%; another calculation method of the screen ratio is: (touching the actual display area in the display screen 530) Area/area of the front panel of the terminal 500) *100%; another calculation of the screen ratio is: (the diagonal of the touch screen 530 / the diagonal of the front panel of the terminal 500) * 100% .
  • touch display screens 530 almost all areas on the front panel of the terminal 500 are touch display screens 530, and other areas than the edges generated by the middle frame 41 are on the front panel 40 of the terminal 500. All are touch display screens 530.
  • the four corners of the touch display screen 530 can be right angles or rounded corners.
  • the full screen may also be a screen design that integrates at least one front panel component inside or below the touch display screen 530.
  • the at least one front panel component comprises: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like.
  • other components on the front panel of the conventional terminal are integrated in all areas or partial areas of the touch display screen 530, such as splitting the photosensitive elements in the camera into a plurality of photosensitive pixels, each of which is photosensitive.
  • the pixels are integrated in a black area in each display pixel in the touch display screen 530. Since at least one front panel component is integrated inside the touch display screen 530, the full screen has a higher screen ratio.
  • the front panel component on the front panel of the conventional terminal may also be disposed on the side or the back of the terminal 500, such as an ultrasonic fingerprint sensor disposed under the touch display screen 530, and the bone conduction type.
  • the earpiece is disposed inside the terminal 530, and the camera is disposed to be located on the side of the terminal and is pluggable.
  • a single side of the middle frame of the terminal 500 when the terminal 500 adopts a full screen, a single side of the middle frame of the terminal 500, or two sides (such as the left and right sides), or four sides (such as An edge touch sensor 520 is disposed on the four sides of the upper, lower, left, and right sides, and the edge touch sensor 520 is configured to detect a user's touch operation, a click operation, a pressing operation, a sliding operation, and the like on the middle frame. At least one operation.
  • the edge touch sensor 520 may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can apply an operation on the edge touch sensor 520 to control the application in the terminal 500.
  • the curved screen refers to a screen design in which the screen area of the touch display screen 530 is not in one plane.
  • the curved screen has at least one cross section: the cross section has a curved shape, and the projection of the curved screen in a plane perpendicular to the plane of the cross section is a flat screen design, wherein the curved shape may be U-shaped.
  • a curved screen refers to a screen design in which at least one side is curved.
  • the curved screen means that at least one side of the touch display screen 530 extends over the middle frame of the terminal 500.
  • the curved screen refers to a screen design in which the left and right side edges 42 are curved shapes; or the curved screen refers to a screen design in which the upper and lower sides are curved shapes; or The curved screen refers to the screen design in which the four sides of the upper, lower, left and right sides are curved.
  • the curved screen is fabricated using a touch screen material having a certain flexibility.
  • a profiled screen is a touchscreen display having an irregularly shaped shape, and the irregular shape is not a rectangle or a rounded rectangle.
  • the profiled screen refers to a screen design that is provided with raised, notched, and/or punctured holes on a rectangular or rounded rectangular touch display screen 530.
  • the protrusions, notches, and/or holes may be located at the edge of the touch screen display 530, in the center of the screen, or both. When the protrusions, notches, and/or holes are provided at one edge, they may be disposed at the middle or both ends of the edge; when the protrusions, notches, and/or holes are disposed in the center of the screen, they may be placed above the screen.
  • the protrusions, the notches, and the holes may be concentrated or distributed; they may be symmetrically distributed or asymmetrically distributed.
  • the number of the protrusions, the notches and/or the holes is also not limited.
  • the shaped screen covers the upper and/or lower forehead area of the touch display screen as a displayable area and/or an operable area, so that the touch display screen occupies more space on the front panel of the terminal, the shaped screen also has A larger screen ratio.
  • the notch and/or the bore are for receiving at least one front panel component, including a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, an earpiece, an ambient light level sensor, a physical button At least one of them.
  • the indentation may be provided on one or more edges, which may be semi-circular notches, right-angled rectangular indentations, rounded rectangular indentations or irregularly shaped indentations.
  • the profiled screen may be a screen design in which a semicircular notch 43 is provided at a central position of the upper edge of the touch display screen 530, and the position of the semicircular notch 43 is vacated.
  • the distance sensor also referred to as a proximity sensor
  • the earpiece also referred to as a proximity sensor
  • the ambient light brightness sensor schematically, as shown in FIG. 8D, the shaped screen may be at the lower edge of the touch display screen 530.
  • the central position is provided with a screen design of a semi-circular notch 44, the vacant position of the semi-circular notch 44 for accommodating at least one of a physical button, a fingerprint sensor, and a microphone; illustratively as shown in FIG. 8E
  • the profiled screen may be a screen design in which a semi-elliptical notch 45 is disposed at a central position of the lower edge of the touch display screen 530, and a semi-elliptical notch, two semi-ellipses are formed on the front panel of the terminal 500.
  • the shaped notch is formed into an elliptical area for accommodating a physical button or a fingerprint recognition module; in the example shown in FIG.
  • the shaped screen may be in contact
  • a screen design of at least one small hole 45 is provided in the upper half of the display screen 530, and the position of the small hole 45 is used to accommodate at least one of the front panel of the camera, the distance sensor, the earpiece, and the ambient light sensor. component.
  • the structure of the terminal 500 shown in the above figure does not constitute a limitation on the terminal 500, and the terminal may include more or less components than the illustration, or a combination of some Parts, or different parts.
  • the terminal 500 further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module, and the like, and details are not described herein.
  • WiFi wireless fidelity
  • a computer readable storage medium storing a computer program, such as a memory storing a computer program, the computer program being executed by the processor to implement fingerprint recognition performed by the terminal in the above embodiment Function opening method.
  • the computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), Tapes, floppy disks, and optical data storage devices.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are a fingerprint recognition function enabling method and apparatus, and a terminal and a storage medium, belonging to the technical field of terminals. The method comprises: detecting a holding operation; determining a holding gesture for the holding operation, and predicting a touch falling point area corresponding to the holding gesture; and enabling a fingerprint recognition function of the touch falling point area corresponding to the holding gesture. In the present application, when a terminal detects a holding operation, according to a holding gesture for the holding operation, a touch falling point area corresponding to the holding gesture is predicted, thereby only enabling the fingerprint recognition function of the touch falling point area, effectively preventing the problem of relatively large energy consumption caused due to the fact that a full screen enables the fingerprint recognition function, reducing the electric power consumption of the terminal, and prolonging the service life of terminal hardware.

Description

指纹识别功能开启方法、装置、终端和存储介质Fingerprint recognition function opening method, device, terminal and storage medium
本申请要求于2017年9月11日提交中华人民共和国国家知识产权局、申请号为201710813728.X、发明名称为“指纹识别功能开启方法、装置、终端和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application submitted to the State Intellectual Property Office of the People's Republic of China on September 11, 2017, with the application number of 201710813728.X, and the invention titled "Fingerprint Identification Function Opening Method, Device, Terminal and Storage Medium" The entire content of which is incorporated herein by reference.
技术领域Technical field
本申请涉及终端技术领域,特别涉及一种指纹识别功能开启方法、装置、终端和存储介质。The present application relates to the field of terminal technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for opening a fingerprint identification function.
背景技术Background technique
随着终端技术的发展,指纹识别技术作为一种成熟的认证技术已经广泛应用于终端上的应用中。指纹识别是通过采集指纹,与预设指纹进行比较,从而完成身份认证的过程。终端上的应用中多设置有指纹录入界面,可以开启该指纹录入界面并在该指纹录入界面中录入指纹,从而进行指纹识别。例如,可以在支付界面中录入指纹完成指纹支付,可以在任一功能的解锁界面中录入指纹完成指纹解锁。最初,终端配备的指纹识别功能需要在特定区域进行指纹录入才能实现,而随着全屏指纹识别技术的出现,目前已经可以实现在终端屏幕的任一区域均可采集并识别指纹。With the development of terminal technology, fingerprint recognition technology has been widely used in terminal applications as a mature authentication technology. Fingerprint recognition is the process of completing identity authentication by collecting fingerprints and comparing them with preset fingerprints. A fingerprint entry interface is set in the application on the terminal, and the fingerprint input interface can be opened and a fingerprint is entered in the fingerprint input interface to perform fingerprint recognition. For example, a fingerprint can be entered in the payment interface to complete the fingerprint payment, and the fingerprint can be entered in the unlock interface of any function to complete the fingerprint unlocking. Initially, the fingerprint recognition function of the terminal needs to be fingerprinted in a specific area, and with the appearance of full-screen fingerprint recognition technology, it is now possible to collect and recognize the fingerprint in any area of the terminal screen.
发明内容Summary of the invention
本申请实施例提供了一种指纹识别功能开启方法、装置、终端和存储介质。所述技术方案如下:The embodiment of the present application provides a method, an apparatus, a terminal, and a storage medium for opening a fingerprint identification function. The technical solution is as follows:
第一方面,提供了一种指纹识别功能开启方法,应用于终端中,所述终端的触摸显示屏下方设置有指纹识别模组,所述方法包括:In a first aspect, a fingerprint identification function opening method is provided, which is applied to a terminal, and a fingerprint identification module is disposed under the touch display screen of the terminal, and the method includes:
检测到握持操作;A grip operation is detected;
确定所述握持操作的握持手势,并预测所述握持手势对应的触摸落点区域;Determining a holding gesture of the holding operation, and predicting a touch landing area corresponding to the holding gesture;
开启所述握持手势对应的触摸落点区域的指纹识别功能。The fingerprint recognition function of the touch landing area corresponding to the holding gesture is turned on.
第二方面,提供了一种指纹识别功能开启装置,应用于终端中,所述终端的触摸显示屏下方设置有指纹识别模组,所述装置包括:The second aspect provides a fingerprint recognition function opening device, which is applied to a terminal, and a fingerprint identification module is disposed under the touch display screen of the terminal, and the device includes:
操作检测模块,用于检测到握持操作;An operation detecting module for detecting a holding operation;
确定模块,用于确定所述握持操作的握持手势,并预测所述握持手势对应的触摸落点区域;a determining module, configured to determine a holding gesture of the holding operation, and predict a touch landing area corresponding to the holding gesture;
开启模块,用于开启所述握持手势对应的触摸落点区域的指纹识别功能。The module is opened for opening a fingerprint recognition function of the touch landing area corresponding to the holding gesture.
第三方面、提供了一种终端,包括:处理器;用于存放计算机程序的存储器;其中,所述处理器用于执行存储器上所存放的计算机程序,实现第一方面任一项所述的方法步骤。A third aspect provides a terminal, comprising: a processor; a memory for storing a computer program; wherein the processor is configured to execute a computer program stored on the memory, and the method of any one of the first aspects is implemented step.
第四方面、提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现第一方面任一项所述的方法步骤。A fourth aspect provides a computer readable storage medium having stored therein a computer program, the computer program being executed by a processor to implement the method steps of any of the first aspects.
本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:
本申请通过在终端检测到握持操作时,根据握持操作的握持手势,预测握持手势对应的触摸落点区域,从而只开启触摸落点区域的指纹识别功能,有效地避免了全屏开启指纹识别功能造成的功耗较大的问题,降低了终端的电量消耗,延长了终端硬件的使用寿命。The present invention predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the grip operation is detected by the terminal, so that only the fingerprint recognition function of the touch drop area is turned on, thereby effectively preventing the full screen from being opened. The problem of large power consumption caused by the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本 领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本申请实施例提供的一种指纹识别功能开启方法的流程图;1 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application;
图2是本申请实施例提供的一种指纹识别功能开启方法的流程图;2 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application;
图3是本申请实施例提供的一个触摸落点区域的界面示意图;3 is a schematic diagram of an interface of a touch landing area provided by an embodiment of the present application;
图4是本申请实施例提供的一种指纹识别功能开启装置结构示意图;4 is a schematic structural diagram of a fingerprint recognition function opening device according to an embodiment of the present application;
图5是本申请实施例提供的一种指纹识别功能开启装置结构示意图;FIG. 5 is a schematic structural diagram of a fingerprint recognition function opening apparatus according to an embodiment of the present application; FIG.
图6是本申请实施例提供的一种终端500的结构方框图;FIG. 6 is a structural block diagram of a terminal 500 according to an embodiment of the present application;
图7是本申请实施例提供的一种终端500的结构方框图;FIG. 7 is a structural block diagram of a terminal 500 according to an embodiment of the present application;
图8A是本申请实施例提供的一种全面屏的示意图;FIG. 8A is a schematic diagram of a full screen provided by an embodiment of the present application; FIG.
图8B是本申请实施例提供的一种曲面屏的示意图;8B is a schematic diagram of a curved screen provided by an embodiment of the present application;
图8C是本申请实施例提供的一种异形屏的示意图;FIG. 8C is a schematic diagram of a shaped screen provided by an embodiment of the present application; FIG.
图8D是本申请实施例提供的一种异形屏的示意图;8D is a schematic diagram of a shaped screen provided by an embodiment of the present application;
图8E是本申请实施例提供的一种异形屏的示意图;8E is a schematic diagram of a shaped screen provided by an embodiment of the present application;
图8F是本申请实施例提供的一种异形屏的示意图。FIG. 8F is a schematic diagram of a shaped screen provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
由于在全屏开启指纹识别功能时,终端的功耗较大,增大了终端的电量消耗,减少了终端硬件的使用寿命。基于此,本申请实施例提供了一种指纹识别功能开启方法,通过在终端检测到握持操作时,根据握持操作的握持手势,预测握持手势对应的触摸落点区域,从而只开启触摸落点区域的指纹识别功能,有效地避免了全屏开启指纹识别功能造成的功耗较大的问题,降低了终端的电量消耗,延长了终端硬件的使用寿命。Since the power consumption of the terminal is large when the fingerprint recognition function is turned on in the full screen, the power consumption of the terminal is increased, and the service life of the terminal hardware is reduced. Based on this, the embodiment of the present application provides a method for opening a fingerprint recognition function. When the terminal detects a grip operation, the touch gesture area corresponding to the grip gesture is predicted according to the grip gesture of the grip operation, thereby opening only Touching the fingerprint recognition function of the landing area effectively avoids the problem of large power consumption caused by the full screen opening of the fingerprint recognition function, reduces the power consumption of the terminal, and prolongs the service life of the terminal hardware.
图1是本申请实施例提供的一种指纹识别功能开启方法的流程图,该指纹识别功能开启方法应用于终端中,该终端的触摸显示屏下方设置有指纹识别模组,如图1所示,该指纹识别功能开启方法包括以下步骤:1 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application. The method for opening a fingerprint identification function is applied to a terminal, and a fingerprint identification module is disposed under the touch display screen of the terminal, as shown in FIG. The method for opening the fingerprint recognition function includes the following steps:
步骤101,检测到握持操作。In step 101, a grip operation is detected.
步骤102,确定该握持操作的握持手势,并预测该握持手势对应的触摸落点区域。Step 102: Determine a holding gesture of the holding operation, and predict a touch landing area corresponding to the holding gesture.
步骤103,开启该握持手势对应的触摸落点区域的指纹识别功能。Step 103: Turn on the fingerprint recognition function of the touch landing area corresponding to the holding gesture.
本申请通过在终端检测到握持操作时,根据握持操作的握持手势,预测握持手势对应的触摸落点区域,从而只开启触摸落点区域的指纹识别功能,有效地避免了全屏开启指纹识别功能造成的功耗较大的问题,降低了终端的电量消耗,延长了终端硬件的使用寿命。The present invention predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the grip operation is detected by the terminal, so that only the fingerprint recognition function of the touch drop area is turned on, thereby effectively preventing the full screen from being opened. The problem of large power consumption caused by the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
在一种可能实现方式中,该检测到握持操作之前,该方法还包括:In a possible implementation manner, before the detecting the holding operation, the method further includes:
检测该终端是否处于指定状态,该指定状态是指需要进行指纹录入来触发下一步处理的状态;Detecting whether the terminal is in a specified state, where the specified state refers to a state in which fingerprint entry is required to trigger the next processing;
若所述终端处于所述指定状态,则从所述检测到握持操作的步骤开始执行。If the terminal is in the designated state, execution is performed from the step of detecting the holding operation.
在一种可能实现方式中,该检测该终端是否处于指定状态之后,还包括:In a possible implementation manner, after detecting whether the terminal is in a specified state, the method further includes:
若所述终端未处于所述指定状态,则设置所述指纹识别模组为休眠状态。And if the terminal is not in the designated state, setting the fingerprint recognition module to a sleep state.
在一种可能实现方式中,该预测该握持手势对应的触摸落点区域,包括:根据该握持手势,预测手指落点范围,将该手指落点范围确定为该握持手势对应的触摸落点区域。In a possible implementation, the predicting the touch landing area corresponding to the holding gesture comprises: predicting a finger landing range according to the holding gesture, and determining the finger landing range as the touch corresponding to the holding gesture Falling area.
在一种可能实现方式中,该根据该握持手势,预测手指落点范围,包括:根据手与终端触摸显示屏的接触位置以及预设手指长度,将以该接触位置的起始点作为圆心、以该预设手指长度为半径的扇形区域确定为该手指落点范围。In a possible implementation manner, according to the holding gesture, predicting a range of finger landing points includes: according to a contact position of the hand and the terminal touch display screen and a preset finger length, the starting point of the contact position is taken as a center, A sector area having a radius of the preset finger length is determined as the finger landing range.
在一种可能实现方式中,该预测该握持手势对应的触摸落点区域,包括:根据该握持手势和触摸操作记录,将该触摸操作记录中该握持手势对应的触摸操作次数大于第一预设阈值的区域确定为该握持手势对应的触摸落点区域。In a possible implementation manner, the predicting the touch landing area corresponding to the holding gesture comprises: according to the holding gesture and the touch operation record, the number of touch operations corresponding to the holding gesture in the touch operation record is greater than A region of a preset threshold is determined as a touch drop region corresponding to the grip gesture.
在一种可能实现方式中,该终端包括压力感应器,该方法还包括:当预设时长内,该触摸落点区域未检测到第一触摸操作,且在其他区域检测到第二触摸操作时,根据该第二触摸操作的压力值,确定该第二触摸操作的触摸落点区域;开启该第二触摸操作的触摸落点区域的指纹识别功能。In a possible implementation manner, the terminal includes a pressure sensor, and the method further includes: when the touch drop area does not detect the first touch operation within a preset time period, and when the second touch operation is detected in another area Determining, according to the pressure value of the second touch operation, a touch drop area of the second touch operation; and opening a fingerprint recognition function of the touch drop area of the second touch operation.
在一种可能实现方式中,该根据该第二触摸操作的压力值,确定该第二触摸操作的触摸落点区域,包括:In a possible implementation, the determining the touch landing area of the second touch operation according to the pressure value of the second touch operation comprises:
测量该第二触摸操作的压力值;Measuring a pressure value of the second touch operation;
当该第二触摸操作的压力值大于第二预设阈值时,获取该第二触摸操作的压力中心点的坐标;Obtaining a coordinate of a pressure center point of the second touch operation when a pressure value of the second touch operation is greater than a second preset threshold;
将以该压力中心点的坐标为中心、面积为预设面积的区域确定为该第二触摸操作的触摸落点区域。An area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
在一种可能实现方式中,该终端包括压力感应器,该方法还包括:当该终端未检测到握持操作,且该终端检测到对该触摸显示屏的第三触摸操作时,根据该触摸操作的压力值,确定该第三触摸操作的触摸落点区域;开启该第二触摸操作的触摸落点区域的指纹识别功能。In a possible implementation manner, the terminal includes a pressure sensor, and the method further includes: when the terminal does not detect the holding operation, and the terminal detects the third touch operation on the touch display screen, according to the touch The pressure value of the operation determines the touch drop area of the third touch operation; and the fingerprint recognition function of the touch drop area of the second touch operation is turned on.
本申请实施例所涉及到的终端为使用触摸显示屏的触控终端。该触摸显示屏是一种简单、方便和自然的人机交互设备,它具有接收用户对该触摸显示屏的触摸操作,检测该触摸操作的位置,并显示该终端上安装的各个应用的用户界面的功能,在本申请实施例中,该终端的触摸显示屏下方设置有指纹识别模组,因而该终端还具有指纹识别功能。该终端可以通过该指纹识别模组采集指纹,对采集到的指纹进行识别,并基于该指纹执行相应的功能。The terminal involved in the embodiment of the present application is a touch terminal using a touch display screen. The touch display screen is a simple, convenient and natural human-computer interaction device, which has a user interface for receiving a touch operation of the touch display screen, detecting the touch operation, and displaying various applications installed on the terminal. In the embodiment of the present application, a fingerprint identification module is disposed under the touch display screen of the terminal, and thus the terminal further has a fingerprint recognition function. The terminal can collect fingerprints through the fingerprint recognition module, identify the collected fingerprints, and perform corresponding functions based on the fingerprints.
图2是本申请实施例提供的一种指纹识别功能开启方法的流程图,如图2所示,该指纹识别功能开启方法包括以下步骤:2 is a flowchart of a method for opening a fingerprint identification function according to an embodiment of the present application. As shown in FIG. 2, the method for opening a fingerprint identification function includes the following steps:
步骤201,检测终端是否处于指定状态。Step 201: Detect whether the terminal is in a designated state.
指定状态是指需要进行指纹录入来触发下一步处理的状态,也即,指定状态是存在指纹识别需求的状态。在一种可能的实现方式中,该指定状态为锁屏状态;在另一种可能的实现方式中,指定状态为终端的当前显示界面为指纹录入界面的状态。The specified state refers to a state in which fingerprint entry is required to trigger the next processing, that is, the specified state is a state in which fingerprint identification is required. In a possible implementation manner, the specified state is a lock screen state; in another possible implementation manner, the specified state is a state in which the current display interface of the terminal is a fingerprint entry interface.
由于终端处于关机状态时,对触摸显示屏的触摸操作不作响应,因而本申请实施例提供的指纹识别功能开启方法应用于处于非关机状态时的终端。非关机状态包括锁屏状态和非锁屏状态。The fingerprint identification function opening method provided in the embodiment of the present application is applied to the terminal in the non-off state when the terminal is in the power-off state and does not respond to the touch operation of the touch display screen. The non-off state includes a lock screen state and a non-lock screen state.
锁屏状态是指终端处于未解锁的状态。非锁屏状态是指终端处于已解锁的状态。当终端处于非锁屏状态时,还需要开启指纹录入界面来触发指纹识别功能。指纹录入界面是指终端上安装的各应用中需要录入指纹进行身份认证才能完成相应功能的用户界面。指纹录入界面可以包括指纹支付界面、对象解锁界面等等。指纹支付界面是指需要录入指纹进行身份认证以完成支付功能的界面;对象解锁界面是指需要录入指纹进行身份认证以解锁终端中的某个对象的界面,上述对象可以是终端中的一个应用程序,也可以是终端中的一个文件夹,还可以是终端中的应用程序的某一界面。The lock screen status means that the terminal is in an unlocked state. The non-lock screen state means that the terminal is in an unlocked state. When the terminal is in the non-lock screen state, it is also necessary to open the fingerprint input interface to trigger the fingerprint recognition function. The fingerprint input interface refers to a user interface that needs to input a fingerprint for identity authentication in each application installed on the terminal to complete the corresponding function. The fingerprint entry interface may include a fingerprint payment interface, an object unlock interface, and the like. The fingerprint payment interface refers to an interface that needs to enter a fingerprint for identity authentication to complete a payment function; the object unlock interface refers to an interface that needs to input a fingerprint for identity authentication to unlock an object in the terminal, and the object may be an application in the terminal. It can also be a folder in the terminal, or it can be an interface of the application in the terminal.
以指纹录入界面为指纹支付界面为例,终端的某应用在进行支付时需要指纹识别,终端显示该应用的指纹录入界面,也即是支付界面,以提示用户可以录入指纹进行身份认证。当用户录入指纹,且身份认证成功时,终端执行支付功能。Taking the fingerprint input interface as the fingerprint payment interface as an example, an application of the terminal needs fingerprint identification when performing payment, and the terminal displays the fingerprint input interface of the application, that is, a payment interface, to prompt the user to input a fingerprint for identity authentication. When the user enters a fingerprint and the identity authentication is successful, the terminal performs a payment function.
结合上述指定状态的具体实现形式,步骤201可以实现为:当指定状态为锁屏状态时,终端通过检测是否显示锁屏界面,来判断终端是否处于指定状态。若检测出终端显示锁屏 界面,则终端处于指定状态;若检测出终端未显示锁屏界面,则终端未处于指定状态。锁屏界面可以由终端默认设置,也可以由用户自定义设置,本申请实施例对此不作限定。In combination with the specific implementation of the foregoing specified state, step 201 can be implemented as follows: when the specified state is the lock screen state, the terminal determines whether the terminal is in the designated state by detecting whether the lock screen interface is displayed. If it is detected that the terminal displays the lock screen interface, the terminal is in the specified state; if it is detected that the terminal does not display the lock screen interface, the terminal is not in the designated state. The lock screen interface may be set by default by the terminal, or may be customized by the user. This embodiment of the present application does not limit this.
结合上述指定状态的具体实现形式,步骤201还可以实现为:当指定状态为终端的当前显示界面为指纹录入界面的状态时,终端通过判断当前显示界面是否包括预设关键词,来判断终端是否处于指定状态。若判断出当前显示界面包括预设关键词,则终端处于指定状态;若判断出当前显示界面不包括预设关键词,则判断终端未处于指定状态。上述预设关键词可以包括“付款”、“支付”、“订单”、“转账”等等,本申请实施例对此不作限定。In combination with the specific implementation of the foregoing specified state, the step 201 may be implemented as follows: when the specified state is the state in which the current display interface of the terminal is the fingerprint input interface, the terminal determines whether the terminal is determined by determining whether the current display interface includes a preset keyword. Is in the specified state. If it is determined that the current display interface includes the preset keyword, the terminal is in the specified state; if it is determined that the current display interface does not include the preset keyword, it is determined that the terminal is not in the designated state. The foregoing preset keywords may include “payment”, “payment”, “order”, “transfer”, and the like, which are not limited in the embodiment of the present application.
终端处于指定状态时,可以执行下述步骤202至203,也可以执行下述步骤202至205,还可以执行下述步骤206至207,本申请实施例对此不作限定。When the terminal is in the specified state, the following steps 202 to 203 may be performed, and the following steps 202 to 205 may be performed, and the following steps 206 to 207 may also be performed, which are not limited in this embodiment of the present application.
步骤202,若终端处于指定状态,且检测到握持操作,则确定该握持操作的握持手势,并预测该握持手势对应的触摸落点区域。Step 202: If the terminal is in the designated state and the holding operation is detected, determining a holding gesture of the holding operation, and predicting a touch landing area corresponding to the holding gesture.
握持手势是指用户对终端执行握持操作时所采用的手势。握持手势可以包括左手握持、右手握持和双手握持。触摸落点区域是指用户对触摸显示屏进行触摸操作时,用户的手指与触摸显示屏之间的接触概率大于预设概率的区域。另外,本申请实施例对触摸落点区域的形状、面积均不作限定。The holding gesture refers to a gesture used by the user to perform a holding operation on the terminal. The grip gesture can include a left hand grip, a right hand grip, and a two-hand grip. The touch drop area refers to an area where the contact probability between the user's finger and the touch display screen is greater than a preset probability when the user touches the touch display screen. In addition, the shape and the area of the touch landing area are not limited in the embodiment of the present application.
为了检测握持操作,可以在终端边缘配备热感应器,由于人的体温与终端的温度不同,可以通过热感应器感应终端边缘是否有温度变化,从而检测是否存在握持操作。之后,终端根据进而握持操作的握持手势,进一步确定该握持手势对应的确定触摸落点区域。In order to detect the holding operation, a thermal sensor may be disposed at the edge of the terminal. Since the human body temperature is different from the temperature of the terminal, the temperature sensor may be sensed by the thermal sensor to detect whether there is a temperature change, thereby detecting whether there is a holding operation. Thereafter, the terminal further determines the determined touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation.
当终端检测到握持操作时,可以通过热感应器检测得到当前用户的手与终端边缘的接触区域的位置、形状和面积,从而分析得到用户当前的握持手势。When the terminal detects the holding operation, the position, shape, and area of the contact area of the current user's hand and the edge of the terminal may be detected by the thermal sensor, thereby analyzing the current holding gesture of the user.
在一种可能的实现方式中,当终端检测到第一接触面积与第二接触面积之间的差值大于预设阈值,且第一接触面积大于第二接触面积时,确定当前的握持手势为左手握持。其中,第一接触面积是指用户的手与左侧边的接触区域的面积,第二接触面积是指用户的手与右侧边的接触区域的面积。预设阈值可以根据实际需求设定,本申请实施例对此不作限定。In a possible implementation manner, when the terminal detects that the difference between the first contact area and the second contact area is greater than a preset threshold, and the first contact area is greater than the second contact area, determining the current holding gesture Hold for the left hand. The first contact area refers to the area of the contact area of the user's hand and the left side, and the second contact area refers to the area of the contact area of the user's hand and the right side. The preset threshold may be set according to actual requirements, which is not limited in this embodiment of the present application.
在另一种可能的实现方式中,当终端检测到第一接触面积与第二接触面积之间的差值大于预设阈值,且第一接触面积小于第二接触面积时,确定当前的握持手势为右手握持。In another possible implementation manner, when the terminal detects that the difference between the first contact area and the second contact area is greater than a preset threshold, and the first contact area is smaller than the second contact area, determining the current hold The gesture is held by the right hand.
在另一种可能的实现方式中,当终端检测到第一接触面积与第二接触面积之间的差值小于预设阈值,且第一接触面积小于第二接触面积时,确定当前的握持手势为双手握持。In another possible implementation manner, when the terminal detects that the difference between the first contact area and the second contact area is less than a preset threshold, and the first contact area is smaller than the second contact area, determining the current grip Gestures are held by both hands.
由于用户的握持手势不同时,该用户对触摸显示屏进行的触摸操作时的触摸落点区域则可能不同,因而可以根据握持手势,确定对该触摸显示屏的触摸操作的触摸落点区域。Since the touch gesture area of the touch display screen of the user may be different when the user's grip gesture is different, the touch drop area of the touch operation of the touch display screen may be determined according to the grip gesture. .
在实际实施中,在根据握持手势,确定对该触摸显示屏的触摸操作的触摸落点区域时,可以但不限于有以下两种方式:In an actual implementation, when the touch drop area of the touch operation on the touch display screen is determined according to the holding gesture, the following two methods may be used:
第一种可能的实现方式中,根据该握持手势,预测用户的手指落点范围,将该手指落点范围确定为触摸落点区域。In a first possible implementation manner, according to the holding gesture, a user's finger landing range is predicted, and the finger landing range is determined as a touch landing area.
在一种可能实现方式中,根据该握持手势,终端预测用户的手指落点范围时可以根据手与终端触摸显示屏的接触位置以及预设手指长度,将以该接触位置的起始点作为圆心、以该预设手指长度为半径的扇形区域确定为该用户的手指落点范围。当用户需要执行触摸操作时,用户的虎口会按压到终端触摸显示屏,该虎口与终端触摸显示屏之间的接触位置也即上述手与终端触摸显示屏之间的触摸位置。该预设手指长度可以是系统默认,也可以由用户根据自己的手指长度预先设置。系统默认的预设手指长度可以根据一般用户的反馈得到。当然,该扇形区域的角度也可以根据用户自身的使用习惯设置。In a possible implementation manner, according to the holding gesture, when the terminal predicts the user's finger landing range, the terminal may use the starting point of the contact position as the center according to the contact position of the hand and the terminal touching the display screen and the preset finger length. The sector area having the radius of the preset finger is determined as the finger drop range of the user. When the user needs to perform a touch operation, the user's tiger mouth will press to the terminal touch display screen, and the contact position between the tiger mouth and the terminal touch display screen is the touch position between the hand and the terminal touch display screen. The preset finger length may be the system default or may be preset by the user according to the length of his finger. The system default preset finger length can be obtained based on feedback from general users. Of course, the angle of the sector area can also be set according to the user's own usage habits.
第一种方式在具体实施中可能有以下三种场景:The first way may have the following three scenarios in the specific implementation:
当该握持手势指示当前终端被用户左手握持时,可以预测用户的左手手指可能落在触摸显示屏上的区域,即用户的左手手指落点范围,将该左手手指落点范围确定为触摸落点区域;或,When the holding gesture indicates that the current terminal is held by the user's left hand, it is possible to predict an area where the user's left hand finger may fall on the touch display screen, that is, the user's left hand finger drop point range, and determine the left hand finger drop point range as a touch. Falling area; or,
当该握持手势指示当前终端被用户右手握持时,可以预测用户的右手手指可能落在触摸显示屏上的区域,即用户的右手手指落点范围,将该右手手指落点范围确定为触摸落点区域;或,When the holding gesture indicates that the current terminal is held by the right hand of the user, it may be predicted that the right hand finger of the user may fall on the area on the touch display screen, that is, the right hand finger drop range of the user, and the right hand finger drop point range is determined as a touch. Falling area; or,
当该握持手势指示当前终处于被用户双手握持时,可以预测用户的双手手指可能落在触摸显示屏上的区域,即用户的双手手指落点范围,可以将左手手指落点范围,或右手手指落点范围,或左手和右手手指落点范围确定为触摸落点区域。When the holding gesture indicates that the user is currently being held by both hands of the user, it is possible to predict an area where the user's two-handed finger may fall on the touch display screen, that is, the user's two-hand finger landing range, and the left-hand finger may fall within the range, or The range of the right hand finger drop point, or the left hand and right hand finger drop point range is determined as the touch drop point area.
上述当该握持手势指示当前终端被用户双手握持时,在实际实施中还可以根据用户自己的使用习惯设置惯用手,将用户的惯用手手指落点范围确定为触摸落点区域。When the holding gesture indicates that the current terminal is held by the user's hands, in actual implementation, the dominant hand may be set according to the user's own usage habits, and the user's dominant finger drop point range is determined as the touch landing area.
第二种方式、根据该握持手势和触摸操作记录,将该触摸操作记录中该握持手势对应的触摸操作次数大于第一预设阈值的区域确定为触摸落点区域。In a second manner, according to the holding gesture and the touch operation record, the area of the touch operation record in which the number of touch operations corresponding to the holding gesture is greater than the first preset threshold is determined as the touch landing area.
终端可以对用户对触摸显示屏进行的触摸操作时的握持手势、触摸操作的区域和触摸操作相应的功能进行记录,得到触摸操作记录。终端还可以根据所记录的握持手势对触摸操作进行分类统计,得到每个握持手势对应的触摸操作的区域,以及每个区域内进行的触摸操作的次数。终端可以基于分析得到的握持手势,在触摸操作记录中查询当前握持手势对应的触摸操作记录,从而可以得到当前握持手势对应的触摸操作次数大于第一预设阈值的区域,并将该区域确定为触摸落点区域。The terminal can record the holding gesture, the area of the touch operation, and the corresponding function of the touch operation when the user performs a touch operation on the touch display screen, and obtain a touch operation record. The terminal may also perform a classification and statistics on the touch operation according to the recorded holding gesture, obtain an area of the touch operation corresponding to each holding gesture, and the number of touch operations performed in each area. The terminal may query the touch operation record corresponding to the current holding gesture in the touch operation record based on the grip gesture obtained by the analysis, so that the area of the touch operation corresponding to the current holding gesture is greater than the first preset threshold, and the The area is determined to be a touch drop area.
例如,当该握持手势指示当前终端被用户左手握持时,终端可以在触摸操作记录中查询终端处于被用户左手握持时的触摸操作记录,并在查询结果中,将触摸操作次数大于第一预设阈值的区域确定为触摸落点区域。当该握持手势指示当前终端被用户右手握持和被用户双手握持时,终端进行查询确定触摸落点区域的步骤与上述被用户左手握持时同理,本申请实施例对此不多做赘述。For example, when the holding gesture indicates that the current terminal is held by the user's left hand, the terminal may query the touch operation record to record the touch operation when the terminal is held by the user's left hand, and in the query result, the number of touch operations is greater than the first A region of a predetermined threshold is determined as a touch drop region. When the holding gesture indicates that the current terminal is held by the user's right hand and is held by the user's two hands, the step of the terminal to perform the query to determine the touch landing area is the same as the above-mentioned holding by the user's left hand. Make a statement.
结合参考图3,其示出了本申请一个实施例提供的触摸落点区域的界面示意图。终端被用户左手握持,终端确定左手握持对应的触摸落点区域31。Referring to FIG. 3, a schematic diagram of an interface of a touch drop area provided by an embodiment of the present application is shown. The terminal is held by the user's left hand, and the terminal determines that the left hand holds the corresponding touch drop area 31.
当终端未处于指定状态时,也即终端不存在指纹识别需求时,终端将该触摸显示屏下方设置的指纹识别模组置于休眠状态,当该指纹识别模组处于休眠状态时,该指纹识别模组不对用户对触摸显示屏的触摸操作进行指纹采集并识别。通过上述方式,可以避免指纹识别模组始终处于工作状态,从而节省终端的功耗。When the terminal is not in the specified state, that is, the terminal does not have the fingerprint identification requirement, the terminal puts the fingerprint recognition module set under the touch display screen into a sleep state, and when the fingerprint recognition module is in the sleep state, the fingerprint recognition The module does not fingerprint and recognize the user's touch operation on the touch display screen. In the above manner, the fingerprint recognition module can be prevented from being always in the working state, thereby saving power consumption of the terminal.
步骤203,终端开启该握持手势对应的触摸落点区域的指纹识别功能。Step 203: The terminal starts the fingerprint recognition function of the touch landing area corresponding to the holding gesture.
由于该终端支持全屏指纹识别,用户可以对触摸显示屏任一区域进行触摸操作以进行指纹录入,而每当终端需要进行指纹录入时,均开启全屏指纹识别功能,可能会造成较大的功耗。为了降低功耗,可以确定用户对触摸显示屏的触摸操作的触摸落点区域,从而只开启该触摸落点区域的指纹识别功能。Since the terminal supports full-screen fingerprint recognition, the user can perform touch operation on any area of the touch display screen for fingerprint input, and when the terminal needs to perform fingerprint input, the full-screen fingerprint recognition function is turned on, which may cause large power consumption. . In order to reduce the power consumption, the touch drop area of the touch operation of the touch display screen can be determined, so that only the fingerprint recognition function of the touch drop area is turned on.
当终端的某应用需要进行指纹识别的时候,可以开启用户进行触摸操作的触摸落点区域的指纹识别功能,以便于在该触摸落点区域内对用户的指纹进行采集,并将采集到的指纹与预设指纹进行特征点比较,从而完成指纹识别。这样只开启该触摸操作的触摸落点区域的指纹识别功能,有效地避免了全屏开启指纹识别功能造成的功耗较大的问题,降低了终端的电量消耗,延长了终端硬件的使用寿命。When an application of the terminal needs to perform fingerprint recognition, the fingerprint recognition function of the touch drop area of the user performing the touch operation may be turned on, so that the fingerprint of the user is collected in the touch drop area, and the collected fingerprint is collected. The feature points are compared with the preset fingerprints to complete fingerprint recognition. In this way, only the fingerprint recognition function of the touch landing area of the touch operation is opened, which effectively avoids the problem of large power consumption caused by the full screen opening fingerprint recognition function, reduces the power consumption of the terminal, and prolongs the service life of the terminal hardware.
可选地,终端开启该触摸落点区域的指纹识别功能之后,还可以生成提示信息,该提示信息用于提示用户在触摸落点区域进行指纹的录入。示例性地,终端框选出上述触摸落点区域,以提示用户录入指纹的位置。通过上述方式,可以避免用户触摸到触摸落点区域之外的其它位置时导致指纹采集失败的情况发生,提升指纹采集的成功率。Optionally, after the terminal starts the fingerprint recognition function of the touch drop area, the prompt information may be generated, where the prompt information is used to prompt the user to perform fingerprint input in the touch drop area. Illustratively, the terminal frame selects the touch drop area described above to prompt the user to enter the location of the fingerprint. In the above manner, it is possible to prevent the occurrence of fingerprint collection failure when the user touches other locations outside the touch point area, and the success rate of fingerprint collection is improved.
在具体实施时,采用图2所示实施例确定出的触摸落点区域与用户对触摸显示屏进行的触摸操作实际所在的区域存在偏差,示例性地,实际使用终端时,用户也可以一只握持终端,另一只手的手指对触摸显示屏进行触摸操作,此时开启指纹识别功能的触摸落点区域与实际存在偏差,导致终端在该触摸落点区域内未检测到触摸操作,且检测到对触摸显示屏的其它区域的触摸操作的情况出现,在这种情况下,终端开启根据握持手势确定的触 摸落点区域的指纹识别功能后,将无法对用户的指纹进行采集并识别,从而导致身份认证失败。In a specific implementation, the touch drop area determined by the embodiment shown in FIG. 2 is different from the actual touch area of the touch display screen performed by the user. For example, when the terminal is actually used, the user may also Holding the terminal, the finger of the other hand touches the touch display screen, and the touch drop area of the fingerprint recognition function is deviated from the actual one, so that the terminal does not detect the touch operation in the touch drop area, and A situation in which a touch operation on other areas of the touch display screen is detected occurs. In this case, after the terminal turns on the fingerprint recognition function of the touch drop area determined according to the holding gesture, the user's fingerprint cannot be collected and recognized. , which causes authentication to fail.
为了解决上述因开启指纹识别功能的触摸落点区域与实际存在偏差,导致身份认证失败的问题,在图2所示实施例提供的一个可选实施例中,该指纹识别功能开启方法还可以包括如下步骤:In an optional embodiment provided by the embodiment shown in FIG. 2, the method for opening the fingerprint identification function may further include the method for enabling the fingerprint identification function to be included in the foregoing embodiment. The following steps:
步骤204,当在预设时长内未检测到在该握持姿势对应的触摸落点区域的第一触摸操作,且检测到在其他区域的第二触摸操作时,根据该第二触摸操作的压力值,确定该第二触摸操作的触摸落点区域。Step 204: When the first touch operation of the touch landing area corresponding to the holding posture is not detected within the preset time length, and the second touch operation of the other area is detected, according to the pressure of the second touch operation a value that determines a touch drop area of the second touch operation.
预设时长可以根据实际需求设定,本申请实施例对此不作限定。示例性地,预设时长为2秒。其他区域是触摸显示屏中除该握持姿势对应的触摸落点区域之外的区域。The preset duration can be set according to actual requirements, which is not limited in this embodiment of the present application. Illustratively, the preset duration is 2 seconds. The other area is an area other than the touch drop area corresponding to the grip gesture in the touch display screen.
可选地,根据第二触摸操作的压力值,确定该第二触摸操作的触摸落点区域实现为如下几个子步骤:Optionally, determining the touch landing area of the second touch operation is implemented as the following sub-steps according to the pressure value of the second touch operation:
步骤204a,测量第二触摸操作的压力值;Step 204a, measuring a pressure value of the second touch operation;
压力值用于衡量用户作用在上述其他区域的第二触摸操作的压力的大小。终端通过压力感应器对触摸操作的压力值进行测量,从而可以将该压力值与第二预设阈值进行比较,确定当前触摸操作是否为用于指纹识别的触摸操作。The pressure value is used to measure the magnitude of the pressure of the second touch operation of the user acting on the other areas described above. The terminal measures the pressure value of the touch operation through the pressure sensor, so that the pressure value can be compared with the second preset threshold to determine whether the current touch operation is a touch operation for fingerprint recognition.
在一种可能实现方式中,当终端检测到对该触摸显示屏的触摸操作时,该终端上配备的压力感应器中的压敏电阻可以随着该触摸操作发生形变,并因为形变使得该压敏电阻的电阻值发生变化,从而可以根据电流或者电压变化测量得到当前触摸操作的压力值。In a possible implementation manner, when the terminal detects a touch operation on the touch display screen, the varistor in the pressure sensor provided on the terminal may deform along with the touch operation, and the pressure is caused by the deformation. The resistance value of the varistor changes, so that the pressure value of the current touch operation can be measured according to the current or voltage change.
在一种可能实现方式中,当终端检测到对该触摸显示屏的触摸操作时,该终端上配备的压力感应器中的膜片可以随着该触摸操作发生位移,并因为该位移使得该膜片的电阻值发生变化,从而可以根据电流或者电压变化测量得到当前触摸操作的压力值。In a possible implementation manner, when the terminal detects a touch operation on the touch display screen, the diaphragm in the pressure sensor provided on the terminal may be displaced along with the touch operation, and the film is displaced due to the displacement The resistance value of the chip changes so that the pressure value of the current touch operation can be measured according to the current or voltage change.
上述实现方式均可以实现通过压力感应器对用户对触摸显示屏进行的触摸操作进行压力值测量,当然在实际实施中还可能有其它类型的压力感应器,本申请实施例对此不加以限定。The above-mentioned implementations can be used to measure the pressure value of the touch operation performed by the user on the touch display screen by the pressure sensor. Of course, there may be other types of pressure sensors in the actual implementation, which is not limited in the embodiment of the present application.
步骤204b,当第二触摸操作的压力值大于第二预设阈值时,获取第二触摸操作的压力中心点的坐标;Step 204b, when the pressure value of the second touch operation is greater than the second preset threshold, acquiring coordinates of the pressure center point of the second touch operation;
第二预设阈值可以根据用户的使用习惯设置。该第二预设阈值决定了该触摸操作的功能设定。当触摸操作的压力值大于或小于或等于该第二预设阈值时,该触摸操作可以对应不同的功能。压力中心点可以是第二触摸操作对应的触摸位置的几何中心,也可以是压力值最大的点。The second preset threshold may be set according to the user's usage habits. The second preset threshold determines the function setting of the touch operation. When the pressure value of the touch operation is greater than or less than or equal to the second preset threshold, the touch operation may correspond to a different function. The pressure center point may be the geometric center of the touch position corresponding to the second touch operation, or may be the point with the largest pressure value.
在本申请实施例中,触摸操作的压力值大于第二预设阈值可以作为终端需要进行指纹识别时开启指纹识别功能的一个判断条件。终端测量得到触摸操作的压力值时,可以获取该触摸操作的压力中心点的坐标,该压力中心点可以是该触摸操作的造成的最大形变点或者最大位移量点,也可以是该触摸操作的压力的作用点。由于该压力中心点一般位于用户的指纹的中心位置,因而可以获取该触摸操作的压力中心点的坐标,并基于该压力中心点的坐标,确定该触摸操作的触摸落点区域。终端接收到该触摸操作,对该触摸操作的压力值进行测量并分析该触摸操作的压力,可以得到该压力的压力中心点的坐标。In the embodiment of the present application, the pressure value of the touch operation is greater than the second preset threshold, which may be used as a judgment condition for the fingerprint recognition function to be enabled when the terminal needs to perform fingerprint recognition. When the terminal measures the pressure value of the touch operation, the coordinates of the pressure center point of the touch operation may be acquired, and the pressure center point may be the maximum deformation point or the maximum displacement point caused by the touch operation, or may be the touch operation. The point of action of stress. Since the pressure center point is generally located at the center position of the user's fingerprint, the coordinates of the pressure center point of the touch operation can be acquired, and based on the coordinates of the pressure center point, the touch drop area of the touch operation is determined. The terminal receives the touch operation, measures the pressure value of the touch operation, and analyzes the pressure of the touch operation, and obtains the coordinates of the pressure center point of the pressure.
步骤204c,将以压力中心点的坐标为中心、面积为预设面积的区域确定为第二触摸操作的触摸落点区域。In step 204c, an area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
第二预设阈值可以根据实际需求设定,本申请实施例对此不作限定。预设面积可以根据所要采集的指纹图像的面积实际确定,本申请实施例对此不作限定。另外,本申请实施例对第二触摸操作的触摸落点区域的面积、形状均不作限定。在本申请实施例中,终端可以将以压力中心点的坐标为中心、面积为预设面积的区域确定为触摸落点区域。在对用户的指纹进行研究分析后,得到指纹的大小一般小于1平方厘米(cm 2)的结论,因而该预设面积在具体实施中可以以1cm 2作为参考。该触摸落点区域可以是圆形区域,可以是其它形 状区域,本申请对此不作限定。 The second preset threshold may be set according to actual requirements, which is not limited by the embodiment of the present application. The preset area may be determined according to the area of the fingerprint image to be collected, which is not limited in this embodiment of the present application. In addition, the area and shape of the touch drop area of the second touch operation are not limited in the embodiment of the present application. In the embodiment of the present application, the terminal may determine the area centered on the coordinate of the pressure center point and the area of the preset area as the touch drop area. After researching and analyzing the fingerprint of the user, it is concluded that the size of the fingerprint is generally less than 1 square centimeter (cm 2 ), and thus the predetermined area can be referenced by 1 cm 2 in a specific implementation. The touch landing area may be a circular area, and may be other shape areas, which is not limited in this application.
步骤205,开启第二触摸操作的触摸落点区域的指纹识别功能。Step 205: Turn on the fingerprint recognition function of the touch drop area of the second touch operation.
若用户并未在预测出的握持姿势对应的触摸落点区域进行指纹录入,而是触摸了除握持姿势对应的触摸落点区域之外的其他区域,此时终端重新确定触摸落点区域,并将新确定出的触摸落点区域的指纹识别功能开启,从而降低了终端指纹识别的失败次数,提高了终端的指纹识别功能的实用性。另外,终端还可以关闭握持手势对应的触摸落点区域的指纹识别功能,以节省终端的功耗。If the user does not perform fingerprint entry in the touch drop area corresponding to the predicted grip posture, but touches other areas than the touch drop area corresponding to the grip gesture, the terminal re-determines the touch drop area. And the fingerprint identification function of the newly determined touch drop area is turned on, thereby reducing the number of failures of the terminal fingerprint recognition, and improving the practicability of the fingerprint recognition function of the terminal. In addition, the terminal can also turn off the fingerprint recognition function of the touch landing area corresponding to the holding gesture to save power consumption of the terminal.
当用户录入指纹时,可能并没有对终端进行握持操作,例如,终端被放置在桌子上,下面将对该种情况下如何准确开启触摸显示屏中的部分区域的指纹识别功能进行讲解。When the user enters the fingerprint, the terminal may not be gripped. For example, the terminal is placed on the table, and the fingerprint recognition function of how to accurately turn on the partial area in the touch display screen will be explained below.
步骤206,若终端处于指定状态,且未检测到握持操作,且检测到对该触摸显示屏的第三触摸操作时,根据所述第三触摸操作的压力值,确定所述第三触摸操作的触摸落点区域。Step 206: If the terminal is in the specified state, and the holding operation is not detected, and the third touch operation on the touch display screen is detected, determining the third touch operation according to the pressure value of the third touch operation. Touch the drop area.
用户可以将终端放置于其他物体(例如桌子)上,并对终端的触摸显示屏进行触摸操作,在这时,也即是终端未检测到握持操作,且检测到对该触摸显示屏的触摸操作时,终端无法根据用户的握持手势,确定对触摸显示屏的触摸操作的触摸落点区域,则可以对该触摸操作进行分析,并根据该触摸操作的压力值,确定该触摸操作的触摸落点区域,并开启该触摸操作的触摸落点区域的指纹识别功能,以实现身份认证。The user can place the terminal on other objects (such as a table) and perform a touch operation on the touch display screen of the terminal. At this time, the terminal does not detect the grip operation, and detects the touch on the touch display screen. During operation, the terminal cannot determine the touch drop area of the touch operation on the touch display screen according to the user's holding gesture, and the touch operation may be analyzed, and the touch of the touch operation is determined according to the pressure value of the touch operation. The landing area is opened, and the fingerprint recognition function of the touch drop area of the touch operation is turned on to implement identity authentication.
终端的触摸显示屏下方可以配备有压力感应器,当用户对触摸显示屏进行触摸操作时,该终端配备的压力感应器可以基于形变或位移量,对该触摸操作的压力值进行测量,当该触摸操作的压力值不同时,该触摸操作对应的功能可以不同。终端可以基于不同的压力值对该触摸操作对应的功能进行确定,并对该触摸操作进行响应,以实现相应的功能。A pressure sensor can be arranged under the touch display of the terminal. When the user touches the touch display, the pressure sensor provided by the terminal can measure the pressure value of the touch operation based on the deformation or the displacement amount. When the pressure value of the touch operation is different, the function corresponding to the touch operation may be different. The terminal may determine the function corresponding to the touch operation based on different pressure values, and respond to the touch operation to implement the corresponding function.
终端根据触摸操作的压力值,确定该触摸操作的触摸落点区域的具体实现为如下几个子步骤:The terminal determines, according to the pressure value of the touch operation, the specific implementation of the touch drop area of the touch operation as the following sub-steps:
步骤206a,测量第三触摸操作的压力值;Step 206a, measuring a pressure value of the third touch operation;
步骤206b,当第二触摸操作的压力值大于第三预设阈值时,获取第三触摸操作的压力中心点的坐标;Step 206b, when the pressure value of the second touch operation is greater than the third preset threshold, acquiring coordinates of the pressure center point of the third touch operation;
步骤206c,将以第三触摸操作的压力中心点的坐标为中心、面积为预设面积的区域确定为第三触摸操作的触摸落点区域。In step 206c, the area centered on the coordinate of the pressure center point of the third touch operation and the area of the preset area is determined as the touch drop area of the third touch operation.
步骤206a至步骤206c的解释说明可以参考步骤204a至步骤204c。此处不作赘述。The explanation of steps 206a to 206c can refer to steps 204a to 204c. I will not repeat them here.
步骤207,开启第三触摸操作的触摸落点区域的指纹识别功能。 Step 207, the fingerprint recognition function of the touch landing area of the third touch operation is turned on.
若用户并未对终端执行握持操作,而是直接触摸了触摸显示屏,此时终端根据接收的触摸操作确定触摸落点区域,并将确定出的触摸落点区域的指纹识别功能开启,从而降低了终端指纹识别的失败次数,提高了终端的指纹识别功能的实用性。If the user does not perform the holding operation on the terminal, but directly touches the touch display screen, the terminal determines the touch landing area according to the received touch operation, and turns on the fingerprint recognition function of the determined touch drop area, thereby The number of failures of terminal fingerprint recognition is reduced, and the utility of the fingerprint recognition function of the terminal is improved.
本申请通过在终端检测到握持操作时,根据握持操作的握持手势,预测握持手势对应的触摸落点区域,从而只开启触摸落点区域的指纹识别功能,有效地避免了全屏开启指纹识别功能造成的功耗较大的问题,降低了终端的电量消耗,延长了终端硬件的使用寿命。The present invention predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the grip operation is detected by the terminal, so that only the fingerprint recognition function of the touch drop area is turned on, thereby effectively preventing the full screen from being opened. The problem of large power consumption caused by the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
另外,在终端未检测到握持操作,且终端需要录入指纹时,通过压力感应器感应触摸操作的压力值,并根据压力值确定该触摸操作的触摸落点区域,从而只开启该触摸落点区域的指纹识别功能,使得终端未被握持时也能进行指纹识别以实现相应的功能,且不会造成较大的功耗。In addition, when the terminal does not detect the holding operation, and the terminal needs to input the fingerprint, the pressure sensor senses the pressure value of the touch operation, and determines the touch landing area of the touch operation according to the pressure value, so that only the touch drop point is turned on. The fingerprint recognition function of the area enables fingerprint recognition to achieve the corresponding function when the terminal is not held, and does not cause large power consumption.
另外,当确定的触摸操作的触摸落点区域和实际触摸操作所在的区域存在偏差,导致指纹录入失败时,还可以通过压力感应器重新确定触摸落点区域,并开启重新确定的触摸落点区域的指纹识别功能,从而降低了终端指纹识别的失败次数,提高了终端的指纹识别功能的实用性。In addition, when there is a deviation between the touch drop area of the determined touch operation and the area where the actual touch operation is located, causing the fingerprint input to fail, the touch drop area may be re-determined by the pressure sensor, and the re-determined touch drop area is turned on. The fingerprint recognition function reduces the number of failures of the terminal fingerprint recognition and improves the practicality of the fingerprint recognition function of the terminal.
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。All the foregoing optional technical solutions may be used in any combination to form an optional embodiment of the present application, and details are not described herein again.
图4是本申请实施例提供的一种指纹识别功能开启装置结构示意图,该装置具有实现上述方法示例中的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置包括:操作检测模块401、确定模块402和开启模块403。FIG. 4 is a schematic structural diagram of a fingerprint identification function enabling apparatus according to an embodiment of the present application. The apparatus has the functions in the foregoing method, and the functions may be implemented by hardware or may be implemented by hardware. The device includes an operation detection module 401, a determination module 402, and an opening module 403.
操作检测模块401,用于检测到握持操作。The operation detecting module 401 is configured to detect a holding operation.
确定模块402,用于确定该握持操作的握持手势,并预测该握持手势对应的触摸落点区域;a determining module 402, configured to determine a holding gesture of the holding operation, and predict a touch landing area corresponding to the holding gesture;
开启模块403,用于开启该握持手势对应的触摸落点区域的指纹识别功能。The module 403 is configured to enable the fingerprint recognition function of the touch landing area corresponding to the holding gesture.
在一种可能实现方式中,请参考图5,该装置还包括:状态检测模块404。In a possible implementation manner, referring to FIG. 5, the apparatus further includes: a state detecting module 404.
状态检测模块404,用于检测该终端是否处于指定状态,该指定状态是指需要进行指纹录入来触发下一步处理的状态。The state detecting module 404 is configured to detect whether the terminal is in a specified state, where the specified state refers to a state in which fingerprint input is required to trigger the next processing.
该操作检测模块401,用于若所述终端处于所述指定状态,则从所述检测到握持操作的步骤开始执行。在一种可能实现方式中,请参考图5,该装置还包括:状态设置模块405。The operation detecting module 401 is configured to start from the step of detecting the holding operation if the terminal is in the designated state. In a possible implementation manner, referring to FIG. 5, the apparatus further includes: a state setting module 405.
状态设置模块405,用于若所述终端未处于所述指定状态,则设置所述指纹识别模组为休眠状态。The state setting module 405 is configured to set the fingerprint recognition module to a sleep state if the terminal is not in the designated state.
在一种可能实现方式中,该确定模块402用于:根据该握持手势,预测手指落点范围,将该手指落点范围确定为握持手势对应的触摸落点区域。In a possible implementation, the determining module 402 is configured to: according to the holding gesture, predict a finger landing range, and determine the finger landing range as a touch landing area corresponding to the holding gesture.
在一种可能实现方式中,该确定模块402用于:根据手与终端触摸显示屏的接触位置以及预设手指长度,将以该接触位置的起始点作为圆心、以该预设手指长度为半径的扇形区域确定为该手指落点范围。In a possible implementation, the determining module 402 is configured to: use a starting point of the contact position as a center and a radius of the preset finger according to a contact position of the hand and the terminal touch display screen and a preset finger length. The sector area is determined as the finger drop range.
在一种可能实现方式中,该确定模块402用于:根据该握持手势和触摸操作记录,将该触摸操作记录中该握持手势对应的触摸操作次数大于第一预设阈值的区域确定为握持手势对应的触摸落点区域。In a possible implementation manner, the determining module 402 is configured to determine, according to the holding gesture and the touch operation record, an area of the touch operation record in which the number of touch operations corresponding to the holding gesture is greater than a first preset threshold is determined as Hold the touch point corresponding to the touch point area.
在一种可能实现方式中,该终端包括压力感应器;In a possible implementation, the terminal includes a pressure sensor;
该确定模块402还用于:当预设时长内,该触摸落点区域未检测到第一触摸操作,且在其他区域检测到第二触摸操作时,根据该第二触摸操作的压力值,确定该第二触摸操作的触摸落点区域;The determining module 402 is further configured to: when the touch drop area does not detect the first touch operation within the preset duration, and when the second touch operation is detected in the other area, determine according to the pressure value of the second touch operation a touch drop area of the second touch operation;
该开启模块403,还用于开启该第二触摸操作的触摸落点区域的指纹识别功能。The opening module 403 is further configured to enable a fingerprint recognition function of the touch landing area of the second touch operation.
在一种可能实现方式中,该确定模块302包括:In a possible implementation, the determining module 302 includes:
测量该第二触摸操作的压力值;Measuring a pressure value of the second touch operation;
当该第二触摸操作的压力值大于第二预设阈值时,获取该第二触摸操作的压力中心点的坐标;Obtaining a coordinate of a pressure center point of the second touch operation when a pressure value of the second touch operation is greater than a second preset threshold;
将以该压力中心点的坐标为中心、面积为预设面积的区域确定为该第二触摸操作的触摸落点区域。An area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
在一种可能实现方式中,该终端包括压力感应器;In a possible implementation, the terminal includes a pressure sensor;
该确定模块402还用于:当该终端未检测到握持操作,且该终端检测到对该触摸显示屏的第三触摸操作时,根据该第三触摸操作的压力值,确定该第三触摸操作的触摸落点区域;The determining module 402 is further configured to: when the terminal does not detect the holding operation, and the terminal detects the third touch operation on the touch display screen, determine the third touch according to the pressure value of the third touch operation The touch drop area of the operation;
该开启模块403,还用于开启该第三触摸操作的触摸落点区域的指纹识别功能。The opening module 403 is further configured to enable a fingerprint recognition function of the touch landing area of the third touch operation.
本申请提供的装置通过在终端检测到握持操作时,根据握持操作的握持手势,预测握持手势对应的触摸落点区域,从而只开启触摸落点区域的指纹识别功能,有效地避免了全屏开启指纹识别功能造成的功耗较大的问题,降低了终端的电量消耗,延长了终端硬件的使用寿命。The device provided by the present application predicts the touch drop area corresponding to the grip gesture according to the grip gesture of the grip operation when the terminal detects the grip operation, thereby opening only the fingerprint recognition function of the touch drop region, thereby effectively avoiding The problem of large power consumption caused by the full screen turning on the fingerprint recognition function reduces the power consumption of the terminal and prolongs the service life of the terminal hardware.
需要说明的是:上述实施例提供的指纹识别功能开启装置在开启指纹识别功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的指纹识别功能开启的装置与指纹识别功能开启 的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the fingerprint recognition function is enabled in the above-mentioned embodiment, the fingerprint recognition function is only used to illustrate the division of each functional module. In actual applications, the functions may be assigned different functions according to needs. The module is completed, dividing the internal structure of the device into different functional modules to perform all or part of the functions described above. In addition, the device for enabling the fingerprint recognition function provided by the above embodiment is the same as the method for opening the fingerprint recognition function, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
参考图6和图7所示,其示出了本申请实施例提供的一种终端500的结构方框图。该终端500可以是手机、平板电脑、笔记本电脑和电子书等。本申请中的终端500可以包括一个或多个如下部件:处理器510、存储器520和触摸显示屏530。Referring to FIG. 6 and FIG. 7, a block diagram of a structure of a terminal 500 according to an embodiment of the present application is shown. The terminal 500 can be a mobile phone, a tablet, a laptop, an e-book, and the like. Terminal 500 in this application may include one or more of the following components: processor 510, memory 520, and touch display 530.
处理器510可以包括一个或者多个处理核心。处理器510利用各种接口和线路连接整个终端500内的各个部分,通过运行或执行存储在存储器520内的指令、程序、代码集或指令集,以及调用存储在存储器520内的数据,执行终端500的各种功能和处理数据。可选地,处理器510可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器510可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏530所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器510中,单独通过一块芯片进行实现。 Processor 510 can include one or more processing cores. The processor 510 connects various portions of the entire terminal 500 using various interfaces and lines, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 520, and invoking data stored in the memory 520. 500 various functions and processing data. Optionally, the processor 510 may use at least one of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). A form of hardware is implemented. The processor 510 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. The CPU mainly processes the operating system, the user interface, the application, and the like; the GPU is responsible for rendering and rendering of the content that needs to be displayed on the touch screen 530; the modem is used to process wireless communication. It can be understood that the above modem may also be integrated into the processor 510 and implemented by a single chip.
存储器520可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器520包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器520可用于存储指令、程序、代码、代码集或指令集。存储器520可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端500的使用所创建的数据(比如音频数据、电话本)等。The memory 520 may include a random access memory (RAM), and may also include a read-only memory. Optionally, the memory 520 includes a non-transitory computer-readable storage medium. Memory 520 can be used to store instructions, programs, code, code sets, or sets of instructions. The memory 520 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), The instructions for implementing the various method embodiments described below, etc.; the storage data area may store data (such as audio data, phone book) created according to the use of the terminal 500, and the like.
以操作系统为安卓(Android)系统为例,存储器520中存储的程序和数据如图6所示,存储器520中存储有Linux内核层720、系统运行库层740、应用框架层760和应用层780。Linux内核层720为终端500的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层740通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层740中还提供有安卓运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写安卓应用。应用框架层760提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层780中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the operating system as an Android system as an example, the programs and data stored in the memory 520 are as shown in FIG. 6. The memory 520 stores a Linux kernel layer 720, a system runtime layer 740, an application framework layer 760, and an application layer 780. . The Linux kernel layer 720 provides the underlying drivers for various hardware of the terminal 500, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and the like. System runtime layer 740 provides major feature support for Android systems through some C/C++ libraries. For example, the SQLite library provides support for the database, the OpenGL/ES library provides support for 3D graphics, and the Webkit library provides support for the browser kernel. The Android Runtime Library (Android Runtime) is also provided in the System Runtime Layer 740. It mainly provides some core libraries that allow developers to write Android applications using the Java language. The application framework layer 760 provides various APIs that may be used when building an application. Developers can also build their own applications by using these APIs, such as event management, window management, view management, notification management, content providers, Package management, call management, resource management, location management. The application layer 780 runs at least one application, which may be a contact program, an SMS program, a clock program, a camera application, etc. that is provided by the operating system; or an application developed by a third-party developer, such as an instant. Communication programs, photo landscaping programs, etc.
以操作系统为IOS系统为例,存储器520中存储的程序和数据如图7所示,IOS系统包括:核心操作系统层820(Core OS layer)、核心服务层840(Core Services layer)、媒体层860(Media layer)、可触摸层880(Cocoa Touch Layer)。核心操作系统层820包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层840的程序框架所使用。核心服务层840提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层860为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层880为应用程序开发提供了各种常用的界面相关的框架,可触摸层880负责用户在终端500上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、 用户界面UIKit框架、地图框架等等。Taking the operating system as an IOS system as an example, the programs and data stored in the memory 520 are as shown in FIG. 7. The IOS system includes: a core operating system layer 820 (Core OS layer), a core service layer 840 (Core Services layer), and a media layer. 860 (Media layer), touchable layer 880 (Cocoa Touch Layer). The core operating system layer 820 includes an operating system kernel, drivers, and an underlying program framework that provide functionality closer to the hardware for use by the program framework located at the core service layer 840. The core service layer 840 provides system services and/or program frameworks required by the application, such as a Foundation framework, an account framework, an advertising framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and the like. The media layer 860 provides an interface for the audiovisual aspect of the application, such as a graphic image related interface, an audio technology related interface, a video technology related interface, and an audio and video transmission technology wireless play (AirPlay) interface. The touchable layer 880 provides various commonly used interface related frameworks for application development, and the touchable layer 880 is responsible for user touch interaction operations on the terminal 500. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework, and so on.
在图7所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层840中的基础框架和可触摸层880中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。In the framework illustrated in FIG. 7, frameworks related to most applications include, but are not limited to, the base framework in the core service layer 840 and the UIKit framework in the touchable layer 880. The underlying framework provides many basic object classes and data types, providing the most basic system services for all applications, regardless of the UI. The classes provided by the UIKit framework are the basic UI class libraries for creating touch-based user interfaces. iOS applications can provide UI based on the UIKit framework, so it provides the application infrastructure for building user interfaces, drawing , handling and user interaction events, responsive gestures, and more.
触摸显示屏530用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏530通常设置在终端530的前面板。触摸显示屏530可被设计成为全面屏、曲面屏或异型屏。触摸显示屏530还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。其中:The touch display screen 530 is for receiving a touch operation on or near a user using any suitable object such as a finger, a touch pen, and the like, and displaying a user interface of each application. The touch display screen 530 is typically disposed at the front panel of the terminal 530. The touch display 530 can be designed as a full screen, a curved screen, or a profiled screen. The touch screen 530 can also be designed as a combination of a full screen and a curved screen, and the combination of the special screen and the curved screen is not limited in this embodiment. among them:
全面屏Full screen
全面屏可以是指触摸显示屏530占用终端500的前面板的屏占比超过阈值(比如80%或90%或95%)的屏幕设计。屏占比的一种计算方式为:(触摸显示屏530的面积/终端500的前面板的面积)*100%;屏占比的另一种计算方式为:(触摸显示屏530中实际显示区域的面积/终端500的前面板的面积)*100%;屏占比的再一种计算方式为:(触摸显示屏530的对角线/在终端500的前面板的对角线)*100%。示意性的如图8A所示的例子中,终端500的前面板上近乎所有区域均为触摸显示屏530,在终端500的前面板40上,除中框41所产生的边缘之外的其它区域,全部为触摸显示屏530。该触摸显示屏530的四个角可以是直角或者圆角。The full screen may refer to a screen design in which the touch screen 530 occupies a screen of the front panel of the terminal 500 that exceeds a threshold (eg, 80% or 90% or 95%). One calculation method of the screen ratio is: (the area of the touch screen 530 / the area of the front panel of the terminal 500) * 100%; another calculation method of the screen ratio is: (touching the actual display area in the display screen 530) Area/area of the front panel of the terminal 500) *100%; another calculation of the screen ratio is: (the diagonal of the touch screen 530 / the diagonal of the front panel of the terminal 500) * 100% . In the example shown in FIG. 8A, almost all areas on the front panel of the terminal 500 are touch display screens 530, and other areas than the edges generated by the middle frame 41 are on the front panel 40 of the terminal 500. All are touch display screens 530. The four corners of the touch display screen 530 can be right angles or rounded corners.
全面屏还可以是将至少一种前面板部件集成在触摸显示屏530内部或下层的屏幕设计。可选地,该至少一种前面板部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,将传统终端的前面板上的其他部件集成在触摸显示屏530的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏530中每个显示像素中的黑色区域中。由于将至少一种前面板部件集成在了触摸显示屏530的内部,所以全面屏具有更高的屏占比。The full screen may also be a screen design that integrates at least one front panel component inside or below the touch display screen 530. Optionally, the at least one front panel component comprises: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, other components on the front panel of the conventional terminal are integrated in all areas or partial areas of the touch display screen 530, such as splitting the photosensitive elements in the camera into a plurality of photosensitive pixels, each of which is photosensitive. The pixels are integrated in a black area in each display pixel in the touch display screen 530. Since at least one front panel component is integrated inside the touch display screen 530, the full screen has a higher screen ratio.
当然在另外一些实施例中,也可以将传统终端的前面板上的前面板部件设置在终端500的侧边或背面,比如将超声波指纹传感器设置在触摸显示屏530的下方、将骨传导式的听筒设置在终端530的内部、将摄像头设置成位于终端的侧边且可插拔的结构。Of course, in other embodiments, the front panel component on the front panel of the conventional terminal may also be disposed on the side or the back of the terminal 500, such as an ultrasonic fingerprint sensor disposed under the touch display screen 530, and the bone conduction type. The earpiece is disposed inside the terminal 530, and the camera is disposed to be located on the side of the terminal and is pluggable.
在一些可选的实施例中,当终端500采用全面屏时,终端500的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器520,该边缘触控传感器520用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器520可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器520上施加操作,对终端500中的应用程序进行控制。In some optional embodiments, when the terminal 500 adopts a full screen, a single side of the middle frame of the terminal 500, or two sides (such as the left and right sides), or four sides (such as An edge touch sensor 520 is disposed on the four sides of the upper, lower, left, and right sides, and the edge touch sensor 520 is configured to detect a user's touch operation, a click operation, a pressing operation, a sliding operation, and the like on the middle frame. At least one operation. The edge touch sensor 520 may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can apply an operation on the edge touch sensor 520 to control the application in the terminal 500.
曲面屏Curved screen
曲面屏是指触摸显示屏530的屏幕区域不处于一个平面内的屏幕设计。一般的,曲面屏至少存在这样一个截面:该截面呈弯曲形状,且曲面屏在沿垂直于该截面的任意平面方向上的投影为平面的屏幕设计,其中,该弯曲形状可以是U型。可选地,曲面屏是指至少一个侧边是弯曲形状的屏幕设计方式。可选地,曲面屏是指触摸显示屏530的至少一个侧边延伸覆盖至终端500的中框上。由于触摸显示屏530的侧边延伸覆盖至终端500的中框,也即将原本不具有显示功能和触控功能的中框覆盖为可显示区域和/或可操作区域,从而使得曲面屏具有了更高的屏占比。可选地,如图8B所示的例子中,曲面屏是指左右两个侧边42是弯曲形状的屏幕设计;或者,曲面屏是指上下两个侧边是弯曲形状的屏幕设计;或者,曲面屏是指上、下、左、右四个侧边均为弯曲形状的屏幕设计。在可选的实施例中,曲面屏采用具有一定柔性的触摸屏材料制备。The curved screen refers to a screen design in which the screen area of the touch display screen 530 is not in one plane. Generally, the curved screen has at least one cross section: the cross section has a curved shape, and the projection of the curved screen in a plane perpendicular to the plane of the cross section is a flat screen design, wherein the curved shape may be U-shaped. Optionally, a curved screen refers to a screen design in which at least one side is curved. Optionally, the curved screen means that at least one side of the touch display screen 530 extends over the middle frame of the terminal 500. Since the side of the touch display screen 530 extends to cover the middle frame of the terminal 500, the middle frame that does not have the display function and the touch function is covered as the displayable area and/or the operable area, so that the curved screen has a more High screen ratio. Optionally, in the example shown in FIG. 8B, the curved screen refers to a screen design in which the left and right side edges 42 are curved shapes; or the curved screen refers to a screen design in which the upper and lower sides are curved shapes; or The curved screen refers to the screen design in which the four sides of the upper, lower, left and right sides are curved. In an alternative embodiment, the curved screen is fabricated using a touch screen material having a certain flexibility.
异形屏Shaped screen
异形屏是外观形状为不规则形状的触摸显示屏,不规则形状不是矩形或圆角矩形。可选地,异形屏是指在矩形或圆角矩形的触摸显示屏530上设置有凸起、缺口和/或挖孔的屏幕设计。可选地,该凸起、缺口和/或挖孔可以位于触摸显示屏530的边缘、屏幕中央或两者均有。当凸起、缺口和/或挖孔设置在一条边缘时,可以设置在该边缘的中间位置或两端;当凸起、缺口和/或挖孔设置在屏幕中央时,可以设置在屏幕的上方区域、左上方区域、左侧区域、左下方区域、下方区域、右下方区域、右侧区域、右上方区域中的一个或多个区域中。当设置在多个区域中时,凸起、缺口和挖孔可以集中分布,也可以分散分布;可以对称分布,也可以不对称分布。可选地,该凸起、缺口和/或挖孔的数量也不限。A profiled screen is a touchscreen display having an irregularly shaped shape, and the irregular shape is not a rectangle or a rounded rectangle. Alternatively, the profiled screen refers to a screen design that is provided with raised, notched, and/or punctured holes on a rectangular or rounded rectangular touch display screen 530. Alternatively, the protrusions, notches, and/or holes may be located at the edge of the touch screen display 530, in the center of the screen, or both. When the protrusions, notches, and/or holes are provided at one edge, they may be disposed at the middle or both ends of the edge; when the protrusions, notches, and/or holes are disposed in the center of the screen, they may be placed above the screen. One or more of the area, the upper left area, the left area, the lower left area, the lower area, the lower right area, the right area, and the upper right area. When disposed in a plurality of regions, the protrusions, the notches, and the holes may be concentrated or distributed; they may be symmetrically distributed or asymmetrically distributed. Optionally, the number of the protrusions, the notches and/or the holes is also not limited.
由于异形屏将触摸显示屏的上额区和/或下额区覆盖为可显示区域和/或可操作区域,使得触摸显示屏在终端的前面板上占据更多的空间,所以异形屏也具有更大的屏占比。在一些实施例中,缺口和/或挖孔中用于容纳至少一种前面板部件,该前面板部件包括摄像头、指纹传感器、接近光传感器、距离传感器、听筒、环境光亮度传感器、物理按键中的至少一种。Since the shaped screen covers the upper and/or lower forehead area of the touch display screen as a displayable area and/or an operable area, so that the touch display screen occupies more space on the front panel of the terminal, the shaped screen also has A larger screen ratio. In some embodiments, the notch and/or the bore are for receiving at least one front panel component, including a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, an earpiece, an ambient light level sensor, a physical button At least one of them.
示例性的,该缺口可以设置在一个或多个边缘上,该缺口可以是半圆形缺口、直角矩形缺口、圆角矩形缺口或不规则形状缺口。示意性的如图8C所示的例子中,异形屏可以是在触摸显示屏530的上边缘的中央位置设置有半圆形缺口43的屏幕设计,该半圆形缺口43所空出的位置用于容纳摄像头、距离传感器(又称接近传感器)、听筒、环境光亮度传感器中的至少一种前面板部件;示意性的如图8D所示,异形屏可以是在触摸显示屏530的下边缘的中央位置设置有半圆形缺口44的屏幕设计,该半圆形缺口44所空出的位置用于容纳物理按键、指纹传感器、麦克风中的至少一种部件;示意性的如图8E所示的例子中,异形屏可以是在触摸显示屏530的下边缘的中央位置设置有半椭圆形缺口45的屏幕设计,同时在终端500的前面板上还形成有一个半椭圆形缺口,两个半椭圆形缺口围合成一个椭圆形区域,该椭圆形区域用于容纳物理按键或者指纹识别模组;示意性的如图8F所示的例子中,异形屏可以是在触摸显示屏530中的上半部中设置有至少一个小孔45的屏幕设计,该小孔45所空出的位置用于容纳摄像头、距离传感器、听筒、环境光亮度传感器中的至少一种前面板部件。Illustratively, the indentation may be provided on one or more edges, which may be semi-circular notches, right-angled rectangular indentations, rounded rectangular indentations or irregularly shaped indentations. In the example shown in FIG. 8C, the profiled screen may be a screen design in which a semicircular notch 43 is provided at a central position of the upper edge of the touch display screen 530, and the position of the semicircular notch 43 is vacated. And accommodating at least one of the front panel components of the camera, the distance sensor (also referred to as a proximity sensor), the earpiece, and the ambient light brightness sensor; schematically, as shown in FIG. 8D, the shaped screen may be at the lower edge of the touch display screen 530. The central position is provided with a screen design of a semi-circular notch 44, the vacant position of the semi-circular notch 44 for accommodating at least one of a physical button, a fingerprint sensor, and a microphone; illustratively as shown in FIG. 8E In the example, the profiled screen may be a screen design in which a semi-elliptical notch 45 is disposed at a central position of the lower edge of the touch display screen 530, and a semi-elliptical notch, two semi-ellipses are formed on the front panel of the terminal 500. The shaped notch is formed into an elliptical area for accommodating a physical button or a fingerprint recognition module; in the example shown in FIG. 8F, the shaped screen may be in contact A screen design of at least one small hole 45 is provided in the upper half of the display screen 530, and the position of the small hole 45 is used to accommodate at least one of the front panel of the camera, the distance sensor, the earpiece, and the ambient light sensor. component.
除此之外,本领域技术人员可以理解,上述附图所示出的终端500的结构并不构成对终端500的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端500中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 500 shown in the above figure does not constitute a limitation on the terminal 500, and the terminal may include more or less components than the illustration, or a combination of some Parts, or different parts. For example, the terminal 500 further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module, and the like, and details are not described herein.
在示例性实施例中,还提供了一种存储有计算机程序的计算机可读存储介质,例如存储有计算机程序的存储器,上述计算机程序被处理器执行时实现上述实施例中终端所执行的指纹识别功能开启方法。例如,该计算机可读存储介质可以是只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer readable storage medium storing a computer program, such as a memory storing a computer program, the computer program being executed by the processor to implement fingerprint recognition performed by the terminal in the above embodiment Function opening method. For example, the computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), Tapes, floppy disks, and optical data storage devices.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art can understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium, as mentioned above. The storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
上述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above is only the preferred embodiment of the present application, and is not intended to limit the application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application are included in the scope of the present application. Inside.

Claims (20)

  1. 一种指纹识别功能开启方法,其特征在于,应用于终端中,所述终端的触摸显示屏下方设置有指纹识别模组,所述方法包括:A method for opening a fingerprint identification function, which is characterized in that, in a terminal, a fingerprint identification module is disposed under the touch display screen of the terminal, and the method includes:
    检测到握持操作;A grip operation is detected;
    确定所述握持操作的握持手势,并预测所述握持手势对应的触摸落点区域;Determining a holding gesture of the holding operation, and predicting a touch landing area corresponding to the holding gesture;
    开启所述握持手势对应的触摸落点区域的指纹识别功能。The fingerprint recognition function of the touch landing area corresponding to the holding gesture is turned on.
  2. 根据权利要求1所述的方法,其特征在于,所述检测到握持操作之前,还包括:The method according to claim 1, wherein before the detecting the holding operation, the method further comprises:
    检测所述终端是否处于指定状态,所述指定状态是指需要进行指纹录入来触发下一步处理的状态;Detecting whether the terminal is in a specified state, where the specified state refers to a state in which fingerprint input is required to trigger a next processing;
    若所述终端处于所述指定状态,则从所述检测到握持操作的步骤开始执行。If the terminal is in the designated state, execution is performed from the step of detecting the holding operation.
  3. 根据权利要求2所述的方法,其特征在于,所述检测所述终端是否处于指定状态之后,还包括:The method according to claim 2, wherein the detecting whether the terminal is in a specified state further comprises:
    若所述终端未处于所述指定状态,则设置所述指纹识别模组为休眠状态。And if the terminal is not in the designated state, setting the fingerprint recognition module to a sleep state.
  4. 根据权利要求1所述的方法,其特征在于,所述预测所述握持手势对应的触摸落点区域,包括:The method according to claim 1, wherein the predicting the touch landing area corresponding to the holding gesture comprises:
    根据所述握持手势,预测手指落点范围;Predicting a finger landing range according to the holding gesture;
    将所述手指落点范围确定为所述握持手势对应的触摸落点区域。The finger drop range is determined as a touch drop area corresponding to the grip gesture.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述握持手势,预测手指落点范围,包括:The method according to claim 4, wherein the predicting a finger landing range according to the holding gesture comprises:
    根据手与终端触摸显示屏的接触位置以及预设手指长度,将以所述接触位置的起始点作为圆心、以所述预设手指长度为半径的扇形区域确定为所述手指落点范围。The fan-shaped area having the starting point of the contact position as a center and the radius of the preset finger as a radius is determined as the finger landing range according to a contact position of the hand and the terminal touch display screen and a preset finger length.
  6. 根据权利要求1所述的方法,其特征在于,所述预测所述握持手势对应的触摸落点区域,包括:The method according to claim 1, wherein the predicting the touch landing area corresponding to the holding gesture comprises:
    根据所述握持手势和触摸操作记录,将所述触摸操作记录中所述握持手势对应的触摸操作次数大于第一预设阈值的区域确定为所述握持手势对应的触摸落点区域。And determining, according to the holding gesture and the touch operation record, an area in which the number of touch operations corresponding to the holding gesture in the touch operation record is greater than a first preset threshold is determined as a touch landing area corresponding to the holding gesture.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述终端包括压力感应器,所述开启所述握持手势对应的触摸落点区域的指纹识别功能之后,还包括:The method according to any one of claims 1-6, wherein the terminal comprises a pressure sensor, and after the opening the fingerprint recognition function of the touch landing area corresponding to the holding gesture, the method further comprises:
    当预设时长内,所述握持手势对应的触摸落点区域未检测到第一触摸操作,且在其他区域检测到第二触摸操作时,根据所述第二触摸操作的压力值,确定所述第二触摸操作的触摸落点区域;When the touch landing area corresponding to the holding gesture does not detect the first touch operation, and when the second touch operation is detected in the other area, the pressure value of the second touch operation is determined according to the pressure value of the second touch operation. a touch drop area of the second touch operation;
    开启所述第二触摸操作的触摸落点区域的指纹识别功能。The fingerprint recognition function of the touch landing area of the second touch operation is turned on.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述第二触摸操作的压力值,确定所述第二触摸操作的触摸落点区域,包括:The method according to claim 7, wherein the determining the touch drop area of the second touch operation according to the pressure value of the second touch operation comprises:
    测量所述第二触摸操作的压力值;Measuring a pressure value of the second touch operation;
    当所述第二触摸操作的压力值大于第二预设阈值时,获取所述第二触摸操作的压力中心点的坐标;Obtaining a coordinate of a pressure center point of the second touch operation when a pressure value of the second touch operation is greater than a second preset threshold;
    将以所述压力中心点的坐标为中心、面积为预设面积的区域确定为所述第二触摸操作的触摸落点区域。An area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
  9. 根据权利要求1所述的方法,其特征在于,所述终端包括压力感应器,所述方法还包括:The method of claim 1, wherein the terminal comprises a pressure sensor, the method further comprising:
    当所述终端未检测到握持操作,且所述终端检测到对所述触摸显示屏的第三触摸操作时,根据所述第三触摸操作的压力值,确定所述第三触摸操作的触摸落点区域;When the terminal does not detect the holding operation, and the terminal detects the third touch operation on the touch display screen, determining the touch of the third touch operation according to the pressure value of the third touch operation Falling area
    开启所述第三触摸操作的触摸落点区域的指纹识别功能。The fingerprint recognition function of the touch landing area of the third touch operation is turned on.
  10. 一种指纹识别功能开启装置,其特征在于,应用于终端中,所述终端的触摸显示屏下方设置有指纹识别模组,所述装置包括:A fingerprint recognition function opening device is characterized in that, in a terminal, a fingerprint identification module is disposed under the touch display screen of the terminal, and the device includes:
    操作检测模块,用于检测到握持操作;An operation detecting module for detecting a holding operation;
    确定模块,用于确定所述握持操作的握持手势,并预测所述握持手势对应的触摸落点区域;a determining module, configured to determine a holding gesture of the holding operation, and predict a touch landing area corresponding to the holding gesture;
    开启模块,用于开启所述握持手势对应的触摸落点区域的指纹识别功能。The module is opened for opening a fingerprint recognition function of the touch landing area corresponding to the holding gesture.
  11. 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:
    状态检测模块,用于检测所述终端是否处于指定状态,所述指定状态是指需要进行指纹录入来触发下一步处理的状态;a state detecting module, configured to detect whether the terminal is in a specified state, where the specified state refers to a state in which fingerprint input is required to trigger a next processing;
    所述操作检测模块,还用于若所述终端处于所述指定状态,则从所述检测到握持操作的步骤开始执行。The operation detecting module is further configured to start from the step of detecting the holding operation if the terminal is in the designated state.
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:The device according to claim 11, wherein the device further comprises:
    状态设置模块,用于若所述终端未处于所述指定状态,则设置所述指纹识别模组为休眠状态。The state setting module is configured to set the fingerprint recognition module to a sleep state if the terminal is not in the designated state.
  13. 根据权利要求10所述的装置,其特征在于,所述确定模块用于:The apparatus according to claim 10, wherein said determining module is configured to:
    根据所述握持手势,预测手指落点范围;Predicting a finger landing range according to the holding gesture;
    将所述手指落点范围确定为所述握持手势对应的触摸落点区域。The finger drop range is determined as a touch drop area corresponding to the grip gesture.
  14. 根据权利要求13所述的装置,其特征在于,所述确定模块用于:The apparatus according to claim 13, wherein said determining module is configured to:
    根据手与终端触摸显示屏的接触位置以及预设手指长度,将以所述接触位置的起始点作为圆心、以所述预设手指长度为半径的扇形区域确定为所述手指落点范围。The fan-shaped area having the starting point of the contact position as a center and the radius of the preset finger as a radius is determined as the finger landing range according to a contact position of the hand and the terminal touch display screen and a preset finger length.
  15. 根据权利要求10所述的装置,其特征在于,所述确定模块用于:The apparatus according to claim 10, wherein said determining module is configured to:
    根据所述握持手势和触摸操作记录,将所述触摸操作记录中所述握持手势对应的触摸操作次数大于第一预设阈值的区域确定为所述握持手势对应的触摸落点区域。And determining, according to the holding gesture and the touch operation record, an area in which the number of touch operations corresponding to the holding gesture in the touch operation record is greater than a first preset threshold is determined as a touch landing area corresponding to the holding gesture.
  16. 根据权利要求10-15任一项所述的装置,其特征在于,所述终端包括压力感应器,Apparatus according to any of claims 10-15, wherein said terminal comprises a pressure sensor,
    所述确定模块还用于当预设时长内,所述握持手势对应的触摸落点区域未检测到第一触摸操作,且在其他区域检测到第二触摸操作时,根据所述第二触摸操作的压力值,确定所述第二触摸操作的触摸落点区域;The determining module is further configured to: when the touch landing area corresponding to the holding gesture does not detect the first touch operation, and when the second touch operation is detected in another area, according to the second touch a pressure value of the operation, determining a touch drop area of the second touch operation;
    所述开启模块,还用于开启所述第二触摸操作的触摸落点区域的指纹识别功能。The opening module is further configured to enable a fingerprint recognition function of the touch landing area of the second touch operation.
  17. 根据权利要求16所述的装置,其特征在于,所述确定模块,用于:The device according to claim 16, wherein the determining module is configured to:
    测量所述第二触摸操作的压力值;Measuring a pressure value of the second touch operation;
    当所述第二触摸操作的压力值大于第二预设阈值时,获取所述第二触摸操作的压力中心点的坐标;Obtaining a coordinate of a pressure center point of the second touch operation when a pressure value of the second touch operation is greater than a second preset threshold;
    将以所述压力中心点的坐标为中心、面积为预设面积的区域确定为所述第二触摸操作的触摸落点区域。An area centered on the coordinates of the pressure center point and having an area of a predetermined area is determined as a touch drop area of the second touch operation.
  18. 根据权利要求10所述的装置,其特征在于,所述终端包括压力感应器,The device according to claim 10, wherein said terminal comprises a pressure sensor,
    所述确定模块还用于当所述终端未检测到握持操作,且所述终端检测到对所述触摸显示屏的第三触摸操作时,根据所述第三触摸操作的压力值,确定所述第三触摸操作的触摸落点区域;The determining module is further configured to: when the terminal does not detect the holding operation, and the terminal detects the third touch operation on the touch display screen, determine the location according to the pressure value of the third touch operation a touch drop area of the third touch operation;
    所述开启模块,还用于开启所述第二触摸操作的触摸落点区域的指纹识别功能。The opening module is further configured to enable a fingerprint recognition function of the touch landing area of the second touch operation.
  19. 一种终端,其特征在于,包括:A terminal, comprising:
    处理器;processor;
    用于存放计算机程序的存储器;a memory for storing computer programs;
    其中,所述处理器用于执行所述存储器上所存放的计算机程序,实现权利要求1-9任一项所述的方法步骤。The processor is configured to execute a computer program stored on the memory, and implement the method steps of any one of claims 1-9.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-9任一项所述的方法步骤。A computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program being executed by a processor to implement the method steps of any of claims 1-9.
PCT/CN2018/102501 2017-09-11 2018-08-27 Fingerprint recognition function enabling method and apparatus, and terminal and storage medium WO2019047739A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710813728.XA CN107608615B (en) 2017-09-11 2017-09-11 Fingerprint identification function starting method and device, terminal and storage medium
CN201710813728.X 2017-09-11

Publications (1)

Publication Number Publication Date
WO2019047739A1 true WO2019047739A1 (en) 2019-03-14

Family

ID=61063472

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102501 WO2019047739A1 (en) 2017-09-11 2018-08-27 Fingerprint recognition function enabling method and apparatus, and terminal and storage medium

Country Status (2)

Country Link
CN (1) CN107608615B (en)
WO (1) WO2019047739A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381545A (en) * 2020-11-20 2021-02-19 惠州Tcl移动通信有限公司 Identity authentication method, device, equipment and storage medium
CN113589889A (en) * 2020-04-30 2021-11-02 维沃移动通信有限公司 Electronic device and control method thereof
CN116483014A (en) * 2023-06-20 2023-07-25 飞天诚信科技股份有限公司 Fingerprint input realization method, device and system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608615B (en) * 2017-09-11 2020-07-24 Oppo广东移动通信有限公司 Fingerprint identification function starting method and device, terminal and storage medium
CN108388864A (en) * 2018-02-27 2018-08-10 北京小米移动软件有限公司 Fingerprint collecting method, device and computer readable storage medium
CN108427944A (en) * 2018-05-22 2018-08-21 三峡大学 A kind of fingerprint recognition system and recognition methods
CN108830060B (en) * 2018-05-25 2020-07-07 深圳市纳斯达工贸有限公司 Intelligent identification unlocking device and method for intelligent terminal
CN109669544B (en) * 2018-12-29 2022-04-15 Oppo广东移动通信有限公司 Fingerprint area determination method and device, terminal and readable storage medium
CN109683788B (en) * 2018-12-29 2020-10-09 Oppo广东移动通信有限公司 Fingerprint area determination method and device, terminal and readable storage medium
CN110084097A (en) * 2019-03-13 2019-08-02 努比亚技术有限公司 A kind of fingerprint identification method, terminal and computer readable storage medium
CN110427866B (en) * 2019-07-29 2023-07-07 四川康佳智能终端科技有限公司 Under-screen fingerprint unlocking control method, fingerprint unlocking equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388992A (en) * 2015-11-03 2016-03-09 广东欧珀移动通信有限公司 Fingerprint recognition method and apparatus and terminal
CN106778616A (en) * 2016-12-16 2017-05-31 上海摩软通讯技术有限公司 Mobile device, screen assembly and fingerprint collecting and recognition methods
CN106951884A (en) * 2017-03-31 2017-07-14 北京小米移动软件有限公司 Gather method, device and the electronic equipment of fingerprint
CN107229911A (en) * 2017-05-19 2017-10-03 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107608615A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Fingerprint identification function open method, device, terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615303B (en) * 2015-01-30 2018-02-23 努比亚技术有限公司 Mobile terminal false-touch prevention method and mobile terminal
CN105094645A (en) * 2015-08-17 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105426181A (en) * 2015-11-10 2016-03-23 广东欧珀移动通信有限公司 Display method for interface of mobile terminal and mobile terminal
WO2017086498A1 (en) * 2015-11-18 2017-05-26 엘지전자 주식회사 Mobile terminal and control method therefor
CN107102809B (en) * 2017-04-20 2022-09-13 维沃移动通信有限公司 Fingerprint identification method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388992A (en) * 2015-11-03 2016-03-09 广东欧珀移动通信有限公司 Fingerprint recognition method and apparatus and terminal
CN106778616A (en) * 2016-12-16 2017-05-31 上海摩软通讯技术有限公司 Mobile device, screen assembly and fingerprint collecting and recognition methods
CN106951884A (en) * 2017-03-31 2017-07-14 北京小米移动软件有限公司 Gather method, device and the electronic equipment of fingerprint
CN107229911A (en) * 2017-05-19 2017-10-03 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107608615A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Fingerprint identification function open method, device, terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589889A (en) * 2020-04-30 2021-11-02 维沃移动通信有限公司 Electronic device and control method thereof
CN112381545A (en) * 2020-11-20 2021-02-19 惠州Tcl移动通信有限公司 Identity authentication method, device, equipment and storage medium
CN116483014A (en) * 2023-06-20 2023-07-25 飞天诚信科技股份有限公司 Fingerprint input realization method, device and system
CN116483014B (en) * 2023-06-20 2023-09-19 飞天诚信科技股份有限公司 Fingerprint input realization method, device and system

Also Published As

Publication number Publication date
CN107608615B (en) 2020-07-24
CN107608615A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
WO2019047739A1 (en) Fingerprint recognition function enabling method and apparatus, and terminal and storage medium
CN108958681B (en) Split screen display method, device, terminal and storage medium
CN107704744B (en) Identity verification method and device and mobile terminal
US11061558B2 (en) Touch operation response method and device
CN107577495B (en) Interface display method, device and terminal
US9904409B2 (en) Touch input processing method that adjusts touch sensitivity based on the state of a touch object and electronic device for supporting the same
WO2020088167A1 (en) Application activation method, device, terminal and storage medium
WO2019174465A1 (en) User interface display method and apparatus, terminal, and storage medium
CN107506123B (en) It adjusts operation and executes method, apparatus and terminal
CN107562361B (en) Message treatment method, device and terminal
WO2019047908A1 (en) Fingerprint recognition method and device, mobile terminal, and storage medium
WO2019047738A1 (en) Message display method, device, mobile terminal and storage medium
KR20180044129A (en) Electronic device and method for acquiring fingerprint information thereof
CN107526477B (en) Unlocking screen method, apparatus and terminal
CN107577415B (en) Touch operation response method and device
US11086442B2 (en) Method for responding to touch operation, mobile terminal, and storage medium
CN107608550B (en) Touch operation response method and device
WO2019019900A1 (en) Black screen gesture detection method and device, storage medium, and mobile terminal
CN107608551B (en) Touch operation response method and device
WO2020151518A1 (en) Application activation method and device, terminal and storage medium
CN107545167A (en) Unlocking screen method, apparatus and terminal
CN108475136A (en) A kind of fingerprint identification method and electronic equipment
CN107562359A (en) Acquisition parameters adjusting method, device and terminal
WO2019019818A1 (en) Method and apparatus for accelerating black screen gesture processing, storage medium, and mobile terminal
EP3671420A1 (en) Touch operation response method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18853326

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18853326

Country of ref document: EP

Kind code of ref document: A1