A Multi-Factor Authentication Method and System for Mobile Terminals
By integrating quantum encryption and biometric multi-factor authentication into mobile terminals, and utilizing quantum communication channels and device identification information for dual locking, the problems of single authentication methods and data leakage in mobile terminals are solved, achieving a high level of security authentication.
Patent Information
- Application Number
- CN202611417500.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-17
AI Technical Summary
Existing mobile terminal authentication methods are limited and pose a risk of data leakage, making it difficult to meet the needs of high-security applications.
A multi-factor authentication method integrating quantum encryption and biometrics is adopted. Biometric features are collected through a mobile terminal module, a digest is generated, and a key is negotiated and transmitted using a quantum communication channel. The device identification information is then used for dual-lock authentication.
It achieves multi-factor collaborative enhanced security, prevents replay attacks on biometric data on other devices, ensures the security and reliability of authentication, and prevents data leakage.
Smart Images

Figure CN123123900A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information security technology, and in particular to a multi-factor authentication method and system for mobile terminals. Background Technology
[0002] A mobile terminal refers to a mobile electronic device that can be carried or installed on certain mobile vehicles and can achieve data interaction and functional applications through wireless or wired networks. Its core characteristics are "mobility + interactivity," which can not only meet personal communication and information access needs, but also support the completion of professional work tasks in special application scenarios. It is a key system connecting users and service platforms.
[0003] Currently, mobile terminal authentication methods mainly include three types: knowledge-based authentication, biometric authentication, and dynamic password authentication.
[0004] Knowledge-based authentication relies primarily on users remembering and inputting specific information to authenticate their identity and information. Typical examples include passwords, PINs, and pattern recognition terminals. Its main drawbacks are ease of leakage, forgetting, and poor resistance to attacks. Such passwords have extremely low security and are easily cracked or leaked; for example, a user's numeric password can be brute-forced by attackers using dictionary attacks or other methods. Furthermore, this authentication method is prone to being forgotten or entered incorrectly.
[0005] Biometric authentication systems primarily authenticate users based on their unique biological characteristics, such as fingerprints, facial recognition, and retinal scans. However, they suffer from relatively poor stability, being susceptible to environmental factors and user physiological states, and also carry the risk of biometric data leakage. If a terminal device stores biometric data within a standard chip, the user's biometric data can be leaked if the device is rooted, leading to attacks on the terminal device.
[0006] Dynamic password authentication typically uses SMS verification codes, which rely on real-time generated temporary passwords for identity verification. However, this method is heavily dependent on external networks. SMS verification codes require network support from the mobile network operator, and authentication fails in areas without network coverage. Furthermore, SMS verification codes are highly vulnerable to hacker attacks and interception during transmission, leading to information leaks.
[0007] With the rapid development of quantum computing and big data computing, traditional cryptographic and authentication systems based on large number factorization or discrete logarithm problems are facing the threat of being disrupted. Attackers may employ a "collect first, then decrypt" strategy, allowing stolen encrypted data to be decrypted in bulk in front of quantum computers, leading to data leaks. Meanwhile, mobile devices have become core tools for handling sensitive matters, and single-factor authentication methods, due to their risks of leakage, forgery, or replay attacks, are no longer sufficient to meet the needs of high-security applications. Summary of the Invention
[0008] The main purpose of this application is to provide a multi-factor authentication method and system for mobile terminals, which aims to solve the problems of the single authentication method and the risk of data leakage in existing mobile terminals.
[0009] To achieve the above objectives, this application provides a multi-factor authentication method for mobile terminals that integrates quantum encryption and biometrics. The mobile terminal includes a mobile terminal module and an authentication service system. The method includes: In response to the authentication request of the user to be authenticated, the mobile terminal module collects the first biometric feature of the user to be authenticated and generates a first biometric feature summary based on the first biometric feature; The mobile terminal module and the authentication service system negotiate and generate a first session quantum key through a quantum communication channel; The mobile terminal module uses the first session quantum key to encrypt the first biometric digest and the first identification information of the device used by the user to be authenticated, generates first encrypted data, and sends it to the authentication service system. The authentication service system uses the first session quantum key to decrypt the first encrypted data and obtain the first biometric digest and the first identification information. The authentication service system obtains the second biometric digest of the registered user and the second identification information of the device used by the registered user by decrypting the local root quantum key, and then compares and authenticates the first biometric digest and the first identification information based on the second biometric digest and the second identification information.
[0010] Preferably, before the mobile terminal module collects the first biometric feature of the user to be authenticated in response to the user's authentication request, the method further includes: The mobile terminal module establishes a quantum communication channel with the authentication service system and negotiates and generates a second session quantum key through the quantum communication channel. In response to a registration request from a registered user, the mobile terminal module collects the second biometric feature of the registered user and generates a second biometric feature summary based on the second biometric feature; The mobile terminal module uses the second session quantum key to encrypt the second biometric digest and the second identification information, generates second encrypted data, and sends it to the authentication service system. The authentication service system uses the second session quantum key to decrypt the second encrypted data and obtain the second biometric digest and the second identification information. The authentication service system encrypts and stores the second biometric digest and the second identification information based on the local root quantum key, and generates the third encrypted data.
[0011] Preferably, the comparison and authentication of the first biometric summary and the first identification information based on the second biometric summary and the second identification information includes: Calculate the similarity between the first biometric summary and the second biometric summary; Verify whether the first identification information and the second identification information are consistent; If the similarity is greater than a preset threshold and the first identification information is consistent with the second identification information, then the authentication is considered successful.
[0012] Preferably, after comparing and authenticating the first biometric summary and the first identification information based on the second biometric summary and the second identification information, the method further includes: When authentication is deemed successful, the authentication service system generates an authentication success command, encrypts the authentication success command using the first session quantum key, and sends it to the mobile terminal module. The mobile terminal module uses the first session quantum key to decrypt the authentication pass command to complete the authentication; Alternatively, if the authentication is deemed unsuccessful, the authentication service system terminates the authentication process, records the abnormal information, and generates and sends an alarm message to the mobile terminal module.
[0013] Preferably, the biometrics include voiceprint signals and fingerprint images; the step of generating a biometric summary based on the biometrics includes: After the voiceprint signal is converted into a digital signal, it is sampled, quantized and encoded to generate the first data in binary form; After performing grayscale conversion, noise reduction, and binarization preprocessing on the fingerprint image, it is converted into second data in binary form using a global thresholding method. After performing an XOR operation on the first data and the second data, a hash operation is then performed on the result to generate the biometric summary.
[0014] Preferably, after generating the third encrypted data, the method further includes: The authentication service system generates an encrypted index based on a quantum random number generator to encrypt and protect the storage address of the third encrypted data.
[0015] Preferably, the local root quantum key is a key generated offline by the authentication service system and stored locally, and is not transmitted externally.
[0016] Preferably, the identification information includes a device fingerprint.
[0017] The present invention also provides a mobile terminal multi-factor authentication system, the system being applied to a mobile terminal, the mobile terminal including a mobile terminal module and an authentication service system; the mobile terminal multi-factor authentication system is used to authenticate users to be authenticated based on the above method.
[0018] Preferably, the mobile terminal module includes: Biometric collectors are used to collect users' biometric features; A biometric data processing module is used to generate a biometric summary based on the biometrics; A quantum random number chip is used to generate truly random numbers, which are used for key generation in the data encryption and decryption process; A secure encryption chip is used to provide a hardware isolation environment for the biometric data processing module to perform hash operations and to locally encrypt and store the key.
[0019] Compared with the prior art, this application has the following beneficial effects: 1. This application integrates three security factors: a biological factor, a device factor, and a quantum key, achieving multi-factor synergistic enhancement. The biological factor confirms "who it is," the device factor confirms "what device is used," and the quantum key ensures "transmission security." These three factors complement and verify each other; the failure of any one factor will not cause the overall security system to collapse. Compared to single-factor authentication, security is exponentially improved.
[0020] 2. This application innovatively introduces a device identification verification mechanism. The purpose of verifying the device identification is to prevent attackers from copying stolen legitimate biometric data to another device to launch a replay attack on the authentication service system. This ensures that the data currently initiating the authentication request not only matches biometric features but also actually originates from the same legitimately registered physical terminal, thus achieving dual locking based on "biometric factors + device factors." Even if an attacker obtains the user's biometric data, they will be unable to pass authentication on other devices. Attached Figure Description
[0021] Figure 1 This is a flowchart of a multi-factor authentication method for mobile terminals that integrates quantum encryption and biometrics, as described in this application. Figure 2 This is a flowchart of the authentication stages of the multi-factor authentication method for mobile terminals that integrates quantum encryption and biometrics in the embodiments of this application. Figure 3 This is an architecture diagram of the mobile terminal multi-factor authentication system in the embodiments of this application.
[0022] The attached figures are labeled as follows: 100-Mobile terminal module, 101-Quantum random number chip, 102-Security encryption chip, 103-Biometric feature collector, 104-Biometric data processing module, 105-Quantum key management module, 106-Authentication request initiation module, 107-Local verification feedback module, 200-Authentication service system, 201-Quantum key hub module, 202-Encrypted database module, 203-Multi-factor authentication module, 204-Security alarm and log module, 205-Quantum random number generator. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0024] like Figure 1 , Figure 2 As shown, this application provides a multi-factor authentication method for mobile terminals that integrates quantum encryption and biometrics. The mobile terminal includes a mobile terminal module and an authentication service system. The method includes: S1. In response to the authentication request of the user to be authenticated, the mobile terminal module collects the first biometric feature of the user to be authenticated and generates a first biometric feature summary based on the first biometric feature.
[0025] This method responds to a user's initiation of a mobile terminal unlocking operation or other operations requiring authentication. Authentication request scenarios include, but are not limited to: users unlocking mobile terminal screens; users accessing sensitive applications (such as banking applications or payment applications); users performing important operations (such as large-amount transfers or modifying important settings); and users logging into services that require high security.
[0026] The authentication request can be triggered actively (e.g., when a user clicks the unlock button) or passively (e.g., when the mobile terminal detects an abnormal operation and automatically requests authentication). After the authentication request is initiated, the mobile terminal module starts the authentication process.
[0027] The mobile terminal module's biometric scanner collects the first biometric feature of the user to be authenticated. The collection process is similar to the registration phase, including voiceprint signal acquisition and fingerprint image acquisition. The system monitors the collection quality in real time to ensure that the collected biometric data meets the authentication requirements.
[0028] The biometric data processing module of the mobile terminal module generates a first biometric summary based on the collected first biometric features, and the generation process is exactly the same as in the registration stage. Due to the influence of environmental conditions during biometric collection, user physiological state, and other factors, the biometric summaries generated each time will have some differences. Therefore, authentication does not perform exact matching, but rather similarity matching.
[0029] S2, the mobile terminal module and the authentication service system negotiate and generate the first session quantum key through the quantum communication channel.
[0030] The mobile terminal module and the authentication service system negotiate and generate the first session quantum key through a quantum communication channel. The generation process of the first session quantum key is based on a quantum key distribution protocol. The first session quantum key is used for encrypted data transmission in this authentication session. A new first session quantum key is generated for each authentication to ensure forward security.
[0031] S3. The mobile terminal module uses the first session quantum key to encrypt the first biometric digest and the first identification information of the device used by the user to be authenticated, generates the first encrypted data, and sends it to the authentication service system.
[0032] The mobile terminal module uses the first session quantum key to encrypt the first biometric digest and the first identification information (i.e., the device identifier of the mobile terminal used for authentication) to generate the first encrypted data.
[0033] The purpose of employing the device's first identification information in this application is to prevent attackers from copying stolen legitimate biometric data to another device to launch a replay attack on the authentication service system. This ensures that the data currently initiating the authentication request not only matches biometric features but also genuinely originates from the same legitimately registered physical terminal, thus achieving dual locking through "biometric factors + device factors." Suppose an attacker obtains a user's biometric digest and first-session quantum key through some means (such as hacking or physical theft), and attempts to use this data for authentication on another device. Because the device identifier of the other device differs from the device identifier used during registration, the authentication service system will detect the inconsistency when verifying the device identifier, thus rejecting authentication. Therefore, even if biometric data is leaked, attackers cannot pass authentication on other devices.
[0034] S4. The authentication service system uses the first session quantum key to decrypt the first encrypted data and obtain the first biometric digest and the first identification information.
[0035] The authentication service system uses the same session quantum key to decrypt encrypted data, which can restore the first biometric digest and the first device identifier to be compared. At the same time, it can determine whether the transmitted data has been eavesdropped on or tampered with by using the decryption result, and intercept abnormal attack requests.
[0036] S5. The authentication service system obtains the second biometric digest of the registered user and the second identification information of the device used by the registered user by decrypting the local root quantum key, and compares and authenticates the first biometric digest and the first identification information based on the second biometric digest and the second identification information.
[0037] The authentication service system uses the local root quantum key to decrypt the registration archive information and compares the two sets of biometric digests with the device identifier to complete the authentication. This step relies on the root quantum key to encrypt and store the registration data, reducing the risk of leakage of the backend database. Through dual matching and verification of biometrics and devices, it prevents the theft of biometric features and the impersonation of identities by unfamiliar devices.
[0038] It should be noted that the decryption process in this step generally needs to be performed within the hardware security module to ensure the security of the local root quantum key. After decryption, the authentication service system obtains the biometric digest and device identifier used during user registration.
[0039] In other embodiments, in step S1, before the mobile terminal module collects the first biometric feature of the user to be authenticated in response to the authentication request of the user to be authenticated, the method further includes: S101, the mobile terminal module and the authentication service system establish a quantum communication channel, and negotiate and generate a second session quantum key through the quantum communication channel.
[0040] The mobile terminal module and the authentication service system establish a quantum communication channel. This quantum communication channel can be an optical fiber-based quantum channel or a free-space quantum channel, depending on the application scenario. After establishing the quantum communication channel, the mobile terminal module and the authentication service system can perform quantum key distribution.
[0041] The mobile terminal module and the authentication service system negotiate and generate a second session quantum key via a quantum communication channel using a quantum key distribution (QKD) protocol. The quantum key distribution protocol is based on the fundamental principles of quantum mechanics and theoretically possesses unconditional security. Common QKD protocols include BB84, B92, and E91. This embodiment preferably uses the BB84 protocol, which is relatively simple to implement and offers high security.
[0042] The second-session quantum key is used for encrypted data transmission during the registration phase and has the following characteristics: a new one is generated for each registration to ensure forward security; the second-session quantum key is only valid during the current registration process and is destroyed after registration is completed; the length of the second-session quantum key is determined according to the requirements of the encryption algorithm, and is usually 128 bits or 256 bits.
[0043] S102. In response to the registration request of the registered user, the mobile terminal module collects the second biometric feature of the registered user and generates a second biometric feature summary based on the second biometric feature.
[0044] After responding to the registration request, the mobile terminal module collects the second biometric feature of the registered user and generates a corresponding second biometric feature summary. The original biometric data is replaced with an irreversible summary to retain the identity comparison benchmark, avoid leakage of the original biometric information during transmission, and compress the data for easy transmission.
[0045] S103, The mobile terminal module uses the second session quantum key to encrypt the second biometric digest and the second identification information, generates the second encrypted data, and sends it to the authentication service system.
[0046] The mobile terminal module uses a pre-negotiated second session quantum key to encrypt the second pair of biometric digests and device identifiers (second identifier information) before uploading the encrypted text. Relying on the quantum key, the registration data is transmitted in encrypted form throughout the process, preventing the network side from stealing the registration identity and device information, and binding the registration information of both the person and the device.
[0047] S104. The authentication service system uses the second session quantum key to decrypt the second encrypted data and obtain the second biometric digest and the second identification information.
[0048] The authentication service system uses the matched second session quantum key to decrypt the second encrypted data, extract the second biometric digest and second identification information required for registration, and can directly identify channel eavesdropping and data tampering behavior and intercept illegal registration requests if the decryption is abnormal.
[0049] S105. The authentication service system encrypts and stores the second biometric digest and the second identification information based on the local root quantum key, and generates the third encrypted data.
[0050] The authentication service system uses a local root quantum key to encrypt and save the two types of information obtained during registration, forming an encrypted archive. It uses quantum encryption to persistently store the registration template, so even if the database is leaked, the valid identity data cannot be restored. This eliminates the risk of user privacy leakage from the storage end and provides a reliable comparison sample for subsequent authentication comparison.
[0051] In other embodiments, step S5, comparing and authenticating the first biometric summary and the first identification information based on the second biometric summary and the second identification information, includes: S501. Calculate the similarity between the first biometric summary and the second biometric summary.
[0052] The authentication service system calculates the similarity between the first biometric summary and the second biometric summary. Similarity calculation can employ methods such as Hamming distance, cosine similarity, and Euclidean distance. This embodiment preferably uses Hamming distance, as this method is simple to calculate and suitable for calculating the similarity of binary data.
[0053] Hamming distance refers to the number of different characters at corresponding positions in two strings of equal length. For a first biometric summary and a second biometric summary, a smaller Hamming distance indicates a higher similarity. The similarity calculation formula is: Similarity = 1 - (Hamming distance / summary length). For example, if the summary length is 256 characters and the Hamming distance is 12 characters, then the similarity is 1 - (12 / 256) = 95.3%.
[0054] S502. Verify whether the first identification information and the second identification information are consistent.
[0055] The authentication service system verifies whether the first and second identification information match. If they match, the authentication request originates from a legitimately registered device; otherwise, it indicates the request comes from an illegitimate device. Device identification verification uses an exact match, meaning the two device identifications must be completely identical. This is to prevent attackers from using other devices to launch replay attacks.
[0056] S503. When the similarity is greater than the preset threshold and the first identification information is consistent with the second identification information, the authentication is considered successful.
[0057] The authentication service system determines whether the calculated similarity score exceeds a preset threshold. This preset threshold can be dynamically adjusted based on the application scenario, typically ranging from 85% to 99%. For high-security applications (such as financial payments), the threshold can be set to 99%; for general applications (such as daily unlocking), the threshold can be set to 95%.
[0058] If the similarity is greater than the preset threshold, it means that the biometric features match and the authentication is considered successful; if the similarity is not greater than the preset threshold, it means that the biometric features do not match and the authentication is considered unsuccessful.
[0059] In other embodiments, after comparing and authenticating the first biometric summary and the first identification information based on the second biometric summary and the second identification information, the method further includes: S504. When authentication is deemed successful, the authentication service system generates an authentication success command, encrypts the authentication success command using the first session quantum key, and sends it to the mobile terminal module.
[0060] The authentication service system generates an authentication pass command, encrypts it using the first session quantum key, and sends it to the mobile terminal module. The authentication pass command may include information such as a session token and validity period, which the mobile terminal module can use for subsequent operations.
[0061] S505. The mobile terminal module uses the first session quantum key to decrypt the authentication pass command to complete the authentication. Alternatively, if the authentication is deemed unsuccessful, the authentication service system terminates the authentication process, records the abnormal information, and generates and sends an alarm message to the mobile terminal module.
[0062] The mobile terminal module receives the encrypted authentication pass command, decrypts it using the first session quantum key, and obtains the authentication pass command. Based on the authentication pass command, the mobile terminal performs corresponding operations, such as unlocking the screen and granting access to sensitive applications.
[0063] When authentication fails, the authentication service system terminates the authentication process and records the anomaly information. This information includes: authentication failure time, reason for failure (biometric mismatch or device identifier mismatch), device identifier, and IP address. This information is used for security auditing and risk analysis.
[0064] The authentication service system generates and sends alarm information to the mobile terminal module. Alarm information may include: authentication failure notifications, security risk warnings, and suggested actions (such as changing the password or contacting customer service). After receiving the alarm information, the mobile terminal module can notify the user via pop-ups, SMS, email, or other means.
[0065] In other embodiments, the biometrics mentioned in this application include voiceprint signals and fingerprint images; the step of generating a biometric summary based on the biometrics includes: S10. After converting the voiceprint signal into a digital signal, it is sampled, quantized, and encoded to generate the first data in binary form.
[0066] S11. After performing grayscale conversion, noise reduction, and binarization preprocessing on the fingerprint image, it is converted into second data in binary form using the global thresholding method.
[0067] S12. After performing an XOR operation on the first and second data, perform a hash operation on the result to generate a biometric summary.
[0068] Specifically, in this embodiment, biometric features include two types: voiceprint signals and fingerprint images.
[0069] Voiceprint signal acquisition: The microphone of the mobile terminal module acquires the user's voice signal. The user reads aloud a specified random number string or fixed phrase as prompted by the system, and the voiceprint acquisition module records the user's voice signal. During the voice signal acquisition process, the system monitors parameters such as volume and signal-to-noise ratio in real time to ensure acquisition quality.
[0070] Fingerprint Image Acquisition: The fingerprint sensor in the mobile terminal module acquires the user's fingerprint image. The user places their finger on the fingerprint sensor, and the fingerprint acquisition module obtains the fingerprint image. During the fingerprint image acquisition process, the system checks parameters such as image clarity and fingerprint integrity to ensure acquisition quality.
[0071] The S10 converts the acquired voiceprint signal into a digital signal. The specific process includes: converting the analog voiceprint signal into an electrical signal; using analog-to-digital converter (ADC) technology to convert the continuous analog electrical signal into a discrete digital signal; and performing three steps—sampling, quantization, and encoding—to convert the audio signal into binary data. The sampling rate is typically set to 8kHz-16kHz, and the quantization precision is 8-bit or 16-bit.
[0072] S11 preprocesses the acquired fingerprint image, including: grayscale conversion: converting the color fingerprint image into a grayscale image; noise reduction: removing image noise using Gaussian filtering or median filtering; binarization: converting the grayscale image into a binary image using a global thresholding method; and converting the binarized fingerprint information into binary data.
[0073] S12 performs an XOR operation on the first and second data to obtain the fused data. The XOR operation can effectively fuse the feature information of two biometric features while maintaining the binary form of the data.
[0074] The fused data is then hashed to generate a second biometric digest. Secure hash algorithms such as SHA-256 and SHA-3 can be used. Hash operations are one-way, meaning the original biometric features cannot be reconstructed from the digest, effectively protecting user privacy.
[0075] In other embodiments, in step S105, after generating the third encrypted data, the method further includes: the authentication service system generating an encrypted index based on a quantum random number generator to encrypt and protect the storage address of the third encrypted data.
[0076] The process of generating the encrypted index is as follows: a quantum random number generator generates random numbers; the random numbers are hashed to generate an address index; the address index is used to obfuscate the actual storage address of the third encrypted data.
[0077] The encrypted indexing mechanism provides an additional layer of security. Even if an attacker gains access to the database, the encrypted and obfuscated storage address prevents them from locating the specific user's biometric data, effectively preventing data leakage.
[0078] The authentication service system stores the third-party encrypted data in an encrypted database, which employs multiple layers of encryption protection: data content encryption: using a local root quantum key for encryption; storage address encryption: using an encrypted index for obfuscation; access control: strict permission management and auditing mechanisms.
[0079] In other embodiments, the local root quantum key is a key generated offline by the authentication service system and stored locally, and is not transmitted externally.
[0080] The authentication service system encrypts the second biometric digest and the second identification information using a local root quantum key to generate the third encrypted data.
[0081] The local root quantum key is a key generated offline and stored locally by the authentication service system, and is not transmitted externally. The generation process of the local root quantum key is as follows: the quantum random number generator of the authentication service system generates a high-entropy random number; the random number is subjected to security testing; the random number that passes the security test is used as the local root quantum key; the local root quantum key is stored in the hardware security module (HSM) of the authentication service system, which only allows access for encryption operations and prohibits direct reading.
[0082] The local root quantum key has the following characteristics: high security: based on quantum random numbers, it has theoretical unpredictability; long-term validity: the local root quantum key does not change with the session and can be used for long-term data encryption; strict protection: the local root quantum key is stored only locally in the authentication service system and is not transmitted over the network, eliminating the risk of leakage at the source.
[0083] In other embodiments, the identification information mentioned in this application also includes device fingerprints.
[0084] Specifically, device fingerprints are generated based on the hardware and software information of the mobile terminal, including hardware information, software information, and the generation algorithm: Hardware information includes: CPU model and serial number; memory size and serial number; storage device serial number; MAC address (including Wi-Fi and Bluetooth); IMEI number (International Mobile Equipment Identity); screen resolution and pixel density; sensor information (such as accelerometer, gyroscope, etc.).
[0085] Software information includes: operating system type and version; browser type and version; list of installed applications; system settings (such as time zone and language); network configuration information, etc.
[0086] The device identifier generation algorithm is as follows: Collect the above hardware and software information; perform a hash operation on each type of information to generate the corresponding hash value; concatenate all hash values to form the original device fingerprint data; perform a SHA-256 hash operation on the original data to generate the final device identifier.
[0087] Device fingerprints have the following characteristics: Uniqueness: Different devices have different hardware and software configurations, resulting in different device identifiers; Stability: The hardware and software configurations of the same device are relatively stable, resulting in basically consistent device identifiers; Difficult to forge: Attackers find it difficult to completely copy the hardware and software configurations of the target device.
[0088] Device fingerprint verification uses an exact matching method, and the specific steps are as follows: (1) Extract device identifier. The authentication service system extracts the first identifier information (the device identifier used during authentication) from the authentication request and the second identifier information (the device identifier used during registration) from the encrypted database.
[0089] (2) String comparison. The first and second identification information are compared. If the two strings are exactly the same, the device identification is considered to be consistent; otherwise, the device identification is considered to be inconsistent.
[0090] (3) Fault tolerance. Considering that some software information may change (such as operating system version updates), a fault tolerance mechanism can be set. Specific methods: compare only the hardware information part and ignore the software information part; or set a fuzzy matching threshold to allow a certain degree of difference.
[0091] like Figure 3 As shown, this application provides a mobile terminal multi-factor authentication system. The system is applied to a mobile terminal, which includes a mobile terminal module 100 and an authentication service system 200. This mobile terminal multi-factor authentication system is used to authenticate users to be authenticated based on the above-described method. The mobile terminal multi-factor authentication system includes: The mobile terminal module 100 is based on a traditional mobile terminal and incorporates core components such as a quantum random number chip 101, a security encryption chip 102, a biometric collector 103, a biometric data processing module 104, a quantum key management module 105, an authentication request initiation module 106, and a local verification feedback module 107. Among these: A biometric collector 103 is installed in a mobile terminal to collect the user's biometric data in real time. The biometric collector 103 may include a voiceprint acquisition module (such as a microphone) and a fingerprint acquisition module (such as a fingerprint sensor). The voiceprint acquisition module is used to collect the user's voice signal, and the fingerprint acquisition module is used to collect the user's fingerprint image. The biometric collector 103 uses a high-precision sensor and can stably collect biometric data under different environmental conditions.
[0092] The biometric data processing module 104 is used to perform multimodal fusion and feature extraction on the user's original biometric factor data to generate a user biometric summary. This module adopts a dynamic weight allocation mechanism, which automatically adjusts the weights of different biometrics according to environmental conditions and data quality to ensure that high-quality feature summaries can be obtained in various scenarios.
[0093] The quantum random number chip 101 generates random numbers using the fundamental principle of quantum mechanics—intrinsic randomness. The generation process does not rely on any complex algorithms; its randomness is guaranteed by the fundamental principles of quantum mechanics, making it truly random data. These random numbers generated by the quantum random number chip 101 are used for key generation in the data encryption and decryption process of mobile terminal device authentication. Compared to traditional pseudo-random number generators, the quantum random number chip 101 possesses true unpredictability, providing a solid physical foundation for key generation.
[0094] The secure encryption chip 102 is an independent, hardware-protected security component specifically designed for processing sensitive information. This data is generally not publicly accessible; external software or systems cannot directly read it and can only use it through the chip's instructions. It elevates data security from the software level to the hardware level, creating a trusted environment for sensitive information. The secure encryption chip 102 features: isolated key storage, hardware-based encryption operations, protection against physical attacks, and protection against side-channel attacks.
[0095] The quantum key management module 105 is responsible for establishing a quantum communication channel with the authentication service system, negotiating and generating session quantum keys, and managing the key's lifecycle (generation, storage, updating, and destruction). The quantum key management module employs a lightweight quantum key distribution protocol, adapting to the computing power and communication bandwidth limitations of mobile terminals.
[0096] The authentication request initiation module 106 is used to initiate authentication requests, encapsulate authentication data (including biometric summaries, device identifiers, etc.), and send it to the authentication service system via a quantum communication channel. The authentication request initiation module 106 is also responsible for receiving feedback from the authentication service system and performing local verification.
[0097] The local verification feedback module 107 is used to receive and decrypt the authentication results issued by the authentication service system, and perform corresponding operations based on the authentication results (such as unlocking the mobile terminal, displaying alarm information, etc.).
[0098] The authentication service system 200 is the backend service system for mobile terminals, and mainly includes: The quantum key distribution module 201 is responsible for the entire lifecycle management of quantum keys, including generation, storage, distribution, updating, and destruction. The quantum key distribution module 201 establishes a connection with the mobile terminal module 100 through a quantum communication channel and negotiates and generates session quantum keys using a quantum key distribution protocol. The quantum key distribution module 201 also manages the local root quantum key, which is generated offline and stored in the local security chip of the authentication service system, without external transmission, ensuring the highest level of security.
[0099] The encrypted database module 202 stores the user's registered biometric summary and device identification information. The encrypted database module 202 employs a multi-layered encryption protection mechanism: first, it encrypts the data content using a local root quantum key; second, it uses an encrypted index generated by the quantum random number generator 205 to encrypt and protect the storage address. Even if an attacker gains access to the database, they cannot locate or parse the user data.
[0100] The multi-factor authentication module 203 is responsible for performing multi-factor authentication on the received authentication data. First, the multi-factor authentication module 203 decrypts the authentication data, extracts the biometric digest and device identifier, and then retrieves the corresponding user's registration data from the encrypted database, performing similarity calculation and consistency verification. The multi-factor authentication module supports dynamic threshold adjustment, allowing different security levels to be set according to different application scenarios.
[0101] The security alarm and log module 204 records all authentication actions, including successful authentication, authentication failure, authentication time, and terminal device information. The module triggers alarms and sends alerts to the mobile terminal for abnormal authentication information (such as multiple consecutive authentication failures, device identifier mismatch, or low biometric similarity). The module also provides security auditing functionality, supporting post-incident security event analysis and tracing.
[0102] The quantum random number generator 205 is used to generate truly random numbers, providing a source of randomness for cryptographic index generation, key derivation, and other applications. Based on quantum physical processes (such as random photon path selection and vacuum fluctuations), the quantum random number generator 205 generates random numbers, which are theoretically unpredictable.
[0103] Example 1 This embodiment details the specific implementation method of biometric processing based on the above system, including: (a) Voiceprint signal processing Voiceprint signal processing includes the following steps: (1) Signal Acquisition. The user's voice signal is acquired using the voiceprint acquisition module (such as a microphone) of the biometric acquisition device 103 of the mobile terminal. The sampling rate is set to 16kHz, the quantization precision is 16 bits, and the recording is mono. The user reads a random number string (such as "3-7-9-2-5") provided by the system, and the reading time is about 3-5 seconds.
[0104] (2) Preprocess the acquired speech signal, including: using a first-order high-pass filter to boost the high-frequency part; dividing the speech signal into several frames with a frame length of 25ms and a frame shift of 10ms; and using a Hamming window to window each frame to reduce spectral leakage.
[0105] (3) Feature extraction. Mel frequency cepstral coefficient features are extracted for each frame of speech signal, including: fast Fourier transform; Mel filter bank filtering; logarithmic operation; discrete cosine transform. 13-dimensional Mel frequency cepstral coefficient features are extracted, including 1-dimensional energy features and 12-dimensional cepstral features.
[0106] (4) Encode the Mel frequency cepstral coefficient features into binary form. Specifically: for each feature dimension, if the value of that dimension is greater than the mean of that dimension in the training set, it is encoded as "1"; otherwise, it is encoded as "0". The first data in binary form is then obtained.
[0107] (ii) Fingerprint image processing Fingerprint image processing includes the following steps: (1) Use the fingerprint sensor of the mobile terminal to collect the user's fingerprint image. The image resolution is set to 500 dpi and the image size is 256×256 pixels. The user places their finger flat on the fingerprint sensor and keeps their finger still for about 1 second.
[0108] (2) Preprocess the collected fingerprint images, including: grayscale conversion: convert the color image to a grayscale image, with the grayscale value of each pixel being 0-255; use a Gaussian filter to remove image noise, with a filter kernel size of 3×3; use a Gabor filter to enhance the fingerprint ridges and highlight the fingerprint features.
[0109] (3) Use the global thresholding method to convert the grayscale image into a binary image. The specific methods include: calculating the grayscale histogram of the image; using the Otsu algorithm to automatically determine the optimal threshold; for each pixel, if the grayscale value is greater than the threshold, set it to 255 (white), otherwise set it to 0 (black).
[0110] (4) Encoding the binarized fingerprint image into binary data, the specific method comprising: scanning the image from left to right and top to bottom, encoding white pixels as "1" and black pixels as "0", to finally obtain second data in binary form.
[0111] (III) Multimodal fusion The multimodal fusion uses an XOR operation, and the specific steps are as follows: (1) Since the data lengths of the voiceprint signal and the fingerprint image may be different, data alignment is required. If the length of the first data is N1 and the length of the second data is N2, assuming N1<N2, the first data is cyclically extended to make its length the same as that of the second data.
[0112] (2) Performing a bitwise XOR operation on the aligned first data and second data to obtain fused data. The rule of the XOR operation is: 0 for the same bit, and 1 for different bits.
[0113] (3) Performing a hash operation on the fused data to generate a biometric feature digest. In this embodiment, the SHA-256 algorithm is adopted to generate a 256-bit digest. The SHA-256 algorithm has the following characteristics: unidirectionality: the original data cannot be restored from the digest; collision resistance: it is difficult to find two different inputs that produce the same digest; avalanche effect: a tiny change in the input will lead to a huge change in the digest.
[0114] Embodiment 2 This embodiment describes in detail the generation, distribution and management method of a quantum key.
[0115] (I) Quantum key distribution protocol This embodiment adopts the BB84 protocol for quantum key distribution, and the specific steps are as follows: (1) Quantum state preparation The sender (authentication service system 200) randomly selects a bit value (0 or 1) and a basis (rectilinear basis or diagonal basis) to prepare a corresponding quantum state. The specific rules are: if the bit is 0 and the basis is the rectilinear basis, a horizontal polarization state (0°) is prepared; if the bit is 1 and the basis is the rectilinear basis, a vertical polarization state (90°) is prepared; if the bit is 0 and the basis is the diagonal basis, a diagonal polarization state (45°) is prepared; if the bit is 1 and the basis is the diagonal basis, an anti-diagonal polarization state (135°) is prepared.
[0116] (2) Quantum state transmission The sender transmits the prepared quantum state to the receiver (mobile terminal module 100) through a quantum channel. The quantum channel may be an optical fiber channel or a free-space channel.
[0117] (3) Quantum state measurement The receiver randomly selects a measurement basis (either a right-angle basis or a diagonal basis) to measure the received quantum state. If the measurement basis is the same as the preparation basis, the measurement result is the same as the original bit value; if the measurement basis is different from the preparation basis, the measurement result is random (with a 50% probability of being correct).
[0118] (4) Base pair The sender and receiver publicly compare the measurement basis through a classical channel, but do not disclose the bit values. Both parties retain results with the same measurement basis and discard results with different measurement basis.
[0119] (5) Bit error rate estimation The sender and receiver randomly select a portion of the comparison results, publicly disclose the compared bit values, and calculate the qubit error rate. If the qubit error rate exceeds a threshold (usually 11%), it is considered that eavesdropping has occurred, and the key is discarded; if the qubit error rate is within the threshold range, the next step is continued.
[0120] (6) Key extraction The remaining alignment results are then subjected to error correction and privacy amplification to generate the final quantum key. Error correction uses the Cascade protocol or LDPC codes; privacy amplification uses a universal hash function.
[0121] (ii) Quantum Key Management Quantum key management includes key generation, storage, updating, and destruction.
[0122] (1) Key generation Each authentication session generates a new session quantum key. Key generation uses a quantum random number generator to ensure the randomness and unpredictability of the key.
[0123] (2) Key storage The session quantum key is stored in the memory of the mobile terminal module and the authentication service system, and is destroyed immediately after use. The local root quantum key is stored in the hardware security module of the authentication service system and is prohibited from being read directly.
[0124] (3) Key update The session quantum key is updated with each authentication to ensure forward security. The local root quantum key is updated periodically (e.g., annually) to ensure long-term security.
[0125] (4) Key destruction Session quantum keys are immediately removed from memory after use, and an overwrite method is used to ensure that they cannot be recovered. Once the local root quantum key is updated, the old key is completely destroyed.
[0126] Example 3 This embodiment details the anomaly handling and security alarm mechanisms.
[0127] (a) Anomaly Detection The authentication service system detects the following anomalies: (1) Continuous authentication failure If the same user fails authentication multiple times in a short period of time (e.g., 3 times within 5 minutes), it is considered an attack. Possible reasons: The attacker is trying to guess biometrics; the attacker is trying to use fake biometrics; the attacker is attempting a replay attack.
[0128] (2) Equipment identification mismatch If the device identifier in the authentication request does not match the device identifier used during registration, device forgery is considered to have occurred. Possible reasons include: an attacker using a different device to perform a replay attack; or the user changing their device but not re-registering.
[0129] (3) Low biometric similarity If the biometric similarity is significantly lower than a threshold (e.g., below 70%), biometric forgery is considered to have occurred. Possible reasons include: the attacker using forged biometrics (e.g., fingerprints, audio recordings); or the attacker using deepfake techniques.
[0130] (4) Abnormal time and location If the time and location of the authentication request are inconsistent with the user's usual behavior pattern, it is considered abnormal behavior. For example, a user who usually logs in from Beijing suddenly logs in from overseas; a user who usually logs in during working hours suddenly logs in late at night.
[0131] (ii) Safety alarm When an anomaly is detected, the authentication service system 200 takes the following measures: (1) Termination of certification process Immediately terminate the current authentication process to prevent attackers from continuing their attempts.
[0132] (2) Record abnormal information Record detailed anomaly information, including: anomaly type, time of occurrence, device identifier, IP address, geographical location, user ID, etc. This information is used for security auditing and risk analysis.
[0133] (3) Send alarm information An alarm message is sent to the mobile terminal module 100 to notify the user of potential security risks. The alarm message includes: the type of anomaly, the risk level, and suggested actions (such as changing the password, contacting customer service, or freezing the account).
[0134] (4) Trigger security mechanism Depending on the severity of the anomaly, the corresponding security mechanisms will be triggered: temporarily locking the account; requiring additional authentication (such as SMS verification code or email verification); or notifying the security team for manual review.
[0135] (iii) Log auditing The authentication service system maintains a complete security log, recording all authentication activities. The security log includes: authentication time, authentication result, device identifier, IP address, geographical location, and biometric similarity. The security log supports the following functions: (1) Post-event analysis Analyzing historical authentication data can uncover potential security threats. For example, analyzing authentication failure patterns can identify attack behaviors; analyzing changes in device identifiers can detect device forgery.
[0136] (2) Risk assessment Based on historical data, assess the risk level of user accounts. For example, if a user frequently changes devices, the risk level is higher; if a user always authenticates on the same device and in the same location, the risk level is lower.
[0137] (3) Compliance audit Meet compliance requirements and provide audit reports. For example, the financial industry requires authentication logs to be retained for at least 6 months; the healthcare industry requires all operations that access sensitive data to be logged.
[0138] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A multi-factor authentication method for mobile terminals, characterized in that, The mobile terminal includes a mobile terminal module and an authentication service system, and the method includes: In response to the authentication request of the user to be authenticated, the mobile terminal module collects the first biometric feature of the user to be authenticated and generates a first biometric feature summary based on the first biometric feature; The mobile terminal module and the authentication service system negotiate and generate a first session quantum key through a quantum communication channel; The mobile terminal module uses the first session quantum key to encrypt the first biometric digest and the first identification information of the device used by the user to be authenticated, generates first encrypted data, and sends it to the authentication service system. The authentication service system uses the first session quantum key to decrypt the first encrypted data and obtain the first biometric digest and the first identification information. The authentication service system obtains the second biometric digest of the registered user and the second identification information of the device used by the registered user by decrypting the local root quantum key, and then compares and authenticates the first biometric digest and the first identification information based on the second biometric digest and the second identification information.
2. The mobile terminal multi-factor authentication method according to claim 1, characterized in that, Before the mobile terminal module collects the first biometric feature of the user to be authenticated in response to the authentication request, the method further includes: The mobile terminal module establishes a quantum communication channel with the authentication service system and negotiates and generates a second session quantum key through the quantum communication channel. In response to a registration request from a registered user, the mobile terminal module collects the second biometric feature of the registered user and generates a second biometric feature summary based on the second biometric feature; The mobile terminal module uses the second session quantum key to encrypt the second biometric digest and the second identification information, generates second encrypted data, and sends it to the authentication service system. The authentication service system uses the second session quantum key to decrypt the second encrypted data and obtain the second biometric digest and the second identification information. The authentication service system encrypts and stores the second biometric digest and the second identification information based on the local root quantum key, and generates the third encrypted data.
3. The mobile terminal multi-factor authentication method according to claim 1, characterized in that, The comparison and authentication of the first biometric summary and the first identification information based on the second biometric summary and the second identification information includes: Calculate the similarity between the first biometric summary and the second biometric summary; Verify whether the first identification information and the second identification information are consistent; If the similarity is greater than a preset threshold and the first identification information is consistent with the second identification information, then the authentication is considered successful.
4. The mobile terminal multi-factor authentication method according to claim 1, characterized in that, After comparing and authenticating the first biometric summary and the first identification information based on the second biometric summary and the second identification information, the method further includes: When authentication is deemed successful, the authentication service system generates an authentication success command, encrypts the authentication success command using the first session quantum key, and sends it to the mobile terminal module. The mobile terminal module uses the first session quantum key to decrypt the authentication pass command to complete the authentication; Alternatively, if the authentication is deemed unsuccessful, the authentication service system terminates the authentication process, records the abnormal information, and generates and sends an alarm message to the mobile terminal module.
5. The mobile terminal multi-factor authentication method according to claim 1, characterized in that, The biometrics include voiceprint signals and fingerprint images; the steps for generating a biometric summary based on the biometrics include: After the voiceprint signal is converted into a digital signal, it is sampled, quantized and encoded to generate the first data in binary form; After performing grayscale conversion, noise reduction, and binarization preprocessing on the fingerprint image, it is converted into second data in binary form using a global thresholding method. After performing an XOR operation on the first data and the second data, a hash operation is then performed on the result to generate the biometric summary.
6. The mobile terminal multi-factor authentication method according to claim 2, characterized in that, After generating the third encrypted data, the method further includes: The authentication service system generates an encrypted index based on a quantum random number generator to encrypt and protect the storage address of the third encrypted data.
7. The mobile terminal multi-factor authentication method according to any one of claims 1 to 6, characterized in that, The local root quantum key is a key generated offline by the authentication service system and stored locally, and is not transmitted externally.
8. The mobile terminal multi-factor authentication method according to any one of claims 1 to 6, characterized in that, The identification information includes the device fingerprint.
9. A multi-factor authentication system for mobile terminals, characterized in that, The system is applied to a mobile terminal, which includes a mobile terminal module and an authentication service system; the mobile terminal multi-factor authentication system is used to authenticate the user to be authenticated based on the method of any one of claims 1 to 8.
10. The mobile terminal multi-factor authentication system according to claim 9, characterized in that, The mobile terminal module includes: Biometric collectors are used to collect users' biometric features; A biometric data processing module is used to generate a biometric summary based on the biometrics; A quantum random number chip is used to generate truly random numbers, which are used for key generation in the data encryption and decryption process; A secure encryption chip is used to provide a hardware isolation environment for the biometric data processing module to perform hash operations and to locally encrypt and store the key.
