Electronic device for performing authentication by using biometric data of user, and method therefor
An electronic device is provided. The electronic device includes a sensor module, a communication module, and a processor, which receives biometric data of a user by using the sensor module, processes the received biometric data of the user to generate first data, processes the received biometric data of the user to generate second data, controls the communication module to transmit, to a server, an authentication request message including the generated first data, controls the communication module to receive, from the server, a response message including an authentication result of the transmitted first data, and combines the generated second data and the received authentication result and store same, wherein the first data and the second data can be data generated by applying different algorithms.
1 . An electronic device comprising:
a sensor;
a communication circuit;
memory storing instructions; and
one or more processors communicatively coupled to the sensor, the communication circuit, and the memory,
wherein the instructions, when executed by the one or more processors individually or collectively, cause the electronic device to:
receive, through the sensor, biometric data of a user,
process the biometric data of the user to generate first data by applying a first algorithm to the biometric data of the user, the first data being used for identification verification of the user,
process the biometric data of the user to generate second data by applying a second algorithm to the biometric data of the user, the second data being used for unlocking the electronic device,
transmit, through the communication circuit to a server, an authentication request message comprising the first data,
receive, through the communication circuit from the server, a response message comprising an authentication result for the first data, and
combine the authentication result for the first data with the second data, and store the combined data,
wherein the first algorithm is different from the second algorithm, and
wherein the authentication result is used to link an unlocking function of the electronic device with identification verification of the user.
2 . The electronic device of claim 1 , wherein the biometric data of the user comprises at least one of a fingerprint, an iris, a face, an electrocardiogram, a retinal pattern, a blood vessel pattern, and a palm pattern.
3 . The electronic device of claim 1 , wherein, in case that the authentication result is valid, the response message comprises at least one of a key or a token.
4 . The electronic device of claim 1 , wherein the first data is data obtained by encrypting the biometric data.
5 . The electronic device of claim 1 , wherein the instructions, when executed by the one or more processors individually or collectively, further cause the electronic device to:
identify whether there is biometric data registered in the electronic device;
compare the registered biometric data with the second data in case that there is the registered biometric data; and
transmit, to the server, a result of the comparing.
6 . The electronic device of claim 1 , wherein the instructions, when executed by the one or more processors individually or collectively, further cause the electronic device to:
identify whether there is biometric data registered in the electronic device;
compare the registered biometric data with the second data in case that there is the registered biometric data; and
transmit, to the server, a result of the comparing in case that it is determined that the registered biometric data and the second data are same.
7 . The electronic device of claim 1 ,
wherein the biometric data comprises a face image of the user, and
wherein the server is a device for authenticating the user by using an image included in an identification card of the user.
8 . An operation method performed by an electronic device, the operation method comprising:
receiving, through a sensor, biometric data of a user;
processing the biometric data of the user to generate first data by applying a first algorithm to the biometric data of the user, the first data being used for identification verification of the user;
processing the biometric data of the user to generate second data by applying a second algorithm to the biometric data of the user, the second data being used for unlocking the electronic device;
transmitting, to a server, an authentication request message comprising the first data;
receiving, from the server, a response message comprising an authentication result for the first data; and
combining the authentication result for the first data with the second data, and storing the combined data,
wherein the first algorithm is different from the second algorithm, and
wherein the authentication result is used to link an unlocking function of the electronic device with identification verification of the user.
9 . The operation method of claim 8 , wherein the biometric data of the user is at least one of a fingerprint, an iris, a face, an electrocardiogram, a retinal pattern, a blood vessel pattern, and a palm pattern.
10 . The operation method of claim 8 , wherein, in case that the authentication result is valid, the response message comprises at least one of a key or a token.
11 . The operation method of claim 8 , wherein the first data is data obtained by encrypting the biometric data.