WO2018161544A1 - Fingerprint payment method and terminal device - Google Patents

Fingerprint payment method and terminal device Download PDF

Info

Publication number
WO2018161544A1
WO2018161544A1 PCT/CN2017/103525 CN2017103525W WO2018161544A1 WO 2018161544 A1 WO2018161544 A1 WO 2018161544A1 CN 2017103525 W CN2017103525 W CN 2017103525W WO 2018161544 A1 WO2018161544 A1 WO 2018161544A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
underlying data
payment
data set
fingerprint template
Prior art date
Application number
PCT/CN2017/103525
Other languages
French (fr)
Chinese (zh)
Inventor
王健
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161544A1 publication Critical patent/WO2018161544A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a fingerprint payment method and a terminal device.
  • fingerprint recognition technology can be used for screen unlocking, file/program encryption, mobile payment, and the like.
  • Mobile fingerprint payment brings great convenience to users compared to mobile password payment. While mobile fingerprint payment brings convenience, there are also many problems to consider, such as fingerprint recognition.
  • a major pain point that current payment software plagues users is that unsuccessful payments are often unsuccessful, which in turn leads to a decline in the success rate of payments.
  • Those skilled in the art have found that a large proportion of these payment failure problems are caused by duplicate fingerprints in fingerprint entry, and duplicate fingerprints are two or more fingerprint templates entered by the same finger. Therefore, how to improve the success rate of fingerprint payment is a technical problem to be solved in the art.
  • the embodiment of the invention provides a fingerprint payment method and a terminal device, which are used for improving the success rate of fingerprint payment.
  • an embodiment of the present invention provides a fingerprint payment method, which is applied to a terminal device including a fingerprint identification area, and includes:
  • an embodiment of the present invention provides a fingerprint payment device, which is applied to a terminal device including a fingerprint identification area, and includes:
  • a display module configured to display a fingerprint payment interface of the first payment application
  • a first acquiring module configured to collect a first fingerprint image by using the fingerprint identification area when detecting a touch operation of the fingerprint identification area
  • a second acquiring module configured to acquire a first random number corresponding to the first payment application, and obtain a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template ID;
  • an execution module configured to perform a payment operation when the first fingerprint image and the first fingerprint template are successfully matched.
  • an embodiment of the present invention provides a terminal device, including:
  • a processor coupled to the memory
  • the processor invokes the executable program code stored in the memory to perform some or all of the steps as described in the first aspect of the embodiments of the present invention.
  • the present invention provides a computer storage medium for storing computer software instructions for use in a computer device provided by the third aspect of the embodiments of the present invention, comprising a program designed to perform the above aspects.
  • an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the implementation of the present invention.
  • the computer program product can be a software installation package, and the computer includes the terminal device.
  • only one fingerprint template is bound to each payment application by the mapping relationship between the payment application and the random number and the mapping relationship between the random number and the fingerprint template.
  • the terminal device compares the collected fingerprint image with the first fingerprint template bound to the first payment application. In this way, although the fingerprint template duplicated with the first fingerprint template is stored in the terminal device, the fingerprint comparison result of the first payment application is not affected, thereby improving the success rate of the fingerprint payment.
  • FIG. 1 is a schematic flowchart of a fingerprint payment method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a fingerprint payment interface according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an interface operation according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art understand explicitly and implicitly that the embodiments described herein may be Its embodiment is combined.
  • FIG. 1 is a schematic flowchart of a fingerprint payment method according to an embodiment of the present invention.
  • the fingerprint payment method is applied to a terminal device including a fingerprint identification area, and includes the following steps:
  • the terminal device displays a fingerprint payment interface of the first payment application.
  • the terminal device also called User Equipment (UE) is a device that provides voice and/or data connectivity to the user, for example, a handheld device with a wireless connection function, an in-vehicle device, and the like.
  • UE User Equipment
  • Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
  • MIDs mobile internet devices
  • wearable devices such as smart watches, smart bracelets, pedometers, and the like.
  • the specific form of the fingerprint identification area may be a Home key integrated with a fingerprint identification module.
  • the specific form of the fingerprint identification area may be a fingerprint collection area (a single area) integrated with a fingerprint identification module, and the fingerprint collection area may be placed on the back side of the terminal device, or the fingerprint collection area. It can be placed on the side frame of the terminal device, which is not limited in the present invention.
  • the specific form of the fingerprint identification area may be a designated area of the touch screen of the terminal device, and a fingerprint identification module is disposed below the designated area.
  • the specific location of the fingerprint recognition area placed on the touch screen of the terminal device and the size of the fingerprint collection area are not limited in the present invention.
  • the fingerprint recognition module is to realize the identification of individual fingerprint features through a specific sensing module.
  • the fingerprint recognition module is mainly divided into an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module.
  • the fingerprint payment interface includes a dialog box for prompting the user to input a fingerprint image for payment authentication of the first payment application.
  • a dialog box of "Please verify the fingerprint of the xxx application binding” pops up on the screen of the terminal device.
  • the terminal device collects a first fingerprint image by using the fingerprint identification area.
  • the terminal device collects a specific image of the first fingerprint image by using the fingerprint identification area
  • the method includes: the terminal device acquires a normal underlying data set and an abnormal underlying data set by using a sensing electrode of the fingerprint identification module of the fingerprint identification area, where the normal underlying data set includes a plurality of normal underlying data values, and the abnormal underlying data
  • the set includes a plurality of abnormal underlying data values; the terminal device determines the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set; and the terminal device generates the first according to the normal underlying data set and the target underlying data set.
  • a fingerprint image A fingerprint image.
  • the example implementation process of determining, by the terminal device, the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:
  • the terminal device determines an average value according to the plurality of normal underlying data values included in the normal underlying data set; the terminal device replaces the multiple abnormal underlying data included in the abnormal underlying data set with the average value to obtain The target underlying data set.
  • the example implementation process of determining, by the terminal device, the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:
  • the terminal device obtains a normal underlying data value with the smallest data value from the plurality of normal underlying data values included in the normal underlying data set; the terminal device replaces the multiple abnormal underlying data included in the abnormal underlying data set with the same The normal underlying data value with the smallest data value is obtained to obtain the target underlying data set.
  • the example implementation process of determining, by the terminal device, the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:
  • the terminal device obtains any normal underlying data value from the plurality of normal underlying data values included in the normal underlying data set; the terminal device replaces the plurality of abnormal underlying data included in the abnormal underlying data set with the arbitrary A normal underlying data value to get the target underlying data set.
  • the above bottom data value may include a capacitor and/or a voltage or the like.
  • the sensing electrode of the fingerprint recognition module can be detected by the micro control unit MCU of the fingerprint recognition module.
  • the sensing electrode of the fingerprint recognition module includes a plurality of normal sensing electrodes and a plurality of abnormal sensing electrodes, wherein the abnormal sensing electrodes are sensing electrodes in which an abnormality occurs.
  • a normal underlying data set is obtained through a plurality of normal sensing electrodes, and an abnormal underlying data set is acquired through a plurality of abnormal sensing electrodes.
  • the terminal device acquires a first random number corresponding to the first payment application, and acquires a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template.
  • the terminal device performs a payment operation.
  • a payment application table in the system.
  • an encryption algorithm is used to generate a random number
  • the generated random number is used to identify that the payment application is using the fingerprint payment function.
  • the random number is then passed to a fingerprint zone (TZ), and the random number is saved in frameworks and TZ, respectively, as a voucher for the payment application at the time of fingerprint payment.
  • the TZ will transmit the fingerprint template ID for the fingerprint payment application payment authentication set to the frameworks when the fingerprint payment function is activated, and the TZ needs to record a table, that is, step 1 a correspondence table between the generated random number and the fingerprint template ID opened in step 2).
  • the framework When the payment software uses the fingerprint payment, the framework first queries the random number corresponding to the payment application, and informs the TZ of the random number, and after receiving the random number, the TZ, through the table generated in step 2), queries the corresponding random number.
  • the fingerprint template ID is then matched and authenticated by the fingerprint entered by the user when the payment is made, and the matching result is given. If the matching result is a match, the payment operation is directly performed, and if the matching result is not matched, the user is prompted to re-enter the fingerprint.
  • the method further includes:
  • the terminal device When detecting that the second fingerprint template is deleted, and the second fingerprint template is a fingerprint template for the second payment application payment authentication, the terminal device acquires a second random number corresponding to the second payment application, and The fingerprint template ID corresponding to the second random number is deleted from the record of the random number and the fingerprint template ID.
  • the foregoing step is only deleting the second fingerprint template ID in the record of the random number and the fingerprint template ID, and the second random number corresponding to the second payment application is not deleted. That is to say, the second payment application is still in the case where the fingerprint payment function is activated. If the user uses the payment function of the second payment application at this time, the payment authentication fails because the template is not compared.
  • the method further includes The terminal device displays prompt information, where the prompt information is used to prompt that the fingerprint template used for the second payment application payment authentication has been deleted, and whether a new payment authentication fingerprint template is set for the second payment application.
  • the terminal device detects the confirmation instruction for the first prompt information, the terminal device determines whether the terminal device has at least one fingerprint template whose integrity is greater than or equal to the first threshold; And displaying, by the terminal device, the at least one fingerprint template on the display screen, and displaying related information of the at least one fingerprint template, where the integrity of the terminal device is greater than or equal to the first threshold.
  • the terminal device detects the click instruction of the fingerprint template i in the at least one fingerprint template, the terminal device uses the fingerprint template i as a fingerprint template for the second payment application payment authentication.
  • the at least one fingerprint template is two fingerprint templates, which are a fingerprint template of a left thumb and a fingerprint template of a right thumb.
  • the integrity of the first fingerprint template and the second fingerprint template are both greater than or equal to a first threshold. That is to say, the fingerprint template set to a payment application payment authentication must be relatively complete.
  • the integrity of the fingerprint template used for payment authentication can be avoided, and the fingerprint template used for payment authentication and the fingerprint input when the fingerprint is paid are the same fingerprint of the same finger, but the fingerprint of different parts may cause the fingerprint payment to fail. In turn, the success rate of fingerprint payment can be further improved.
  • the solution can continuously supplement the fingerprint template during the use of the subsequent terminal device, so that the fingerprint template entered is more and more complete.
  • the specific implementation manner of the fingerprint template is: when the fingerprint image is unlocked, if the second fingerprint image collected by the fingerprint recognition area matches the third fingerprint template, the terminal device receives the second fingerprint image. Extracting a plurality of fingerprint features not included in the third fingerprint template, and adding the plurality of fingerprint features to the third fingerprint template.
  • the method further includes:
  • the terminal device determines whether the third fingerprint template has a repetition degree greater than or equal to one of the fingerprint templates stored in the terminal device. a second threshold; if the third fingerprint template is stored in the terminal device If the repetition degree of one of the fingerprint templates is greater than or equal to the second threshold, the terminal device prompts the user that the third fingerprint template already exists, and whether the third fingerprint template is stored.
  • the method further includes:
  • the terminal device And receiving, by the terminal device, the third fingerprint template, and marking the third fingerprint template and the one of the fingerprint templates as duplicate fingerprint templates, so as to facilitate subsequent confirmation.
  • the terminal device deletes the third fingerprint template if a determination deletion instruction for the above prompt is received.
  • the terminal device compares the collected fingerprint image with the first fingerprint template bound to the first payment application. In this way, although the fingerprint template duplicated with the first fingerprint template is stored in the terminal device, the fingerprint comparison result of the first payment application is not affected, thereby improving the success rate of the fingerprint payment.
  • the embodiment of the present invention further provides a fingerprint payment device 400.
  • the application is applied to a terminal device including a fingerprint identification area, including:
  • the display module 401 is configured to display a fingerprint payment interface of the first payment application
  • the first obtaining module 402 is configured to collect a first fingerprint image by using the fingerprint identification area when detecting a touch operation of the fingerprint identification area;
  • the second obtaining module 403 is configured to obtain a first random number corresponding to the first payment application, and obtain a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template ID;
  • the executing module 404 is configured to perform a payment operation when the first fingerprint image and the first fingerprint template match successfully.
  • the fingerprint payment device further includes:
  • the third obtaining module 405 is configured to: when detecting that the second fingerprint template is deleted, and the second fingerprint template is a fingerprint template used for the second payment application payment authentication, acquiring a second random corresponding to the second payment application number;
  • a first deletion module 406 configured to: use the fingerprint template ID corresponding to the second random number from the The number of machines and the fingerprint template ID are deleted from the record.
  • the integrity of the first fingerprint template and the second fingerprint template are both greater than or equal to a first threshold.
  • the fingerprint payment device further includes:
  • the extracting module 407 is configured to extract the third fingerprint template from the second fingerprint image if the second fingerprint image collected by the fingerprint identification area matches the third fingerprint template during the fingerprint unlocking process Multiple fingerprint features not included;
  • the adding module 408 is configured to add the multiple fingerprint features to the third fingerprint template.
  • the fingerprint payment device further includes:
  • a determining module 409 configured to determine, when the integrity of the third fingerprint template is greater than or equal to the first threshold, whether the third fingerprint template is duplicated with one of the fingerprint templates stored in the terminal device Degree is greater than or equal to the second threshold;
  • the prompting module 410 is configured to prompt the user that the third fingerprint template already exists if the repetition degree of the third fingerprint template and one of the fingerprint templates stored in the terminal device is greater than or equal to the second threshold.
  • the third fingerprint template is stored.
  • the fingerprint payment device further includes:
  • the storage module 411 is configured to: when receiving the determining storage instruction for the prompt, storing the third fingerprint template, and marking the third fingerprint template and the one of the fingerprint templates as a duplicate fingerprint template;
  • the second deletion module 412 is configured to delete the third fingerprint template when receiving the determination deletion instruction for the prompt.
  • the fingerprint payment interface includes a dialog box for prompting a user to input a fingerprint image for payment authentication of the first payment application.
  • the first obtaining module 402 is specifically configured to:
  • the normal underlying data set and the abnormal underlying data set are obtained by the sensing electrode of the fingerprint identification module of the fingerprint identification area, where the normal underlying data set includes a plurality of normal underlying data values, and the abnormal underlying data set includes a plurality of abnormal underlying data values ;
  • the first obtaining module 402 is specifically configured to: determine, according to the normal underlying data set, the target underlying data set corresponding to the abnormal underlying data set,
  • each of the above modules (display module 401, first acquisition module 402, second acquisition module 403, execution module 404, third acquisition module 405, deletion module 406, extraction module 407, addition module 408, determination module 409)
  • the prompting module 410, the storage module 411 and the second deletion module 412, etc.) are used to perform the relevant steps of the above method.
  • the display module 401 is configured to perform the above step S101
  • the first obtaining module 402 is configured to perform the above step S102
  • the second obtaining module 403 is configured to perform the above step S103
  • the executing module 404 is configured to perform the above step S104, and the like.
  • the fingerprint payment device 400 is presented in the form of a module.
  • a “module” herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality.
  • ASIC application-specific integrated circuit
  • the module 411 and the second deletion module 412 can be implemented by the processor 501 of the computer device shown in FIG.
  • the terminal device 500 can be implemented in the structure of FIG. 5, which includes at least one processor 501, at least one memory 502, and at least one communication interface 503.
  • the processor 501 connects and completes communication with each other through the communication bus via the bus 502 and the communication interface 503.
  • the processor 501 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication interface 503 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Networks
  • the memory 502 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • the memory can exist independently and be connected to the processor via a bus.
  • the memory can also be integrated with the processor.
  • the memory 502 is configured to store application code for executing the above solution, and is controlled by the processor 501 for execution.
  • the processor 501 is configured to execute application code stored in the memory 1202.
  • the code stored in the memory 502 can execute the above-mentioned fingerprint payment method performed by the terminal device provided above, such as displaying a fingerprint payment interface of the first payment application; and when the touch operation of the fingerprint identification area is detected, collecting through the fingerprint identification area Obtaining a first fingerprint image corresponding to the first payment application, and acquiring a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template ID; when the first fingerprint When the image is successfully matched with the first fingerprint template, a payment operation is performed.
  • the embodiment of the present invention further provides another mobile terminal.
  • the mobile terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the mobile terminal is used as a mobile phone as an example:
  • FIG. 6 shows a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention.
  • the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, and a processor 980. And power supply 990 and other components.
  • RF radio frequency
  • the RF circuit 910 can be used for receiving and transmitting information.
  • RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 910 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 920.
  • the memory 920 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function, and the like; the storage data area can store data created according to the use of the mobile phone (such as fingerprint identification). Fingerprint images collected in the area, etc.).
  • memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 930 may include a fingerprint sensor 931 and other input devices 932.
  • the fingerprint sensor 931 can collect fingerprint data of the user.
  • the input unit 930 may also include other input devices 932.
  • the other input device 932 may include, but is not limited to, one or more of a touch screen, a physical button, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
  • the display unit 940 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 940 can include a display screen 941.
  • the display screen 941 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the fingerprint sensor 931 and the display screen 941 are two separate components to implement the input and input functions of the mobile phone, in some embodiments, the fingerprint sensor 931 can be integrated with the display screen 941 to implement the mobile phone. Input and playback features.
  • the handset may also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 941 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the handset.
  • the audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961 for conversion to the sound signal by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted into audio data, and then processed by the audio data playback processor 980, sent to the other mobile phone via the RF circuit 910, or played back to the memory 920 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access.
  • FIG. 6 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone, and can be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 980 is the control center of the handset, connecting various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 920, and calling The data stored in the memory 920 performs various functions of the mobile phone and processes the data, thereby performing overall monitoring of the mobile phone.
  • the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
  • the handset also includes a power source 990 (such as a battery) that supplies power to the various components.
  • a power source 990 such as a battery
  • the power source can be logically coupled to the processor 980 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each step method flow can be implemented based on the structure of the mobile phone.
  • each unit function can be implemented based on the structure of the mobile phone.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the fingerprint payment methods described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or Its form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Collating Specific Patterns (AREA)

