CN113810806A - Earphone control method and device, earphone and storage medium - Google Patents

Earphone control method and device, earphone and storage medium Download PDF

Info

Publication number
CN113810806A
CN113810806A CN202010535339.7A CN202010535339A CN113810806A CN 113810806 A CN113810806 A CN 113810806A CN 202010535339 A CN202010535339 A CN 202010535339A CN 113810806 A CN113810806 A CN 113810806A
Authority
CN
China
Prior art keywords
center
ear
headset
speaker
pressure
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
CN202010535339.7A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010535339.7A priority Critical patent/CN113810806A/en
Publication of CN113810806A publication Critical patent/CN113810806A/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/1058Manufacture or assembly
    • H04R1/1075Mountings of transducers in earphones or headphones
    • 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

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)

Abstract

The disclosure relates to an earphone control method and device, an earphone and a storage medium. The method comprises the following steps: determining whether a center of the speaker is aligned with a center of an ear on which the headset is worn; when it is determined that the center of the speaker is not aligned with the center of the ear on which the headphone is worn, the center of the speaker is aligned with the center of the ear. Through the center of aligning speaker center and ear in this embodiment, can guarantee to get into the audio signal's of duct power, guarantee to listen to the effect of audio frequency, be favorable to promoting user experience.

Description

Earphone control method and device, earphone and storage medium
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to an earphone control method and apparatus, an earphone, and a storage medium.
Background
The existing headset can be manually adjusted to enable the headset to be attached to the ear of a user after the user wears the headset. However, the flexible protective layer is disposed outside the earphone, so that the user cannot perceive that the head of the earphone is completely attached to the ear, and the user feels tight while loose. Or, during the use, the user may move and the fit between the earphone and the ear may be tight and loose. If the sound waves are tight and loose, the center point of the sound waves emitted by the speaker may be deviated from the ear canal, i.e., the power of the audio entering the ear canal is reduced, which may cause the hearing to be degraded.
Disclosure of Invention
The present disclosure provides an earphone control method and apparatus, an earphone, and a storage medium to solve the disadvantages of the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided an earphone control method, adapted to a headphone, the method including:
determining whether a center of the speaker is aligned with a center of an ear on which the headset is worn;
when it is determined that the center of the speaker is not aligned with the center of the ear on which the headphone is worn, the center of the speaker is aligned with the center of the ear.
Optionally, the headset comprises a plurality of sensing devices, each sensing device being configured to obtain sensing data associated with the ear, the sensing data being used to determine whether the center of the speaker is aligned with the center of the ear on which the headset is worn.
Optionally, the plurality of sensing devices are pressure sensors, and each pressure sensor is respectively arranged at a corresponding preset position on the headset;
determining whether a center of the speaker is aligned with a center of an ear wearing the headset, comprising:
acquiring pressure values collected by pressure sensors in the headset;
determining that a center of the speaker is misaligned with a center of an ear wearing the headset when a pressure value of at least one pressure sensor is less than a corresponding preset pressure threshold; when the pressure values of all the pressure sensors exceed the corresponding preset threshold values, determining that the center of the loudspeaker is aligned with the center of the ear wearing the headset.
Optionally, after obtaining the pressure values collected by the pressure sensors in the headset, the method further includes:
comparing pressure values acquired by two first pressure sensors which are positioned on a plane where an ear belt of the headset is positioned and belong to the same side, or pressure values acquired by two second pressure sensors which are symmetrical about the plane where the ear belt is positioned and belong to the same side;
when the difference value of the two first pressure sensor pressure values exceeds a set pressure threshold value, determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset in the plane of the ear band; when the difference value of the two second pressure sensor pressure values exceeds a set pressure threshold value, determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset perpendicular to the plane of the ear band.
Optionally, the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively arranged at a corresponding preset position on the headset;
determining whether a center of the speaker is aligned with a center of an ear wearing the headset, comprising:
acquiring feature data of an ear wearing the headset based on the received ultrasonic audio signal;
acquiring feature data of a preset ear and a cosine value of the feature data of the preset ear based on the feature data of the preset ear, and taking the cosine value as the similarity of the ear and the preset ear;
determining that a center of a speaker of the headset is aligned with an entrance center of the ear canal when the similarity exceeds a preset similarity threshold; determining that a center of a speaker of the headset is misaligned with an entrance center of the ear canal when the similarity is less than the preset threshold.
Optionally, the obtaining of the feature data of the ear wearing the headset based on the received ultrasonic audio signal comprises:
sequentially acquiring the position of a reflecting point in the auditory canal corresponding to each ultrasonic audio signal; the ultrasonic audio signal is obtained by receiving ultrasonic waves in the ear by an ultrasonic receiver in the earphone and converting the ultrasonic signals;
constructing a 3D image of the ear according to the positions of the reflection points corresponding to the ultrasonic audio signals based on the positions and the transmission angles of the ultrasonic transmitters;
respectively acquiring characteristic parameter values of a preset number of designated positions on the 3D image;
and constructing a feature matrix of the 3D image according to the feature parameter values of the preset number of designated positions, and taking the feature matrix as feature data of the ear.
Optionally, aligning a center of the speaker with a center of the ear, comprises:
controlling a first drive assembly to adjust the orientation of the headset until the pressure values of all pressure sensors stop exceeding the corresponding preset thresholds to align the center of the speaker with the center of the ear.
Optionally, aligning a center of the speaker with a center of the ear, comprises:
controlling a second drive assembly to adjust an orientation of a speaker in the headset to align a center of the speaker with a center of the ear.
According to a second aspect of the embodiments of the present disclosure, there is provided a headphone control device adapted to a headphone, the device including:
a determining module to determine whether a center of the speaker is aligned with a center of an ear wearing the headset;
an alignment module to align a center of the speaker with a center of an ear wearing the headset when it is determined that the center of the speaker is not aligned with the center of the ear.
Optionally, the headset comprises a plurality of sensing devices, each sensing device being configured to obtain sensing data associated with the ear, the sensing data being used to determine whether the center of the speaker is aligned with the center of the ear on which the headset is worn.
Optionally, the plurality of sensing devices are pressure sensors, and each pressure sensor is respectively arranged at a corresponding preset position on the headset; the determining module comprises:
the pressure value acquisition unit is used for acquiring pressure values acquired by pressure sensors in the headset;
an alignment determination unit for determining that the center of the speaker is not aligned with the center of the ear wearing the headset when the pressure value of at least one pressure sensor is less than a corresponding preset threshold value; when the pressure values of all the pressure sensors exceed the corresponding preset threshold values, determining that the center of the loudspeaker is aligned with the center of the ear wearing the headset.
Optionally, the determining module further comprises:
the pressure value comparison unit is used for comparing pressure values acquired by two first pressure sensors which are positioned on a plane where an ear belt of the headset is positioned and belong to the same side, or pressure values acquired by two second pressure sensors which are symmetrical about the plane where the ear belt is positioned and belong to the same side;
the alignment determining unit is further used for determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset in the plane of the ear band when the difference value of the two pressure values of the first pressure sensor exceeds a set pressure threshold value; when the difference value of the two second pressure sensor pressure values exceeds a set pressure threshold value, determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset perpendicular to the plane of the ear band.
Optionally, the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively arranged at a corresponding preset position on the headset; the determining module comprises:
a feature data acquisition unit configured to acquire feature data of an ear wearing the headphone based on the received ultrasonic audio signal;
the similarity obtaining unit is used for obtaining the feature data of the ear and the cosine value of the feature data of the preset ear based on the feature data of the preset ear, and taking the cosine value as the similarity of the ear and the preset ear;
a center alignment determination unit for determining that a center of a speaker of the headphone is aligned with an entrance center of the ear canal when the similarity exceeds a preset threshold; determining that a center of a speaker of the headset is misaligned with an entrance center of the ear canal when the similarity is less than the preset threshold.
Optionally, the feature data acquiring unit includes:
the reflection point acquisition subunit is used for sequentially acquiring the reflection point positions of the ultrasonic audio signals corresponding to the auditory canals; the ultrasonic audio signal is obtained by receiving ultrasonic waves in the ear by an ultrasonic receiver in the earphone and converting the ultrasonic signals;
the 3D image acquisition subunit is used for constructing a 3D image of the ear according to the positions of the reflection points corresponding to the ultrasonic audio signals on the basis of the positions and the transmission angles of the ultrasonic transmitters;
the parameter value acquisition subunit is used for respectively acquiring the characteristic parameter values of a preset number of designated positions on the 3D image;
and the characteristic data acquisition subunit is used for constructing a characteristic matrix of the 3D image according to the characteristic parameter values of the preset number of designated positions, and taking the characteristic matrix as the characteristic data of the ear.
Optionally, the alignment module comprises:
the first driving unit is used for controlling the first driving assembly to adjust the orientation of the headset until the pressure values of all the pressure sensors exceed the corresponding preset threshold value, and the first driving assembly stops adjusting the orientation of the headset until the pressure values of all the pressure sensors exceed the corresponding preset threshold value, so that the centers of the loudspeakers and the centers of the ears are aligned.
Optionally, the alignment module further comprises:
a second control unit for controlling a second drive assembly to adjust the orientation of the speakers in the headset to align the centers of the speakers with the centers of the ears.
According to a third aspect of embodiments of the present disclosure, there is provided a headphone, including:
a plurality of sensing devices, each sensing device configured to obtain sensing data with the ear, the sensing data being used to determine whether a center of the speaker is aligned with a center of the ear on which the headset is worn;
a speaker for emitting ultrasonic waves and sound waves;
a first drive assembly for driving the head of the headset to rotate about an earband or about a fixed axis of the head;
a memory for storing a processor executable program;
a processor for executing an executable program to implement the steps of the above-described method.
Optionally, a second drive assembly is included for rotation of the loudspeaker about its central axis.
Optionally, the plurality of sensing devices are pressure sensors, and each pressure sensor is respectively arranged at a corresponding preset position on the headset; or, the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively arranged at a corresponding preset position on the headset.
According to a fourth aspect of embodiments of the present disclosure, there is provided a readable storage medium having stored thereon an executable program which, when executed, performs the steps of the above method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
as can be seen from the above embodiments, in the embodiments of the present disclosure, it may be determined whether the center of the speaker is aligned with the center of the ear on which the headphone is worn; when it is determined that the center of the speaker is not aligned with the center of the ear on which the headphone is worn, the center of the speaker is aligned with the center of the ear. Like this, through the center of aligning speaker center and ear in this embodiment, can guarantee to get into the audio signal's of duct power, guarantee to listen to the effect of audio frequency, be favorable to promoting user experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a headset control method according to an exemplary embodiment.
FIG. 2 is a diagram illustrating an application scenario in accordance with an exemplary embodiment.
Fig. 3 is a flow chart illustrating another headphone control method according to an example embodiment.
Fig. 4 is a flow chart illustrating yet another headphone control method according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a headphone control device according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The following exemplary described embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
The existing headset can be manually adjusted to enable the headset to be attached to the ear of a user after the user wears the headset. However, the flexible protective layer is disposed outside the earphone, so that the user cannot perceive that the head of the earphone is completely attached to the ear, and the user feels tight while loose. Or, during the use, the user may move and the fit between the earphone and the ear may be tight and loose. If the sound waves are tight and loose, the center point of the sound waves emitted by the speaker may be deviated from the ear canal, i.e., the power of the audio entering the ear canal is reduced, which may cause the hearing to be degraded.
Fig. 1 is a flow chart illustrating an earphone control method according to an exemplary embodiment, which is suitable for the headset shown in fig. 2. Referring to fig. 2, the headset includes a headband 1 and a head 2, and further includes a plurality of pressure sensors 3, each of which is disposed at a predetermined position, and a first driving assembly for controlling the orientation of the head of the headset and a second driving assembly (not shown) for adjusting the orientation of a speaker.
It should be noted that the headset further includes a plurality of sensing devices, each of the sensing devices is set to a corresponding preset position, and is used to obtain sensing data about the ear, and the sensing data is used to determine whether the center of the speaker is aligned with the center of the ear on which the headset is worn. In an example, the plurality of sensing devices are pressure sensors, each of which may collect a pressure value between a preset position of the headset head and the ear. In another example, the plurality of sensing devices may be ultrasonic receivers, each for receiving an ultrasonic audio signal returned by the ear. The function of the pressure value and the ultrasonic audio signal will be described in the following embodiments.
It should be noted that the number of the pressure sensors may be set according to a specific scenario, for example, the headset may be provided with 4 pressure sensors, wherein 2 pressure sensors are respectively disposed on a straight line intersecting a plane where the head of the headset is located and a plane where the headband is located, and the other 2 pressure sensors may be disposed at symmetrical positions with respect to the plane where the headband is located, or the head of the headset is an elliptical component, and one pressure sensor is disposed at each of vertex positions of a major axis and a minor axis of the elliptical component. Similarly, the number of the ultrasonic receivers can be set according to a specific scene, and the specific number and the setting mode can refer to the related art, which is not described in detail herein. It should be noted that the number of the first driving assemblies may be set according to a specific scenario. For example, the driving assembly is implemented by 2 stepping motors, wherein 1 stepping motor is used for driving the headset head to rotate around the headband as an axis, the rotation direction is the direction R1 shown in fig. 2, and at this time, the front and back fit pressure of the headset head and the ear can be adjusted; the other 1 stepping motor is used for driving the earphone head to rotate around a fixed shaft vertical to the headband, and the rotating direction is shown as a direction R2 in fig. 2, so that the upper and lower attaching pressure of the earphone head and the ear can be adjusted. The number of second driving assemblies can be set according to a specific scenario, for example, 1 step motor is provided, so that the speaker in the earphone can move around the central axis of the speaker, and the rotation direction is the direction R3 shown in fig. 2.
Referring to fig. 1, a headphone control method includes steps 11 and 12, wherein:
in step 11, it is determined whether the center of the speaker is aligned with the center of the ear wearing the headphone.
In this embodiment, the processor in the headset may acquire whether the speaker center is aligned with the center of the ear, including:
in an example, when the headset is worn, the headset may be tight and loose, and the audio signal emitted by the speaker is no longer parallel to the ear canal due to a certain included angle formed between the plane of the headset head or the plane of the speaker surface and the plane of the ear, that is, the audio signal cannot be directly incident into the ear canal. Thus, referring to fig. 3, in step 31, the processor in the headset may obtain the pressure values collected by the pressure sensors. For example, each pressure sensor in the headset collects a pressure value according to a set period, and the pressure value is used for representing the pressure between the head of the headset and the head of the headset when the headset is worn and fitted. The processor in the headset can be connected with each pressure sensor to acquire the pressure value acquired by the pressure sensor, and the acquisition mode comprises receiving the pressure value reported by the pressure sensor or reading the pressure value from a local memory. In step 32, a preset threshold value of each pressure sensor may be stored in the headset in advance, and in practical applications, the preset threshold value may be set according to the installation position of each pressure sensor, for example, the preset threshold value of the pressure sensor in the front position (close to the face of the user) of the left channel headset in the headset may be larger than the preset threshold value of the pressure sensor in the rear position (close to the back brain of the user) because the headset is usually tilted forward during wearing. After the processor obtains the pressure values of the pressure sensors, the pressure values and the corresponding preset threshold values can be compared; determining that a center of the speaker is misaligned with a center of an ear wearing the headset when a pressure value of the at least one pressure sensor is less than a corresponding preset threshold value; when the pressure values of all the pressure sensors exceed the corresponding preset threshold values, it is determined that the center of the speaker is aligned with the center of the ear on which the headphone is worn.
In another example, the headset may have an ultrasonic receiver at a predetermined location, and the processor may control the speaker to emit an ultrasonic audio signal that returns to form an ultrasonic audio signal upon encountering an inner wall of the pinna, ear canal, and/or eardrum. Thus, the ultrasonic receiver can receive the ultrasonic audio signal. Referring to fig. 4, in step 41, the processor may acquire feature data of the ear wearing the headset based on the received ultrasonic audio signal. For example, the processor may sequentially acquire the location of the reflection point in the ear canal corresponding to the ultrasonic audio signal received by each ultrasonic receiver. The processor may then construct a 3D image of the ear based on the mounting location of the ultrasonic transmitter and the corresponding reflection point location for each ultrasonic audio signal. The method for constructing the 3D image may refer to related technologies, and is not described herein again.
The processor may obtain the characteristic parameter values of a preset number of designated positions on the 3D image, respectively. The characteristic parameter values may include a distance between a designated position and the ultrasonic transmitter, and a curvature (or a slope) of the designated position, and may be selected according to a specific scene. In addition, the number and the positions of the designated positions can be set according to specific scenes, for example, more positions can be designated on the protruded positions in the auditory canal, and less positions can be designated on the straighter positions, namely, the designated positions select the turning positions in the auditory canal as much as possible. The processor can construct a feature matrix of the 3D image according to the feature parameter values of the preset number of designated positions, and the feature matrix is used as feature data of the ear.
It will be appreciated that where the specified locations and the values of the characteristic parameters for each of the specified locations are known, a multi-dimensional matrix of characteristic parameter values can be formed in the order of the specified locations. For example, position 1 is specified, with the characteristic parameter values { x11, x12, x13 }; specifying the position 2, the characteristic parameter values { x21, x22, x23}, … …, specifying the position n, and the characteristic parameter values { xn1, xn2, xn3}, then obtaining the characteristic data as:
Figure BDA0002536860900000101
in another example, the processor may acquire spatial coordinates of a preset number of designated positions on the 3D image, respectively. For each designated position, the processor may obtain a distance between the designated position and each other designated position, and obtain a distance set corresponding to the designated position. And constructing a feature matrix of the 3D image according to each designated position and the distance set corresponding to the designated position, and taking the feature matrix as feature data of the ear.
Taking 4 designated positions as an example, the distance set corresponding to the designated position 1 is { x11, x12, x13, x14 }; the distance set corresponding to the designated position 2 is { x21, x22, x23, x24}, the distance set corresponding to the designated position 3 is { x31, x32, x33, x34}, the distance set corresponding to the designated position 4 is { x41, x42, x43, x44}, and the obtained ear feature data is:
Figure BDA0002536860900000102
and when the designated position coincides with the self position, the value is 0, and if x22 is zero.
In practical applications, the headset may have stored therein characteristic data of a predetermined ear. For example, the headset may transmit ultrasonic waves to acquire ear feature data after the headset is worn by a user, and the ear feature data is used as the ear feature data of the preset ear. For another example, when configuring the headset, the user is guided to perform corresponding configuration operations, and when the user determines that the audio listening effect is good, the feature data is acquired as the feature data of the preset ear.
In step 42, the processor may obtain the feature data of the ear and the cosine value of the feature data of the preset ear based on the feature data of the preset ear, and use the cosine value as the similarity between the ear and the preset ear. The cosine value may be calculated by referring to the related art, which is not described herein again.
In step 43, the processor obtains a preset similarity threshold, compares the similarity with the preset similarity threshold, and determines that the center of the speaker of the headset is aligned with the center of the entrance of the ear canal when the similarity exceeds the preset similarity threshold; determining that a center of a speaker of the headset is misaligned with an entrance center of the ear canal when the similarity is less than the preset threshold.
That is, whether or not a partial reflection point of the ear is not detected is determined by determining the similarity of the ear with a preset ear through the ultrasonic audio signal, so that it can be determined whether or not the headphone is tilted.
In step 12, when it is determined that the center of the speaker is not aligned with the center of the ear on which the headphone is worn, the center of the speaker is aligned with the center of the ear.
In this embodiment, when the processor determines that the center of the speaker is not aligned with the center of the ear, the aligning the center of the speaker with the center of the ear may include:
in an example, the orientation of the head of the headset is adjusted. The processor may control the first drive assembly to adjust the orientation of the headset, for example, to adjust the headset head tilt angle back and forth and/or tilt angle up and down, etc., until the pressure values of all the pressure sensors stop exceeding the corresponding preset thresholds to align the centers of the speakers with the centers of the ears.
In another example, the orientation of the speaker is adjusted. The processor may control the second driving means to adjust the orientation of the speaker such that the center of the speaker is directed towards the center of the ear canal, i.e. to align the center of the speaker towards the center of the ear canal. Therefore, the audio signal can be directly incident into the auditory canal, the attenuation of the audio signal is reduced, and the effect of listening to the audio is ensured.
To this end, in the embodiments of the present disclosure, it may be determined whether the center of the speaker is aligned with the center of the ear on which the headphone is worn; when it is determined that the center of the speaker is not aligned with the center of the ear on which the headphone is worn, the center of the speaker is aligned with the center of the ear. Like this, through the center of aligning speaker center and ear in this embodiment, can guarantee to get into the audio signal's of duct power, guarantee to listen to the effect of audio frequency, be favorable to promoting user experience.
Fig. 5 is a block diagram illustrating a headset control device adapted for use with a headset according to an exemplary embodiment, the device comprising:
a determining module 51 for determining whether the center of the speaker is aligned with the center of the ear wearing the headphone;
an aligning module 52 for aligning the center of the speaker with the center of the ear when it is determined that the center of the speaker is not aligned with the center of the ear on which the headphone is worn.
In an embodiment, the headset comprises a plurality of sensing devices, each sensing device being configured to obtain sensing data with the ear, the sensing data being configured to determine whether a center of the speaker is aligned with a center of the ear on which the headset is worn.
In an embodiment, the plurality of sensing devices are pressure sensors, and each pressure sensor is respectively arranged at a corresponding preset position on the headset; the determining module comprises:
the pressure value acquisition unit is used for acquiring pressure values acquired by pressure sensors in the headset;
an alignment determination unit for determining that the center of the speaker is not aligned with the center of the ear wearing the headset when the pressure value of at least one pressure sensor is less than a corresponding preset threshold value; when the pressure values of all the pressure sensors exceed the corresponding preset threshold values, determining that the center of the loudspeaker is aligned with the center of the ear wearing the headset.
In one embodiment, the determining module further comprises:
the pressure value comparison unit is used for comparing pressure values acquired by two first pressure sensors which are positioned on a plane where an ear belt of the headset is positioned and belong to the same side, or pressure values acquired by two second pressure sensors which are symmetrical about the plane where the ear belt is positioned and belong to the same side;
the alignment determining unit is further used for determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset in the plane of the ear band when the difference value of the two pressure values of the first pressure sensor exceeds a set pressure threshold value; when the difference value of the two second pressure sensor pressure values exceeds a set pressure threshold value, determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset perpendicular to the plane of the ear band.
In an embodiment, the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively arranged at a corresponding preset position on the headset; the determining module comprises:
a feature data acquisition unit configured to acquire feature data of an ear wearing the headphone based on the received ultrasonic audio signal;
the similarity obtaining unit is used for obtaining the feature data of the ear and the cosine value of the feature data of the preset ear based on the feature data of the preset ear, and taking the cosine value as the similarity of the ear and the preset ear;
a center alignment determination unit for determining that a center of a speaker of the headphone is aligned with an entrance center of the ear canal when the similarity exceeds a preset threshold; determining that a center of a speaker of the headset is misaligned with an entrance center of the ear canal when the similarity is less than the preset threshold.
In one embodiment, the feature data acquiring unit includes:
the reflection point acquisition subunit is used for sequentially acquiring the reflection point positions of the ultrasonic audio signals corresponding to the auditory canals; the ultrasonic audio signal is obtained by receiving ultrasonic waves in the ear by an ultrasonic receiver in the earphone and converting the ultrasonic signals;
the 3D image acquisition subunit is used for constructing a 3D image of the ear according to the positions of the reflection points corresponding to the ultrasonic audio signals on the basis of the positions and the transmission angles of the ultrasonic transmitters;
the parameter value acquisition subunit is used for respectively acquiring the characteristic parameter values of a preset number of designated positions on the 3D image;
and the characteristic data acquisition subunit is used for constructing a characteristic matrix of the 3D image according to the characteristic parameter values of the preset number of designated positions, and taking the characteristic matrix as the characteristic data of the ear.
In one embodiment, the alignment module comprises:
the first driving unit is used for controlling the first driving assembly to adjust the orientation of the headset until the pressure values of all the pressure sensors exceed the corresponding preset threshold value, and the first driving assembly stops adjusting the orientation of the headset until the pressure values of all the pressure sensors exceed the corresponding preset threshold value, so that the centers of the loudspeakers and the centers of the ears are aligned.
In one embodiment, the alignment module further comprises:
a second control unit for controlling a second drive assembly to adjust the orientation of the speakers in the headset to align the centers of the speakers with the centers of the ears.
It can be understood that the apparatuses provided in the embodiments of the present disclosure correspond to the embodiments of the methods described above, and specific contents may refer to the contents of the embodiments of the methods, which are not described herein again.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 600 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, an exercise device, a personal digital assistant, etc., that includes a transmitting coil in a headset control device, a first magnetic sensor, and a second magnetic sensor.
Referring to fig. 6, electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, a communication component 616, and an image capture component 618.
The processing component 602 generally controls the overall operation of the processing electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices 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 memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of electronic device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the target object. 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 touch screen to receive an input signal from a target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals. In addition, the audio component 610 may also be a headset as illustrated in fig. 1 or fig. 3, and the processor MCU in the headset may implement the steps of the above method.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor component 614 may detect an open/closed state of the electronic device 600, the relative positioning of components, such as a display and keypad of the electronic device 600, the sensor component 614 may also detect a change in the position of the electronic device 600 or a component, the presence or absence of a target object in contact with the electronic device 600, orientation or acceleration/deceleration of the electronic device 600, and a change in the temperature of the electronic device 600.
The communication component 616 is configured to facilitate communications between the electronic device 600 and other devices in a wired or wireless manner. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. 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.
In an exemplary embodiment, the electronic device 600 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, micro-controllers, microprocessors, or other electronic components.
In an exemplary embodiment, there is also provided a headphone, characterized by comprising:
a plurality of sensing devices, each sensing device configured to obtain sensing data with the ear, the sensing data being used to determine whether a center of the speaker is aligned with a center of the ear on which the headset is worn;
a speaker for emitting ultrasonic waves and sound waves;
a first drive assembly for driving the head of the headset to rotate about an earband or about a fixed axis of the head;
a memory for storing a processor executable program;
a processor for executing an executable program to implement the steps of the above-described method.
In an embodiment, a second drive assembly is further included for rotation of the speaker about its central axis.
In an embodiment, the plurality of sensing devices are pressure sensors, and each pressure sensor is respectively arranged at a corresponding preset position on the headset; or, the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively arranged at a corresponding preset position on the headset.
The modifications made to one of the headphone control methods shown in fig. 1 have been described in describing the headphone shown in fig. 2, and will not be described in detail herein.
In an exemplary embodiment, a non-transitory readable storage medium is also provided that includes an executable program, such as memory 604 storing the executable program, which is executable by a processor within the audio component. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosed solution following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

1. An earphone control method, adapted for use with a headphone, the method comprising:
determining whether a center of the speaker is aligned with a center of an ear on which the headset is worn;
when it is determined that the center of the speaker is not aligned with the center of the ear on which the headphone is worn, the center of the speaker is aligned with the center of the ear.
2. The headphone control method according to claim 1, wherein the headphone includes a plurality of sensing devices, each sensing device being configured to acquire sensing data with the ear, the sensing data being configured to determine whether a center of the speaker is aligned with a center of the ear on which the headphone is worn.
3. The earphone control method according to claim 2, wherein the plurality of sensing devices are pressure sensors, and each pressure sensor is respectively arranged at a corresponding preset position on the headphone;
determining whether a center of the speaker is aligned with a center of an ear wearing the headset, comprising:
acquiring pressure values collected by pressure sensors in the headset;
determining that a center of the speaker is misaligned with a center of an ear wearing the headset when a pressure value of at least one pressure sensor is less than a corresponding preset pressure threshold; when the pressure values of all the pressure sensors exceed the corresponding preset threshold values, determining that the center of the loudspeaker is aligned with the center of the ear wearing the headset.
4. The headphone control method according to claim 3, wherein after obtaining the pressure values collected by the pressure sensors in the headphones, the method further comprises:
comparing pressure values acquired by two first pressure sensors which are positioned on a plane where an ear belt of the headset is positioned and belong to the same side, or pressure values acquired by two second pressure sensors which are symmetrical about the plane where the ear belt is positioned and belong to the same side;
when the difference value of the two first pressure sensor pressure values exceeds a set pressure threshold value, determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset in the plane of the ear band; when the difference value of the two second pressure sensor pressure values exceeds a set pressure threshold value, determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset perpendicular to the plane of the ear band.
5. The earphone control method according to claim 2, wherein the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively arranged at a corresponding preset position on the headset;
determining whether a center of the speaker is aligned with a center of an ear wearing the headset, comprising:
acquiring feature data of an ear wearing the headset based on the received ultrasonic audio signal;
acquiring feature data of a preset ear and a cosine value of the feature data of the preset ear based on the feature data of the preset ear, and taking the cosine value as the similarity of the ear and the preset ear;
determining that a center of a speaker of the headset is aligned with an entrance center of the ear canal when the similarity exceeds a preset similarity threshold; determining that a center of a speaker of the headset is misaligned with an entrance center of the ear canal when the similarity is less than the preset threshold.
6. The headphone control method according to claim 5, wherein acquiring the feature data of the ear wearing the headphone based on the received ultrasonic audio signal includes:
sequentially acquiring the position of a reflecting point in the auditory canal corresponding to each ultrasonic audio signal; the ultrasonic audio signal is obtained by receiving ultrasonic waves in the ear by an ultrasonic receiver in the earphone and converting the ultrasonic signals;
constructing a 3D image of the ear according to the positions of the reflection points corresponding to the ultrasonic audio signals based on the positions and the transmission angles of the ultrasonic transmitters;
respectively acquiring characteristic parameter values of a preset number of designated positions on the 3D image;
and constructing a feature matrix of the 3D image according to the feature parameter values of the preset number of designated positions, and taking the feature matrix as feature data of the ear.
7. The headphone control method of any of claims 1-6, wherein aligning the center of the speaker with the center of the ear comprises:
controlling a first drive assembly to adjust the orientation of the headset until the pressure values of all pressure sensors stop exceeding the corresponding preset thresholds to align the center of the speaker with the center of the ear.
8. The headphone control method of any of claims 1-6, wherein aligning the center of the speaker with the center of the ear comprises:
controlling a second drive assembly to adjust an orientation of a speaker in the headset to align a center of the speaker with a center of the ear.
9. An earphone control device adapted for use with a headphone, the device comprising:
a determining module to determine whether a center of the speaker is aligned with a center of an ear wearing the headset;
an alignment module to align a center of the speaker with a center of an ear wearing the headset when it is determined that the center of the speaker is not aligned with the center of the ear.
10. The headset control device of claim 9, wherein the headset includes a plurality of sensing devices, each sensing device configured to obtain sensing data associated with the ear, the sensing data configured to determine whether a center of the speaker is aligned with a center of the ear on which the headset is worn.
11. The earphone control device according to claim 10, wherein the plurality of sensing devices are pressure sensors, and each pressure sensor is respectively disposed at a corresponding preset position on the headphone; the determining module comprises:
the pressure value acquisition unit is used for acquiring pressure values acquired by pressure sensors in the headset;
an alignment determination unit for determining that the center of the speaker is not aligned with the center of the ear wearing the headset when the pressure value of at least one pressure sensor is less than a corresponding preset threshold value; when the pressure values of all the pressure sensors exceed the corresponding preset threshold values, determining that the center of the loudspeaker is aligned with the center of the ear wearing the headset.
12. The headphone control apparatus as recited in claim 11, wherein the determining means further comprises:
the pressure value comparison unit is used for comparing pressure values acquired by two first pressure sensors which are positioned on a plane where an ear belt of the headset is positioned and belong to the same side, or pressure values acquired by two second pressure sensors which are symmetrical about the plane where the ear belt is positioned and belong to the same side;
the alignment determining unit is further used for determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset in the plane of the ear band when the difference value of the two pressure values of the first pressure sensor exceeds a set pressure threshold value; when the difference value of the two second pressure sensor pressure values exceeds a set pressure threshold value, determining that the center of the loudspeaker is not aligned with the center of the ear wearing the headset and is offset perpendicular to the plane of the ear band.
13. The earphone control device according to claim 10, wherein the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively disposed at a corresponding preset position on the headphone; the determining module comprises:
a feature data acquisition unit configured to acquire feature data of an ear wearing the headphone based on the received ultrasonic audio signal;
the similarity obtaining unit is used for obtaining the feature data of the ear and the cosine value of the feature data of the preset ear based on the feature data of the preset ear, and taking the cosine value as the similarity of the ear and the preset ear;
a center alignment determination unit for determining that a center of a speaker of the headphone is aligned with an entrance center of the ear canal when the similarity exceeds a preset threshold; determining that a center of a speaker of the headset is misaligned with an entrance center of the ear canal when the similarity is less than the preset threshold.
14. The headphone control device according to claim 13, wherein the feature data acquisition unit includes:
the reflection point acquisition subunit is used for sequentially acquiring the reflection point positions of the ultrasonic audio signals corresponding to the auditory canals; the ultrasonic audio signal is obtained by receiving ultrasonic waves in the ear by an ultrasonic receiver in the earphone and converting the ultrasonic signals;
the 3D image acquisition subunit is used for constructing a 3D image of the ear according to the positions of the reflection points corresponding to the ultrasonic audio signals on the basis of the positions and the transmission angles of the ultrasonic transmitters;
the parameter value acquisition subunit is used for respectively acquiring the characteristic parameter values of a preset number of designated positions on the 3D image;
and the characteristic data acquisition subunit is used for constructing a characteristic matrix of the 3D image according to the characteristic parameter values of the preset number of designated positions, and taking the characteristic matrix as the characteristic data of the ear.
15. A headset control device according to any of claims 9 to 14, characterised in that the alignment module comprises:
the first driving unit is used for controlling the first driving assembly to adjust the orientation of the headset until the pressure values of all the pressure sensors exceed the corresponding preset threshold value, and the first driving assembly stops adjusting the orientation of the headset until the pressure values of all the pressure sensors exceed the corresponding preset threshold value, so that the centers of the loudspeakers and the centers of the ears are aligned.
16. A headset control device according to any of claims 9 to 14, wherein the alignment module further comprises:
a second control unit for controlling a second drive assembly to adjust the orientation of the speakers in the headset to align the centers of the speakers with the centers of the ears.
17. A headset, comprising:
a plurality of sensing devices, each sensing device configured to obtain sensing data with the ear, the sensing data being used to determine whether a center of the speaker is aligned with a center of the ear on which the headset is worn;
a speaker for emitting ultrasonic waves and sound waves;
a first drive assembly for driving the head of the headset to rotate about an earband or about a fixed axis of the head;
a memory for storing a processor executable program;
a processor for executing an executable program to implement the steps of the method of any one of claims 1 to 8.
18. The headset of claim 17, further comprising a second drive assembly for rotation of the speaker about its central axis.
19. The headset of claim 17, wherein the plurality of sensing devices are pressure sensors, and each pressure sensor is disposed at a corresponding predetermined position on the headset; or, the plurality of sensing devices are ultrasonic receivers, and each ultrasonic receiver is respectively arranged at a corresponding preset position on the headset.
20. A readable storage medium having stored thereon an executable program, wherein the executable program when executed performs the steps of the method of any one of claims 1 to 8.
CN202010535339.7A 2020-06-12 2020-06-12 Earphone control method and device, earphone and storage medium Pending CN113810806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010535339.7A CN113810806A (en) 2020-06-12 2020-06-12 Earphone control method and device, earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010535339.7A CN113810806A (en) 2020-06-12 2020-06-12 Earphone control method and device, earphone and storage medium

Publications (1)

Publication Number Publication Date
CN113810806A true CN113810806A (en) 2021-12-17

Family

ID=78892110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010535339.7A Pending CN113810806A (en) 2020-06-12 2020-06-12 Earphone control method and device, earphone and storage medium

Country Status (1)

Country Link
CN (1) CN113810806A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710726A (en) * 2022-03-31 2022-07-05 歌尔股份有限公司 Center positioning method and device of intelligent wearable device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710726A (en) * 2022-03-31 2022-07-05 歌尔股份有限公司 Center positioning method and device of intelligent wearable device and storage medium
CN114710726B (en) * 2022-03-31 2024-04-30 歌尔股份有限公司 Center positioning method and device of intelligent wearable device and storage medium

Similar Documents

Publication Publication Date Title
US10405081B2 (en) Intelligent wireless headset system
EP3163748A2 (en) Method, device and terminal for adjusting volume
CN107493500B (en) Multimedia resource playing method and device
CN107920263B (en) Volume adjusting method and device
CN105487657A (en) Sound loudness determination method and apparatus
US20140198934A1 (en) Customization of adaptive directionality for hearing aids using a portable device
US20230209297A1 (en) Sound box position adjustment method, audio rendering method, and apparatus
US20230054865A1 (en) Volume Adjustment Method and Device, and System
KR20230009487A (en) Active noise canceling method and apparatus
CN113099336B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
CN110392334B (en) Microphone array audio signal self-adaptive processing method, device and medium
CN113810806A (en) Earphone control method and device, earphone and storage medium
CN111510846B (en) Sound field adjusting method and device and storage medium
CN114390426A (en) Volume calibration method and device
CN113099358B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
US11902754B2 (en) Audio processing method, apparatus, electronic device and storage medium
US20240053460A1 (en) Device location determining method, apparatus, and system
CN113596662B (en) Method for suppressing howling, device for suppressing howling, earphone, and storage medium
CN115278441A (en) Voice detection method, device, earphone and storage medium
CN113766402B (en) Hearing aid method and device for improving environmental adaptability
CN111953369A (en) Output power adjusting method and device suitable for intercom device and intercom device
CN112118502B (en) Earphone control method, device, equipment and storage medium
CN114845203B (en) Playing control method, device and equipment of capacitive earphone and storage medium
EP4322548A1 (en) Earphone controlling method and apparatus, and storage medium
CN116088786A (en) Audio playing method, device, electronic 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