WO2017215203A1 - 一种信号输出方法和装置 - Google Patents

一种信号输出方法和装置 Download PDF

Info

Publication number
WO2017215203A1
WO2017215203A1 PCT/CN2016/108407 CN2016108407W WO2017215203A1 WO 2017215203 A1 WO2017215203 A1 WO 2017215203A1 CN 2016108407 W CN2016108407 W CN 2016108407W WO 2017215203 A1 WO2017215203 A1 WO 2017215203A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio output
output device
threshold
type
volume
Prior art date
Application number
PCT/CN2016/108407
Other languages
English (en)
French (fr)
Inventor
肖梅
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017215203A1 publication Critical patent/WO2017215203A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Definitions

  • the present invention relates to the field of signal processing technologies, and in particular, to a signal output method and apparatus.
  • smart terminals such as mobile phones and PADs have audio output jacks, that is, earphone jacks.
  • audio output jacks that is, earphone jacks.
  • the smart terminal system sets the output volume with the commonly used audio output device headphones, and many audio playback applications consider protecting the user's hearing, then the maximum is performed. Volume limit.
  • This brings inconvenience to users who use audio or other external devices as audio output, so that the smart terminal cannot adjust the volume when connecting the audio or other external devices, or even if the volume is turned up, it will still be used by the smart terminal.
  • the system automatically adjusts to the minimum volume that the headset is suitable for, thus affecting the user's use.
  • the embodiments of the present invention provide a signal output method and device, which can set an output threshold according to different external audio output devices, thereby controlling the volume of the audio output device and improving the user experience.
  • the embodiment of the invention provides a signal output method, and the method includes:
  • the volume output is controlled according to the output threshold corresponding to the type of the audio output device.
  • the detecting the type of the external audio output device includes:
  • determining the type of the audio output device according to the coil resistance value accessed by the audio output device including:
  • the setting an output threshold corresponding to the type of the audio output device according to the type of the audio output device includes:
  • the audio output device is the first device, setting an output threshold corresponding to the first device to a first threshold
  • the audio output device is the second device, setting an output threshold corresponding to the second device to a second threshold, where the first threshold is smaller than the second threshold.
  • controlling the volume output according to the output threshold corresponding to the type of the audio output device includes:
  • controlling a volume input by the first device is less than or equal to the first threshold
  • the volume of the control inputting the second device is less than or equal to the second threshold.
  • the embodiment of the present invention further provides a signal output device, where the device includes: a determining unit, a setting unit, and a control unit, where
  • the determining unit is configured to detect a type of the external audio output device
  • the setting unit is configured to set an output threshold corresponding to the type of the audio output device according to a type of the audio output device;
  • the control unit is configured to control the volume output according to the output threshold corresponding to the type of the audio output device.
  • the determining unit is specifically configured to determine a type of the audio output device according to a coil resistance value accessed by the audio output device.
  • the device further includes: an acquiring unit, configured to acquire a coil resistance value that is accessed by the audio output device;
  • the determining unit is specifically configured to determine that the audio output device is the first device when the resistance value of the coil that is accessed by the audio output device meets a first preset condition, and is further configured to be used when the audio output device is accessed.
  • the coil resistance satisfies the second preset condition, and the audio output device is determined to be the second device.
  • the setting unit is specifically configured to: if the audio output device is the first device, set an output threshold corresponding to the first device to a first threshold; and specifically, if the audio output device is The second device is configured to set an output threshold corresponding to the second device to a second threshold, where the first threshold is smaller than the second threshold.
  • control unit is configured to: when the first device is externally connected, control the volume of the first device to be less than or equal to the first threshold; and specifically, when the second device is externally connected And controlling to input the volume of the second device to be less than or equal to the second threshold.
  • Another embodiment of the present invention provides a computer storage medium, where the computer storage medium stores execution instructions for performing one or a combination of the steps in the foregoing method embodiments.
  • An embodiment of the present invention provides a signal output method and apparatus for determining an type of an external audio output device, and setting an output threshold corresponding to a type of the audio output device according to the type of the audio output device;
  • An output threshold corresponding to the type of the audio output device controls the volume output.
  • the signal output method and device provided by the embodiment of the present invention can set the output threshold corresponding thereto according to the type of the different audio output devices detected, thereby controlling the volume of the corresponding audio output device according to the output threshold, thereby avoiding the audio output of the smart terminal.
  • the user experience is improved by only considering a single setting to control the volume output.
  • FIG. 1 is a schematic flowchart 1 of a signal output method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart 2 of a signal output method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart 3 of a signal output method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram 1 of a signal output device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram 2 of a signal output apparatus according to an embodiment of the present invention.
  • the embodiment of the invention provides a signal output method. As shown in FIG. 1 , the method may include:
  • Step 101 The signal output device determines the type of the external audio output device.
  • determining the type of the external audio output device may be implemented by a signal output device, and the signal output device may be a terminal device.
  • the terminal device in the present invention may be a mobile terminal, preferably a mobile intelligent terminal device having an operating system, such as a mobile phone, a tablet PC, a portable multimedia player PMP, or the like.
  • the signal output device may determine the type of the audio output device according to a coil resistance value accessed by the audio output device.
  • the signal output device acquires a coil resistance value that is accessed by the audio output device, and determines a coil resistance value of the audio output device, and when the audio output device is connected to the coil resistance The value meets the first preset condition, and the audio output device is determined to be the first device. When the resistance value of the coil accessed by the audio output device meets the second preset condition, the audio output device is determined to be the second device.
  • Step 102 The signal output device sets an output threshold corresponding to the type of the audio output device according to the type of the audio output device.
  • the audio output device is the first device, setting an output threshold corresponding to the first device to a first threshold; if the audio output device is a second device, setting a corresponding to the second device The output threshold is the second threshold.
  • the first device may be an audio output device with a small output volume such as a headphone
  • the second device may be an audio output device with a large output volume such as an audio. Therefore, the output threshold of the first device is smaller than the output threshold of the second device, that is, the first threshold is smaller than the second threshold.
  • Step 103 The signal output device controls the volume output according to the output threshold corresponding to the type of the audio output device.
  • the volume of the control inputting the first device is less than or equal to the first threshold
  • the volume of the control inputting the second device is less than or equal to the second threshold.
  • the signal output device can adjust the volume of the external audio output device according to different external audio output devices.
  • different external audio output devices are set to set the same threshold, in the process of adjusting the volume, the volume cannot be adjusted or the volume is turned up and then turned down, which affects the user experience.
  • the first device is an earphone
  • the first threshold may be 60 decibels
  • the second device is an audio
  • the second threshold may be 90 decibels.
  • the audio control of the signal output device can be implemented by a circuit or a chip, such as a baseband processing chip, a digital signal processing chip, etc., specifically, the audio signal value can be processed for different audio settings, thereby affecting the final output volume. It can also be implemented by different audio signal processing algorithms, such as surround sound effects if plugged in. Can also According to the influence of sound on the human body, for example, the sound above 60 decibels will make people feel irritated, and the hearing will be damaged in the long-term environment. In the implementation, the volume can be increased according to the user's needs, but it can be increased within a certain period of time. Give a reminder.
  • the signal output method provided by the embodiment of the present invention can set the output threshold corresponding thereto according to the type of the different audio output devices detected, thereby controlling the volume of the corresponding audio output device according to the output threshold, thereby avoiding the audio output of the smart terminal only considering A single setting controls the volume output and improves the user experience.
  • the embodiment of the invention provides a signal output method. As shown in FIG. 2, the method may include:
  • Step 201 The signal output device acquires a resistance value of the coil accessed by the audio output device.
  • the signal output device in the embodiment of the present invention may be a terminal device, where the terminal device may be a mobile terminal, and preferably may be a mobile intelligent terminal device with an operating system, such as a mobile phone, a PAD, a PMP, or the like.
  • the audio output device in the embodiment of the present invention may be an earphone.
  • the audio driver of the signal output device can determine whether the connected audio output device is a headset or an audio by calculating a coil resistance of the left and right channels of the audio output device.
  • Step 202 When the coil resistance value of the audio output device meets the first preset condition, the signal output device determines that the audio output device is the first device.
  • the first preset condition may be a preset resistance value range, and the preset resistance value range is a range of the coil resistance value of the first device, and the first device may be an audio output device with a smaller output volume such as a headphone.
  • the range of coil resistance of the left and right channels of the headphones may be a preset resistance value range, and the preset resistance value range is a range of the coil resistance value of the first device, and the first device may be an audio output device with a smaller output volume such as a headphone.
  • the mobile phone when the user connects the audio output device headset to the mobile phone, the mobile phone needs to detect what the audio output device is connected to, that is, the mobile phone detects the resistance of the left and right channels of the accessed audio output device, when detected.
  • the resistance values of the left and right channels are within a preset resistance value, and it is determined that the external device is a headset.
  • Step 203 The signal output device sets an output threshold corresponding to the first device to be the first Threshold.
  • setting a volume output threshold of the earphone is a first threshold, where the first threshold is a maximum output volume of the earphone when the earphone is connected to the signal output device. value. Since the first device is a device with a small output volume, setting the first threshold is generally smaller than the maximum volume value that the signal output device can output.
  • the drive bottom layer of the signal output device can change the value of the audio digital signal in the D/A conversion by overwriting the value of one or more registers in the audio drive, ie, setting the output threshold.
  • Step 204 The signal output device controls that the volume input to the first device is less than or equal to the first threshold.
  • the user controls the volume of the output of the earphone by adjusting the volume of the volume of the mobile phone.
  • the signal output device controls the adjustment.
  • the volume value of the input earphone is less than or equal to the first threshold.
  • the signal output method provided by the embodiment of the present invention can set the output threshold corresponding thereto according to the type of the different audio output devices detected, thereby controlling the volume of the corresponding audio output device according to the output threshold, thereby avoiding the audio output of the smart terminal only considering A single setting controls the volume output and improves the user experience.
  • the embodiment of the invention provides a signal output method. As shown in FIG. 3, the method may include:
  • Step 301 The signal output device acquires a resistance value of the coil accessed by the audio output device.
  • the signal output device in the embodiment of the present invention may be a terminal device, where the terminal device may be a mobile terminal, and preferably may be a mobile intelligent terminal device with an operating system, such as a mobile phone, a PAD, a PMP, or the like.
  • the audio output device in the embodiment of the present invention may be an audio.
  • the audio driver of the signal output device can determine whether the connected audio output device is a headset or an audio by calculating a coil resistance of the left and right channels of the audio output device.
  • Step 302 When the resistance value of the coil accessed by the audio output device meets the second preset condition, the signal output device determines that the audio output device is the second device.
  • the second preset condition may be a preset range of resistance values
  • the preset resistance value range is a range of coil resistance values of the second device
  • the second device may be an audio output device with a large output volume such as an audio.
  • the range of resistance of the left and right channels of the sound may be a preset range of resistance values
  • the preset resistance value range is a range of coil resistance values of the second device
  • the second device may be an audio output device with a large output volume such as an audio.
  • the range of resistance of the left and right channels of the sound may be a preset range of resistance values
  • the preset resistance value range is a range of coil resistance values of the second device
  • the second device may be an audio output device with a large output volume such as an audio.
  • the range of resistance of the left and right channels of the sound may be a preset range of resistance values.
  • the mobile phone when the user connects the audio output device to the mobile phone, the mobile phone needs to detect what the audio output device is connected to, that is, the mobile phone detects the resistance of the left and right channels of the connected audio output device, when detected.
  • the resistance values of the left and right channels are within a preset resistance value, and it is determined that the external device is an audio.
  • Step 303 The signal output device sets an output threshold corresponding to the second device to a second threshold.
  • the volume output threshold of the set audio is a second threshold
  • the second threshold is the maximum volume of the audio input device when the audio is connected to the signal output device.
  • the second threshold may be a maximum volume value that the signal output device can output.
  • Step 304 The signal output device controls that the volume of the input second device is less than or equal to the second threshold.
  • the user controls the volume of the sound output by adjusting the volume of the sound of the mobile phone.
  • the volume value of the input sound is greater than the second threshold when the user adjusts the volume
  • the signal output device controls the adjustment.
  • the volume value of the input sound is less than or equal to the second threshold.
  • the signal output device converts the set audio digital signal into a corresponding analog signal through the conversion of the audio circuit, and sends it to the audio device inserted in the audio output hole, and obtains the required volume gain through the signal processing of the audio device.
  • the user inserts the audio or external plug into the audio output jack of the mobile terminal, opens the application of the music player, adjusts the volume, and the audio output device detecting device determines that the inserted sound is by detecting, and the audio control device according to the preset Audio output volume threshold, corresponding to the adjustment input tone
  • the volume of the sound is louded and released through the sound. It avoids the situation that when the user wants to amplify the volume through the sound or the like, it is limited by the headphone output volume threshold set by the system, thereby improving the user experience.
  • the signal output method provided by the embodiment of the present invention can set the output threshold corresponding thereto according to the type of the different audio output devices detected, thereby controlling the volume of the corresponding audio output device according to the output threshold, thereby avoiding the audio output of the smart terminal only considering A single setting controls the volume output and improves the user experience.
  • the embodiment of the present invention provides a signal output device 4, as shown in FIG. 4, the device 4 includes: a determining unit 40, a setting unit 41, and a control unit 42, wherein
  • the determining unit 40 is configured to detect a type of the external audio output device
  • the setting unit 41 is configured to set an output threshold corresponding to the type of the audio output device according to the type of the audio output device;
  • the control unit 42 is configured to control the volume output according to the output threshold corresponding to the type of the audio output device.
  • the determining unit 40 is specifically configured to determine a type of the audio output device according to a coil resistance value accessed by the audio output device.
  • the device further includes: an obtaining unit 43 configured to acquire a coil resistance value accessed by the audio output device;
  • the determining unit 40 is specifically configured to determine that the audio output device is the first device when the resistance value of the coil that is accessed by the audio output device meets the first preset condition, and is further configured to be connected to the audio output device.
  • the entered coil resistance satisfies a second preset condition, and the audio output device is determined to be the second device.
  • the setting unit 41 is specifically configured to: if the audio output device is the first device, set an output threshold corresponding to the first device to a first threshold; and specifically, if the audio output device is And for the second device, setting an output threshold corresponding to the second device to a second threshold, where the first threshold is smaller than the second threshold.
  • control unit 42 is specifically configured to: when the first device is externally connected, control the volume of the first device to be less than or equal to the first threshold; and specifically, when the second device is externally connected And controlling to input the volume of the second device is less than or equal to the second threshold.
  • the determining unit 40, the setting unit 41, the control unit 42 and the obtaining unit 43 may each be a central processing unit (CPU), a microprocessor (Micro Processor Unit, MPU) located in the signal output device. ), digital signal processor (DSP) or Field Programmable Gate Array (FPGA) implementation.
  • CPU central processing unit
  • MPU Micro Processor Unit
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • the signal output device provided by the embodiment of the present invention can set the output threshold corresponding thereto according to the type of the different audio output devices detected, thereby controlling the volume of the corresponding audio output device according to the output threshold, thereby avoiding the audio output of the smart terminal only considering A single setting controls the volume output and improves the user experience.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the output threshold corresponding thereto can be set according to the type of different audio output devices detected, thereby controlling the corresponding audio output device according to the output threshold.
  • the volume of the audio terminal avoids the situation where the audio output of the smart terminal only controls the volume output by considering a single setting, thereby improving the user experience.

Abstract

本发明实施例公开了一种信号输出方法和装置,确定外接的音频输出设备的类型;根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值;根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。

Description

一种信号输出方法和装置 技术领域
本发明涉及信号处理技术领域,尤其涉及一种信号输出方法和装置。
背景技术
随着互联网和电子技术的不断发展,手机、平板电脑PAD等移动智能终端在人们生活中的应用越来越广泛。现有技术中,手机、PAD等智能终端都有音频输出插孔,即耳机插孔。当插孔插上音频输出的外设,如耳机,音响等时,智能终端系统均是以常用的音频输出设备耳机进行设置输出音量,同时很多音频播放的应用考虑保护用户听力,则进行了最大音量的限制。这就给使用音响或其他外放设备作为音频输出的用户带来了不便,使得智能终端在连接音响或其它外放设备时无法调大音量,或者即使调大了音量,但还是会被智能终端系统自动调成耳机适用的极小音量,从而,影响用户的使用。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种信号输出方法和装置,能够根据不同的外接音频输出设备设置输出阈值,从而控制音频输出设备的音量,提高了用户体验。
为达到上述目的,本发明实施例的技术方案是这样实现的:
本发明实施例提供一种信号输出方法,所述方法包括:
确定外接的音频输出设备的类型;
根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值;
根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。
可选地,所述检测外接的音频输出设备的类型,包括:
根据所述音频输出设备接入的线圈阻值,确定所述音频输出设备的类型。
可选地,所述根据所述音频输出设备接入的线圈阻值,确定所述音频输出设备的类型,包括:
获取所述音频输出设备接入的线圈阻值;
当所述音频输出设备接入的线圈阻值满足第一预设条件,确定所述音频输出设备为第一设备;
当所述音频输出设备接入的线圈阻值满足第二预设条件,确定所述音频输出设备为第二设备。
可选地,所述根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值,包括:
若所述音频输出设备为第一设备,设置与所述第一设备对应的输出阈值为第一阈值;
若所述音频输出设备为第二设备,设置与所述第二设备对应的输出阈值为第二阈值,其中,所述第一阈值小于所述第二阈值。
可选地,所述根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出,包括:
当外接所述第一设备时,控制输入所述第一设备的音量小于等于所述第一阈值;
当外接所述第二设备时,控制输入所述第二设备的音量小于等于所述第二阈值。
本发明实施例同时还提供一种信号输出装置,所述装置包括:确定单元、设置单元、控制单元,其中,
所述确定单元,设置为检测外接的音频输出设备的类型;
所述设置单元,设置为根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值;
所述控制单元,设置为根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。
可选地,所述确定单元,具体设置为根据所述音频输出设备接入的线圈阻值,确定所述音频输出设备的类型。
可选地,所述装置还包括:获取单元,设置为获取所述音频输出设备接入的线圈阻值;
所述确定单元,具体设置为当所述音频输出设备接入的线圈阻值满足第一预设条件,确定所述音频输出设备为第一设备;还具体设置为当所述音频输出设备接入的线圈阻值满足第二预设条件,确定所述音频输出设备为第二设备。
可选地,所述设置单元,具体设置为若所述音频输出设备为第一设备,设置与所述第一设备对应的输出阈值为第一阈值;还具体设置为若所述音频输出设备为第二设备,设置与所述第二设备对应的输出阈值为第二阈值,其中,所述第一阈值小于所述第二阈值。
可选地,所述控制单元,具体设置为当外接所述第一设备时,控制输入所述第一设备的音量小于等于所述第一阈值;还具体设置为当外接所述第二设备时,控制输入所述第二设备的音量小于等于所述第二阈值。
本发明另一实施例提供了一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行上述方法实施例中的步骤之一或其组合。
本发明实施例提供了一种信号输出方法和装置,确定外接的音频输出设备的类型;根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值;根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。本发明实施例提供的信号输出方法和装置,能够根据检测的不同音频输出设备的类型设置与其对应的输出阈值,从而根据该输出阈值控制对应的音频输出设备的音量,避免了智能终端的音频输出只考虑单一的设置进行控制音量输出的情况,提高了用户体验。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。
图1为本发明实施例提供的信号输出方法流程示意图一;
图2为本发明实施例提供的信号输出方法流程示意图二;
图3为本发明实施例提供的信号输出方法流程示意图三;
图4为本发明实施例提供的信号输出装置结构示意图一;
图5为本发明实施例提供的信号输出装置结构示意图二。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
实施例一
本发明实施例提供一种信号输出方法,如图1所示,该方法可以包括:
步骤101、信号输出装置确定外接的音频输出设备的类型。
具体的,本发明实施例中,确定外接的音频输出设备的类型可以是由信号输出装置来实现,该信号输出装置可以为终端设备。
本发明中的终端设备可以是移动终端,优选的可以是具有操作系统的移动智能终端设备,例如,手机、平板电脑PAD、便携式多媒体播放器PMP等。
一种可能的实现方式中,信号输出装置可以根据音频输出设备接入的线圈阻值,确定所述音频输出设备的类型。
具体的,信号输出装置获取所述音频输出设备接入的线圈阻值,对所述音频输出设备的线圈阻值进行判断,当所述音频输出设备接入的线圈阻 值满足第一预设条件,确定所述音频输出设备为第一设备;当所述音频输出设备接入的线圈阻值满足第二预设条件,确定所述音频输出设备为第二设备。
步骤102、信号输出装置根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值。
可选地,若所述音频输出设备为第一设备,设置与所述第一设备对应的输出阈值为第一阈值;若所述音频输出设备为第二设备,设置与所述第二设备对应的输出阈值为第二阈值。
其中,第一设备可以为耳机等输出音量较小的音频输出设备,第二设备可以为音响等输出音量较大的音频输出设备。因此,第一设备的输出阈值小于第二设备的输出阈值,即所述第一阈值小于所述第二阈值。
步骤103、信号输出装置根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。
一种可能的实现方式中,当外接所述第一设备时,控制输入所述第一设备的音量小于等于所述第一阈值;
当外接所述第二设备时,控制输入所述第二设备的音量小于等于所述第二阈值。
可选地,信号输出装置可以根据不同的外接音频输出设备调节音量的输入该外接音频输出设备的音量。避免了不同的外接音频输出设备设定相同的阈值时,在调节音量的过程中,无法调大音量或者音量调大后又调小,影响用户的体验。
示例性的,第一设备为耳机,第一阈值可以为60分贝,第二设备为音响,第二阈值可以为90分贝。
本发明实施例中,信号输出装置的音频控制可以由电路或芯片来实现,例如基带处理芯片,数字信号处理芯片等,具体可以对不同的音频设置进行音频信号值的处理,从而影响最终输出音量,也可以通过不同的音频信号的处理算法来实现,比如如果插上音响则加上环绕立体声效果等。还可 以根据声音对人体的影响,例如60分贝以上的声音会使人感觉烦躁,长期在此环境下也会损伤听力,可以在实现上,允许音量按用户的需求加大,但可在一定时间内给予提醒。
本发明实施例提供的信号输出方法,能够根据检测的不同音频输出设备的类型设置与其对应的输出阈值,从而根据该输出阈值控制对应的音频输出设备的音量,避免了智能终端的音频输出只考虑单一的设置进行控制音量输出的情况,提高了用户体验。
实施例二
本发明实施例提供一种信号输出方法,如图2所示,该方法可以包括:
步骤201、信号输出装置获取音频输出设备接入的线圈阻值。
可选地,本发明实施例中的信号输出装置可以为终端设备,该终端设备可以是移动终端,优选的可以是具有操作系统的移动智能终端设备,例如,手机、PAD、PMP等。本发明实施例中的音频输出设备可以为耳机。
可选地,当音频输出设备连上信号输出装置后,信号输出装置的音频驱动可以通过计算音频输出设备左右声道的线圈阻值来判断连上的音频输出设备是耳机还是音响。
步骤202、当所述音频输出设备接入的线圈阻值满足第一预设条件,信号输出装置确定所述音频输出设备为第一设备。
其中,第一预设条件可以为预设的电阻值范围,该预设的电阻值范围为第一设备的线圈阻值的范围,第一设备可以为耳机等输出音量较小的音频输出设备,例如,耳机左右声道的线圈阻值范围。
示例性的,用户将音频输出设备耳机连接到手机上时,手机需要检测接入的音频输出设备是什么,即手机检测接入的音频输出设备的左右声道的线圈阻值,当检测到的左右声道的线圈阻值在预设的电阻值范围内,确定该外接的设备为耳机。
步骤203、信号输出装置设置与所述第一设备对应的输出阈值为第一 阈值。
可选地,当信号输出装置检测到外接的第一设备为耳机,设置耳机的音量输出阈值为第一阈值,该第一阈值为耳机连接到信号输出装置时,信号输出装置输入耳机的最大音量值。,由于第一设备为输出音量较小的设备,因此,设置第一阈值通常小于信号输出装置能够输出的最大音量值。
信号输出装置的驱动底层可以通过改写音频驱动中的一个或多个寄存器的数值来改变D/A转换中的音频数字信号的数值,即设置输出阈值。
步骤204、信号输出装置控制输入所述第一设备的音量小于等于所述第一阈值。
可选地,当耳机连接到信号输出装置时,用户通过调节手机的音量的大小控制耳机输出的音量大小,当用户调节音量时输入耳机的音量值大于第一阈值时,信号输出装置控制调节该输入耳机的音量值小于等于第一阈值。
本发明实施例提供的信号输出方法,能够根据检测的不同音频输出设备的类型设置与其对应的输出阈值,从而根据该输出阈值控制对应的音频输出设备的音量,避免了智能终端的音频输出只考虑单一的设置进行控制音量输出的情况,提高了用户体验。
实施例三
本发明实施例提供一种信号输出方法,如图3所示,该方法可以包括:
步骤301、信号输出装置获取音频输出设备接入的线圈阻值。
可选地,本发明实施例中的信号输出装置可以为终端设备,该终端设备可以是移动终端,优选的可以是具有操作系统的移动智能终端设备,例如,手机、PAD、PMP等。本发明实施例中的音频输出设备可以为音响。
可选地,当音频输出设备连上信号输出装置后,信号输出装置的音频驱动可以通过计算音频输出设备左右声道的线圈阻值来判断连上的音频输出设备是耳机还是音响。
步骤302、当所述音频输出设备接入的线圈阻值满足第二预设条件,信号输出装置确定所述音频输出设备为第二设备。
其中,第二预设条件可以为预设的电阻值范围,该预设的电阻值范围为第二设备的线圈阻值的范围,第二设备可以为音响等输出音量较大的音频输出设备,例如,音响左右声道的线圈阻值范围。
示例性的,用户将音频输出设备音响连接到手机上时,手机需要检测接入的音频输出设备是什么,即手机检测接入的音频输出设备的左右声道的线圈阻值,当检测到的左右声道的线圈阻值在预设的电阻值范围内,确定该外接的设备为音响。
步骤303、信号输出装置设置与所述第二设备对应的输出阈值为第二阈值。
可选地,当信号输出装置检测到外接的第一设备为音响,设置音响的音量输出阈值为第二阈值,该第二阈值为音响连接到信号输出装置时,信号输出装置输入音响的最大音量值,该第二阈值可以为信号输出装置能够输出的最大音量值。
步骤304、信号输出装置控制输入所述第二设备的音量小于等于所述第二阈值。
可选地,当音响连接到信号输出装置时,用户通过调节手机的音量的大小控制音响输出的音量大小,当用户调节音量时输入音响的音量值大于第二阈值时,信号输出装置控制调节该输入音响的音量值小于等于第二阈值。
信号输出装置通过音频电路的转换,将设定的音频数字信号转换成对应的模拟信号向插在音频输出孔的音响设备发送,经过音响设备的信号处理得到需要的音量增益。
示例性的,用户将音响或外放插入移动终端的音频输出插孔中,打开音乐播放器的应用,调整音量,音频输出设备检测装置通过检测判断插入的是音响,音频控制装置根据预设的音响外放音量阈值,对应调整输入音 响的音量,并通过音响外放。避免了当用户希望通过音响等放大音量时,反而被系统设置的耳机输出音量阈值限制的情况,提高了用户体验。
本发明实施例提供的信号输出方法,能够根据检测的不同音频输出设备的类型设置与其对应的输出阈值,从而根据该输出阈值控制对应的音频输出设备的音量,避免了智能终端的音频输出只考虑单一的设置进行控制音量输出的情况,提高了用户体验。
实施例四
本发明实施例提供一种信号输出装置4,如图4所示,所述装置4包括:确定单元40、设置单元41、控制单元42,其中,
所述确定单元40,设置为检测外接的音频输出设备的类型;
所述设置单元41,设置为根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值;
所述控制单元42,设置为根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。
可选地,所述确定单元40,具体设置为根据所述音频输出设备接入的线圈阻值,确定所述音频输出设备的类型。
可选地,如图5所示,所述装置还包括:获取单元43,设置为获取所述音频输出设备接入的线圈阻值;
所述确定单元40,具体设置为当所述音频输出设备接入的线圈阻值满足第一预设条件,确定所述音频输出设备为第一设备;还具体设置为当所述音频输出设备接入的线圈阻值满足第二预设条件,确定所述音频输出设备为第二设备。
可选地,所述设置单元41,具体设置为若所述音频输出设备为第一设备,设置与所述第一设备对应的输出阈值为第一阈值;还具体设置为若所述音频输出设备为第二设备,设置与所述第二设备对应的输出阈值为第二阈值,其中,所述第一阈值小于所述第二阈值。
可选地,所述控制单元42,具体设置为当外接所述第一设备时,控制输入所述第一设备的音量小于等于所述第一阈值;还具体设置为当外接所述第二设备时,控制输入所述第二设备的音量小于等于所述第二阈值。
在实际应用中,所述确定单元40、设置单元41、控制单元42及获取单元43均可由位于信号输出装置中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
可选地,本发明实施例提供的信号输出装置的理解可以参考实施例一和实施例三的信号输出方法的说明,本发明实施例在此不再赘述。
本发明实施例提供的信号输出装置,能够根据检测的不同音频输出设备的类型设置与其对应的输出阈值,从而根据该输出阈值控制对应的音频输出设备的音量,避免了智能终端的音频输出只考虑单一的设置进行控制音量输出的情况,提高了用户体验。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
如上所述,本发明实施例提供的一种信号输出方法和装置具有以下有益效果:能够根据检测的不同音频输出设备的类型设置与其对应的输出阈值,从而根据该输出阈值控制对应的音频输出设备的音量,避免了智能终端的音频输出只考虑单一的设置进行控制音量输出的情况,提高了用户体验。

