WO2018064879A1 - Method and device for speaker fault processing - Google Patents

Method and device for speaker fault processing Download PDF

Info

Publication number
WO2018064879A1
WO2018064879A1 PCT/CN2017/080450 CN2017080450W WO2018064879A1 WO 2018064879 A1 WO2018064879 A1 WO 2018064879A1 CN 2017080450 W CN2017080450 W CN 2017080450W WO 2018064879 A1 WO2018064879 A1 WO 2018064879A1
Authority
WO
WIPO (PCT)
Prior art keywords
speaker
data
fault
faulty
processing method
Prior art date
Application number
PCT/CN2017/080450
Other languages
French (fr)
Chinese (zh)
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 WO2018064879A1 publication Critical patent/WO2018064879A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • H04R29/002Loudspeaker arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Definitions

  • the present application relates to, but is not limited to, the field of audio equipment, and in particular, to a speaker fault processing method and apparatus.
  • the preset software will force the PCM (Pulse Code Modulation) audio data to be right and left according to the left and right fixed positions of the speaker.
  • the channel is isolated from left and right, and then output separately to achieve stereo effects.
  • the speaker at the top of the screen represents the left channel
  • the speaker at the bottom of the screen represents the right channel
  • the upper speaker outputs the audio data of the left channel
  • the lower speaker outputs the audio data of the right channel.
  • the voice call it is up to the manufacturer to use the speaker at the top of the screen or the speaker at the bottom of the screen. Because of the characteristics of the voice call mono, it is output in mono.
  • the present application provides a speaker fault processing method and apparatus for solving the problem that the basic function is incomplete when a part of the speaker fails.
  • the present application provides a speaker fault processing method for a device having multiple speakers, The method includes the following steps:
  • the data of the malfunctioning speaker is transmitted to the non-faulty speaker for playback.
  • the detecting whether the speaker has failed may include:
  • the sound signal output by the speaker is acquired by a microphone proximate the speaker.
  • the sound signal output by the speaker is collected once every predetermined time interval.
  • the data of the malfunctioning speaker is transmitted to the non-faulty speaker for playback, including:
  • the data of the failed speaker is directly sent to the trouble-free speaker for playback.
  • the data of the malfunctioning speaker is transmitted to the non-faulty speaker for playback, including:
  • the data of the malfunctioning speaker is synthesized with the data of the trouble-free speaker; the synthesized data is transmitted to the trouble-free speaker for playback.
  • the above speaker failure processing method may further include: issuing a speaker failure prompt to the user when the speaker fails.
  • the present application also provides a speaker fault processing apparatus for a device having multiple speakers, the apparatus comprising:
  • a fault detecting unit configured to detect whether a speaker has failed
  • a data sending unit connected to the fault detecting unit, configured to be the fault detecting unit
  • the data of the malfunctioning speaker is sent to the non-faulty speaker for playback.
  • the fault detecting unit includes:
  • a signal acquisition subunit configured to acquire a sound signal output by the speaker when playing audio through a speaker
  • the fault judging subunit is configured to determine whether the amplitude of the sound signal is less than a preset threshold, and if so, determine that the speaker is faulty.
  • the signal acquisition subunit is a microphone proximate the speaker.
  • the data sending unit includes:
  • a synthesis subunit configured to synthesize data of the faulty speaker with data of a faultless speaker
  • a switching subunit configured to transmit the synthesized data to the faultless speaker for playback or to directly transmit data of the faulty speaker to the faultless speaker for playback.
  • the apparatus may further include a prompting unit coupled to the fault detecting unit and configured to issue a speaker fault prompt to the user when the speaker fails.
  • the present application also provides a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the speaker fault processing method described above.
  • the present application controls the different output modes of the audio by detecting the quality of the speakers in the device with multiple speakers, and maintains the basic function integrity even in the case of a good speaker.
  • FIG. 1 is a flow chart of a method for processing a speaker fault according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a speaker fault processing apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural view of a mobile phone with dual speakers according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for processing a speaker fault when playing music according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for processing a speaker fault during a hands-free call according to an embodiment of the present invention
  • FIG. 6 is a flow chart of a method for processing a speaker fault during a hand-held call according to an embodiment of the present invention.
  • the present application provides a speaker fault processing method and apparatus.
  • the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
  • a speaker fault processing method according to an embodiment of the present invention, as shown in FIG. 1, the present embodiment is applied to a device having multiple speakers, the method comprising: first detecting whether a speaker has a fault; and then detecting a speaker failure Transmitting the data of the faulty speaker to a faultless speaker for playing; and when the speaker fails, issuing a speaker fault prompt to the user.
  • the faulty speaker and the faultless speaker are at least one, wherein:
  • the data of the faulty speaker is sent to a non-faulty speaker for playback.
  • the faultless speaker can be randomly selected or pre-arranged. Specified.
  • the speaker fault processing method of this embodiment includes the following steps:
  • step s101 when the audio is played through the speaker, the sound signal output by the speaker is collected.
  • the sound signal output by the speaker is collected by a microphone close to the speaker, and the sound signal output by the speaker is collected once every preset time interval.
  • step s102 it is determined whether the amplitude of the sound signal is less than a preset threshold. If yes, it is determined that the speaker is faulty, and the process proceeds to step s103; otherwise, the speaker is normally played.
  • step s103 the speaker that plays the data is switched.
  • the data of the malfunctioning speaker is synthesized with the data of the trouble-free speaker; then the synthesized data is sent to the trouble-free speaker for playback.
  • the speaker fails during a voice call the data of the failed speaker is sent directly to the trouble-free speaker for playback.
  • a speaker fault processing apparatus as shown in FIG. 2, the present embodiment is applied to a device having multiple speakers, and the apparatus includes a fault detecting unit 21, a data transmitting unit 22, and a prompting unit 23, wherein the fault
  • the detecting unit 21 is connected to the data transmitting unit 22 and the prompting unit 23, respectively.
  • the failure detecting unit 21 is configured to detect whether or not the speaker has malfunctioned.
  • the fault detecting unit 21 includes a signal collecting subunit 211 and a fault judging subunit 212, wherein the signal collecting subunit 211 and the fault judging subunit 212 are connected.
  • the signal acquisition sub-unit 211 is configured to acquire a sound signal output by the speaker when the audio is played through the speaker; in the embodiment, the signal acquisition sub-unit 211 may be a microphone close to the speaker.
  • the fault judging subunit 212 is configured to determine whether the amplitude of the sound signal is less than a preset threshold, and if so, determine that the speaker is faulty.
  • the data transmitting unit 22 is configured to transmit data of the malfunctioning speaker to the non-faulty speaker for playback when the failure detecting unit 21 detects that there is a malfunction of the speaker.
  • the data transmitting unit 22 includes a synthesizing subunit 221 and a switching subunit 222, and the synthesizing subunit 221 and the switching subunit 222 are connected.
  • the synthesis subunit 221 is configured to compare the data of the failed speaker with The data of the faultless speaker is synthesized; the switching subunit 222 is configured to transmit the synthesized data to the faultless speaker for playback or directly transmit data of the faulty speaker to the faultless speaker. Play.
  • the prompting unit 23 is configured to issue a speaker fault prompt to the user in the event of a malfunction of the speaker.
  • a mobile phone is taken as an example to describe a speaker fault processing method.
  • the mobile phone uses a dual speaker design in addition to the necessary communication, display, audio and other subsystems.
  • the structure of the mobile phone of this embodiment is as shown in FIG. 3.
  • the mobile phone includes two speakers at the top and the bottom.
  • the top speaker makes a handset during a voice call, and plays left channel PCM data while playing music; the bottom speaker plays when playing music. PCM data for the right channel.
  • the process of processing the fault is as shown in FIG. 4, and includes the following steps:
  • the mobile phone uses a built-in music player to play music or a video player to play video, and also supports a third-party playing application.
  • the multimedia processor in the mobile phone is responsible for decoding the audio or video file in the multimedia format into general PCM data; the data sending unit is responsible for converting the decoded PCM data into a DAC (Digital to Analog Convert) into a sound. signal.
  • DAC Digital to Analog Convert
  • the synthesis and switching audio output device is responsible for synthesizing the decoded stereo PCM into a mono PCM output to a single speaker;
  • the synthesis and switching audio output device is responsible for The decoded stereo PCM left and right channel data are isolated and output to two separate speakers. This embodiment is the case of the (2)th case.
  • the fault detecting unit detects whether the speaker refers to a fault such as an overcurrent, a damage, an open circuit, or a short circuit.
  • the fault detection unit contains two MICs (microphones), a top MIC and a bottom MIC. At present, the two MICs basically become the standard hardware design of mobile terminals.
  • the top MIC is responsible for collecting the audio output sound data of the top speaker
  • the bottom MIC is responsible for collecting the sound data of the bottom speaker.
  • the two MICs are in a working state at regular time intervals, for example, 1 second, and the sound signals of the two speakers are collected.
  • the top speaker If the audio data amplitude signal collected by the top MIC is low or not at all, the top speaker is damaged. If the bottom MIC captures the audio If the data amplitude signal is low or not at all, the bottom speaker is damaged. Due to the location of the MIC and the phase principle of the sound transmission, it is entirely feasible to collect different speaker sound data from the top MIC and the bottom MIC, respectively.
  • fault detecting unit detects that a single speaker has failed, converting the played audio data into mono audio data (combining the output stereo PCM data into mono data) and sending it to a good single speaker for playback. ;
  • the speaker fault handling method is taken as an example, and the speaker fault processing method is described.
  • the mobile phone shown in FIG. 3 is used, wherein the top speaker is used as the downlink output of the hands-free call.
  • the process of this embodiment is as shown in FIG. 5, and includes the following steps:
  • the mobile phone has a calling application, initiates a call, and adopts a hands-free calling mode, and the top speaker sounds.
  • the fault detecting unit detects whether the top speaker refers to a fault such as an overcurrent, a damage, an open circuit, or a short circuit.
  • the detection method is the same as in the third embodiment.
  • a speaker fault handling method is taken as an example, and a speaker fault processing method is described.
  • a mobile phone as shown in FIG. 3 is used, wherein the top speaker is used as a hand-held speaker.
  • the process of this embodiment is as shown in FIG. 6, and includes the following steps:
  • the mobile phone has a call application, initiates a call, and adopts a handheld call mode, and the top speaker sounds.
  • the fault detecting unit detects whether the top speaker refers to a fault such as an overcurrent, a damage, an open circuit, or a short circuit.
  • the detection method is the same as that of the fourth embodiment.
  • the mono PCM data of the call is switched to the bottom speaker output, and the mode is automatically switched to the hands-free mode, and the user is prompted to “the earpiece is damaged, and the hands-free mode needs to be enabled”;
  • the present application controls the different output modes of the audio by detecting the quality of the speakers in the device with multiple speakers, and maintains the basic function integrity even in the case of a good speaker.
  • the embodiment of the present application further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the speaker fault processing method described above.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and not Remove the media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the embodiment of the present application provides a speaker fault processing method and apparatus, which can control different output modes of audio by detecting the quality of a speaker in a device with multiple speakers, and can maintain the basic function integrity even in the case of a good speaker.

