HRTF-based identity authentication method, system, device, and storage medium

Through the HRTF-based authentication method, the three-dimensional orientation is adjusted using the device display interface and audio output device, combined with the user's physiological characteristic data, the problem of poor security after key leakage is solved, and higher authentication security is achieved.

CN114817876BActive Publication Date: 2025-09-05MIGU CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210386139.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2025-09-05
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

In the prior art, the security of keys after leakage is poor, and the user's password is easily lost or attacked by robots, resulting in high authentication risks.

Method used

The authentication method based on header-related transmission function (HRTF) is adopted to adjust the stereoscopic orientation of the audio output device through the device display interface, receive the user's HRTF data, and compare it with the preset data, and distinguish between real users and robots based on physiological characteristics and behavioral actions.

Benefits of technology

Improve the security of identity verification, effectively distinguish between natural persons and robots, and reduce the risk of key leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114817876B_ABST
    Figure CN114817876B_ABST
Patent Text Reader

Abstract

The present application discloses an HRTF-based identity authentication method, system, device, and storage medium. The HRTF-based identity authentication method includes: displaying an adjustment interface for head-related transfer function (HRTF) parameters and a first stereo orientation to be verified on a display interface of a device; outputting a verification voice through an audio output device of the device; receiving first HRTF data submitted by a user to be verified, wherein the adjustment interface is used to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified when confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation; comparing the first HRTF data with a preset second HRTF data to obtain an identity authentication result. By introducing HRTF, it is possible to effectively distinguish whether the user is the real person, and combining it with behavioral actions to distinguish between natural persons and robots, which has stronger robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of identity authentication, and in particular to an HRTF-based identity authentication method, system, device, and storage medium. Background Art

[0002] Currently, in applications, when users log in to the client, they usually need to verify their identity to prevent criminals from impersonating them. The most common way to verify identity is to set a user password. However, by simply setting a user password, the user password is easy to be lost or leaked through robot probing attacks.

[0003] In the existing technology, fingerprint verification and sandbox solutions such as identifying pictures given by the terminal and dragging pictures according to the terminal prompts are usually used to verify the authenticity of the user. That is, the focus of the existing technology is mainly on the reliability and uniqueness of the key, but it still has a high risk after the key is leaked and has poor security. Summary of the Invention

[0004] The main purpose of this application is to provide an HRTF-based identity authentication method, system, device and storage medium, aiming to solve the technical problems in the existing technology that have high risks and poor security after key leakage.

[0005] To achieve the above objectives, the present application provides an HRTF-based identity authentication method, which includes:

[0006] Displaying an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of the device;

[0007] outputting a verification voice through an audio output device of the device;

[0008] receiving first HRTF data submitted by the user to be verified, wherein the adjustment interface is used to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified when confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation;

[0009] The first HRTF data is compared with the preset second HRTF data to obtain an identity authentication result.

[0010] Optionally, before the step of outputting the verification voice through the audio output device of the device, the method includes:

[0011] Obtain basic voice command library and age information;

[0012] Based on the age information, a maximum cutoff frequency is obtained;

[0013] generating a positive voice command library and a rejected voice command library based on the basic voice command library and the highest cutoff frequency;

[0014] Based on the basic voice instruction library, the positive voice instruction library and the rejection voice instruction library, the voice instruction library is obtained, so that the audio output device can output the verification voice based on the voice instruction library.

[0015] Optionally, the step of generating a positive voice instruction library and a rejected voice instruction library based on the basic voice instruction library and the highest cutoff frequency includes:

[0016] Based on the highest cutoff frequency, determining a first voice range and a second voice range in the basic voice instruction library, wherein the first voice range is a range of voices less than or equal to the highest cutoff frequency, and the second voice range is a range of voices greater than the highest cutoff frequency;

[0017] Based on the first voice range and the second voice range, the positive voice instruction library and the rejection voice instruction library are generated respectively, wherein the frequency of the voice instructions of the positive voice instruction library is within the first voice range, and the frequency of the voice instructions of the rejection voice instruction library is within the second voice range.

[0018] Optionally, the step of comparing the first HRTF data with preset second HRTF data to obtain an identity authentication result includes:

[0019] respectively calculating impulse responses of the first HRTF data and the second HRTF data to obtain a first impulse response and a second impulse response;

[0020] calculating a difference between the first impulse response and the second impulse response;

[0021] The identity authentication result is determined based on the difference value. If the difference value is less than a preset threshold, the identity authentication of the user to be authenticated is passed.

[0022] Optionally, before the step of comparing the first HRTF data with preset second HRTF data, the method includes:

[0023] Acquiring a measurement signal and acquiring a received signal determined after the measurement signal propagates a preset distance;

[0024] Performing cross-correlation calculation on the measurement signal and the received signal to obtain a head-related impulse response HRIR;

[0025] Perform Fourier transform on the HRIR to obtain the preset second HRTF data.

[0026] Optionally, before the step of displaying an adjustment interface for head-related transfer function (HRTF) parameters and the first stereoscopic orientation to be verified on a display interface of the device, the method includes:

[0027] Get the user password;

[0028] Based on the user password, generate a first password;

[0029] Receive a second password sent by the user to be verified, and determine whether the second password is correct based on the first password.

[0030] Optionally, the step of receiving a second password sent by the user to be verified and determining whether the second password is correct based on the first password includes:

[0031] Based on the first password, generating a password set, wherein the password set includes an interference password and the first password;

[0032] receiving password information from the password set selected by the user to be verified, and obtaining the second password;

[0033] The second password is compared with the first password to determine whether the second password is correct. If the second password is the same as the first password, the second password is correct.

[0034] The present application also provides an HRTF-based identity authentication system, which includes:

[0035] A display module, configured to display an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of the device;

[0036] An output module, configured to output a verification voice through an audio output device of the device;

[0037] a receiving module, configured to receive first HRTF data submitted by the user to be verified, wherein the adjustment interface is configured to adjust the stereo orientation of the verification voice output by the audio output device, the first HRTF data being submitted by the user to be verified upon confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation;

[0038] The comparison module is used to compare the first HRTF data with the preset second HRTF data to obtain an identity authentication result.

[0039] The present application also provides an HRTF-based identity authentication device, the HRTF-based identity authentication device comprising: a memory, a processor, and a program stored in the memory for implementing the HRTF-based identity authentication method.

[0040] The memory is used to store a program for implementing an HRTF-based identity authentication method;

[0041] The processor is used to execute a program for implementing the HRTF-based identity authentication method to implement the steps of the HRTF-based identity authentication method.

[0042] The present application also provides a storage medium, on which is stored a program for implementing an HRTF-based identity authentication method, and the program for implementing an HRTF-based identity authentication method is executed by a processor to implement the steps of the HRTF-based identity authentication method.

[0043] The present application provides a HRTF-based identity authentication method, system, device, and storage medium. Compared to existing technologies that pose risks and have poor security after key leakage, the present application displays an adjustment interface for head-related transfer function (HRTF) parameters and a first stereo orientation to be verified on a device display interface; outputs a verification voice through an audio output device of the device; receives first HRTF data submitted by the user to be verified, wherein the adjustment interface is used to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified upon confirming that the stereo orientation of the verification voice output by the audio output device is consistent with the first stereo orientation; and compares the first HRTF data with a preset second HRTF data to obtain an identity authentication result. Specifically, in the present application, user physiological characteristic data HRTF is introduced. The user to be verified obtains HRTF data through the verification voice, thereby verifying whether the HRTF data of the user to be verified is consistent with the HRTF data under the user's name. The HRTF data is then combined with behavioral actions to distinguish between natural persons and robots, effectively distinguishing whether the user is the real person, and improving the security of identity authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the embodiments or the description of the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without inventive work.

[0045] Figure 1This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application;

[0046] Figure 2 This is a flowchart of the first embodiment of the HRTF-based identity authentication method of this application;

[0047] Figure 3 This is a detailed flowchart of the second embodiment of the HRTF-based identity authentication method of this application.

[0048] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0050] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.

[0051] The terminal in the embodiment of the present application can be a PC, or it can be a smart phone, tablet computer, e-book reader, MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) player, portable computer and other portable terminal devices with display function.

[0052] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0053] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.

[0054] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation to the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0055] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating device, a network communication module, a user interface module, and an HRTF-based identity authentication program.

[0056] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the HRTF-based authentication program stored in the memory 1005.

[0057] Example 1

[0058] Reference Figure 2 , an embodiment of the present application provides an HRTF-based identity authentication method, the HRTF-based identity authentication method comprising:

[0059] Step S100: displaying an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of a device;

[0060] Step S200, outputting a verification voice through the audio output device of the device;