Abstract

A fingerprint payment method, which is applied to a terminal device comprising a fingerprint identification region, comprising: displaying a fingerprint payment interface of a first payment application (S101); when a touch operation of the fingerprint identification region is detected, collecting a first fingerprint image by means of the fingerprint identification region (S102); obtaining a first random number corresponding to the first payment application, and obtaining a first fingerprint template corresponding to the first random number from a record of random numbers and fingerprint template IDs (S103); and when the first fingerprint image is successfully matched with the first fingerprint template, executing payment operation (S104). By adopting the method, the success rate of fingerprint payment can be increased.

Description

一种指纹支付方法及终端设备Fingerprint payment method and terminal device 技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种指纹支付方法及终端设备。The present invention relates to the field of electronic technologies, and in particular, to a fingerprint payment method and a terminal device.
背景技术Background technique
目前,指纹识别技术可以用于屏幕解锁、文件/程序加密、移动支付等。移动指纹支付相较于移动密码支付给用户带来了很大的便捷性。在移动指纹支付带来便捷的同时,也存在很多问题需要考虑,比如指纹识别的问题。当前的支付软件困扰用户的一大痛点是经常支付不成功,进而造成支付成功率下降。本领域技术人员研究发现,这些支付失败问题,有很大比例是由于指纹录入存在重复指纹导致的,重复指纹即同一个手指录入两个及以上的指纹模板。因此,如何提升指纹支付成功率是本领域亟待解决的技术问题。Currently, fingerprint recognition technology can be used for screen unlocking, file/program encryption, mobile payment, and the like. Mobile fingerprint payment brings great convenience to users compared to mobile password payment. While mobile fingerprint payment brings convenience, there are also many problems to consider, such as fingerprint recognition. A major pain point that current payment software plagues users is that unsuccessful payments are often unsuccessful, which in turn leads to a decline in the success rate of payments. Those skilled in the art have found that a large proportion of these payment failure problems are caused by duplicate fingerprints in fingerprint entry, and duplicate fingerprints are two or more fingerprint templates entered by the same finger. Therefore, how to improve the success rate of fingerprint payment is a technical problem to be solved in the art.
发明内容Summary of the invention
本发明实施例提供一种指纹支付方法及终端设备,用于提升指纹支付成功率。The embodiment of the invention provides a fingerprint payment method and a terminal device, which are used for improving the success rate of fingerprint payment.
第一方面,本发明实施例提供一种指纹支付方法,应用于包括指纹识别区域的终端设备,包括:In a first aspect, an embodiment of the present invention provides a fingerprint payment method, which is applied to a terminal device including a fingerprint identification area, and includes:
显示第一支付应用的指纹支付界面;Displaying a fingerprint payment interface of the first payment application;
当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集第一指纹图像;When the touch operation of the fingerprint identification area is detected, acquiring a first fingerprint image through the fingerprint identification area;
获取所述第一支付应用对应的第一随机数,以及从随机数和指纹模板的记录中获取所述第一随机数对应的第一指纹模板;Obtaining a first random number corresponding to the first payment application, and acquiring a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template;
当所述第一指纹图像与所述第一指纹模板匹配成功时,执行支付操作。When the first fingerprint image is successfully matched with the first fingerprint template, a payment operation is performed.
第二方面,本发明实施例提供了一种指纹支付装置,应用于包括指纹识别区域的终端设备,包括: In a second aspect, an embodiment of the present invention provides a fingerprint payment device, which is applied to a terminal device including a fingerprint identification area, and includes:
显示模块,用于显示第一支付应用的指纹支付界面;a display module, configured to display a fingerprint payment interface of the first payment application;
第一获取模块,用于当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集第一指纹图像;a first acquiring module, configured to collect a first fingerprint image by using the fingerprint identification area when detecting a touch operation of the fingerprint identification area;
第二获取模块,用于获取所述第一支付应用对应的第一随机数,以及从随机数和指纹模板ID的记录中获取所述第一随机数对应的第一指纹模板;a second acquiring module, configured to acquire a first random number corresponding to the first payment application, and obtain a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template ID;
执行模块,用于当所述第一指纹图像与所述第一指纹模板匹配成功时,执行支付操作。And an execution module, configured to perform a payment operation when the first fingerprint image and the first fingerprint template are successfully matched.
第三方面,本发明实施例提供了一种终端设备,包括:In a third aspect, an embodiment of the present invention provides a terminal device, including:
存储有可执行程序代码的存储器;a memory storing executable program code;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第一方面中所描述的部分或全部步骤。The processor invokes the executable program code stored in the memory to perform some or all of the steps as described in the first aspect of the embodiments of the present invention.
第四方面,本发明提供一种计算机存储介质,用于储存为本发明实施例第三方面提供的计算机设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。In a fourth aspect, the present invention provides a computer storage medium for storing computer software instructions for use in a computer device provided by the third aspect of the embodiments of the present invention, comprising a program designed to perform the above aspects.
第五方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第一方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括终端设备。In a fifth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the implementation of the present invention. Some or all of the steps described in the first aspect of the example. The computer program product can be a software installation package, and the computer includes the terminal device.
本发明实施例提供的方案中,通过支付应用与随机数的映射关系,以及随机数与指纹模板的映射关系,为每个支付应用只绑定一个指纹模板。后续执行第一支付应用的指纹对比时,终端设备只会将采集到的指纹图像与第一支付应用绑定的第一指纹模板进行比对。这样尽管终端设备中存储有与第一指纹模板重复的指纹模板,也不会影响到第一支付应用的指纹比对结果,进而提升了指纹支付成功率。In the solution provided by the embodiment of the present invention, only one fingerprint template is bound to each payment application by the mapping relationship between the payment application and the random number and the mapping relationship between the random number and the fingerprint template. When the fingerprint comparison of the first payment application is performed, the terminal device compares the collected fingerprint image with the first fingerprint template bound to the first payment application. In this way, although the fingerprint template duplicated with the first fingerprint template is stored in the terminal device, the fingerprint comparison result of the first payment application is not affected, thereby improving the success rate of the fingerprint payment.
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the invention will be more apparent from the following description of the embodiments.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例提供的一种指纹支付方法的流程示意图;1 is a schematic flowchart of a fingerprint payment method according to an embodiment of the present invention;
图2是本发明实施例提供的一种指纹支付界面示意图;2 is a schematic diagram of a fingerprint payment interface according to an embodiment of the present invention;
图3是本发明实施例提供的一种界面操作示意图;3 is a schematic diagram of an interface operation according to an embodiment of the present invention;
图4是本发明实施例提供的一种数据处理装置的结构示意图;4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
图5是本发明实施例提供的一种计算机设备的结构示意图;FIG. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
图6是本发明实施例提供的一种终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
以下分别进行详细说明。The details are described below separately.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", and "fourth" and the like in the specification and claims of the present invention are used to distinguish different objects, and are not intended to describe a specific order. . Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其 它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art understand explicitly and implicitly that the embodiments described herein may be Its embodiment is combined.
下面结合本发明实施例中的附图对本发明实施例进行描述。The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention.
请参见图1,图1为本发明实施例提供的一种指纹支付方法的流程示意图,该指纹支付方法应用于包括指纹识别区域的终端设备,包括以下步骤:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a fingerprint payment method according to an embodiment of the present invention. The fingerprint payment method is applied to a terminal device including a fingerprint identification area, and includes the following steps:
S101、所述终端设备显示第一支付应用的指纹支付界面。S101. The terminal device displays a fingerprint payment interface of the first payment application.
其中,终端设备,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。The terminal device, also called User Equipment (UE), is a device that provides voice and/or data connectivity to the user, for example, a handheld device with a wireless connection function, an in-vehicle device, and the like. Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
可选地,上述指纹识别区域的具体形式可以是集成有指纹识别模组的Home键。Optionally, the specific form of the fingerprint identification area may be a Home key integrated with a fingerprint identification module.
在另一个实施例中,上述指纹识别区域的具体形式可以是集成有指纹识别模组的指纹采集区域(单独的一个区域),该指纹采集区域可以置于终端设备的背面,或者该指纹采集区域可以置于终端设备的侧边框,本发明不作限定。In another embodiment, the specific form of the fingerprint identification area may be a fingerprint collection area (a single area) integrated with a fingerprint identification module, and the fingerprint collection area may be placed on the back side of the terminal device, or the fingerprint collection area. It can be placed on the side frame of the terminal device, which is not limited in the present invention.
在另一实施例中,上述指纹识别区域的具体形式可以是终端设备的触控屏幕的某个指定区域,在该指定区域的下方设置有指纹识别模组。在本发明中对于指纹识别区域置于终端设备的触控屏幕的具体位置和指纹采集区域的大小本发明不作限定。In another embodiment, the specific form of the fingerprint identification area may be a designated area of the touch screen of the terminal device, and a fingerprint identification module is disposed below the designated area. In the present invention, the specific location of the fingerprint recognition area placed on the touch screen of the terminal device and the size of the fingerprint collection area are not limited in the present invention.
其中,指纹识别模组,是要通过特定的感应模组实现对于个体指纹特征的识别。目前,指纹识别模块主要分为光学式指纹模块、电容式指纹模块以及射频式指纹模块。Among them, the fingerprint recognition module is to realize the identification of individual fingerprint features through a specific sensing module. At present, the fingerprint recognition module is mainly divided into an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module.
可选地,上述指纹支付界面包括用于提示用户输入用于第一支付应用的支付认证的指纹图像的对话框。比如,如图2所示,在终端设备的屏幕上弹出“请验证xxx应用绑定的指纹”的对话框。Optionally, the fingerprint payment interface includes a dialog box for prompting the user to input a fingerprint image for payment authentication of the first payment application. For example, as shown in FIG. 2, a dialog box of "Please verify the fingerprint of the xxx application binding" pops up on the screen of the terminal device.
S102、当检测到所述指纹识别区域的触摸操作时,所述终端设备通过所述指纹识别区域采集第一指纹图像。S102. When detecting a touch operation of the fingerprint identification area, the terminal device collects a first fingerprint image by using the fingerprint identification area.
可选地,所述终端设备通过所述指纹识别区域采集第一指纹图像的具体实 施方式有:所述终端设备通过指纹识别区域的指纹识别模组的感应电极获取正常底层数据集合和异常底层数据集合,所述正常底层数据集合包含多个正常底层数据值,所述异常底层数据集合包含多个异常底层数据值;终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合;终端设备根据所述正常底层数据集合和所述目标底层数据集合生成第一指纹图像。Optionally, the terminal device collects a specific image of the first fingerprint image by using the fingerprint identification area The method includes: the terminal device acquires a normal underlying data set and an abnormal underlying data set by using a sensing electrode of the fingerprint identification module of the fingerprint identification area, where the normal underlying data set includes a plurality of normal underlying data values, and the abnormal underlying data The set includes a plurality of abnormal underlying data values; the terminal device determines the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set; and the terminal device generates the first according to the normal underlying data set and the target underlying data set. A fingerprint image.
进一步地,上述示例过程中,终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合的示例实现过程如下:Further, in the above example process, the example implementation process of determining, by the terminal device, the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:
终端设备根据所述正常底层数据集合中包含的多个正常底层数据值,确定平均值;终端设备将所述异常底层数据集合中包含的多个异常底层数据均更换为所述平均值,以得到所述目标底层数据集合。The terminal device determines an average value according to the plurality of normal underlying data values included in the normal underlying data set; the terminal device replaces the multiple abnormal underlying data included in the abnormal underlying data set with the average value to obtain The target underlying data set.
或者,终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合的示例实现过程如下:Or the example implementation process of determining, by the terminal device, the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:
终端设备从所述正常底层数据集合中包含的多个正常底层数据值中获取数据值最小的正常底层数据值;终端设备将所述异常底层数据集合中包含的多个异常底层数据均更换为所述数据值最小的正常底层数据值,以得到所述目标底层数据集合。The terminal device obtains a normal underlying data value with the smallest data value from the plurality of normal underlying data values included in the normal underlying data set; the terminal device replaces the multiple abnormal underlying data included in the abnormal underlying data set with the same The normal underlying data value with the smallest data value is obtained to obtain the target underlying data set.
或者,终端设备根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合的示例实现过程如下:Or the example implementation process of determining, by the terminal device, the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set is as follows:
终端设备从所述正常底层数据集合中包含的多个正常底层数据值中获取任意一个正常底层数据值;终端设备将所述异常底层数据集合中包含的多个异常底层数据均更换为所述任意一个正常底层数据值,以得到所述目标底层数据集合。The terminal device obtains any normal underlying data value from the plurality of normal underlying data values included in the normal underlying data set; the terminal device replaces the plurality of abnormal underlying data included in the abnormal underlying data set with the arbitrary A normal underlying data value to get the target underlying data set.
其中,上述底层数据值可以包括电容和/或电压等。指纹识别模组的感应电极可以由指纹识别模组的微控制单元MCU进行检测。指纹识别模组的感应电极包括多个正常感应电极和多个异常感应电极,其中,异常感应电极是出现异常的感应电极。通过多个正常感应电极获取正常底层数据集合,通过多个异常感应电极获取异常底层数据集合。 Wherein, the above bottom data value may include a capacitor and/or a voltage or the like. The sensing electrode of the fingerprint recognition module can be detected by the micro control unit MCU of the fingerprint recognition module. The sensing electrode of the fingerprint recognition module includes a plurality of normal sensing electrodes and a plurality of abnormal sensing electrodes, wherein the abnormal sensing electrodes are sensing electrodes in which an abnormality occurs. A normal underlying data set is obtained through a plurality of normal sensing electrodes, and an abnormal underlying data set is acquired through a plurality of abnormal sensing electrodes.
S103、所述终端设备获取所述第一支付应用对应的第一随机数,以及从随机数和指纹模板的记录中获取所述第一随机数对应的第一指纹模板。S103: The terminal device acquires a first random number corresponding to the first payment application, and acquires a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template.
S104、当所述第一指纹图像与所述第一指纹模板匹配成功时,所述终端设备执行支付操作。S104. When the first fingerprint image is successfully matched with the first fingerprint template, the terminal device performs a payment operation.
具体地,1)首先在系统内维护支付应用表,当某个支付应用开通指纹支付功能时,使用加密算法,生成一个随机数,生成的随机数用于标识是该支付应用在使用指纹支付功能。然后将该随机数传递给指纹安全系统(trust zone,TZ),在frameworks和TZ中分别保存该随机数,作为该支付应用在指纹支付时的一个凭证。2)支付应用的指纹支付功能开通成功后,TZ会把开通指纹支付功能时设定的用于该指纹支付应用支付认证的指纹模板ID传递给frameworks,这时TZ需要记录一个表,即步骤1)生成的随机数与步骤2)开通的指纹模板ID的对应关系表。3)支付软件使用指纹支付时,frameworks首先查询该支付应用对应的随机数,并将该随机数告知TZ,TZ接收到该随机数后,通过步骤2)生成的表,查询到该随机数对应的指纹模板ID,然后将支付时用户录入的指纹与该指纹模板进行匹配认证,给出匹配结果。如果匹配结果为匹配,则直接执行支付操作,如果匹配结果为不匹配,则提示用户重新输入指纹。Specifically, 1) firstly maintaining a payment application table in the system. When a payment application activates the fingerprint payment function, an encryption algorithm is used to generate a random number, and the generated random number is used to identify that the payment application is using the fingerprint payment function. . The random number is then passed to a fingerprint zone (TZ), and the random number is saved in frameworks and TZ, respectively, as a voucher for the payment application at the time of fingerprint payment. 2) After the fingerprint payment function of the payment application is successfully opened, the TZ will transmit the fingerprint template ID for the fingerprint payment application payment authentication set to the frameworks when the fingerprint payment function is activated, and the TZ needs to record a table, that is, step 1 a correspondence table between the generated random number and the fingerprint template ID opened in step 2). 3) When the payment software uses the fingerprint payment, the framework first queries the random number corresponding to the payment application, and informs the TZ of the random number, and after receiving the random number, the TZ, through the table generated in step 2), queries the corresponding random number. The fingerprint template ID is then matched and authenticated by the fingerprint entered by the user when the payment is made, and the matching result is given. If the matching result is a match, the payment operation is directly performed, and if the matching result is not matched, the user is prompted to re-enter the fingerprint.
可选地,所述方法还包括:Optionally, the method further includes:
当检测第二指纹模板被删除,且所述第二指纹模板是用于第二支付应用支付认证的指纹模板时,所述终端设备获取所述第二支付应用对应的第二随机数,以及将所述第二随机数对应的指纹模板ID从所述随机数和指纹模板ID的记录中删除。When detecting that the second fingerprint template is deleted, and the second fingerprint template is a fingerprint template for the second payment application payment authentication, the terminal device acquires a second random number corresponding to the second payment application, and The fingerprint template ID corresponding to the second random number is deleted from the record of the random number and the fingerprint template ID.
进一步可选地,当第二指纹模板被删除时,上述步骤只是将所述随机数和指纹模板ID的记录中的第二指纹模板ID删除,第二支付应用对应的第二随机数没有删除,也就是表示第二支付应用还处于指纹支付功能开通的情况,若此时用户使用第二支付应用的支付功能的话,支付认证因为没有对比模板而导致支付失败。为了避免这种情况的出现,在所述终端设备将所述第二随机数对应的指纹模板ID从所述随机数和指纹模板ID的记录中删除之后,所述方法还包 括:所述终端设备显示提示信息,所述提示信息用于提示用于所述第二支付应用支付认证的指纹模板已删除,是否为所述第二支付应用设定新的支付认证的指纹模板;当所述终端设备检测到针对所述第一提示信息的确认指令时,所述终端设备确定所述终端设备中是否完整度大于或等于所述第一阈值的至少一个指纹模板;若所述终端设备中完整度大于或等于所述第一阈值的至少一个指纹模板,则所述终端设备在显示屏幕上显示所述至少一个指纹模板,以及显示所述至少一个指纹模板的相关信息;当所述终端设备检测到所述至少一个指纹模板中的指纹模板i的点击指令时,所述终端设备将所述指纹模板i作为所述第二支付应用支付认证的指纹模板。Optionally, when the second fingerprint template is deleted, the foregoing step is only deleting the second fingerprint template ID in the record of the random number and the fingerprint template ID, and the second random number corresponding to the second payment application is not deleted. That is to say, the second payment application is still in the case where the fingerprint payment function is activated. If the user uses the payment function of the second payment application at this time, the payment authentication fails because the template is not compared. In order to avoid the occurrence of the situation, after the terminal device deletes the fingerprint template ID corresponding to the second random number from the record of the random number and the fingerprint template ID, the method further includes The terminal device displays prompt information, where the prompt information is used to prompt that the fingerprint template used for the second payment application payment authentication has been deleted, and whether a new payment authentication fingerprint template is set for the second payment application. When the terminal device detects the confirmation instruction for the first prompt information, the terminal device determines whether the terminal device has at least one fingerprint template whose integrity is greater than or equal to the first threshold; And displaying, by the terminal device, the at least one fingerprint template on the display screen, and displaying related information of the at least one fingerprint template, where the integrity of the terminal device is greater than or equal to the first threshold. When the terminal device detects the click instruction of the fingerprint template i in the at least one fingerprint template, the terminal device uses the fingerprint template i as a fingerprint template for the second payment application payment authentication.
具体的界面操作示意图如图3所示。在图3所示的示意图中,上述至少一个指纹模板为2个指纹模板,分别是左手大拇指的指纹模板和右手大拇指的指纹模板。The specific interface operation diagram is shown in Figure 3. In the schematic diagram shown in FIG. 3, the at least one fingerprint template is two fingerprint templates, which are a fingerprint template of a left thumb and a fingerprint template of a right thumb.
可选地,所述第一指纹模板和第二指纹模板的完整度均大于或等于第一阈值。也就是说,被设定为某个支付应用支付认证的指纹模板必须是比较完整的。另外,限定用于支付认证的指纹模板的完整度,可避免用于支付认证的指纹模板与指纹支付时录入的指纹虽是同一手指的指纹,但是不同部分的指纹,而导致指纹支付失败的情况,进而可进一步的提高指纹支付成功率。Optionally, the integrity of the first fingerprint template and the second fingerprint template are both greater than or equal to a first threshold. That is to say, the fingerprint template set to a payment application payment authentication must be relatively complete. In addition, the integrity of the fingerprint template used for payment authentication can be avoided, and the fingerprint template used for payment authentication and the fingerprint input when the fingerprint is paid are the same fingerprint of the same finger, but the fingerprint of different parts may cause the fingerprint payment to fail. In turn, the success rate of fingerprint payment can be further improved.
由于指纹录入是人为录入的,而非机器录入,用户在指纹模板录入的时候,可能没有办法录入到一个很完整的指纹。本方案可在后续终端设备的使用过程中不断对指纹模板进行补充,以使得录入的指纹模板越来越完整。对指纹模板进行补充的具体实现方式有:在指纹解锁过程中,若所述指纹识别区域采集到的第二指纹图像与第三指纹模板相匹配时,所述终端设备从所述第二指纹图像中提取出所述第三指纹模板未包含的多个指纹特征,以及将所述多个指纹特征添加至所述第三指纹模板中。Since the fingerprint entry is manually entered, not the machine entry, the user may not have a complete fingerprint when entering the fingerprint template. The solution can continuously supplement the fingerprint template during the use of the subsequent terminal device, so that the fingerprint template entered is more and more complete. The specific implementation manner of the fingerprint template is: when the fingerprint image is unlocked, if the second fingerprint image collected by the fingerprint recognition area matches the third fingerprint template, the terminal device receives the second fingerprint image. Extracting a plurality of fingerprint features not included in the third fingerprint template, and adding the plurality of fingerprint features to the third fingerprint template.
可选地,所述方法还包括:Optionally, the method further includes:
当检测到第三指纹模板的完整度大于或等于所述第一阈值时,所述终端设备确定所述第三指纹模板是否与所述终端设备中存储的其中一个指纹模板的重复度大于或等于第二阈值;若所述第三指纹模板与所述终端设备中存储的其 中一个指纹模板的重复度大于或等于所述第二阈值,则所述终端设备提示用户所述第三指纹模板已存在,是否存储所述第三指纹模板。When detecting that the completeness of the third fingerprint template is greater than or equal to the first threshold, the terminal device determines whether the third fingerprint template has a repetition degree greater than or equal to one of the fingerprint templates stored in the terminal device. a second threshold; if the third fingerprint template is stored in the terminal device If the repetition degree of one of the fingerprint templates is greater than or equal to the second threshold, the terminal device prompts the user that the third fingerprint template already exists, and whether the third fingerprint template is stored.
进一步可选地,所述方法还包括:Further optionally, the method further includes:
若接收到针对上述提示的确定存储指令时,所述终端设备存储所述第三指纹模板,并标志所述第三指纹模板与所述其中一个指纹模板为重复指纹模板,以便于后续进行确认。若接收到针对上述提示的确定删除指令时,所述终端设备删除所述第三指纹模板。And receiving, by the terminal device, the third fingerprint template, and marking the third fingerprint template and the one of the fingerprint templates as duplicate fingerprint templates, so as to facilitate subsequent confirmation. The terminal device deletes the third fingerprint template if a determination deletion instruction for the above prompt is received.
可见,本发明实施例提供的方案中,通过支付应用与随机数的映射关系,以及随机数与指纹模板的映射关系,为每个支付应用只绑定一个指纹模板。后续执行第一支付应用的指纹对比时,终端设备只会将采集到的指纹图像与第一支付应用绑定的第一指纹模板进行比对。这样尽管终端设备中存储有与第一指纹模板重复的指纹模板,也不会影响到第一支付应用的指纹比对结果,进而提升了指纹支付成功率。It can be seen that, in the solution provided by the embodiment of the present invention, only one fingerprint template is bound to each payment application by the mapping relationship between the payment application and the random number and the mapping relationship between the random number and the fingerprint template. When the fingerprint comparison of the first payment application is performed, the terminal device compares the collected fingerprint image with the first fingerprint template bound to the first payment application. In this way, although the fingerprint template duplicated with the first fingerprint template is stored in the terminal device, the fingerprint comparison result of the first payment application is not affected, thereby improving the success rate of the fingerprint payment.
本发明实施例还提供了一种指纹支付装置400,如图4所示,应用于包括指纹识别区域的终端设备,包括:The embodiment of the present invention further provides a fingerprint payment device 400. As shown in FIG. 4, the application is applied to a terminal device including a fingerprint identification area, including:
显示模块401,用于显示第一支付应用的指纹支付界面;The display module 401 is configured to display a fingerprint payment interface of the first payment application;
第一获取模块402,用于当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集第一指纹图像;The first obtaining module 402 is configured to collect a first fingerprint image by using the fingerprint identification area when detecting a touch operation of the fingerprint identification area;
第二获取模块403,用于获取所述第一支付应用对应的第一随机数,以及从随机数和指纹模板ID的记录中获取所述第一随机数对应的第一指纹模板;The second obtaining module 403 is configured to obtain a first random number corresponding to the first payment application, and obtain a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template ID;
执行模块404,用于当所述第一指纹图像与所述第一指纹模板匹配成功时,执行支付操作。The executing module 404 is configured to perform a payment operation when the first fingerprint image and the first fingerprint template match successfully.
可选地,所述指纹支付装置还包括:Optionally, the fingerprint payment device further includes:
第三获取模块405,用于当检测第二指纹模板被删除,且所述第二指纹模板是用于第二支付应用支付认证的指纹模板时,获取所述第二支付应用对应的第二随机数;The third obtaining module 405 is configured to: when detecting that the second fingerprint template is deleted, and the second fingerprint template is a fingerprint template used for the second payment application payment authentication, acquiring a second random corresponding to the second payment application number;
第一删除模块406,用于将所述第二随机数对应的指纹模板ID从所述随 机数和指纹模板ID的记录中删除。a first deletion module 406, configured to: use the fingerprint template ID corresponding to the second random number from the The number of machines and the fingerprint template ID are deleted from the record.
可选地,所述第一指纹模板和第二指纹模板的完整度均大于或等于第一阈值。Optionally, the integrity of the first fingerprint template and the second fingerprint template are both greater than or equal to a first threshold.
可选地,所述指纹支付装置还包括:Optionally, the fingerprint payment device further includes:
提取模块407,用于在指纹解锁过程中,若所述指纹识别区域采集到的第二指纹图像与第三指纹模板相匹配时,从所述第二指纹图像中提取出所述第三指纹模板未包含的多个指纹特征;The extracting module 407 is configured to extract the third fingerprint template from the second fingerprint image if the second fingerprint image collected by the fingerprint identification area matches the third fingerprint template during the fingerprint unlocking process Multiple fingerprint features not included;
添加模块408,用于将所述多个指纹特征添加至所述第三指纹模板中。The adding module 408 is configured to add the multiple fingerprint features to the third fingerprint template.
可选地,所述指纹支付装置还包括:Optionally, the fingerprint payment device further includes:
确定模块409,用于当检测到所述第三指纹模板的完整度大于或等于所述第一阈值时,确定所述第三指纹模板是否与所述终端设备中存储的其中一个指纹模板的重复度大于或等于第二阈值;a determining module 409, configured to determine, when the integrity of the third fingerprint template is greater than or equal to the first threshold, whether the third fingerprint template is duplicated with one of the fingerprint templates stored in the terminal device Degree is greater than or equal to the second threshold;
提示模块410,用于若所述第三指纹模板与所述终端设备中存储的其中一个指纹模板的重复度大于或等于所述第二阈值,则提示用户所述第三指纹模板已存在,是否存储所述第三指纹模板。The prompting module 410 is configured to prompt the user that the third fingerprint template already exists if the repetition degree of the third fingerprint template and one of the fingerprint templates stored in the terminal device is greater than or equal to the second threshold. The third fingerprint template is stored.
可选地,所述指纹支付装置还包括:Optionally, the fingerprint payment device further includes:
存储模块411,用于若接收到针对所述提示的确定存储指令时,存储所述第三指纹模板,并标志所述第三指纹模板与所述其中一个指纹模板为重复指纹模板;The storage module 411 is configured to: when receiving the determining storage instruction for the prompt, storing the third fingerprint template, and marking the third fingerprint template and the one of the fingerprint templates as a duplicate fingerprint template;
第二删除模块412,用于若接收到针对上述提示的确定删除指令时,删除所述第三指纹模板。The second deletion module 412 is configured to delete the third fingerprint template when receiving the determination deletion instruction for the prompt.
可选地,所述指纹支付界面包括用于提示用户输入用于所述第一支付应用的支付认证的指纹图像的对话框。Optionally, the fingerprint payment interface includes a dialog box for prompting a user to input a fingerprint image for payment authentication of the first payment application.
可选地,所述第一获取模块402具体用于:Optionally, the first obtaining module 402 is specifically configured to:
通过指纹识别区域的指纹识别模组的感应电极获取正常底层数据集合和异常底层数据集合,所述正常底层数据集合包含多个正常底层数据值,所述异常底层数据集合包含多个异常底层数据值;The normal underlying data set and the abnormal underlying data set are obtained by the sensing electrode of the fingerprint identification module of the fingerprint identification area, where the normal underlying data set includes a plurality of normal underlying data values, and the abnormal underlying data set includes a plurality of abnormal underlying data values ;
根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层 数据集合;Determining, according to the normal underlying data set, a target bottom layer corresponding to the abnormal underlying data set Data collection
根据所述正常底层数据集合和所述目标底层数据集合生成第一指纹图像。Generating a first fingerprint image according to the normal underlying data set and the target underlying data set.
可选地,在根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合方面,所述第一获取模块402具体用于:Optionally, the first obtaining module 402 is specifically configured to: determine, according to the normal underlying data set, the target underlying data set corresponding to the abnormal underlying data set,
根据所述正常底层数据集合中包含的多个正常底层数据值,确定平均值;Determining an average value according to a plurality of normal underlying data values included in the normal underlying data set;
将所述异常底层数据集合中包含的多个异常底层数据均更换为所述平均值,以得到所述目标底层数据集合。And replacing a plurality of abnormal underlying data included in the abnormal underlying data set with the average value to obtain the target underlying data set.
需要说明的是,上述各模块(显示模块401、第一获取模块402、第二获取模块403、执行模块404、第三获取模块405、删除模块406、提取模块407、添加模块408、确定模块409、提示模块410、存储模块411和第二删除模块412等)用于执行上述方法的相关步骤。比如显示模块401用于执行以上步骤S101,第一获取模块402用于执行以上步骤S102,第二获取模块403用于执行以上步骤S103,执行模块404用于执行以上步骤S104,等等。It should be noted that each of the above modules (display module 401, first acquisition module 402, second acquisition module 403, execution module 404, third acquisition module 405, deletion module 406, extraction module 407, addition module 408, determination module 409) The prompting module 410, the storage module 411 and the second deletion module 412, etc.) are used to perform the relevant steps of the above method. For example, the display module 401 is configured to perform the above step S101, the first obtaining module 402 is configured to perform the above step S102, the second obtaining module 403 is configured to perform the above step S103, the executing module 404 is configured to perform the above step S104, and the like.
在本实施例中,指纹支付装置400是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上显示模块401、第一获取模块402、第二获取模块403、执行模块404、第三获取模块405、删除模块406、提取模块407、添加模块408、确定模块409、提示模块410、存储模块411和第二删除模块412可通过图5所示的计算机设备的处理器501来实现。In the present embodiment, the fingerprint payment device 400 is presented in the form of a module. A "module" herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality. . In addition, the above display module 401, the first obtaining module 402, the second obtaining module 403, the executing module 404, the third obtaining module 405, the deleting module 406, the extracting module 407, the adding module 408, the determining module 409, the prompting module 410, and the storage The module 411 and the second deletion module 412 can be implemented by the processor 501 of the computer device shown in FIG.
如图5所示,终端设备500可以以图5中的结构来实现,该终端设备500包括至少一个处理器501,至少一个存储器502以及至少一个通信接口503。所述处理器501通过总线所述存储器502和所述通信接口503通过所述通信总线连接并完成相互间的通信。As shown in FIG. 5, the terminal device 500 can be implemented in the structure of FIG. 5, which includes at least one processor 501, at least one memory 502, and at least one communication interface 503. The processor 501 connects and completes communication with each other through the communication bus via the bus 502 and the communication interface 503.
处理器501可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。 The processor 501 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
通信接口503,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。The communication interface 503 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
存储器502可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 502 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions. The dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this. The memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.
其中,所述存储器502用于存储执行以上方案的应用程序代码,并由处理器501来控制执行。所述处理器501用于执行所述存储器1202中存储的应用程序代码。The memory 502 is configured to store application code for executing the above solution, and is controlled by the processor 501 for execution. The processor 501 is configured to execute application code stored in the memory 1202.
存储器502存储的代码可执行以上提供的终端设备执行的上述指纹支付方法,比如显示第一支付应用的指纹支付界面;当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集第一指纹图像;获取所述第一支付应用对应的第一随机数,以及从随机数和指纹模板ID的记录中获取所述第一随机数对应的第一指纹模板;当所述第一指纹图像与所述第一指纹模板匹配成功时,执行支付操作。The code stored in the memory 502 can execute the above-mentioned fingerprint payment method performed by the terminal device provided above, such as displaying a fingerprint payment interface of the first payment application; and when the touch operation of the fingerprint identification area is detected, collecting through the fingerprint identification area Obtaining a first fingerprint image corresponding to the first payment application, and acquiring a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template ID; when the first fingerprint When the image is successfully matched with the first fingerprint template, a payment operation is performed.
本发明实施例还提供了另一种移动终端,如图6所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以移动终端为手机为例:The embodiment of the present invention further provides another mobile terminal. As shown in FIG. 6 , for the convenience of description, only parts related to the embodiment of the present invention are shown. For details that are not disclosed, refer to the method of the embodiment of the present invention. section. The mobile terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the mobile terminal is used as a mobile phone as an example:
图6示出的是与本发明实施例提供的移动终端相关的手机的部分结构的 框图。参考图6,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(Wireless Fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图6中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 6 shows a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention. block diagram. Referring to FIG. 6, the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, and a processor 980. And power supply 990 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 6 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
下面结合图6对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 6:
RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for receiving and transmitting information. Generally, RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据(比如指纹识别区域采集到的指纹图像等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 920. The memory 920 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function, and the like; the storage data area can store data created according to the use of the mobile phone (such as fingerprint identification). Fingerprint images collected in the area, etc.). Moreover, memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括指纹传感器931以及其他输入设备932。指纹传感器931,可采集用户在其上的指纹数据。除了指纹传感器931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于触控屏、物理按键、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 The input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 930 may include a fingerprint sensor 931 and other input devices 932. The fingerprint sensor 931 can collect fingerprint data of the user. In addition to the fingerprint sensor 931, the input unit 930 may also include other input devices 932. Specifically, the other input device 932 may include, but is not limited to, one or more of a touch screen, a physical button, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示屏941,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏941。虽然在图6中,指纹传感器931与显示屏941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹传感器931与显示屏941集成而实现手机的输入和播放功能。The display unit 940 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 940 can include a display screen 941. Alternatively, the display screen 941 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Although in FIG. 6, the fingerprint sensor 931 and the display screen 941 are two separate components to implement the input and input functions of the mobile phone, in some embodiments, the fingerprint sensor 931 can be integrated with the display screen 941 to implement the mobile phone. Input and playback features.
手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏941的亮度,接近传感器可在手机移动到耳边时,关闭显示屏941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 941 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号播放;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据播放处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据播放至存储器920以便进一步处理。An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the handset. The audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961 for conversion to the sound signal by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted into audio data, and then processed by the audio data playback processor 980, sent to the other mobile phone via the RF circuit 910, or played back to the memory 920 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access. Although FIG. 6 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone, and can be omitted as needed within the scope of not changing the essence of the invention.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用 存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the handset, connecting various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 920, and calling The data stored in the memory 920 performs various functions of the mobile phone and processes the data, thereby performing overall monitoring of the mobile phone. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The handset also includes a power source 990 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 980 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
前述图1~图3所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 1 to FIG. 3, each step method flow can be implemented based on the structure of the mobile phone.
前述图4所示的实施例中,各单元功能可以基于该手机的结构实现。In the foregoing embodiment shown in FIG. 4, each unit function can be implemented based on the structure of the mobile phone.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种指纹支付方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the fingerprint payment methods described in the foregoing method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其 它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or Its form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable memory, and the memory can include: a flash drive , read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。 The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; The present invention is not limited by the scope of the present invention, and the present invention is not limited by the scope of the present invention.

Claims (20)

  1. 一种指纹支付方法,其特征在于,应用于包括指纹识别区域的终端设备,包括:A fingerprint payment method, which is applied to a terminal device including a fingerprint identification area, including:
    显示第一支付应用的指纹支付界面;Displaying a fingerprint payment interface of the first payment application;
    当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集第一指纹图像;When the touch operation of the fingerprint identification area is detected, acquiring a first fingerprint image through the fingerprint identification area;
    获取所述第一支付应用对应的第一随机数,以及从随机数和指纹模板ID的记录中获取所述第一随机数对应的第一指纹模板;Acquiring the first random number corresponding to the first payment application, and acquiring the first fingerprint template corresponding to the first random number from the record of the random number and the fingerprint template ID;
    当所述第一指纹图像与所述第一指纹模板匹配成功时,执行支付操作。When the first fingerprint image is successfully matched with the first fingerprint template, a payment operation is performed.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    当检测第二指纹模板被删除,且所述第二指纹模板是用于第二支付应用支付认证的指纹模板时,获取所述第二支付应用对应的第二随机数,以及将所述第二随机数对应的指纹模板ID从所述随机数和指纹模板ID的记录中删除。When detecting that the second fingerprint template is deleted, and the second fingerprint template is a fingerprint template for the second payment application payment authentication, acquiring a second random number corresponding to the second payment application, and the second The fingerprint template ID corresponding to the random number is deleted from the record of the random number and the fingerprint template ID.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一指纹模板和第二指纹模板的完整度均大于或等于第一阈值。The method according to claim 1 or 2, wherein the integrity of the first fingerprint template and the second fingerprint template are both greater than or equal to a first threshold.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    在指纹解锁过程中,若所述指纹识别区域采集到的第二指纹图像与第三指纹模板相匹配时,从所述第二指纹图像中提取出所述第三指纹模板未包含的多个指纹特征,以及将所述多个指纹特征添加至所述第三指纹模板中。During the fingerprint unlocking process, if the second fingerprint image collected by the fingerprint identification area matches the third fingerprint template, multiple fingerprints not included in the third fingerprint template are extracted from the second fingerprint image. Feature, and adding the plurality of fingerprint features to the third fingerprint template.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    当检测到所述第三指纹模板的完整度大于或等于所述第一阈值时,确定所述第三指纹模板是否与所述终端设备中存储的其中一个指纹模板的重复度大于或等于第二阈值; When it is detected that the completeness of the third fingerprint template is greater than or equal to the first threshold, determining whether the third fingerprint template has a degree of repetition with one of the fingerprint templates stored in the terminal device is greater than or equal to a second Threshold value
    若所述第三指纹模板与所述终端设备中存储的其中一个指纹模板的重复度大于或等于所述第二阈值,则提示用户所述第三指纹模板已存在,是否存储所述第三指纹模板。And if the repetition degree of the third fingerprint template and one of the fingerprint templates stored in the terminal device is greater than or equal to the second threshold, prompting the user that the third fingerprint template already exists, whether to store the third fingerprint template.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    若接收到针对所述提示的确定存储指令时,存储所述第三指纹模板,并标志所述第三指纹模板与所述其中一个指纹模板为重复指纹模板;And if the determining the storage instruction for the prompt is received, storing the third fingerprint template, and marking the third fingerprint template and the one of the fingerprint templates as a duplicate fingerprint template;
    若接收到针对上述提示的确定删除指令时,删除所述第三指纹模板。If the determination deletion instruction for the above prompt is received, the third fingerprint template is deleted.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述指纹支付界面包括用于提示用户输入用于所述第一支付应用的支付认证的指纹图像的对话框。The method of any of claims 1-6, wherein the fingerprint payment interface comprises a dialog for prompting a user to enter a fingerprint image for payment authentication of the first payment application.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述通过所述指纹识别区域采集第一指纹图像,包括:The method according to any one of claims 1 to 7, wherein the acquiring the first fingerprint image by the fingerprint identification area comprises:
    通过指纹识别区域的指纹识别模组的感应电极获取正常底层数据集合和异常底层数据集合,所述正常底层数据集合包含多个正常底层数据值,所述异常底层数据集合包含多个异常底层数据值;The normal underlying data set and the abnormal underlying data set are obtained by the sensing electrode of the fingerprint identification module of the fingerprint identification area, where the normal underlying data set includes a plurality of normal underlying data values, and the abnormal underlying data set includes a plurality of abnormal underlying data values ;
    根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合;Determining, according to the normal underlying data set, a target underlying data set corresponding to the abnormal underlying data set;
    根据所述正常底层数据集合和所述目标底层数据集合生成第一指纹图像。Generating a first fingerprint image according to the normal underlying data set and the target underlying data set.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合,包括:The method according to claim 8, wherein the determining the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set comprises:
    根据所述正常底层数据集合中包含的多个正常底层数据值,确定平均值;Determining an average value according to a plurality of normal underlying data values included in the normal underlying data set;
    将所述异常底层数据集合中包含的多个异常底层数据均更换为所述平均值,以得到所述目标底层数据集合。 And replacing a plurality of abnormal underlying data included in the abnormal underlying data set with the average value to obtain the target underlying data set.
  10. 一种指纹支付装置,其特征在于,应用于包括指纹识别区域的终端设备,包括:A fingerprint payment device, which is applied to a terminal device including a fingerprint identification area, and includes:
    显示模块,用于显示第一支付应用的指纹支付界面;a display module, configured to display a fingerprint payment interface of the first payment application;
    第一获取模块,用于当检测到所述指纹识别区域的触摸操作时,通过所述指纹识别区域采集第一指纹图像;a first acquiring module, configured to collect a first fingerprint image by using the fingerprint identification area when detecting a touch operation of the fingerprint identification area;
    第二获取模块,用于获取所述第一支付应用对应的第一随机数,以及从随机数和指纹模板ID的记录中获取所述第一随机数对应的第一指纹模板;a second acquiring module, configured to acquire a first random number corresponding to the first payment application, and obtain a first fingerprint template corresponding to the first random number from a record of the random number and the fingerprint template ID;
    执行模块,用于当所述第一指纹图像与所述第一指纹模板匹配成功时,执行支付操作。And an execution module, configured to perform a payment operation when the first fingerprint image and the first fingerprint template are successfully matched.
  11. 根据权利要求10所述的指纹支付装置,其特征在于,所述指纹支付装置还包括:The fingerprint payment device according to claim 10, wherein the fingerprint payment device further comprises:
    第三获取模块,用于当检测第二指纹模板被删除,且所述第二指纹模板是用于第二支付应用支付认证的指纹模板时,获取所述第二支付应用对应的第二随机数;a third obtaining module, configured to: when detecting that the second fingerprint template is deleted, and the second fingerprint template is a fingerprint template used for the second payment application payment authentication, acquiring the second random number corresponding to the second payment application ;
    第一删除模块,用于将所述第二随机数对应的指纹模板ID从所述随机数和指纹模板ID的记录中删除。The first deleting module is configured to delete the fingerprint template ID corresponding to the second random number from the records of the random number and the fingerprint template ID.
  12. 根据权利要求10或11所述的指纹支付装置,其特征在于,所述第一指纹模板和第二指纹模板的完整度均大于或等于第一阈值。The fingerprint payment device according to claim 10 or 11, wherein the integrity of the first fingerprint template and the second fingerprint template are both greater than or equal to a first threshold.
  13. 根据权利要求10-12任一项所述的指纹支付装置,其特征在于,所述指纹支付装置还包括:The fingerprint payment device according to any one of claims 10 to 12, wherein the fingerprint payment device further comprises:
    提取模块,用于在指纹解锁过程中,若所述指纹识别区域采集到的第二指纹图像与第三指纹模板相匹配时,从所述第二指纹图像中提取出所述第三指纹模板未包含的多个指纹特征;An extraction module, configured to: when the second fingerprint image collected by the fingerprint identification area matches the third fingerprint template, the third fingerprint template is not extracted from the second fingerprint image Multiple fingerprint features included;
    添加模块,用于将所述多个指纹特征添加至所述第三指纹模板中。 And adding a module, configured to add the multiple fingerprint features to the third fingerprint template.
  14. 根据权利要求13所述的指纹支付装置,其特征在于,所述指纹支付装置还包括:The fingerprint payment device according to claim 13, wherein the fingerprint payment device further comprises:
    确定模块,用于当检测到所述第三指纹模板的完整度大于或等于所述第一阈值时,确定所述第三指纹模板是否与所述终端设备中存储的其中一个指纹模板的重复度大于或等于第二阈值;a determining module, configured to determine, when the completeness of the third fingerprint template is greater than or equal to the first threshold, whether the third fingerprint template is overlapped with one of the fingerprint templates stored in the terminal device Greater than or equal to the second threshold;
    提示模块,用于若所述第三指纹模板与所述终端设备中存储的其中一个指纹模板的重复度大于或等于所述第二阈值,则提示用户所述第三指纹模板已存在,是否存储所述第三指纹模板。a prompting module, configured to: if the repetition degree of the third fingerprint template and one of the fingerprint templates stored in the terminal device is greater than or equal to the second threshold, prompting the user that the third fingerprint template already exists, whether to store The third fingerprint template.
  15. 根据权利要求14所述的指纹支付装置,其特征在于,所述指纹支付装置还包括:The fingerprint payment device according to claim 14, wherein the fingerprint payment device further comprises:
    存储模块,用于若接收到针对所述提示的确定存储指令时,存储所述第三指纹模板,并标志所述第三指纹模板与所述其中一个指纹模板为重复指纹模板;a storage module, configured to: when the storage instruction for the prompt is received, storing the third fingerprint template, and marking the third fingerprint template and the one of the fingerprint templates as a duplicate fingerprint template;
    第二删除模块,用于若接收到针对上述提示的确定删除指令时,删除所述第三指纹模板。And a second deleting module, configured to delete the third fingerprint template if the determining deletion instruction for the prompt is received.
  16. 根据权利要求10-15任一项所述的指纹支付装置,其特征在于,所述指纹支付界面包括用于提示用户输入用于所述第一支付应用的支付认证的指纹图像的对话框。The fingerprint payment device according to any one of claims 10-15, wherein the fingerprint payment interface comprises a dialog box for prompting a user to input a fingerprint image for payment authentication of the first payment application.
  17. 根据权利要求10-16任一项所述的指纹支付装置,其特征在于,所述第一获取模块具体用于:The fingerprint payment device according to any one of claims 10 to 16, wherein the first acquisition module is specifically configured to:
    通过指纹识别区域的指纹识别模组的感应电极获取正常底层数据集合和异常底层数据集合,所述正常底层数据集合包含多个正常底层数据值,所述异常底层数据集合包含多个异常底层数据值;The normal underlying data set and the abnormal underlying data set are obtained by the sensing electrode of the fingerprint identification module of the fingerprint identification area, where the normal underlying data set includes a plurality of normal underlying data values, and the abnormal underlying data set includes a plurality of abnormal underlying data values ;
    根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合; Determining, according to the normal underlying data set, a target underlying data set corresponding to the abnormal underlying data set;
    根据所述正常底层数据集合和所述目标底层数据集合生成第一指纹图像。Generating a first fingerprint image according to the normal underlying data set and the target underlying data set.
  18. 根据权利要求17所述的指纹支付装置,其特征在于,在根据所述正常底层数据集合确定所述异常底层数据集合对应的目标底层数据集合方面,所述第一获取模块具体用于:The fingerprint payment device according to claim 17, wherein the first obtaining module is specifically configured to: determine the target underlying data set corresponding to the abnormal underlying data set according to the normal underlying data set:
    根据所述正常底层数据集合中包含的多个正常底层数据值,确定平均值;Determining an average value according to a plurality of normal underlying data values included in the normal underlying data set;
    将所述异常底层数据集合中包含的多个异常底层数据均更换为所述平均值,以得到所述目标底层数据集合。And replacing a plurality of abnormal underlying data included in the abnormal underlying data set with the average value to obtain the target underlying data set.
  19. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    存储有可执行程序代码的存储器;a memory storing executable program code;
    与所述存储器耦合的处理器;a processor coupled to the memory;
    所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1~权利要求9任一项所述的指纹支付方法。The processor calls the executable program code stored in the memory to execute the fingerprint payment method according to any one of claims 1 to 9.
  20. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。 A computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method of any one of claims 1-9.
PCT/CN2017/103525 2017-03-08 2017-09-26 Fingerprint payment method and terminal device WO2018161544A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710134744.6 2017-03-08
CN201710134744.6A CN107423594B (en) 2017-03-08 2017-03-08 A kind of fingerprint method of payment and terminal device

Publications (1)

Publication Number Publication Date
WO2018161544A1 true WO2018161544A1 (en) 2018-09-13

Family

ID=60423118

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103525 WO2018161544A1 (en) 2017-03-08 2017-09-26 Fingerprint payment method and terminal device

Country Status (2)

Country Link
CN (1) CN107423594B (en)
WO (1) WO2018161544A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767917A (en) * 2019-12-24 2020-10-13 杭州海康威视数字技术股份有限公司 Violation evidence picture detection method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224504A1 (en) * 2005-03-31 2006-10-05 Enenia Biometrics, Inc Mobile biometric merchant transaction processing
CN104299136A (en) * 2013-07-15 2015-01-21 联想(北京)有限公司 Information processing method and electronic equipment
CN105427105A (en) * 2014-09-11 2016-03-23 中兴通讯股份有限公司 Mobile payment method, system and device
CN105447454A (en) * 2015-11-13 2016-03-30 广东欧珀移动通信有限公司 Fingerprint template improving method, device and terminal device
CN105704332A (en) * 2016-04-27 2016-06-22 中国银联股份有限公司 Mobile payment method and device
CN106104575A (en) * 2016-06-13 2016-11-09 北京小米移动软件有限公司 Fingerprint template generates method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224504A1 (en) * 2005-03-31 2006-10-05 Enenia Biometrics, Inc Mobile biometric merchant transaction processing
CN104299136A (en) * 2013-07-15 2015-01-21 联想(北京)有限公司 Information processing method and electronic equipment
CN105427105A (en) * 2014-09-11 2016-03-23 中兴通讯股份有限公司 Mobile payment method, system and device
CN105447454A (en) * 2015-11-13 2016-03-30 广东欧珀移动通信有限公司 Fingerprint template improving method, device and terminal device
CN105704332A (en) * 2016-04-27 2016-06-22 中国银联股份有限公司 Mobile payment method and device
CN106104575A (en) * 2016-06-13 2016-11-09 北京小米移动软件有限公司 Fingerprint template generates method and device

Also Published As

Publication number Publication date
CN107423594A (en) 2017-12-01
CN107423594B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
US10649720B2 (en) Sound effect configuration method and system and related device
US11057216B2 (en) Protection method and protection system of system partition key data and terminal
WO2018032661A1 (en) Information displaying method for terminal device, and terminal device
US20150294101A1 (en) Running applications, and authenticating users
CN104852885B (en) Method, device and system for verifying verification code
US10678942B2 (en) Information processing method and related products
JP6818894B2 (en) Methods and related products for capturing fingerprints
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
US20200005732A1 (en) Method for controlling screen backlight and terminal
WO2014206101A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
CN106921791B (en) Multimedia file storage and viewing method and device and mobile terminal
WO2018161743A1 (en) Fingerprint recognition method and related product
WO2018059131A1 (en) Method and device for updating sequence of fingerprint templates for matching
CN107784089B (en) Multimedia data storage method, processing method and mobile terminal
WO2016078504A1 (en) Identity authentication method and device
WO2018103443A1 (en) Network positioning method and terminal device
CN107870674B (en) Program starting method and mobile terminal
WO2018049934A1 (en) Data migration method and terminals
WO2020048392A1 (en) Application virus detection method, apparatus, computer device, and storage medium
CN106255102B (en) Terminal equipment identification method and related equipment
WO2018049935A1 (en) Data migration method and terminals
WO2018049903A1 (en) Data migration method and related devices
WO2018161540A1 (en) Fingerprint registration method and related product
WO2019007371A1 (en) Method for preventing information from being stolen, storage device, and mobile terminal
WO2019052551A1 (en) Terminal device interaction method, storage medium and terminal device

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: 17899540

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: 17899540

Country of ref document: EP

Kind code of ref document: A1