Landscapes

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

Abstract

Disclosed is a method for speaker fault processing. The method comprises the following steps: detecting whether a speaker is faulty; and insofar as any speaker is detected to be faulty, transmitting data of the faulty speaker to a faultless speaker for playback. Also disclosed is a device for speaker fault processing. By detecting whether speakers in a device having multiple speakers are working/faulty, different output modes for audio are controlled accordingly; hence, the completeness of basic functions can be maintained even in a case of one working speaker.

Description

一种扬声器故障处理方法和装置Speaker fault processing method and device 技术领域Technical field
本申请涉及但不限于音频设备领域,尤其涉及一种扬声器故障处理方法和装置。The present application relates to, but is not limited to, the field of audio equipment, and in particular, to a speaker fault processing method and apparatus.
背景技术Background technique
目前许多移动终端在设计时采用了多个扬声器的方案。以采用两个扬声器为例,在播放音乐过程中,为了保证听觉效果,在出厂时预置软件就会强制将PCM(Pulse Code Modulation,脉冲编码调制)音频数据根据扬声器的左右固定位置对左右声道进行左右隔离,然后分别输出,达到立体声的效果。比如屏幕上方的扬声器代表左声道,屏幕下方的扬声器代表右声道,则上方的扬声器输出左声道的音频数据,下方的扬声器输出右声道的音频数据。Many mobile terminals are currently designed with multiple speakers. Taking two speakers as an example, in order to ensure the audible effect during the playing of music, the preset software will force the PCM (Pulse Code Modulation) audio data to be right and left according to the left and right fixed positions of the speaker. The channel is isolated from left and right, and then output separately to achieve stereo effects. For example, the speaker at the top of the screen represents the left channel, and the speaker at the bottom of the screen represents the right channel, then the upper speaker outputs the audio data of the left channel, and the lower speaker outputs the audio data of the right channel.
另外,在语音通话过程中,则由厂商自行决定使用屏幕上方的扬声器或屏幕下方的扬声器,由于语音通话单声道的特性,所以都是用单声道进行输出。In addition, during the voice call, it is up to the manufacturer to use the speaker at the top of the screen or the speaker at the bottom of the screen. Because of the characteristics of the voice call mono, it is output in mono.
如果两个扬声器中的单个扬声器由于特殊原因损毁(如接触不良或烧毁),单个声道将会出现无声现象,那么播放视频或音频时就会出现声音不完整的现象,比如只有左声道或只有右声道,这会给用户带来极大的不便。另外一种情况如果语音通话使用了其中一个扬声器而且此扬声器损坏,那么将造成用户无法进行正常免提或手持通话。If a single speaker in two speakers is damaged due to a special cause (such as poor contact or burnout), a single channel will be silent, then the sound will be incomplete when playing video or audio, such as only the left channel or Only the right channel, this will bring great inconvenience to the user. In another case, if one of the speakers is used in the voice call and the speaker is damaged, the user will not be able to make a normal hands-free or hand-held call.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请提供一种扬声器故障处理方法和装置,用以解决在部分扬声器出现故障时导致基本功能不完整的问题。The present application provides a speaker fault processing method and apparatus for solving the problem that the basic function is incomplete when a part of the speaker fails.
本申请提供一种扬声器故障处理方法,用于具有多扬声器的设备,所述 方法包括以下步骤:The present application provides a speaker fault processing method for a device having multiple speakers, The method includes the following steps:
检测扬声器是否发生故障;Detecting if the speaker has failed;
当检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放。When a malfunction of the speaker is detected, the data of the malfunctioning speaker is transmitted to the non-faulty speaker for playback.
在示例性实施方式中,所述检测扬声器是否发生故障可以包括:In an exemplary embodiment, the detecting whether the speaker has failed may include:
在通过扬声器播放音频时,采集所述扬声器输出的声音信号;Acquiring a sound signal output by the speaker when playing audio through a speaker;
判断所述声音信号的幅值是否小于预先设定的阈值,如果是,则判断所述扬声器出现故障。It is determined whether the amplitude of the sound signal is less than a preset threshold, and if so, it is determined that the speaker is faulty.
在示例性实施方式中,通过靠近所述扬声器的麦克风采集所述扬声器输出的声音信号。In an exemplary embodiment, the sound signal output by the speaker is acquired by a microphone proximate the speaker.
在示例性实施方式中,在通过扬声器播放音频时,每隔预先设定的时间间隔,采集一次所述扬声器输出的声音信号。In an exemplary embodiment, when audio is played through a speaker, the sound signal output by the speaker is collected once every predetermined time interval.
在示例性实施方式中,当检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放,包括:In an exemplary embodiment, when a malfunction of the speaker is detected, the data of the malfunctioning speaker is transmitted to the non-faulty speaker for playback, including:
当扬声器在语音通话时出现故障,直接将所述出现故障的扬声器的数据发送到所述无故障的扬声器进行播放。When the speaker fails during a voice call, the data of the failed speaker is directly sent to the trouble-free speaker for playback.
在示例性实施方式中,当检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放,包括:In an exemplary embodiment, when a malfunction of the speaker is detected, the data of the malfunctioning speaker is transmitted to the non-faulty speaker for playback, including:
当扬声器在播放音乐时出现故障,将所述出现故障的扬声器的数据与无故障的扬声器的数据进行合成;将合成后的数据发送到所述无故障的扬声器进行播放。When the speaker malfunctions while playing music, the data of the malfunctioning speaker is synthesized with the data of the trouble-free speaker; the synthesized data is transmitted to the trouble-free speaker for playback.
在示例性实施方式中,上述扬声器故障处理方法还可以包括:在扬声器出现故障时,向用户发出扬声器故障提示。In an exemplary embodiment, the above speaker failure processing method may further include: issuing a speaker failure prompt to the user when the speaker fails.
本申请还提供一种扬声器故障处理装置,用于具有多扬声器的设备,所述装置包括:The present application also provides a speaker fault processing apparatus for a device having multiple speakers, the apparatus comprising:
故障检测单元,配置为检测扬声器是否发生故障;a fault detecting unit configured to detect whether a speaker has failed;
数据发送单元,与所述故障检测单元连接,配置为当所述故障检测单元 检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放。a data sending unit, connected to the fault detecting unit, configured to be the fault detecting unit When it is detected that there is a malfunction of the speaker, the data of the malfunctioning speaker is sent to the non-faulty speaker for playback.
在示例性实施方式中,所述故障检测单元包括:In an exemplary embodiment, the fault detecting unit includes:
信号采集子单元,配置为在通过扬声器播放音频时,采集所述扬声器输出的声音信号;a signal acquisition subunit configured to acquire a sound signal output by the speaker when playing audio through a speaker;
故障判断子单元,配置为判断所述声音信号的幅值是否小于预先设定的阈值,如果是,则判断所述扬声器出现故障。The fault judging subunit is configured to determine whether the amplitude of the sound signal is less than a preset threshold, and if so, determine that the speaker is faulty.
在示例性实施方式中,所述信号采集子单元为靠近所述扬声器的麦克风。In an exemplary embodiment, the signal acquisition subunit is a microphone proximate the speaker.
在示例性实施方式中,所述数据发送单元包括:In an exemplary embodiment, the data sending unit includes:
合成子单元,配置为将所述出现故障的扬声器的数据与无故障的扬声器的数据进行合成;a synthesis subunit configured to synthesize data of the faulty speaker with data of a faultless speaker;
切换子单元,配置为将合成后的数据发送到所述无故障的扬声器进行播放或直接将所述出现故障的扬声器的数据发送到所述无故障的扬声器进行播放。A switching subunit configured to transmit the synthesized data to the faultless speaker for playback or to directly transmit data of the faulty speaker to the faultless speaker for playback.
在示例性实施方式中,所述装置还可以包括提示单元,所述提示单元与所述故障检测单元连接,配置为在扬声器出现故障时,向用户发出扬声器故障提示。In an exemplary embodiment, the apparatus may further include a prompting unit coupled to the fault detecting unit and configured to issue a speaker fault prompt to the user when the speaker fails.
本申请还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述扬声器故障处理方法。The present application also provides a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the speaker fault processing method described above.
本申请通过检测具有多扬声器的设备中扬声器的好坏,来控制音频的不同输出方式,即使在一个扬声器良好的情况下也可以保持基本功能完整。The present application controls the different output modes of the audio by detecting the quality of the speakers in the device with multiple speakers, and maintains the basic function integrity even in the case of a good speaker.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是本发明实施例的一种扬声器故障处理方法的流程图;1 is a flow chart of a method for processing a speaker fault according to an embodiment of the present invention;
图2是本发明实施例的一种扬声器故障处理装置的结构图;2 is a structural diagram of a speaker fault processing apparatus according to an embodiment of the present invention;
图3是本发明实施例的一种具有双扬声器的手机的结构示意图; 3 is a schematic structural view of a mobile phone with dual speakers according to an embodiment of the present invention;
图4是本发明实施例在播放音乐时的一种扬声器故障处理方法的流程图;4 is a flowchart of a method for processing a speaker fault when playing music according to an embodiment of the present invention;
图5是本发明实施例在免提通话时的一种扬声器故障处理方法的流程图;FIG. 5 is a flowchart of a method for processing a speaker fault during a hands-free call according to an embodiment of the present invention; FIG.
图6是本发明实施例在手持通话时的一种扬声器故障处理方法的流程图。6 is a flow chart of a method for processing a speaker fault during a hand-held call according to an embodiment of the present invention.
详述Detailed
为了解决在部分扬声器出现故障时导致基本功能不完整的问题,本申请提供了一种扬声器故障处理方法和装置,以下结合附图以及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不限定本申请。In order to solve the problem that the basic function is incomplete when a part of the speaker is faulty, the present application provides a speaker fault processing method and apparatus. The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
实施例1Example 1
本发明实施例的一种扬声器故障处理方法,如图1所示,本实施例用于具有多扬声器的设备,所述方法包括:首先检测扬声器是否发生故障;然后当检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放;并且在扬声器出现故障时,向用户发出扬声器故障提示。本实施例中,所述出现故障的扬声器和无故障的扬声器皆至少为一个,其中:A speaker fault processing method according to an embodiment of the present invention, as shown in FIG. 1, the present embodiment is applied to a device having multiple speakers, the method comprising: first detecting whether a speaker has a fault; and then detecting a speaker failure Transmitting the data of the faulty speaker to a faultless speaker for playing; and when the speaker fails, issuing a speaker fault prompt to the user. In this embodiment, the faulty speaker and the faultless speaker are at least one, wherein:
(1)当出现故障的扬声器和无故障的扬声器都为一个时,将出现故障的扬声器的数据发送到无故障的扬声器进行播放。(1) When both the malfunctioning speaker and the non-faulty speaker are one, the data of the malfunctioning speaker is sent to the trouble-free speaker for playback.
(2)当出现故障的扬声器为多个、无故障的扬声器为一个时,将所有出现故障的扬声器的数据发送到该无故障的扬声器进行播放。(2) When there are multiple faulty speakers and one faultless speaker is one, data of all faulty speakers is sent to the faultless speaker for playback.
(3)当出现故障的扬声器为一个、无故障的扬声器为多个时,将出现故障的扬声器的数据发送到某一无故障的扬声器进行播放,该无故障的扬声器可以随机选择,也可以预先指定。(3) When there is one faulty speaker and one faultless speaker, the data of the faulty speaker is sent to a non-faulty speaker for playback. The faultless speaker can be randomly selected or pre-arranged. Specified.
(4)当出现故障的扬声器和无故障的扬声器都为多个时,将多个出现故障的扬声器的数据发送到对应的多个无故障的扬声器进行播放,该多个出现故障的扬声器和多个无故障的扬声器的对应关系可以随机匹配,也可以指定匹配。如可以指定出现故障的扬声器与距其最近的无故障的扬声器对应;也可以根据检测顺序指定对应关系,如指定检测到的第一个出现故障的扬声器 与检测到的第一个无故障的扬声器对应,以此类推;也可以采用其他的指定方式。(4) When there are multiple faulty speakers and faultless speakers, data of the plurality of faulty speakers is transmitted to the corresponding plurality of faultless speakers for playing, the plurality of faulty speakers and more The correspondence of the fault-free speakers can be matched randomly or a match can be specified. For example, you can specify that the faulty speaker corresponds to the nearest faultless speaker; you can also specify the correspondence according to the detection order, such as specifying the first faulty speaker detected. Corresponds to the first fault-free speaker detected, and so on; other methods of designation are also possible.
参照图1,本实施例的扬声器故障处理方法包括以下步骤:Referring to FIG. 1, the speaker fault processing method of this embodiment includes the following steps:
步骤s101,在通过扬声器播放音频时,采集所述扬声器输出的声音信号。本实施例中,通过靠近所述扬声器的麦克风采集所述扬声器输出的声音信号,并且每隔预先设定的时间间隔,采集一次所述扬声器输出的声音信号。In step s101, when the audio is played through the speaker, the sound signal output by the speaker is collected. In this embodiment, the sound signal output by the speaker is collected by a microphone close to the speaker, and the sound signal output by the speaker is collected once every preset time interval.
步骤s102,判断所述声音信号的幅值是否小于预先设定的阈值,如果是,则判断所述扬声器出现故障,转步骤s103;否则正常使用扬声器播放声音。In step s102, it is determined whether the amplitude of the sound signal is less than a preset threshold. If yes, it is determined that the speaker is faulty, and the process proceeds to step s103; otherwise, the speaker is normally played.
步骤s103,切换播放数据的扬声器。当扬声器在播放音乐时出现故障,则将出现故障的扬声器的数据与无故障的扬声器的数据进行合成;然后将合成后的数据发送到所述无故障的扬声器进行播放。当扬声器在语音通话时出现故障,则直接将出现故障的扬声器的数据发送到无故障的扬声器进行播放。In step s103, the speaker that plays the data is switched. When the speaker malfunctions while playing music, the data of the malfunctioning speaker is synthesized with the data of the trouble-free speaker; then the synthesized data is sent to the trouble-free speaker for playback. When the speaker fails during a voice call, the data of the failed speaker is sent directly to the trouble-free speaker for playback.
实施例2Example 2
本发明实施例的一种扬声器故障处理装置,如图2所示,本实施例用于具有多扬声器的设备,所述装置包括故障检测单元21、数据发送单元22和提示单元23,其中,故障检测单元21分别与数据发送单元22和提示单元23连接。A speaker fault processing apparatus according to an embodiment of the present invention, as shown in FIG. 2, the present embodiment is applied to a device having multiple speakers, and the apparatus includes a fault detecting unit 21, a data transmitting unit 22, and a prompting unit 23, wherein the fault The detecting unit 21 is connected to the data transmitting unit 22 and the prompting unit 23, respectively.
故障检测单元21配置为检测扬声器是否发生故障。故障检测单元21包括信号采集子单元211和故障判断子单元212,其中,信号采集子单元211和故障判断子单元212连接。信号采集子单元211配置为在通过扬声器播放音频时,采集所述扬声器输出的声音信号;本实施例中,所述信号采集子单元211可以为靠近所述扬声器的麦克风。故障判断子单元212配置为判断所述声音信号的幅值是否小于预先设定的阈值,如果是,则判断所述扬声器出现故障。The failure detecting unit 21 is configured to detect whether or not the speaker has malfunctioned. The fault detecting unit 21 includes a signal collecting subunit 211 and a fault judging subunit 212, wherein the signal collecting subunit 211 and the fault judging subunit 212 are connected. The signal acquisition sub-unit 211 is configured to acquire a sound signal output by the speaker when the audio is played through the speaker; in the embodiment, the signal acquisition sub-unit 211 may be a microphone close to the speaker. The fault judging subunit 212 is configured to determine whether the amplitude of the sound signal is less than a preset threshold, and if so, determine that the speaker is faulty.
数据发送单元22配置为当故障检测单元21检测到有扬声器出现故障时,将出现故障的扬声器的数据发送到无故障的扬声器进行播放。所述数据发送单元22包括合成子单元221和切换子单元222,所述合成子单元221和切换子单元222连接。合成子单元221配置为将所述出现故障的扬声器的数据与 无故障的扬声器的数据进行合成;切换子单元222配置为将合成后的数据发送到所述无故障的扬声器进行播放或直接将所述出现故障的扬声器的数据发送到所述无故障的扬声器进行播放。The data transmitting unit 22 is configured to transmit data of the malfunctioning speaker to the non-faulty speaker for playback when the failure detecting unit 21 detects that there is a malfunction of the speaker. The data transmitting unit 22 includes a synthesizing subunit 221 and a switching subunit 222, and the synthesizing subunit 221 and the switching subunit 222 are connected. The synthesis subunit 221 is configured to compare the data of the failed speaker with The data of the faultless speaker is synthesized; the switching subunit 222 is configured to transmit the synthesized data to the faultless speaker for playback or directly transmit data of the faulty speaker to the faultless speaker. Play.
提示单元23配置为在扬声器出现故障时,向用户发出扬声器故障提示。The prompting unit 23 is configured to issue a speaker fault prompt to the user in the event of a malfunction of the speaker.
实施例3Example 3
本实施例以手机为例,对扬声器故障处理方法进行说明。本实施例中,手机除了必须的通信、显示、音频等子系统外,还在硬件设计中使用双扬声器设计。本实施例的手机的结构如图3所示,该手机包括顶部和底部两个扬声器,顶部扬声器在语音通话时做听筒,在播放音乐时播放左声道PCM数据;底部扬声器在播放音乐时播放右声道的PCM数据。In this embodiment, a mobile phone is taken as an example to describe a speaker fault processing method. In this embodiment, the mobile phone uses a dual speaker design in addition to the necessary communication, display, audio and other subsystems. The structure of the mobile phone of this embodiment is as shown in FIG. 3. The mobile phone includes two speakers at the top and the bottom. The top speaker makes a handset during a voice call, and plays left channel PCM data while playing music; the bottom speaker plays when playing music. PCM data for the right channel.
本实施例的手机在播放音乐时,处理故障的过程如图4所示,包括以下步骤:When the mobile phone of this embodiment plays music, the process of processing the fault is as shown in FIG. 4, and includes the following steps:
s401、使用应用程序播放音乐或视频。本实施例中,手机使用自带的音乐播放器播放音乐或视频播放器播放视频,也支持第三方播放应用程序。其中,手机中的多媒体处理器负责将多媒体格式的音频或视频文件进行解码为通用的PCM数据;数据发送单元负责将解码完成的PCM数据进行DAC(Digital to Analog Convert,数字模拟转换)转换为声音信号。(1)对于单个扬声器的情形,合成和切换音频输出装置负责将解码完成的立体声PCM合成为单声道PCM输出到单个扬声器;(2)对于两个扬声器的情形,合成和切换音频输出装置负责将解码完成的立体声PCM左右声道数据分别隔离进行输出至两个单独的扬声器。本实施例为第(2)种情形。S401. Use the app to play music or video. In this embodiment, the mobile phone uses a built-in music player to play music or a video player to play video, and also supports a third-party playing application. The multimedia processor in the mobile phone is responsible for decoding the audio or video file in the multimedia format into general PCM data; the data sending unit is responsible for converting the decoded PCM data into a DAC (Digital to Analog Convert) into a sound. signal. (1) For the case of a single speaker, the synthesis and switching audio output device is responsible for synthesizing the decoded stereo PCM into a mono PCM output to a single speaker; (2) for the case of two speakers, the synthesis and switching audio output device is responsible for The decoded stereo PCM left and right channel data are isolated and output to two separate speakers. This embodiment is the case of the (2)th case.
s402、检测扬声器是否发生故障。本实施例中,故障检测单元检测扬声器是否指存在过流、损毁、断路、短路等故障。该故障检测单元包含两个MIC(麦克风),分别是顶部MIC和底部MIC。目前两个MIC基本成为移动终端的标准硬件设计。顶部MIC负责采集顶部扬声器的音频输出声音数据,底部MIC负责采集底部扬声器的声音数据。当启动音乐播放器播放音乐或视频播放器播放视频时,每隔固定时间间隔比如1秒,使两个MIC处于工作状态,采集两个扬声器的声音信号。如果顶部MIC采集到的音频数据幅值信号比较低或者完全没有,则证明顶部扬声器损坏。如果底部MIC采集到的音频 数据幅值信号比较低或者完全没有,则证明底部扬声器损坏。由于MIC所处的位置和声音传输的相位原理,则顶部MIC和底部MIC分别采集不同的扬声器声音数据是完全可行的。S402. Detect whether the speaker is faulty. In this embodiment, the fault detecting unit detects whether the speaker refers to a fault such as an overcurrent, a damage, an open circuit, or a short circuit. The fault detection unit contains two MICs (microphones), a top MIC and a bottom MIC. At present, the two MICs basically become the standard hardware design of mobile terminals. The top MIC is responsible for collecting the audio output sound data of the top speaker, and the bottom MIC is responsible for collecting the sound data of the bottom speaker. When the music player is started to play music or the video player plays the video, the two MICs are in a working state at regular time intervals, for example, 1 second, and the sound signals of the two speakers are collected. If the audio data amplitude signal collected by the top MIC is low or not at all, the top speaker is damaged. If the bottom MIC captures the audio If the data amplitude signal is low or not at all, the bottom speaker is damaged. Due to the location of the MIC and the phase principle of the sound transmission, it is entirely feasible to collect different speaker sound data from the top MIC and the bottom MIC, respectively.
s403、如果故障检测单元检测到单个扬声器出现故障,则将播放的音频数据转换为单声道音频数据(即将输出的立体声PCM数据强制合成为单声道的数据)送往良好的单个扬声器进行播放;S403. If the fault detecting unit detects that a single speaker has failed, converting the played audio data into mono audio data (combining the output stereo PCM data into mono data) and sending it to a good single speaker for playback. ;
s404、如果检测到两个扬声器都没有发生故障,则正常播放的PCM数据按照左右声道隔离分别送往左右两个扬声器,实现立体声效果;S404. If it is detected that no fault occurs in the two speakers, the normally played PCM data is sent to the left and right speakers according to the left and right channel isolation to achieve a stereo effect;
s405、如果检测到两个扬声器都出现故障,则提示用户“本机器扬声器已损坏”。S405. If it is detected that both speakers are faulty, the user is prompted to "the machine speaker is damaged".
实施例4Example 4
本实施例以正在进行免提通话的手机为例,对扬声器故障处理方法进行说明,本实施例还是采用如图3所示的手机,其中,顶部扬声器作为免提通话的下行输出。本实施例的过程如图5所示,包括以下步骤:In this embodiment, the speaker fault handling method is taken as an example, and the speaker fault processing method is described. In this embodiment, the mobile phone shown in FIG. 3 is used, wherein the top speaker is used as the downlink output of the hands-free call. The process of this embodiment is as shown in FIG. 5, and includes the following steps:
s501、使用应用程序进行语音通话。本实施例中,手机自带通话应用程序,启动通话,并采用免提通话模式,顶部扬声器发声。S501, use the application for voice calls. In this embodiment, the mobile phone has a calling application, initiates a call, and adopts a hands-free calling mode, and the top speaker sounds.
s502、检测扬声器是否发生故障。本实施例中,故障检测单元检测顶部扬声器是否指存在过流、损毁、断路、短路等故障。检测方式与实施例3相同。S502. Detect whether the speaker is faulty. In this embodiment, the fault detecting unit detects whether the top speaker refers to a fault such as an overcurrent, a damage, an open circuit, or a short circuit. The detection method is the same as in the third embodiment.
s503、如果检测到顶部扬声器出现故障,则将通话的单声道的PCM数据切换至底部扬声器输出;S503. If a fault of the top speaker is detected, switching the mono PCM data of the call to the bottom speaker output;
s504、如果检测到顶部扬声器没有出现故障,则正常使用顶部扬声器播放声音;S504. If it is detected that the top speaker has not failed, the top speaker is normally used to play the sound;
s505、如果检测到两个扬声器都出现故障,则停止播放,提示用户“本机器扬声器已损坏”。S505. If it detects that both speakers are faulty, stop playing, prompting the user “The machine speaker is damaged”.
实施例5Example 5
本实施例以正在进行手持通话的手机为例,对扬声器故障处理方法进行说明,本实施例还是采用如图3所示的手机,其中,顶部扬声器作为手持通 话的听筒。本实施例的过程如图6所示,包括以下步骤:In this embodiment, a speaker fault handling method is taken as an example, and a speaker fault processing method is described. In this embodiment, a mobile phone as shown in FIG. 3 is used, wherein the top speaker is used as a hand-held speaker. The earpiece of the words. The process of this embodiment is as shown in FIG. 6, and includes the following steps:
s601、使用应用程序进行语音通话。本实施例中,手机自带通话应用程序,启动通话,并采用手持通话模式,顶部扬声器发声。S601, use the application for voice calls. In this embodiment, the mobile phone has a call application, initiates a call, and adopts a handheld call mode, and the top speaker sounds.
s602、检测扬声器是否发生故障。本实施例中,故障检测单元检测顶部扬声器是否指存在过流、损毁、断路、短路等故障。检测方式与实施例4相同。S602, detecting whether the speaker is faulty. In this embodiment, the fault detecting unit detects whether the top speaker refers to a fault such as an overcurrent, a damage, an open circuit, or a short circuit. The detection method is the same as that of the fourth embodiment.
s603、如果检测到顶部扬声器出现故障,则将通话的单声道的PCM数据切换至底部扬声器输出,并自动切换为免提模式,并提示用户“听筒已损坏,需启用免提模式”;S603. If the top speaker is detected to be faulty, the mono PCM data of the call is switched to the bottom speaker output, and the mode is automatically switched to the hands-free mode, and the user is prompted to “the earpiece is damaged, and the hands-free mode needs to be enabled”;
s604、如果检测到顶部扬声器没有出现故障,则正常使用顶部扬声器播放声音;S604. If it is detected that the top speaker has not failed, the top speaker is normally used to play the sound;
s605、如果检测到两个扬声器都出现故障,则停止播放,并提示用户“本机器扬声器已损坏”。S605. If it is detected that both speakers are faulty, the playback is stopped and the user is prompted to "the machine speaker is damaged".
本申请通过检测具有多扬声器的设备中扬声器的好坏,来控制音频的不同输出方式,即使在一个扬声器良好的情况下也可以保持基本功能完整。The present application controls the different output modes of the audio by detecting the quality of the speakers in the device with multiple speakers, and maintains the basic function integrity even in the case of a good speaker.
本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述的扬声器故障处理方法。The embodiment of the present application further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the speaker fault processing method described above.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可 移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and not Remove the media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
尽管为示例目的,已经公开了本申请的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本申请的范围应当不限于上述实施例。While the preferred embodiment of the present application has been disclosed for illustrative purposes, those skilled in the art will recognize that various modifications, additions and substitutions are possible. Therefore, the scope of the present application should not be limited to the embodiments described above.
工业实用性Industrial applicability
本申请实施例提供一种扬声器故障处理方法和装置,通过检测具有多扬声器的设备中扬声器的好坏,来控制音频的不同输出方式,即使在一个扬声器良好的情况下也可以保持基本功能完整。 The embodiment of the present application provides a speaker fault processing method and apparatus, which can control different output modes of audio by detecting the quality of a speaker in a device with multiple speakers, and can maintain the basic function integrity even in the case of a good speaker.

Claims (13)

  1. 一种扬声器故障处理方法,用于具有多扬声器的设备,包括:A speaker fault processing method for a device having multiple speakers, comprising:
    检测扬声器是否发生故障;Detecting if the speaker has failed;
    当检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放。When a malfunction of the speaker is detected, the data of the malfunctioning speaker is transmitted to the non-faulty speaker for playback.
  2. 如权利要求1所述的扬声器故障处理方法,其中,所述检测扬声器是否发生故障包括:The speaker failure processing method according to claim 1, wherein said detecting whether the speaker has failed includes:
    在通过扬声器播放音频时,采集所述扬声器输出的声音信号;Acquiring a sound signal output by the speaker when playing audio through a speaker;
    判断所述声音信号的幅值是否小于预先设定的阈值,如果是,则判断所述扬声器出现故障。It is determined whether the amplitude of the sound signal is less than a preset threshold, and if so, it is determined that the speaker is faulty.
  3. 如权利要求2所述的扬声器故障处理方法,其中,通过靠近所述扬声器的麦克风采集所述扬声器输出的声音信号。The speaker failure processing method according to claim 2, wherein the sound signal output from the speaker is acquired by a microphone close to the speaker.
  4. 如权利要求2所述的扬声器故障处理方法,其中,在通过扬声器播放音频时,每隔预先设定的时间间隔,采集一次所述扬声器输出的声音信号。The speaker failure processing method according to claim 2, wherein when the audio is played through the speaker, the sound signal output by the speaker is collected once every predetermined time interval.
  5. 如权利要求1所述的扬声器故障处理方法,其中,所述当检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放,包括:The speaker fault processing method according to claim 1, wherein said detecting, when a malfunction of the speaker occurs, transmitting data of said malfunctioning speaker to a non-faulty speaker for playing, comprising:
    当扬声器在语音通话时出现故障,直接将所述出现故障的扬声器的数据发送到所述无故障的扬声器进行播放。When the speaker fails during a voice call, the data of the failed speaker is directly sent to the trouble-free speaker for playback.
  6. 如权利要求1所述的扬声器故障处理方法,其中,所述当检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放,包括:The speaker fault processing method according to claim 1, wherein said detecting, when a malfunction of the speaker occurs, transmitting data of said malfunctioning speaker to a non-faulty speaker for playing, comprising:
    当扬声器在播放音乐时出现故障,将所述出现故障的扬声器的数据与无故障的扬声器的数据进行合成;将合成后的数据发送到所述无故障的扬声器进行播放。When the speaker malfunctions while playing music, the data of the malfunctioning speaker is synthesized with the data of the trouble-free speaker; the synthesized data is transmitted to the trouble-free speaker for playback.
  7. 如权利要求1至6任一项所述的扬声器故障处理方法,所述扬声器故障处理方法还包括:在扬声器出现故障时,向用户发出扬声器故障提示。 The speaker failure processing method according to any one of claims 1 to 6, wherein the speaker failure processing method further comprises: issuing a speaker failure prompt to the user when the speaker fails.
  8. 一种扬声器故障处理装置,用于具有多扬声器的设备,所述装置包括:A speaker fault processing apparatus for a device having multiple speakers, the apparatus comprising:
    故障检测单元,配置为检测扬声器是否发生故障;a fault detecting unit configured to detect whether a speaker has failed;
    数据发送单元,与所述故障检测单元连接,配置为当所述故障检测单元检测到有扬声器出现故障时,将所述出现故障的扬声器的数据发送到无故障的扬声器进行播放。The data transmitting unit is connected to the fault detecting unit, and configured to send the data of the faulty speaker to the faultless speaker for playing when the fault detecting unit detects that a speaker has a fault.
  9. 如权利要求8所述的扬声器故障处理装置,其中,所述故障检测单元包括:The speaker fault processing apparatus according to claim 8, wherein the fault detecting unit comprises:
    信号采集子单元,配置为在通过扬声器播放音频时,采集所述扬声器输出的声音信号;a signal acquisition subunit configured to acquire a sound signal output by the speaker when playing audio through a speaker;
    故障判断子单元,配置为判断所述声音信号的幅值是否小于预先设定的阈值,如果是,则判断所述扬声器出现故障。The fault judging subunit is configured to determine whether the amplitude of the sound signal is less than a preset threshold, and if so, determine that the speaker is faulty.
  10. 如权利要求9所述的扬声器故障处理装置,其中,所述信号采集子单元为靠近所述扬声器的麦克风。The speaker fault processing apparatus according to claim 9, wherein said signal acquisition subunit is a microphone close to said speaker.
  11. 如权利要求8所述的扬声器故障处理装置,其中,所述数据发送单元包括:The speaker fault processing apparatus according to claim 8, wherein said data transmitting unit comprises:
    合成子单元,配置为将所述出现故障的扬声器的数据与无故障的扬声器的数据进行合成;a synthesis subunit configured to synthesize data of the faulty speaker with data of a faultless speaker;
    切换子单元,配置为将合成后的数据发送到所述无故障的扬声器进行播放或直接将所述出现故障的扬声器的数据发送到所述无故障的扬声器进行播放。A switching subunit configured to transmit the synthesized data to the faultless speaker for playback or to directly transmit data of the faulty speaker to the faultless speaker for playback.
  12. 如权利要求8至11任一项所述的扬声器故障处理装置,所述扬声器故障处理装置还包括提示单元,所述提示单元与所述故障检测单元连接,配置为在扬声器出现故障时,向用户发出扬声器故障提示。The speaker failure processing apparatus according to any one of claims 8 to 11, wherein the speaker failure processing apparatus further comprises a prompting unit, the prompting unit being connected to the fault detecting unit, configured to notify the user when the speaker fails Issue a speaker fault prompt.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至7任一项所述的扬声器故障处理方法。 A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the speaker fault processing method of any one of claims 1 to 7.