[0061] Step S300: Receive first HRTF data submitted by the user to be verified, wherein the adjustment interface is used to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified when confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation;

[0062] Step S400: Compare the first HRTF data with the preset second HRTF data to obtain an identity authentication result.

[0063] The specific steps are as follows:

[0064] Step S100: displaying an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of a device;

[0065] In this embodiment, the device's display interface can be a mobile phone display, a computer display, or any other terminal display, without limitation. The device's display interface displays an adjustment interface for head-related transfer function (HRTF) parameters and the first 3D orientation to be verified in an appropriate manner. In this embodiment, this display is graphical, pixel-based, or data-based, without limitation.

[0066] In this embodiment, the user to be verified adjusts his or her own HRTF data according to the HRTF parameter adjustment interface, wherein the user to be verified takes the first three-dimensional orientation to be verified as the target, that is, the user adjusts his or her own orientation to the first three-dimensional orientation to be verified and ends the adjustment. The system obtains the HRTF data of the user to be verified based on the orientation adjustment of the user to be verified.

[0067] For example, a three-dimensional coordinate system with the user as the origin and the user facing the X-axis is displayed on the interface, and the first three-dimensional orientation to be verified is displayed at a corresponding position in the coordinate system.

[0068] Step S200, outputting a verification voice through the audio output device of the device;

[0069] In this embodiment, the audio output device of the device can be a sound card, headphones, speakers, amplifier and other devices. The system outputs the verification voice through the audio output device of the device, wherein the verification voice is a voice prompt used to guide the user to be verified to perform verification. Specifically, the verification voice is saved in a preset voice library.

[0070] Step S300: Receive first HRTF data submitted by the user to be verified, wherein the adjustment interface is used to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified when confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation;

[0071] In this embodiment, the first HRTF data of the user to be verified is the final HRTF data of the user. The user adjusts the HRTF parameters according to the difference between the directional voice instruction and the expected direction until the user adjusts the direction of the directional voice instruction to appear within the range of the direction of the first command. The system then records the first HRTF data at this moment and proceeds to the next step.

[0072] In this embodiment, the maximum adjustment time and maximum number of adjustments for the user are set, and the user is restricted from adjusting the HRTF parameters of the first HRTF data within this adjustment time. If the user fails to complete the adjustment within the time limit, the user identity is determined to be incorrect and access is denied. The user is restricted from adjusting the HRTF parameters of the first HRTF data within this number of adjustments. If the user fails to complete the adjustment within the number of adjustments, the user identity is determined to be incorrect and access is denied.

[0073] For example, during the maximum adjustment time t, the user adjusts the HRTF parameters according to the difference between the virtual position of the voice command heard in the earphone and the expected position, and repeats the above process 4 times. When the user adjusts the virtual position of the voice command heard in the earphone to the required position, the system records the HRTF data at this moment and proceeds to the next step.

[0074] In another embodiment, the system randomly selects a voice command within a certain range from the basic voice library, the positive voice library, and the rejection voice library. The user adjusts the HRTF parameters based on the difference between the directional voice command and the expected direction until the direction of the directional voice command appears within the direction of the first command. The system then records the third HRTF data at this point and proceeds to the next step. Specifically, if the voice command selected is from the basic voice library or the positive voice library, the system will generate the corresponding direction R based on the HRTF adjusted by the user and play the voice. The user's HRTF can be expressed as:

[0075]

[0076]

[0077] Among them, γ is the distance of the sound source, θ is the azimuth of the sound source, is the pitch angle.

[0078] The user adjusts the distance γ, azimuth angle θ, and pitch angle of the sound source according to the direction provided in the previous step. Specific parameters, assuming that the adjusted HRTF can be expressed as Hnl = {Hnl, Hnr}, then the generation of directional speech can be expressed as:

[0079]

[0080]

[0081] If the speech set in the rejected speech library is selected, the system will generate the corresponding direction W based on the HRTF adjusted by it, and add the interference direction, and finally generate the wrong direction.

[0082] The user adjusts the distance γ, azimuth angle θ, and pitch angle of the sound source according to the direction provided in the previous step. The specific parameters of the system are the distance of the sound source after adding the interference term γ'=γ+Δ, the azimuth angle of the sound source θ'=θ+Δ, the pitch angle The final generated speech can be expressed as:

[0083]

[0084]