Claims (10)

  1. 一种信号输出方法,所述方法包括:
    确定外接的音频输出设备的类型;
    根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值;
    根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。
  2. 根据权利要求1所述的方法,其中,所述检测外接的音频输出设备的类型,包括:
    根据所述音频输出设备接入的线圈阻值,确定所述音频输出设备的类型。
  3. 根据权利要求2所述的方法,其中,所述根据所述音频输出设备接入的线圈阻值,确定所述音频输出设备的类型,包括:
    获取所述音频输出设备接入的线圈阻值;
    当所述音频输出设备接入的线圈阻值满足第一预设条件,确定所述音频输出设备为第一设备;
    当所述音频输出设备接入的线圈阻值满足第二预设条件,确定所述音频输出设备为第二设备。
  4. 根据权利要求3所述的方法,其中,所述根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值,包括:
    若所述音频输出设备为第一设备,设置与所述第一设备对应的输出阈值为第一阈值;
    若所述音频输出设备为第二设备,设置与所述第二设备对应的输出阈值为第二阈值,其中,所述第一阈值小于所述第二阈值。
  5. 根据权利要求4所述的方法,其中,所述根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出,包括:
    当外接所述第一设备时,控制输入所述第一设备的音量小于等于所述第一阈值;
    当外接所述第二设备时,控制输入所述第二设备的音量小于等于所述第二阈值。
  6. 一种信号输出装置,所述装置包括:确定单元、设置单元、控制单元,其中,
    所述确定单元,设置为检测外接的音频输出设备的类型;
    所述设置单元,设置为根据所述音频输出设备的类型,设置与所述音频输出设备的类型对应的输出阈值;
    所述控制单元,设置为根据所述与所述音频输出设备的类型对应的输出阈值控制音量输出。
  7. 根据权利要求6所述的装置,其中,所述确定单元,具体设置为根据所述音频输出设备接入的线圈阻值,确定所述音频输出设备的类型。
  8. 根据权利要求7所述的装置,其中,所述装置还包括:获取单元,设置为获取所述音频输出设备接入的线圈阻值;
    所述确定单元,具体设置为当所述音频输出设备接入的线圈阻值满足第一预设条件,确定所述音频输出设备为第一设备;还具体设置为当所述音频输出设备接入的线圈阻值满足第二预设条件,确定所述音频输出设备为第二设备。
  9. 根据权利要求8所述的装置,其中,
    所述设置单元,具体设置为若所述音频输出设备为第一设备,设置与所述第一设备对应的输出阈值为第一阈值;还具体设置为若所述音频输出设备为第二设备,设置与所述第二设备对应的输出阈值为第二阈值,其中,所述第一阈值小于所述第二阈值。
  10. 根据权利要求9所述的装置,其中,
    所述控制单元,具体设置为当外接所述第一设备时,控制输入所述第一设备的音量小于等于所述第一阈值;还具体设置为当外接所述第二设备时,控制输入所述第二设备的音量小于等于所述第二阈值。
PCT/CN2016/108407 2016-06-17 2016-12-02 一种信号输出方法和装置 WO2017215203A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610437480.7A CN107517428A (zh) 2016-06-17 2016-06-17 一种信号输出方法和装置
CN201610437480.7 2016-06-17

Publications (1)

Publication Number Publication Date
WO2017215203A1 true WO2017215203A1 (zh) 2017-12-21

Family

ID=60662977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108407 WO2017215203A1 (zh) 2016-06-17 2016-12-02 一种信号输出方法和装置

Country Status (2)

Country Link
CN (1) CN107517428A (zh)
WO (1) WO2017215203A1 (zh)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10987028B2 (en) 2018-05-07 2021-04-27 Apple Inc. Displaying user interfaces associated with physical activities
US11039778B2 (en) 2018-03-12 2021-06-22 Apple Inc. User interfaces for health monitoring
US11107580B1 (en) 2020-06-02 2021-08-31 Apple Inc. User interfaces for health applications
US11152100B2 (en) 2019-06-01 2021-10-19 Apple Inc. Health application user interfaces
US11209957B2 (en) 2019-06-01 2021-12-28 Apple Inc. User interfaces for cycle tracking
US11223899B2 (en) 2019-06-01 2022-01-11 Apple Inc. User interfaces for managing audio exposure
US11228835B2 (en) 2019-06-01 2022-01-18 Apple Inc. User interfaces for managing audio exposure
US11266330B2 (en) 2019-09-09 2022-03-08 Apple Inc. Research study user interfaces
US11317833B2 (en) 2018-05-07 2022-05-03 Apple Inc. Displaying user interfaces associated with physical activities
US11698710B2 (en) 2020-08-31 2023-07-11 Apple Inc. User interfaces for logging user activities

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698614B (zh) * 2020-05-25 2021-10-26 歌尔光学科技有限公司 音频输出电路及电子设备
CN115514844A (zh) * 2021-06-07 2022-12-23 华为技术有限公司 一种音量调节的方法,电子设备和系统
CN114173255A (zh) * 2021-12-03 2022-03-11 Oppo广东移动通信有限公司 参数调整方法及相关产品
CN117119349A (zh) * 2023-04-25 2023-11-24 荣耀终端有限公司 音量控制方法、图形界面及相关装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020039426A1 (en) * 2000-10-04 2002-04-04 International Business Machines Corporation Audio apparatus, audio volume control method in audio apparatus, and computer apparatus
CN101964932A (zh) * 2010-10-22 2011-02-02 张沈平 一种音源设备以及控制方法
CN103813235A (zh) * 2012-11-13 2014-05-21 联想(北京)有限公司 一种信息处理的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020039426A1 (en) * 2000-10-04 2002-04-04 International Business Machines Corporation Audio apparatus, audio volume control method in audio apparatus, and computer apparatus
CN101964932A (zh) * 2010-10-22 2011-02-02 张沈平 一种音源设备以及控制方法
CN103813235A (zh) * 2012-11-13 2014-05-21 联想(北京)有限公司 一种信息处理的方法及装置

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11202598B2 (en) 2018-03-12 2021-12-21 Apple Inc. User interfaces for health monitoring
US11039778B2 (en) 2018-03-12 2021-06-22 Apple Inc. User interfaces for health monitoring
US11950916B2 (en) 2018-03-12 2024-04-09 Apple Inc. User interfaces for health monitoring
US11103161B2 (en) 2018-05-07 2021-08-31 Apple Inc. Displaying user interfaces associated with physical activities
US10987028B2 (en) 2018-05-07 2021-04-27 Apple Inc. Displaying user interfaces associated with physical activities
US11712179B2 (en) 2018-05-07 2023-08-01 Apple Inc. Displaying user interfaces associated with physical activities
US11317833B2 (en) 2018-05-07 2022-05-03 Apple Inc. Displaying user interfaces associated with physical activities
US11152100B2 (en) 2019-06-01 2021-10-19 Apple Inc. Health application user interfaces
US11209957B2 (en) 2019-06-01 2021-12-28 Apple Inc. User interfaces for cycle tracking
US11223899B2 (en) 2019-06-01 2022-01-11 Apple Inc. User interfaces for managing audio exposure
US11228835B2 (en) 2019-06-01 2022-01-18 Apple Inc. User interfaces for managing audio exposure
US11234077B2 (en) 2019-06-01 2022-01-25 Apple Inc. User interfaces for managing audio exposure
US11842806B2 (en) 2019-06-01 2023-12-12 Apple Inc. Health application user interfaces
US11527316B2 (en) 2019-06-01 2022-12-13 Apple Inc. Health application user interfaces
US11266330B2 (en) 2019-09-09 2022-03-08 Apple Inc. Research study user interfaces
US11194455B1 (en) 2020-06-02 2021-12-07 Apple Inc. User interfaces for health applications
US11710563B2 (en) 2020-06-02 2023-07-25 Apple Inc. User interfaces for health applications
US11594330B2 (en) 2020-06-02 2023-02-28 Apple Inc. User interfaces for health applications
US11482328B2 (en) 2020-06-02 2022-10-25 Apple Inc. User interfaces for health applications
US11107580B1 (en) 2020-06-02 2021-08-31 Apple Inc. User interfaces for health applications
US11698710B2 (en) 2020-08-31 2023-07-11 Apple Inc. User interfaces for logging user activities

Also Published As

Publication number Publication date
CN107517428A (zh) 2017-12-26

Similar Documents

Publication Publication Date Title
WO2017215203A1 (zh) 一种信号输出方法和装置
WO2017032030A1 (zh) 一种音量调节方法及用户终端
EP2925015B1 (en) Method and apparatus for sound playback control
CN102172044B (zh) 音频输出的控制方法及设备
US9706304B1 (en) Systems and methods to control audio output for a particular ear of a user
US9338540B2 (en) Device control based on worn headphone detection
WO2017215657A1 (zh) 音效处理方法及终端设备
JP2017507550A5 (zh)
US10027299B2 (en) Volume control
TWI637314B (zh) 智慧型耳機裝置個人化系統及其使用方法
WO2016187946A1 (zh) 音量控制方法、电子设备和计算机存储介质
US9219957B2 (en) Sound pressure level limiting
US10506323B2 (en) User customizable headphone system
JP2020109968A (ja) ユーザ固有音声情報及びハードウェア固有音声情報に基づくカスタマイズされた音声処理
CN107885479A (zh) 一种音量调整方法、终端设备及计算机可读介质
WO2015131550A1 (zh) 一种控制播放器进入睡眠模式的方法、装置及终端设备
WO2022262223A1 (zh) 一种辅听耳机及其控制方法、装置、系统及可读介质
WO2024032133A1 (zh) 听力检测方法、装置、电子设备及存储介质
TW201944251A (zh) 音量調節方法、裝置、電子設備及存儲介質
TWM519370U (zh) 具有可依據聽力生理狀況調整等化器設定之電子裝置及聲音播放裝置
US10045117B2 (en) Earpiece with modified ambient environment over-ride function
WO2017032031A1 (zh) 一种音量调节方法及用户终端
TWM526238U (zh) 可依據使用者年齡調整等化器設定之電子裝置及聲音播放裝置
TW201423587A (zh) 被叫提示系統及方法
KR101520800B1 (ko) 개인의 청력 보호 기능을 가지는 이어폰 장치

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: 16905315

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16905315

Country of ref document: EP

Kind code of ref document: A1