PCT/CN2017/080450 2016-10-09 2017-04-13 Method and device for speaker fault processing WO2018064879A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610879287.9A CN107920321A (en) 2016-10-09 2016-10-09 A kind of loudspeaker faults treating method and apparatus
CN201610879287.9 2016-10-09

Publications (1)

Publication Number Publication Date
WO2018064879A1 true WO2018064879A1 (en) 2018-04-12

Family

ID=61830776

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080450 WO2018064879A1 (en) 2016-10-09 2017-04-13 Method and device for speaker fault processing

Country Status (2)

Country Link
CN (1) CN107920321A (en)
WO (1) WO2018064879A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600918A (en) * 2018-04-13 2018-09-28 潍坊歌尔电子有限公司 a kind of audio output circuit and earphone
CN109783050A (en) * 2019-02-28 2019-05-21 努比亚技术有限公司 A kind of sound method of adjustment, mobile terminal and storage medium
CN111176250A (en) * 2018-11-12 2020-05-19 广东美的制冷设备有限公司 Fault detection method, module, household appliance, system and computer storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493558B (en) * 2017-09-07 2019-01-15 维沃移动通信有限公司 A kind of voice signal control method and mobile terminal
CN108650592B (en) * 2018-06-21 2020-12-08 珠海金山网络游戏科技有限公司 Method for realizing neck strap type surround sound and stereo control system
CN109343820A (en) * 2018-10-12 2019-02-15 Oppo广东移动通信有限公司 A kind of control method, device and terminal that audio plays
CN109903534A (en) * 2019-03-04 2019-06-18 中科元景智能(深圳)有限公司 A kind of detection device and method of photoelectricity smoke detector
CN111510841A (en) * 2020-04-17 2020-08-07 上海闻泰电子科技有限公司 Audio component detection method and device and electronic equipment
CN111629304A (en) * 2020-05-15 2020-09-04 维沃移动通信有限公司 Loudspeaker control method and device and electronic equipment
CN112965551A (en) * 2021-01-29 2021-06-15 维沃移动通信有限公司 Heating control method and device for loudspeaker
CN114630237B (en) * 2022-03-10 2024-03-01 维沃移动通信有限公司 Audio device, control method and device thereof and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11220526A (en) * 1998-01-30 1999-08-10 Matsushita Electric Ind Co Ltd Handsfree device
US20140198920A1 (en) * 2013-01-14 2014-07-17 Kyounghee Lee System and method for high reliability sound production
CN104012111A (en) * 2012-01-01 2014-08-27 高通股份有限公司 Ultra-compact headset

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8903526B2 (en) * 2012-06-06 2014-12-02 Sonos, Inc. Device playback failure recovery and redistribution
EP2919488B1 (en) * 2014-03-11 2016-08-17 Axis AB A method for collecting information pertaining to an audio notification system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11220526A (en) * 1998-01-30 1999-08-10 Matsushita Electric Ind Co Ltd Handsfree device
CN104012111A (en) * 2012-01-01 2014-08-27 高通股份有限公司 Ultra-compact headset
US20140198920A1 (en) * 2013-01-14 2014-07-17 Kyounghee Lee System and method for high reliability sound production

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600918A (en) * 2018-04-13 2018-09-28 潍坊歌尔电子有限公司 a kind of audio output circuit and earphone
CN111176250A (en) * 2018-11-12 2020-05-19 广东美的制冷设备有限公司 Fault detection method, module, household appliance, system and computer storage medium
CN109783050A (en) * 2019-02-28 2019-05-21 努比亚技术有限公司 A kind of sound method of adjustment, mobile terminal and storage medium
CN109783050B (en) * 2019-02-28 2024-04-23 努比亚技术有限公司 Sound adjusting method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN107920321A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
WO2018064879A1 (en) Method and device for speaker fault processing
US9078058B2 (en) Applications for a two-way wireless speaker system
KR101473173B1 (en) Earphone for mobile phone with Active Noise Cancellation function
WO2018082233A1 (en) Apparatus and method for achieving audio conversion stereo
US20130177191A1 (en) Audio recorder
EP2508007B1 (en) Arrangement in a device and method for use with a service involving play out of media
JP4569414B2 (en) Audio output device
JP2008067258A (en) Wireless headphone and wireless headphone system
CN108650592B (en) Method for realizing neck strap type surround sound and stereo control system
JPWO2008056572A1 (en) Recording apparatus and recording method
CN103888877B (en) A kind of played in stereo method, system and equipment based on active/standby devices
CN103345403A (en) Method and terminal device for deeply controlling sound playing through earphones
JP2007049358A (en) Portable terminal and program
US20090285403A1 (en) Method and Apparatus for Improving Audio Reproduction for a Portable Electronic Device
JP2009124271A (en) Audio apparatus and external adapter used for the audio apparatus
JP2009130706A (en) Voice output control system
US20080225830A1 (en) Circuit with generating phone-call ring via computer system and internet phone system using the circuit
WO2018163378A1 (en) Operation device, command processing device, and content reproduction system
KR101469084B1 (en) Method and apparatus for providing contents using connection status with external output device
CN108540903B (en) Volume amplification accessory, terminal and volume amplification accessory identification method
JP7443662B2 (en) public address system
JP2006270583A (en) Connection device
JP4702046B2 (en) Recording and / or reproducing device, control device and control method
KR20070006182A (en) Wireless telecommunication terminal and method for double play musics and its using call changeover method
JP2006352639A (en) Voice signal acquisition apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1