[0085] The first HRTF data of the user is the finally determined HRTF data of the user.

[0086] The interface displays a three-dimensional coordinate system with the user as the origin and the user facing the X-axis. The expected position is displayed at the corresponding position in this coordinate system. During the subsequent HRTF adjustment process, the user wearing headphones listens to the adjusted voice position. The user adjusts the HRTF parameters based on the difference between the voice command and the expected position until the position of the voice command falls within the range of the first command. The system then records the first HRTF data at this point and proceeds to the next step.

[0087] Step S400: Compare the first HRTF data with the preset second HRTF data to obtain an identity authentication result.

[0088] In this embodiment, the authentication is considered successful only after the HRTF data of the user to be authenticated is verified with the HRTF data of the pre-stored user; otherwise, the authentication is considered failed.

[0089] Specifically, the step S400 includes the following steps S410-S430:

[0090] Step S410, respectively calculating impulse responses of the first HRTF data and the second HRTF data to obtain a first impulse response and a second impulse response;

[0091] Step S420, calculating a difference between the first impulse response and the second impulse response;

[0092] Step S430: judging the identity authentication result based on the difference value; if the difference value is less than a preset threshold, the identity authentication of the user to be authenticated is passed.

[0093] In this embodiment, the impulse response Hfreqsel of the second HRTF data coefficient is calculated, and the frequency impulse response Hfreqlr of the pre-stored user's HRTF is calculated at the same time. The difference between the first impulse response and the second impulse response is the difference between the first impulse response and the second impulse response, that is, Hdiff = Hfreqsel-Hfreqlr. When Hdiff is less than the threshold Hthresh, the verification is passed and it is judged to be the user himself. Otherwise, it is considered not the user himself.

[0094] The present application provides a HRTF-based identity authentication method, system, device, and storage medium. Compared to existing technologies that pose risks and have poor security after key leakage, the present application displays an adjustment interface for head-related transfer function (HRTF) parameters and a first stereo orientation to be verified on a device display interface; outputs a verification voice through an audio output device of the device; receives first HRTF data submitted by the user to be verified, wherein the adjustment interface is used to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified upon confirming that the stereo orientation of the verification voice output by the audio output device is consistent with the first stereo orientation; and compares the first HRTF data with a preset second HRTF data to obtain an identity authentication result. Specifically, in the present application, user physiological characteristic data HRTF is introduced. The user to be verified obtains HRTF data through the verification voice, thereby verifying whether the HRTF data of the user to be verified is consistent with the HRTF data under the user's name. The HRTF data is then combined with behavioral actions to distinguish between natural persons and robots, effectively distinguishing whether the user is the real person, and improving the security of identity authentication.

[0095] Example 2

[0096] Based on the first embodiment of the present application, another embodiment of the present application is provided. In this embodiment, before the step of outputting the verification voice through the audio output device of the device, the following steps A100-A400 are included:

[0097] Step A100, obtaining a basic voice command library and age information;

[0098] In this embodiment, as shown in Table 1, Table 1 shows the maximum frequencies that can be perceived by different age groups. The basic voice instruction library includes the voice range that can be heard by all age groups, which serves as the most basic voice instruction generation frequency range.

[0099]

[0100] Table 1 Maximum frequency that can be perceived by different ages

[0101] In this embodiment, the age information under the username is the age information sent to the system by the username creator when creating the username.

[0102] Step A200, obtaining a maximum cutoff frequency based on the age information;

[0103] In this embodiment, the maximum cutoff frequency is the maximum frequency that the human ear can perceive sound. The system determines the maximum cutoff frequency based on age information. For example, if the user name is liming123, the system retrieves the user's age as 16 and the maximum cutoff frequency as 22 kHz.

[0104] Step A300: generating a positive voice command library and a rejection voice command library based on the basic voice command library and the highest cutoff frequency;

[0105] Specifically, the step A300 includes the following steps A310-A320:

[0106] Step A310: Based on the highest cutoff frequency, determine a first voice range and a second voice range in the basic voice instruction library, wherein the first voice range is a range of voices less than or equal to the highest cutoff frequency, and the second voice range is a range of voices greater than the highest cutoff frequency;

[0107] In this embodiment, the first speech range is the speech range below the highest cutoff frequency, and the second speech range is the speech range outside the highest cutoff frequency. For example, if the highest cutoff frequency is 20 kHz, the first speech range is between 0 and 20 kHz, and the second speech range is greater than 20 kHz.

