Disclosure of Invention
The application provides a data processing method and device based on biological characteristics, and aims to improve convenience and safety of a payment mode.
In order to achieve the above object, the present application provides the following technical solutions:
a method of biometric-based data processing, comprising:
responding to a preset trigger condition, and displaying first biological characteristic information;
responding to target biological characteristic information selected from the first biological characteristic information and second biological characteristic information passing authentication, sending a data processing request to a receiver corresponding to the target biological characteristic information in advance, wherein the data request is used for triggering acquisition of third biological characteristic information, and responding to the third biological characteristic information passing authentication, executing a data processing process, and the second biological characteristic information is different from the third biological characteristic information.
Optionally, before the responding to the authentication of the target biometric information selected from the first biometric information and the second biometric information, and sending a data processing request to a receiver corresponding to the target biometric information in advance, the method further includes:
and responding to the selection operation in the display interface of the first biological characteristic information to obtain the target biological characteristic information.
Optionally, the method further includes:
after the target biological characteristic information is obtained, acquiring second biological characteristic information;
the process of determining that the second biometric information is authenticated comprises:
and determining that the second biological characteristic information corresponds to the first biological characteristic information in a preset corresponding relation.
Optionally, the process of determining the receiver to which the target biometric information corresponds in advance includes:
and according to the preset corresponding relation between the first biological characteristic information and the receiver information, taking the receiver information corresponding to the target biological characteristic information as a receiver corresponding to the target biological characteristic information in advance.
Optionally, the method further includes:
and receiving and recording the corresponding relation between the target biological characteristic information and the data processing result.
A method of biometric-based data processing, comprising:
collecting third biological characteristic information in response to a data processing request, wherein the data processing request is sent in response to the target biological characteristic information selected from the first biological characteristic information and the second biological characteristic information passes the authentication;
and executing a data processing process in response to the third biological characteristic information passing the authentication.
Optionally, the process of determining that the third biometric information passes the authentication includes:
and determining that the third biological characteristic information corresponds to the target biological characteristic information in a preset corresponding relation.
Optionally, after the executing the data processing procedure, the method further includes:
and recording and/or sending the corresponding relation between the target biological characteristic information and the data processing result.
Optionally, the executing the data processing process includes:
and deducting money from a target account, wherein the target account is a preset account corresponding to the third biological characteristic information.
A biometric-based data transmission apparatus comprising:
the display module is used for responding to a preset trigger condition and displaying the first biological characteristic information;
and the sending module is used for responding to target biological characteristic information selected from the first biological characteristic information and second biological characteristic information passing authentication, sending a data processing request to a receiver corresponding to the target biological characteristic information in advance, wherein the data request is used for triggering and acquiring third biological characteristic information, and responding to the third biological characteristic information passing authentication and executing a data processing process, and the second biological characteristic information is different from the third biological characteristic information.
A biometric-based data receiving apparatus comprising:
the acquisition module is used for acquiring third biological characteristic information in response to a data processing request, wherein the data processing request is sent in response to the target biological characteristic information selected from the first biological characteristic information and the second biological characteristic information passes the authentication;
and the execution module is used for responding to the authentication of the third biological characteristic information and executing a data processing process.
According to the technical scheme, the first biological characteristic information is displayed in response to a preset trigger condition, the target biological characteristic information is selected from the first biological characteristic information, the second biological characteristic information passes authentication, a data processing request is sent to a receiver corresponding to the target biological characteristic information in advance, the receiver of the data processing request responds to the data processing request, third biological characteristic information is collected, and the data processing process is executed in response to the third biological characteristic information passing authentication. Therefore, data processing can be achieved based on biological feature authentication, biological features can be collected and transmitted based on electronic equipment, field operation is not needed, and convenience is high. And, the authentication based on the second biometric information is requested, and the authentication based on the third biometric information is performed in the data processing process, and the second biometric information is different from the third biometric information, so that the security is high through multiple and different stages of authentication of different biometric information.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1a, a biometric-based data processing system provided for an embodiment of the present application includes:
a server 100 and at least one client 200.
The server 100 includes, but is not limited to, a server and an electronic device such as a computer, and the client 200 includes, but is not limited to, an electronic device such as a mobile phone and a computer.
The flow of the data processing method based on the biological characteristics, which is realized by the interaction between the server and the client in the system shown in fig. 1a, as shown in fig. 1b, includes the following steps:
s101: the server side responds to a preset trigger condition and displays the first biological characteristic information.
The preset trigger condition includes but is not limited to: the server receives request information such as voice, short messages or mails sent by a user, or receives request information triggered by user operation and the like through a preset interface window, and specific content of the request information can be set by technical personnel according to actual conditions. The server side responds to the trigger condition, and can acquire pre-stored first biological characteristic information from a database or receive first biological characteristic information sent by a user, and display the first biological characteristic information.
The first biometric information includes, but is not limited to, biometric features such as fingerprints, faces, and irises of people. In addition, the server can display the first biological characteristic information through a preset display interface.
S102: and the server responds to the selection operation in the display interface of the first biological characteristic information to obtain the target biological characteristic information.
The selection operation in the display interface of the first biological characteristic information specifically refers to: part of the information is selected from the first biometric information as target biometric information, and for example, 1 face image is selected as target biometric information from 100 face images (the person to which any one face image belongs is different).
S103: and the server side acquires the second biological characteristic information.
The second biometric information includes, but is not limited to, fingerprints of people, face information, irises, and other biometric features. In addition, the specific implementation manner of acquiring the second biometric information is common knowledge familiar to those skilled in the art, for example, a fingerprint input device is used to acquire a fingerprint of a person, or an image capturing device is used to acquire face information of the person.
S104: and the server judges whether the acquired second biological characteristic information corresponds to the first biological characteristic information or not based on a preset corresponding relation.
And if the similarity between the acquired second biological characteristic information and the biological characteristics in the corresponding relation is greater than a preset threshold value, determining that the acquired second biological characteristic information corresponds to the first biological characteristic information. It should be noted that the corresponding relationship is set by a technician according to an actual situation and is pre-stored in the local database.
And if the acquired second biological characteristic information corresponds to the first biological characteristic information, executing S105, otherwise, prompting that the second biological characteristic information does not correspond to the first biological characteristic information, returning to execute S103, and acquiring new second biological characteristic information again until the new second biological characteristic information corresponds to the first biological characteristic information.
Specifically, the acquired second biological characteristic information is face information of the user, and the corresponding relationship includes that the face information of the students in the first 2 shifts corresponds to the face information of the teachers. And comparing the face information of the user with the face information of the teacher to obtain the similarity between the face information of the user and the face information of the teacher, wherein the similarity is 100% (namely the face information of the user is the face information of the teacher), and determining that the face information of the user corresponds to the face information of the students in the first 2 shifts.
It should be noted that the above specific implementation process is only for illustration.
S105: the server uses the client information (such as an address, an account number and the like) corresponding to the target biological characteristic information as a receiver corresponding to the target biological characteristic information in advance according to the preset corresponding relation between the first biological characteristic information and the client information.
The corresponding relation between the first biological characteristic information and the client information is set by a technician according to actual conditions and is pre-stored in a local database.
S106: and the server side sends a data processing request to a receiver corresponding to the target biological characteristic information in advance.
The data processing request is used for triggering the client to acquire third biological characteristic information, and the data processing request further comprises target biological characteristic information.
In the present embodiment, the purpose of S104-S106 is to transmit a data processing request to a recipient to which target biometric information corresponds in advance in response to selection of the target biometric information from the first biometric information and authentication of the second biometric information.
S107: and the client responds to the data processing request and acquires third biological characteristic information.
The client uses a biological characteristic collecting device (such as a camera and a fingerprint inputting device) of the electronic device to which the client belongs to collect biological characteristic information of a user to which the client belongs, so as to obtain third biological characteristic information.
It should be noted that the third biometric information includes, but is not limited to, biometric features such as fingerprints, faces, and irises of people.
S108: and the client judges whether the acquired third biological characteristic information corresponds to the target biological characteristic information or not based on the preset corresponding relation.
And if the similarity between the acquired third biological characteristic information and the biological characteristics in the corresponding relation is greater than a preset threshold value, determining that the acquired third biological characteristic information corresponds to the target biological characteristic information. It should be noted that the corresponding relationship is set by a technician according to an actual situation and is pre-stored in the local database.
And executing S109 if the acquired third biological characteristic information corresponds to the target biological characteristic information, otherwise, prompting that the third biological characteristic information does not correspond to the target biological characteristic information, returning to the step S107, and acquiring new third biological characteristic information again until the new third biological characteristic information corresponds to the target biological characteristic information.
Specifically, the acquired third biological feature information is face information of the user, the corresponding relationship includes face information of the student yellow certain face and face information of the yellow XX, the face information of the user and the face information of the yellow XX are compared, the similarity between the face information of the user and the face information of the yellow XX is obtained, and the similarity is 100% (that is, the face information of the user is specifically the face information of the yellow XX), it is determined that the face information of the user corresponds to the face information of the student yellow certain face.
It should be noted that the above specific implementation process is only for illustration.
S109: the client performs a data processing procedure.
Wherein, the data processing process includes but is not limited to: and deducting money from the target account, wherein the target account is a preset account corresponding to the third biological characteristic information. The specific implementation of deduction from the target account is common knowledge familiar to those skilled in the art and will not be described herein.
S110: and the client records the corresponding relation between the target biological characteristic information and the data processing result.
The specific content of the data processing result can be set by a technician according to actual conditions, for example, the data processing result is used for indicating that the target account is successfully deducted.
S111: and the client sends the corresponding relation between the target biological characteristic information and the data processing result to the server.
S112: and the server records the corresponding relation between the target biological characteristic information and the data processing result.
In summary, the server displays the first biometric information in response to the preset trigger condition, and sends a data processing request to a receiver corresponding to the target biometric information in advance in response to the target biometric information selected from the first biometric information and the second biometric information passing the authentication. The client serves as a receiver of the data processing request, responds to the data processing request, collects third biological characteristic information, responds to the passing of the third biological characteristic information authentication, executes a data processing process to obtain a data processing result, records the corresponding relation between the target biological characteristic information and the data processing result, and sends the corresponding relation to the server. And the server stores the corresponding relation between the target biological characteristic information and the data processing result.
Different from the prior art that a user needs to go to a site for information verification, in the embodiment, the client can realize data processing based on the biometric verification, and the biometric acquisition and information transmission can be realized based on the electronic equipment to which the client belongs, so that the user does not need to carry out the information verification on the site, and the convenience is high. Further, the server side transmits the data processing request based on the second biometric information authentication, the client side performs the data processing process based on the third biometric information authentication, and the second biometric information is different from the third biometric information. Therefore, the security is high through multiple authentications of different biological characteristic information and authentications in different stages.
For convenience of understanding of each flow shown in the above embodiment, a school requires a parent of a student to pay, a teacher sends payment information to a mobile phone of the parent of the student through a school server, and the parent of the student completes payment through the mobile phone, where the face information of the student is a specific implementation manner of the first biological characteristic information, the face information of the teacher is a specific implementation manner of the second biological characteristic information, and the face information of the parent of the student is a specific implementation manner of the third biological characteristic information.
As shown in fig. 2, the data processing flow of the data processing system composed of the school server and the mobile phone of the student parent includes the following steps:
s201: the school server receives the payment request sent by the teacher and displays face information of the students prestored in the database.
Specifically, the payment request is used for instructing the first 2 classes of students to pay, and the school server acquires the pre-stored face information of the first 2 classes of students from the database.
It should be noted that the above specific implementation process is only for illustration.
S202: and the school server responds to the selection operation of the teacher in the display interface of the face information of the student to obtain the target face information.
Specifically, the teacher may select, in the display interface, the face information of any one or more students in the first 2 shifts as the target face information.
S203: the school server performs face recognition and living body recognition (for example, through blinking, mouth opening and other actions to verify whether the person is a real person) on the teacher, and acquires face information of the teacher.
The school server may perform face recognition and living body recognition on the teacher through its own camera device, and it should be noted that the specific implementation manner of face recognition and living body recognition is common knowledge familiar to those skilled in the art, and is not described herein again.
S204: the school server judges whether the acquired face information corresponds to the face information of the students prestored in the database or not based on the corresponding relation between the face information of the students prestored in the database and the face information of the teacher.
And if the similarity between the acquired face information and the face information of the teacher in the corresponding relationship is greater than a preset threshold value, determining that the acquired face information corresponds to the face information of the student.
And if the acquired face information corresponds to the face information of the student, executing S205, otherwise, prompting that the acquired face information does not correspond to the face information of the student, returning to the step of executing S203, and acquiring new face information again until the new face information corresponds to the face information of the student.
S205: the school server acquires the corresponding relation between the prestored face information of the students and the mobile phone numbers of the parents of the students from the database, and determines the mobile phones of the parents of the students corresponding to the target face information according to the mobile phone numbers of the parents of the students corresponding to the target face information.
S206: and the school server sends payment information to the mobile phone of the student parent corresponding to the target face information.
The payment information is used for triggering the mobile phone of the student parent to collect the face information of the student parent, and in addition, the payment information further comprises target face information.
S207: the mobile phone of the student parent responds to the payment information, carries out face recognition and living body recognition on the student parent, and collects face information of the student parent.
The mobile phone of the student parent carries out face recognition and living body recognition on the student parent through the camera of the student parent.
S208: and comparing the acquired face information with the target face information by the mobile phone of the student parent to acquire the similarity between the acquired face information and the target face information, and judging whether the acquired face information corresponds to the target face information according to the similarity.
If the similarity between the acquired face information and the target face information is greater than a preset threshold (for example, 90%), determining that the acquired face information corresponds to the target face information, and executing S209, otherwise, marking that the acquired face information is failed, and returning to execute S207.
It should be noted that, the specific implementation process of comparing the acquired face information with the target face information to obtain the similarity between the acquired face information and the target face information is common knowledge familiar to those skilled in the art, and is not described herein again.
It should be emphasized that the similarity between the acquired face information and the target face information is a specific implementation manner of the preset corresponding relationship shown in the above S108.
S209: and the mobile phone of the student parent responds to the acquired face information and determines that the student parent agrees to pay.
S210: and deducting the payment cost from the bank account pre-bound by the student parents by the mobile phone of the student parents to generate a successful payment result.
S211: and the mobile phone of the parent of the student stores the corresponding relation between the target face information and the successful payment result in a local database.
S212: and the mobile phone of the parent of the student sends the corresponding relation between the target face information and the successful payment result to the school server.
S213: and the school server stores the corresponding relation between the target face information and the successful payment result in a local database.
To sum up, before initiating payment, carry out face identification to mr through the school server, after mr's face information authentication passes, confirm the information of paying for mr initiates in person, consequently, can avoid the third party to impersonate mr and initiate the information of paying to student's head of a family. The mobile phone of the student parent receives the payment information, before the payment is carried out, the face recognition is carried out on the student parent, after the face information authentication of the student parent is passed, the student parent is determined to pay the payment in person, and the payment is deducted from the account of the student parent. Therefore, the parents of the students do not need to go to the school to pay cash in person, and the convenience is high. Moreover, before payment fee payment is paid on the mobile phone, the face recognition and the living body recognition of the student parents are needed, and the fee is deducted from the account of the student parents to pay the fee under the condition of the personal operation of the student parents, so that the safety is obviously improved. In addition, the school server and the mobile phones of the parents of the students can record successful payment results, and the teacher and the parents of the students can conveniently inquire the results.
Corresponding to the above data processing method based on the biometric features shown in fig. 1b, as shown in fig. 3, an embodiment of the present application further provides a data transmitting apparatus based on the biometric features, including:
the display module 300 is configured to display the first biometric information in response to a preset trigger condition.
The sending module 400 is configured to send a data processing request to a receiver corresponding to the target biometric information in advance in response to the target biometric information being selected from the first biometric information and the second biometric information being authenticated, where the data request is used to trigger acquisition of third biometric information, and execute a data processing procedure in response to the third biometric information being authenticated, where the second biometric information is different from the third biometric information.
The process of determining that the second biometric information passes the authentication, which is implemented by the sending module 400, includes: and determining that the second biological characteristic information corresponds to the first biological characteristic information in a preset corresponding relation.
The process of the sending module 400 for determining the receiver corresponding to the target biometric information in advance includes: and according to the preset corresponding relation between the first biological characteristic information and the receiver information, taking the receiver information corresponding to the target biological characteristic information as a receiver corresponding to the target biological characteristic information in advance.
The obtaining module 500 is configured to obtain the target biometric information in response to a selection operation in the display interface of the first biometric information.
And an acquiring module 600 configured to acquire the second biometric information.
The recording module 700 is configured to receive and record a corresponding relationship between the target biometric information and the data processing result.
As shown in fig. 4, an embodiment of the present application provides a data receiving apparatus based on biometrics, including:
and an acquiring module 800, configured to acquire the third biometric information in response to a data processing request, where the data processing request is sent in response to the target biometric information selected from the first biometric information and the second biometric information passes authentication.
An executing module 900, configured to execute a data processing procedure in response to the third biometric information passing the authentication.
The process of determining that the third biometric information passes the authentication, which is implemented by the execution module 900, includes: and determining that the third biological characteristic information corresponds to the target biological characteristic information in a preset corresponding relation.
The execution module 900 specifically executes the data processing process, including: and deducting money from the target account, wherein the target account is a preset account corresponding to the third biological characteristic information.
The recording module 1000 is configured to record and/or send a corresponding relationship between the target biometric information and the data processing result.
In summary, the data sending apparatus, in response to the preset trigger condition, displays the first biometric information, and sends the data processing request to the recipient corresponding to the target biometric information in advance in response to the target biometric information selected from the first biometric information and the second biometric information passing the authentication. The data receiving device is used as a receiving party of the data processing request, responds to the data processing request, collects third biological characteristic information, responds to the passing of the authentication of the third biological characteristic information, executes a data processing process to obtain a data processing result, records the corresponding relation between the target biological characteristic information and the data processing result, and sends the corresponding relation to the data sending device. The data transmission device stores the corresponding relation between the target biological characteristic information and the data processing result.
Different from the prior art that a user needs to go to a site for information verification, in the embodiment, the data receiving device can realize data processing based on biological characteristic verification, biological characteristic acquisition and information transmission can be realized based on the data receiving device based on biological characteristics, the user does not need to carry out information verification on the site, and the convenience is high. Further, the data transmitting means transmits the data processing request based on the second biometric information authentication, the data receiving means performs the data processing process based on the third biometric information authentication, and the second biometric information is different from the third biometric information. Therefore, the security is high through multiple authentications of different biological characteristic information and authentications in different stages.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.