Electronic device for encrypting biometric information and operation method thereof
The electronic device and method address the vulnerability of biometric information by using a transformation matrix and fuzzy extraction to securely encrypt and hash facial features, enhancing the security and stability of biometric data.
Patent Information
- Application Number
- PCT/KR2024/001716
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2024-02-06
- Publication Date
- 2024-09-06
AI Technical Summary
Biometric information, such as facial images, is vulnerable to exposure and lacks the ability to be changed like passwords, leading to potential severe damage, necessitating enhanced encryption key stability in encryption algorithms.
An electronic device and method that utilize a transformation matrix to map biometric feature values to codewords, compare cosine similarities, and generate hashed codewords for secure storage and transmission, employing fuzzy extraction and error correction codes to enhance biometric security.
The solution effectively encrypts and secures biometric information, improving its security by transforming and hashing biometric features, thereby reducing the risk of exposure and enhancing authentication processes.
Smart Images

Figure KR2024001716_06092024_PF_FP
Abstract
Description
Electronic device for encrypting biometric information and method of operation thereof
[0001] The present disclosure relates to an electronic device for encrypting biometric information and a method of operating the same.
[0002] Biometric recognition, an authentication method based on one or more physical and behavioral characteristics such as fingerprints, iris, face, electrocardiogram, retinal pattern, palm, or vein patterns, is being actively utilized in various fields. Biometric recognition technology extracts signals or data related to a user's body, compares them with previously stored data, and verifies the user's identity. For example, facial recognition (or facial recognition) technology scans, stores, and recognizes facial shape or thermal images using thermal infrared imaging, three-dimensional (3D) measurement, or bone analysis. It compares the facial image captured by a camera with facial information stored in a database to verify a person's identity. For example, facial recognition technology can be utilized to streamline authentication procedures in airports, terminals, and banking transactions.
[0003] Biometric information, such as facial images, cannot be altered at will by the user, unlike passwords or patterns. Therefore, once exposed, the damage can be severe. Therefore, technical measures may be needed to strengthen the security of encryption keys in encryption algorithms that use biometric information as encryption keys.
[0004] The above information is provided solely as background information to aid in understanding the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above is applicable as prior art in connection with the present disclosure.
[0005] Aspects of the present disclosure address at least the problems and / or drawbacks mentioned above and provide at least the advantages described below. Accordingly, one aspect of the present disclosure provides an electronic device and a method of operating the same for improving the security of biometric information, such as facial images.
[0006] Another aspect of the present disclosure is to provide an electronic device and a method of operating the same for encrypting feature information used in biometric identification.
[0007] Another aspect of the present disclosure is to provide an electronic device and a method of operating the same for securely storing biometric characteristic information.
[0008] Additional aspects will be partly explained in the following description, and partly will be apparent from the description or may be learned by practicing the embodiments provided.
[0009] An electronic device according to one aspect of the present disclosure is disclosed. The electronic device may include a memory storing instructions and a processor operatively connected to the memory. The instructions, when executed by the processor, may be configured to cause the electronic device to obtain a transformation matrix that maps a first feature value associated with first biometric information to a first codeword. The instructions, when executed by the processor, may be configured to cause the electronic device to apply the transformation matrix to a second feature value associated with second biometric information to generate a third feature value. The instructions, when executed by the processor, may be configured to cause the electronic device to compare a cosine similarity between a second codeword most similar to the third feature value and the third feature value with a threshold value. The instructions, when executed by the processor, may be configured to cause the electronic device to map the second feature value to the second codeword if the cosine similarity is greater than the threshold value. The instructions, when executed by the processor, may be configured to cause the electronic device to generate a hashed second codeword based on the second codeword. The instructions, when executed by the processor, may be configured to cause the electronic device to transmit or store the hashed second codeword.
[0010] According to another aspect of the present disclosure, a method of operating an electronic device for encrypting biometric information is disclosed. The method may include obtaining a transformation matrix that maps a first feature value associated with first biometric information to a first codeword. The method may include applying the transformation matrix to a second feature value associated with second biometric information to generate a third feature value. The method may include comparing a cosine similarity between a second codeword most similar to the third feature value and the third feature value with a threshold value. The method may include mapping the second feature value to the second codeword if the cosine similarity is greater than the threshold value. The method may include generating a hashed second codeword based on the second codeword. The method may include transmitting or storing the hashed second codeword.
[0011] According to one embodiment of the present disclosure, one or more non-transitory computer-readable storage media storing one or more programs are disclosed. The one or more programs may include instructions configured to cause the electronic device, when executed by a processor, to: obtain a transformation matrix that maps a first feature value associated with first biometric information to a first codeword; apply the transformation matrix to a second feature value associated with second biometric information to generate a third feature value; compare a cosine similarity between a second codeword most similar to the third feature value and the third feature value with a threshold; map the second feature value to the second codeword if the cosine similarity is greater than the threshold; generate a hashed second codeword based on the second codeword; and transmit or store the hashed second codeword.
[0012] Other aspects, advantages and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description of various embodiments of the present disclosure taken in conjunction with the accompanying drawings.
[0013] The above and other aspects, features and advantages of specific embodiments of the present disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings.
[0014] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment of the present disclosure.
[0015] FIG. 2 is a block diagram illustrating the configuration of an electronic device for extracting facial features according to one embodiment of the present disclosure.
[0016] FIG. 3 is a diagram for explaining fuzzy extraction based on a real-valued error correction code (ECC) according to one embodiment of the present disclosure.
[0017] FIG. 4 is a diagram for explaining an operation for improving false acceptance in fuzzy extraction of real-valued ECC according to one embodiment of the present disclosure.
[0018] FIG. 5 is a flowchart illustrating a procedure for encrypting biometric information according to one embodiment of the present disclosure.
[0019] FIG. 6 is a block diagram illustrating an operation of registering a transformation matrix according to one embodiment of the present disclosure.
[0020] FIG. 7 is a block diagram illustrating an operation of generating a hashed codeword using a transformation matrix according to one embodiment of the present disclosure.
[0021] The following description, with reference to the attached drawings, is provided to facilitate a comprehensive understanding of various embodiments of the present disclosure as defined by the claims and their equivalents. While it includes numerous specific details to aid understanding, these should be considered merely illustrative. Accordingly, those skilled in the art will recognize that various changes and modifications can be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. Furthermore, descriptions of known functions and configurations may be omitted for clarity and brevity.
[0022] The terms and words used in the following description and claims are not intended to be limited by their bibliographic meanings, but rather have been used by the inventors solely to facilitate a clear and consistent understanding of the present disclosure. Therefore, it will be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustrative purposes only and is not intended to limit the present disclosure as defined by the appended claims and their equivalents.
[0023] The singular forms "a," "an," and "the" should be understood to include the plural unless the context clearly dictates otherwise. Thus, for example, reference to "a surface of a part" includes reference to one or more such surfaces.
[0024] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment of the present disclosure.
[0025] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an external electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with an external electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the external electronic device (104) via the server (108). According to one embodiment of the present disclosure, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments of the present disclosure, at least one of these components (e.g., the connection terminal (178)) may be omitted, or one or more other components may be added to the electronic device (101). In some embodiments of the present disclosure, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0026] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment of the present disclosure, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment of the present disclosure, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0027] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. According to one embodiment of the present disclosure, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., a neural network processing device) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, in the electronic device (101) itself where artificial intelligence is performed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0028] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0029] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0030] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0031] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment of the present disclosure, the receiver can be implemented separately from the speaker or as part of the speaker.
[0032] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment of the present disclosure, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0033] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment of the present disclosure, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., an external electronic device (102)) (e.g., a speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0034] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment of the present disclosure, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0035] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). According to one embodiment of the present disclosure, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0036] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., an external electronic device (102)). According to one embodiment of the present disclosure, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0037] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment of the present disclosure, the haptic module (179) may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0038] The camera module (180) can capture still images and moving images. According to one embodiment of the present disclosure, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0039] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment of the present disclosure, the power management module (188) can be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
[0040] A battery (189) may power at least one component of the electronic device (101). According to one embodiment of the present disclosure, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0041] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., external electronic device (102), external electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment of the present disclosure, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a fifth generation (5G) network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0042] The wireless communication module (192) can support a 5G network and next-generation communication technology following a 4G (fourth generation) network, for example, NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave (millimeter wave) band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., an external electronic device (104)), or a network system (e.g., a second network (199)).According to one embodiment of the present disclosure, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps (gigabits per second) or higher) for eMBB realization, a loss coverage (e.g., 164 dB or lower) for mMTC realization, or a U-plane latency (e.g., 0.5 ms (milliseconds) or lower for downlink (DL) and uplink (UL), or 1 ms or lower for round trip) for URLLC realization.
[0043] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). According to one embodiment of the present disclosure, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment of the present disclosure, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. According to some embodiments of the present disclosure, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0044] According to various embodiments of the present disclosure, the antenna module (197) may form a mmWave antenna module. According to one embodiment of the present disclosure, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., a bottom surface) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent to a second surface (e.g., a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high-frequency band.
[0045] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0046] According to one embodiment of the present disclosure, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment of the present disclosure, all or part of operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service on its own, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment of the present disclosure, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network.According to one embodiment of the present disclosure, an external electronic device (104) or server (108) may be included within a second network (199). The electronic device (101) may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology and IoT-related technology.
[0047] FIG. 2 is a block diagram illustrating the configuration of an electronic device for extracting biometric characteristics according to one embodiment of the present disclosure. In the illustrated embodiment of the present disclosure, each component may have different functions and capabilities other than those described below, and may include additional components other than those described below.
[0048] Referring to FIG. 2, an electronic device (200) (e.g., electronic device (101)) may include a computing device. In one embodiment of the present disclosure, the electronic device (200) may be a computing device that processes biometric information according to at least one of the embodiments of the present disclosure. In one embodiment of the present disclosure, the electronic device (200) may include at least one of a desktop computer, a laptop computer, a tablet, a smartphone, or a wearable device.
[0049] An electronic device (200) may include at least one processor (202) (e.g., processor (120)) and a memory (204) (e.g., memory (130)) connected to the at least one processor (202) by a communication bus. The processor (202) may cause the electronic device (200) to operate according to at least one of the exemplary embodiments described below. For example, the processor (202) may execute at least one program (204a) stored in the memory (204). The at least one program (204a) may include one or more computer-executable instructions, which, when executed by the processor (202), may be configured to cause the electronic device (200) to perform operations according to at least one of the embodiments of the present disclosure.
[0050] The memory (204) may be configured to store computer-executable instructions or program codes, program data, and / or other suitable forms of information (e.g., facial feature information, codewords, and / or transformation matrices), and may provide the stored data to the processor (202). A program (204a) stored in the memory (204) may include a set of instructions executable by the processor (202). In one embodiment of the present disclosure, the memory (204) may be a volatile memory such as a random access memory (e.g., volatile memory 132), a non-volatile memory (e.g., non-volatile memory 134), or a suitable combination thereof, one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or any other form of storage medium that is accessible by the electronic device (200) and capable of storing desired information, or a suitable combination thereof.
[0051] The electronic device (200) may include one or more input and output (I / O) interfaces (206) (e.g., interface (177)) that provide one or more interfaces for external electronic devices (220) and one or more communication modules (208) (e.g., communication module (190)) that communicate with network devices such as servers (210). The I / O interfaces (206) and communication modules (208) may be connected to the processor (202) and / or memory (204) via a communication bus.
[0052] The external electronic device (220) may be connected to other components of the electronic device (200) (e.g., the processor (202)) via the input / output interface (206). In one embodiment of the present disclosure, the external electronic device (220) may include at least one of a pointing device (e.g., a mouse or a trackpad), a keyboard, a touch input device (e.g., a touchpad or a touchscreen), a voice or sound input device, various types of sensor devices, a camera or a photographing device, a display device, a printer, a speaker, or a network card. In one embodiment of the present disclosure, the external electronic device (220) may include another computing device (e.g., the electronic device (101)) configured similarly to the electronic device (200). In one embodiment of the present disclosure, the electronic device (200) may include as internal components at least one input device, such as an input module (150), a sensor module (176), or a camera module (180), and / or at least one output device, such as a display module (160).
[0053] The server (210) can communicate with the electronic device (200) (e.g., processor (202)) via a communication module (208). The communication module (208) may, in one embodiment, include one or more communication circuits (e.g., wireless communication module (192) and / or wired communication module (194)) that support wired communication technology and / or wireless communication technology.
[0054] The program (204a) stored in the memory (204) may include a feature extraction algorithm (e.g., a feature extraction module (604) or a feature extraction module (704)) configured to extract biometric features from biometric information such as a facial image. In one embodiment of the present disclosure, the feature extraction algorithm may be used for facial recognition. The feature extraction algorithm may include an operation of extracting facial component features such as eyes, a nose, or a mouth from a human face image. Facial feature extraction may be used to initialize processing techniques such as face tracking, facial expression recognition, or facial recognition.
[0055] For example, the processor (202) can execute a feature extraction algorithm for facial recognition to extract at least one of the following features.
[0056] - distance between eyes,
[0057] - Distance from forehead to chin,
[0058] - Distance between nose and mouth,
[0059] - Depth of the eye socket,
[0060] - the shape of the cheekbones, or
[0061] - The contours of the lips, ears, or chin.
[0062] In one embodiment of the present disclosure, feature information including features extracted by a feature extraction algorithm may be stored in a memory (204) for use in future biometric recognition, or may be transmitted to a server (210) via a communication module (208). In one embodiment of the present disclosure, to enhance the security of biometric recognition, the electronic device (200) may encrypt the features before storing or transmitting them.
[0063] The program (204a) stored in the memory (204) may include a fuzzy extractor (FE) algorithm (e.g., FE module (606) or FE module (706)) that removes noise from and encrypts biometric information. In one embodiment of the present disclosure, the fuzzy extractor algorithm may define an error correction code (ECC) including codewords within a specified metric space, map a feature representing biometric information (e.g., a biometric feature) to one of the codewords within the ECC, and output a hashed codeword corresponding to the mapped codeword. The hashed codeword may be considered to include an encrypted feature corresponding to the biometric information, and the processor (202) may recover the original feature (e.g., a biometric feature) from the hashed codeword through decryption.
[0064] The processor (202) may execute a fuzzy extraction algorithm to generate a hashed codeword corresponding to a biometric feature. In one embodiment of the present disclosure, the hashed codeword generated by the fuzzy extraction algorithm may be stored in the memory (204) or transmitted to the server (210) via the communication module (208) so that it can be used for future biometric recognition. The processor (202) may perform biometric recognition by comparing biometric features extracted from biometric information (e.g., a facial image) input upon a request for biometric recognition with biometric features decrypted from the stored hashed codeword.
[0065] In one embodiment of the present disclosure, the processor (202) can calculate the closeness (e.g., cosine similarity or angular distance) between a biometric feature extracted from input biometric information and a decoded biometric feature. Each biometric feature can be expressed as a feature vector within a designated space, and the processor (202) can calculate the cosine similarity (or angular distance metric) between two feature vectors corresponding to the two biometric features. The cosine similarity can be obtained using the cosine angle between the two feature vectors, and can mean the similarity between the two feature vectors. If the directions of the two feature vectors are completely the same, the cosine similarity has a value of '1', if they form an angle of 90 degrees, it can have a value of '0', and if they form an angle of 180 degrees, it can have a value of '-1'. The processor (202) can determine that the closer the cosine similarity is to '1', the higher the similarity between the two feature vectors.
[0066] The processor (202) may compare the cosine similarity with a threshold value representing a reference cosine similarity for determining that the two are the same person. If the cosine similarity is less than the threshold value, the processor (202) may determine that the person corresponding to the input biometric information is different from the person corresponding to the stored hashed codeword. If the cosine similarity is not less than the threshold value, the processor (202) may determine that the person corresponding to the input biometric information is the same as the person corresponding to the stored hashed codeword.
[0067] FIG. 3 is a diagram for explaining fuzzy extraction based on a real-valued error correction code (ECC) according to one embodiment of the present disclosure.
[0068] Referring to FIG. 3, the electronic device (200) (e.g., the processor (202)) can extract feature 1 (302) from first biometric information by a feature extraction algorithm. In one embodiment of the present disclosure, the first biometric information may be related to a facial image that serves as a reference for biometric recognition. In addition, the electronic device (200) (e.g., the processor (202)) can extract feature 2 (304) from second biometric information by the feature extraction algorithm. In one embodiment of the present disclosure, the second biometric information may be related to a facial image that serves as a target of biometric recognition. Based on the feature extraction algorithm, feature 1 (302) and feature 2 (304) can be expressed as feature vectors within a designated unit sphere (310), and a cosine similarity (306) between feature 1 (302) and feature 2 (304) can be calculated. If encryption is not used, the electronic device (200) (e.g., processor (202)) can determine whether the person corresponding to feature 1 (302) and the person corresponding to feature 2 (304) are the same based on the cosine similarity (306).
[0069] When encryption is used, the electronic device (200) (e.g., processor (202)) can generate a linear transformation matrix (312) (e.g., an orthogonal matrix) that maps feature 1 (302) to codeword #1 (322) within the ECC (320) by a fuzzy extraction algorithm. In one embodiment of the present disclosure, codeword #1 (322) can include a real-valued codeword within the real-valued ECC (320). The electronic device (200) (e.g., processor (202)) can encrypt codeword #1 (322) by a hash function to generate hashed codeword #1 (not shown). The electronic device (200) (e.g., processor (202)) can store the transformation matrix (312) and the hashed codeword #1 in the memory (204) or transmit them to the server (210) so that they can be used for future biometric identification.
[0070] When second biometric information is input, the electronic device (200) (e.g., processor (202)) can map (e.g., rotate) feature 2 (304) extracted from the second biometric information to feature 2' (324) using the transformation matrix (312). The cosine similarity (306) between feature 1 (302) and feature 2 (304) can be approximately similar to the cosine similarity (326) between codeword #1 (322) and feature 2' (324).
[0071] The electronic device (200) (e.g., processor (202)) can map feature 2' (324) to the most similar (e.g., closest) codeword (e.g., codeword #1 (322) or codeword #2 (328)) by a fuzzy extraction algorithm. In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) can find codeword #1 (322) or codeword #2 (328) that is close to feature 2' (324) among the codewords included in the ECC (320). For example, if the distance (e.g., angular distance) between codeword #1 (322) and feature 2' (324) is closer than the distance (330) between codeword #2 (328) and feature 2' (324), the electronic device (200) (e.g., processor (202)) may decide to map feature 2' (324) to codeword #1 (322).
[0072] The success rate of biometric recognition can be adjusted by the tuning level, which represents the spacing between codewords in the fuzzy extraction algorithm. A higher tuning level can increase the true accept rate (TAR), but it can also increase the false accept rate (FAR). This can lead to cases where the FAR is unpredictable, depending on data quality or the feature extraction algorithm.
[0073] For example, a person corresponding to feature 1 (302) and a person corresponding to feature 2 (304) may be different, and the electronic device (200) (e.g., processor (202)) may succeed in facial recognition based on determining that the angular distance between feature 1 (302) and feature 2 (304) is greater than a specified threshold (e.g., a reference distance threshold) (e.g., less than a threshold representing a reference cosine similarity in cosine similarity (306)). However, after applying the fuzzy extraction algorithm, the electronic device (200) (e.g., processor (202)) may map both feature 1 (302) and feature 2 (304) to codeword #1 (322) and may cause a false accept, which determines that the person corresponding to feature 1 (302) and the person corresponding to feature 2 (304) are the same.
[0074] FIG. 4 is a diagram for explaining an operation for improving false acceptance in fuzzy extraction of real-valued ECC according to one embodiment of the present disclosure.
[0075] Referring to FIG. 4, the electronic device (200) (e.g., the processor (202)) can extract feature 1 (402) from first biometric information by a feature extraction algorithm. In one embodiment of the present disclosure, the first biometric information may be related to a facial image that serves as a reference for biometric recognition. In addition, the electronic device (200) (e.g., the processor (202)) can extract feature 2 (404) from second biometric information by the feature extraction algorithm. In one embodiment of the present disclosure, the second biometric information may be related to a facial image that serves as a target of biometric recognition. Based on the feature extraction algorithm, feature 1 (402) and feature 2 (404) can be expressed as feature vectors within a designated unit sphere (410), and an angular distance (406) between feature 1 (402) and feature 2 (404) can be calculated.
[0076] An electronic device (200) (e.g., a processor (202)) may obtain a transformation matrix (412) that maps feature 1 (402) to codeword #1 (422) within an ECC (420). In one embodiment of the present disclosure, the transformation matrix (412) may be read out from a memory (204) or received from a server (210) via a communication module (208).
[0077] When second biometric information is input, the electronic device (200) (e.g., processor (202)) can map feature 2 (404) extracted from the second biometric information to feature 2' (424) using the transformation matrix (412). The angular distance (406) between feature 1 (402) and feature 2 (404) can be maintained approximately within the real number operation error range of the angular distance (426) between codeword #1 (422) and feature 2' (424).
[0078] The electronic device (200) (e.g., processor (202)) can find the codeword (e.g., codeword #1 (422) or codeword #2 (428)) closest to feature 2' (424) by a fuzzy extraction algorithm.
[0079] The electronic device (200) (e.g., processor (202)) may compare the proximity (e.g., cosine similarity (426)) between feature 2' (424) and codeword #1 (422) with the threshold value before mapping feature 2' (424) to codeword #1 (422), and may determine that a false acceptance may occur if the cosine similarity (426) is greater than the threshold value. The outer circle (404a) of feature 2 (404) represents a threshold value related to the reference cosine similarity of the feature extraction algorithm. If a feature (e.g., feature 1 (402)) that is a standard for facial recognition exists within the outer circle (404a), the electronic device (200) (e.g., processor (202)) may determine that the person of feature 2 (404) is the same as the person of feature 1 (402).
[0080] In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) may find a codeword (e.g., codeword #1 (422)) close to feature 2' (424) within the ECC (420) and compare a cosine similarity (426) between feature 2' (424) and codeword #1 (422) with the threshold value before mapping feature 2' (424) to codeword #1 (422). If the cosine similarity (426) is greater than the threshold value (e.g., if codeword #1 (422) exists within the outer circle (424a) of feature 2' (424)), the electronic device (200) (e.g., processor (202)) may determine that feature 2' (424) is mapped to codeword #1 (422).
[0081] In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) may find a codeword (e.g., codeword #2 (428)) close to feature 2' (424) within the ECC (420) and compare a cosine similarity (430) between feature 2' (424) and codeword #2 (428) with the threshold. If the cosine similarity (430) is not greater than the threshold (e.g., if codeword #2 (428) does not exist within the outer circle (424a) of feature 2' (424)), the electronic device (200) (e.g., processor (202)) may not map feature 2' (424) to codeword #2 (422). If codeword #2 (428) is the closest codeword to feature 2' (424) within ECC (420), the electronic device (200) (e.g., processor (202)) may execute exception handling related to the mapping of feature 2' (424) (e.g., determining a mapping failure and / or aborting encryption).
[0082] FIG. 5 is a flowchart illustrating a procedure for encrypting biometric information according to one embodiment of the present disclosure. At least one of the illustrated operations may be performed, for example, by the processor (202) of the electronic device (200) described above. The memory (204) of the electronic device (200) may store instructions configured to cause the electronic device (200) to perform at least one of the illustrated operations when executed by the processor (202). Although the illustrated flowchart describes a plurality of operations separately, at least some of the operations may be performed in a different order, combined with other operations and performed together, omitted, divided into detailed operations and performed, or one or more operations not illustrated may be additionally performed.
[0083] Referring to FIG. 5 , at operation 505, the electronic device (200) (e.g., processor (202)) may obtain a transformation matrix (e.g., transformation matrix (412) or transformation matrix (612)) that maps feature 1 (e.g., feature 1 (402) or feature vector (608)) associated with first biometric information (e.g., face image (602)) to codeword #1 (e.g., codeword #1 (422) or codeword #1 (610)) within an ECC (e.g., ECC (420)). In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) may read the transformation matrix from a memory (204) or receive it from a server (210) via a communication module (208). In one embodiment of the present disclosure, an electronic device (200) (e.g., a processor (202)) can receive the transformation matrix from an external electronic device (220) via an input / output interface (206).
[0084] In operation 510, the electronic device (200) (e.g., processor (202)) may apply the transformation matrix to feature 2 (e.g., feature 2 (404) or feature vector (708)) extracted from second biometric information (e.g., face image (702)) through a feature extraction algorithm (e.g., feature extraction module (704)) to generate feature 2' (e.g., feature 2' (424) or feature vector (710)).
[0085] In operation 515, the electronic device (200) (e.g., processor (202)) may determine a first threshold (TH) for feature 2' based on a second threshold of a feature extraction algorithm used to generate feature 2. In one embodiment of the present disclosure, the first threshold (TH) may be calculated by adding a specified value (e.g., "eps") to the second threshold.
[0086] In operation 520, the electronic device (200) (e.g., processor (202)) may find a codeword (e.g., codeword #2 (712)) that is closest to feature 2', and compare the proximity (e.g., cosine similarity) between feature 2' and codeword #2 with the first threshold value (TH). In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) may select a codeword having the closest angular distance to feature 2' among the codewords in the ECC (e.g., ECC (422)) as the closest codeword.
[0087] In operation 525, the electronic device (200) (e.g., processor (202)) may proceed to operation 530 if the cosine similarity is greater than the first threshold value (TH) (if 'Yes' in operation 525). In operation 525, the electronic device (200) (e.g., processor (202)) may proceed to operation 535 if the cosine similarity is not greater than the first threshold value (TH) (if 'No' in operation 525).
[0088] In operation 530, the electronic device (200) (e.g., processor (202)) may map feature 2' to codeword #2 and generate hashed codeword #2 based on codeword #2 using a designated hash function. The hashed codeword #2 may be considered to include encrypted feature 2. In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) may store the hashed codeword #2 in the memory (204) or transmit it to the server (210) via the communication module (208). In one embodiment of the present disclosure, the hashed codeword #2 may be used for facial recognition in the electronic device (200) or the server (210). In one embodiment of the present disclosure, the electronic device (200) or server (210) can obtain codeword #2 from hashed codeword #2, decrypt codeword #2 to restore feature 2', and perform face recognition based on the restored feature 2'.
[0089] In operation 535, the electronic device (200) (e.g., processor (202)) may perform exception handling related to encryption of feature 2. In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) may determine that encryption of feature 2 has failed. In one embodiment of the present disclosure, the electronic device (200) (e.g., processor (202)) may encrypt feature 2 using a different algorithm.
[0090] FIG. 6 is a block diagram illustrating an operation of registering a transformation matrix according to one embodiment of the present disclosure.
[0091] Referring to FIG. 6, a first electronic device (600) (e.g., electronic device (101) or electronic device (200)) may include a feature extraction module (604) and a fuzzy extraction (FE) module (606). At least one of the feature extraction module (604) or the fuzzy extraction module (606) may be implemented as a software module stored in a memory (e.g., memory (130) or memory (204)) and executable by a processor (202).
[0092] The first electronic device (600) can receive a face image (602). In one embodiment of the present disclosure, the first electronic device (600) can directly capture the face image (602) by an internal camera (e.g., a camera module (180)), read the face image (602) from a memory (e.g., a memory (130) or a memory (204)), or receive the face image (602) from an external electronic device (e.g., a server (210)) through a communication module (e.g., a communication module (190) or a communication module (208)).
[0093] The first electronic device (600) can extract at least one first feature vector (608) (e.g., a facial feature vector) representing at least one biometric feature (e.g., feature 1 (402)) from a facial image (602) by a feature extraction module (604) (e.g., a facial feature extraction algorithm). For example, the first feature vector (608) is {0.001, -0.003, 0.2, 0.05, ...}. The first feature vector (608) can be input to a fuzzy extraction module (606).
[0094] The first electronic device (600) can generate a codeword #1 (610) and a transformation matrix (612) (e.g., a transformation matrix (412)) corresponding to the first feature vector (608) by a fuzzy extraction module (606) (e.g., a fuzzy extraction algorithm). In one embodiment of the present disclosure, the codeword #1 (610) of a codeword length m can include n non-zero elements, and the value of each non-zero element is +1 / √n or -1 / √n. For example, the codeword #1 (610) is {0, 0, -0.5, 0, 0, ..., 0.5, 0, 0, 0.5, -0.5, 0, 0, 0}. In one embodiment of the present disclosure, the transformation matrix (612) of a size m*m can include a rotation transformation matrix that can transform the first feature vector (608) into the codeword #1 (610). The fuzzy extraction module (606) can generate a hashed codeword #1 corresponding to codeword #1 (610) by a specified hash function.
[0095] The first electronic device (600) can output a result (614) including the hashed codeword #1 and the transformation matrix (612). In one embodiment of the present disclosure, the first electronic device (600) can store the hashed codeword #1 and the transformation matrix (612) in the memory (204), transmit them to an external electronic device (220) (e.g., the second electronic device (700)) via the input / output interface (206), or transmit them to a server (210) via the communication module (208).
[0096] FIG. 7 is a block diagram illustrating an operation of generating a hashed codeword using a transformation matrix according to one embodiment of the present disclosure.
[0097] Referring to FIG. 7, the second electronic device (700) (e.g., the electronic device (101) or the electronic device (200)) may include a feature extraction module (704) and a fuzzy extraction (FE) module (706). At least one of the feature extraction module (704) or the fuzzy extraction module (706) may be implemented as a software module stored in a memory (e.g., the memory (130) or the memory (204)) and executable by the processor (202).
[0098] The second electronic device (700) can receive a face image (702). In one embodiment of the present disclosure, the second electronic device (700) can directly capture the face image (702) by an internal camera (e.g., a camera module (180)), read the face image (702) from a memory (e.g., a memory (130) or a memory (204)), or receive the face image (702) from an external electronic device (e.g., a server (210)) through a communication module (e.g., a communication module (190) or a communication module (208)).
[0099] The second electronic device (700) can extract at least one second feature vector (708) (e.g., a facial feature vector) representing at least one biometric feature (e.g., feature 2 (404)) from the facial image (702) by a feature extraction module (704) (e.g., a facial feature extraction algorithm). For example, the second feature vector (708) is {0.001, -0.003, 0.2, 0.05, ...}. In one embodiment of the present disclosure, the second feature vector (708) can include the same type of biometric feature as the first feature vector (608). The second feature vector (708) can be input to the fuzzy extraction module (706).
[0100] The second electronic device (700) can obtain a transformation matrix (612) (e.g., transformation matrix (412)) by the feature extraction module (704). In one embodiment of the present disclosure, the second electronic device (700) can read the transformation matrix (612) from a memory (e.g., memory (130) or memory (204)), or receive the transformation matrix (612) from an external electronic device (e.g., server (210)) via a communication module (e.g., communication module (190) or communication module (208)).
[0101] The second electronic device (700) can transform (e.g., rotate) the second feature vector (708) into a third feature vector (710) using the transformation matrix (612) by the fuzzy extraction module (706) (e.g., a fuzzy extraction algorithm). In one embodiment of the present disclosure, the third feature vector (710) of codeword length m can include n non-zero elements, and the value of each non-zero element is +1 / √n or -1 / √n. For example, the third feature vector (710) is {0, 0, -0.5, 0, 0, ..., 0.5, 0, 0, 0.5, -0.5, 0, 0, 0}.
[0102] The second electronic device (700) can find a codeword (e.g., codeword #2 (712)) that is closest to the third feature vector (710) within the ECC (e.g., ECC (420)) by the fuzzy extraction module (706) (e.g., fuzzy extraction algorithm). In one embodiment, the codeword #2 (712) of codeword length m can include n non-zero elements, and the value of each non-zero element is +1 / √n or -1 / √n. For example, the codeword #2 (712) is {0, 0, -0.5, 0, 0, ..., 0.5, 0, 0, 0.5, -0.5, 0, 0, 0}.
[0103] The second electronic device (700) can calculate the proximity (e.g., cosine similarity (430)) between the third feature vector (710) and codeword #2 (712) by the fuzzy extraction module (706), and compare the cosine similarity with a threshold value (714) corresponding to a reference cosine similarity used to determine whether they are the same person by the fuzzy extraction module (706). Since the fuzzy extraction module (706) uses a real-number-based fuzzy extraction algorithm, the threshold value (714) of the real-number space used by the fuzzy extraction library can be used without conversion. If the cosine similarity is greater than the threshold value (714), the second electronic device (700) can determine that the second feature vector (708) is mapped to codeword #2 (712) by the fuzzy extraction module (706).
[0104] The fuzzy extraction module (706) can generate a hashed codeword #2 corresponding to the codeword #2 (710) by a designated hash function. The second electronic device (700) can output an encryption result (716) including the hashed codeword #2. In one embodiment of the present disclosure, the second electronic device (700) can store the hashed codeword #2 in the memory (204), transmit it to an external electronic device (220) via an input / output interface (206), or transmit it to a server (210) via a communication module (208).
[0105] If the cosine similarity is greater than the threshold value (714), the second electronic device (700) may execute exception processing related to the encryption of the second feature vector (708) by the fuzzy extraction module (706). For example, the second electronic device (700) (e.g., the fuzzy extraction module (706)) may determine that the encryption of the second feature vector (708) has failed. In one embodiment of the present disclosure, the second electronic device (700) (e.g., the fuzzy extraction module (706)) may encrypt the second feature vector (708) using a different algorithm.
[0106] In one embodiment of the present disclosure, the second electronic device (700) may receive biometric information (e.g., a new face image (not shown)) requiring biometric recognition based on the hashed codeword #2. The second electronic device (700) may extract a fourth feature vector (not shown) from the new face image, and may decrypt the hashed codeword #2 to reconstruct a second feature vector (708). The second electronic device (700) may compare a cosine similarity between the fourth feature vector and the reconstructed second feature vector (708) with a threshold value (714), and if the cosine similarity is not less than the threshold value (714), determine that the new face image is of the same person as the face image (702), and output a success response of the biometric recognition.
[0107] An electronic device (200) for encrypting biometric information according to one embodiment of the present disclosure may include a memory (204) storing instructions and a processor (202) operatively connected to the memory. The instructions, when executed by the processor, may be configured to cause the electronic device to obtain a transformation matrix that maps a first feature value associated with first biometric information to a first codeword. The instructions, when executed by the processor, may be configured to cause the electronic device to apply the transformation matrix to a second feature value associated with second biometric information to generate a third feature value. The instructions, when executed by the processor, may be configured to cause the electronic device to compare a cosine similarity between a second codeword closest to the third feature value and the third feature value with a threshold value. The instructions, when executed by the processor, may be configured to cause the electronic device to map the second feature value to the second codeword if the cosine similarity is greater than the threshold value. The instructions, when executed by the processor, may be configured to cause the electronic device to generate a hashed second codeword based on the second codeword. The instructions, when executed by the processor, may be configured to cause the electronic device to transmit or store the hashed second codeword.
[0108] In one embodiment of the present disclosure, the instructions, when executed by the processor, may be configured to cause the electronic device to obtain a reference cosine similarity related to biometric recognition of the second feature value, and to determine the threshold value based on the reference cosine similarity.
[0109] In one embodiment of the present disclosure, the instructions, when executed by the processor, may be configured to cause the electronic device to determine that encryption of the second biometric information has failed if the cosine similarity is not greater than the threshold value.
[0110] In one embodiment of the present disclosure, at least one of the first codeword or the second codeword may be selected from an error correcting code (ECC) including designated real-valued codewords.
[0111] In one embodiment of the present disclosure, the instructions, when executed by the processor, may be configured to cause the electronic device to select the second codeword among the codewords in the ECC, the second codeword having the closest angular distance to the third feature value.
[0112] In one embodiment of the present disclosure, at least one of the first biometric information or the second biometric information may include a facial image.
[0113] In one embodiment of the present disclosure, at least one of the first feature value or the second feature value can be generated based on a facial feature extraction algorithm.
[0114] In one embodiment of the present disclosure, the instructions, when executed by the processor, may be configured to cause the electronic device to extract the first feature value from the first biometric information, generate the transformation matrix that maps the first feature value to the first codeword, and store the transformation matrix in the memory.
[0115] In one embodiment of the present disclosure, the instructions, when executed by the processor, may be configured to cause the electronic device to transmit information of the transformation matrix to a server.
[0116] In one embodiment of the present disclosure, the transformation matrix may include a rotation transformation matrix.
[0117] According to one embodiment of the present disclosure, a method of operating an electronic device (200) for encrypting biometric information may include an operation (505) of obtaining a transformation matrix that maps a first feature value associated with first biometric information to a first codeword. The method may include an operation (510) of applying the transformation matrix to a second feature value associated with second biometric information to generate a third feature value. The method may include an operation (520) of comparing a cosine similarity between a second codeword closest to the third feature value and the third feature value with a threshold value. The method may include an operation (525) of mapping the second feature value to the second codeword when the cosine similarity is greater than the threshold value. The method may include an operation (530) of generating a hashed second codeword based on the second codeword. The method may include an operation of transmitting or storing the hashed second codeword.
[0118] In one embodiment of the present disclosure, the method may further include an operation of obtaining a reference cosine similarity related to biometric recognition of the second feature value, and an operation (515) of determining the threshold value based on the reference cosine similarity.
[0119] In one embodiment of the present disclosure, the method may further include an operation (435) of determining that encryption of the second biometric information is failed if the cosine similarity is not greater than the threshold value.
[0120] In one embodiment of the present disclosure, at least one of the first codeword or the second codeword may be selected from an error correction code (ECC) comprising designated real-valued codewords.
[0121] In one embodiment of the present disclosure, the method may further include an operation of selecting the second codeword having the closest angular distance to the third feature value among the codewords in the ECC.
[0122] In one embodiment of the present disclosure, at least one of the first biometric information or the second biometric information may include a facial image.
[0123] In one embodiment of the present disclosure, at least one of the first feature value or the second feature value can be generated based on a facial feature extraction algorithm.
[0124] In one embodiment of the present disclosure, the method may further include an operation of extracting the first feature value from the first biometric information, an operation of generating the transformation matrix that maps the first feature value to the first codeword, and an operation of storing the transformation matrix.
[0125] In one embodiment of the present disclosure, the method may further include an operation of transmitting information of the transformation matrix to a server.
[0126] In one embodiment, the transformation matrix may include a rotation transformation matrix.
[0127] According to one embodiment of the present disclosure, one or more non-transitory computer-readable storage media storing one or more programs are disclosed. The one or more programs may include instructions configured to cause the electronic device, when executed by a processor of the electronic device, to: obtain a transformation matrix that maps a first feature value associated with first biometric information to a first codeword; apply the transformation matrix to a second feature value associated with second biometric information to generate a third feature value; compare a cosine similarity between a second codeword most similar to the third feature value and the third feature value with a threshold; map the second feature value to the second codeword if the cosine similarity is greater than the threshold; generate a hashed second codeword based on the second codeword; and transmit or store the hashed second codeword.
[0128] In one embodiment of the present disclosure, the command, when executed by the processor of the electronic device, may be configured to cause the electronic device to: obtain a reference cosine similarity related to biometric recognition of the second feature value, and determine the threshold based on the reference cosine similarity.
[0129] In one embodiment of the present disclosure, the command, when executed by the processor of the electronic device, may be configured to cause the electronic device to determine that encryption of the second biometric information has failed if the cosine similarity is not greater than the threshold value.
[0130] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0131] The various embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In this document, phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B, or C," "at least one of A, B, and C," and "at least one of A, B, or C" can each include any one of the items listed together in the corresponding phrase among the phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish the corresponding element from other corresponding elements and do not limit the corresponding elements in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as being “coupled” or “connected” to another component (e.g., a second component), with or without the terms “functionally” or “communicatively,” it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0132] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment of the present disclosure, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0133] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., a memory (204), an internal memory (136), or an external memory (138)) readable by a machine (e.g., an electronic device (200)). For example, a processor (e.g., a processor (202 or a processor (120)) of the machine (e.g., an electronic device (200)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0134] According to one embodiment of the present disclosure, the method according to various embodiments disclosed in the present document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0135] According to various embodiments of the present disclosure, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separately arranged in other components. According to various embodiments of the present disclosure, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments of the present disclosure, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0136] While the present disclosure has been illustrated and described with reference to various embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the scope of the disclosure as defined by the appended claims and their equivalents.
Claims
1. In an electronic device (200) that encrypts biometric information, Memory (204) for storing commands; and A processor (202) operatively connected to the memory (204), wherein the instructions, when executed by the processor, cause the electronic device to: Obtain a transformation matrix that maps the first feature value related to the first biometric information to the first codeword, Applying the transformation matrix to the second feature value related to the second biometric information to generate a third feature value, Compare the cosine similarity between the second codeword most similar to the third feature value among the specified codewords and the third feature value with a threshold value, If the cosine similarity is greater than the threshold value, the second feature value is mapped to the second codeword, Generate a hashed second codeword based on the above second codeword, An electronic device configured to transmit or store the hashed second codeword.
2. In the first paragraph, when the instructions are executed by the processor, the electronic device causes: Obtain the reference cosine similarity related to the biometric recognition of the above second feature value, An electronic device configured to determine the threshold value based on the above reference cosine similarity.
3. In the first or second paragraph, when the instructions are executed by the processor, the electronic device causes: An electronic device configured to determine that encryption of the second biometric information has failed if the cosine similarity is not greater than the threshold value.
4. In any one of paragraphs 1 to 3, at least one of the first codeword or the second codeword, An electronic device selected from an error correcting code (ECC) containing specified error value codewords.
5. In the fourth paragraph, when the instructions are executed by the processor, the electronic device causes: An electronic device configured to select the second codeword having the most similar angular distance to the third feature value among the codewords in the ECC.
6. An electronic device according to any one of claims 1 to 5, wherein at least one of the first biometric information or the second biometric information includes a facial image.
7. An electronic device according to any one of claims 1 to 6, wherein at least one of the first feature value or the second feature value is generated based on a facial feature extraction algorithm.
8. In any one of paragraphs 1 to 7, the instructions, when executed by the processor, cause the electronic device to: Extracting the first feature value from the first biometric information, Generating the transformation matrix that maps the first feature value to the first codeword, An electronic device configured to store the above transformation matrix in the memory.
9. In paragraph 8, the instructions, when executed by the processor, cause the electronic device to: An electronic device configured to transmit information of the above transformation matrix to a server.
10. In any one of paragraphs 1 to 9, the transformation matrix is: An electronic device comprising a rotation transformation matrix.
11. In the operating method of an electronic device (200) that encrypts biometric information, An operation (505) of obtaining a transformation matrix that maps a first feature value related to the first biometric information to a first codeword, An operation (510) of generating a third feature value by applying the transformation matrix to the second feature value related to the second biometric information, An operation (520) of comparing the cosine similarity between the second codeword most similar to the third feature value and the third feature value with a threshold value, An operation (525) of mapping the second feature value to the second codeword when the cosine similarity is greater than the threshold value, An operation (530) of generating a hashed second codeword based on the above second codeword, A method comprising the action of transmitting or storing the hashed second codeword.
12. In paragraph 11, An operation for obtaining a reference cosine similarity related to the biometric recognition of the second feature value, An operation (515) of determining the threshold value based on the above-mentioned standard cosine similarity, A method further comprising an operation (435) of determining that encryption of the second biometric information has failed if the cosine similarity is not greater than the threshold value.
13. In the 11th or 12th paragraph, at least one of the first codeword or the second codeword is selected from an error correction code (ECC) including designated real value codewords, The method further comprises an operation of selecting the second codeword among the codewords in the ECC, the angular distance to the third feature value being most similar.
14. In any one of claims 11 to 13, at least one of the first biometric information or the second biometric information includes a facial image, At least one of the first feature value or the second feature value is generated based on a facial feature extraction algorithm, The above transformation matrix includes a rotation transformation matrix, The above method, An operation of extracting the first feature value from the first biometric information, An operation of generating a transformation matrix that maps the first feature value to the first codeword; The operation of storing the above transformation matrix, A method further comprising the action of transmitting information of the above transformation matrix to a server.
15. One or more non-transitory computer-readable storage media storing one or more programs, wherein the one or more programs, when executed by a processor of an electronic device, cause the electronic device to: Obtain a transformation matrix that maps the first feature value related to the first biometric information to the first codeword, Applying the transformation matrix to the second feature value related to the second biometric information to generate a third feature value, Compare the cosine similarity between the second codeword most similar to the third feature value and the third feature value with a threshold value, If the cosine similarity is greater than the threshold value, the second feature value is mapped to the second codeword, Generate a hashed second codeword based on the above second codeword, A storage medium comprising instructions configured to transmit or store the hashed second codeword.
Citation Information
Patent Citations
Face recognition method and device, electronic equipment and storage medium
CN114267064A
A codebook-based speech enhancement method using adaptive codevector and apparatus thereof
KR101290997B1
Method and system for user authentication with improved security
KR1020180117715A
Image processing-based foreign substance detection method in wireless charging system and device performing the same
KR102672326B1
Method for encrypting a plurality of data in a secure set
US20150039899A1