[0108] Step A320: Based on the first voice range and the second voice range, generate the positive voice instruction library and the rejection voice instruction library respectively, wherein the frequency of the voice instructions of the positive voice instruction library is within the first voice range, and the frequency of the voice instructions of the rejection voice instruction library is within the second voice range.

[0109] As shown in Table 2, the positive voice command library contains speech within an audio range that can be heard by people in the current age group and adjacent age groups, but not by other age groups. For example, for the 20-24 age group, the frequency range of the age-related voice command library is 14,000 Hz to 16,000 Hz. It can be seen that people over 45 years old will not be able to hear commands within this frequency range. However, everyone under 45 years old can hear commands within this frequency range. There are no age-related positive voice frequency sets for the 50-60 age group and those over 60. The positive voice command library is primarily used to exclude users who do not meet age requirements from trying HRTFs, thereby improving the robustness of system authentication.

[0110] The rejection voice command library selects frequencies that are inaudible to people in that age group. For example, for the 20-24 age group, the frequencies between 20,000 Hz and 22,000 Hz are inaudible. There are no age-correlated voice frequency sets for the 50-60 age group or those older than 60. The age-related rejection voice command library is primarily used to interfere with users who do not meet age requirements and test HRTFs, thereby improving the robustness of system authentication.

[0111]

[0112] Table 2 Voice command set frequency selection

[0113] Step A400: obtaining the voice instruction library based on the basic voice instruction library, the positive voice instruction library and the rejection voice instruction library, so that the audio output device can output the verification voice based on the voice instruction library.

[0114] In this embodiment, the voice instruction library under the user name includes a basic voice instruction library, a positive voice instruction library, and a rejection voice instruction library.

[0115] Example 3

[0116] Based on the first and second embodiments of the present application, another embodiment of the present application is provided. In this embodiment, before the step of comparing the first HRTF data with the preset second HRTF data, the following steps B100-B300 are included:

[0117] Step B100, obtaining a measurement signal and obtaining a received signal determined after the measurement signal propagates a preset distance;

[0118] Step B200, performing cross-correlation calculation on the measurement signal and the received signal to obtain a head-related impulse response HRIR;

[0119] Step B300: Perform Fourier transform on the HRIR to obtain the preset second HRTF data.

[0120] In this embodiment, a measurement signal is acquired, and a received signal is determined after the measurement signal propagates a predetermined distance. Measurement is performed using a speaker and microphone in the measurement device. The speaker generates the measurement signal, and microphones located at both ears pick up the received signal. The measurement utilizes a pseudo-random signal. A head-related impulse response (HRIR) is obtained by cross-correlating the received signal with the original measurement signal. The HRIR is then Fourier transformed to obtain the preset second HRTF data.

[0121] Example 4

[0122] Based on the first, second, and third embodiments of the present application, another embodiment of the present application is provided. In this embodiment, before the step of displaying an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of a device, the following steps C100-C300 are included:

[0123] Step C100, obtaining the user password;

[0124] In this embodiment, the user password is information stored under this user name. When the user name is created, the system obtains the user password based on the information entered by the user who created the user name.

[0125] Specifically, the method for obtaining the user password may be to provide an inquiry interface and obtain the target user name and password based on the user name and password information entered on the inquiry interface, or to extract the voice information in the voice command when the user enters a voice command and parse the voice information to obtain the target user name and password;

[0126] The voice command library stores voice commands and provides voice guidance for users when verifying their identity;

[0127] Step C200, generating a first password based on the user password;

[0128] In this embodiment, the first password is a voice password with password information. For example, the user password of liming is 654321, the first password is (654321), and the direction of the first password is (3, 2, 2).

[0129] In this embodiment, the first password may be the user password information, or may be a voice password of the user password, or may be a voice password set including the user password and the interference password. For example, if Li Ming's user password is 654321, the system will randomly generate 6 additional interference passwords P{(abc123), (845219), (778441), (t1256a9), (yy56w1), (776523)}. At the same time, the system will generate 7 corresponding positions, where the specific position of the position is represented by three-dimensional coordinates N{(3, 2, 2), (1, 2 ,-2),(-3,1,2),(-1,-2,-1),(-1,-1,2),(2,-2,3),(3,-3,-3)}, and finally the password is matched with the specific position to form PN{((654321),3,2,2),((abc123),1,2,-2),((845219),-3,1,2),((778441),-1,-2,-1),((t1256a9),-1,-1,2),((yy56w1),2,-2,3),((776523),3,-3,-3)}.

[0130] Step C300: Receive a second password sent by the user to be verified, and determine whether the second password is correct based on the first password.

[0131] In this embodiment, the second password is a password entered by the user. The second password can be the password entered by the user on the query interface or by voice input. Based on the first password, the correctness of the second password can be determined by the user entering the second password and the system comparing the second password with the first password to see if they are consistent. Alternatively, the user can obtain a set of voice passwords from the first password, select a password from the set, and the system compares the second password with the first password to see if they are consistent.

[0132] Specifically, the step C300 includes the following steps C310-C330:

[0133] Step C310: generating a password set based on the first password, wherein the password set includes an interference password and the first password;

[0134] In this embodiment, the first password is a password set, including a correct password and an interference password, and the correct password is extracted, and the correct password is the user password.

[0135] For example, Li Ming's user password is 654321. The system plays the first password P{(abc123), (845219), (778441), (t1256a9), (yy56w1), (776523), (654321)}, and the system extracts the password 654321.

[0136] Step C320: receiving the password information in the password set selected by the user to be verified, and obtaining the second password;

[0137] For example, Li Ming's user password is 654321. The system plays the first password P{(abc123), (845219), (778441), (t1256a9), (yy56w1), (776523), (654321)}. If the second password entered by the user is abc123, the system will judge that the second password is wrong because the user entered the wrong password.

[0138] Step C330: Compare the second password with the first password to determine whether the second password is correct. If the second password is the same as the first password, the second password is correct.

[0139] In this embodiment, if the system determines that the second password is wrong, it will refuse to proceed to the next access; if the system determines that the second password is correct, the system selects the directional voice instruction in the voice instruction library, and sends the directional voice instruction, the initial HRTF data and the direction of the first password to the user, wherein the direction of the first password is the direction of the first command in three dimensions, the initial HRTF data is the initial HRTF data of the user provided by the system, the directional voice instruction is the voice instruction provided to guide the user to adjust the initial HRTF data, and the direction of the first command is the direction target set by the system.

[0140] Example 5

[0141] Based on the first, second, third and fourth embodiments of the present application, another embodiment of the present application is provided. In this embodiment, a user name, a voice command library and preset second HRTF data are obtained;

[0142] In this embodiment, the user password, voice command library and preset second HRTF data are information saved under this user name. When the user name is created, the system obtains the user name, voice command library and preset second HRTF data based on the information entered by the user name creator.

[0143] In this embodiment, the user name is first obtained, wherein the method for obtaining the user name may be:

[0144] Method 1: If a voice command is detected, the voice information in the voice command is extracted and the target user name is obtained from the voice information.

[0145] Method 2: In this embodiment, an inquiry interface may be provided to obtain the target user name based on the user name information input on the inquiry interface.

[0146] Specifically, the method for obtaining the user password may be to provide an inquiry interface and obtain the target user name and password based on the user name and password information entered on the inquiry interface, or to extract the voice information in the voice command when the user enters a voice command and parse the voice information to obtain the target user name and password;

[0147] The voice command library stores voice commands and provides voice guidance for users when verifying their identity;

[0148] The preset second HRTF data is the HRTF data stored under the user's name. The HRTF data is converted based on sound effect positioning. Specifically, when the sound emitted by a sound source at a certain point in space is transmitted to the two ears of a person, there will be a time difference (ITD, interaural time difference) and an intensity difference (ILD, interaural level difference), and the sound will have a series of interactions with the human torso, shoulders, head and auricle during the transmission process, which changes the sound quality of the sound. The human ear determines the position of the sound source based on the difference in time, intensity and sound quality of the sound reaching the two ears. The above-mentioned sound source positioning information can be represented by a transfer function, called the head-related transfer function (HRTF). HRTF has two characteristics, namely, the HRTF is different as the position of the sound source is different, and the HRTF of each person is different. Among them, the first HRTF data is obtained by collecting the user's personal data through the device and calculating it.

[0149] For example, user Li Ming is an employee of a company. His username on the company's website is liming. When he logs into the system using the username liming, the system retrieves the correct password for liming, which is 654321. The corresponding HRTF data is Sofa(liming).

[0150] Example 6

