Identity authentication method and device, and electronic device

By acquiring the positional information and ear characteristics of the headphones, the system can automatically authenticate its identity, solving the problem of low efficiency in headphone user authentication and improving security and convenience.

CN115134701BActive Publication Date: 2026-02-10VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210737307.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2026-02-10
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

In existing technologies, user authentication via headphones is inefficient, requires the assistance of other devices, and involves cumbersome procedures.

Method used

By acquiring the headphone's pose information relative to the user's head and the user's ear features, the sensor array collects ear features and generates verification ear features based on the pose information. The user's identity is then determined by similarity, thus achieving autonomous identity authentication.

Benefits of technology

It improves the security of the headset and the convenience of identity authentication, simplifies the operation process, and increases authentication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115134701B_ABST
    Figure CN115134701B_ABST
Patent Text Reader

Abstract

The present application provides an identity authentication method and device and electronic equipment, by obtaining the pose information of the earphone relative to the user's head and the ear feature of the user, and obtaining the check ear feature matched with the pose information according to the pose information; in the case that the similarity between the ear feature and the check ear feature is greater than or equal to the first threshold value, it is determined that the user passes the identity authentication. After the user wears the earphone, the pose information of the earphone and the ear feature of the user can be obtained, and the identity of the user currently wearing the earphone is verified according to the pose information of the earphone and the ear feature of the user, which not only can avoid the earphone being used by unknown persons, improve the security of the earphone, but also significantly improve the convenience and efficiency of the identity authentication of the user of the earphone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of security technology, and in particular to an identity authentication method, device and electronic device. Background Technology

[0002] With the continuous development of wearable devices, people are using them more and more frequently in their daily lives. Among them, headphones are a common wearable device, and ensuring their security and preventing their theft has become an urgent problem to be solved.

[0003] In related technologies, in order for the headset to identify the current user, it is usually necessary to bind the headset to other devices that can provide identity authentication (such as mobile phones). When the user uses the headset, the other device prompts the user to authenticate. After the user provides the correct authentication information (such as password, fingerprint, etc.) on the other device, the headset enters normal working state to prevent the headset from being stolen.

[0004] However, the above authentication methods not only require the assistance of other devices, but also require the execution of multiple operation steps, making it inconvenient and inefficient to authenticate the identity of the headset user in the existing technology. Summary of the Invention

[0005] This invention provides an identity authentication method, device, earphone, and electronic device to solve the problem of low efficiency in authenticating earphone users in the prior art.

[0006] In a first aspect, embodiments of the present invention provide an identity authentication method, the method comprising:

[0007] Acquire the position and pose information of the headphones relative to the user's head, as well as the user's ear features;

[0008] Based on the pose information, a verification ear feature matching the pose information is obtained;

[0009] If the similarity between the ear feature and the verified ear feature is greater than or equal to a first threshold, the user is determined to have passed identity authentication.

[0010] Secondly, embodiments of the present invention provide an identity authentication device, the device comprising:

[0011] The acquisition module is used to acquire the pose information of the earphone relative to the user's head, as well as the ear features of the user;

[0012] The verification feature module is used to obtain verification ear features that match the pose information based on the pose information.

[0013] The authentication module is used to determine that the user has passed identity authentication if the similarity between the ear feature and the verified ear feature is greater than or equal to a first threshold.

[0014] Thirdly, embodiments of the present invention also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the authentication method provided by the present invention.

[0015] Fourthly, embodiments of the present invention also provide a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the steps of the authentication method provided by the present invention.

[0016] In this embodiment of the invention, the method includes: acquiring the pose information of the earphone relative to the user's head, and the user's ear features; obtaining a verification ear feature that matches the pose information; and determining that the user has passed identity authentication if the similarity between the ear feature and the verification ear feature is greater than or equal to a first threshold. This invention can acquire the pose information of the earphone and the user's ear features after the user wears the earphone, and verify the identity of the user currently wearing the earphone based on the earphone pose information and the user's ear features. This not only prevents the earphone from being used by unauthorized personnel, improving the security of the earphone, but also significantly improves the convenience and efficiency of authenticating the user of the earphone. Attached Figure Description

[0017] Figure 1 This is a flowchart of the steps of an identity authentication method provided in an embodiment of the present invention;

[0018] Figure 2 This is a structural diagram of an earphone provided in an embodiment of this application;

[0019] Figure 3 This is a flowchart of another identity authentication method provided in an embodiment of the present invention;

[0020] Figure 4 This is a schematic diagram of an earphone at a reference wearing angle provided in an embodiment of this application;

[0021] Figure 5 This is a schematic diagram of an earphone in a reference wearing position according to an embodiment of this application;

[0022] Figure 6 This is a schematic diagram of the distribution of an earphone sensor array provided in an embodiment of this application;

[0023] Figure 7 This is a schematic diagram of an ear feature provided in an embodiment of this application;

[0024] Figure 8 This is a schematic diagram of a non-reference pose provided in an embodiment of this application;

[0025] Figure 9 This is a schematic diagram of a light reflection detection mechanism provided in an embodiment of this application;

[0026] Figure 10 This is a schematic diagram of another light reflection detection mechanism provided in an embodiment of this application;

[0027] Figure 11 This is a schematic diagram of the earcup spacing provided in an embodiment of this application;

[0028] Figure 12 This is a schematic diagram of a wearing position provided in an embodiment of this application;

[0029] Figure 13 This is a schematic diagram of another wearing position provided in an embodiment of this application;

[0030] Figure 14 This is a schematic diagram of a cross-section of the center line of an earmuff provided in an embodiment of this application;

[0031] Figure 15 This is a block diagram of an identity authentication device provided in an embodiment of the present invention;

[0032] Figure 16 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0033] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0034] Figure 1 This is a flowchart illustrating the steps of an identity authentication method provided in an embodiment of the present invention. This method is applied to an electronic device, such as... Figure 1 As shown, the method may include:

[0035] Step 101: Obtain the pose information of the earphone relative to the user's head, as well as the ear features of the user.

[0036] In this embodiment, the headphones include at least one earcup, which may be equipped with a sensor array. This sensor array can collect the user's ear features when the user wears the headphones. The sensors may be pressure sensors (such as piezoresistive sensors, piezoresistive sensors, etc.), temperature sensors, capacitive sensors, etc.

[0037] Reference Figure 2 , Figure 2 This application provides a schematic diagram of an earphone structure, as shown in the embodiment. Figure 2 As shown, the headphones can consist of earcups 12 and a headband 11 connected to the earcups. An attitude sensor 14 for determining the headphone's position and posture information can be installed on the headband, and a sensor array 13 can be provided on the inside of the earcups.

[0038] The sensor array can sense its contact position with the user's auricle. For example, when the sensor uses a pressure sensor, because the user's auricle has undulations, some sensors in the sensor array are in contact with the user's ear, while others are not. The sensors in the sensor array that are in contact with the user's ear will also be subjected to different degrees of pressure, so that each sensor in the sensor array outputs different pressure signals. By summarizing these pressure signals, the user's baseline ear characteristics can be obtained.

[0039] In this embodiment of the application, when a user wears headphones, the headphones can detect the user's ear through a sensor array and collect ear features. At the same time, since the user's posture when wearing headphones is not fixed, for example, the angle at which the user wears headphones may be different, and / or the position of the user wearing headphones may be different, the current position information of the headphones can also be obtained, so as to authenticate the user currently wearing the headphones by using the current position information of the headphones and the first auricular feature currently obtained by the headphones.

[0040] Positional information can include the wearing position and wearing angle of the headphones. The wearing position information can be the offset of the headphones relative to a specific feature point on the user's ear, such as the offset of the center of the earcup relative to the opening of the user's ear canal. The wearing angle information can be the deflection angle of the headphones relative to the line of gravity, or the deflection angle of the headphones relative to the user's head.

[0041] Step 102: Obtain the verification ear features that match the pose information based on the pose information.

[0042] In this embodiment, before verifying the user's identity via the earphone, the earphone owner's (target user's) baseline ear features can be pre-recorded in the earphone or other terminal devices communicating with the earphone. These baseline ear features are then used as a reference to verify the currently acquired ear features. It should be noted that in this embodiment, the baseline ear features can be one or more.

[0043] The method for acquiring the reference ear features can be the same as that for acquiring the ear features described above, i.e., acquired by a sensor array located on the earcups of the headphones. It should be noted that, in one embodiment, the ear features and reference ear features can be directly acquired by the headphones, and the headphones can subsequently verify the ear features based on the reference ear features. In another embodiment, considering the small battery capacity and limited computing power of the headphones, the ear features and reference ear features can be acquired by other terminal devices with stronger computing power (such as mobile phones, personal computers, in-vehicle computers, etc.) through the headphones, and these other terminal devices can subsequently verify the ear features based on the reference ear features, thereby improving the headphone's battery life and increasing the speed of identity authentication.

[0044] After obtaining the ear features and the headphone pose information, the pre-set benchmark ear features can be processed according to the pose information to obtain the verification ear features that match the pose information.

[0045] For example, the ear features can be first translated based on the wearing position information in the pose information, and then rotated based on the wearing angle information in the pose information to obtain a verification ear feature that matches the pose information. Alternatively, the ear features can be rotated based on the wearing angle information in the pose information, and then translated based on the wearing position information in the pose information to obtain a verification ear feature that matches the pose information.

[0046] It should be noted that, in the embodiments of this application, other methods can also be used to process the reference ear features based on the pose information. For example, a mapping function can be pre-constructed, which can take the pose information and the reference ear features as function inputs and output the verified ear features.

[0047] Since the ear feature verification is obtained by processing the preset reference ear feature based on the earphone's pose information, and the reference ear feature is the ear feature of the earphone owner, the ear feature verification can reflect the ear feature of the earphone owner that the earphone can detect when the earphone owner wears the earphone in the posture corresponding to the pose information.

[0048] Step 103: If the similarity between the ear feature and the verified ear feature is greater than or equal to a first threshold, the user is determined to have passed identity authentication.

[0049] Since the ear feature verification is generated based on the pose information corresponding to the ear feature, the ear feature verification reflects the ear feature corresponding to the headphone owner in the current wearing posture, and the ear feature reflects the ear feature corresponding to the user in the current wearing posture. Therefore, if the current headphone wearer is the headphone owner, the similarity between the ear feature verification and the ear feature verification will be relatively high, and if the current headphone wearer is not the headphone owner, the similarity between the ear feature verification and the ear feature verification will be relatively low.

[0050] After generating the verification ear feature, it can be compared with the actual ear feature to determine whether the user currently wearing the headphones can pass authentication. Specifically, the similarity between the verification ear feature and the actual ear feature can be calculated. If the similarity is greater than or equal to a first threshold, the user currently wearing the headphones is determined to have passed authentication; if the similarity is less than the first threshold, the user currently wearing the headphones is determined to have failed authentication. A higher first threshold indicates higher security. The first threshold can be flexibly adjusted by technicians according to actual needs, and this application embodiment does not limit the specific value of the first threshold.

[0051] If the user currently wearing the headphones passes the identity verification, the headphones can be used normally. If the user fails the identity verification, some or all of the headphones' functions can be restricted, or the headphones can be turned off directly. The user can also be prompted to adjust their wearing posture and re-verify their identity. If the number of failed identity verifications exceeds a preset number, the headphones can be turned off directly or their functions can be restricted.

[0052] It should be noted that in this embodiment, each earcup of the headphones can independently authenticate the user. If the left earcup of the headphones is equipped with an authentication function, the user's left ear feature is used for authentication. If the right earcup of the headphones is equipped with an authentication function, the user's right ear feature is used for authentication. If both earcups of the headphones are equipped with authentication functions, the user's left and right ears can be used for authentication simultaneously. In this case, the authentication strategy can be that the user is confirmed to be authenticated only if both the left and right ear features are authenticated, or the user is confirmed to be authenticated only if at least one of the left and right ear features is authenticated. Technicians can flexibly adjust the strategy according to actual needs.

[0053] In summary, the identity authentication method provided by this invention includes: acquiring the pose information of the earphone relative to the user's head, and the user's ear features; obtaining a verification ear feature that matches the pose information; and determining that the user has passed identity authentication if the similarity between the ear feature and the verification ear feature is greater than or equal to a first threshold. This invention can acquire the pose information of the earphone and the user's ear features after the user wears the earphone, and authenticate the user currently wearing the earphone based on the earphone pose information and the user's ear features. This not only prevents the earphone from being used by unauthorized personnel, improving the security of the earphone, but also significantly improves the convenience and efficiency of authenticating the user of the earphone.

[0054] Figure 3 This is a flowchart illustrating the steps of another authentication method provided in an embodiment of the present invention. This method is applied to an electronic device, such as... Figure 3 As shown, the method may include:

[0055] Step 201: When the earphone is in a reference pose, collect the contact point information between the earphone and the target user's ear, and determine the reference ear features based on the contact point information.

[0056] In this embodiment of the application, the target user can pre-enable the authentication function of the earphone and record their own baseline ear features. When recording the baseline ear features, the user can wear the earphone in a standard posture, so that the earphone is in a baseline posture. When the earphone is detected to be in a baseline posture, the sensor array set on the earcup collects the contact point information between the earcup of the earphone and the target user's ear, and then generates the baseline ear features based on the contact point information.

[0057] The reference posture refers to the wearing angle of the headphones conforming to the reference wearing angle, and the wearing position of the headphones conforming to the reference wearing position. The reference wearing angle can refer to the angle at which the plane of the headband of the headphones is perpendicular to the horizontal plane, and the reference wearing position can refer to the position of the headphones at the center of the earcups aligned with the opening of the ear canal. It should be noted that both the reference wearing angle and the reference wearing position can be flexibly adjusted by technicians according to actual needs, and this application embodiment does not impose specific limitations on them.

[0058] Reference Figure 4 , Figure 4 This illustration shows a schematic diagram of an earphone at a reference wearing angle according to an embodiment of this application. Figure 4 As shown, when viewed from the side, the headphone 10 rests on the head. At this time, the plane where the headband 11 is located (the dotted line in the figure represents one side of this plane) is perpendicular to the horizontal plane. Figure 4 If the plane containing the x and y axes is perpendicular to the plane containing the x and y axes, then it can be determined that... Figure 4The earphone 10 is positioned at a reference wearing angle. Alternatively, the reference wearing angle can also be the angle at which the earphone is positioned when the direction of the head (e.g., the direction the top of the head is pointing) is aligned with the plane of the headband 11.

[0059] Reference Figure 5 , Figure 5 This illustration shows a schematic diagram of an earphone in a reference wearing position according to an embodiment of this application. Figure 5 As shown, when viewed from the side, the earphone 10 positioned on the head 30 is aligned with the ear canal opening 32 of the ear 31, thus confirming that... Figure 5 The headphones are in the standard wearing position.

[0060] Reference Figure 6 , Figure 6 This application provides a schematic diagram of an earphone sensor array distribution according to an embodiment of the present application. Figure 6 As shown, a sensor array 13 is distributed on the inner side of the earcup 12 (the position where the earcup contacts the ear 31 when wearing the headphones). The sensor array 13 is composed of multiple sub-sensors 131, and each sub-sensor 131 can output a signal when it contacts the ear 31.

[0061] Reference Figure 7 , Figure 7 This illustration shows a schematic diagram of an ear feature provided in an embodiment of this application, such as... Figure 7 As shown, the sub-sensor in the sensor array that contacts the ear can output a high level ( Figure 7 (Dark squares), sub-sensors in the sensor array that are not in contact with the ear can output a low level ( Figure 7 (The white squares in the middle) After summarizing the signals from these sub-sensors and arranging them according to preset rules, we can obtain the following: Figure 7 The ear features are shown below. It should be noted that the darker the color of the dark square, the closer the user's ear is in contact with the sub-sensor corresponding to that square. Ear features can be stored in matrix form, where each element represents a sub-sensor, and the element's value is the output reading of the corresponding sub-sensor.

[0062] Step 202: When the earphone is in a non-reference position, collect the contact point information between the earphone and the target user's ear, and determine the sample ear features based on the contact point information.

[0063] Since earcups are typically flexible, and users' ears are also flexible and irregular, when the posture of the same user wearing headphones (i.e., the position and / or angle of the user wearing headphones) changes, the ear features collected by the sensor array for the same ear area may differ. Therefore, in this embodiment, a corresponding target mapping model can be generated for the target user, and the baseline ear features can be mapped through the target mapping model to obtain the verification ear features that match the user's current headphone pose information, thereby improving the accuracy of the generated verification ear features.

[0064] Specifically, after the target user inputs baseline ear features, the user can be prompted to adjust the headphone pose so that, with the headphone in at least one non-baseline pose, at least one sample ear feature corresponding to the non-baseline pose information is input. While recording each sample ear feature, the corresponding non-baseline pose information also needs to be recorded simultaneously, and a correspondence between the two needs to be established.

[0065] Reference Figure 8 , Figure 8 This illustration shows a non-reference pose diagram provided in an embodiment of this application, such as... Figure 8 As shown, the earphone, indicated by the solid line, is in the reference pose. After the earphone is in the reference pose and the reference ear features are recorded, the target user can be prompted to adjust the earphone pose. At this time, the target user can adjust the earphone pose so that the earphone is in the non-reference pose state indicated by the dashed line, and sample ear features of the target user's ear can be obtained in this non-reference pose.

[0066] It should be noted that a non-reference pose can be represented as an offset relative to the reference pose. Figure 8 Taking the reference pose and non-reference pose as examples, if the reference wearing angle of the reference pose state and the non-reference wearing angle of the non-reference pose state differ by β, and the reference wearing position of the reference pose state and the non-reference wearing position of the non-reference pose state differ by h (vertical distance) and d (horizontal distance), then the non-reference pose can be represented as (β, h, d).

[0067] The specific methods for determining the reference pose and non-reference pose can be found in the method for determining pose information in step 206. To avoid repetition, they will not be repeated here.

[0068] Step 203: Determine the target mapping model corresponding to the target user based on the reference ear features, sample ear features, and non-reference pose; wherein, the target mapping model is used to map the reference ear features according to the pose information to obtain the verification ear features corresponding to the pose information.

[0069] After obtaining the baseline ear features, sample ear features, and non-baseline poses corresponding to the sample ear features of the target user, a target mapping model corresponding to the target user can be established based on the baseline ear features, sample ear features, and non-baseline poses corresponding to the sample ear features. The target mapping model can be established through fitting or by training a neural network model.

[0070] When establishing a target mapping model through fitting, the non-reference wearing position information d in the non-reference pose can be used. x Non-reference wearing angle information β x Ear features C corresponding to non-reference poses x The mapping relationship between the baseline ear feature N and the reference ear feature N is described by the mapping function f, resulting in multiple sets of data C1=f( d 1 ,β 1 ,N ), C2=f( d 2 ,β 2 , N ),……,C i =f( d i ,β i ,,N Then, fit multiple sets of data and solve for the mapping function f, and use the solved mapping function f as the target mapping function.

[0071] When obtaining a target mapping model by training a neural network model, an initial neural network model can be constructed first. The reference ear features and the non-reference poses corresponding to the sample ear features are used as training sample data and input into the initial neural network model. The initial neural network model outputs predicted ear features. Then, the loss function is calculated based on the predicted ear features and the sample ear features. The initial neural network model is adjusted based on the loss function to complete the training of the initial neural network model and obtain the target mapping model.

[0072] It should be noted that due to the computing power limitations of headphones, training or generating target mapping models on headphones may not be effective. Therefore, in this embodiment, the headphones can also send the baseline ear features, sample ear features, and non-baseline poses corresponding to the sample ear features to other devices, and generate target mapping models on other devices to improve the model generation efficiency and training effect.

[0073] In this embodiment, the target user can enable the authentication function of the headset and record the baseline ear features and non-baseline ear features. The target user's target mapping model is established through the baseline ear features and non-baseline ear features, so that different target users correspond to personalized target mapping models, thereby improving the adaptability of the target mapping model to the target user.

[0074] Step 204: Determine the ear cup spacing of the headphones; wherein, the ear cup spacing represents the distance between the first ear cup and the second ear cup of the headphones.

[0075] Before identity verification, the baseline ear cup spacing when the target user is wearing headphones can be obtained. During the identity verification stage, the ear cup spacing when the user is wearing headphones can be obtained to verify the ear cup spacing using the baseline ear cup spacing.

[0076] Specifically, when acquiring the baseline ear features and non-baseline ear features of the target user, multiple sets of earmuff spacing data can also be collected simultaneously. The average value of these earmuff spacing data can be used to obtain the baseline earmuff spacing of the target user.

[0077] Optionally, step 204 may also include:

[0078] Sub-step 2041: Obtain the headband length information and the headband stress information of the headphones.

[0079] The headband of the headphones can be composed of at least two sliding arms, which can slide relative to each other to adjust the length of the headband. In this embodiment, a detection mechanism can be provided on the sliding arms to determine the relative position between adjacent sliding arms, thereby determining the overall length of the headband. Specifically, a light reflection detection mechanism, a resistance detection mechanism, etc., can be used to determine the length of the headband; this embodiment does not specifically limit the method used.

[0080] Reference Figure 9 , Figure 9 A schematic diagram of a light reflection detection mechanism provided in an embodiment of this application is shown, such as... Figure 9As shown, the headband includes a first sliding arm 40 and a second sliding arm 50. A wedge-shaped cavity structure 41 is disposed within the first sliding arm 40, and a laser sensor 51 is disposed within the second sliding arm. The laser sensor includes a laser emitter 511 and a laser receiver 512. The laser emitter 511 emits a laser beam toward the wedge-shaped cavity structure 41. Because the back side of the wedge-shaped cavity structure 41 away from the laser emitter 511 is covered with a laser reflective film, the laser beam, after entering the wedge-shaped cavity structure 41, is reflected back at the back side of the wedge-shaped cavity structure 41 and then received by the laser receiver. Because the laser beam has different thicknesses at different positions of the wedge-shaped cavity structure 41, the time it takes for the laser beam to be reflected to the laser receiver 512 at different positions of the wedge-shaped cavity structure 41 is different. Therefore, by the difference between the emission time of the laser beam emitted by the laser emitter 511 and the time of reception of the laser beam by the laser receiver 512, the distance between the laser sensor 51 and the back of the wedge-shaped cavity structure 41 can be determined. Thus, based on the correspondence between this distance and the sliding distance of the sliding arm, the relative sliding distance between the first sliding arm 40 and the second sliding arm 50 can be determined, that is, the extension distance of the head beam.

[0081] Reference Figure 10 , Figure 10 A schematic diagram of another light reflection detection mechanism provided in an embodiment of this application is shown, such as... Figure 10 As shown, the first sliding arm 40 and the second sliding arm 50 slide a relatively long distance relative to each other in opposite directions. The laser beam emitted by the laser emitter 511 enters through the thinner part on the left side of the wedge-shaped cavity structure 41 and is reflected. At this time, the reflection path of the laser beam is short, and the time difference between the emission time of the laser beam emitted by the laser emitter 511 and the time difference between the laser beam received by the laser receiver 512 is small, thus allowing the calculation of a smaller gap d2. Figure 9 As shown, the first sliding arm 40 and the second sliding arm 50 do not slide relative to each other. The laser beam emitted by the laser emitter 511 enters from the thicker part on the right side of the wedge-shaped cavity structure 41 and is reflected. At this time, the reflection path of the laser beam is relatively long, and the time difference between the emission time of the laser beam emitted by the laser emitter 511 and the time difference between the laser receiving time of the laser beam received by the laser receiver 512 is relatively large. Therefore, a larger gap d1 can be calculated. By querying the correspondence between the gap and the sliding distance, it can be determined that when the gap is d1, the relative sliding distance between the first sliding arm 40 and the second sliding arm 50 is 0, and when the gap is d2, the relative sliding distance between the first sliding arm 40 and the second sliding arm 50 is L2.

[0082] After determining the sliding distance between all adjacent first and second sliding arms, the sliding distances can be added together to obtain the extended length of the headband. Then, this extended length can be added to the initial length of the headband to obtain the headband length information of the headphones.

[0083] Since the headband is generally made of elastic material, it can be adjusted in length and undergo elastic deformation. Therefore, in order to determine the earcup spacing of the headphones, it is also necessary to determine the degree of deformation of the headband, and then determine the earcup spacing at both ends of the headband based on the degree of deformation and the headband length information.

[0084] Specifically, when the headband undergoes elastic deformation, stress is generated inside the headband. Stress sensors can be installed inside the headband to detect this stress. For example... Figure 2 As shown, multiple stress sensors 15 can be set at different positions of the head beam, and the stress at different positions of the head beam 11 can be determined based on the readings of the multiple stress sensors 15. Then, the stress at different positions of the head beam 11 is averaged to obtain the head beam stress information.

[0085] Sub-step 2042: Determine the earcup spacing of the headphones based on the headband length information and the headband stress information; wherein, the earcup spacing represents the distance between the first earcup and the second earcup of the headphones.

[0086] In this embodiment of the application, during the headphone development stage, the earcup spacing corresponding to multiple sets of headband length information and headband stress information can be measured, and the correspondence between the headband length information, headband stress information and earcup spacing can be established. This correspondence can be built into the memory. After obtaining the current headband length information and the current headband stress information, the corresponding earcup spacing can be obtained by querying the correspondence.

[0087] Step 205: If the difference between the earmuff spacing and the reference earmuff spacing is greater than or equal to the target threshold, it is determined that the user has failed identity authentication.

[0088] Reference Figure 11 , Figure 11 This application provides a schematic diagram of an earcup spacing according to an embodiment of the present application. Figure 11 As shown, distance D represents the reference earcup spacing, and distance E represents the earcup spacing. If the reference earcup spacing D is 20cm and the earcup spacing E is 22cm, then the difference between the reference earcup spacing D and the earcup spacing E is 2cm. If the target threshold is 1cm, then the difference between the reference earcup spacing D and the earcup spacing E is greater than the target threshold, and it can be directly determined that the user's identity authentication has failed. If the reference earcup spacing D is 20cm and the earcup spacing E is 20.5cm, then the difference between the reference earcup spacing D and the earcup spacing E is 0.5cm. If the target threshold is 1cm, then the difference between the reference earcup spacing D and the earcup spacing E is less than the target threshold, and it is possible to continue to obtain the positional information of the earphones worn by the user relative to the user's head, as well as the ear features collected by the earphones, and then proceed with the subsequent identity authentication steps.

[0089] In this embodiment, since the earcup spacing of the headphones can reflect the size of the wearer's head, the user's identity can be pre-verified through the earcup spacing. If the earcup spacing differs significantly from the target user's baseline earcup spacing, it indicates that the user's head size is different from the target user's head size, and it can be directly determined that the user is not the target user. There is no need to perform subsequent more precise authentication steps, which can greatly improve authentication efficiency and reduce the resource consumption of the authentication process.

[0090] Step 206: Obtain the pose information of the earphone relative to the user's head, as well as the ear features of the user.

[0091] Optionally, step 206 may also include:

[0092] Sub-step 2061: Determine the wearing position information based on the positional offset between the first feature point of the earphone and the second feature point of the user's ear.

[0093] In this embodiment, a first feature point (e.g., the center of the earcup, the connection point between the earcup and the headband, etc.) can be set on the headphones. When the user wears the headphones, the positional offset between the first feature point and a second feature point on the user's ear (e.g., the ear canal opening, earlobe, tragus, etc.) is detected. The wearing position information is then determined based on this positional offset. The positional offset represents the offset of the projections of the first and second feature points on a two-dimensional plane. The wearing position information can be represented by a vector or by two-dimensional coordinate points. For example, if the horizontal distance between the first and second feature points on the plane is 3 and the vertical distance is 5, the second feature point can be set as the origin of the coordinate system. Then, the position of the first feature point in the coordinate system is the wearing position information, which can be represented as (3,5).

[0094] Reference Figure 12 , Figure 12 This application provides a schematic diagram of a wearing position according to an embodiment of the present application. Figure 12 As shown, when the first feature point is the center position 16 of the earcup 12 and the second feature point is the ear canal opening position 32, if the center position 16 of the earcup overlaps with the ear canal opening position 32, then the positional offset between the first feature point and the second feature point of the user's ear 31 is 0. It should be noted that, in this embodiment, the position of the earphone when the center position of the earcup is aligned with the ear canal opening can be used as the reference wearing position.

[0095] Reference Figure 13 , Figure 13 This illustration shows another wearing position diagram provided by an embodiment of this application, such as... Figure 13As shown, with the first feature point at the center position 16 of the earmuff and the second feature point at the ear canal opening position 32, if the center position 16 of the earmuff and the ear canal opening position 32 do not overlap and the distance between them is r, then the positional offset between the first feature point and the second feature point on the user's ear can be expressed as follows: .

[0096] Reference Figure 14 , Figure 14 This application provides a schematic diagram of a cross-sectional view of the center line of an earmuff, as shown in the embodiment. Figure 14 As shown, the earcups 12 are connected to the headband 11. An inner cavity structure 122 is provided on the inner side of the earcups 12. A light tracking sensor 123 is disposed on the bottom surface of the inner cavity structure 122. The light tracking sensor 123 consists of a light source and a photosensitive pixel array. When the light tracking sensor 123 is working, it can emit light (e.g., infrared light, visible light, etc.) from a first light source and receive the reflected light from the first light source through the photosensitive pixel array. By analyzing the distribution and intensity of the reflected light, the shape of objects within the sensing range of the light tracking sensor can be determined. When the user wears the headphones, because the earcups 12 fit snugly against the user's ear 31, the ear canal opening 32 is within the detection range of the light tracking sensor 123. Therefore, the light tracking sensor 123 can detect the positional offset between the earcups 12 and the ear canal opening 32. In addition, a second light source 124 can be provided on the side wall of the inner cavity structure 122. The first light source can work alternately with the second light source 124. Under the illumination of the light sources at two different angles, the light tracking sensor can obtain two position offsets and average the two position offsets to obtain a more accurate position offset. The first light source can also work simultaneously with the second light source 124 to provide more sufficient light and improve the detection accuracy of the light tracking sensor 123.

[0097] Sub-step 2062: Determine the wearing angle information based on the first posture information of the earphone and the second posture information of the user's head.

[0098] In this embodiment, the first attitude information of the headphones in space can be obtained by an attitude sensor (such as a gravity sensor, accelerometer, or electronic compass) mounted on the headphones. This first attitude information can be represented by the direction of the headband plane in a spatial coordinate system, or by the direction of other features of the headphones; this embodiment does not impose specific limitations. The attitude sensor can be positioned at the center of the headband to obtain more accurate first attitude information.

[0099] After obtaining the first posture information, it can be directly determined as the wearing angle information. In addition, considering that it is difficult for users to ensure that their heads are at the same angle every time they wear headphones, in order to more accurately determine the wearing angle information of headphones, the second posture information of the user's head can also be obtained at the same time as obtaining the first posture information, and the wearing angle information can be determined based on the difference between the first posture information and the second posture information.

[0100] In this embodiment, the direction of the headphone headband plane can be used as the first posture information of the headphones, and the orientation of the top of the user's head can be used as the second posture information. The wearing angle is the angle difference between the direction of the headphone headband plane and the orientation of the top of the user's head.

[0101] Specifically, the posture information of a wearable device worn at a fixed position on the user's head can be obtained to determine the second posture information of the user's head.

[0102] In this embodiment, the wearing position information can be described by the positional offset between the first feature point of the earphone and the second feature point of the user's ear, and the wearing angle information can be described by the first posture information of the earphone and the second posture information of the user's head. By using the wearing position information and the wearing angle information together to describe the posture information of the earphone, the detection accuracy of the earphone posture information is improved.

[0103] Sub-step 2063: Collect contact point information between the earphone and the user's ear using the sensor array on the earphone, and determine ear features based on the contact point information.

[0104] When a user needs to authenticate their identity by wearing headphones, the sensor array located on the earcups can collect information about the contact points between the sensor array and the user's ear, and determine the ear characteristics based on the contact point information, since the user's ear is in contact with the earcups.

[0105] For specific methods of acquiring ear features, please refer to step 201. This application will not repeat the details in the embodiments.

[0106] Step 207: Input the pose information and the preset reference ear features into the target mapping model to obtain the verified ear features output by the target mapping model; wherein, the target mapping model is used to map the ear features according to the pose information.

[0107] After obtaining the pose information of the earphones worn by the user relative to the user's head, as well as the user's ear features, the pose information and the target user's reference ear features can be input into the target mapping model constructed in step 203. The target mapping model can then perform a mapping transformation on the target user's reference ear features based on the pose information to obtain a verification ear feature that matches the pose information.

[0108] For example, the pose information may include the wearing position information (3,5) and the wearing angle information 45°. If the target user's baseline ear feature is N, then the wearing position information (3,5), the wearing angle information 45°, and the target user's baseline ear feature N can be input into the target mapping model to obtain the verification ear feature N' output by the target mapping model.

[0109] In this embodiment, the baseline ear features can be mapped according to a customized target mapping model to obtain the verification ear features used for identity verification, thereby improving the matching degree between the verification ear features and the target user and thus improving the accuracy of identity verification.

[0110] Step 208: If the similarity between the ear feature and the verified ear feature is greater than or equal to a first threshold, the user is determined to have passed identity authentication.

[0111] This step can be found in step 103, and will not be repeated in this embodiment.

[0112] Step 209: If the similarity between the ear feature and the verified ear feature is greater than or equal to a second threshold, the target mapping model is corrected using the ear feature and the pose information; wherein the second threshold is greater than or equal to the first threshold.

[0113] If the user's identity is successfully verified, it means that the user is the target user. At this time, the pose information and ear features obtained during the identity verification can be used as a new set of sample data to optimize and correct the target mapping model corresponding to the target user.

[0114] Specifically, if the target mapping model is obtained through fitting, it can be fitted again using the new sample data and historical sample data, and the target mapping model can be updated. If the target mapping model is obtained through training, it can be trained again using the new sample data to optimize the target mapping model. It should be noted that the size of the second threshold can be equal to or greater than the first threshold.

[0115] In this embodiment, the target mapping model can be continuously optimized as the user continues to use the headphones, enabling the target mapping model to adapt to changes in the target user's body. In subsequent use, the accuracy of identity verification will gradually improve over time.

[0116] Step 210: If the posture information meets the first preset condition, remind the user to adjust the posture of the headphones, and / or, if the posture information meets the second preset condition, control the headphones to enter the target working mode.

[0117] Generally, if the pose information differs significantly from the baseline pose information used to acquire the baseline ear features, the accuracy of the verification ear features obtained after processing the preset baseline ear features based on the pose information will be low. Therefore, to avoid obtaining verification ear features with poor accuracy, the pose information can be restricted by a first preset condition. If the pose information does not meet the first preset condition, the user is prompted to adjust the wearing posture of the headphones and re-authenticate. The first preset condition may be that the difference between the wearing angle in the pose information and the baseline wearing angle in the baseline pose information is greater than a third threshold, and / or that the difference between the wearing position information in the pose information and the baseline wearing position in the baseline pose information is greater than a fourth threshold.

[0118] In addition, after identity authentication is successful, the device can continuously acquire the latest posture information. If the latest acquired posture information is detected to meet the first preset condition, the device can also remind the user to adjust the posture of the headphones through vibration or sound to achieve a better listening effect.

[0119] Furthermore, headphones can also include multiple working modes, such as silent mode, transparency mode, and noise cancellation mode. Generally speaking, users expect headphones to work in different modes depending on how they are worn. If a user is wearing headphones normally, they want to focus on the music playing, so they can turn on the noise cancellation mode for a better listening experience. If a user is not wearing headphones normally, they may want to hear ambient sounds clearly, so they can control the headphones to enter silent mode and / or transparency mode.

[0120] Therefore, a second preset condition can also be set. After successful authentication, the headset's posture information is continuously acquired, and when the posture information meets the second preset condition, the headset is controlled to enter the target working mode. This improves the convenience of using the headset and avoids the need for users to frequently manually adjust the headset's functions. The second preset condition can include multiple second preset sub-conditions corresponding to different target working modes. When the headset's posture information meets a certain second preset sub-condition, the headset enters the target working mode corresponding to that second preset sub-condition.

[0121] For example, one second preset sub-condition could be that the current headphone wearing angle is greater than -30° and less than 30°, and the target operating mode corresponding to this preset condition could be noise cancellation mode. Another second preset sub-condition could be that the current headphone wearing angle is less than -30° or greater than 30°, and the target operating mode corresponding to this preset condition could be transparency mode.

[0122] In this embodiment, the working mode of the headphones can be actively adjusted according to the position information of the headphones, eliminating the need for users to manually set the working mode, simplifying user operation and improving the convenience of using headphones.

[0123] In summary, another authentication method provided by this invention includes: acquiring the pose information of the earphone relative to the user's head, and the user's ear features; obtaining a verification ear feature that matches the pose information; and determining that the user has passed authentication if the similarity between the ear feature and the verification ear feature is greater than or equal to a first threshold. This invention can acquire the pose information of the earphone and the user's ear features after the user wears the earphone, and authenticate the user currently wearing the earphone based on the earphone pose information and the user's ear features. This not only prevents the earphone from being used by unauthorized personnel, improving earphone security, but also significantly improves the convenience and efficiency of authenticating earphone users.

[0124] Figure 15 This is a block diagram of an identity authentication device provided in an embodiment of the present invention, such as... Figure 15 As shown, the identity authentication device includes:

[0125] The acquisition module 301 is used to acquire the pose information of the earphone relative to the user's head, as well as the ear features of the user;

[0126] The verification feature module 302 is used to obtain verification ear features that match the pose information based on the pose information.

[0127] The authentication module 303 is used to determine that the user has passed identity authentication when the similarity between the ear feature and the verified ear feature is greater than or equal to a first threshold.

[0128] Optionally, the verification feature module includes:

[0129] The verification feature submodule is used to input the pose information and the preset reference ear features into the target mapping model to obtain the verification ear features output by the target mapping model; wherein, the target mapping model is used to map the ear features according to the pose information.

[0130] Optionally, the posture information includes wearing position information and wearing angle information, and the acquisition module includes:

[0131] The position submodule is used to determine the wearing position information based on the positional offset between the first feature point of the earphone and the second feature point of the user's ear;

[0132] An angle submodule is used to determine the wearing angle information based on the first posture information of the headphones and the second posture information of the user's head.

[0133] Optionally, the device further includes:

[0134] The reference feature module is used to collect contact point information between the earphone and the target user's ear when the earphone is in a reference pose, and to determine the reference ear feature based on the contact point information.

[0135] The sample feature module is used to collect contact point information between the earphone and the target user's ear when the earphone is in a non-reference position, and to determine the sample ear features based on the contact point information.

[0136] The mapping model module is used to determine the target mapping model corresponding to the target user based on the reference ear features, sample ear features, and the non-reference pose; wherein, the target mapping model is used to map the reference ear features based on the pose information to obtain the verification ear features corresponding to the pose information.

[0137] Optionally, the device further includes:

[0138] The correction module is used to correct the target mapping model using the ear features and the pose information when the similarity between the ear features and the verified ear features is greater than or equal to a second threshold; wherein the second threshold is greater than or equal to the first threshold.

[0139] Optionally, the device further includes:

[0140] A spacing module is used to determine the earcup spacing of the headphones; wherein, the earcup spacing represents the distance between the first earcup and the second earcup of the headphones;

[0141] The pre-authentication module is used to determine that the user fails authentication if the difference between the earmuff spacing and the reference earmuff spacing is greater than or equal to a target threshold.

[0142] Optionally, the spacing module includes:

[0143] The stress acquisition submodule is used to acquire the headband length information and the headband stress information of the headphones.

[0144] The spacing submodule is used to determine the earcup spacing of the headphones based on the headband length information and the headband stress information.

[0145] Optionally, the device further includes:

[0146] The control module is used to remind the user to adjust the posture of the headphones when the posture information meets a first preset condition, and / or to control the headphones to enter a target working mode when the posture information meets a second preset condition.

[0147] In summary, the apparatus provided by this invention includes: an acquisition module for acquiring the pose information of the earphone relative to a user's head and the user's ear features; a verification feature module for obtaining verification ear features matching the pose information; and an authentication module for determining that the user has passed identity authentication if the similarity between the ear features and the verification ear features is greater than or equal to a first threshold. This invention can acquire the pose information of the earphone and the user's ear features after the user wears the earphone, and authenticate the user currently wearing the earphone based on the earphone pose information and the user's ear features. This not only prevents the earphone from being used by unauthorized personnel, improving earphone security, but also significantly improves the convenience and efficiency of authenticating the user of the earphone.

[0148] This application embodiment also provides an earphone, which may include a processor, wherein the processor is configured to perform the following process:

[0149] The system acquires the headphone's pose information relative to the user's head, as well as the user's ear features; it obtains a verification ear feature that matches the pose information; and if the similarity between the ear feature and the verification ear feature is greater than or equal to a first threshold, it determines that the user has passed identity authentication.

[0150] In this embodiment of the invention, the positional information of the earphone relative to the user's head and the user's ear features are obtained; a verification ear feature matching the positional information is obtained; if the similarity between the ear feature and the verification ear feature is greater than or equal to a first threshold, the user is determined to have passed identity authentication. This invention can obtain the positional information of the earphone and the user's ear features after the user wears the earphone, and verify the identity of the user currently wearing the earphone based on the earphone's positional information and the user's ear features. This not only prevents the earphone from being used by unauthorized personnel, improving the security of the earphone, but also significantly improves the convenience and efficiency of authenticating the user of the earphone.

[0151] This application also provides an electronic device, as described in the embodiments. Figure 16 , Figure 16A schematic diagram of the hardware structure of an electronic device provided by the present invention is shown.

[0152] The electronic device 500 includes, but is not limited to, components such as: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 513. Those skilled in the art will understand that... Figure 16 The electronic device structures shown are not intended to limit the electronic device. An electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. In embodiments of the present invention, the electronic device includes, but is not limited to, mobile phones, tablet computers, laptops, PDAs, in-vehicle terminals, wearable devices, and pedometers.

[0153] Processor 510 is used to perform the following procedures:

[0154] The system acquires the headphone's pose information relative to the user's head, as well as the user's ear features; it obtains a verification ear feature that matches the pose information; and if the similarity between the ear feature and the verification ear feature is greater than or equal to a first threshold, it determines that the user has passed identity authentication.

[0155] In this embodiment of the invention, the positional information of the earphone relative to the user's head and the user's ear features are obtained; a verification ear feature matching the positional information is obtained; if the similarity between the ear feature and the verification ear feature is greater than or equal to a first threshold, the user is determined to have passed identity authentication. This invention can obtain the positional information of the earphone and the user's ear features after the user wears the earphone, and verify the identity of the user currently wearing the earphone based on the earphone's positional information and the user's ear features. This not only prevents the earphone from being used by unauthorized personnel, improving the security of the earphone, but also significantly improves the convenience and efficiency of authenticating the user of the earphone.

[0156] It should be understood that, in this embodiment of the invention, the radio frequency unit 501 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink data from the base station and processes it with the processor 510; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Furthermore, the radio frequency unit 501 can also communicate with networks and other devices through a wireless communication system.

[0157] The electronic device provides users with wireless broadband internet access through the network module 502, such as helping users send and receive emails, browse web pages, and access streaming media.

[0158] The audio output unit 503 can convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into audio signals and output them as sound. Furthermore, the audio output unit 503 can also provide audio output related to specific functions performed by the electronic device 500 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, and a receiver, etc.

[0159] Input unit 504 is used to receive audio or video signals. Input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The GPU 5041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on display unit 506. The image frames processed by GPU 5041 can be stored in memory 509 (or other storage media) or transmitted via radio frequency unit 501 or network module 502. Microphone 5042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via radio frequency unit 501 in telephone call mode.

[0160] The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 5061 according to the ambient light level, and the proximity sensor can turn off the display panel 5061 and / or backlight when the electronic device 500 is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used to identify the posture of the electronic device (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. The sensor 505 may also include a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described in detail here.

[0161] The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0162] User input unit 507 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of electronic devices. Specifically, user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 5071). Touch panel 5071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 510, which receives and executes commands from the processor 510. In addition, touch panel 5071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. Besides touch panel 5071, user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.

[0163] Furthermore, the touch panel 5071 can cover the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits the information to the processor 510 to determine the type of touch event. Subsequently, the processor 510 provides corresponding visual output on the display panel 5061 based on the type of touch event. Although in Figure 16 In this embodiment, the touch panel 5071 and the display panel 5061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated to realize the input and output functions of the electronic device. The specific implementation is not limited here.

[0164] Interface unit 508 serves as an interface for connecting external devices to electronic device 500. For example, external devices may include a wired or wireless headphone port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 508 can be used to receive input from external devices (e.g., data, power, etc.) and transmit the received input to one or more components within electronic device 500, or it can be used to transmit data between electronic device 500 and external devices.

[0165] The memory 509 can be used to store software programs and various data. The memory 509 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0166] The processor 510 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 509, and by calling data stored in the memory 509, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 510.

[0167] The electronic device 500 may also include a power supply 513 (such as a battery) that supplies power to various components. Preferably, the power supply 513 can be logically connected to the processor 510 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system.

[0168] In addition, the electronic device 500 includes some functional modules not shown, which will not be described in detail here.

[0169] Preferably, the present invention also provides a mobile terminal, including a processor 510, a memory 509, and a computer program stored in the memory 509 and executable on the processor 510. When the computer program is executed by the processor 510, it implements the various processes of the above-described identity authentication method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0170] This invention also provides a computer-readable storage medium storing a computer program. When executed by a processor, this computer program implements the various processes of the above-described identity authentication method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0171] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0172] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they 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 invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0173] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.

