Test method, device, electronic device, and storage medium
By adjusting the size data of the sound leakage channel on the tooling mold, and simulating human ears of different shapes, the problem of time-consuming and labor-intensive data acquisition of real ear canals in the testing of semi-open headphone was solved, and efficient audio testing was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2026-06-30
Smart Images

Figure CN122317519A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of audio processing technology, and in particular to a testing method, apparatus, electronic device, and storage medium. Background Technology
[0002] With the continuous development of True Wireless Stereo (TWS) earbuds, their form factors are becoming increasingly diverse. Among them, semi-open earbuds are gaining popularity due to their lightweight and comfortable fit. However, due to their structural design, low-frequency sounds can easily leak out of the ear canal when users wear them normally. In related technologies, conducting adaptive music listening tests, adaptive active noise cancellation (ANC) performance tests, or other audio tests on semi-in-ear earbuds requires collecting a large amount of real human ear canal data. This process is complex, tedious, time-consuming, and labor-intensive, resulting in low testing efficiency. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a testing method, apparatus, electronic device, and storage medium.
[0004] According to a first aspect of the present disclosure, a testing method is provided, the method comprising:
[0005] Obtain the target mapping relationship associated with the earphone under test. The target mapping relationship represents the mapping relationship between ear shape and target data. The target data represents the size data of the sound leakage channel on the tooling mold associated with the earphone under test. The tooling mold is used to simulate the human ear wearing the earphone under test. The sound leakage channel allows the test audio played by the earphone under test to pass through, so as to simulate the process of the volume of the audio data leaking out of the ear canal when the earphone under test plays the test audio.
[0006] Based on the target mapping relationship, the size data of the sound leakage channel on the tooling mold is adjusted so that the earphone under test can be tested when the tooling mold simulates human ears of different ear shapes.
[0007] In an exemplary embodiment, obtaining the target mapping relationship associated with the earphone to be tested includes:
[0008] Determine the reference mapping relationship associated with the reference earphone, wherein the reference mapping relationship represents the mapping relationship between ear shape and reference data, and the reference data represents the size data of the sound leakage channel on the tooling mold associated with the reference earphone;
[0009] Based on the reference mapping relationship and the audio coefficients of the headphone under test, the target mapping relationship associated with the headphone under test is determined.
[0010] In an exemplary embodiment, determining the reference mapping relationship associated with the reference headphones includes:
[0011] Multiple reference audio leakage values are obtained, including the volume of audio data leaked out of the ear canal when users with different ear shapes wear reference headphones and the reference headphones play reference audio.
[0012] A first audio output level is determined, wherein the first audio output level is the volume of the audio data output when the reference headphones play the reference audio;
[0013] Based on the reference audio leakage and the first audio output, determine the reference data associated with each reference audio leakage;
[0014] The reference mapping relationship is determined based on the correlation between the reference audio leakage and the reference data.
[0015] In one exemplary embodiment, obtaining multiple reference audio leakage amounts includes:
[0016] When a user with each ear shape wears the reference earphone and the reference earphone plays the reference audio, first reference audio data and second reference audio data associated with each ear shape are acquired. The first reference audio data is acquired by a first audio acquisition device located inside the ear canal, and the second reference audio data is acquired by a second audio acquisition device located outside the ear canal.
[0017] The difference between the second reference audio data and the first reference audio data associated with each ear type is determined to obtain the leakage amount of the plurality of reference audios.
[0018] In an exemplary embodiment, the first audio acquisition device is located at a first position inside the ear canal, and the second audio acquisition device is located at a second position outside the ear canal or a third position outside the ear canal. The first position represents the position of the eardrum, the second position represents the position of the speaker of the reference earphone, and the third position represents a position outside the ear that is spaced at a predetermined distance from the first end of the ear canal. The first end of the ear canal is the end of the ear canal that is away from the eardrum.
[0019] In one exemplary embodiment, determining the reference data associated with each of the reference audio leaks based on the reference audio leak and the first audio output includes:
[0020] The multiple reference audio leakage values are divided into multiple leakage value levels, and the audio leakage values of different leakage value levels are different;
[0021] Determine the reference data threshold value associated with the critical point of each of the aforementioned leakage levels;
[0022] Based on the reference data threshold, reference data associated with each of the leakage levels is determined.
[0023] In one exemplary embodiment, determining the reference data associated with each of the reference audio leaks based on the reference audio leak and the first audio output includes:
[0024] For each of the reference audio leakage values, a preset ratio is determined based on the difference between the first audio output value and the reference audio leakage value, wherein the difference is logarithmically related to the preset ratio.
[0025] Based on the product of the preset ratio and the size data of the simulated ear canal in the tooling mold, the size data of the sound leakage channel on the tooling mold associated with the reference earphone is determined.
[0026] Based on the size data of the sound leakage channel on the tooling associated with the reference earphone, the reference data associated with the reference audio leakage amount is determined.
[0027] In an exemplary embodiment, determining the reference data associated with the reference audio leakage amount based on the size data of the sound leakage channel on the tooling mold associated with the reference earphone includes:
[0028] If the tooling mold includes multiple preset channels and the size data of each preset channel is a set value, based on the size data of the sound leakage channel on the tooling mold and the size data of each preset channel, at least one preset channel is selected from the multiple preset channels as the sound leakage channel, and the leakage volume of one preset channel or the sum of the leakage volumes of multiple preset channels is equivalent to the leakage volume of the sound leakage channel.
[0029] The sound leakage channel is used as the reference data.
[0030] In an exemplary embodiment, determining the target mapping relationship associated with the headphone under test based on the reference mapping relationship and the audio coefficients of the headphone under test includes:
[0031] Determine a second audio output level, which is the volume of the audio data output by the headphone under test when it plays the reference audio.
[0032] Based on the second audio output and the reference mapping relationship, the audio coefficients of the headphone under test are determined;
[0033] Based on the audio coefficients of the earphone under test and the reference mapping relationship, the target mapping relationship associated with the earphone under test is determined.
[0034] In an exemplary embodiment, determining the audio coefficients of the headphone under test based on the second audio output and the reference mapping relationship includes:
[0035] For each reference audio leakage in the reference mapping relationship, the audio coefficient of the headphone under test associated with each reference audio leakage is determined based on the second audio output, the reference audio leakage, and the reference data associated with the reference audio leakage;
[0036] The step of determining the target mapping relationship associated with the earphone under test based on the audio coefficients of the earphone under test and the reference mapping relationship includes:
[0037] The product of the audio coefficient of the headphone under test associated with each reference audio leakage and the reference data associated with each reference audio leakage is used as the target data associated with each reference audio leakage.
[0038] The target mapping relationship is determined based on the correlation between the reference audio leakage and the target data.
[0039] In one exemplary embodiment, the test audio includes audio with a frequency lower than a preset threshold, and the earphone to be tested is a semi-open earphone.
[0040] According to a second aspect of the present disclosure, a testing apparatus is provided, the apparatus comprising:
[0041] The acquisition module is configured to acquire the target mapping relationship associated with the earphone under test. The target mapping relationship represents the mapping relationship between ear shape and target data. The target data represents the size data of the sound leakage channel on the tooling mold associated with the earphone under test. The tooling mold is used to simulate a human ear wearing the earphone under test. The sound leakage channel allows the test audio played by the earphone under test to pass through, so as to simulate the process of the volume of the audio data leaking out of the ear canal when the earphone under test plays the test audio.
[0042] The testing module is configured to adjust the size data of the sound leakage channel on the tooling mold based on the target mapping relationship, so as to perform audio testing on the earphone under test when the tooling mold simulates human ears of different ear shapes.
[0043] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0044] processor;
[0045] Memory used to store processor-executable instructions;
[0046] The processor is configured to perform the method described in the first aspect of the embodiments of this disclosure.
[0047] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method described in the first aspect of the present disclosure.
[0048] The above-described method of this disclosure has the following advantages: Based on the target mapping relationship, the size data of the sound leakage channel on the tooling mold is adjusted so that the earphone to be tested can be tested when the tooling mold simulates different ear shapes. There is no need to collect a large amount of real ear canal data. Only the size data of the sound leakage channel on the tooling mold needs to be adjusted. The operation is simple, time-saving and labor-saving. It can improve the efficiency of earphone testing while saving manpower.
[0049] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0050] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0051] Figure 1 This is a flowchart illustrating a testing method according to an exemplary embodiment;
[0052] Figure 2 This is a schematic diagram of a tooling mold shown according to an exemplary embodiment;
[0053] Figure 3 This is a flowchart illustrating a testing method according to an exemplary embodiment;
[0054] Figure 4 This is a block diagram illustrating a testing apparatus according to an exemplary embodiment;
[0055] Figure 5 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0056] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0057] In an exemplary embodiment of this disclosure, to overcome the time-consuming and labor-intensive problem of collecting large amounts of real human ear canal data in related technologies, a testing method is provided, comprising: obtaining a target mapping relationship associated with the earphone to be tested, wherein the target mapping relationship characterizes the mapping relationship between ear shape and target data, the target data characterizes the size data of the sound leakage channel on a tooling mold associated with the earphone to be tested, the tooling mold is used to simulate a human ear wearing the earphone to be tested, and the sound leakage channel allows test audio played by the earphone to be tested to pass through, so as to simulate the process of audio data volume leaking out of the ear canal when the earphone to be tested plays test audio, and adjusting the size data of the sound leakage channel on the tooling mold based on the target mapping relationship, so as to perform audio testing on the earphone to be tested when the tooling mold simulates human ears of different ear shapes. In this method, when performing audio testing on the earphone, it is not necessary to collect a large amount of real human ear canal data, but only to adjust the size data of the sound leakage channel on the tooling mold, which is simple to operate, saves time and labor, and improves the efficiency of earphone testing while saving manpower.
[0058] In an exemplary embodiment of this disclosure, a testing method is provided. Figure 1 This is a flowchart illustrating a testing method according to an exemplary embodiment, such as... Figure 1 As shown, it includes the following steps:
[0059] Step S101: Obtain the target mapping relationship associated with the earphone under test. The target mapping relationship represents the mapping relationship between ear shape and target data. The target data represents the size data of the sound leakage channel on the tooling mold associated with the earphone under test. The tooling mold is used to simulate the human ear wearing the earphone under test. The sound leakage channel allows the test audio played by the earphone under test to pass through, so as to simulate the process of the volume of the audio data leaking out of the ear canal when the earphone under test plays the test audio.
[0060] The earphone under test can be any earphone requiring audio testing, including wireless and wired earphones. The earphone's form factor can be semi-open, in-ear, or other types. In some embodiments, the earphone under test is a semi-open earphone. The test audio can be any audio format; for ease of testing, the test audio is chosen to be easily leaked. In some embodiments, when the earphone under test is a semi-in-ear earphone, because low-frequency audio has a longer wavelength and is easily leaked, and the frequency leakage range of semi-in-ear earphones is below 1 kHz, 1 kHz is used as a preset threshold. Therefore, the test audio includes audio with frequencies below the preset threshold. In one example, the earphone under test is a semi-in-ear earphone, and the test audio is a white noise signal with a frequency between 20 Hz and 1 kHz.
[0061] Ear shape refers to the shape of the ear. The fixture mold is used to simulate the wearing of the earphone under test by people with different ear shapes. The shape of the fixture mold is similar to that of the ear, including structures such as the ear canal, auricle, and eardrum. To accurately simulate the average acoustic characteristics of the human ear canal and auricle, the fixture mold adopts a 711 standard ear simulator. To ensure that the propagation of sound waves within the ear simulator is similar to that of the human ear, materials with acoustic properties close to human skin and soft tissue are selected to manufacture the fixture mold. To ensure the stability and repeatability of each test, the fixture mold can fix earphones of different models and sizes while ensuring good sealing. To simulate the process of audio data leakage to the user's ear canal when the earphone under test plays test audio, an opening is designed on the fixture mold to form a sound leakage channel for the test audio to pass through. The size of the opening corresponding to the sound leakage channel and the number of channels contained in the sound leakage channel can be set according to actual needs. The smaller the opening diameter, the more sound leakage channels, and the higher the precision of the fixture mold. For example, the opening diameter is between 1 mm and -5 mm. In one example, Figure 2 This is a schematic diagram of a tooling mold shown according to an exemplary embodiment.
[0062] The dimensions of the sound leakage channel on the tooling mold represent the size of the sound leakage channel. This can be the diameter of the corresponding opening or the volume of the sound leakage channel, i.e., the space occupied by the sound leakage channel. If the sound leakage channel includes multiple channels, then the dimensions of the sound leakage channel are the sum of the sizes of all channels. With the tooling mold holding the earphone under test in place and ensuring good sealing, the earphone plays test audio, which passes through the sound leakage channel, thus simulating the process of audio data leakage from the ear canal.
[0063] The target mapping relationship characterizes the mapping relationship between ear shape and target data, that is, the mapping relationship between the audio leakage amount when users with different ear shapes wear the headphones under test and the size data of the sound leakage channel on the tooling mold. In one example, the target mapping relationship includes the mapping relationship between human ear 1 and target data 1, where the actual audio leakage amount of human ear 1 is 5 dB, and the target data 1 is represented by the size of the opening diameter corresponding to the channel, which is 1 mm.
[0064] Step S102: Based on the target mapping relationship, adjust the size data of the sound leakage channel on the tooling mold so as to perform audio testing on the headphones under test when the tooling mold simulates different ear shapes.
[0065] Because the dimensions of the sound leakage channels differ, the audio leakage of the tooling mold varies. Therefore, to simulate the audio leakage of the test earphones when worn by people with different ear shapes, the dimensions of the sound leakage channels on the tooling mold are adjusted sequentially to match the dimensions of the sound leakage channels in the target mapping relationship. This allows the tooling mold to simulate different ear shapes. Audio testing of the test earphones can then be performed using this tooling mold to test the audio performance corresponding to different ear shapes. The audio test can be any audio-based test, such as testing the audio leakage algorithm of the test earphones, adaptive music listening experience testing, adaptive active noise cancellation performance testing, or other audio tests.
[0066] In this embodiment, when simulating a human ear wearing the earphone under test using a tooling mold, a target mapping relationship associated with the earphone under test is obtained. This target mapping relationship represents the mapping relationship between ear shape and target data. The target data represents the size data of the sound leakage channel on the tooling mold associated with the earphone under test. The sound leakage channel allows the test audio played by the earphone under test to pass through, simulating the process of audio data volume leaking out of the ear canal when the earphone under test plays test audio. Based on the target mapping relationship, the size data of the sound leakage channel on the tooling mold is adjusted to perform audio testing on the earphone under test when the tooling mold simulates different ear shapes. This method eliminates the need to collect a large amount of real human ear canal data when performing audio testing on the earphone; it only requires adjusting the size data of the sound leakage channel on the tooling mold. The operation is simple, time-saving, and labor-saving, improving earphone testing efficiency while saving manpower.
[0067] In an exemplary embodiment of this disclosure, a testing method is provided. Figure 3 This is a flowchart illustrating a testing method according to an exemplary embodiment, such as... Figure 3 As shown, it includes the following steps:
[0068] Step S301: Determine the reference mapping relationship associated with the reference earphone. The reference mapping relationship represents the mapping relationship between the ear shape and the reference data. The reference data represents the size data of the sound leakage channel on the tooling mold associated with the reference earphone.
[0069] The reference earphone can be any earphone, whether wireless or wired, and its shape can be semi-open, in-ear, or other. The reference earphone has the same shape as the earphone under test. In some embodiments, when the earphone under test is a semi-open earphone, the reference earphone is also a semi-open earphone. The reference mapping relationship characterizes the mapping relationship between ear shape and reference data, that is, the mapping relationship between the audio leakage amount when users with different ear shapes wear the reference earphone and the size data of the sound leakage channel on the tooling mold. It is determined by the collected data of real human ears. In one example, the reference mapping relationship includes the mapping relationship between human ear 2 and reference data 2, where the actual audio leakage amount of human ear 2 is 8dB, and reference data 2 is represented by the size of the opening diameter of the corresponding channel, which is 2 mm.
[0070] Step S302: Based on the reference mapping relationship and the audio coefficients of the headphone under test, determine the target mapping relationship associated with the headphone under test.
[0071] The audio coefficients of the reference headphone are set to a reference value of 1. The reference headphone can be the same headphone as the headphone under test, in which case the audio coefficients of the headphone under test are also 1, and the reference mapping relationship is the target mapping relationship. Alternatively, the reference headphone can be a different headphone. In this case, the audio coefficients of the headphone under test are obtained, and the target mapping relationship associated with the headphone under test is determined based on the reference mapping relationship and the audio coefficients of the headphone under test. Specifically, the audio coefficients of the headphone under test are determined based on the relationship between the audio output of the reference headphone and the audio output of the headphone under test, as well as the relationship between the audio leakage of the reference headphone and the audio leakage of the headphone under test.
[0072] Step S303: Based on the target mapping relationship, adjust the size data of the sound leakage channel on the tooling mold so as to perform audio testing on the headphones under test when the tooling mold simulates different ear shapes.
[0073] For a detailed implementation of step S303, please refer to step S102, which will not be repeated here.
[0074] In this embodiment, based on the reference mapping relationship and the differences between the earphone under test and the reference earphone, the target mapping relationship is further determined. Only a set of real human ear data needs to be obtained using the reference earphone to determine the target mapping relationship associated with any other earphone, thus improving earphone testing efficiency. Generalization to earphones with different structures is achieved through audio coefficients; even if the earphone structure changes, the corresponding target mapping relationship can still be obtained. By adjusting the size data of the sound leakage channel, the same tooling mold can be used to simulate human ears of different shapes.
[0075] In some embodiments, determining the reference mapping relationship associated with the reference earphone in step S301 of the above embodiments includes the following steps:
[0076] Step S301-1: Obtain multiple reference audio leakage values, which include the volume of audio data leaked out of the ear canal when users with different ear shapes wear reference headphones and the reference headphones play reference audio.
[0077] Users with different ear shapes represent test users with representative ear forms. The number of users is set according to actual needs, for example, 50 users with different ear shapes. The wider the coverage of ear shapes, the better the simulation effect. Users with different ear shapes wear reference headphones, and the reference headphones play reference audio. The reference audio is played by the speakers of the reference headphones and enters the user's ear canal. At the same time, some audio data leaks out of the user's ear canal. The volume of the audio data leaked out of the user's ear canal is determined as the reference audio leakage amount. In this way, multiple reference audio leakage amounts are obtained for users with different ear shapes.
[0078] In some embodiments, obtaining multiple reference audio leaks includes the following steps:
[0079] When a user with each ear shape wears a reference earphone and the reference earphone plays a reference audio, the first reference audio data and the second reference audio data associated with each ear shape are acquired. The first reference audio data is acquired by a first audio acquisition device located inside the ear canal, and the second reference audio data is acquired by a second audio acquisition device located outside the ear canal.
[0080] The difference between the second reference audio data and the first reference audio data associated with each ear type is determined to obtain multiple reference audio leakage values.
[0081] To ensure a quiet testing environment and reduce external noise interference, reference audio data corresponding to users with different ear shapes were collected in an acoustically soundproof chamber. The first and second audio acquisition devices can be the same or different; for example, both can be precision microphones of the same model with identical sensitivity, used to collect sound pressure levels inside and outside the ear canal. The first audio acquisition device is placed inside the ear canal, i.e., inside the ear, while the user wears reference headphones that play reference audio. The second audio acquisition device is then placed outside the ear canal, i.e., outside the ear. The first reference audio data, collected by the first audio acquisition device, represents the unleashed audio data. The second reference audio data, collected by the second audio acquisition device, represents the audio data output by the headphone speaker.
[0082] In some embodiments, the first audio acquisition device is located at a first position inside the ear canal, and the second audio acquisition device is located at a second position outside the ear canal or a third position outside the ear canal. The first position represents the position of the eardrum, the second position represents the position of the speaker of the reference earphone, and the third position represents a position outside the ear that is spaced at a predetermined distance from the first end of the ear canal. The first end of the ear canal is the end of the ear canal that is away from the eardrum.
[0083] The first position represents the location of the eardrum, so the first audio acquisition device is located inside the ear canal near the eardrum. The second position represents the location of the speaker of the reference earphone, so the second audio acquisition device is located outside the ear canal near the earphone speaker, that is, outside the ear near the speaker. The third position represents the location outside the ear at a preset distance from the first end of the ear canal, where the first end of the ear canal is the end of the ear canal away from the eardrum, so the second audio acquisition device is located outside the ear at a preset distance from the opening of the ear canal, for example, the preset distance is 1 cm.
[0084] Since the first reference audio data represents the unleashed audio data and the second reference audio data represents the audio data output by the headphone speaker, the difference between the second and first reference audio data represents the leaked audio data, i.e., the reference audio leakage amount. Therefore, when calculating the difference between the second and first reference audio data associated with each user of different ear shapes, multiple reference audio leakage amounts are obtained. In some embodiments, the audio data is expressed in dB. The second reference audio data is denoted as L1, i.e., the sound pressure level outside the ear canal, and the first reference audio data is denoted as L2, i.e., the sound pressure level inside the ear canal. The reference audio leakage amount LD is then expressed as: LD = L1 - L2.
[0085] Step S301-2: Determine the first audio output level, which is the volume of the audio data output when the reference headphones play the reference audio.
[0086] The reference headphones output audio data from a speaker. The first audio output level is the volume of the audio data output by the reference headphones when playing reference audio. Therefore, the first audio output level is positively correlated with the speaker performance of the reference headphones. The better the speaker performance, the closer the first audio output level is to the volume of the reference audio; the worse the speaker performance, the greater the difference between the first audio output level and the volume of the reference audio. The first audio output level can be calculated based on the speaker performance of the reference headphones and the volume of the reference audio, or it can be determined directly by using an audio acquisition device to acquire the audio played by the speaker.
[0087] Step S301-3: Based on the reference audio leakage and the first audio output, determine the reference data associated with each reference audio leakage.
[0088] When the tooling mold is fixed with a reference earphone and has good sealing, and the reference earphone plays reference audio, the volume of the audio data inside the ear canal structure of the tooling mold is the first audio output. Since the size data of the sound leakage channel is different, the audio leakage of the tooling mold is different. Therefore, in order to make the tooling mold simulate the audio leakage when different ear shapes wear the reference earphone, that is, to simulate the different reference audio leakage amounts collected by real human ears, the volume of the audio data leaked through the sound leakage channel is equivalent to the reference audio leakage amount. Therefore, based on the first audio output and the reference audio leakage amount, the size data of the sound leakage channel, that is, the reference data, can be determined.
[0089] Step S301-4: Determine the reference mapping relationship based on the correlation between the reference audio leakage and the reference data.
[0090] The reference audio leakage corresponds to the ear shape. The reference data corresponding to each reference audio leakage is the size data of the sound leakage channel on the tooling mold corresponding to each ear shape. The reference mapping relationship can be constructed by the correlation between the ear shape and the reference data.
[0091] In this embodiment, by collecting data from real human ears of different ear shapes to obtain a reference mapping relationship, the tooling mold can simulate the audio leakage of human ears of different ear shapes.
[0092] In some embodiments, step S301-3 in the above embodiments, determining the reference data associated with each reference audio leakage based on the reference audio leakage and the first audio output, includes the following steps:
[0093] S301-311, for each reference audio leakage, a preset ratio is determined based on the difference between the first audio output and the reference audio leakage, and the difference is logarithmically related to the preset ratio.
[0094] In one example, the preset ratio is determined using the following formula:
[0095] L leak =L inc1 -STL+10log 10 M
[0096] Where M represents the preset ratio, L leak This indicates the reference audio leakage level, measured in dB (L). inc1 The first audio output level is represented in dB, and STL represents the sound transmission loss in dB.
[0097] S301-312, based on the product of a preset ratio and the size data of the simulated ear canal within the tooling mold, determine the dimensional data of the sound leakage channel on the tooling mold associated with the reference earphone.
[0098] The preset ratio M is denoted as: Among them, A total A represents the dimensional data of the simulated ear canal within the tooling mold. leak This refers to the dimensional data of the sound leakage channel on the tooling mold associated with the reference headphones. The dimensional data of the simulated ear canal within the tooling mold and the dimensional data of the sound leakage channel on the tooling mold use the same representation method. For example, when the dimensional data of the simulated ear canal within the tooling mold represents the size of the space occupied by the ear canal, the dimensional data of the sound leakage channel on the tooling mold represents the size of the space occupied by the sound leakage channel; when the dimensional data of the simulated ear canal within the tooling mold represents the lateral area of the ear canal, the dimensional data of the sound leakage channel on the tooling mold represents the size of the opening diameter corresponding to the sound leakage channel.
[0099] S301-313, based on the dimensional data of the sound leakage channel on the tooling associated with the reference headphone, determines the reference data associated with each reference audio leakage amount.
[0100] In some implementations, the dimensional data of the sound leakage channel on the tooling mold is used as reference data associated with each reference audio leakage amount.
[0101] In some implementations, if the tooling mold includes multiple preset channels and the size data of each preset channel is a set value, based on the size data of the sound leakage channel on the tooling mold and the size data of each preset channel, at least one preset channel is selected from the multiple preset channels as the sound leakage channel, and the audio leakage of one preset channel or the sum of the audio leakage of multiple preset channels is equivalent to the audio leakage of the sound leakage channel; the sound leakage channel is used as reference data.
[0102] Multiple preset channels are pre-set on the tooling mold. The dimensions of each preset channel are set according to actual needs, for example, each preset channel has a diameter of 1 mm. At least one preset channel is selected from the multiple preset channels, and the sum of the dimensions of at least one preset channel is the same as the dimension of the sound leakage channel on the tooling mold. At least one preset channel is used as the sound leakage channel, while the remaining preset channels are sealed. For example, if the tooling mold includes preset channel 1 with a diameter of 1 mm, preset channel 2 with a diameter of 1 mm, and preset channel 3 with a diameter of 2 mm, and the calculated dimension of the sound leakage channel on the tooling mold is a diameter of 3 mm, then preset channel 1 and preset channel 3 are selected as the sound leakage channels, and preset channel 2 is sealed; or preset channels 2 and 3 are selected as the sound leakage channels, and preset channel 1 is sealed. The sound leakage channel is used as reference data, that is, the selected preset channel is used as reference data.
[0103] In this embodiment, multiple preset channels are set on the tooling mold, and at least one preset channel is selected as the sound leakage channel. Different ear shapes can be simulated with one tooling mold, without the need to make multiple tooling molds and simulate one ear shape with each tooling mold. The operation is simple and can save consumables. In addition, each channel can be a small-diameter channel, ensuring the accuracy of the tooling mold simulation.
[0104] In some embodiments, step S301-3 in the above embodiments, determining the reference data associated with each reference audio leakage based on the reference audio leakage and the first audio output, includes the following steps:
[0105] S301-321 divides multiple reference audio leakage values into multiple leakage value levels, with different audio leakage values at different leakage value levels.
[0106] Leakage levels can be divided according to actual needs, and the number of reference audio leakage values is positively correlated with the number of leakage levels. In one example, the reference audio leakage value is denoted as LD, with the unit being dB. When there are 100 reference audio leakage values, they are divided into five leakage levels: minimal leakage, small leakage, medium leakage, large leakage, and very large leakage. The value range of the reference audio leakage value corresponding to each leakage level is as follows:
[0107] Minimal leakage: 3 > LD ≥ 0
[0108] Minor leak: 8 > LD ≥ 3
[0109] Leakage in the middle: 15 > LD ≥ 8
[0110] Major leak: 20 > LD ≥ 15
[0111] Massive leakage: LD≥20
[0112] Steps S301-322: Determine the reference data threshold value associated with the critical point of each leakage level.
[0113] The critical point for each leakage level represents the boundary value of the reference audio leakage range corresponding to each leakage level. For example, the critical points for the medium leakage level mentioned above are 8 and 15. The reference data critical value characterizes the size data of the sound leakage channel on the tooling mold associated with the reference earphone. For the specific implementation of determining the reference data critical value associated with the critical point of each leakage level, please refer to S301-311 to S301-313 of the above embodiment, which will not be repeated here.
[0114] Steps S301-323: Based on the reference data threshold, determine the reference data associated with each leakage level.
[0115] Based on the reference data threshold, the range of values corresponding to each leakage level can be mapped, which is the range of values of the sound leakage channel size on the tooling mold. Each range of values is used as the reference data for each leakage level.
[0116] In one example, the dimension of the sound leakage channel on the tooling associated with the reference headphones is denoted as A. leak Taking the five leakage levels mentioned above as examples, the dimensional data of the sound leakage channel on the tooling mold corresponding to the reference leakage levels of 0, 3, 8, 15, and 20 are calculated respectively. The reference data threshold value corresponding to each reference leakage level is obtained. The reference data threshold value corresponding to reference leakage level 0 is 0. The reference data threshold value corresponding to reference leakage level 3 is denoted as H1, the reference data threshold value corresponding to reference leakage level 8 is denoted as H2, the reference data threshold value corresponding to reference leakage level 15 is denoted as H3, and the reference data threshold value corresponding to reference leakage level 20 is denoted as H4. This allows us to map the value range of the dimensional data of the sound leakage channel on the tooling mold corresponding to each leakage level, resulting in the following reference data for each leakage level:
[0117] Minimal leakage: H1 > A leak ≥0
[0118] Minor leak: H2 > A leal ≥H1
[0119] Leakage in the middle: H3 > A leak ≥H2
[0120] Big leak: H4 > A leak ≥H3
[0121] Massive leak: A leak ≥H4
[0122] Therefore, by adjusting the size data of the sound leakage channel on the tooling mold to be within the above-mentioned different value ranges, different audio leakage levels can be simulated when different ear shapes wear reference headphones. For example, when the size data of the sound leakage channel is between H1 and H2, the simulated audio leakage level is small leakage.
[0123] By dividing the reference audio leakage into leakage levels, it is not necessary to calculate the size data of the sound leakage channel on the tooling mold corresponding to each reference audio leakage level. Only the size data of the sound leakage channel on the tooling mold corresponding to the critical point of each leakage level needs to be calculated, which can reduce the amount of calculation.
[0124] In some embodiments, step S302 in the above embodiments determines the target mapping relationship associated with the headphone under test based on the reference mapping relationship and the audio coefficients of the headphone under test, including the following steps:
[0125] Step S302-1: Determine the second audio output quantity, which is the volume of the audio data output by the headphones under test when playing the reference audio.
[0126] The earphone under test outputs audio data through its speaker. The second audio output level is the volume of the audio data output by the earphone under test when playing reference audio. Therefore, if the earphone under test is different from the reference earphone, the second audio output level will be different from the first audio output level. The second audio output level can be calculated based on the speaker performance of the earphone under test and the volume of the reference audio, or it can be determined directly by using an audio acquisition device to acquire the audio played by the speaker.
[0127] Step S302-2: Determine the audio coefficients of the headphone under test based on the second audio output and the reference mapping relationship.
[0128] With the test earphone fixed in the fixture mold and well-sealed, the test earphone plays test audio. The volume of the audio data inside the ear canal structure of the fixture mold is the second audio output. To simulate audio leakage when different ear shapes wear the test earphone, the volume of the audio data leaking through the leakage channel is equivalent to the reference audio leakage. Based on the mapping relationship between the second audio output and the reference, the correlation between the test earphone and the reference earphone can be analyzed, thereby determining the audio coefficients of the test earphone.
[0129] In some implementations, for each reference audio leakage in the reference mapping relationship, the audio coefficient of the headphone under test associated with each reference audio leakage is determined based on the second audio output, the reference audio leakage, and the reference data associated with the reference audio leakage.
[0130] In one example, the dimensions of the sound leakage channel on the tooling associated with the headphone under test are determined using the following formula:
[0131]
[0132] Among them, L leak This indicates the reference audio leakage level, measured in dB (L). inc2 The second audio output level is indicated by dB, and STL indicates the acoustic transmission loss, also in dB. total A represents the dimensional data of the simulated ear canal within the tooling mold. leak This represents the dimensional data of the sound leakage channel on the tooling associated with the reference headphone, i.e., the reference data associated with the reference audio leakage amount, and λ represents the audio coefficient of the headphone under test associated with the reference audio leakage amount.
[0133] Step S302-3: Based on the audio coefficients and reference mapping relationship of the headphone under test, determine the target mapping relationship associated with the headphone under test.
[0134] In some implementations, the product of the audio coefficient of the headphone under test associated with each reference audio leakage and the reference data associated with the reference audio leakage is used as the target data associated with each reference audio leakage; a target mapping relationship is determined based on the correlation between the reference audio leakage and the target data.
[0135] In one example, in the above formula, A leak ×λ serves as the target data associated with the reference audio leakage. The reference audio leakage corresponds to the ear shape, and the target data for each reference audio leakage is the size data of the sound leakage channel on the tooling mold corresponding to each ear shape. The target mapping relationship can then be constructed from the correlation between the ear shape and the target data.
[0136] In this embodiment, the relationship between the size data of the leakage channel corresponding to the earphone under test and the size data of the leakage channel corresponding to the reference earphone can be determined when the same leakage level is achieved. In one example, for the earphone under test, a fixture mold with an opening diameter of 1 mm corresponding to the leakage channel can simulate a human ear 1, that is, when the earphone under test is fixed on the fixture mold, the audio leakage amount is the reference audio leakage amount 1; for the reference earphone, a fixture mold with an opening diameter of 2 mm corresponding to the leakage channel can simulate a human ear 1, that is, when the reference earphone is fixed on the fixture mold, the audio leakage amount is the reference audio leakage amount 1. Therefore, by adjusting the size data of the leakage channel on the fixture mold, the fixture mold can be adapted to audio testing of earphones with different structures.
[0137] In an exemplary embodiment of this disclosure, a testing apparatus is provided. Figure 4This is a block diagram illustrating a testing apparatus according to an exemplary embodiment, such as... Figure 4 As shown, the testing apparatus includes:
[0138] The acquisition module 401 is configured to acquire the target mapping relationship associated with the earphone under test. The target mapping relationship represents the mapping relationship between ear shape and target data. The target data represents the size data of the sound leakage channel on the tooling mold associated with the earphone under test. The tooling mold is used to simulate the human ear wearing the earphone under test. The sound leakage channel allows the test audio played by the earphone under test to pass through, so as to simulate the process of the volume of the audio data leaking out of the ear canal when the earphone under test plays the test audio.
[0139] Test module 402 is configured to adjust the size data of the sound leakage channel on the tooling mold based on the target mapping relationship, so as to perform audio testing on the headphones under test when the tooling mold simulates different ear shapes.
[0140] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0141] Determine the reference mapping relationship associated with the reference earphone. The reference mapping relationship represents the mapping relationship between the ear shape and the reference data. The reference data represents the size data of the sound leakage channel on the tooling mold associated with the reference earphone.
[0142] Based on the reference mapping relationship and the audio coefficients of the headphones under test, the target mapping relationship associated with the headphones under test is determined.
[0143] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0144] Obtain multiple reference audio leakage values, which include the volume of audio data leaked out of the ear canal when users with different ear shapes wear reference headphones and the reference headphones play reference audio.
[0145] Determine the first audio output level, which is the volume of the audio data output when the reference headphones play the reference audio.
[0146] Based on the reference audio leakage and the first audio output, determine the reference data associated with each reference audio leakage;
[0147] Based on the correlation between the reference audio leakage and the reference data, the reference mapping relationship is determined.
[0148] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0149] When a user with each ear shape wears a reference earphone and the reference earphone plays a reference audio, the first reference audio data and the second reference audio data associated with each ear shape are acquired. The first reference audio data is acquired by a first audio acquisition device located inside the ear canal, and the second reference audio data is acquired by a second audio acquisition device located outside the ear canal.
[0150] The difference between the second reference audio data and the first reference audio data associated with each ear type is determined to obtain multiple reference audio leakage values.
[0151] In an exemplary embodiment, the first audio acquisition device is located at a first position inside the ear canal, and the second audio acquisition device is located at a second position outside the ear canal or a third position outside the ear canal. The first position represents the position of the eardrum, the second position represents the position of the speaker of the reference earphone, and the third position represents a position outside the ear that is spaced at a predetermined distance from the first end of the ear canal. The first end of the ear canal is the end of the ear canal that is away from the eardrum.
[0152] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0153] The multiple reference audio leakage values are divided into multiple leakage value levels, and the audio leakage values of different leakage value levels are different;
[0154] Determine the reference data threshold value associated with the critical point of each leakage level;
[0155] Based on the reference data threshold, the reference data associated with each leakage level is determined.
[0156] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0157] For each reference audio leakage, a preset ratio is determined based on the difference between the first audio output and the reference audio leakage, and the difference is logarithmically related to the preset ratio;
[0158] Based on the product of the preset ratio and the simulated ear canal size data in the tooling mold, the dimensional data of the sound leakage channel on the tooling mold associated with the reference earphone is determined.
[0159] Based on the dimensional data of the sound leakage channel on the tooling mold associated with the reference headphones, reference data associated with the reference audio leakage amount are determined.
[0160] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0161] If the tooling mold includes multiple preset channels and the size data of each preset channel is a set value, based on the size data of the sound leakage channel on the tooling mold and the size data of each preset channel, at least one preset channel is selected from the multiple preset channels as the sound leakage channel. The leakage volume of one preset channel or the sum of the leakage volumes of multiple preset channels is equivalent to the leakage volume of the sound leakage channel.
[0162] Use the sound leakage channel as reference data.
[0163] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0164] Determine the second audio output level, which is the volume of the audio data output by the headphones under test when playing the reference audio.
[0165] Based on the second audio output and the reference mapping relationship, the audio coefficients of the headphones under test are determined;
[0166] Based on the audio coefficients of the headphones under test and the reference mapping relationship, the target mapping relationship associated with the headphones under test is determined.
[0167] In one exemplary embodiment, the acquisition module 401 is further configured to:
[0168] For each reference audio leakage in the reference mapping relationship, the audio coefficient of the headphone under test associated with each reference audio leakage is determined based on the second audio output, the reference audio leakage, and the reference data associated with the reference audio leakage.
[0169] The product of the audio coefficient of the headphone under test associated with each reference audio leakage and the reference data associated with the reference audio leakage is used as the target data associated with each reference audio leakage.
[0170] Based on the correlation between the reference audio leakage and the target data, the target mapping relationship is determined.
[0171] In one exemplary embodiment, the test audio includes audio with a frequency lower than a preset threshold, and the headphones to be tested are semi-open headphones.
[0172] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0173] Figure 5 This is a block diagram illustrating an electronic device 500 according to an exemplary embodiment.
[0174] Reference Figure 5The electronic device 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input / output (I / O) interface 512, sensor component 514, and communication component 516.
[0175] Processing component 502 typically controls the overall operation of electronic device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
[0176] Memory 504 is configured to store various types of data to support the operation of electronic device 500. Examples of such data include instructions for any application or method operating on electronic device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0177] Power supply component 506 provides power to various components of electronic device 500. Power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 500.
[0178] Multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0179] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when electronic device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.
[0180] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0181] Sensor assembly 514 includes one or more sensors for providing state assessments of various aspects of electronic device 500. For example, sensor assembly 514 may detect the on / off state of electronic device 500, the relative positioning of components such as the display and keypad of electronic device 500, changes in position of electronic device 500 or a component of electronic device 500, the presence or absence of user contact with electronic device 500, orientation or acceleration / deceleration of electronic device 500, and temperature changes of electronic device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0182] Communication component 516 is configured to facilitate wired or wireless communication between electronic device 500 and other devices. Electronic device 500 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0183] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0184] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by a processor 520 of an electronic device 500 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0185] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a test method, including any of the methods described above.
[0186] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0187] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A testing method, characterized in that, The method includes: Obtain the target mapping relationship associated with the earphone under test. The target mapping relationship represents the mapping relationship between ear shape and target data. The target data represents the size data of the sound leakage channel on the tooling mold associated with the earphone under test. The tooling mold is used to simulate the human ear wearing the earphone under test. The sound leakage channel allows the test audio played by the earphone under test to pass through, so as to simulate the process of the volume of the audio data leaking out of the ear canal when the earphone under test plays the test audio. Based on the target mapping relationship, the size data of the sound leakage channel on the tooling mold is adjusted so that the earphone under test can be tested when the tooling mold simulates human ears of different ear shapes.
2. The test method according to claim 1, characterized in that, The step of obtaining the target mapping relationship associated with the earphone under test includes: Determine the reference mapping relationship associated with the reference earphone, wherein the reference mapping relationship represents the mapping relationship between ear shape and reference data, and the reference data represents the size data of the sound leakage channel on the tooling mold associated with the reference earphone; Based on the reference mapping relationship and the audio coefficients of the headphone under test, the target mapping relationship associated with the headphone under test is determined.
3. The test method according to claim 2, characterized in that, The determination of the reference mapping relationship associated with the reference headphones includes: Multiple reference audio leakage values are obtained, including the volume of audio data leaked out of the ear canal when users with different ear shapes wear reference headphones and the reference headphones play reference audio. A first audio output level is determined, wherein the first audio output level is the volume of the audio data output when the reference headphones play the reference audio; Based on the reference audio leakage and the first audio output, determine the reference data associated with each reference audio leakage; The reference mapping relationship is determined based on the correlation between the reference audio leakage and the reference data.
4. The test method according to claim 3, characterized in that, The acquisition of multiple reference audio leaks includes: When a user with each ear shape wears the reference earphone and the reference earphone plays the reference audio, first reference audio data and second reference audio data associated with each ear shape are acquired. The first reference audio data is acquired by a first audio acquisition device located inside the ear canal, and the second reference audio data is acquired by a second audio acquisition device located outside the ear canal. The difference between the second reference audio data and the first reference audio data associated with each ear type is determined to obtain the leakage amount of the plurality of reference audios.
5. The test method according to claim 4, characterized in that, The first audio acquisition device is located at a first position inside the ear canal, and the second audio acquisition device is located at a second position outside the ear canal or a third position outside the ear canal. The first position represents the position of the eardrum, the second position represents the position of the speaker of the reference earphone, and the third position represents a position outside the ear that is spaced at a predetermined distance from the first end of the ear canal. The first end of the ear canal is the end of the ear canal that is away from the eardrum.
6. The test method according to claim 3, characterized in that, The step of determining reference data associated with each reference audio leakage based on the reference audio leakage and the first audio output includes: The multiple reference audio leakage values are divided into multiple leakage value levels, and the audio leakage values of different leakage value levels are different; Determine the reference data threshold value associated with the critical point of each of the aforementioned leakage levels; Based on the reference data threshold, reference data associated with each of the leakage levels is determined.
7. The test method according to claim 3, characterized in that, The step of determining reference data associated with each reference audio leakage based on the reference audio leakage and the first audio output includes: For each of the reference audio leakage values, a preset ratio is determined based on the difference between the first audio output value and the reference audio leakage value, wherein the difference is logarithmically related to the preset ratio. Based on the product of the preset ratio and the size data of the simulated ear canal in the tooling mold, the size data of the sound leakage channel on the tooling mold associated with the reference earphone is determined. Based on the size data of the sound leakage channel on the tooling associated with the reference earphone, the reference data associated with the reference audio leakage amount is determined.
8. The test method according to claim 7, characterized in that, The determination of the reference data associated with the reference audio leakage amount based on the size data of the sound leakage channel on the tooling mold associated with the reference earphone includes: If the tooling mold includes multiple preset channels and the size data of each preset channel is a set value, based on the size data of the sound leakage channel on the tooling mold and the size data of each preset channel, at least one preset channel is selected from the multiple preset channels as the sound leakage channel, and the leakage volume of one preset channel or the sum of the leakage volumes of multiple preset channels is equivalent to the leakage volume of the sound leakage channel. The sound leakage channel is used as the reference data.
9. The test method according to claim 2, characterized in that, The step of determining the target mapping relationship associated with the headphone under test based on the reference mapping relationship and the audio coefficients of the headphone under test includes: Determine a second audio output level, which is the volume of the audio data output by the headphone under test when it plays the reference audio. Based on the second audio output and the reference mapping relationship, the audio coefficients of the headphone under test are determined; Based on the audio coefficients of the earphone under test and the reference mapping relationship, the target mapping relationship associated with the earphone under test is determined.
10. The test method according to claim 9, characterized in that, The step of determining the audio coefficients of the headphone under test based on the second audio output and the reference mapping relationship includes: For each reference audio leakage in the reference mapping relationship, the audio coefficient of the headphone under test associated with each reference audio leakage is determined based on the second audio output, the reference audio leakage, and the reference data associated with the reference audio leakage; The step of determining the target mapping relationship associated with the earphone under test based on the audio coefficients of the earphone under test and the reference mapping relationship includes: The product of the audio coefficient of the headphone under test associated with each reference audio leakage and the reference data associated with each reference audio leakage is used as the target data associated with each reference audio leakage. The target mapping relationship is determined based on the correlation between the reference audio leakage and the target data.
11. The test method according to claim 1, characterized in that, The test audio includes audio with a frequency lower than a preset threshold, and the earphone to be tested is a semi-open earphone.
12. A testing device, characterized in that, The device includes: The acquisition module is configured to acquire the target mapping relationship associated with the earphone under test. The target mapping relationship represents the mapping relationship between ear shape and target data. The target data represents the size data of the sound leakage channel on the tooling mold associated with the earphone under test. The tooling mold is used to simulate a human ear wearing the earphone under test. The sound leakage channel allows the test audio played by the earphone under test to pass through, so as to simulate the process of the volume of the audio data leaking out of the ear canal when the earphone under test plays the test audio. The testing module is configured to adjust the size data of the sound leakage channel on the tooling mold based on the target mapping relationship, so as to perform audio testing on the earphone under test when the tooling mold simulates human ears of different ear shapes.
13. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method as described in any one of claims 1-11.
14. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method as described in any one of claims 1-11.