CN108777827B - Wireless earphone, volume adjusting method and related product - Google Patents

Wireless earphone, volume adjusting method and related product Download PDF

Info

Publication number
CN108777827B
CN108777827B CN201810612512.1A CN201810612512A CN108777827B CN 108777827 B CN108777827 B CN 108777827B CN 201810612512 A CN201810612512 A CN 201810612512A CN 108777827 B CN108777827 B CN 108777827B
Authority
CN
China
Prior art keywords
user
wireless headset
volume
wireless
target
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.)
Expired - Fee Related
Application number
CN201810612512.1A
Other languages
Chinese (zh)
Other versions
CN108777827A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810612512.1A priority Critical patent/CN108777827B/en
Publication of CN108777827A publication Critical patent/CN108777827A/en
Application granted granted Critical
Publication of CN108777827B publication Critical patent/CN108777827B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices
    • H03G3/3005Automatic control in amplifiers having semiconductor devices in amplifiers suitable for low-frequencies, e.g. audio amplifiers
    • 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)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Headphones And Earphones (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application discloses a wireless earphone, a volume adjusting method and a related product, wherein the method comprises the following steps: when the wireless earphone is in a worn state, acquiring environmental information; determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period; when it is determined that the second user is present, decreasing a playback volume of the wireless headset. The embodiment of the application realizes the automatic control of the wireless earphone, and is favorable for improving the convenience and intelligence of the control of the wireless earphone.

Description

Wireless earphone, volume adjusting method and related product
Technical Field
The application relates to the technical field of wireless earphones, in particular to a wireless earphone, a volume adjusting method and a related product.
Background
With the widespread use of electronic devices (e.g., smart phones), the demand for external devices (e.g., earphones) that can be supported by the electronic devices is increasing, and people have become accustomed to performing various entertainment activities, such as playing games, listening to music, etc., by wearing earphones in various situations.
At present, when a user plays a game or listens to music while wearing an earphone, the situation that other people and the user live but the user cannot timely perceive the situation often exists, so that the speaking content of other people is missed, and the user cannot politely make a response according to the speaking content.
Disclosure of Invention
The embodiment of the application provides a wireless earphone, a volume adjusting method and a related product, which aim to realize automatic control of the wireless earphone and are beneficial to improving the convenience and intelligence of wireless earphone control.
In a first aspect, embodiments of the present application provide a wireless headset, a processor, and a memory connected to the processor, wherein,
the memory is used for storing a preset time period;
the processor is used for acquiring environment information when the wireless earphone is in a worn state; the wireless earphone is used for receiving the environment information of the first user, and determining whether a second user exists according to the environment information, wherein the second user is a user speaking to the first user wearing the wireless earphone within the preset time period; and means for reducing a playback volume of the wireless headset when the second user is determined to be present.
In a second aspect, an embodiment of the present application provides a volume adjustment method, which is applied to a wireless headset, and the method includes:
when the wireless earphone is in a worn state, acquiring environmental information;
determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
when it is determined that the second user is present, decreasing a playback volume of the wireless headset.
In a third aspect, an embodiment of the present application provides a volume adjustment device, which is applied to a wireless headset, and includes an obtaining unit, a determining unit, and an adjusting unit,
the acquisition unit is used for acquiring environmental information when the wireless earphone is in a worn state;
the determining unit is used for determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
the adjusting unit is used for reducing the playing volume of the wireless earphone when the second user is determined to exist.
In a fourth aspect, embodiments of the present application provide a wireless headset, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps of any of the methods of the second aspects of the embodiments of the present application.
In a fifth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present application.
In a sixth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the wireless headset first acquires the environment information when the wireless headset is in the worn state, and then determines whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period, and finally, when the second user exists, reduces the play volume of the wireless headset. It can be known that, when the wireless earphone is in a worn state, the environment information is acquired to judge whether a second user who tries to speak with a first user wearing the wireless earphone exists or not, when the second user is determined to exist, the playing volume of the wireless earphone is actively reduced, when the automatic control of the wireless earphone is realized, the situation that the first user cannot sense the existence of the second user due to the fact that the wireless earphone volume is too large is favorably prevented, the playing volume is actively reduced, the first user is prompted to have the existence of the second user, and the intelligence and the convenience of the wireless earphone are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of a wireless headset according to an embodiment of the present disclosure;
fig. 1B is a schematic structural diagram of another wireless headset according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a volume adjustment method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another volume adjustment method provided in the embodiment of the present application;
fig. 4 is a schematic flow chart of another volume adjustment method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a wireless headset according to an embodiment of the present application;
fig. 6 is a block diagram illustrating functional units of a volume adjustment apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another wireless headset according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The wireless headset related to the embodiment of the present application is a device capable of communicating with various electronic devices to play audio, where the electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned apparatuses are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of a wireless headset 100 according to an embodiment of the present invention, where the wireless headset 100 includes: a processor 110, and a memory 120 coupled to the processor 110, the wireless headset 100 further comprising a speaker 130 and a microphone 140 coupled to the processor 110, and a radio frequency system 150, wherein,
the memory 120 is configured to store a preset time period;
the processor 110 is configured to obtain environment information when the wireless headset 100 is in a worn state; and is configured to determine whether a second user exists according to the environment information, where the second user is a user speaking to the first user wearing the wireless headset 100 within the preset time period; and for reducing the playback volume of the wireless headset 100 when the second user is determined to be present.
The wireless headset 100 may be used alone or in pairs, and is not limited herein, when the wireless headset 100 is used in pairs, the wireless headset 100 includes a first wireless headset and a second wireless headset, and the functional structures of the first wireless headset and the second wireless headset are the same as the functional structures of the wireless headset 100.
The speaker 130 and the microphone 140 are necessary components of the wireless headset, the speaker 130 is used for playing audio data for a user to listen to, and the microphone 140 is used for collecting voice data of the user, converting the voice data into an electric signal and sending the electric signal.
The processor 110 includes an application processor and a baseband processor, the processor 110 is a control center of the wireless headset 100, various interfaces and lines are used to connect various parts of the whole wireless headset, and various functions of the wireless headset 100 and data processing are performed by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, so that the wireless headset 100 is monitored as a whole. The application processor mainly processes an operating system, audio data and the like, and the baseband processor mainly processes wireless communication.
The memory 120 may be used for storing software programs and modules, and the processor 110 executes various functional applications and data processing of the wireless headset 100 by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the wireless headset, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It can be seen that, in the embodiment of the present application, the wireless headset first acquires the environment information when the wireless headset is in the worn state, and then determines whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period, and finally, when the second user exists, reduces the play volume of the wireless headset. It can be known that, when the wireless earphone is in a worn state, the environment information is acquired to judge whether a second user who tries to speak with a first user wearing the wireless earphone exists or not, when the second user is determined to exist, the playing volume of the wireless earphone is actively reduced, when the automatic control of the wireless earphone is realized, the situation that the first user cannot sense the existence of the second user due to the fact that the wireless earphone volume is too large is favorably prevented, the playing volume is actively reduced, the first user is prompted to have the existence of the second user, and the intelligence and the convenience of the wireless earphone are improved.
In one possible example, as shown in fig. 1B, the wireless headset 100 further includes a position sensor 160, the environment information includes position information acquired by the position sensor 160 and environment audio data acquired by the microphone 140, and the processor 110 is specifically configured to, in the determining whether a second user is present according to the environment information: determining a target keyword set according to the position information, wherein the target keyword set comprises a plurality of target keywords corresponding to the position information; and detecting whether any one of the target keywords in the target keyword set is included in the environmental audio data to determine whether the second user exists.
In one possible example, the wireless headset 100 includes a first wireless headset and a second wireless headset, the first wireless headset includes a first camera 170, as shown in fig. 1B, the second wireless headset includes a second camera, the environment information includes a plurality of first image data continuously acquired by the first wireless headset through the first camera and a plurality of second image data continuously acquired by the second wireless headset through the first camera, and the processor 110 is specifically configured to: determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data; the pose angle is a deviation angle of a target straight line of the at least one target face, which is analyzed through the at least one target face image, relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line of a line segment between a lens optical back principal point and a focus; and the pose angle of the at least one target face image is determined to be within a preset angle range so as to determine whether the second user exists.
In this possible example, in the determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data, the processor 110 is specifically configured to: identifying at least one reference face image in each of the first image data and the second image data; and the image processing device is used for judging whether the image data of the mouth area in each reference face image changes or not according to the plurality of pieces of first image data or the plurality of pieces of second image data; and the target face image which is used for determining that the image data of the mouth area in the at least one reference face image changes is in the process of speaking.
In one possible example, as shown in fig. 1B, the wireless headset 100 further includes a decibel sensor 180, the environmental information includes an environmental volume obtained through the decibel sensor 180, and the processor 110 is specifically configured to, in the reducing the playback volume of the wireless headset when the second user is determined to be present: when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume; and the volume reduction unit is used for reducing the playing volume of the wireless earphone according to the volume reduction amount.
In this possible example, the wireless headset 100 includes a first wireless headset and a second wireless headset, and in terms of reducing the playback volume of the wireless headset according to the volume reduction, the processor 110 is specifically configured to: determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset; and means for determining that the first wireless headset is a target wireless headset when it is detected that the first distance is less than the second distance; and the volume reduction amount is used for reducing the playing volume of the target wireless earphone.
Referring to fig. 2, fig. 2 is a flowchart illustrating a volume adjustment method applied to the wireless headset shown in fig. 1A and 1B according to an embodiment of the present disclosure, where the volume adjustment method includes:
s201, when the wireless earphone is in a worn state, the wireless earphone acquires environmental information;
the wireless headset may determine that the wireless headset is in the worn state by detecting contact with an ear contour through a plurality of proximity sensors or pressure sensors, may also determine that the wireless headset is in the worn state by detecting a posture parameter of the wireless headset, may also determine that the wireless headset is in the worn state by detecting a communication identifier that is successfully in communication connection with an electronic device, may also determine that the wireless headset is in the worn state by detecting a music playing message, and the like, which are not limited herein.
Wherein, the environment information may be any one or more of the following: the system comprises environmental sound data, environmental volume, position information and image data, wherein the environmental sound data can be acquired through a microphone, the environmental volume can be acquired through a decibel sensor (decibel detector), the position information can be acquired through a position sensor (GPS), and the image data can be acquired through a camera device.
S202, the wireless earphone determines whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
the state of speaking to the first user wearing the wireless headset within the preset time period may include any one of the following: 1. a state facing and speaking to the first user; 2. a state of not facing the first user but speaking to the first user is not limited herein.
Wherein the second user does not include a user speaking to the first user in the form of video, voice, telephone, etc.
The preset time period is a specific time period after the environmental information is acquired, for example, within 5s and 1min after the environmental information is acquired, and the preset time period is not limited herein.
The specific implementation manner of determining whether the second user exists according to the environment information by the wireless headset may be various, for example, whether a vocabulary associated with a name of the user exists in the environment sound data or whether a user facing the user and speaking exists in the data image may be detected, which is not limited herein.
S203, when the wireless earphone determines that the second user exists, the playing volume of the wireless earphone is reduced.
The specific implementation manner of reducing the playing volume of the wireless headset may be various, for example, the playing volume may be reduced according to a preset volume reduction amount, or the playing volume may be reduced according to the volume of the current headset and the volume of the second user through comprehensive consideration, or the playing volume may be directly reduced to 0, and the mute operation is performed, which is not limited herein.
The implementation manner of the specific items in S202 and S203 may also be performed by an electronic device in communication connection with the wireless headset, specifically, the wireless headset may transmit environment information to the electronic device, the electronic device then determines whether the second user is present according to the environment information, and when it is determined that the second user is present, the playing volume of the wireless headset is reduced through the communication connection.
It can be seen that, in the embodiment of the present application, the wireless headset first acquires the environment information when the wireless headset is in the worn state, and then determines whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period, and finally, when the second user exists, reduces the play volume of the wireless headset. It can be known that, when the wireless earphone is in a worn state, the environment information is acquired to judge whether a second user who tries to speak with a first user wearing the wireless earphone exists or not, when the second user is determined to exist, the playing volume of the wireless earphone is actively reduced, when the automatic control of the wireless earphone is realized, the situation that the first user cannot sense the existence of the second user due to the fact that the wireless earphone volume is too large is favorably prevented, the playing volume is actively reduced, the first user is prompted to have the existence of the second user, and the intelligence and the convenience of the wireless earphone are improved.
In one possible example, the environmental information includes location information and environmental audio data, and the determining whether the second user is present according to the environmental information includes:
determining a target keyword set according to the position information, wherein the target keyword set comprises a plurality of target keywords corresponding to the position information;
detecting whether any one of the target keywords in the target keyword set is included in the environmental audio data to determine whether the second user exists.
For example, if the location information is a home address of the first user, the target keyword set corresponding to the location information may include a nickname of the user, that is, a name of a family member such as a parent or a child to the first user, such as "dad", "mom", and the like, and if the location information is a work address of the first user, the target keyword set corresponding to the location information may include a name of a company co-worker to the first user, such as "major", "president", and the like, which are not limited herein.
As can be seen, in this example, the wireless headset determines the target keyword set according to the position relationship, and then determines whether the second user exists according to whether the environmental audio data includes the target keywords in the target keyword set, instead of not dividing the position relationship, and determines the second user only by using one target keyword set, which is beneficial to improving the accuracy and convenience of detection of the second user.
In one possible example, the wireless headset includes a first wireless headset and a second wireless headset, the environment information includes a plurality of first image data continuously acquired by the first wireless headset and a plurality of second image data continuously acquired by the second wireless headset, and the determining whether the second user is present according to the environment information includes:
determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data;
acquiring a pose angle of the at least one target face image, wherein the pose angle is a deviation angle of a target straight line of the at least one target face analyzed through the at least one target face image relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line where a line segment from a main point to a focus is located after the lens optics;
and determining whether the posture angle of the at least one target face image is within a preset angle range so as to determine whether the second user exists.
The pose angle of the at least one target person image may be determined according to the size and the position of the contour of the at least one target person image, for example, if the contour of the at least one target person image is the contour of the whole face, the pose angle is greater than or equal to zero degrees and less than or equal to plus or minus 45 degrees, and if the contour of the at least one target person image is the contour of half of the face, the pose angle is greater than 45 degrees, less than 90 degrees, or greater than minus 90 degrees and less than minus 45 degrees; or the obtained face area is a binocular area, the pose angle is greater than or equal to zero degrees and less than or equal to plus or minus 45 degrees, the obtained face area is a right eye area, the pose angle is greater than 45 degrees and less than 90 degrees, and the like, without limitation, the mobile terminal may prestore the size of the outline or the mapping relationship between the outline area and the pose angle or the mapping relationship between the face area and the pose angle.
The lens optical back principal point refers to a lens optical back principal point of the camera device of the first wireless headset corresponding to the multiple kinds of first image data and a lens optical back principal point of the camera device of the second wireless headset corresponding to the multiple pieces of second image data.
The preset angle range may be 0-25, 0-45, and the like, which is not limited herein, and the posture angle of the face image of the second user in the preset angle range indicates that the second user faces the first user, and the posture angle of the face image of the second user in the preset angle range indicates that the second user is not facing the first user.
Therefore, in this example, the wireless headset determines the second user facing the first user and in the speaking process through the multiple pieces of image data, and determines the second user through double limitation, which is beneficial to improving the accuracy of the determination of the second user.
In this possible example, the determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data includes:
identifying at least one reference face image in each of the first image data and the second image data;
judging whether the image data of the mouth area in each reference face image changes or not according to the first image data or the second image data;
and determining that the target face image in the speaking process is changed by the image data of the mouth region in the at least one reference face image.
In this example, the wireless headset determines the target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data according to the image data of the mouth region, which is beneficial to ensuring the accuracy of determining by the second user.
In one possible example, the environmental information includes an environmental volume, and the reducing the playback volume of the wireless headset when the second user is determined to be present includes:
when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume;
and reducing the playing volume of the wireless earphone according to the volume reduction amount.
The wireless earphone is characterized in that a mapping relation between the environment volume and the volume reduction is prestored in the wireless earphone, and the corresponding volume reduction is searched according to the detected environment volume, wherein the environment volume is high, the volume reduction is small, the first user can hear the environment volume, the environment volume is low, the volume reduction is large, and the first user can hear the environment volume after the volume is reduced.
Therefore, in this example, the volume reduction amount is determined by the wireless headset according to the environmental volume, and then the playing volume of the wireless headset is reduced according to the volume reduction amount, instead of reducing the playing volume of the wireless headset according to a preset uniform volume reduction amount, which is beneficial to improving the intelligence and rationality of volume control of the wireless headset.
In this possible example, the wireless headset includes a first wireless headset and a second wireless headset, and the reducing the playback volume of the wireless headset according to the volume reduction comprises:
determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset;
when the first distance is detected to be smaller than the second distance, determining that the first wireless earphone is a target wireless earphone;
and reducing the playing volume of the target wireless earphone according to the volume reduction amount.
The specific implementation manner of determining the first distance between the second user and the first wireless headset may be various, for example, the first distance may be determined by acquiring the sound of the second user through the first wireless headset, where the sound is close to the first distance, and the sound is far from the second distance, or the first distance may be determined by acquiring the image data of the second user through the first wireless headset, which is not limited herein.
As can be seen, in this example, the wireless headset determines that the corresponding headset with a short distance is the target wireless headset by determining the distance between the second user and the first wireless headset and the distance between the second user and the second wireless headset, so that the play volume of the target wireless headset is reduced, instead of reducing the play volumes of the two wireless headsets at the same time, which is beneficial to realizing that the first user can talk with the second user while listening to music through the wireless headset, and can play a role of notifying the first user about the position of the second user at the first time, thereby being beneficial to improving multiple functions of volume adjustment.
Referring to fig. 3, fig. 3 is a schematic flowchart of a volume adjustment method according to an embodiment of the present disclosure, applied to the wireless headset shown in fig. 1A and fig. 1B, as shown in the figure, the method includes:
s301, when the wireless earphone is worn, the wireless earphone acquires position information, environmental audio data and environmental volume.
S302, the wireless earphone determines a target keyword set according to the position information, and the target keyword set comprises a plurality of target keywords corresponding to the position information.
S303, the wireless earphone detects whether the environment audio data comprises any one target keyword in the target keyword set so as to determine whether a second user exists, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period.
S304, when the second user is determined to exist in the wireless earphone, the volume reduction amount of the wireless earphone is determined according to the environment volume.
S305, the wireless earphone reduces the playing volume of the wireless earphone according to the volume reduction amount.
It can be seen that, in the embodiment of the present application, the wireless headset first acquires the environment information when the wireless headset is in the worn state, and then determines whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period, and finally, when the second user exists, reduces the play volume of the wireless headset. It can be known that, when the wireless earphone is in a worn state, the environment information is acquired to judge whether a second user who tries to speak with a first user wearing the wireless earphone exists or not, when the second user is determined to exist, the playing volume of the wireless earphone is actively reduced, when the automatic control of the wireless earphone is realized, the situation that the first user cannot sense the existence of the second user due to the fact that the wireless earphone volume is too large is favorably prevented, the playing volume is actively reduced, the first user is prompted to have the existence of the second user, and the intelligence and the convenience of the wireless earphone are improved.
In addition, the wireless headset determines the target keyword set according to the position relationship, further determines whether a second user exists according to whether the environmental audio data comprises the target keywords in the target keyword set instead of not dividing the position relationship, and determines the second user only through one target keyword set, so that the accuracy and the convenience of detection of the second user are improved.
In addition, the wireless earphone determines the volume reduction amount according to the environment volume, and then reduces the playing volume of the wireless earphone according to the volume reduction amount instead of reducing the playing volume of the wireless earphone according to a preset uniform volume reduction amount, so that the intelligence and the rationality of volume control of the wireless earphone are improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a volume adjustment method according to an embodiment of the present disclosure, applied to the wireless headset shown in fig. 1A and fig. 1B, where the wireless headset includes a first wireless headset and a second wireless headset. As shown in the figure, the volume adjustment method includes:
s401, when the wireless earphone is in a worn state, the wireless earphone continuously acquires a plurality of pieces of first image data through the first wireless earphone and continuously acquires a plurality of pieces of second image data through the second wireless earphone.
S402, the wireless earphone determines at least one target face image in the speaking process in the first image data and the second image data.
And S403, the wireless earphone acquires a posture angle of the at least one target face image, wherein the posture angle is a deviation angle of a target straight line of the at least one target face analyzed through the at least one target face image relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line of a line segment between a main point and a focus after the lens optics.
S404, the wireless earphone determines whether the posture angle of the at least one target face image is within a preset angle range so as to determine whether a second user exists, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period.
S405, when the second user is determined to exist in the wireless earphone, determining the volume reduction amount of the wireless earphone according to the environment volume;
s406, the wireless headset determines a first distance between the second user and the first wireless headset and a second distance between the second user and the second wireless headset.
S407, when the wireless headset detects that the first distance is smaller than the second distance, determining that the first wireless headset is a target wireless headset.
S408, the wireless earphone reduces the playing volume of the target wireless earphone according to the volume reduction amount.
It can be seen that, in the embodiment of the present application, the wireless headset first acquires the environment information when the wireless headset is in the worn state, and then determines whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period, and finally, when the second user exists, reduces the play volume of the wireless headset. It can be known that, when the wireless earphone is in a worn state, the environment information is acquired to judge whether a second user who tries to speak with a first user wearing the wireless earphone exists or not, when the second user is determined to exist, the playing volume of the wireless earphone is actively reduced, when the automatic control of the wireless earphone is realized, the situation that the first user cannot sense the existence of the second user due to the fact that the wireless earphone volume is too large is favorably prevented, the playing volume is actively reduced, the first user is prompted to have the existence of the second user, and the intelligence and the convenience of the wireless earphone are improved.
In addition, the wireless earphone determines a second user facing the first user and in the speaking process through a plurality of pieces of image data, and judges the second user through double limitation, so that the accuracy of determining the second user is improved.
In addition, the wireless earphones determine the corresponding earphone close to the distance as the target wireless earphone by judging the distance between the second user and the first wireless earphone and the distance between the second user and the second wireless earphone, so that the playing volume of the target wireless earphone is reduced, instead of reducing the playing volume of the two wireless earphones at the same time, conversation between the first user and the second user while listening to music through the wireless earphones is facilitated, the effect of informing the first user of the position of the second user at the first time can be achieved, and multiple functions of volume adjustment are facilitated to be improved.
In accordance with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, fig. 5 is a schematic structural diagram of a wireless headset according to an embodiment of the present application, and as shown in the drawing, the wireless headset includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
when the wireless earphone is in a worn state, acquiring environmental information;
determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
when it is determined that the second user is present, decreasing a playback volume of the wireless headset.
It can be seen that, in the embodiment of the present application, the wireless headset first acquires the environment information when the wireless headset is in the worn state, and then determines whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period, and finally, when the second user exists, reduces the play volume of the wireless headset. It can be known that, when the wireless earphone is in a worn state, the environment information is acquired to judge whether a second user who tries to speak with a first user wearing the wireless earphone exists or not, when the second user is determined to exist, the playing volume of the wireless earphone is actively reduced, when the automatic control of the wireless earphone is realized, the situation that the first user cannot sense the existence of the second user due to the fact that the wireless earphone volume is too large is favorably prevented, the playing volume is actively reduced, the first user is prompted to have the existence of the second user, and the intelligence and the convenience of the wireless earphone are improved.
In one possible example, the context information includes location information and context audio data, and the instructions in the program are specifically configured to, in the determining whether a second user is present based on the context information: determining a target keyword set according to the position information, wherein the target keyword set comprises a plurality of target keywords corresponding to the position information; and detecting whether any one of the target keywords in the target keyword set is included in the environmental audio data to determine whether the second user exists.
In one possible example, the wireless headset includes a first wireless headset and a second wireless headset, the environment information includes a plurality of first image data acquired by the first wireless headset in succession and a plurality of second image data acquired by the second wireless headset in succession, and the instructions in the program are specifically configured to perform the following operations in the determining whether a second user is present in accordance with the environment information: determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data; the pose angle is a deviation angle of a target straight line of the at least one target face, which is analyzed through the at least one target face image, relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line of a line segment between a lens optical back principal point and a focus; and the pose angle of the at least one target face image is determined to be within a preset angle range so as to determine whether the second user exists.
In this possible example, in the determining at least one of the plurality of first image data and the plurality of second image data that is in the process of speaking, the instructions in the program are specifically configured to: identifying at least one reference face image in each of the first image data and the second image data; and the image processing device is used for judging whether the image data of the mouth area in each reference face image changes or not according to the plurality of pieces of first image data or the plurality of pieces of second image data; and the target face image which is used for determining that the image data of the mouth area in the at least one reference face image changes is in the process of speaking.
In one possible example, the environmental information includes an environmental volume, and the instructions in the program are specifically configured to, in the reducing the playback volume of the wireless headset when the second user is determined to be present: when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume; and the volume reduction unit is used for reducing the playing volume of the wireless earphone according to the volume reduction amount.
In this possible example, the wireless headset includes a first wireless headset and a second wireless headset, and the instructions in the program are specifically configured to, in the reducing the playback volume of the wireless headset according to the volume reduction, perform the following: determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset; and means for determining that the first wireless headset is a target wireless headset when it is detected that the first distance is less than the second distance; and the volume reduction amount is used for reducing the playing volume of the target wireless earphone.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It will be appreciated that the wireless headset, in order to perform the above-described functions, includes corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the wireless headset may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of a volume adjustment device 600 according to an embodiment of the present application. The volume adjusting apparatus 600 is applied to a wireless headset, and the volume adjusting apparatus 600 includes an obtaining unit 601, a determining unit 602, and an adjusting unit 603, wherein,
the acquiring unit 601 is configured to acquire environment information when the wireless headset is in a worn state;
the determining unit 602 is configured to determine whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period;
the adjusting unit 603 is configured to reduce the playing volume of the wireless headset when it is determined that the second user exists.
It can be seen that, in the embodiment of the present application, the wireless headset first acquires the environment information when the wireless headset is in the worn state, and then determines whether a second user exists according to the environment information, where the second user is a user speaking to a first user wearing the wireless headset within a preset time period, and finally, when the second user exists, reduces the play volume of the wireless headset. It can be known that, when the wireless earphone is in a worn state, the environment information is acquired to judge whether a second user who tries to speak with a first user wearing the wireless earphone exists or not, when the second user is determined to exist, the playing volume of the wireless earphone is actively reduced, when the automatic control of the wireless earphone is realized, the situation that the first user cannot sense the existence of the second user due to the fact that the wireless earphone volume is too large is favorably prevented, the playing volume is actively reduced, the first user is prompted to have the existence of the second user, and the intelligence and the convenience of the wireless earphone are improved.
In a possible example, the environment information includes location information and environment audio data, and in the aspect of determining whether the second user exists according to the environment information, the determining unit 602 is specifically configured to: determining a target keyword set according to the position information, wherein the target keyword set comprises a plurality of target keywords corresponding to the position information; and detecting whether any one of the target keywords in the target keyword set is included in the environmental audio data to determine whether the second user exists.
In one possible example, the wireless headset includes a first wireless headset and a second wireless headset, the environment information includes a plurality of first image data continuously acquired by the first wireless headset and a plurality of second image data continuously acquired by the second wireless headset, and in the determining whether the second user exists according to the environment information, the determining unit 602 is specifically configured to: determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data; the pose angle is a deviation angle of a target straight line of the at least one target face, which is analyzed through the at least one target face image, relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line of a line segment between a lens optical back principal point and a focus; and the pose angle of the at least one target face image is determined to be within a preset angle range so as to determine whether the second user exists.
In this possible example, in the aspect of determining at least one target face image in the process of speaking in the plurality of pieces of first image data and the plurality of pieces of second image data, the determining unit 602 is specifically configured to: identifying at least one reference face image in each of the first image data and the second image data; and the image processing device is used for judging whether the image data of the mouth area in each reference face image changes or not according to the plurality of pieces of first image data or the plurality of pieces of second image data; and the target face image which is used for determining that the image data of the mouth area in the at least one reference face image changes is in the process of speaking.
In a possible example, the environment information includes an environment volume, and in terms of reducing the play volume of the wireless headset when it is determined that the second user is present, the adjusting unit 603 is specifically configured to: when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume; and the volume reduction unit is used for reducing the playing volume of the wireless earphone according to the volume reduction amount.
In this possible example, the wireless earphones include a first wireless earphone and a second wireless earphone, and in terms of reducing the playing volume of the wireless earphones according to the volume reduction amount, the adjusting unit 603 is specifically configured to: determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset; and means for determining that the first wireless headset is a target wireless headset when it is detected that the first distance is less than the second distance; and the volume reduction amount is used for reducing the playing volume of the target wireless earphone.
The obtaining unit 601 may be a processor or various sensors, and the determining unit 602 and the adjusting unit 603 may be processors.
As shown in fig. 7, fig. 7 is a schematic structural diagram of another wireless headset 700 disclosed in the embodiment of the present application. The wireless headset 700 may include control circuitry, which may include storage and processing circuitry 730. The storage and processing circuit 730 may be a memory, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. The processing circuitry in the storage and processing circuitry 730 may be used to control the operation of the wireless headset 700. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuit 730 may be used to run software in the wireless headset 700, such as Voice Over Internet Protocol (VOIP) phone call applications, media playing applications, operating system functions, and the like. Such software may be used to perform control operations such as ambient volume measurement based on decibel sensors, proximity sensor measurement based on proximity sensors, information display functions implemented based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on touch sensors, functions associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the wireless headset 700, to name a few.
The wireless headset 700 may also include input-output circuitry 740. The input-output circuit 740 may be used to enable the wireless headset 700 to input and output data, i.e., to allow the wireless headset 700 to receive data from and also to allow the wireless headset 700 to output data from the wireless headset 700 to an external device. The input-output circuit 740 may further include a sensor 741. The sensors 741 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical and/or capacitive based touch sensors, where the touch sensors may be part of a touch screen display or may be used independently as a touch sensor structure), decibel sensors, and other sensors, among others.
The wireless headset 700 may also include an audio component 742. The audio component 742 may be used to provide audio input and output functionality for the wireless headset 700. The audio components 742 in the wireless headset 700 may include a speaker, microphone, buzzer, tone generator, and other components for generating and detecting sound.
The communication circuit 743 may be used to provide the wireless headset 700 with the capability to communicate with external devices. The communication circuit 743 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 743 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 743 may include circuitry for supporting Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuit 743 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 743 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuitry and antenna, and so forth.
The wireless headset 700 may further include a battery, power management circuitry, and other input-output units 744. The input-output unit 744 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
A user may input commands through the input-output circuitry 744 to control the operation of the wireless headset 700 and may use the output data of the input-output circuitry 744 to enable receiving status information and other outputs from the wireless headset 700.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (16)

1. A wireless headset comprising a processor and a memory coupled to the processor, wherein,
the memory is used for storing a preset time period;
the processor is used for acquiring environment information when the wireless earphone is in a worn state; the wireless earphone is used for receiving the environment information of the first user, and determining whether a second user exists according to the environment information, wherein the second user is a user speaking to the first user wearing the wireless earphone within the preset time period; and for reducing a playback volume of the wireless headset when the second user is determined to be present;
wherein the wireless headset includes a first wireless headset and a second wireless headset, the first wireless headset includes a first camera device, the second wireless headset includes a second camera device, the environment information includes a plurality of first image data continuously acquired by the first wireless headset through the first camera device and a plurality of second image data continuously acquired by the second wireless headset through the first camera device, in the determining whether a second user exists according to the environment information,
the processor is specifically configured to: determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data; the pose angle is a deviation angle of a target straight line of the at least one target face, which is analyzed through the at least one target face image, relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line of a line segment between a lens optical back principal point and a focus; and the pose angle of the at least one target face image is determined to be within a preset angle range so as to determine whether the second user exists.
2. A wireless headset according to claim 1, wherein the wireless headset further comprises a location sensor and a microphone, wherein the environmental information comprises location information obtained by the location sensor and environmental audio data obtained by the microphone, and wherein the processor is specifically configured to, in the determining whether a second user is present from the environmental information: determining a target keyword set according to the position information, wherein the target keyword set comprises a plurality of target keywords corresponding to the position information; and detecting whether any one of the target keywords in the target keyword set is included in the environmental audio data to determine whether the second user exists.
3. The wireless headset of claim 1, wherein in the determining at least one of the plurality of first image data and the plurality of second image data that is in the process of speaking, the processor is specifically configured to: identifying at least one reference face image in each of the first image data and the second image data; and the image processing device is used for judging whether the image data of the mouth area in each reference face image changes or not according to the plurality of pieces of first image data or the plurality of pieces of second image data; and the target face image which is used for determining that the image data of the mouth area in the at least one reference face image changes is in the process of speaking.
4. A wireless headset according to any of claims 1-3, wherein the wireless headset further comprises a decibel sensor, wherein the environmental information comprises an ambient volume obtained via the decibel sensor, and wherein the processor is further configured to, in the reducing the playback volume of the wireless headset when the second user is determined to be present: when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume; and the volume reduction unit is used for reducing the playing volume of the wireless earphone according to the volume reduction amount.
5. The wireless headset of claim 4, wherein the wireless headset comprises a first wireless headset and a second wireless headset, and wherein the processor is further configured to, in the reducing the playback volume of the wireless headset according to the volume reduction: determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset; and means for determining that the first wireless headset is a target wireless headset when it is detected that the first distance is less than the second distance; and the volume reduction amount is used for reducing the playing volume of the target wireless earphone.
6. A wireless headset comprising a processor and a memory coupled to the processor, wherein,
the memory is used for storing a preset time period;
the processor is used for acquiring environment information when the wireless earphone is in a worn state; the wireless earphone is used for receiving the environment information of the first user, and determining whether a second user exists according to the environment information, wherein the second user is a user speaking to the first user wearing the wireless earphone within the preset time period; and for reducing a playback volume of the wireless headset when the second user is determined to be present;
wherein the content of the first and second substances,
the wireless headset further includes a decibel sensor, the environmental information includes an environmental volume obtained by the decibel sensor, and the processor is specifically configured to, in the case where it is determined that the second user is present, reduce the playback volume of the wireless headset: when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume; and the volume reduction amount is used for reducing the playing volume of the wireless earphone;
wherein the content of the first and second substances,
the wireless headset includes a first wireless headset and a second wireless headset, and in the aspect of reducing the play volume of the wireless headset according to the volume reduction amount, the processor is specifically configured to: determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset; and means for determining that the first wireless headset is a target wireless headset when it is detected that the first distance is less than the second distance; and the volume reduction amount is used for reducing the playing volume of the target wireless earphone.
7. A volume adjustment method is applied to a wireless headset, and comprises the following steps:
when the wireless earphone is in a worn state, acquiring environmental information;
determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
when the second user is determined to be present, reducing the playing volume of the wireless headset;
wherein the content of the first and second substances,
the wireless headset includes a first wireless headset and a second wireless headset, the environment information includes a plurality of first image data continuously acquired by the first wireless headset and a plurality of second image data continuously acquired by the second wireless headset, and determining whether a second user exists according to the environment information includes:
determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data;
acquiring a pose angle of the at least one target face image, wherein the pose angle is a deviation angle of a target straight line of the at least one target face analyzed through the at least one target face image relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line where a line segment from a main point to a focus is located after the lens optics;
and determining whether the posture angle of the at least one target face image is within a preset angle range so as to determine whether the second user exists.
8. The method of claim 7, wherein the environmental information includes location information and environmental audio data, and wherein determining whether a second user is present based on the environmental information comprises:
determining a target keyword set according to the position information, wherein the target keyword set comprises a plurality of target keywords corresponding to the position information;
detecting whether any one of the target keywords in the target keyword set is included in the environmental audio data to determine whether the second user exists.
9. The method according to claim 7, wherein the determining at least one target face image in the process of speaking in the plurality of pieces of first image data and the plurality of pieces of second image data comprises:
identifying at least one reference face image in each of the first image data and the second image data;
judging whether the image data of the mouth area in each reference face image changes or not according to the first image data or the second image data;
and determining that the target face image in the speaking process is changed by the image data of the mouth region in the at least one reference face image.
10. The method of any of claims 7-9, wherein the environmental information comprises an environmental volume, and wherein reducing the playback volume of the wireless headset when the second user is determined to be present comprises:
when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume;
and reducing the playing volume of the wireless earphone according to the volume reduction amount.
11. The method of claim 10, wherein the wireless headset comprises a first wireless headset and a second wireless headset, and wherein reducing the playback volume of the wireless headset according to the volume reduction comprises:
determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset;
when the first distance is detected to be smaller than the second distance, determining that the first wireless earphone is a target wireless earphone;
and reducing the playing volume of the target wireless earphone according to the volume reduction amount.
12. A volume adjustment method is applied to a wireless headset, and comprises the following steps:
when the wireless earphone is in a worn state, acquiring environmental information;
determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
when the second user is determined to be present, reducing the playing volume of the wireless headset;
wherein the content of the first and second substances,
the environmental information includes an environmental volume, and the reducing the playback volume of the wireless headset when it is determined that the second user is present includes:
when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume;
reducing the playing volume of the wireless earphone according to the volume reduction amount;
wherein the content of the first and second substances,
the wireless headset comprises a first wireless headset and a second wireless headset, and the step of reducing the playing volume of the wireless headset according to the volume reduction comprises the following steps:
determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset;
when the first distance is detected to be smaller than the second distance, determining that the first wireless earphone is a target wireless earphone;
and reducing the playing volume of the target wireless earphone according to the volume reduction amount.
13. A volume adjustment device, applied to a wireless headset, includes an acquisition unit, a determination unit, and an adjustment unit, wherein,
the acquisition unit is used for acquiring environmental information when the wireless earphone is in a worn state;
the determining unit is used for determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
the adjusting unit is used for reducing the playing volume of the wireless earphone when the second user is determined to exist;
the environmental information includes an environmental volume, and the reducing the playback volume of the wireless headset when it is determined that the second user is present includes:
when the second user is determined to exist, determining the volume reduction amount of the wireless headset according to the environment volume;
reducing the playing volume of the wireless earphone according to the volume reduction amount;
wherein the content of the first and second substances,
the wireless headset comprises a first wireless headset and a second wireless headset, and the step of reducing the playing volume of the wireless headset according to the volume reduction comprises the following steps:
determining a first distance of the second user from the first wireless headset and a second distance of the second user from the second wireless headset;
when the first distance is detected to be smaller than the second distance, determining that the first wireless earphone is a target wireless earphone;
and reducing the playing volume of the target wireless earphone according to the volume reduction amount.
14. A volume adjustment device, applied to a wireless headset, includes an acquisition unit, a determination unit, and an adjustment unit, wherein,
the acquisition unit is used for acquiring environmental information when the wireless earphone is in a worn state;
the determining unit is used for determining whether a second user exists according to the environment information, wherein the second user is a user speaking to a first user wearing the wireless earphone within a preset time period;
the adjusting unit is used for reducing the playing volume of the wireless earphone when the second user is determined to exist;
wherein the content of the first and second substances,
the wireless headset includes a first wireless headset and a second wireless headset, the environment information includes a plurality of first image data continuously acquired by the first wireless headset and a plurality of second image data continuously acquired by the second wireless headset, and determining whether a second user exists according to the environment information includes:
determining at least one target face image in the speaking process in the plurality of pieces of first image data and the plurality of pieces of second image data;
acquiring a pose angle of the at least one target face image, wherein the pose angle is a deviation angle of a target straight line of the at least one target face analyzed through the at least one target face image relative to a reference straight line, the target straight line is a perpendicular bisector between two eyes of the at least one target face, and the reference straight line is a straight line where a line segment from a main point to a focus is located after the lens optics;
and determining whether the posture angle of the at least one target face image is within a preset angle range so as to determine whether the second user exists.
15. A wireless headset comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any of claims 7-12.
16. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of the claims 7-12.
CN201810612512.1A 2018-06-14 2018-06-14 Wireless earphone, volume adjusting method and related product Expired - Fee Related CN108777827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810612512.1A CN108777827B (en) 2018-06-14 2018-06-14 Wireless earphone, volume adjusting method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810612512.1A CN108777827B (en) 2018-06-14 2018-06-14 Wireless earphone, volume adjusting method and related product

Publications (2)

Publication Number Publication Date
CN108777827A CN108777827A (en) 2018-11-09
CN108777827B true CN108777827B (en) 2019-12-31

Family

ID=64026122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810612512.1A Expired - Fee Related CN108777827B (en) 2018-06-14 2018-06-14 Wireless earphone, volume adjusting method and related product

Country Status (1)

Country Link
CN (1) CN108777827B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175014B (en) * 2019-05-28 2023-03-21 歌尔科技有限公司 Wireless earphone volume control method, system, wireless earphone and storage medium
CN110691303B (en) * 2019-10-11 2021-12-17 歌尔股份有限公司 Wearable sound box and control method thereof
WO2021159369A1 (en) * 2020-02-13 2021-08-19 深圳市汇顶科技股份有限公司 Hearing aid method and apparatus for noise reduction, chip, earphone and storage medium
CN113038337B (en) * 2021-02-02 2022-10-28 深圳千岸科技股份有限公司 Audio playing method, wireless earphone and computer readable storage medium
CN113115179B (en) * 2021-03-24 2023-03-24 维沃移动通信有限公司 Working state adjusting method and device
CN116156048B (en) * 2023-04-23 2023-12-08 恩平市华电电子有限公司 Volume adjustment method, system, equipment and medium based on artificial intelligence

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394491A (en) * 2014-12-09 2015-03-04 北京奇虎科技有限公司 Intelligent headset, cloud server, volume adjustment method and volume adjustment system
CN107948801A (en) * 2017-12-21 2018-04-20 广东小天才科技有限公司 The control method and earphone of a kind of earphone
CN108028957A (en) * 2015-09-29 2018-05-11 索尼公司 Information processor, information processing method and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245993A (en) * 2015-10-30 2016-01-13 上海斐讯数据通信技术有限公司 Automatic earphone volume adjusting method and system, and smart earphone
CN107613420A (en) * 2017-10-20 2018-01-19 王媛玥 Earpiece volume automatic control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394491A (en) * 2014-12-09 2015-03-04 北京奇虎科技有限公司 Intelligent headset, cloud server, volume adjustment method and volume adjustment system
CN108028957A (en) * 2015-09-29 2018-05-11 索尼公司 Information processor, information processing method and program
CN107948801A (en) * 2017-12-21 2018-04-20 广东小天才科技有限公司 The control method and earphone of a kind of earphone

Also Published As

Publication number Publication date
CN108777827A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN108777827B (en) Wireless earphone, volume adjusting method and related product
CN109040887B (en) Master-slave earphone switching control method and related product
CN109068206B (en) Master-slave earphone switching control method and related product
CN109511037B (en) Earphone volume adjusting method and device and computer readable storage medium
US11452172B2 (en) Method for switching master earphone, mobile terminal, and non-transitory computer-readable storage medium
CN108966067B (en) Play control method and related product
CN108886653B (en) Earphone sound channel control method, related equipment and system
CN109104684B (en) Microphone hole blockage detection method and related product
CN109040446B (en) Call processing method and related product
CN108541080B (en) Method for realizing loop connection between first electronic equipment and second electronic equipment and related product
CN108600539B (en) Mobile terminal, position detection method and related product
CN109067965B (en) Translation method, translation device, wearable device and storage medium
EP3823312A1 (en) Microphone hole blocking detection method and related product
CN114077414A (en) Audio playing control method and device, electronic equipment and storage medium
GB2524532A (en) Apparatus, methods and computer programs for establishing wireless connections
CN109873894B (en) Volume adjusting method and mobile terminal
CN108668018B (en) Mobile terminal, volume control method and related product
CN108566221B (en) Call control method and related equipment
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
EP3499856A1 (en) Method for outputting audio, electronic device, and storage medium
WO2020082387A1 (en) Method for changing audio channel, and related device
CN108683800B (en) Mobile terminal, position detection method and related product
CN110415495B (en) Equipment loss processing method and related equipment
CN113596662B (en) Method for suppressing howling, device for suppressing howling, earphone, and storage medium
CN114979359B (en) Microphone switching method, mobile terminal 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191231