CN106303876B - Voice system, abnormal sound detection method and electronic device - Google Patents
Voice system, abnormal sound detection method and electronic device Download PDFInfo
- Publication number
- CN106303876B CN106303876B CN201510256569.9A CN201510256569A CN106303876B CN 106303876 B CN106303876 B CN 106303876B CN 201510256569 A CN201510256569 A CN 201510256569A CN 106303876 B CN106303876 B CN 106303876B
- Authority
- CN
- China
- Prior art keywords
- data
- detection
- sound
- sound source
- digital signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Emergency Alarm Devices (AREA)
Abstract
本发明公开了一种语音系统,其包括用于存储音源数据存储器、与存储器连接且用于处理音源数据为播放数据的数字信号处理器、与数字信号处理器连接且用于解压缩播放数据为播放信号的编译码器、与编译码器连接且用于播放播放信号为音源声音的喇叭及与编译码器连接且用于收录音源声音为检测信号的检测麦克风。编译码器还用于压缩检测信号为检测数据。语音系统还包括与存储器、数字信号处理器、编译码器及喇叭连接的检测装置,用于在音源声音出现异音时比对检测数据与音源数据及播放数据,并对比检测信号与播放信号,以检测音源数据、数字信号处理器、编译码器及喇叭是否出现故障。本发明还提供一种异音检测方法及电子装置。
The invention discloses a voice system, which comprises a memory for storing sound source data, a digital signal processor connected with the memory and used for processing the sound source data into playing data, and a digital signal processor connected with the digital signal processor and used for decompressing the playing data as A codec for playing the signal, a speaker connected with the codec and used to play the sound of the audio source, and a detection microphone connected to the codec and used for collecting the sound of the source as a detection signal. The codec is also used to compress the detection signal into detection data. The voice system also includes a detection device connected with the memory, the digital signal processor, the codec and the speaker, which is used to compare the detection data with the audio source data and the playback data, and compare the detection signal and the playback signal when abnormal sound occurs in the sound source. In order to detect whether the audio data, digital signal processor, codec and speakers are faulty. The invention also provides an abnormal sound detection method and an electronic device.
Description
技术领域technical field
本发明涉及声音技术,特别涉及一种语音系统、异音检测方法及电子装置。The present invention relates to sound technology, in particular to a speech system, abnormal sound detection method and electronic device.
背景技术Background technique
现在的许多电子装置都包括语音系统,或者说包括麦克风(microphone)、喇叭(speaker)及对应的驱动,用于收录声音或者播放声音。例如,麦克风及喇叭就广泛应用于手机。当手机的喇叭出现异音(噪声或者声音与音源不同)时,需要采用复杂的检测方法检测故障,例如,拆除数字信号处理器(digital signal processor)、编译码器(codec)或喇叭并进行检测,找出故障元件,效率低下。Many electronic devices now include a voice system, or a microphone, a speaker and a corresponding driver for recording sound or playing sound. For example, microphones and speakers are widely used in mobile phones. When the speaker of the mobile phone has abnormal sound (noise or the sound is different from the sound source), it is necessary to use a complex detection method to detect the fault, for example, remove the digital signal processor (digital signal processor), codec (codec) or speaker and detect it , to find out the faulty components, the inefficiency.
发明内容SUMMARY OF THE INVENTION
本发明旨在至少解决现有技术中存在的技术问题之一。为此,本发明需要提供一种语音系统、异音检测方法及电子产品。The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the present invention needs to provide a voice system, an abnormal sound detection method and an electronic product.
根据本发明较佳实施方式的语音系统包括:The speech system according to the preferred embodiment of the present invention includes:
存储器,用于存储音源数据;Memory, used to store audio source data;
与所述存储器连接的数字信号处理器,用于处理所述音源数据为播放数据;A digital signal processor connected with the memory for processing the audio source data as playback data;
与所述数字信号处理器连接的编译码器,用于解压缩所述播放数据为播放信号;a codec connected with the digital signal processor, for decompressing the playback data into a playback signal;
与所述编译码器连接的喇叭,用于播放所述播放信号为音源声音;The speaker connected with the codec is used to play the playback signal as a sound source sound;
与所述编译码器连接的检测麦克风,用于收录所述音源声音为检测信号,所述编译码器还用于压缩所述检测信号为检测数据;及A detection microphone connected to the codec is used to record the sound source sound as a detection signal, and the codec is also used to compress the detection signal to be detection data; and
与所述存储器、所述数字信号处理器、所述编译码器及所述喇叭连接的检测装置,用于在所述音源声音出现异音时比对所述检测数据与所述音源数据及所述播放数据,并对比所述检测信号与所述播放信号,以检测所述音源数据、所述数字信号处理器、所述编译码器及所述喇叭是否出现故障。The detection device connected with the memory, the digital signal processor, the codec and the speaker is used to compare the detection data with the sound source data and the The playback data is compared, and the detection signal and the playback signal are compared to detect whether the audio source data, the digital signal processor, the codec and the speaker are faulty.
在某些实施方式中,所述检测装置包括用于处理数字信号的数据分析处理模块及用于处理模拟信号的信号分析处理模块,所述数字信号处理模块集成于所述数字信号处理器内。In some embodiments, the detection device includes a data analysis and processing module for processing digital signals and a signal analysis and processing module for processing analog signals, and the digital signal processing module is integrated in the digital signal processor.
在某些实施方式中,所述语音系统包括与所述编译码器连接的录音麦克风,所述录音麦克风用于收录声音为录音信号,所述编译码器用于压缩所述录音信号为压缩数据,所述数字信号处理器用于处理所述压缩数据为录音数据,所述存储器用于存储所述录音数据。In some embodiments, the voice system includes a recording microphone connected to the codec, the recording microphone is used for recording sound as a recording signal, and the codec is used for compressing the recording signal into compressed data, The digital signal processor is used for processing the compressed data into recording data, and the memory is used for storing the recording data.
根据本发明较佳实施方式的异音检测方法应用于所述语音系统的,并包括以下步骤:The abnormal sound detection method according to the preferred embodiment of the present invention is applied to the speech system, and includes the following steps:
S1:处理音源数据为播放数据;S1: Process the audio source data as playback data;
S2:解压缩所述播放数据为播放信号;S2: Decompress the playback data to be a playback signal;
S3:播放所述播放信号为音源声音;S3: Play the playback signal as the audio source sound;
S4:收录所述音源声音为检测信号并压缩所述检测信号为检测数据;及S4: recording the audio source sound as a detection signal and compressing the detection signal as detection data; and
S5:在所述音源声音出现异音时比对所述检测数据与所述音源数据及所述播放数据,并对比所述检测信号与播放信号,以检测所述音源数据、所述数字信号处理器、所述编译码器及所述喇叭是否出现故障。S5: Compare the detection data with the audio data and the playback data, and compare the detection signal with the playback signal, to detect the audio data, the digital signal processing Check whether the encoder, the codec and the speaker are faulty.
在某些实施方式中,步骤S5包括以下子步骤:In some embodiments, step S5 includes the following sub-steps:
S51:对比所述检测数据与所述音源数据是否一致?若是,进入步骤S52,若否,进入步骤S53;S51: Is the detected data consistent with the audio source data? If yes, go to step S52, if not, go to step S53;
S52:判断所述音源数据或所述音源数据从所述存储器到所述数字信号处理器的路径有问题;S52: Judging that there is a problem with the sound source data or the path of the sound source data from the memory to the digital signal processor;
S53:对比所述检测数据与所述播放数据是否一致?若是,进入步骤S54,若否,进入步骤S55;S53: Compare whether the detected data is consistent with the playback data? If yes, go to step S54, if no, go to step S55;
S54:判断所述数字信号处理器有问题;S54: determine that the digital signal processor has a problem;
S55:对比所述检测信号与所述播放信号是否一致?若是,进入步骤S56,若否,进入步骤S57;S55: Compare whether the detection signal is consistent with the playback signal? If yes, go to step S56, if no, go to step S57;
S56:判断所述编译码器有问题;及S56: determine that there is a problem with the codec; and
S57:判断所述喇叭有问题。S57: It is determined that there is a problem with the speaker.
在某些实施方式中,子步骤S52包括以下子步骤:In some embodiments, sub-step S52 includes the following sub-steps:
S521:采用其他播放装置播放所述音源数据以判断是否存在异音,若是,进入步骤S522,若否,进入步骤S523;S521: Use other playback devices to play the sound source data to determine whether there is abnormal sound, if yes, go to step S522, if not, go to step S523;
S522:判断所述音源数据有问题;及S522: determine that there is a problem with the audio source data; and
S523:判断所述存储器到所述数字信号处理器的路径有问题。S523: Determine that there is a problem in the path from the memory to the digital signal processor.
在某些实施方式中,所述其他播放装置采用计算机。In some embodiments, the other playback device employs a computer.
根据本发明较佳实施方式的电子装置包括An electronic device according to a preferred embodiment of the present invention includes
外壳;及enclosure; and
设置于所述外壳内的所述语音系统,所述喇叭及所述检测麦克风自所述外壳露出。For the voice system disposed in the casing, the speaker and the detection microphone are exposed from the casing.
在某些实施方式中,所述检测麦克风及所述喇叭临近设置。In some embodiments, the detection microphone and the speaker are disposed adjacent to each other.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:
图1是本发明较佳实施方式的语音系统的功能模块示意图。FIG. 1 is a schematic diagram of functional modules of a voice system according to a preferred embodiment of the present invention.
图2是本发明较佳实施方式的异音检测方法的流程示意图。FIG. 2 is a schematic flowchart of the abnormal sound detection method according to the preferred embodiment of the present invention.
图3是本发明较佳实施方式的电子装置的立体示意图。3 is a schematic perspective view of an electronic device according to a preferred embodiment of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, only used to explain the present invention, and should not be construed as a limitation of the present invention.
在本发明的描述中,需要理解的是,术语″中心″、″纵向″、″横向″、″长度″、″宽度″、″厚度″、″上″、″下″、″前″、″后″、″左″、″右″、″竖直″、″水平″、″顶″、″底″、″内″、″外″、″顺时针″、″逆时针″等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语″第一″、″第二″仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐合指明所指示的技术特征的数量。由此,限定有″第一″、″第二″的特征可以明示或者隐合地包括一个或者更多个所述特征。在本发明的描述中,″多个″的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", " Or The positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, Therefore, it should not be construed as a limitation of the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as "first", "second" may expressly or implicitly include one or more of said features. In the description of the present invention, "plurality" means two or more, unless otherwise expressly and specifically defined.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语″安装″、″相连″、″连接″应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise expressly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; it can be a mechanical connection, an electrical connection or can communicate with each other; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal communication of two elements or the interaction of two elements relation. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征之″上″或之″下″可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征″之上″、″上方″和″上面″包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征″之下″、″下方″和″下面″包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise expressly specified and limited, a first feature "on" or "under" a second feature may include the first and second features in direct contact, or may include the first and second features Not directly but through additional features between them. Also, the first feature being "above", "over" and "over" a second feature includes the first feature being directly above and obliquely above the second feature, or simply denoting that the first feature is level above the second feature. The first feature is "below", "beneath" and "beneath" the second feature includes the first feature being directly above and diagonally above the second feature, or simply means that the first feature is level less than the second feature.
下文的公开提供了许多不同的实施方式或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本发明提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the invention. Furthermore, the present disclosure may repeat reference numerals and/or reference letters in different instances for the purpose of simplicity and clarity and not in itself indicative of a relationship between the various embodiments and/or arrangements discussed. In addition, the present disclosure provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.
请参阅图1,本发明较佳实施方式的语音系统100包括存储器10、数字信号处理器20、编译码器30、喇叭40、检测麦克风50及检测装置60。所述存储器10用于存储音源数据。所述数字信号处理器20与所述存储器10连接,用于处理所述音源数据为播放数据。所述编译码器30与所述数字信号处理器20连接,用于解压缩所述播放数据为播放信号。所述喇叭40与所述编译码器30连接,用于播放所述播放信号为音源声音。所述检测麦克风50与所述编译码器30连接,用于收录所述音源声音为检测信号,所述编译码器30还用于压缩所述检测信号为检测数据。所述检测装置60与所述存储器10、所述数字信号处理器20、所述编译码器30及所述喇叭40连接,用于在所述音源声音出现异音时比对所述检测数据与所述音源数据及所述播放数据,并比对所述检测信号与所述播放信号,以检测所述音源数据、所述数字信号处理器20、所述编译码器30或所述喇叭40是否出现故障。Referring to FIG. 1 , a speech system 100 according to a preferred embodiment of the present invention includes a memory 10 , a digital signal processor 20 , a codec 30 , a speaker 40 , a detection microphone 50 and a detection device 60 . The memory 10 is used for storing audio source data. The digital signal processor 20 is connected to the memory 10, and is used for processing the audio source data into playback data. The codec 30 is connected to the digital signal processor 20, and is used for decompressing the playback data into a playback signal. The speaker 40 is connected to the codec 30 and is used to play the playback signal as the sound of the audio source. The detection microphone 50 is connected to the codec 30 for recording the audio source sound as a detection signal, and the codec 30 is further used for compressing the detection signal into detection data. The detection device 60 is connected to the memory 10 , the digital signal processor 20 , the codec 30 and the speaker 40 , and is used for comparing the detection data with the sound when the sound of the audio source is abnormal. The sound source data and the playback data are compared, and the detection signal and the playback signal are compared to detect whether the sound source data, the digital signal processor 20 , the codec 30 or the speaker 40 are error occured.
本发明的实施方式的语音系统100在出现异音时可以通过所述检测装置60检测故障元件,无需拆除元件,而且操作方便,提高效率。The voice system 100 of the embodiment of the present invention can detect faulty components through the detection device 60 when abnormal sound occurs, without removing the components, and is convenient to operate and improve efficiency.
在某些实施方式中,所述存储器10为数字存储器,例如为安全数码卡。In some embodiments, the memory 10 is a digital memory, such as a secure digital card.
所述数字信号处理器20可以包括有与所述存储器10连接的播放处理模块21,所述播放处理模块21用于对所述音源数据进行频谱分析、数字滤波等处理使得处理后的所述播放数据适于解压缩。The digital signal processor 20 may include a playback processing module 21 connected to the memory 10, and the playback processing module 21 is used to perform spectrum analysis, digital filtering and other processing on the audio source data to make the processed playback processing module 21. The data is suitable for decompression.
所述编译码器30可以包括有与所述播放处理模块21连接的解压缩模块31,用于解压缩所述播放数据,具体的,解压缩主要指数字模拟变换(digital-to-analogconversion)及放大等处理,使得解压缩后的所述播放信号适于驱动所述喇叭40播放。The codec 30 may include a decompression module 31 connected to the playback processing module 21 for decompressing the playback data. Specifically, decompression mainly refers to digital-to-analog conversion and digital-to-analog conversion. Amplify and other processing, so that the decompressed playback signal is suitable for driving the speaker 40 to play.
另外,所述编译码器30还包括有与所述检测麦克风50连接的压缩模块32,用于压缩所述检测信号为所述检测数据。具体的,压缩主要指模拟数字变换(analog-to-digitalconversion)等处理。In addition, the codec 30 further includes a compression module 32 connected to the detection microphone 50 for compressing the detection signal into the detection data. Specifically, compression mainly refers to processing such as analog-to-digital conversion.
所述检测麦克风50为数字麦克风或模拟麦克风。本实施方式中,所述检测麦克风50为模拟麦克风。The detection microphone 50 is a digital microphone or an analog microphone. In this embodiment, the detection microphone 50 is an analog microphone.
所述检测装置60可以包括用于处理数字信号的数据分析处理模块61及用于处理模拟信号的信号分析处理模块62。在某些实施方式中,所述数字信号处理模块61集成于所述数字信号处理器20内。The detection device 60 may include a data analysis and processing module 61 for processing digital signals and a signal analysis and processing module 62 for processing analog signals. In some embodiments, the digital signal processing module 61 is integrated in the digital signal processor 20 .
如此,可以提高元件的利用率,节约成本。In this way, the utilization rate of the components can be improved, and the cost can be saved.
在一些实施方式中,所述语音系统100包括与所述编译码器30连接的录音麦克风70,所述录音麦克风70用于收录声音为录音信号,所述编译码器30(即所述压缩模块32)用于压缩所述录音信号为压缩数据,所述数字信号处理器20用于处理所述压缩数据为录音数据,所述存储器10用于存储所述录音数据。In some embodiments, the voice system 100 includes a recording microphone 70 connected to the codec 30, the recording microphone 70 is used for recording sound as a recording signal, the codec 30 (ie the compression module 32) is used for compressing the recording signal into compressed data, the digital signal processor 20 is used for processing the compressed data into recording data, and the memory 10 is used for storing the recording data.
具体的,所述数字信号处理器20还包括录音处理模块22,用于处理所述压缩数据为录音数据。所述录音处理模块22用于对所述压缩数据进行频谱分析等处理使得处理后的所述录音数据适于解存储。Specifically, the digital signal processor 20 further includes a recording processing module 22 for processing the compressed data into recording data. The recording processing module 22 is configured to perform spectrum analysis and other processing on the compressed data, so that the processed recording data is suitable for de-storage.
请参阅图2,本发明的实施方式的异音检测方法包括以下步骤:Please refer to Fig. 2, the abnormal sound detection method of the embodiment of the present invention comprises the following steps:
S1:处理音源数据为播放数据;S1: Process the audio source data as playback data;
S2:解压缩所述播放数据为播放信号;S2: Decompress the playback data to be a playback signal;
S3:播放所述播放信号为音源声音;S3: Play the playback signal as the audio source sound;
S4:收录所述音源声音为检测信号并压缩所述检测信号为检测数据;及S4: recording the audio source sound as a detection signal and compressing the detection signal as detection data; and
S5:在所述音源声音出现异音时比对所述检测数据与所述音源数据及所述播放数据,并对比所述检测信号与播放信号,以检测所述音源数据、所述数字信号处理器、所述编译码器及所述喇叭是否出现故障。S5: Compare the detection data with the audio data and the playback data, and compare the detection signal with the playback signal, to detect the audio data, the digital signal processing Check whether the encoder, the codec and the speaker are faulty.
步骤S1可以由所述数字信号处理器20实现,步骤S2可以由所述编译码器30实现,步骤S3可以由所述喇叭40实现,步骤S4可以由所述检测麦克风50实现,步骤S5可以由所述检测装置60实现。Step S1 may be implemented by the digital signal processor 20, step S2 may be implemented by the codec 30, step S3 may be implemented by the speaker 40, step S4 may be implemented by the detection microphone 50, and step S5 may be implemented by The detection device 60 is implemented.
具体的,步骤S5可以包括以下子步骤:Specifically, step S5 may include the following sub-steps:
S51:对比所述检测数据与所述音源数据是否一致?若是,进入步骤S52,若否,进入步骤S53;S51: Is the detected data consistent with the audio source data? If yes, go to step S52, if not, go to step S53;
S52:判断所述音源数据或所述音源数据从所述存储器10到所述数字信号处理器20的路径有问题;S52: determine that the sound source data or the path of the sound source data from the memory 10 to the digital signal processor 20 has a problem;
S53:对比所述检测数据与所述播放数据是否一致?若是,进入步骤S54,若否,进入步骤S55;S53: Compare whether the detected data is consistent with the playback data? If yes, go to step S54, if no, go to step S55;
S54:判断所述数字信号处理器20有问题;S54: determine that the digital signal processor 20 has a problem;
S55:对比所述检测信号与所述播放信号是否一致?若是,进入步骤S56,若否,进入步骤S57;S55: Compare whether the detection signal is consistent with the playback signal? If yes, go to step S56, if no, go to step S57;
S56:判断所述编译码器30有问题;及S56: determine that there is a problem with the codec 30; and
S57:判断所述喇叭40有问题。S57: It is determined that there is a problem with the speaker 40.
具体的,由于所述检测数据是在发生异音的情况下收录并压缩得到的,因此所述检测数据为错误数据。Specifically, since the detection data is recorded and compressed when abnormal sound occurs, the detection data is erroneous data.
因此,假若在步骤S51中,所述检测数据与所述音源数据一致,则证明所述音源数据出错或者所述音源数据从所述存储器10到所述数字信号处理器20的路径有问题。此时,可以通过将音源连接到其他的播放设备进行播放,确认是否是所述音源数据出错。若在其他播放设备上播放也出现异音,则说明是所述音源数据出错,反之,则说明是所述存储器10到所述数字信号处理器20的路径有问题。其他播放设置可以是计算机,这主要考虑到计算机的音效设计较好,而且较为通用,容易获得,成本低。Therefore, if in step S51, the detection data is consistent with the sound source data, it proves that the sound source data is wrong or the path of the sound source data from the memory 10 to the digital signal processor 20 is faulty. At this time, it is possible to confirm whether the audio source data is wrong by connecting the audio source to other playback devices for playback. If abnormal sound also occurs during playback on other playback devices, it means that the audio source data is wrong; otherwise, it means that there is a problem with the path from the memory 10 to the digital signal processor 20 . The other playback setting may be a computer, mainly considering that the sound effect of the computer is better, and it is more general, easy to obtain, and low cost.
因此,子步骤S52可以包括以下子步骤:Therefore, sub-step S52 may include the following sub-steps:
S521:采用其他播放装置播放所述音源数据以判断是否存在异音,若是,进入步骤S522,若否,进入步骤S523;S521: Use other playback devices to play the sound source data to determine whether there is abnormal sound, if yes, go to step S522, if not, go to step S523;
S522:判断所述音源数据有问题;及S522: determine that there is a problem with the audio source data; and
S523:判断所述存储器10到所述数字信号处理器20的路径有问题。S523: Determine that there is a problem in the path from the memory 10 to the digital signal processor 20.
反之,若在步骤S51中,所述检测数据与所述音源数据不一致,则说明问题不在所述音源数据或者所述存储器10到所述数字信号处理器20的路径,需做进一步的判断,因此进入步骤S53。On the contrary, if in step S51, the detection data is inconsistent with the sound source data, it means that the problem is not the sound source data or the path from the memory 10 to the digital signal processor 20, and further judgment is required, so Proceed to step S53.
假若在步骤S53中,所述检测数据与所述播放数据一致,则说明所述音源数据、或者所述音源数据从所述存储器10到所述数字信号处理器20的路径、或者所述数字信号处理器20有问题。在已经排除所述音源数据或者所述存储器10到所述数字信号处理器20的路径出现问题的情况下,可以判断所述数字信号处理器20出现问题。If in step S53, the detection data is consistent with the playback data, it means that the sound source data, or the path of the sound source data from the memory 10 to the digital signal processor 20, or the digital signal There is a problem with the processor 20. In the case where the audio source data has been excluded or the path from the memory 10 to the digital signal processor 20 has a problem, it can be determined that the digital signal processor 20 has a problem.
反之,若在步骤S53中,所述检测数据与所述播放数据不一致,则说明问题不在所述音源数据、或者所述存储器10到所述数字信号处理器20的路径、或者所述数字信号处理器20,需做进一步的判断,因此进入步骤S55。On the contrary, if in step S53, the detection data is inconsistent with the playback data, it means that the problem is not in the audio source data, or the path from the memory 10 to the digital signal processor 20, or the digital signal processing The device 20 needs to make further judgment, so it goes to step S55.
假若在步骤S55中,所述检测信号与所述播放信号一致,则说明所述音源数据、或者所述音源数据从所述存储器10到所述数字信号处理器20的路径、或者所述数字信号处理器20、或者所述编译码器30有问题。在已经排除所述音源数据、或者所述音源数据从所述存储器10到所述数字信号处理器20的路径、或者所述数字信号处理器20出现问题的情况下,可以判断所述编译码器30出现问题。If in step S55, the detection signal is consistent with the playback signal, it means that the audio source data, or the path of the audio source data from the memory 10 to the digital signal processor 20, or the digital signal There is a problem with the processor 20 or the codec 30. In the case where the audio source data has been excluded, or the path of the audio source data from the memory 10 to the digital signal processor 20, or the digital signal processor 20 has a problem, the codec may be determined 30 There is a problem.
反之,若在步骤S53中,所述检测数据与所述播放数据不一致,则说明问题只可能存在信号路劲过的最后元件上,即所述喇叭40。On the other hand, if in step S53, the detection data is inconsistent with the playback data, it means that the problem may only exist on the last element that the signal path passes through, that is, the speaker 40 .
可以理解,所述检测麦克风50为标准元件,且应该采用质量高且稳定的器件,避免对检测结果产生影响。It can be understood that the detection microphone 50 is a standard component, and a high-quality and stable device should be used to avoid affecting the detection result.
请参阅图3,本发明的实施方式的语音系统100及异音检测方法可以应用于电子装置,例如手机,并包括有外壳201及显示装置202。所述外壳201包括有前表面203。所述显示装置202设置在所述前表面203上。所述喇叭40及所述检测麦克风50设置于所述前表面203的上部,位于所述显示装置202上侧。如此,所述喇叭40及所述检测麦克风50临近设置,有利于所述检测麦克风50收录所述喇叭40播放的所述音源声音。Referring to FIG. 3 , the voice system 100 and the abnormal sound detection method according to the embodiment of the present invention can be applied to an electronic device, such as a mobile phone, and includes a casing 201 and a display device 202 . The housing 201 includes a front surface 203 . The display device 202 is provided on the front surface 203 . The speaker 40 and the detection microphone 50 are disposed on the upper portion of the front surface 203 and on the upper side of the display device 202 . In this way, the speaker 40 and the detection microphone 50 are disposed adjacent to each other, which is beneficial for the detection microphone 50 to record the sound source sound played by the speaker 40 .
在本说明书的描述中,参考术语″一个实施方式″、″一些实施方式″、″示意性实施方式″、″示例″、″具体示例″、或″一些示例″等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of this specification, references to the terms "one embodiment," "some embodiments," "exemplary embodiments," "examples," "specific examples," or "some examples" and the like are intended to incorporate the A particular feature, structure, material, or characteristic described by an embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管已经示出和描述了本发明的实施方式,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施方式进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, The scope of the invention is defined by the claims and their equivalents.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510256569.9A CN106303876B (en) | 2015-05-19 | 2015-05-19 | Voice system, abnormal sound detection method and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510256569.9A CN106303876B (en) | 2015-05-19 | 2015-05-19 | Voice system, abnormal sound detection method and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106303876A CN106303876A (en) | 2017-01-04 |
| CN106303876B true CN106303876B (en) | 2019-08-13 |
Family
ID=57633751
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510256569.9A Active CN106303876B (en) | 2015-05-19 | 2015-05-19 | Voice system, abnormal sound detection method and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106303876B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018133247A1 (en) * | 2017-01-20 | 2018-07-26 | 华为技术有限公司 | Abnormal sound detection method and apparatus |
| CN106937233A (en) * | 2017-02-24 | 2017-07-07 | 上海与德信息技术有限公司 | The method and device of audio fault detect |
| CN116887161B (en) * | 2023-05-18 | 2025-09-09 | 广州市迪士普音响科技有限公司 | Automatic fault detection system and method for outdoor sound column |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050267762A1 (en) * | 2004-05-26 | 2005-12-01 | International Business Machines Corporation | Voice recording system, recording device, voice analysis device, voice recording method and program |
| CN102474541A (en) * | 2009-06-29 | 2012-05-23 | 诺基亚公司 | Apparatus, method and computer program for controlling an acoustic signal |
| CN103262573A (en) * | 2010-12-14 | 2013-08-21 | Jvc建伍株式会社 | Sound reproduction device, reproduction sound adjustment method, acoustic property adjustment device, acoustic property adjustment method, and computer program |
| CN203931484U (en) * | 2014-05-07 | 2014-11-05 | 杭州卡威电子有限公司 | A kind of Karaoke digital audio processing system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001056700A (en) * | 1999-08-20 | 2001-02-27 | Olympus Optical Co Ltd | Voice recording/reproducing device |
-
2015
- 2015-05-19 CN CN201510256569.9A patent/CN106303876B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050267762A1 (en) * | 2004-05-26 | 2005-12-01 | International Business Machines Corporation | Voice recording system, recording device, voice analysis device, voice recording method and program |
| CN102474541A (en) * | 2009-06-29 | 2012-05-23 | 诺基亚公司 | Apparatus, method and computer program for controlling an acoustic signal |
| CN103262573A (en) * | 2010-12-14 | 2013-08-21 | Jvc建伍株式会社 | Sound reproduction device, reproduction sound adjustment method, acoustic property adjustment device, acoustic property adjustment method, and computer program |
| CN203931484U (en) * | 2014-05-07 | 2014-11-05 | 杭州卡威电子有限公司 | A kind of Karaoke digital audio processing system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106303876A (en) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4191192B2 (en) | Identification method of audio device in portable terminal and portable terminal | |
| TWI522902B (en) | Electronic device and earphone sensing method | |
| US9179218B2 (en) | Mobile device for multi-channel sound collection and output using common connector, and driving method thereof | |
| US9769567B2 (en) | Audio system and method | |
| CN106303876B (en) | Voice system, abnormal sound detection method and electronic device | |
| US10659889B2 (en) | Microphone package and method for generating a microphone signal | |
| WO2015143896A1 (en) | Recognition circuit, method, apparatus and system for external device based on earphone socket | |
| CN104113816A (en) | Electronic device and earphone detection method | |
| US20150310874A1 (en) | Adaptive audio signal filtering | |
| EP2917915B1 (en) | Multi-resolution audio signals | |
| US20200265856A1 (en) | Speech-to-text conversion based on quality metric | |
| CN105872909B (en) | A kind of method and device for realizing Audio Signal Processing | |
| US20170013341A1 (en) | Speaker | |
| CN106911978B (en) | Voice signal imported smart machine earphone again | |
| KR20190045506A (en) | Method for processing audio signal and electronic device for supporting the same | |
| CN108305638A (en) | A kind of signal processing method, signal processing apparatus and terminal device | |
| CN105246017B (en) | A kind of audio digital signal processor and system | |
| CN110168639A (en) | Data encoding detection | |
| CN115696110A (en) | Audio device and audio signal processing method | |
| US20130226581A1 (en) | Communication device and method | |
| KR100678020B1 (en) | Apparatus and method for improved sound source reproduction | |
| JP6681237B2 (en) | Sound device and sound correction program | |
| CN117409814A (en) | Audio processing method, system and electronic device | |
| CN103680557A (en) | Optical disk playing device and communication control method thereof | |
| Modegi | Construction of ubiquitous acoustic spaces using audio watermark technology and mobile terminals |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |