CN116156377A - Noise reduction method, device, earphone device and computer readable storage medium - Google Patents

Noise reduction method, device, earphone device and computer readable storage medium Download PDF

Info

Publication number
CN116156377A
CN116156377A CN202211539014.1A CN202211539014A CN116156377A CN 116156377 A CN116156377 A CN 116156377A CN 202211539014 A CN202211539014 A CN 202211539014A CN 116156377 A CN116156377 A CN 116156377A
Authority
CN
China
Prior art keywords
auricle
shape
noise reduction
shape data
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211539014.1A
Other languages
Chinese (zh)
Inventor
李红梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211539014.1A priority Critical patent/CN116156377A/en
Publication of CN116156377A publication Critical patent/CN116156377A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The invention discloses a noise reduction method, a device, earphone equipment and a computer readable storage medium, wherein the noise reduction method is applied to the earphone equipment and comprises the following steps: determining a target auricle shape matched with a user from a plurality of preset auricle shapes; and actively reducing noise by adopting noise reduction parameters which correspond to the shape of the target auricle and are preset. According to the invention, the noise reduction parameters of the auricle shape matched with the user are adopted for active noise reduction through the earphone device in a personalized way, so that the optimal noise reduction effect is achieved.

Description

Noise reduction method, device, earphone device and computer readable storage medium
Technical Field
The present invention relates to the field of headphones technologies, and in particular, to a noise reduction method, a noise reduction device, a headphone device, and a computer readable storage medium.
Background
The active noise reduction earphone can effectively reduce external noise, such as aircraft noise, subway noise, air conditioner noise and other environmental noise. The active noise control technology mainly utilizes the interference principle of sound waves, and generates secondary noise which is equivalent to and opposite to the original noise signal through a control circuit to counteract the original noise signal. Currently, the active noise reduction parameters set in the earphone are fixed, resulting in that the optimal noise reduction effect is not achieved for every user.
Disclosure of Invention
The invention aims to provide a noise reduction method, a noise reduction device, earphone equipment and a computer readable storage medium, and aims to provide an earphone noise reduction scheme, wherein noise reduction parameters of auricle shapes matched with users are adopted by the earphone equipment in a personalized mode to perform active noise reduction, so that the optimal noise reduction effect is achieved.
To achieve the above object, the present invention provides a noise reduction method applied to an earphone device, the noise reduction method including:
determining a target auricle shape matched with a user from a plurality of preset auricle shapes;
and actively reducing noise by adopting noise reduction parameters which correspond to the shape of the target auricle and are preset.
Optionally, an ultrasonic scanning device is disposed on a earphone shell of the earphone device, and the step of determining a target auricle shape matched with the user from a plurality of preset auricle shapes includes:
scanning first shape data of a pinna of a user by the ultrasonic scanning device in a state where the earphone device is worn;
comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes, and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
Optionally, the ultrasonic scanning device includes a microphone, a speaker and a rotating structure, the microphone and the speaker being fixed to the rotating structure, and the step of scanning the first shape data of the auricle of the user by the ultrasonic scanning device includes:
controlling the rotation structural member to rotate so as to drive the distance measuring direction of the microphone and the loudspeaker to point to a direction to be measured;
under the condition that the ranging direction points to the direction to be measured, transmitting ultrasonic signals through the loudspeaker and receiving reflected ultrasonic signals through the microphone, and calculating to obtain a ranging result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
Optionally, the ultrasonic scanning device includes a microphone face array and a speaker face array, and the step of scanning, by the ultrasonic scanning device, first shape data of the auricle of the user includes:
transmitting ultrasonic signals according to a preset phase corresponding to a direction to be tested through each loudspeaker in the loudspeaker face array, and receiving ultrasonic signals according to a preset phase corresponding to the direction to be tested through each microphone in the microphone face array;
calculating to obtain a distance measurement result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
Optionally, the first shape data and each of the second shape data include distance values corresponding to a plurality of directions respectively, and the step of comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes and taking, as the target auricle shape, the auricle shape corresponding to the shape data matched and consistent with the first shape data in each of the second shape data includes:
calculating the absolute value of a difference value of the distance value in the same direction in the first shape data and the target shape data, wherein the target shape data is any one shape data in the second shape data;
if the absolute values of the differences corresponding to the directions are smaller than a preset threshold value, determining that the first shape data are matched with the target shape data;
and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
Optionally, the step of determining the target auricle shape matched with the user from the preset plurality of auricle shapes includes:
outputting and displaying shape information respectively corresponding to a plurality of preset auricle shapes through a user terminal connected with the earphone equipment;
receiving a user feedback instruction based on the displayed shape information feedback;
and taking the auricle shape corresponding to the shape information carried in the user feedback instruction as a target auricle shape matched with the user.
Optionally, the step of determining the target auricle shape matched with the user from the preset plurality of auricle shapes includes:
sequentially taking a plurality of preset auricle shapes as test auricle shapes;
actively reducing noise by adopting noise reduction parameters which correspond to the shape of the test auricle and are preset, and acquiring feedback sound signals acquired by a feedback microphone in the earphone equipment;
according to the feedback sound signal, calculating to obtain the noise reduction degree corresponding to the shape of the test auricle;
and selecting the auricle shape with the largest noise reduction degree as a target auricle shape matched with the user according to the noise reduction degrees corresponding to the auricle shapes.
In order to achieve the above object, the present invention further provides a noise reduction device, where the noise reduction device is disposed on an earphone device, and the noise reduction device includes:
a determining module, configured to determine a target auricle shape matched with the user from a plurality of preset auricle shapes;
and the noise reduction module is used for actively reducing noise by adopting noise reduction parameters which correspond to the shape of the target auricle.
To achieve the above object, the present invention also provides an earphone device including: the system comprises a memory, a processor and a noise reduction program stored in the memory and capable of running on the processor, wherein the noise reduction program realizes the steps of the noise reduction method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also proposes a computer-readable storage medium having a noise reduction program stored thereon, which when executed by a processor, implements the steps of the noise reduction method as described above.
In the embodiment of the invention, the noise reduction parameters corresponding to different auricle shapes are preset in the earphone device, the target auricle shape matched with the user is determined from the auricle shapes, and the noise reduction parameters corresponding to the target auricle shape are adopted for active noise reduction, so that the earphone device can be individually matched with the noise reduction parameters matched with the auricle shape of the user for active noise reduction, and the optimal noise reduction effect is achieved.
Drawings
FIG. 1 is a flow chart of a first embodiment of a noise reduction method according to the present invention;
fig. 2 is a schematic structural diagram of an earphone device according to an embodiment of the present invention;
fig. 3 is a schematic functional block diagram of a noise reduction device according to a preferred embodiment of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a noise reduction method according to the present invention.
Embodiments of the present invention provide embodiments of noise reduction methods, it being noted that although a logic sequence is shown in the flow diagrams, in some cases the steps shown or described may be performed in a different order than that shown or described herein. The noise reduction method of the embodiments of the invention is applied to earphone equipment. In this embodiment, the noise reduction method includes:
step S10, determining a target auricle shape matched with a user from a plurality of preset auricle shapes;
the same earphone has the possibility that the acoustic characteristics of noise reaching the auricles of consumers are different from person to person and the difference exists between the left ear and the right ear of the human ear, so that the noise reduction can not reach the optimal effect or the left and right imbalance can be caused.
In this embodiment, in order to solve the above-mentioned problem, noise reduction parameters corresponding to different auricle shapes may be set in advance in the earphone device. The earphone device may refer to a single earphone. The noise reduction parameters are parameters required to be used in the active noise reduction process, and may include parameters such as filter parameters, gain values, and the like, and specifically include which parameter items are not limited herein. Noise reduction parameters corresponding to the auricle shapes respectively can be obtained through pre-debugging. For example, the earphone device may be worn on a simulated ear with a certain auricle shape in advance, noise reduction parameters in the earphone device are adjusted, sound signals after active noise reduction of the earphone device are collected through a microphone set on the simulated ear, noise reduction effects corresponding to different noise reduction parameters are determined according to the sound signals, noise reduction parameters with optimal noise reduction effects are selected as noise reduction parameters corresponding to the auricle shape, and the noise reduction parameters are configured in the earphone device; according to the method, noise reduction parameters corresponding to a plurality of different auricle shapes can be configured in the earphone device.
When the user uses the headphone device, the headphone device may automatically or in response to a user request determine an auricle shape (hereinafter referred to as a target auricle shape to show distinction) matching the user from among a plurality of auricle shapes preset. In the present embodiment, there are various ways of determining the target auricle shape that matches the user, and the present embodiment is not limited thereto.
For example, in one possible implementation, the step S10 includes:
step S101, outputting and displaying shape information corresponding to a plurality of preset auricle shapes respectively through a user terminal connected with the earphone equipment;
the user terminal may be a terminal with a display screen, such as a smart phone, a computer, etc. The shape information may be information for the user to distinguish the respective auricle shapes, and is not limited to what the shape information is in particular in the present embodiment as long as the user can be enabled to distinguish the respective auricle shapes. For example, the shape data may be a number given to the auricle shape, a figure of the auricle shape, or shape data of the auricle shape. The shape data is data describing the shape of the auricle, for example three-dimensional point cloud data of the shape of the auricle.
In a specific embodiment, the earphone device may display shape information corresponding to each auricle shape through an interface of application software.
Step S102, receiving a user feedback instruction fed back based on the displayed shape information;
in a specific embodiment, a user terminal may detect a selection operation triggered by a user for each presented shape information, where the selection operation selects one shape information, and the user terminal sends the shape information to the earphone device with the shape information in a user feedback instruction. It can be understood that the user can select the shape information capable of achieving the optimal noise reduction effect according to the noise reduction effect perceived by the user.
And step S103, taking the auricle shape corresponding to the shape information carried in the user feedback instruction as a target auricle shape matched with the user.
The earphone device extracts the shape information carried in the user feedback instruction, and then takes the auricle shape corresponding to the shape information as a target auricle shape matched with the user.
And S20, actively reducing noise by adopting noise reduction parameters preset corresponding to the shape of the target auricle.
After the earphone device determines the shape of the target auricle, active noise reduction is performed by adopting noise reduction parameters preset corresponding to the shape of the target auricle. The specific process of active noise reduction is not described here.
In this embodiment, noise reduction parameters corresponding to a plurality of different auricle shapes are preset in the earphone device, a target auricle shape matched with a user is determined from the plurality of auricle shapes, active noise reduction is performed by adopting the noise reduction parameters corresponding to the target auricle shape, active noise reduction is performed by adopting noise reduction parameters of the auricle shape matched with the user in a personalized manner through the earphone device, and the optimal noise reduction effect is achieved.
Further, based on the first embodiment, a second embodiment of the noise reduction method of the present invention is provided, and in this embodiment, the step S10 includes:
step S104, scanning first shape data of auricles of a user through the ultrasonic scanning device under the condition that the earphone device is in a wearing state;
the earphone shell of the earphone device can be provided with an ultrasonic scanning device, and the setting position can be an area which is exposed to the external environment and can scan to the auricle of the user when the earphone device is in a wearing state. For example, the location of the ultrasound scanning device in the earphone housing is schematically depicted in fig. 2. The ultrasonic scanning device may perform ranging positioning for a certain direction range based on echo positioning, so that shape data (hereinafter referred to as first shape data to show distinction) of the auricle of the user can be scanned. The specific data form of the first shape data is not limited in this embodiment. For example, in a specific embodiment, the first shape data may be three-dimensional point cloud data of the shape of the auricle of the user. In a possible implementation manner, the first shape data may include distance values corresponding to a plurality of directions to be measured respectively, where each direction to be measured refers to a direction that is emitted outwards with an origin in a three-dimensional space coordinate system established by the earphone device as a center, each direction to be measured may be preset, and the distance value corresponding to the direction to be measured is a distance value between a point on a pinna of a user in the direction to be measured and the origin when the earphone device is in a wearing state.
Step S105, comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes, and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
Shape data (hereinafter referred to as second shape data) corresponding to each of a plurality of different auricle shapes may be set in advance in the headphone device. The second shape data may be in the same data form as the first shape data. For example, in a possible implementation manner, the second shape data may also include distance ranges corresponding to a plurality of directions to be measured respectively, the distance value corresponding to a certain direction to be measured in the first shape data is compared with the distance range corresponding to the direction to be measured in the second shape data, whether the distance value is within the distance range is determined, and if each distance value in the first shape data is within the corresponding distance range, it may be determined that the first shape data matches with the second shape data.
It will be appreciated that each second shape data is relative to the same spatial coordinate system as the first shape data, or that when comparing the first shape data with each second shape data, the first shape data is converted into the spatial coordinate system corresponding to the second shape data and then compared.
Further, in a possible embodiment, the step S105 includes:
step S1051, calculating an absolute value of a difference value of the distance value in the same direction between the first shape data and the target shape data, wherein the target shape data is any one shape data of the second shape data;
the first shape data and each second shape data may each include a distance value corresponding to each of a plurality of directions, and each direction may be each direction to be measured as set forth in the above embodiment.
Since the method of comparing the first shape data with each of the second shape data is the same, the description will be given taking an example of comparing the first shape data with one of the second shape data, and the second shape data will be referred to as target shape data for illustration.
Step S1052, if the absolute values of the differences corresponding to the directions are all smaller than a preset threshold, determining that the first shape data is matched with the target shape data;
the preset threshold may be set as needed, and is not limited herein.
And step S1053, using, as the target auricle shape, the auricle shape corresponding to the shape data matching the first shape data in the second shape data.
Further, in a possible embodiment, if the second shape data and the first shape data cannot match and match, the absolute values of the differences calculated by the first shape data and the target shape data may be added, the obtained result is used as the difference between the first shape data and the target shape data, and the auricle shape corresponding to the second shape data with the smallest difference between the first shape data is selected from the second shape data as the target auricle shape.
Further, in a possible implementation manner, the step S104 includes:
step S1041, controlling the rotation structure to rotate so as to drive the ranging directions of the microphone and the speaker to point to a direction to be measured;
the ultrasonic scanning device comprises a microphone, a loudspeaker and a rotating structural member, wherein the microphone and the loudspeaker are fixed on the rotating structural member. The specific structure of the shift structure is not limited in this embodiment. Each direction to be measured may be preset.
It can be understood that the rotating structural member rotates once, and the distance measuring directions of the microphone and the loudspeaker are driven to point to a direction, so that the rotating parameters of the rotating structural member corresponding to each direction to be measured can be set in advance, and when the distance value of a certain direction to be measured needs to be measured, the rotating structural member rotates according to the rotating parameters corresponding to the direction to be measured, so as to drive the microphone and the loudspeaker to rotate until the distance measuring directions point to the direction to be measured.
Step S1042, in the case that the ranging direction points to the direction to be measured, transmitting an ultrasonic signal through the speaker and receiving a reflected ultrasonic signal through the microphone, and calculating to obtain a ranging result corresponding to the direction to be measured according to the transmitted ultrasonic signal and the received ultrasonic signal;
the distance measurement result corresponding to the direction to be measured may be a distance value between a point on the auricle of the user in the direction to be measured and an origin of a three-dimensional space coordinate system established by the earphone device in a wearing state of the earphone device.
Step S1043, obtaining first shape data of the auricle of the user according to the ranging results corresponding to the multiple directions to be measured.
After measuring the ranging results corresponding to each direction to be measured, the earphone device may obtain first shape data of the auricle of the user according to each result to be measured. In a specific embodiment, each ranging result may be used as the first shape data, or each ranging result may be converted into a ranging result in a spatial coordinate system corresponding to the second shape data, and the converted ranging result may be used as the first shape data.
Further, in a possible implementation manner, the step S104 includes:
step S1044, transmitting an ultrasonic signal according to a preset phase corresponding to a direction to be tested through each speaker in the speaker surface array, and receiving an ultrasonic signal according to a preset phase corresponding to the direction to be tested through each microphone in the microphone surface array;
the ultrasonic scanning device may include a microphone face array including a plurality of microphones disposed on the same plane and a speaker face array including a plurality of speakers disposed on the same plane. The microphone face array and the speaker face array may be in the same plane. Based on the beam forming technique, the headphone device can make the ranging direction of the speaker face array point to a certain direction by controlling the phases of the respective speakers in the speaker face array. Also, based on the beam forming technique, the headphone device can make the ranging direction of the microphone face array point to a certain direction by controlling the phases of the respective microphones in the microphone face array. The phase of each microphone in the microphone face array corresponding to each direction to be measured and the phase of each loudspeaker in the loudspeaker face array can be set in advance, when a distance value in a certain direction to be measured needs to be measured, ultrasonic signals are transmitted through each loudspeaker in the loudspeaker face array according to the preset phase corresponding to the direction to be measured, and the ultrasonic signals are received through each microphone in the microphone face array according to the preset phase corresponding to the direction to be measured.
Step S1045, calculating to obtain a ranging result corresponding to the direction to be measured according to the transmitted ultrasonic signal and the received ultrasonic signal;
the distance measurement result corresponding to the direction to be measured may be a distance value between a point on the auricle of the user in the direction to be measured and an origin of a three-dimensional space coordinate system established by the earphone device in a wearing state of the earphone device.
Step S1046, obtaining first shape data of the auricle of the user according to the ranging results corresponding to the multiple directions to be measured.
After measuring the ranging results corresponding to each direction to be measured, the earphone device may obtain first shape data of the auricle of the user according to each result to be measured. In a specific embodiment, each ranging result may be used as the first shape data, or each ranging result may be converted into a ranging result in a spatial coordinate system corresponding to the second shape data, and the converted ranging result may be used as the first shape data.
Further, based on the first and/or second embodiments, a third embodiment of the noise reduction method of the present invention is provided, and in this embodiment, the step S10 includes:
step S106, sequentially taking a plurality of preset auricle shapes as test auricle shapes;
in this embodiment, an implementation of determining a target auricle shape that matches a user is also proposed. The earphone device can sequentially test the noise reduction degree which can be generated by the noise reduction parameters corresponding to the preset auricle shapes, so as to select the auricle shape with the largest noise reduction degree as the target auricle shape matched with the user. The procedure of the earphone device for testing each auricle shape is the same, and a test of one auricle shape will be described as an example, and the auricle shape will be referred to as a test auricle shape to show distinction.
Step S107, actively reducing noise by adopting noise reduction parameters preset corresponding to the shape of the test auricle, and acquiring feedback sound signals acquired by a feedback microphone in the earphone equipment;
the feedback microphone is a microphone arranged close to the ear cavity of the user in the earphone device and is used for detecting residual noise signals in the ear canal, and the sound signals detected by the feedback microphone are called feedback sound signals.
Step S108, calculating the noise reduction degree corresponding to the shape of the test auricle according to the feedback sound signal;
there are various methods for calculating the noise reduction degree from the feedback sound signal, for example, energy of the feedback sound signal may be calculated, and a negative number of the energy may be taken as the noise reduction degree.
And step S109, selecting the auricle shape with the largest noise reduction degree as a target auricle shape matched with the user according to the noise reduction degrees corresponding to the auricle shapes.
The noise reduction degree corresponding to the auricle shape is the noise reduction degree measured when the noise reduction parameters corresponding to the auricle shape are adopted for active noise reduction, and after the noise reduction degree corresponding to each auricle shape is obtained, the auricle shape with the largest noise reduction degree can be selected as the target auricle shape matched with the user, so that the earphone equipment can obtain the optimal noise reduction effect when the noise reduction parameters corresponding to the target auricle shape are adopted for active noise reduction.
The three specific implementations of determining the target auricle shape matching the user in the above embodiments may also be implemented in combination, for example, in response to a selection instruction from the user, the target auricle shape matching the user may be determined in a manner indicated by the selection instruction.
In addition, an embodiment of the present invention further provides a noise reduction device, where the noise reduction device is disposed on an earphone device, and referring to fig. 3, the noise reduction device includes:
a determining module 10 for determining a target auricle shape matched with the user from a plurality of preset auricle shapes;
the noise reduction module 20 is configured to actively reduce noise by using a noise reduction parameter preset corresponding to the shape of the target auricle.
Further, an ultrasonic scanning device is disposed on the earphone shell of the earphone device, and the determining module 10 is further configured to:
scanning first shape data of a pinna of a user by the ultrasonic scanning device in a state where the earphone device is worn;
comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes, and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
Further, the ultrasonic scanning device comprises a microphone, a speaker and a rotating structure, the microphone and the speaker being fixed to the rotating structure, the determining module 10 further being configured to:
controlling the rotation structural member to rotate so as to drive the distance measuring direction of the microphone and the loudspeaker to point to a direction to be measured;
under the condition that the ranging direction points to the direction to be measured, transmitting ultrasonic signals through the loudspeaker and receiving reflected ultrasonic signals through the microphone, and calculating to obtain a ranging result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
Further, the ultrasound scanning device comprises a microphone face array and a speaker face array, and the determining module 10 is further configured to:
transmitting ultrasonic signals according to a preset phase corresponding to a direction to be tested through each loudspeaker in the loudspeaker face array, and receiving ultrasonic signals according to a preset phase corresponding to the direction to be tested through each microphone in the microphone face array;
calculating to obtain a distance measurement result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
Further, the first shape data and each of the second shape data include distance values corresponding to a plurality of directions, and the determining module 10 is further configured to:
calculating the absolute value of a difference value of the distance value in the same direction in the first shape data and the target shape data, wherein the target shape data is any one shape data in the second shape data;
if the absolute values of the differences corresponding to the directions are smaller than a preset threshold value, determining that the first shape data are matched with the target shape data;
and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
Further, the determining module 10 is further configured to:
outputting and displaying shape information respectively corresponding to a plurality of preset auricle shapes through a user terminal connected with the earphone equipment;
receiving a user feedback instruction based on the displayed shape information feedback;
and taking the auricle shape corresponding to the shape information carried in the user feedback instruction as a target auricle shape matched with the user.
Further, the determining module 10 is further configured to:
sequentially taking a plurality of preset auricle shapes as test auricle shapes;
actively reducing noise by adopting noise reduction parameters which correspond to the shape of the test auricle and are preset, and acquiring feedback sound signals acquired by a feedback microphone in the earphone equipment;
according to the feedback sound signal, calculating to obtain the noise reduction degree corresponding to the shape of the test auricle;
and selecting the auricle shape with the largest noise reduction degree as a target auricle shape matched with the user according to the noise reduction degrees corresponding to the auricle shapes.
The expansion content of the specific implementation mode of the noise reduction device is basically the same as that of each embodiment of the noise reduction method, and the description is omitted here.
The earphone equipment comprises a structural shell, a communication module, a main control module (such as a micro control unit MCU), a loudspeaker, a microphone, a memory and the like. The main control module can comprise a microprocessor, an audio decoding unit, a power supply and power supply management unit, sensors and other active or passive devices required by the system and the like (can be replaced, deleted or added according to actual functions) so as to realize the functions of receiving and playing wireless audio. The memory of the earphone can store a noise reduction program, and the microprocessor can be used for calling the noise reduction program stored in the memory and executing the following operations:
the noise reduction method is applied to the earphone device, and comprises the following steps:
determining a target auricle shape matched with a user from a plurality of preset auricle shapes;
and actively reducing noise by adopting noise reduction parameters which correspond to the shape of the target auricle and are preset.
Further, an ultrasonic scanning device is disposed on a earphone housing of the earphone device, and the operation of determining a target auricle shape matched with the user from a plurality of preset auricle shapes comprises the following steps:
scanning first shape data of a pinna of a user by the ultrasonic scanning device in a state where the earphone device is worn;
comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes, and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
Further, the ultrasonic scanning device includes a microphone, a speaker, and a rotating structure, the microphone and the speaker being fixed to the rotating structure, and the operation of scanning the first shape data of the auricle of the user by the ultrasonic scanning device includes:
controlling the rotation structural member to rotate so as to drive the distance measuring direction of the microphone and the loudspeaker to point to a direction to be measured;
under the condition that the ranging direction points to the direction to be measured, transmitting ultrasonic signals through the loudspeaker and receiving reflected ultrasonic signals through the microphone, and calculating to obtain a ranging result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
Further, the ultrasonic scanning device includes a microphone face array and a speaker face array, and the operation of scanning the first shape data of the auricle of the user by the ultrasonic scanning device includes:
transmitting ultrasonic signals according to a preset phase corresponding to a direction to be tested through each loudspeaker in the loudspeaker face array, and receiving ultrasonic signals according to a preset phase corresponding to the direction to be tested through each microphone in the microphone face array;
calculating to obtain a distance measurement result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
Further, the first shape data and each of the second shape data include distance values corresponding to a plurality of directions, and the operation of comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes and taking, as a target auricle shape, an auricle shape corresponding to shape data matching the first shape data in each of the second shape data includes:
calculating the absolute value of a difference value of the distance value in the same direction in the first shape data and the target shape data, wherein the target shape data is any one shape data in the second shape data;
if the absolute values of the differences corresponding to the directions are smaller than a preset threshold value, determining that the first shape data are matched with the target shape data;
and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
Further, the operation of determining the target auricle shape matched with the user from the preset plurality of auricle shapes includes:
outputting and displaying shape information respectively corresponding to a plurality of preset auricle shapes through a user terminal connected with the earphone equipment;
receiving a user feedback instruction based on the displayed shape information feedback;
and taking the auricle shape corresponding to the shape information carried in the user feedback instruction as a target auricle shape matched with the user.
Further, the operation of determining the target auricle shape matched with the user from the preset plurality of auricle shapes includes:
sequentially taking a plurality of preset auricle shapes as test auricle shapes;
actively reducing noise by adopting noise reduction parameters which correspond to the shape of the test auricle and are preset, and acquiring feedback sound signals acquired by a feedback microphone in the earphone equipment;
according to the feedback sound signal, calculating to obtain the noise reduction degree corresponding to the shape of the test auricle;
and selecting the auricle shape with the largest noise reduction degree as a target auricle shape matched with the user according to the noise reduction degrees corresponding to the auricle shapes.
Embodiments of the earphone device and the computer readable storage medium of the present invention may refer to embodiments of the noise reduction method of the present invention, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method of the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A noise reduction method, wherein the noise reduction method is applied to an earphone device, the noise reduction method comprising:
determining a target auricle shape matched with a user from a plurality of preset auricle shapes;
and actively reducing noise by adopting noise reduction parameters which correspond to the shape of the target auricle and are preset.
2. The noise reduction method according to claim 1, wherein an ultrasonic scanning device is provided on an earphone housing of the earphone device, and the step of determining a target auricle shape matched with the user from among a preset plurality of auricle shapes includes:
scanning first shape data of a pinna of a user by the ultrasonic scanning device in a state where the earphone device is worn;
comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes, and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
3. The method of noise reduction according to claim 2, wherein the ultrasonic scanning device comprises a microphone, a speaker and a rotating structure, the microphone and the speaker being secured to the rotating structure, the step of scanning first shape data of the pinna of the user by the ultrasonic scanning device comprising:
controlling the rotation structural member to rotate so as to drive the distance measuring direction of the microphone and the loudspeaker to point to a direction to be measured;
under the condition that the ranging direction points to the direction to be measured, transmitting ultrasonic signals through the loudspeaker and receiving reflected ultrasonic signals through the microphone, and calculating to obtain a ranging result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
4. The method of noise reduction according to claim 2, wherein the ultrasound scanning device comprises a microphone face array and a speaker face array, and the step of scanning the first shape data of the auricle of the user by the ultrasound scanning device comprises:
transmitting ultrasonic signals according to a preset phase corresponding to a direction to be tested through each loudspeaker in the loudspeaker face array, and receiving ultrasonic signals according to a preset phase corresponding to the direction to be tested through each microphone in the microphone face array;
calculating to obtain a distance measurement result corresponding to the direction to be measured according to the transmitted ultrasonic signals and the received ultrasonic signals;
and obtaining first shape data of the auricle of the user according to the distance measurement results corresponding to the directions to be measured.
5. The noise reduction method according to claim 2, wherein the first shape data and each of the second shape data include distance values respectively corresponding to a plurality of directions, and the step of comparing the first shape data with second shape data corresponding to a plurality of preset auricle shapes, and taking, as a target auricle shape, an auricle shape corresponding to shape data matching the first shape data among the second shape data includes:
calculating the absolute value of a difference value of the distance value in the same direction in the first shape data and the target shape data, wherein the target shape data is any one shape data in the second shape data;
if the absolute values of the differences corresponding to the directions are smaller than a preset threshold value, determining that the first shape data are matched with the target shape data;
and taking the auricle shape corresponding to the shape data matched and consistent with the first shape data in the second shape data as a target auricle shape.
6. The noise reduction method according to any one of claims 1 to 5, wherein the step of determining a target auricle shape matching a user from among a preset plurality of auricle shapes includes:
outputting and displaying shape information respectively corresponding to a plurality of preset auricle shapes through a user terminal connected with the earphone equipment;
receiving a user feedback instruction based on the displayed shape information feedback;
and taking the auricle shape corresponding to the shape information carried in the user feedback instruction as a target auricle shape matched with the user.
7. The noise reduction method according to any one of claims 1 to 5, wherein the step of determining a target auricle shape matching a user from among a preset plurality of auricle shapes includes:
sequentially taking a plurality of preset auricle shapes as test auricle shapes;
actively reducing noise by adopting noise reduction parameters which correspond to the shape of the test auricle and are preset, and acquiring feedback sound signals acquired by a feedback microphone in the earphone equipment;
according to the feedback sound signal, calculating to obtain the noise reduction degree corresponding to the shape of the test auricle;
and selecting the auricle shape with the largest noise reduction degree as a target auricle shape matched with the user according to the noise reduction degrees corresponding to the auricle shapes.
8. A noise reduction device, wherein the noise reduction device is disposed in an earphone device, the noise reduction device comprising:
a determining module, configured to determine a target auricle shape matched with the user from a plurality of preset auricle shapes;
and the noise reduction module is used for actively reducing noise by adopting noise reduction parameters which correspond to the shape of the target auricle.
9. A headset device, characterized in that the headset device comprises: memory, a processor and a noise reduction program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the noise reduction method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a noise reduction program which, when executed by a processor, implements the steps of the noise reduction method according to any one of claims 1 to 7.
CN202211539014.1A 2022-12-01 2022-12-01 Noise reduction method, device, earphone device and computer readable storage medium Pending CN116156377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211539014.1A CN116156377A (en) 2022-12-01 2022-12-01 Noise reduction method, device, earphone device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211539014.1A CN116156377A (en) 2022-12-01 2022-12-01 Noise reduction method, device, earphone device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116156377A true CN116156377A (en) 2023-05-23

Family

ID=86360867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211539014.1A Pending CN116156377A (en) 2022-12-01 2022-12-01 Noise reduction method, device, earphone device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116156377A (en)

Similar Documents

Publication Publication Date Title
US11706582B2 (en) Calibrating listening devices
US10939225B2 (en) Calibrating listening devices
US9769552B2 (en) Method and apparatus for estimating talker distance
US10924877B2 (en) Audio signal processing method, terminal and storage medium thereof
US11039261B2 (en) Audio signal processing method, terminal and storage medium thereof
EP3209029A1 (en) Distributed wireless speaker system
US10932079B2 (en) Acoustical listening area mapping and frequency correction
US9826332B2 (en) Centralized wireless speaker system
EP3833057B1 (en) Headphone
CN110460721B (en) Starting method and device and mobile terminal
CN111800696B (en) Hearing assistance method, earphone, and computer-readable storage medium
WO2017135194A1 (en) Information processing device, information processing system, control method and program
WO2018048567A1 (en) Assisted near-distance communication using binaural cues
CN112672251A (en) Control method and system of loudspeaker, storage medium and loudspeaker
CN113632505A (en) Device, method, and sound system
US20220068298A1 (en) Wearable mixed sensor array for self-voice capture
CN116156377A (en) Noise reduction method, device, earphone device and computer readable storage medium
CN108574925A (en) The method and apparatus that audio signal output is controlled in virtual auditory environment
KR101525349B1 (en) System and method for providing super-directional speaker based wireless communication service network
JP2017118376A (en) Electronic equipment
Christensen et al. Measuring directional characteristics of in-ear recording devices
CN114885240A (en) Noise reduction method and device, earphone equipment and storage medium
US10785367B2 (en) Audio processing method and terminal device
CN114928785A (en) Feedback noise reduction method and device for earphone equipment, earphone equipment and storage medium
CN114760560A (en) Sound signal processing method, sound signal processing device, earphone equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination