WO2017101719A1 - 调节耳机音量的方法和装置 - Google Patents

调节耳机音量的方法和装置 Download PDF

Info

Publication number
WO2017101719A1
WO2017101719A1 PCT/CN2016/108907 CN2016108907W WO2017101719A1 WO 2017101719 A1 WO2017101719 A1 WO 2017101719A1 CN 2016108907 W CN2016108907 W CN 2016108907W WO 2017101719 A1 WO2017101719 A1 WO 2017101719A1
Authority
WO
WIPO (PCT)
Prior art keywords
time window
earphone
volume
determining
adjustment value
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.)
Ceased
Application number
PCT/CN2016/108907
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP16874776.4A priority Critical patent/EP3383063B1/en
Priority to JP2018531512A priority patent/JP6699915B2/ja
Priority to US16/063,259 priority patent/US11005439B2/en
Publication of WO2017101719A1 publication Critical patent/WO2017101719A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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/32Automatic control in amplifiers having semiconductor devices the control being dependent upon ambient noise level or sound level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; 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
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • H04S7/30Control circuits for electronic adaptation of the sound field
    • H04S7/302Electronic adaptation of stereophonic sound system to listener position or orientation
    • H04S7/303Tracking of listener position or orientation
    • H04S7/304For headphones

Definitions

  • Embodiments of the present invention relate to communication technologies, and in particular, to a method and apparatus for adjusting volume of a headset.
  • headsets have become standard accessories for mobile terminals. Users can use the headset to make calls, listen to music, watch movies and more. However, the user will encounter many problems in the process of using the earphone. For example, as the environment changes, the volume needs to be manually adjusted; when the quality of the sound source is different, the volume needs to be manually adjusted.
  • the mobile terminal can automatically adjust the volume of the earphone according to the user scene. Specifically, the mobile terminal detects the ambient noise and analyzes the external environment noise to determine the scene where the user is located. Then, according to the scene where the user is located, the volume value of the earphone corresponding to the scene is obtained, and the volume corresponding to the output of the handset of the mobile terminal is controlled. The scene information and the headphone volume value corresponding to the scene information are pre-stored in the mobile terminal.
  • the above technology determines the scene where the user is located by the ambient noise, and there may be an error due to the scene determination, which may result in a reasonable adjustment of the volume of the earphone. For example, when a user runs, an ambulance passes by, because the ambulance has a loud sound, the volume of the earphone is increased; and the ambulance passes quickly, and the volume of the earphone is quickly reduced, which is similar to such a short time. Adjustments are not only unreasonable, but also give users a poorer practical experience.
  • Embodiments of the present invention provide a method and apparatus for adjusting the volume of a headset to properly adjust the volume of the headset to improve the user experience.
  • an embodiment of the present invention provides a method for adjusting a volume of a headset, including: when detected When the ambient noise intensity is higher than the preset threshold, the location information and/or the motion state of the user is acquired; the time window is determined according to the location information and/or the motion state; and the volume of the earphone is adjusted according to the ambient noise intensity of the time window.
  • the location information and the motion state of the user are acquired, and the time window is determined according to the location information and the motion state of the user; the ambient noise intensity according to the time window
  • the determining the time window according to the location information and/or the motion state includes: determining the time window according to the location information, specifically: determining, according to the location information, the environment in which the user is located a type, the environment type includes a quiet environment, a noisy environment, and an unrecognizable environment; determining a time window according to a preset relationship between the preset environment type and the time window; or determining a time window according to the motion state, specifically: according to the motion state Determining the dwell time of the user at a location, the time window being the dwell time; or determining the time window according to the location information and the motion state, specifically: determining the type of the environment the user is located based on the location information; according to the environment type and the motion Status, determine the time window.
  • the embodiment of the present invention can enable the user to determine the time window in various manners to improve the user experience.
  • the adjusting the volume of the earphone according to the ambient noise intensity of the time window includes: if the ambient noise level of the cutoff point of the time window is higher than a preset threshold, according to The corresponding relationship between the preset noise intensity and the headphone volume adjustment value, the earphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point of the time window; the earphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point of the time window, The volume of the earphone is adjusted, and the earphone volume adjustment value includes one of a weighting coefficient, an increase value, and a decrease value.
  • the adjusting the volume of the earphone according to the ambient noise intensity of the time window includes: if the average intensity of the ambient noise in the time window is higher than a preset threshold, according to Corresponding relationship between preset noise intensity and headphone volume adjustment value to determine average intensity Corresponding earphone volume adjustment value; adjusting the volume of the earphone by using a headphone volume adjustment value corresponding to the average intensity, the earphone volume adjustment value including one of a weighting coefficient, an increase value, and a decrease value.
  • the above implementation manner can avoid the problem that the volume of the earphones is harmful to the hearing of the user when the intensity of the external environment noise is relatively large, and the volume of the earphone is realized. Reasonable adjustment.
  • the method further includes: after detecting a preset time of adjusting the volume of the earphone, when detecting that the ambient noise level is lower than the preset threshold, recovering the volume of the earphone to adjust The previous value.
  • the volume of the earphone is restored to the value before the adjustment, thereby further improving the user experience.
  • the method further includes: detecting physiological state information of the user, where the physiological state information includes an ECG signal characteristic, a PPG signal characteristic, a blood pressure, a blood oxygen, an electromyogram, One or any combination of facial expression, heart rate, body temperature and pressure; determining a headphone volume adjustment value corresponding to the physiological state information, the earphone volume adjustment value includes one of a weighting coefficient, an increase value, and a decrease value; The headphone volume adjustment value adjusts the volume of the headphones.
  • the above implementation method detects the current physiological state information of the user, and the volume requirements and tolerances of the earphones are different due to different physiological state information. Therefore, when determining whether to adjust the volume of the earphone, the current physiological state information of the user is added, and the physiological state of the user is referred to.
  • the status information adjusts the size of the headphone volume to make the user experience better. For example, when the user is under pressure or nervous, the volume of the earphone can be appropriately reduced; when the user is under no pressure or the pressure is small, the volume of the earphone can be appropriately increased.
  • the method further includes: detecting a service type of the audio signal in the earphone; if the service type of the audio signal is an emergency service, reducing the size of the time window to the time window corresponding to the The default value of emergency business.
  • the emergency service includes a call service and a preset reminder.
  • the foregoing implementation manner adjusts the size of the time window for the emergency service to reasonably adjust the volume of the earphone for the emergency service scenario, thereby improving user perception.
  • an embodiment of the present invention provides an apparatus for adjusting a volume of a headset, including: a detection module, The method is configured to detect whether the ambient noise intensity is higher than a preset threshold; and the acquiring module is configured to acquire the location information and/or the motion state of the user when the detecting module detects that the ambient environment noise intensity is higher than a preset threshold; The time window is determined according to the location information and/or the motion state; and the adjustment module is configured to adjust the volume of the earphone according to the ambient noise intensity of the time window.
  • the location information and the motion state of the user are acquired, and the time window is determined according to the location information and the motion state of the user; the ambient noise intensity according to the time window
  • the determining module is specifically configured to: determine, according to the location information, an environment type of the user, where the environment type includes a quiet environment, a noisy environment, and an unrecognizable environment; Corresponding relationship between the environment type and the time window, determining the time window; or, according to the motion state, determining the dwell time of the user at a location, the time window is the dwell time; or determining the type of the environment the user is based on the location information; And the state of motion, determine the time window.
  • users can determine the time window in various ways to enhance the user experience.
  • the adjusting module is specifically configured to: if the ambient noise intensity of the cutoff point of the time window is higher than a preset threshold, according to the preset noise intensity and the headphone volume adjustment value Corresponding relationship, determining the headphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point of the time window; adjusting the headphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point of the time window, adjusting the volume of the earphone, and adjusting the volume of the earphone Includes one of a weighting factor, an increasing value, and a decreasing value.
  • the adjusting module is specifically configured to: if the average intensity of the ambient noise in the time window is higher than a preset threshold, according to the preset noise intensity and the headphone volume adjustment value Corresponding relationship, determining a headphone volume adjustment value corresponding to the average intensity; adjusting a volume of the earphone by using a headphone volume adjustment value corresponding to the average intensity, the earphone volume adjustment value including one of a weighting coefficient, an increase value, and a decrease value.
  • the above implementation manner can avoid the volume of the headphone volume being adjusted when the intensity of the external environment noise is relatively large. The user's hearing causes damage and achieves reasonable adjustment of the headphone volume.
  • the adjusting module is further configured to: after the preset time of adjusting the volume of the earphone, when the detecting module detects that the ambient noise level is lower than a preset threshold, the earphone is restored. Volume to the value before adjustment.
  • the volume of the earphone is restored to the value before the adjustment, thereby further improving the user experience.
  • the foregoing detecting module is further configured to detect physiological state information of the user.
  • the physiological state information includes one of ECG signal characteristics, PPG signal characteristics, blood pressure, blood oxygen, myoelectric signals, facial expressions, heart rate, body temperature, and pressure, or any combination thereof.
  • the determining module is further configured to determine a headphone volume adjustment value corresponding to the physiological state information.
  • the headphone volume adjustment value includes one of a weighting coefficient, an increase value, and a decrease value.
  • the adjustment module is further configured to adjust the volume of the earphone by using a headphone volume adjustment value corresponding to the physiological state information.
  • the above implementation method detects the current physiological state information of the user, and the volume requirements and tolerances of the earphones are different due to different physiological state information. Therefore, when determining whether to adjust the volume of the earphone, the current physiological state information of the user is added, and the physiological state of the user is referred to.
  • the status information adjusts the size of the headphone volume to make the user experience better. For example, when the user is under pressure or nervous, the volume of the earphone can be appropriately reduced; when the user is under no pressure or the pressure is small, the volume of the earphone can be appropriately increased.
  • the foregoing detecting module is further configured to detect a service type of an audio signal in the earphone.
  • the determining module is further configured to: if the service type of the audio signal is an emergency service, reduce the size of the time window to a preset value of the emergency service corresponding to the time window.
  • the emergency service includes a call service and a preset reminder.
  • the above implementation manner adjusts the size of the time window for the emergency service, and adjusts the volume of the earphone reasonably for the emergency service scenario to improve user perception.
  • an embodiment of the present invention provides a terminal, where the terminal includes: a processor, a memory, a microphone, and a motion sensor.
  • the microphone is used to collect a noise signal in an external environment, and convert the noise signal into an electrical signal;
  • the motion sensor is used to sense User's motion state; memory storage program or instruction, The method of any one of the first aspects is performed by a program or instruction stored in a memory.
  • Embodiment 1 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention.
  • Embodiment 2 is a flow chart of Embodiment 1 of a method for adjusting a volume of a headphone according to the present invention
  • FIG. 3 is a schematic structural diagram of Embodiment 1 of an apparatus for adjusting the volume of a headphone according to the present invention.
  • Headphones are mostly used in portable computers such as laptops, desktop computers, tablets, and telephones, as well as mobile phones and personal digital assistants (PDAs).
  • PDAs personal digital assistants
  • the use of headphones allows the user to receive audio signals without affecting others; the use of headphones can also separate the sound of the surrounding environment, which is very helpful for users in noisy environments such as recording studios , travel, and sports.
  • the use of headphones including on the way to and from work, on the road, during sports and when driving.
  • the embodiment of the present invention provides a method for adjusting the volume of the earphone, considering the external environment and using The state of the user and the time of the user in the external environment, the intelligent judgment and analysis wants to adjust the volume of the earphone, and intelligently adjust the volume of the earphone based on the situational awareness to avoid unreasonable phenomenon of excessively adjusting the volume of the earphone in a short time. Therefore, the volume of the earphone is reasonably adjusted to enhance the user experience.
  • the unreasonable phenomenon is, for example, that when the user runs, an ambulance passes by, and because the ambulance has a loud sound, the volume of the earphone is increased; and the ambulance passes quickly, and the volume of the earphone is rapidly reduced.
  • FIG. 1 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention.
  • the terminal 100 in this embodiment includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and wireless fidelity ( wireless).
  • RF radio frequency
  • a fidelity abbreviated as: WiFi
  • WiFi Wireless Fidelity
  • GPS Global Positioning System
  • the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the memory 120 can be the memory of the terminal 100 or the memory and external storage of the terminal 100.
  • the memory 120 includes a non-volatile random access memory (Non-Volatile Random Access Memory, NVRAM for short), a dynamic random access memory (DRAM), and a static random access memory (Static Random Access Memory).
  • NVRAM non-Volatile Random Access Memory
  • DRAM dynamic random access memory
  • Static Random Access Memory static random access memory
  • SRAM static random access memory
  • Flash memory Flash memory and hard disk, optical disk, Universal Serial Bus (USB) disk, floppy disk or tape drive .
  • the input unit 130 can be configured to receive input numeric or character information, such as a kanji string or a letter string input by a user, and generate a signal input related to user settings and function control of the terminal 100.
  • the input unit 130 may include a touch panel 131.
  • the touch panel 131 also referred to as a touch screen, can collect touch operations on or near the user (such as the user's operation on the touch panel 131 or on the touch panel 131 using any suitable object or accessory such as a finger, a stylus, or the like. ), and drive the corresponding connection device according to a preset program.
  • the touch panel 131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, And detecting a signal brought by the touch operation to transmit the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, sends the signal to the processor 180, and can receive the processor. 180 issued orders and executed.
  • the touch panel 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 may further include other input devices 132.
  • the other input devices 132 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. One or more of them.
  • the sensor 150 includes a pressure sensor, a motion sensor, and the like. Among them, the motion sensor is used to sense the motion state of the user.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various menu interfaces of the terminal 100.
  • the display unit 140 may include a display panel 141.
  • the display unit 140 may be configured to display a display in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the touch panel 131 covers the display panel 141 to form a touch display screen.
  • the touch display screen detects a touch operation on or near the touch display screen, the touch display screen transmits to the processor 180 to determine the type of the touch event, and then the processor. 180 provides a corresponding visual output on the touch display depending on the type of touch event.
  • the touch display includes an application interface display area and a common control display area.
  • the arrangement manner of the application interface display area and the display area of the common control is not limited, and the arrangement manner of the two display areas can be distinguished by up-and-down arrangement, left-right arrangement, and the like.
  • the application interface display area can be used to display the interface of the application. Each interface can contain at least one application interface and/or interface elements such as desktop controls.
  • the application interface display area can also be an empty interface that does not contain any content.
  • the common control display area is used to display controls with high usage, such as setting buttons, interface numbers, scroll bars, phone book icons, and the like.
  • the audio circuit 160 includes a speaker and a microphone (Microphone, Mic for short).
  • the microphone is also called a microphone, and the microphone is used for converting a noise signal in an external environment and converting the noise signal into an electrical signal conversion device.
  • the speaker is an acoustic signal into an electric signal transducer device.
  • the processor 180 is a control center of the terminal 100, and connects the entire terminal by using various interfaces and lines.
  • the various portions of the terminal 100 perform overall monitoring of the terminal 100 by executing or executing software programs and/or modules and data stored in the memory 120, performing various functions and processing data of the terminal 100.
  • the processor 180 can include one or more processing units.
  • the processor 180 is configured to execute the following method embodiments by calling a program or instruction stored in the memory 120.
  • Embodiment 2 is a flow chart of Embodiment 1 of a method for adjusting the volume of a headphone according to the present invention.
  • Embodiments of the present invention provide a method for adjusting the volume of a headphone, which can adjust the volume of the headphone as an execution subject, and the apparatus can be integrated in a terminal (for example, a smart phone).
  • the method for adjusting the volume of the earphone includes:
  • the terminal shown in FIG. 1 is taken as an execution subject as an example.
  • the terminal collects the noise signal in the external environment through the Mic, and converts the noise signal into an electrical signal through the microphone; the processor of the terminal can obtain the ambient noise intensity according to the electrical signal, for example, the terminal calculates the square of the amplitude of the electrical signal. And determine the ambient noise intensity.
  • the noise signal refers to all acoustic signals in the external environment, that is, all the acoustic signals except the audio signals received by the user through the headphones.
  • the preset threshold it is set according to actual needs.
  • the user's earphone volume usage habit can be collected in advance, and the volume of the earphone suitable for the mass user can be determined as a preset threshold based on the earphone volume usage habit; or the user can pre-store a preset threshold suitable for himself as a headset during use.
  • the basis for judging the volume adjustment may be set by other methods, and the specific implementation form is not limited by the embodiment of the present invention.
  • the terminal detects the noise signal in the external environment in real time.
  • the terminal can determine the location information of the user through GPS positioning, and the motion state of the user can be obtained through the motion sensor.
  • the location information of the user is determined by GPS positioning, and the specific implementation is: obtaining coordinate information (longitude, dimension) of the location where the user is located by using GPS positioning; and based on the correspondence between coordinates and location names, The location name information corresponding to the coordinate information is determined. For example, by the mapping relationship between the coordinate information and the location name in the saved map, the location information corresponding to the coordinates of the user can be determined, for example, Beijing Tiananmen.
  • the GPS positioning method may include:
  • Absolute positioning That is, in the protocol earth coordinate system, a receiver is used to determine the position of the user's position relative to the centroid of the protocol earth, also called single point positioning.
  • the reference point can be considered to coincide with the centroid of the agreement earth.
  • the protocol earth coordinate system used for GPS positioning can be the WGS-84 coordinate system. Therefore, the absolute positioning coordinates are WGS-84 coordinates.
  • the GPS positioning method may include:
  • both absolute positioning and relative positioning include static positioning and dynamic positioning. That is, dynamic absolute positioning, static absolute positioning, dynamic relative positioning, and static relative positioning.
  • the GPS positioning method can be divided into measurement pseudo-range method positioning, phase-detection pseudo-range method positioning, differential positioning, etc., which are not enumerated here.
  • Obtaining location information may also use methods other than GPS positioning, such as cell location.
  • the motion sensor may be a 3-axis motion sensor or a 9-axis motion sensor.
  • the 3-axis motion sensor consists of an acceleration sensor, a geomagnetic sensor, and a gyroscope.
  • 9-axis motion sensor means the motion sensor is a 3-axis acceleration sensor, 3 A shaft magnetic sensor or a geomagnetic sensor, and a 3-axis gyroscope, wherein the three axes refer to three coordinate axes.
  • the motion sensor can detect the user's fast-moving, slow walking, running, static and other motion states.
  • the implementation principle can refer to the smart bracelet, such as Jawbone and Misfit.
  • the execution subject that collects and detects the ambient noise intensity may also be an earphone. That is to say, the method can be completed by two devices of the earphone and the terminal.
  • Determining the time window according to the location information may be: determining the type of the environment the user is located based on the location information; determining the time window according to the correspondence between the preset environment type and the time window.
  • Environmental types can include quiet environments, noisy environments, and unrecognizable environments. There is very little noise or noise in a quiet environment, such as home, library, office, cafe, etc.; noisy environment, such as shopping malls, restaurants, sports fields, parks, etc.; unrecognizable environment, difficult to identify environment Such as: roadside, streetside, etc.
  • the type of environment in which the user is located such as the A residential area, can be identified as a quiet environment based on location information such as the location name of the user. Different time windows can be determined for different environment types.
  • the time window is set to 10s in a quiet environment; the time window is set to 5s in a noisy environment; and the time window is set to 0s in an unrecognized environment.
  • the time window corresponding to different environment types can be set by default when the terminal is shipped from the factory, or defined by the user.
  • determining the time window may be: determining the stay time of the user at a certain position according to the motion state, which may be a time window.
  • the motion state is different, and the stay time of the user staying at the location indicated by the same location information is different, for example, the time consumed by the user to walk through the road segment and the time spent running through the road segment when the user passes by a road section It is different, that is to say, for the position indicated by the same position information, different motion states consume different time, and therefore, the time window is related to the motion state.
  • the state of motion can be further divided into: rapid change of position: state of movement, running, etc.; slow change of position: state of movement: walking, etc.; position does not change state: static, badminton, tennis, etc.
  • rapid change of position state of movement, running, etc.
  • slow change of position state of movement: walking, etc.
  • position does not change state static, badminton, tennis, etc.
  • the terminal pre-stores the time window corresponding to each motion state of the user, as shown in Table 1, the time in Table 1.
  • the window is only an example, and is not limited in the embodiment of the present invention.
  • the user may manually set the time window by itself, or the time window may be dynamically generated.
  • the terminal may also pre-store the time window corresponding to the user's different location information.
  • the time window may be determined by combining the location information and the motion state, such as: determining the type of the environment the user is located based on the location information, and in the quiet environment, according to the size of the time window corresponding to the preset quiet environment, as the time window; In a noisy environment, the dwell time at one location (which can be understood as: the dwell time of a certain distance (such as 2 meters) determined as the time window according to the state of motion; in the unrecognizable environment, the time window is 0s, that is, the real-time most external The noise reacts and adjusts the output of the headphone volume.
  • the environment type is distinguished according to the location information, in a quiet environment, a pre-set value is used as a time window, and in a noisy environment, a dwell time is used as a time window.
  • a pre-set value is used as a time window
  • a dwell time is used as a time window.
  • the time window can also be determined in other ways based on the location information and the state of motion.
  • the user can determine the time window in various ways to enhance the user experience.
  • the terminal increases the volume of the earphone according to the current ambient noise intensity, that is, the terminal control.
  • the volume of the corresponding headset is output from the handset.
  • the ambient noise intensity is less than the preset threshold, it is considered that the external environment noise only interferes with the user to listen to the audio signal through the earphone in a short time, thereby ignoring the external environment noise, and does not adjust the headphone volume.
  • the user is in a quiet environment (eg library, office) In the case of a public office, an exhibition hall, etc., at this time, it is considered that the generation of noise is an accidental event. Therefore, in this scenario, the terminal can not respond to the external environment noise for a short period of time, and does not perform an operation of adjusting the volume of the earphone.
  • the embodiment of the present invention obtains the location information and/or the motion state of the user when the intensity of the ambient noise is detected to be higher than the preset threshold, and determines the time window according to the location information and/or the motion state of the user;
  • the external ambient noise intensity adjusts the volume of the earphone. Compared with the prior art, it avoids unreasonable phenomena such as adjusting the volume of the small earphone in a short time, and comprehensively considers the size of the external environment noise and the position information and/or motion state of the user. Adjust the volume of the headphones reasonably to enhance the user experience.
  • S103 may include: determining, according to a correspondence between a preset noise intensity and a headphone volume adjustment value, if an ambient noise level of a cutoff point of the time window is higher than the preset threshold.
  • the headphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point of the time window; the headphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point of the time window is used, and the volume of the earphone is adjusted.
  • the earphone volume adjustment value may include one of a weighting coefficient, an increase value, and a decrease value.
  • the S103 may include: if the average intensity of the ambient noise in the time window is higher than the preset threshold, determining the average intensity according to the correspondence between the preset noise intensity and the headphone volume adjustment value.
  • the headphone volume adjustment value; the headphone volume adjustment value corresponding to the average intensity is used to adjust the volume of the earphone.
  • the earphone volume adjustment value may include one of a weighting coefficient, an increase value, and a decrease value.
  • the method may further include: after detecting the ambient noise level below the preset threshold after adjusting the volume of the earphone, recovering the volume of the earphone to a value before the adjustment.
  • the headphone volume is restored to the value before the adjustment, thereby further improving the user experience.
  • the correspondence between the above noise intensity and the headphone volume adjustment value may also be obtained after machine learning training.
  • the terminal uses the volume of the earphone and the external environment noise according to the user for a period of time.
  • the intensity of the sound determines a correspondence corresponding to the user's adaptation habits and saves; or, when the user first uses the earphone, determines the volume of the earphone, and the terminal determines that one fits according to the size of the volume used by the user and the intensity of the ambient noise.
  • the user adapts to the correspondence of the habit and saves it.
  • the physiological state information of the user can also be considered when adjusting the volume of the earphone. That is, the method for adjusting the volume of the earphone may further include: detecting physiological state information of the user; determining a volume adjustment value of the earphone corresponding to the physiological state information, wherein the earphone volume adjustment value may include a weighting coefficient, an increasing value, and a decreasing value. One of the equals; adjusts the volume of the earphone by using the earphone volume adjustment value corresponding to the physiological state information.
  • the earphone volume adjustment value corresponding to the physiological state information may be superimposed with the earphone volume adjustment value corresponding to the average intensity of the ambient noise in the time window or the earphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point of the time window.
  • the physiological state information may include an electrocardiogram (ECG) signal characteristic, a photoplethysmography (PPG) signal characteristic, a blood pressure, a blood oxygen, an electromyography signal, a facial expression, a heart rate, a body temperature, and a pressure.
  • ECG electrocardiogram
  • PPG photoplethysmography
  • the physiological state information can be acquired by a sensor.
  • the ECG signal feature and the PPG signal feature are acquired by the electrocardiographic sensor
  • the myoelectric signal and the facial expression are acquired by the myoelectric sensor
  • the pressure is obtained indirectly through the ECG sensor. For example, pre-set the correspondence between heart rate and pressure, if the heart rate is fast, the pressure is high, and so on.
  • the earphone volume adjustment value is a weighting coefficient
  • the product of the weighting coefficient and the volume of the current earphone is used as the volume of the earphone after the adjustment.
  • the earphone volume adjustment value is an increased value
  • the sum of the increase value and the current earphone volume is used as the volume of the earphone after adjustment.
  • the headphone volume adjustment value is a decrease value
  • the difference between the volume of the current earphone and the decrease value is used as the volume of the earphone after the adjustment.
  • the current physiological state information of the user is detected. Since different physiological state information has different volume requirements and tolerances for the earphone, when determining whether to adjust the volume of the earphone, the current physiological state information of the user is added, and the reference user is referred to.
  • the physiological state information adjusts the size of the earphone volume, thereby making the user experience better. For example, when the user is under pressure or nervous, the volume of the earphone can be appropriately reduced; when the user is under no pressure or the pressure is small, the volume of the earphone can be appropriately increased.
  • the type of the current headset service of the user can also be considered.
  • the current type of headset service refers to what kind of service the user is currently using.
  • the method for adjusting the volume of the earphone may further include: detecting a service type of the audio signal in the earphone; if the service type of the audio signal is an emergency service, reducing the size of the time window to the preset of the time window corresponding to the emergency service value.
  • the emergency service may include a call service and a preset reminder. That is, when the user conducts a call service, the call service is considered to be an emergency service, and the volume adjustment of the earphone can reduce the size of the time window based on the above embodiment.
  • the size of the time window is adjusted for the emergency service, so that the volume of the earphone is reasonably adjusted for the scenario of the emergency service, and the user's perception is improved.
  • FIG. 3 is a schematic structural diagram of Embodiment 1 of an apparatus for adjusting the volume of a headphone according to the present invention.
  • the apparatus 20 for adjusting the volume of the earphone includes a detection module 21, an acquisition module 22, a determination module 23, and an adjustment module 24.
  • the detecting module 21 is configured to detect whether the ambient noise intensity is higher than a preset threshold.
  • the obtaining module 22 is configured to acquire the location information and/or the motion state of the user when the detecting module 21 detects that the ambient noise intensity is higher than a preset threshold.
  • the determination module 23 is operative to determine a time window based on the location information and/or the motion state.
  • the adjustment module 24 is configured to adjust the volume of the earphone according to the ambient noise intensity of the time window.
  • the device in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the determining module 23 may be specifically configured to: determine, according to the location information, an environment type in which the user is located, the environment type includes a quiet environment, a noisy environment, and an unrecognizable environment; according to the preset environment type and the time window. Correspondence relationship, determine the time window.
  • the determining module 23 may be specifically configured to: determine, according to the state of motion, a dwell time of the user at a position (a short distance (eg, 2 meters)), wherein the time window is the dwell time.
  • the determining module 23 may be specifically configured to: determine, according to the location information, an environment type in which the user is located; and determine a time window according to the environment type and the motion state.
  • the adjustment module 24 may be specifically configured to: if the ambient noise intensity of the cutoff point of the time window is higher than a preset threshold, determine a time window according to a correspondence between a preset noise intensity and a headphone volume adjustment value. Headphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point; using the time window. The earphone volume adjustment value corresponding to the ambient noise intensity of the cutoff point adjusts the volume of the earphone, and the earphone volume adjustment value may include one of a weighting coefficient, an increase value, and a decrease value.
  • the adjustment module 24 may be specifically configured to: if the average intensity of the ambient noise in the time window is higher than a preset threshold, determine the average according to the correspondence between the preset noise intensity and the headphone volume adjustment value.
  • the earphone volume adjustment value corresponding to the intensity; adjusting the volume of the earphone by using the earphone volume adjustment value corresponding to the average intensity, and the earphone volume adjustment value may include one of a weighting coefficient, an increase value, and a decrease value.
  • the adjusting module 24 is further configured to: after the preset time of adjusting the volume of the earphone, when the detecting module detects that the ambient noise level is lower than the preset threshold, recovering the volume of the earphone to before adjusting value.
  • the detecting module 21 can also be used to detect physiological state information of the user.
  • the physiological state information includes one of ECG signal characteristics, PPG signal characteristics, blood pressure, blood oxygen, myoelectric signals, facial expressions, heart rate, body temperature, and pressure, or any combination thereof.
  • the determining module 23 can also be used to determine the earphone volume adjustment value corresponding to the physiological state information.
  • the headphone volume adjustment value includes one of a weighting coefficient, an increase value, and a decrease value.
  • the adjustment module 24 can also be used to adjust the volume of the earphone by using the earphone volume adjustment value corresponding to the physiological state information.
  • the detecting module 21 can also be used to detect the type of service of the audio signal in the earphone.
  • the determining module 23 can also be configured to reduce the size of the time window to a time window corresponding to the preset value of the emergency service if the service type of the audio signal is an emergency service.
  • the emergency service includes a call service and a preset reminder.
  • the disclosed apparatus and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit or module is only a logical function division.
  • there may be another division manner for example, multiple units or modules may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
  • the modules described as separate components may or may not be physically separated as The components displayed by the module may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

一种调节耳机音量的方法和装置。该方法包括:当检测到外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态(S101);根据位置信息和/或运动状态,确定时间窗(S102);根据时间窗的外界环境噪音强度,调节耳机的音量(S103)。可避免短时间内调大调小耳机音量等不合理现象,综合考虑外界环境噪音的大小及用户的位置信息和/或运动状态,合理调节耳机的音量,提升用户体验。

Description

调节耳机音量的方法和装置
本申请要求于2015年12月16日提交中国专利局、申请号为201510947115.6、发明名称为“调节耳机音量的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术,尤其涉及一种调节耳机音量的方法和装置。
背景技术
随着移动终端的发展,耳机成为移动终端的标准附件。用户可以通过耳机进行通话、听音乐、观看电影等活动。但用户在使用耳机的过程中会遇见许多困扰,如随着环境的改变,需要手动的调节音量;音源品质不一样时,需要手动调整音量等。
目前,移动终端可根据用户场景自动调节耳机的音量。具体地,移动终端检测外界环境噪音,并分析外界环境噪音以确定用户所处场景,之后根据用户所处场景,获取该场景对应的耳机音量值,并控制移动终端听筒输出对应的音量。其中,移动终端中预先存储场景信息以及场景信息对应的耳机音量值。
上述技术通过外界环境噪音确定用户所处场景,因场景确定可能存在误差,导致不能合理的调节耳机的音量。例如,在用户跑步时,旁边经过一辆救护车,由于救护车有较大声音,导致耳机音量调大;而救护车很快经过,耳机音量又会迅速调小,类似这样的短时间内过度调整不但不合理,而且给用户带来的实际体验较差。
发明内容
本发明实施例提供一种调节耳机音量的方法和装置,以合理调节耳机的音量,提升用户体验。
第一方面,本发明实施例提供一种调节耳机音量的方法,包括:当检测到 外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态;根据位置信息和/或运动状态,确定时间窗;根据该时间窗的外界环境噪音强度,调节耳机的音量。
本发明实施例通过在检测到外界环境噪音的强度高于预设阈值时,获取用户的位置信息和运动状态,并根据用户的位置信息和运动状态确定时间窗;根据时间窗的外界环境噪音强度来调节耳机的音量,相对于现有技术,避免短时间内调大调小耳机的音量等不合理现象,综合考虑外界环境噪音的大小及用户的位置信息和运动状态,合理调节耳机的音量,提升用户体验。
在第一方面的第一种可能的实现方式中,上述根据位置信息和/或运动状态,确定时间窗,包括:根据位置信息,确定时间窗,具体为:基于位置信息判断用户所处的环境类型,该环境类型包括安静环境、嘈杂环境和不可识别的环境;根据预先设置的环境类型和时间窗的对应关系,确定时间窗;或者,根据运动状态,确定时间窗,具体为:根据运动状态,确定用户在一位置的停留时间,时间窗为停留时间;或者,根据位置信息和所述运动状态,确定时间窗,具体为:基于位置信息确定用户所处的环境类型;根据环境类型和运动状态,确定时间窗。
本发明实施例通过多样的实现方式,可以使得用户采用各种方式确定时间窗,提升用户体验。
在第一方面的第二种可能的实现方式中,上述根据时间窗的外界环境噪音强度,调节耳机的音量,包括:若时间窗的截止点的外界环境噪音强度高于预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定时间窗的截止点的外界环境噪音强度对应的耳机音量调整值;采用时间窗的截止点的外界环境噪音强度对应的耳机音量调整值,调节耳机的音量,该耳机音量调整值包括加权系数、增大值和减小值中的一个。
在第一方面的第三种可能的实现方式中,上述根据时间窗的外界环境噪音强度,调节耳机的音量,包括:若时间窗内的外界环境噪音的平均强度高于预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定平均强度 对应的耳机音量调整值;采用平均强度对应的耳机音量调整值,调节耳机的音量,该耳机音量调整值包括加权系数、增大值和减小值中的一个。
上述实现方式通过上述具体实现方式以及预先建立噪音强度与耳机音量的对应关系,可避免对于外界环境噪音的强度比较大时,一味的调大耳机音量对用户的听力造成伤害的问题,实现耳机音量的合理调节。
在第一方面的第四种可能的实现方式中,上述方法还包括:在调节耳机音量的预设时间之后,当检测到外界环境噪音强度低于上述预设阈值时,则恢复耳机音量至调节前的值。
本发明实施例可在调节耳机音量的预设时间之后,外界环境噪音强度低于上述预设阈值时,恢复耳机音量至调节前的值,进一步提升用户体验。
在第一方面的第五种可能的实现方式中,上述方法还包括:检测用户的生理状态信息,其中,该生理状态信息包括ECG信号特征、PPG信号特征、血压、血氧、肌电信号、面部表情、心率、体温和压力中一个或其任意组合;确定生理状态信息对应的耳机音量调整值,耳机音量调整值包括加权系数、增大值和减小值中的一个;采用生理状态信息对应的耳机音量调整值,调节耳机的音量。
上述实现方式通过检测用户当前的生理状态信息,由于不同的生理状态信息对耳机音量要求和容忍度不同,因此,在确定是否要调整耳机音量时,加入考虑用户当前的生理状态信息,参考用户生理状态信息调整耳机音量的大小,从而使得用户体验更好。例如,当用户处于压力较大或紧张时,可以适当降低耳机音量的大小;当用户处于无压力或压力较小时,可以适当提升耳机音量的大小。
在第一方面的第六种可能的实现方式中,上述方法还包括:检测耳机中音频信号的业务类型;若音频信号的业务类型为紧急业务,则降低时间窗的大小至时间窗对应所述紧急业务的预设值。该紧急业务包括通话业务和预设提醒。
上述实现方式针对紧急业务调整时间窗的大小,以针对紧急业务的场景合理调整耳机音量,提升用户感知。
第二方面,本发明实施例提供一种调节耳机音量的装置,包括:检测模块, 用于检测外界环境噪音强度是否高于预设阈值;获取模块,用于当检测模块检测到外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态;确定模块,用于根据位置信息和/或运动状态,确定时间窗;调节模块,用于根据时间窗的外界环境噪音强度,调节耳机的音量。
本发明实施例通过在检测到外界环境噪音的强度高于预设阈值时,获取用户的位置信息和运动状态,并根据用户的位置信息和运动状态确定时间窗;根据时间窗的外界环境噪音强度来调节耳机的音量,相对于现有技术,避免短时间内调大调小耳机的音量等不合理现象,综合考虑外界环境噪音的大小及用户的位置信息和运动状态,合理调节耳机的音量,提升用户体验。
在第二方面的第一种可能的实现方式中,上述确定模块具体用于:基于位置信息判断用户所处的环境类型,环境类型包括安静环境、嘈杂环境和不可识别的环境;根据预先设置的环境类型和时间窗的对应关系,确定时间窗;或者,根据运动状态,确定用户在一位置的停留时间,时间窗为停留时间;或者,基于位置信息确定用户所处的环境类型;根据环境类型和运动状态,确定时间窗。通过多样的实现方式,可以使得用户采用各种方式确定时间窗,提升用户体验。
在第二方面的第二种可能的实现方式中,上述调节模块具体用于:若时间窗的截止点的外界环境噪音强度高于预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定时间窗的截止点的外界环境噪音强度对应的耳机音量调整值;采用时间窗的截止点的外界环境噪音强度对应的耳机音量调整值,调节耳机的音量,该耳机音量调整值包括加权系数、增大值和减小值中的一个。
在第二方面的第三种可能的实现方式中,上述调节模块具体用于:若时间窗内的外界环境噪音的平均强度高于预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定平均强度对应的耳机音量调整值;采用平均强度对应的耳机音量调整值,调节耳机的音量,该耳机音量调整值包括加权系数、增大值和减小值中的一个。
上述实现方式通过上述具体实现方式以及预先建立噪音强度与耳机音量的对应关系,可避免对于外界环境噪音的强度比较大时,一味的调大耳机音量对 用户的听力造成伤害的问题,实现耳机音量的合理调节。
在第二方面的第四种可能的实现方式中,上述调节模块还用于:在调节耳机音量的预设时间之后,当检测模块检测到外界环境噪音强度低于预设阈值时,则恢复耳机音量至调节前的值。
本发明实施例可在调节耳机音量的预设时间之后,外界环境噪音强度低于上述预设阈值时,恢复耳机音量至调节前的值,进一步提升用户体验。
在第二方面的第五种可能的实现方式中,上述检测模块,还用于检测用户的生理状态信息。其中,生理状态信息包括ECG信号特征、PPG信号特征、血压、血氧、肌电信号、面部表情、心率、体温和压力中一个或其任意组合。上述确定模块,还用于确定生理状态信息对应的耳机音量调整值。该耳机音量调整值包括加权系数、增大值和减小值中的一个。上述调节模块,还用于采用生理状态信息对应的耳机音量调整值,调节耳机的音量。
上述实现方式通过检测用户当前的生理状态信息,由于不同的生理状态信息对耳机音量要求和容忍度不同,因此,在确定是否要调整耳机音量时,加入考虑用户当前的生理状态信息,参考用户生理状态信息调整耳机音量的大小,从而使得用户体验更好。例如,当用户处于压力较大或紧张时,可以适当降低耳机音量的大小;当用户处于无压力或压力较小时,可以适当提升耳机音量的大小。
在第二方面的第六种可能的实现方式中,上述检测模块,还用于检测耳机中音频信号的业务类型。上述确定模块,还用于若音频信号的业务类型为紧急业务,则降低时间窗的大小至所述时间窗对应所述紧急业务的预设值。该紧急业务包括通话业务和预设提醒。
以上实现方式针对紧急业务调整时间窗的大小,以针对紧急业务的场景合理调整耳机音量,提升用户感知。
第三方面,本发明实施例提供一种终端,终端包括:处理器、存储器、麦克风和运动传感器,麦克风用于采集外界环境中的噪音信号,将噪音信号转换为电信号;运动传感器用于感知用户的运动状态;存储器存储程序或指令,处 理器通过调用存储器存储的程序或指令,用于执行如第一方面中任一项所述的方法。
本发明实施例的这些和其他方面在以下(多个)实施例的描述中会更加简明易懂。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图做一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明提供的终端实施例一的结构示意图;
图2为本发明调节耳机音量的方法实施例一的流程图;
图3为本发明调节耳机音量的装置实施例一的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
耳机多用于笔记本电脑、台式电脑、平板电脑、电话,以及手机、个人数字助理(Personal Digital Assistant,简称:PDA)等可携式电子设备。使用耳机可以使用户在不影响旁人的情况下,接收音频信号;使用耳机还可隔开周围环境的声响,对在录音室、旅途、运动等嘈杂环境下用户很有帮助。至于使用耳机的场合,包括上下班途中、旅途中、运动时和开车时等。
考虑现有调节耳机音量的方法存在短时间内过度调整不合理,用户体验差的问题,本发明实施例提供一种调节耳机音量的方法,综合考虑外界环境、用 户状态、以及用户在该外界环境中的时间,智能的判断分析欲调节耳机音量的大小,在情景感知的基础上智能的调整耳机音量,以避免在短时间内过度调整耳机音量的不合理现象,从而合理调节耳机的音量,提升用户体验。不合理现象例如为:在用户跑步时,旁边经过一辆救护车,由于救护车有较大声音,导致耳机音量调大;而救护车很快经过,耳机音量又会迅速调小的现象。
实施例
图1为本发明提供的终端实施例一的结构示意图。如图1所示,本实施例中的终端100包括:射频(Radio Frequency,简称:RF)电路110、存储器120、输入单元130、显示单元140、传感器150、音频电路160、无线保真(wireless fidelity,简称:WiFi)模块170、处理器180、全球定位系统(Global Positioning System,简称:GPS)190以及电源210等部件。本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图1对终端100的某些构成部件进行具体的介绍。
可以理解的,存储器120可以为该终端100的内存或者该终端100的内存和外存。存储器120包括非易失性随机访问存储器(Non-Volatile Random Access Memory,简称:NVRAM)、动态随机存取存储器(Dynamic Random Access Memory,简称:DRAM)、静态随机存取存储器(Static Random Access Memory,简称:SRAM)、Flash闪存以及硬盘、光盘、通用串行总线(Universal Serial Bus,简称:USB)盘、软盘磁带机
该输入单元130可用于接收输入的数字或字符信息,如用户输入的汉字串或者字母串,以及产生与终端100的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元130可以包括触控面板131。触控面板131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板131上或在触控面板131的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位, 并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板131。除了触控面板131,输入单元130还可以包括其它输入设备132,其它输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
该传感器150包括压力传感器、运动传感器等。其中,运动传感器用于感知用户的运动状态。
该显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端100的各种菜单界面。具体的,该显示单元140可包括显示面板141,可选的,可以采用液晶显示器(Liquid Crystal Display,简称:LCD)或有机发光二极管(Organic Light-Emitting Diode,简称:OLED)等形式来配置显示面板141。
其中,该触控面板131覆盖该显示面板141,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。该触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。
该音频电路160包括扬声器和麦克风(Microphone,简称:Mic)。其中,麦克风又称为传声器,麦克风用于采集外界环境中的噪音信号,并将噪音信号转换为电信号的转换器件。扬声器是一种把电信号转变为声信号的换能器件
该处理器180是终端100的控制中心,利用各种接口和线路连接整个终端 的各个部分,通过运行或执行存储在该存储器120内的软件程序和/或模块以及数据,执行终端100的各种功能和处理数据,从而对终端100进行整体监控。可选的,该处理器180可包括一个或多个处理单元。
在本发明实施例中,通过调用存储器120存储的程序或指令,处理器180用于执行以下方法实施例。
图2为本发明调节耳机音量的方法实施例一的流程图。本发明实施例提供一种调节耳机音量的方法,该方法可以调节耳机音量的装置为执行主体,该装置可以集成在终端(例如,智能手机)。
参考图2,该调节耳机音量的方法包括:
S101、当检测到外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态。
具体地,以图1所示终端作为执行主体为例进行说明。
终端通过Mic采集外界环境中的噪音信号,并通过麦克风将该噪音信号转换为电信号;终端的处理器根据该电信号即可获取外界环境噪音强度,例如终端通过计算电信号的幅值的平方和确定外界环境噪音强度。
需说明的是,在本发明任一实施例中,其中,噪音信号是指外界环境中所有声信号,也就是说,除用户通过耳机接收到的音频信号之外的所有声信号。
对于预设阈值,是根据实际需求设定的。例如,可以预先采集用户的耳机音量使用习惯,基于该耳机音量使用习惯确定适于大众用户的耳机音量作为预设阈值;或者,用户在使用过程中,可以预先存储适合自己的预设阈值作为耳机音量调节的判断基准。另外,也可以通过其他方式设定预设阈值,本发明实施例不限制其具体实现形式。
终端实时检测外界环境中的噪音信号,当终端检测到外界环境噪音强度高于预设阈值时,终端可以通过GPS定位确定用户的位置信息,及,可以通过运动传感器获取用户的运动状态。
其中,通过GPS定位确定用户的位置信息,具体实现为:通过GPS定位获取用户所处位置的坐标信息(经度、维度);基于坐标和地点名称的对应关系, 确定该坐标信息对应的地点名称信息。例如,通过保存的地图中坐标信息和地点名称的映射关系,可以确定用户所处坐标对应的位置信息,例如,北京天安门。
通过GPS定位获取用户所处位置的坐标信息的方法有多种。以下列举说明:
一、按照参考点的位置不同,GPS定位方法可包括:
(1)绝对定位。即在协议地球坐标系中,利用一台接收机来测定用户所处位置相对于协议地球质心的位置,也叫单点定位。这里可认为参考点与协议地球质心相重合。GPS定位所采用的协议地球坐标系可以为WGS-84坐标系,因此,绝对定位的坐标为WGS-84坐标。
(2)相对定位。即在协议地球坐标系中,利用两台以上的接收机测定用户所处位置至某一地面参考点(已知点)之间的相对位置。也就是测定地面参考点到用户所处位置的坐标增量。由于星历误差与大气折射误差有相关性,所以通过观测量求差可消除这些误差,因此,相对定位的精度要高于绝对定位的精度。
二、按照用户接收机在作业中的运动状态不同,GPS定位方法可包括:
(1)静态定位。即在GPS定位过程中,将接收机安置在测站点上并固定不动。严格说来,这种静止状态只是相对的,通常指接收机相对与其周围点位没有发生变化。
(2)动态定位。即在GPS定位过程中,接收机处于运动状态。
其中,绝对定位和相对定位中,又都包含静态定位和动态定位两种方式。即动态绝对定位、静态绝对定位、动态相对定位和静态相对定位。
若依照测距的原理不同,GPS定位方法又可分为测码伪距法定位、测相伪距法定位、差分定位等,此处不再一一列举。获取位置信息也可以使用GPS定位以外的方法,如小区定位等。
对于通过运动传感器获取用户的运动状态,其中,运动传感器可以是3轴运动传感器,也可以是9轴运动传感器。3轴运动传感器由加速度传感器、地磁传感器和陀螺仪组成。9轴运动传感器指该运动传感器由3轴加速度传感器,3 轴磁力传感器或地磁传感器,和,3轴陀螺仪组成,其中,3轴是指三个坐标轴。运动传感器可以检测用户快走、慢走、跑步、静止等运动状态,其实现原理可参考智能手环,例如Jawbone和Misfit等。
另外,采集检测外界环境噪音强度的执行主体还可以是耳机。也就是说,该方法可以是两个耳机和终端两个设备共同完成。
S102、根据上述位置信息和/或运动状态,确定时间窗。
根据位置信息确定时间窗可以为:基于位置信息判断用户所处的环境类型;根据预先设置的环境类型和时间窗的对应关系,确定时间窗。环境类型可包括安静环境、嘈杂环境和不可识别的环境。安静环境中很少有噪声或噪声很低,如家中、图书馆、办公室、咖啡馆等;嘈杂环境中噪声较多,如商场、饭店、运动场、公园等;不可识别环境,为难以识别的环境,如:如路边、街边等。可基于位置信息如用户所在的地点名称,识别用户所处的环境类型,如A住宅小区,可识别为安静环境。对于不同的环境类型可确定不同的时间窗,如安静环境下时间窗设置为10s;嘈杂环境下时间窗设置为5s;不可识别环境下时间窗设置为0s。不同环境类型对应的时间窗可以为终端出厂时默认设置的,或者用户自己定义的。
根据运动状态,确定时间窗可以为:根据运动状态,确定用户某一位置的停留时间,即可为时间窗。
具体地,运动状态不同,用户停留在同一位置信息所表示的位置的停留时间是不同的,例如,用户在路过一路段时,走路经过该路段所消耗的时间和跑步经过该路段所消耗的时间是不同的,也就是说,对于经过同一位置信息所表示的位置,不同的运动状态所消耗的时间不同,因此,时间窗与运动状态有关。
运动状态又可分为:位置快速变化运动状态:跑步等;位置慢速变化运动状态:走路等;位置不发生变化状态:静止、羽毛球、网球等。本领域技术人员可以理解,对于位置不发生变化的运动状态,用户在位置信息所表示的地点的停留时间,也就是时间窗相对较长。
终端预先保存用户各个运动状态对应的时间窗,如表1所示,表1中的时 间窗仅为举例说明,在本发明实施例中并不对其进行限定,用户也可以自行手动设置时间窗,或者,时间窗也可以是动态生成的。
表1
运动状态 时间窗
跑步 5s
快走 7s
慢走 10s
静止 15s
另外,终端也可预先保存用户在不同位置信息对应的时间窗。
另外,可以结合位置信息和运动状态来确定时间窗,如:基于位置信息确定用户所处的环境类型,在安静环境下,根据预先设置的安静环境对应的时间窗的大小,作为时间窗;在嘈杂环境下,根据运动状态确定的在一个位置停留时间(可以理解为:一定距离(如2米)的停留时间)作为时间窗;在不可识别环境下,时间窗为0s,即实时最外界的噪音做出反应,调节耳机音量的输出。即根据位置信息区分环境类型,在安静环境中,以预先设置的值作为时间窗,而在嘈杂环境中以停留时间作为时间窗。当然也可以以其他方式来根据位置信息和运动状态来确定时间窗。
以上,通过多样的实现方式,可以使得用户采用各种方式确定时间窗,提升用户体验。
S103、根据时间窗的外界环境噪音强度,调节耳机的音量。
例如,当时间窗内的外界环境噪音强度始终大于上述预设阈值时,则认为外界环境噪音干扰用户通过耳机接听音频信号,因此,终端根据当前外界环境噪音强度,增大耳机音量,即终端控制听筒输出对应的耳机音量。
或者,在上述时间窗内,外界环境噪音强度已小于上述预设阈值,则认为外界环境噪音仅在短时间内干扰用户通过耳机接听音频信号,从而忽略该外界环境噪音,不对耳机音量做调整。例如,用户处于安静环境(例如图书馆、办 公室、展览馆等)中,此时,认为噪音的产生是偶发事件,因此,在这种场景下,终端可对短时间的外界环境噪音不予响应,不执行调节耳机的音量的操作。
本发明实施例通过在检测到外界环境噪音的强度高于预设阈值时,获取用户的位置信息和/或运动状态,并根据用户的位置信息和/或运动状态确定时间窗;根据时间窗内的外界环境噪音强度来调节耳机的音量,相对于现有技术,避免短时间内调大调小耳机的音量等不合理现象,综合考虑外界环境噪音的大小及用户的位置信息和/或运动状态,合理调节耳机的音量,提升用户体验。
在上述基础上,一种实现方式中,S103可包括:若时间窗的截止点的外界环境噪音强度高于上述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定该时间窗的截止点的外界环境噪音强度对应的耳机音量调整值;采用该时间窗的截止点的外界环境噪音强度对应的耳机音量调整值,调节耳机的音量。其中,该耳机音量调整值可以包括加权系数、增大值和减小值中的一个。
另一种实现方式中,S103可包括:若时间窗内的外界环境噪音的平均强度高于上述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定该平均强度对应的耳机音量调整值;采用该平均强度对应的耳机音量调整值,调节耳机的音量。其中,该耳机音量调整值可以包括加权系数、增大值和减小值中的一个。
通过上述具体实现方式以及预先建立噪音强度与耳机音量调整值的对应关系,可避免对于外界环境噪音的强度比较大时,一味的调大耳机音量对用户的听力造成伤害的问题,实现耳机音量的合理调节。
在上述基础上,该方法还可以包括:在调节耳机音量的预设时间之后,当检测到外界环境噪音强度低于预设阈值时,则恢复耳机音量至调节前的值。该实施例可在调节耳机音量的预设时间之后,外界环境噪音强度低于上述预设阈值时,恢复耳机音量至调节前的值,进一步提升用户体验。
对于上述噪音强度与耳机音量调整值的对应关系也可以是机器学习训练后获得的。例如,终端根据用户在一段时间内使用耳机音量的大小和外界环境噪 音的强度,确定一个符合该用户适应习惯的对应关系,并保存;或者,用户在初次使用耳机时,确定耳机音量,终端根据用户使用耳机音量的大小和外界环境噪音的强度,确定一个符合该用户适应习惯的对应关系,并保存。
在前述实施例的基础上,在调节耳机音量时,还可以考虑用户的生理状态信息。也就是说,调节耳机音量的方法还可包括:检测用户的生理状态信息;确定该生理状态信息对应的耳机音量调整值,其中,耳机音量调整值可包括加权系数、增大值和减小值等中的一个;采用该生理状态信息对应的耳机音量调整值,调节耳机的音量。该生理状态信息对应的耳机音量调整值可以和前述的时间窗内的外界环境噪音的平均强度对应的耳机音量调整值或时间窗的截止点的外界环境噪音强度对应的耳机音量调整值叠加处理。
该生理状态信息可以包括心电图(electrocardiogram,简称:ECG)信号特征、光学体积描记术(Photoplethysmography,简称:PPG)信号特征、血压、血氧、肌电信号、面部表情、心率、体温和压力中一个或其任意组合。其中,上述生理状态信息可以通过传感器获取,例如,ECG信号特征和PPG信号特征是通过心电传感器获取的,肌电信号和面部表情是通过肌电传感器获取的,压力是通过心电传感器间接获取的,例如,预先设置心跳速度与压力的对应关系,若心跳速度快说明压力大,等等。
具体地,若耳机音量调整值为加权系数,则将该加权系数与当前耳机的音量的乘积作为调节之后的耳机的音量。若耳机音量调整值为增大值,则将该增大值与当前耳机的音量的和作为调节之后的耳机的音量。若耳机音量调整值为减小值,则将当前耳机的音量与该减小值与的差作为调节之后的耳机的音量。
该实施例中,检测用户当前的生理状态信息,由于不同的生理状态信息对耳机音量要求和容忍度不同,因此,在确定是否要调整耳机音量时,加入考虑用户当前的生理状态信息,参考用户生理状态信息调整耳机音量的大小,从而使得用户体验更好。例如,当用户处于压力较大或紧张时,可以适当降低耳机音量的大小;当用户处于无压力或压力较小时,可以适当提升耳机音量的大小。
更进一步地,在调节耳机音量时,还可以考虑用户当前耳机业务的类型。 当前耳机业务的类型是指用户当前在使用耳机进行何种业务。该实施例中,调节耳机音量的方法还可包括:检测耳机中音频信号的业务类型;若音频信号的业务类型为紧急业务,则降低时间窗的大小至该时间窗对应该紧急业务的预设值。其中,该紧急业务可以包括通话业务和预设提醒等。也即,当用户进行通话业务时,认为该通话业务属于紧急业务,对于耳机的音量调整可以在上述实施例的基础上减小时间窗的大小。该实施例针对紧急业务调整时间窗的大小,以针对紧急业务的场景合理调整耳机音量,提升用户感知。
图3为本发明调节耳机音量的装置实施例一的结构示意图。参考图3,调节耳机音量的装置20包括:检测模块21、获取模块22、确定模块23和调节模块24。
其中,检测模块21用于检测外界环境噪音强度是否高于预设阈值。获取模块22用于当检测模块21检测到外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态。确定模块23用于根据位置信息和/或运动状态,确定时间窗。调节模块24用于根据时间窗的外界环境噪音强度,调节耳机的音量。
本实施例的装置,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
在上述实施例中,确定模块23可具体用于:基于位置信息判断用户所处的环境类型,该环境类型包括安静环境、嘈杂环境和不可识别的环境;根据预设的环境类型和时间窗的对应关系,确定时间窗。
或者,确定模块23可具体用于:根据运动状态,确定用户在一位置(很短的距离(如2米))的停留时间,上述时间窗为该停留时间。
或者,确定模块23可具体用于:基于位置信息确定用户所处的环境类型;根据环境类型和运动状态,确定时间窗。
一种实现方式中,调节模块24可具体用于:若时间窗的截止点的外界环境噪音强度高于预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定时间窗的截止点的外界环境噪音强度对应的耳机音量调整值;采用时间窗 的截止点的外界环境噪音强度对应的耳机音量调整值,调节耳机的音量,该耳机音量调整值可以包括加权系数、增大值和减小值中的一个。
另一种实现方式中,调节模块24可具体用于:若时间窗内的外界环境噪音的平均强度高于预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定平均强度对应的耳机音量调整值;采用平均强度对应的耳机音量调整值,调节耳机的音量,该耳机音量调整值可以包括加权系数、增大值和减小值中的一个。
可选地,调节模块24还可以用于:在调节耳机音量的预设时间之后,当所述检测模块检测到外界环境噪音强度低于所述预设阈值时,则恢复耳机音量至调节前的值。
进一步地,检测模块21还可以用于检测用户的生理状态信息。其中,生理状态信息包括ECG信号特征、PPG信号特征、血压、血氧、肌电信号、面部表情、心率、体温和压力中一个或其任意组合。此时,确定模块23还可以用于确定生理状态信息对应的耳机音量调整值。该耳机音量调整值包括加权系数、增大值和减小值中的一个。调节模块24还可以用于采用生理状态信息对应的耳机音量调整值,调节耳机的音量。
更进一步地,检测模块21还可以用于检测耳机中音频信号的业务类型。确定模块23还可以用于若音频信号的业务类型为紧急业务,则降低时间窗的大小至时间窗对应所述紧急业务的预设值。该紧急业务包括通话业务和预设提醒。
在本申请所提供的几个实施例中,应该理解到,所揭示的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元或模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为 模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (21)

  1. 一种调节耳机音量的方法,其特征在于,包括:
    当检测到外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态;
    根据所述位置信息和/或所述运动状态,确定时间窗;
    根据所述时间窗的外界环境噪音强度,调节耳机的音量。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述位置信息和/或所述运动状态,确定时间窗,包括:
    根据所述位置信息,确定所述时间窗,具体为:基于所述位置信息判断所述用户所处的环境类型,所述环境类型包括安静环境、嘈杂环境和不可识别的环境;根据预先设置的环境类型和时间窗的对应关系,确定所述时间窗;
    或者,根据所述运动状态,确定所述时间窗,具体为:根据所述运动状态,确定所述用户在一位置的停留时间,所述时间窗为所述停留时间;
    或者,根据所述位置信息和所述运动状态,确定所述时间窗,具体为:基于所述位置信息确定所述用户所处的环境类型;根据所述环境类型和所述运动状态,确定所述时间窗。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述时间窗的外界环境噪音强度,调节耳机的音量,包括:
    若所述时间窗的截止点的外界环境噪音强度高于所述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定所述时间窗的截止点的外界环境噪音强度对应的耳机音量调整值;
    采用所述时间窗的截止点的外界环境噪音强度对应的耳机音量调整值,调节耳机的音量,所述耳机音量调整值包括加权系数、增大值和减小值中的一个。
  4. 根据权利要求1或2所述的方法,其特征在于,所述根据所述时间窗的外界环境噪音强度,调节耳机的音量,包括:
    若所述时间窗内的外界环境噪音的平均强度高于所述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定所述平均强度对应的耳机音量调整值;
    采用所述平均强度对应的耳机音量调整值,调节耳机的音量,所述耳机音量调整值包括加权系数、增大值和减小值中的一个。
  5. 根据权利要求1~4中任一项所述的方法,其特征在于,所述方法还包括:
    在调节耳机音量的预设时间之后,当检测到外界环境噪音强度低于所述预设阈值时,则恢复耳机音量至调节前的值。
  6. 根据权利要求1~5中任一项所述的方法,其特征在于,所述方法还包括:
    检测所述用户的生理状态信息,其中,所述生理状态信息包括心电图ECG信号特征、光学体积描记术PPG信号特征、血压、血氧、肌电信号、面部表情、心率、体温和压力中一个或其任意组合;
    确定所述生理状态信息对应的耳机音量调整值,所述耳机音量调整值包括加权系数、增大值和减小值中的一个;
    采用所述生理状态信息对应的耳机音量调整值,调节耳机的音量。
  7. 根据权利要求1~6中任一项所述的方法,其特征在于,所述方法还包括:
    检测耳机中音频信号的业务类型;
    若所述音频信号的业务类型为紧急业务,则降低所述时间窗的大小至所述时间窗对应所述紧急业务的预设值,所述紧急业务包括通话业务和预设提醒。
  8. 一种调节耳机音量的装置,其特征在于,包括:
    检测模块,用于检测外界环境噪音强度是否高于预设阈值;
    获取模块,用于当检测模块检测到外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态;
    确定模块,用于根据所述位置信息和/或所述运动状态,确定时间窗;
    调节模块,用于根据所述时间窗的外界环境噪音强度,调节耳机的音量。
  9. 根据权利要求8所述的装置,其特征在于,所述确定模块具体用于:
    基于所述位置信息判断所述用户所处的环境类型,所述环境类型包括安静环境、嘈杂环境和不可识别的环境;根据预先设置的环境类型和时间窗的对应关系,确定所述时间窗;
    或者,根据所述运动状态,确定所述用户在一位置的停留时间,所述时间窗为所述停留时间;
    或者,基于所述位置信息确定所述用户所处的环境类型;根据所述环境类型和所述运动状态,确定所述时间窗。
  10. 根据权利要求8或9所述的装置,其特征在于,所述调节模块具体用于:
    若所述时间窗的截止点的外界环境噪音强度高于所述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定所述时间窗的截止点的外界环境噪音强度对应的耳机音量调整值;
    采用所述时间窗的截止点的外界环境噪音强度对应的耳机音量调整值,调节耳机的音量,所述耳机音量调整值包括加权系数、增大值和减小值中的一个。
  11. 根据权利要求8或9所述的装置,其特征在于,所述调节模块具体用于:
    若所述时间窗内的外界环境噪音的平均强度高于所述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定所述平均强度对应的耳机音量调整值;
    采用所述平均强度对应的耳机音量调整值,调节耳机的音量,所述耳机音量调整值包括加权系数、增大值和减小值中的一个。
  12. 根据权利要求8~11中任一项所述的装置,其特征在于,所述调节模块还用于:
    在调节耳机音量的预设时间之后,当所述检测模块检测到外界环境噪音强度低于所述预设阈值时,则恢复耳机音量至调节前的值。
  13. 根据权利要求8~12中任一项所述的装置,其特征在于,
    所述检测模块,还用于检测所述用户的生理状态信息,其中,所述生理状态信息包括心电图ECG信号特征、光学体积描记术PPG信号特征、血压、血氧、肌电信号、面部表情、心率、体温和压力中一个或其任意组合;
    所述确定模块,还用于确定所述生理状态信息对应的耳机音量调整值,所述耳机音量调整值包括加权系数、增大值和减小值中的一个;
    所述调节模块,还用于采用所述生理状态信息对应的耳机音量调整值,调节耳机的音量。
  14. 根据权利要求8~13中任一项所述的装置,其特征在于,
    所述检测模块,还用于检测耳机中音频信号的业务类型;
    所述确定模块,还用于若所述音频信号的业务类型为紧急业务,则降低所述时间窗的大小至所述时间窗对应所述紧急业务的预设值,所述紧急业务包括通话业务和预设提醒。
  15. 一种终端,其特征在于,所述终端包括:处理器、存储器、麦克风和运动传感器,所述麦克风用于采集外界环境中的噪音信号,将所述噪音信号转换为电信号;
    所述运动传感器用于感知用户的运动状态;
    所述存储器存储程序或指令,所述处理器通过调用所述存储器存储的程序或指令,用于执行如以下方法:
    当检测到外界环境噪音强度高于预设阈值时,获取用户的位置信息和/或运动状态;
    根据所述位置信息和/或所述运动状态,确定时间窗;
    根据所述时间窗的外界环境噪音强度,调节耳机的音量。
  16. 根据权利要求15所述的终端,其特征在于,所述根据所述位置信息和/或所述运动状态,确定时间窗,包括:
    根据所述位置信息,确定所述时间窗,具体为:基于所述位置信息判断所述用户所处的环境类型,所述环境类型包括安静环境、嘈杂环境和不可识别的环境;根据预先设置的环境类型和时间窗的对应关系,确定所述时间窗;
    或者,根据所述运动状态,确定所述时间窗,具体为:根据所述运动状态,确定所述用户在一位置的停留时间,所述时间窗为所述停留时间;
    或者,根据所述位置信息和所述运动状态,确定所述时间窗,具体为:基 于所述位置信息确定所述用户所处的环境类型;根据所述环境类型和所述运动状态,确定所述时间窗。
  17. 根据权利要求15或16所述的终端,其特征在于,所述根据所述时间窗的外界环境噪音强度,调节耳机的音量,包括:
    若所述时间窗的截止点的外界环境噪音强度高于所述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定所述时间窗的截止点的外界环境噪音强度对应的耳机音量调整值;
    采用所述时间窗的截止点的外界环境噪音强度对应的耳机音量调整值,调节耳机的音量,所述耳机音量调整值包括加权系数、增大值和减小值中的一个。
  18. 根据权利要求15或16所述的终端,其特征在于,所述根据所述时间窗的外界环境噪音强度,调节耳机的音量,包括:
    若所述时间窗内的外界环境噪音的平均强度高于所述预设阈值,则根据预设的噪音强度与耳机音量调整值的对应关系,确定所述平均强度对应的耳机音量调整值;
    采用所述平均强度对应的耳机音量调整值,调节耳机的音量,所述耳机音量调整值包括加权系数、增大值和减小值中的一个。
  19. 根据权利要求15~18中任一项所述的终端,其特征在于,所述处理器还用于执行以下步骤:
    在调节耳机音量的预设时间之后,当检测到外界环境噪音强度低于所述预设阈值时,则恢复耳机音量至调节前的值。
  20. 根据权利要求15~19中任一项所述的终端,其特征在于,所述处理器还用于执行以下步骤:
    检测所述用户的生理状态信息,其中,所述生理状态信息包括心电图ECG信号特征、光学体积描记术PPG信号特征、血压、血氧、肌电信号、面部表情、心率、体温和压力中一个或其任意组合;
    确定所述生理状态信息对应的耳机音量调整值,所述耳机音量调整值包括加权系数、增大值和减小值中的一个;
    采用所述生理状态信息对应的耳机音量调整值,调节耳机的音量。
  21. 根据权利要求15~20中任一项所述的终端,其特征在于,所述处理器还用于执行以下步骤:
    检测耳机中音频信号的业务类型;
    若所述音频信号的业务类型为紧急业务,则降低所述时间窗的大小至所述时间窗对应所述紧急业务的预设值,所述紧急业务包括通话业务和预设提醒。
PCT/CN2016/108907 2015-12-16 2016-12-07 调节耳机音量的方法和装置 Ceased WO2017101719A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP16874776.4A EP3383063B1 (en) 2015-12-16 2016-12-07 Method and device for adjusting earphone sound volume
JP2018531512A JP6699915B2 (ja) 2015-12-16 2016-12-07 イヤホン音量調整方法およびイヤホン音量調整装置
US16/063,259 US11005439B2 (en) 2015-12-16 2016-12-07 Earphone volume adjustment method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510947115.6 2015-12-16
CN201510947115.6A CN106888419B (zh) 2015-12-16 2015-12-16 调节耳机音量的方法和装置

Publications (1)

Publication Number Publication Date
WO2017101719A1 true WO2017101719A1 (zh) 2017-06-22

Family

ID=59055830

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108907 Ceased WO2017101719A1 (zh) 2015-12-16 2016-12-07 调节耳机音量的方法和装置

Country Status (5)

Country Link
US (1) US11005439B2 (zh)
EP (1) EP3383063B1 (zh)
JP (1) JP6699915B2 (zh)
CN (1) CN106888419B (zh)
WO (1) WO2017101719A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479909A (zh) * 2017-06-26 2017-12-15 珠海格力电器股份有限公司 一种关闭多媒体应用的方法、装置及智能终端
WO2019090607A1 (zh) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 一种用于智能设备的铃声音量的调整方法及调整装置
CN116471513A (zh) * 2023-05-09 2023-07-21 深圳市冠旭电子股份有限公司 蓝牙耳机降噪方法、系统、蓝牙耳机及可读存储介质

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107182011B (zh) * 2017-07-21 2024-04-05 深圳市泰衡诺科技有限公司上海分公司 音频播放方法及系统、移动终端、WiFi耳机
CN108111670A (zh) * 2017-11-28 2018-06-01 湖南海翼电子商务股份有限公司 自动调节蓝牙耳机音量的方法、装置及蓝牙耳机
CN108429970B (zh) * 2018-05-28 2020-04-14 Oppo广东移动通信有限公司 音频播放方法、装置、终端、耳机及可读存储介质
CN108540906B (zh) * 2018-06-15 2020-11-24 歌尔股份有限公司 音量调节方法、耳机及计算机可读存储介质
CN109581874B (zh) * 2018-12-29 2022-04-05 百度在线网络技术(北京)有限公司 用于生成信息的方法和装置
CN110347367B (zh) * 2019-07-15 2023-06-20 百度在线网络技术(北京)有限公司 音量调节方法、终端设备、存储介质及电子设备
CN110677759B (zh) * 2019-09-20 2021-01-26 苏宁智能终端有限公司 智能耳机默认音量的设置方法及系统
CN112788176A (zh) * 2019-11-11 2021-05-11 Oppo广东移动通信有限公司 耳机音量调节方法、装置、存储介质及电子设备
JP7532772B2 (ja) * 2019-12-25 2024-08-14 ヤマハ株式会社 イヤホン用音量制御方法、イヤホン用音量制御装置およびイヤホン
CN112631542A (zh) * 2020-12-21 2021-04-09 深圳酷派技术有限公司 音频调节方法、装置、存储介质及电子设备
CN115373509A (zh) * 2021-05-17 2022-11-22 Oppo广东移动通信有限公司 骑行安全控制方法、移动终端、可穿戴设备和存储介质
CN115914934A (zh) * 2021-08-05 2023-04-04 深圳市云动创想科技有限公司 基于人体状态识别的智能音频播放系统
CN117480787A (zh) 2021-09-24 2024-01-30 三星电子株式会社 用于个性化音频增强的方法和电子装置
CN114286257A (zh) * 2021-12-27 2022-04-05 深圳市飞科笛系统开发有限公司 耳机均衡器调节方法和装置、电子设备、存储介质
CN114766756A (zh) * 2022-04-22 2022-07-22 广东职业技术学院 一种基于智能穿戴服装的发音电器控制系统
CN115396772A (zh) * 2022-09-05 2022-11-25 元音创新(深圳)有限公司 一种基于骨传导和无线传输的颈挂式耳机
CN115789888A (zh) * 2022-09-30 2023-03-14 青岛海尔空调器有限总公司 用于控制空调器的方法及装置、电子设备
CN116546368B (zh) * 2023-05-04 2026-02-13 昆山海菲曼科技集团股份有限公司 一种耳机音量调节方法及其设备
CN118233803B (zh) * 2024-05-22 2024-08-16 深圳市匠心原创科技有限公司 一种手表与耳机的智能交互控制方法
CN118843047A (zh) * 2024-06-27 2024-10-25 Xg科技私人有限公司 音频播放方法、装置、计算机可读存储介质及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012109769A (ja) * 2010-11-17 2012-06-07 Nec Casio Mobile Communications Ltd 放音装置
CN104394491A (zh) * 2014-12-09 2015-03-04 北京奇虎科技有限公司 一种智能耳机、云服务器以及音量调节方法和系统
CN204377107U (zh) * 2015-02-09 2015-06-03 东莞市瀛通电线有限公司 一种根据运动状态自动调节音量的运动耳机
CN204465846U (zh) * 2014-12-30 2015-07-08 加一联创电子科技有限公司 音频输出设备
CN105025417A (zh) * 2015-07-28 2015-11-04 Tcl集团股份有限公司 一种根据定位信息对耳机音量自动调整的方法及系统

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04278796A (ja) 1991-03-06 1992-10-05 Fujitsu Ltd 外部環境適応型音量調整方法
AU2003281984B2 (en) 2003-11-24 2009-05-14 Widex A/S Hearing aid and a method of noise reduction
US20070189544A1 (en) * 2005-01-15 2007-08-16 Outland Research, Llc Ambient sound responsive media player
US8041025B2 (en) * 2006-08-07 2011-10-18 International Business Machines Corporation Systems and arrangements for controlling modes of audio devices based on user selectable parameters
US20080153537A1 (en) * 2006-12-21 2008-06-26 Charbel Khawand Dynamically learning a user's response via user-preferred audio settings in response to different noise environments
US8306235B2 (en) * 2007-07-17 2012-11-06 Apple Inc. Method and apparatus for using a sound sensor to adjust the audio output for a device
JP4591557B2 (ja) * 2008-06-16 2010-12-01 ソニー株式会社 音声信号処理装置、音声信号処理方法および音声信号処理プログラム
JP4640461B2 (ja) * 2008-07-08 2011-03-02 ソニー株式会社 音量調整装置およびプログラム
JP2010136034A (ja) 2008-12-04 2010-06-17 Nikon Corp 音声再生装置およびプログラム
US8977974B2 (en) * 2008-12-08 2015-03-10 Apple Inc. Ambient noise based augmentation of media playback
JP2010192012A (ja) 2009-02-16 2010-09-02 Fujifilm Corp 携帯型音楽再生装置
CN101909224B (zh) 2009-06-02 2013-11-06 深圳富泰宏精密工业有限公司 便携式电子装置
US20110095875A1 (en) * 2009-10-23 2011-04-28 Broadcom Corporation Adjustment of media delivery parameters based on automatically-learned user preferences
US8457321B2 (en) * 2010-06-10 2013-06-04 Nxp B.V. Adaptive audio output
US20150281853A1 (en) * 2011-07-11 2015-10-01 SoundFest, Inc. Systems and methods for enhancing targeted audibility
CN102595272A (zh) * 2012-02-27 2012-07-18 南京理工大学常熟研究院有限公司 一种自动调节音量的运动耳机
KR101901202B1 (ko) * 2012-04-28 2018-09-27 삼성전자주식회사 오디오 출력 방법 및 장치
US9191744B2 (en) * 2012-08-09 2015-11-17 Logitech Europe, S.A. Intelligent ambient sound monitoring system
US9344793B2 (en) * 2013-02-11 2016-05-17 Symphonic Audio Technologies Corp. Audio apparatus and methods
JP2014195175A (ja) 2013-03-28 2014-10-09 Fujitsu Ltd 再生装置及び再生方法
US11128275B2 (en) * 2013-10-10 2021-09-21 Voyetra Turtle Beach, Inc. Method and system for a headset with integrated environment sensors
US11165399B2 (en) * 2013-12-12 2021-11-02 Jawbone Innovations, Llc Compensation for ambient sound signals to facilitate adjustment of an audio volume
CN103716458A (zh) 2013-12-13 2014-04-09 上海斐讯数据通信技术有限公司 一种用于移动终端通话的语音音量调节方法
US10425717B2 (en) * 2014-02-06 2019-09-24 Sr Homedics, Llc Awareness intelligence headphone
CN106031138B (zh) * 2014-02-20 2019-11-29 哈曼国际工业有限公司 环境感测智能设备
KR102160473B1 (ko) * 2014-05-07 2020-09-28 삼성전자주식회사 볼륨을 제어하는 방법 및 전자 장치
US10027299B2 (en) * 2014-08-25 2018-07-17 Lenovo (Singapore) Pte. Ltd. Volume control
US9685926B2 (en) * 2014-12-10 2017-06-20 Ebay Inc. Intelligent audio output devices
US9571628B1 (en) * 2015-11-13 2017-02-14 International Business Machines Corporation Context and environment aware volume control in telephonic conversation
US20180352354A1 (en) * 2015-11-17 2018-12-06 Thomson Licensing Apparatus and method for integration of environmental event information for multimedia playback adaptive control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012109769A (ja) * 2010-11-17 2012-06-07 Nec Casio Mobile Communications Ltd 放音装置
CN104394491A (zh) * 2014-12-09 2015-03-04 北京奇虎科技有限公司 一种智能耳机、云服务器以及音量调节方法和系统
CN204465846U (zh) * 2014-12-30 2015-07-08 加一联创电子科技有限公司 音频输出设备
CN204377107U (zh) * 2015-02-09 2015-06-03 东莞市瀛通电线有限公司 一种根据运动状态自动调节音量的运动耳机
CN105025417A (zh) * 2015-07-28 2015-11-04 Tcl集团股份有限公司 一种根据定位信息对耳机音量自动调整的方法及系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479909A (zh) * 2017-06-26 2017-12-15 珠海格力电器股份有限公司 一种关闭多媒体应用的方法、装置及智能终端
CN107479909B (zh) * 2017-06-26 2020-06-02 珠海格力电器股份有限公司 一种关闭多媒体应用的方法、装置及智能终端
WO2019090607A1 (zh) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 一种用于智能设备的铃声音量的调整方法及调整装置
CN116471513A (zh) * 2023-05-09 2023-07-21 深圳市冠旭电子股份有限公司 蓝牙耳机降噪方法、系统、蓝牙耳机及可读存储介质

Also Published As

Publication number Publication date
JP6699915B2 (ja) 2020-05-27
US20200252039A1 (en) 2020-08-06
CN106888419A (zh) 2017-06-23
EP3383063B1 (en) 2020-02-19
JP2018538755A (ja) 2018-12-27
EP3383063A4 (en) 2018-12-19
EP3383063A1 (en) 2018-10-03
US11005439B2 (en) 2021-05-11
CN106888419B (zh) 2020-03-20

Similar Documents

Publication Publication Date Title
WO2017101719A1 (zh) 调节耳机音量的方法和装置
CN109511037A (zh) 耳机音量调节方法、装置及计算机可读存储介质
US10176255B2 (en) Mobile terminal, recommendation system, and recommendation method
CN107277216A (zh) 一种音量调节方法、终端以及计算机可读存储介质
CN108362304B (zh) 一种数据处理方法及移动终端
WO2013049048A2 (en) Adjustable mobile phone settings based on environmental conditions
CN106782613B (zh) 信号检测方法及装置
WO2017181365A1 (zh) 一种耳机声道控制方法、相关设备及系统
CN113517965B (zh) 信道状态信息报告的获取方法及终端
CN108391207A (zh) 数据处理方法、装置、终端、耳机及可读存储介质
CN103618514A (zh) 音量调节方法、装置和电子设备
CN109918039A (zh) 一种音量调节方法及移动终端
CN107889044B (zh) 音频数据的处理方法及装置
WO2019154182A1 (zh) 应用程序的音量设置方法及移动终端
CN108346469A (zh) 用于确定人体健康状况的方法及移动终端
CN108282575A (zh) 音量控制方法、移动终端及计算机可读存储介质
WO2019129264A1 (zh) 界面的显示方法和移动终端
CN107734172B (zh) 一种信息显示方法及移动终端
CN110460721B (zh) 一种启动方法、装置及移动终端
WO2020038133A1 (zh) 显示方法及移动终端
US11009910B2 (en) Display method and electronic device
CN110058837B (zh) 一种音频输出方法及终端
CN108491539A (zh) 终端控制方法、装置、存储介质和电子设备
CN114532992A (zh) 小睡状态检测方法、装置、系统及计算机可读存储介质
CN106375554B (zh) 一种音频输出的控制方法及移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16874776

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2018531512

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016874776

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016874776

Country of ref document: EP

Effective date: 20180625