[0151] Based on the first embodiment, the second embodiment, the third embodiment, the fourth embodiment and the fifth embodiment of the present application, another embodiment of the present application is provided. In this embodiment, referring to Figure 3In this application, the user to be verified sends a username to the system. Based on the username, the system obtains the user password, voice command library, and preset second HRTF data under the username. The system generates a first password based on the user password, wherein the first password includes a correct password and an interference password. The system sends the first password to the user to be verified for selection. The system receives the second password sent by the user to be verified and determines whether the second password matches the correct password based on the correct password. If so, the system determines the direction of the correct password and randomly selects voice commands from the basic voice command library, the positive voice command library, and the rejected voice command library to generate the default HRTF data HRTFselected for the user to be verified. The direction of the correct password, the selected direction voice command, and the second HRTF data are sent to the user to be verified, so that the user to be verified can adjust the HRTF parameters according to the difference between the selected direction voice command and the expected direction. The system records the first HRTF data at this moment until the user adjusts the direction of the direction voice command to the range of the correct password direction. Finally, the impulse responses of the first HRTF data and the preset second HRTF data are calculated respectively, and the difference between the first impulse response and the second impulse response is calculated. According to the difference, whether the identity authentication is passed is determined to obtain the identity authentication result.

[0152] In this embodiment, the user is presented with the correct password's position information and provided with a default second HRTF. The user can then modify the HRTF parameters in the interface. Verification is successful when the resulting voice position matches the correct password. This present invention not only verifies the correctness of an individual user's password but also distinguishes the authenticity of the individual user, improving the effectiveness and security of identity verification and enhancing system robustness.

[0153] The present application also provides an HRTF-based identity authentication system, comprising:

[0154] A display module, configured to display an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of the device;

[0155] An output module, configured to output a verification voice through an audio output device of the device;

[0156] a receiving module, configured to receive first HRTF data submitted by the user to be verified, wherein the adjustment interface is configured to adjust the stereo orientation of the verification voice output by the audio output device, the first HRTF data being submitted by the user to be verified upon confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation;

[0157] The comparison module is used to compare the first HRTF data with the preset second HRTF data to obtain an identity authentication result.

[0158] The specific implementation of the HRTF-based identity authentication system of this application is basically the same as the above-mentioned embodiments of the HRTF-based identity authentication method, and will not be repeated here.

[0159] The present application also provides an HRTF-based identity authentication device, the HRTF-based identity authentication device comprising: a memory, a processor, and a program stored in the memory for implementing the HRTF-based identity authentication method.

[0160] The memory is used to store a program for implementing an HRTF-based identity authentication method;

[0161] The processor is used to execute a program for implementing the HRTF-based identity authentication method to implement the steps of the HRTF-based identity authentication method.

[0162] The specific implementation of the HRTF-based identity authentication device of this application is basically the same as the above-mentioned embodiments of the HRTF-based identity authentication method, and will not be repeated here.

[0163] The present application also provides a storage medium, on which is stored a program for implementing an HRTF-based identity authentication method, and the program for implementing an HRTF-based identity authentication method is executed by a processor to implement the steps of the HRTF-based identity authentication method.

[0164] The specific implementation of the storage medium of this application is basically the same as the above-mentioned embodiments of the HRTF-based identity authentication method, and will not be repeated here.

[0165] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0166] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0167] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0168] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An identity authentication method based on HRTF, characterized in that: The HRTF-based identity authentication method includes: Displaying an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of the device; Obtain basic voice command library and age information; Based on the age information, a maximum cutoff frequency is obtained; generating a positive voice command library and a rejected voice command library based on the basic voice command library and the highest cutoff frequency; Based on the basic voice instruction library, the positive voice instruction library and the rejection voice instruction library, the voice instruction library is obtained, so that the audio output device can output the verification voice based on the voice instruction library; Randomly select a voice command of a voice range from the three voice libraries: the basic voice command library, the positive voice command library, and the rejection voice command library; If the selected voice instruction is from the basic voice library or the forward voice instruction library, the correct direction is generated; If the voice command selected is from the rejected voice command library, an incorrect direction is generated; outputting a verification voice through an audio output device of the device; receiving first HRTF data submitted by a user to be verified, wherein the adjustment interface is used to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified when confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation; The first HRTF data is compared with the preset second HRTF data to obtain an identity authentication result.