Claims

1. An identity authentication method, characterized in that, The method includes: The device acquires the pose information of the headphones relative to the user's head, as well as the user's ear features; wherein the headphones consist of earcups and a headband connected to the earcups, the earcups include a sensor array for acquiring the user's ear features, and the headband includes a posture sensor for determining the pose information, the pose information including the wearing position information and wearing angle information of the headphones; Based on the pose information, a verification ear feature matching the pose information is obtained; If the similarity between the ear feature and the verified ear feature is greater than or equal to a first threshold, the user is determined to have passed identity authentication. The step of obtaining the verification ear feature matching the pose information based on the pose information includes: The pose information and the preset reference ear features are input into the target mapping model to obtain the verified ear features output by the target mapping model; wherein, the target mapping model is used to map the ear features according to the pose information.

2. The method according to claim 1, characterized in that, The acquisition of the headphone's pose information relative to the user's head includes: The wearing position information is determined based on the positional offset between the first feature point of the earphone and the second feature point of the user's ear; wherein, the first feature point includes at least one of the center position point of the earmuff and the connection point between the earmuff and the headband, and the second feature point includes at least one of the ear canal opening position point, the earlobe position point and the tragus position point; The wearing angle information is determined based on the first posture information of the headphones and the second posture information of the user's head.

3. The method according to claim 1, characterized in that, The method further includes: With the earphone in a reference position, the contact point information between the earphone and the target user's ear is collected, and the reference ear features are determined based on the contact point information. When the earphone is in a non-reference position, the contact point information between the earphone and the target user's ear is collected, and the ear features of the sample are determined based on the contact point information. The target mapping model corresponding to the target user is determined based on the reference ear features, the sample ear features, and the non-reference pose; wherein, the target mapping model is used to map the reference ear features according to the pose information to obtain the verification ear features corresponding to the pose information.

4. The method according to claim 1, characterized in that, The method further includes: If the similarity between the ear feature and the verified ear feature is greater than or equal to a second threshold, the target mapping model is corrected using the ear feature and the pose information; wherein the second threshold is greater than or equal to the first threshold.

5. The method according to claim 1, characterized in that, The method further includes: Determine the earcup spacing of the headphones; wherein, the earcup spacing represents the distance between the first earcup and the second earcup of the headphones; If the difference between the earmuff spacing and the reference earmuff spacing is greater than or equal to the target threshold, it is determined that the user has failed authentication.

6. The method according to claim 5, characterized in that, Determining the earcup spacing of the headphones includes: Obtain the headband length information and headband stress information of the headphones; The earcup spacing of the headphones is determined based on the headband length information and the headband stress information.

7. The method according to claim 1, characterized in that, The method further includes: If the posture information meets the first preset condition, the user is prompted to adjust the posture of the headphones. And / or, if the posture information meets the second preset condition, control the headphones to enter the target working mode; wherein, the first preset condition includes the difference between the wearing angle information in the posture information and the reference wearing angle being greater than a third threshold, and / or the difference between the wearing position information in the posture information and the reference wearing position being greater than a fourth threshold, the second preset condition includes the wearing angle information in the posture information being in a first preset range, and / or the wearing position information in the posture information being in a second preset range.

8. An identity authentication device, characterized in that, The device includes: An acquisition module is used to acquire the position and pose information of the headphones relative to the user's head, as well as the user's ear features; wherein, the headphones consist of earcups and a headband connected to the earcups, the earcups include a sensor array for acquiring the user's ear features, and the headband includes a posture sensor for determining the position and pose information, the position and pose information including the wearing position information and wearing angle information of the headphones; The verification feature module is used to obtain verification ear features that match the pose information based on the pose information. The authentication module is used to determine that the user has passed identity authentication if the similarity between the ear feature and the verified ear feature is greater than or equal to a first threshold. The verification feature module includes: The verification feature submodule is used to input the pose information and the preset reference ear features into the target mapping model to obtain the verification ear features output by the target mapping model; wherein, the target mapping model is used to map the ear features according to the pose information.

9. The apparatus according to claim 8, characterized in that, The acquisition module includes: The position submodule is used to determine the wearing position information based on the positional offset between a first feature point of the earphone and a second feature point of the user's ear; wherein, the first feature point includes at least one of the center position point of the earcup and the connection point between the earcup and the headband, and the second feature point includes at least one of the ear canal opening position point, the earlobe position point, and the tragus position point; An angle submodule is used to determine the wearing angle information based on the first posture information of the headphones and the second posture information of the user's head.

10. The apparatus according to claim 8, characterized in that, The device further includes: The reference feature module is used to collect contact point information between the earphone and the target user's ear when the earphone is in a reference pose, and to determine the reference ear feature based on the contact point information. The sample feature module is used to collect contact point information between the earphone and the target user's ear when the earphone is in a non-reference position, and to determine the sample ear features based on the contact point information. The mapping model module is used to determine the target mapping model corresponding to the target user based on the reference ear features, sample ear features, and the non-reference pose; wherein, the target mapping model is used to map the reference ear features based on the pose information to obtain the verification ear features corresponding to the pose information.

11. The apparatus according to claim 8, characterized in that, The device further includes: The correction module is used to correct the target mapping model using the ear features and the pose information when the similarity between the ear features and the verified ear features is greater than or equal to a second threshold; wherein the second threshold is greater than or equal to the first threshold.

12. The apparatus according to claim 8, characterized in that, The device further includes: A spacing module is used to determine the earcup spacing of the headphones; wherein, the earcup spacing represents the distance between the first earcup and the second earcup of the headphones; The pre-authentication module is used to determine that the user fails authentication if the difference between the earmuff spacing and the reference earmuff spacing is greater than or equal to a target threshold.

13. The apparatus according to claim 12, characterized in that, The spacing module includes: The stress acquisition submodule is used to acquire the headband length information and the headband stress information of the headphones. The spacing submodule is used to determine the earcup spacing of the headphones based on the headband length information and the headband stress information.

14. The apparatus according to claim 8, characterized in that, The device further includes: The control module is configured to remind the user to adjust the posture of the headphones when the posture information meets a first preset condition, and / or control the headphones to enter a target working mode when the posture information meets a second preset condition; wherein the first preset condition includes the difference between the wearing angle information in the posture information and the reference wearing angle being greater than a third threshold, and / or the difference between the wearing position information in the posture information and the reference wearing position being greater than a fourth threshold, and the second preset condition includes the wearing angle information in the posture information being within a first preset range, and / or the wearing position information in the posture information being within a second preset range.

15. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the steps of the authentication method as described in any one of claims 1 to 7.

16. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the authentication method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Volume adjusting method and device and computer readable storage medium

    CN110418232A

  • Identity authentication method and device for earphone holder

    CN113360873A