2. The HRTF-based identity authentication method according to claim 1, wherein: The step of generating a positive voice instruction library and a rejected voice instruction library based on the basic voice instruction library and the highest cutoff frequency includes: Based on the highest cutoff frequency, determining a first voice range and a second voice range in the basic voice instruction library, wherein the first voice range is a range of voices less than or equal to the highest cutoff frequency, and the second voice range is a range of voices greater than the highest cutoff frequency; Based on the first voice range and the second voice range, the positive voice instruction library and the rejection voice instruction library are generated respectively, wherein the frequency of the voice instructions of the positive voice instruction library is within the first voice range, and the frequency of the voice instructions of the rejection voice instruction library is within the second voice range.

3. The HRTF-based identity authentication method according to claim 1, wherein: The step of comparing the first HRTF data with the preset second HRTF data to obtain an identity authentication result includes: respectively calculating impulse responses of the first HRTF data and the second HRTF data to obtain a first impulse response and a second impulse response; calculating a difference between the first impulse response and the second impulse response; The identity authentication result is determined based on the difference value. If the difference value is less than a preset threshold, the identity authentication of the user to be authenticated is passed.

4. The HRTF-based identity authentication method according to claim 1, wherein: Before the step of comparing the first HRTF data with the preset second HRTF data, the method includes: Acquiring a measurement signal and acquiring a received signal determined after the measurement signal propagates a preset distance; Performing cross-correlation calculation on the measurement signal and the received signal to obtain a head-related impulse response HRIR; Perform Fourier transform on the HRIR to obtain the preset second HRTF data.

5. The HRTF-based identity authentication method according to claim 1, wherein: Before the step of displaying an adjustment interface for head-related transfer function (HRTF) parameters and the first stereoscopic orientation to be verified on a display interface of the device, the method includes: Get the user password; Based on the user password, generate a first password; Receive a second password sent by the user to be verified, and determine whether the second password is correct based on the first password.

6. The HRTF-based identity authentication method according to claim 5, wherein: The step of receiving the second password sent by the user to be verified and determining whether the second password is correct based on the first password includes: Based on the first password, generating a password set, wherein the password set includes an interference password and the first password; receiving password information from the password set selected by the user to be verified, and obtaining the second password; The second password is compared with the first password to determine whether the second password is correct. If the second password is the same as the first password, the second password is correct.

7. An HRTF-based identity authentication system, characterized in that: The HRTF-based identity authentication system includes: A display module, configured to display an adjustment interface for head-related transfer function (HRTF) parameters and a first stereoscopic orientation to be verified on a display interface of the device; An output module, configured to output a verification voice through an audio output device of the device; The output module is further configured to obtain a basic voice instruction library and age information; obtain a maximum cutoff frequency based on the age information; generate a positive voice instruction library and a rejection voice instruction library based on the basic voice instruction library and the maximum cutoff frequency; obtain the voice instruction library based on the basic voice instruction library, the positive voice instruction library, and the rejection voice instruction library, so that the audio output device can output a verification voice based on the voice instruction library; randomly select a voice instruction within a voice range from the three voice libraries, namely, the basic voice instruction library, the positive voice instruction library, and the rejection voice instruction library; if a voice instruction from the basic voice instruction library or the positive voice instruction library is selected, a correct direction is generated; if a voice instruction from the rejection voice instruction library is selected, an incorrect direction is generated; a receiving module, configured to receive first HRTF data submitted by a user to be verified, wherein the adjustment interface is configured to adjust the stereo orientation of the verification voice output by the audio output device, and the first HRTF data is submitted by the user to be verified when confirming that the stereo direction of the verification voice output by the audio output device is the same as the first stereo orientation; The comparison module is used to compare the first HRTF data with the preset second HRTF data to obtain an identity authentication result.

8. An HRTF-based identity authentication device, characterized in that: The HRTF-based authentication device includes: a memory, a processor, and a program stored in the memory for implementing the HRTF-based authentication method. The memory is used to store a program for implementing an HRTF-based identity authentication method; The processor is configured to execute a program for implementing the HRTF-based identity authentication method, so as to implement the steps of the HRTF-based identity authentication method as claimed in any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores a program for implementing the HRTF-based identity authentication method, and the program for implementing the HRTF-based identity authentication method is executed by a processor to implement the steps of the HRTF-based identity authentication method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Head related transfer function (HRTF) as biometric authentication

    US20200394288A1

  • Generating personalized end user head-related transfer function (HRTF) from generic hrtf

    US20210127223A1