[go: up one dir, main page]

CN113611327A - Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium - Google Patents

Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN113611327A
CN113611327A CN202011147871.8A CN202011147871A CN113611327A CN 113611327 A CN113611327 A CN 113611327A CN 202011147871 A CN202011147871 A CN 202011147871A CN 113611327 A CN113611327 A CN 113611327A
Authority
CN
China
Prior art keywords
signal
processed
abnormal sound
domain signal
stored
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.)
Pending
Application number
CN202011147871.8A
Other languages
Chinese (zh)
Inventor
张清雪
郭世文
吴海全
彭久高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Guanping Electronics Co ltd
Shenzhen Guanxu Industrial Design Co ltd
Shenzhen Grandsun Electronics Co Ltd
Shenzhen Feikedi System Development Co Ltd
Original Assignee
Shenzhen Guanping Electronics Co ltd
Shenzhen Guanxu Industrial Design Co ltd
Shenzhen Grandsun Electronics Co Ltd
Shenzhen Feikedi System Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Guanping Electronics Co ltd, Shenzhen Guanxu Industrial Design Co ltd, Shenzhen Grandsun Electronics Co Ltd, Shenzhen Feikedi System Development Co Ltd filed Critical Shenzhen Guanping Electronics Co ltd
Priority to CN202011147871.8A priority Critical patent/CN113611327A/en
Publication of CN113611327A publication Critical patent/CN113611327A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/18Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being spectral information of each sub-band
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

本申请适用于信号处理技术领域,提供了异音检测分析方法、装置、终端设备及可读存储介质,方法包括:通过播放端播放预设信号,获取播放后的信号;对播放后的信号进行处理,获得处理后的信号;将处理后的信号与预存储的标准信号进行比较,判断处理后的信号是否存在异音;若处理后的信号存在异音,则判定播放器存在异音。通过获取播放器经播放端播放的信号并对信号进行处理,获得处理后的信号,将处理后的信号与预存储的标准信号进行比较,判断所述处理后的信号是否存在异音,以检测判定播放器是否存在异音,减小异音检测过程的所耗时长,提高异音检测效率,同时提高检测结果的稳定性。

Figure 202011147871

The present application is applicable to the technical field of signal processing, and provides an abnormal sound detection and analysis method, device, terminal equipment and readable storage medium. The method includes: playing a preset signal through a playback terminal, and obtaining the played signal; process to obtain the processed signal; compare the processed signal with the pre-stored standard signal to determine whether the processed signal has abnormal sound; if the processed signal has abnormal sound, determine that the player has abnormal sound. By acquiring the signal played by the player through the playback terminal and processing the signal, the processed signal is obtained, and the processed signal is compared with the pre-stored standard signal to determine whether there is abnormal sound in the processed signal, so as to detect Determining whether there is abnormal sound in the player can reduce the time-consuming of the abnormal sound detection process, improve the abnormal sound detection efficiency, and at the same time improve the stability of the detection result.

Figure 202011147871

Description

Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium
Technical Field
The present application belongs to the technical field of signal processing, and in particular, to an abnormal sound detection and analysis method, an abnormal sound detection and analysis device, a terminal device, and a readable storage medium.
Background
In recent years, audio and video application products are applied to various aspects of life. In the production process of audio and video application products, how to improve the quality and performance of the audio and video application products is the most important link.
One criterion for measuring the quality and performance of audio/video application products is mainly the presence of abnormal sounds.
The existing abnormal sound detection and analysis method mainly judges whether abnormal sound exists or not through the audition of the ears of a detection person, the detection result of the method is easily influenced by the subjectivity of the detection person, and meanwhile, the auditory nerve of the detection person is damaged by listening to a signal containing the abnormal sound for a long time or for multiple times.
Disclosure of Invention
The embodiment of the application provides an abnormal sound detection and analysis method, an abnormal sound detection and analysis device, terminal equipment and a readable storage medium, and can solve the problems that the detection result of the existing abnormal sound detection and analysis method is unstable and the physical health of detection personnel is affected.
In a first aspect, an embodiment of the present application provides an abnormal sound detection and analysis method, including:
playing a preset signal through a playing end to obtain a played signal;
processing the played signal to obtain a processed signal;
comparing the processed signal with a pre-stored standard signal, and judging whether the processed signal has abnormal sound;
and if the processed signal has abnormal sound, judging that the player has abnormal sound.
In a second aspect, an embodiment of the present application provides an abnormal sound detection and analysis apparatus, including:
the acquisition module is used for playing the preset signal through the playing end to acquire the played signal;
the processing module is used for processing the played signal to obtain a processed signal;
the comparison module is used for comparing the processed signal with a pre-stored standard signal and judging whether the processed signal has abnormal sound;
and the judging module is used for judging that the abnormal sound exists in the player if the processed signal has the abnormal sound.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the abnormal sound detection analysis method according to any one of the above first aspects when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for abnormal sound detection and analysis according to any one of the first aspect is implemented.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the abnormal sound detection and analysis method according to any one of the above first aspects.
The method comprises the steps of obtaining a signal played by a player through a playing end, processing the signal to obtain a processed signal, comparing the processed signal with a pre-stored standard signal, judging whether the processed signal has abnormal sound, detecting and judging whether the player has the abnormal sound, reducing the time consumption of the abnormal sound detection process, improving the abnormal sound detection efficiency and improving the stability of a detection result.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an abnormal sound detection and analysis method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of step S103 of an abnormal sound detection and analysis method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of step S1033 of the abnormal sound detection and analysis method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an abnormal sound detection and analysis apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a comparison module 103 of the abnormal sound detection and analysis apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The abnormal sound detection and analysis method provided by the embodiment of the application can be applied to terminal equipment such as a Bluetooth headset, a Bluetooth sound box, wearable equipment and a notebook computer, and the embodiment of the application does not limit the specific type of the terminal equipment.
Fig. 1 shows a schematic flow chart of the abnormal sound detection and analysis method provided in the present application, which can be applied to the above-mentioned bluetooth headset by way of example and not limitation.
S101, playing a preset signal through a playing end to obtain a played signal.
In specific application, a preset signal is played through a playing end of a current player, sound generated by playing the preset signal stored in advance through the playing end is acquired through monitoring equipment, the sound is converted into an electric signal and processed, and the processed electric signal is used as the played signal.
The preset signal can be specifically set according to actual requirements. In the present embodiment, the preset signal is a 20-20000HZ sinusoidal audio signal audible to human ears, and the frequencies between the frequency points are preset.
In one embodiment, a communication connection between a terminal device storing a preset signal and a player is established in advance through a connection device, and the terminal device sends the preset signal through the connection device, so that a playing end of the player plays the preset signal. For example, the player is a bluetooth headset, the connection device is a bluetooth adapter, the terminal device is a notebook computer, and the communication connection between the notebook computer stored with the preset signal and the bluetooth headset is established in advance through the bluetooth adapter, so that the left loudspeaker and/or the right loudspeaker of the bluetooth headset play the preset signal.
In an embodiment, the preset signal may be stored in a player in advance, and when the player receives a play instruction, the player plays the preset signal stored in advance according to the play instruction.
The monitoring device may be a free field microphone disposed at the port of the playing end, and is configured to acquire sound generated by playing a preset signal through the playing end and convert the sound into an electrical signal. And then the electric signal processed by the power amplifier is sent to the sound card, so that the electric signal processed by the power amplifier can be further processed conveniently.
It is understood that, in order to ensure the stability of the signal during the signal processing and avoid noise interference, the steps of the abnormal sound detection and analysis method should be performed in an environment with a noise shielding box or in a mute environment.
And S102, processing the played signal to obtain a processed signal.
In specific application, the obtained played signal is correspondingly processed through a preset algorithm to obtain a processed signal, so that whether abnormal sound exists at the playing end can be conveniently judged according to the processed signal. Wherein the predetermined algorithm includes, but is not limited to, a fourier transform algorithm.
S103, comparing the processed signal with a pre-stored standard signal, and judging whether the processed signal has abnormal sound.
In a specific application, the processed signal is compared with a standard signal stored in a player in advance, and whether abnormal sound exists in the processed signal is judged according to the difference between the processed signal and the standard signal.
And S104, if the processed signal has abnormal sound, judging that the player has abnormal sound.
In a specific application, if it is detected that the processed signal has an abnormal sound, it is determined that the player has the abnormal sound, that is, it is determined that the playing quality and performance of the player are poor.
In one embodiment, step S102 includes:
and performing segmentation processing on the played signal to obtain a plurality of processed time domain signals and a processed frequency domain signal associated with each time domain signal.
In a specific application, the acquired electrical signal is divided into a plurality of time domain signals and a frequency domain signal associated with each time domain signal by a preset algorithm. The predetermined algorithm includes, but is not limited to, a fourier transform algorithm.
The dividing of the acquired electrical signal into a plurality of time domain signals and a frequency domain signal associated with each time domain signal by a fourier transform algorithm comprises: a window function with a certain width is preset, and the acquired electric signals are divided into a plurality of small segments according to time to obtain a plurality of time domain signals. And according to a Fourier transform algorithm, dividing each segment of time domain signal according to the frequency to obtain a frequency domain signal which is associated with each segment of time domain signal and has local spectral characteristics. Because the frequency domain signal synthesis can form a short-time Fourier transform spectrum, the played signal is processed based on a short-time Fourier transform algorithm, and the rule that frequency components change along with time can be reflected.
In one embodiment, the pre-stored standard signal comprises a plurality of pre-stored time domain signals and a pre-stored frequency domain signal associated with each pre-stored time domain signal; and the pre-stored time domain signals correspond to the processed time domain signals one to one.
In a specific application, the pre-stored standard signals are a plurality of pre-stored time domain signals corresponding to the vicinity of a resonance frequency (including 20-20000HZ) set by a factory manufacturer of the player and a pre-stored frequency domain signal associated with each pre-stored time domain signal; the pre-stored time domain signals and the processed time domain signals are in one-to-one correspondence.
As shown in fig. 2, the step S103 includes:
s1031, determining a processed time domain signal corresponding to each pre-stored time domain signal;
s1032, comparing the pre-stored frequency domain signal associated with each pre-stored time domain signal with the processed frequency domain signal associated with the corresponding processed time domain signal;
s1033, if a difference between the pre-stored frequency domain signal associated with any one of the pre-stored time domain signals and the processed frequency domain signal associated with the corresponding processed time domain signal satisfies a preset condition, determining that the processed signal has an abnormal sound.
In a specific application, determining a processed time domain signal corresponding to each pre-stored time domain signal according to a one-to-one correspondence relationship between pre-stored time domain signals and processed time domain signals, and comparing a pre-stored frequency domain signal associated with any one of the pre-stored time domain signals with a processed frequency domain signal associated with the processed time domain signal corresponding to the pre-stored time domain signal to obtain a corresponding comparison result; and traversing all the pre-stored frequency domain signals associated with the pre-stored time domain signals, and acquiring a comparison result of the pre-stored frequency domain signal associated with each stored time domain signal and the processed frequency domain signal associated with the processed time domain signal corresponding to each pre-stored time domain signal. And if the difference between the pre-stored frequency domain signal associated with any one of the pre-stored time domain signals and the processed frequency domain signal associated with the processed time domain signal corresponding to the pre-stored time domain signal is detected to meet a preset condition, judging that the processed signal has abnormal sound. The difference is an abnormal frequency domain component between a pre-stored frequency domain signal associated with a pre-stored time domain signal and a processed frequency domain signal associated with a processed time domain signal corresponding to the pre-stored time domain signal; the preset condition is a criterion for determining the magnitude of the difference, and can be specifically set according to actual conditions. In this embodiment, the preset condition is set that an abnormal frequency domain component exists between a pre-stored frequency domain signal associated with a pre-stored time domain signal and a processed frequency domain signal associated with a processed time domain signal corresponding to the pre-stored time domain signal, and the abnormal frequency domain component is greater than or equal to a preset threshold.
For example, taking the a pre-stored time domain signal as an example, the a processed time domain signal corresponding to the a pre-stored time domain signal is determined, the a pre-stored frequency domain signal associated with the a pre-stored time domain signal is compared with the a processed frequency domain signal associated with the a processed time domain signal, when a difference between the a pre-stored frequency domain signal associated with the a pre-stored time domain signal and the processed frequency domain signal associated with the a processed time domain signal is detected, whether the difference meets a preset condition is detected, and if the difference meets the preset condition, it is determined that an abnormal sound exists in the processed signal.
As shown in fig. 3, in one embodiment, the step S1033 includes:
s10331, detecting whether an abnormal frequency domain component exists between a pre-stored frequency domain signal associated with a pre-stored time domain signal and a processed frequency domain signal associated with a corresponding processed time domain signal;
s10332, if an abnormal frequency domain component exists between the pre-stored frequency domain signal associated with any one of the pre-stored time domain signals and the processed frequency domain signal associated with the corresponding processed time domain signal, and the abnormal frequency domain component is greater than or equal to a preset threshold, determining that the processed signal has abnormal noise.
In a specific application, whether an abnormal frequency domain component exists between a pre-stored frequency domain signal associated with any one of the pre-stored time domain signals and a processed frequency domain signal associated with a processed time domain signal corresponding to the pre-stored time domain signal is detected. If abnormal frequency domain components exist between the pre-stored frequency domain signals related to the pre-stored time domain signals and the processed frequency domain signals related to the corresponding processed time domain signals, comparing the abnormal frequency domain components with a preset threshold value, and if the abnormal frequency domain components are larger than or equal to the preset threshold value, judging that abnormal sound exists in the processed signals. Where spectral components refer to the amplitude of the frequency in the frequency domain after transformation. The abnormal frequency domain component refers to a time length of occurrence of a frequency which is different between the pre-stored frequency domain signal (i.e. a pre-stored frequency domain signal associated with a pre-stored time domain signal) and the processed frequency domain signal (i.e. a processed frequency domain signal associated with a processed time domain signal corresponding to the pre-stored time domain signal). The preset threshold can be specifically set according to actual conditions, and is used for judging the size of the abnormal frequency domain component, and further detecting whether abnormal sound exists in the processed signal. For example, the preset threshold is set as an average value of all frequency point abnormal frequency domain components. For example, if the average value of the abnormal frequency domain components of all frequency points is 0.01s, and an abnormal frequency exists between the frequency domain signal pre-stored in a, which is associated with the time domain signal pre-stored in a, and the processed frequency domain signal associated with the time domain signal processed in a, and the abnormal frequency domain component corresponding to the abnormal frequency is 0.2s, it is determined that abnormal noise exists in the processed signal.
In a specific application, the abnormal sound emitted by the loudspeaker of the player generally occurs when the loudspeaker has the maximum vibration displacement (in practical application, the vibration displacement around the resonance frequency of the loudspeaker is the maximum), and the abnormal sound in the situation has high stability. Therefore, the collected played signals are segmented to obtain corresponding time-frequency signals, the time-frequency graph characteristics of each time-frequency signal corresponding to the vicinity of the resonance frequency set by a loudspeaker manufacturer are analyzed according to the frequency-domain signals, and whether abnormal sound audio frequency components exist in the time-frequency signals of the loudspeaker or not is calculated according to the time-frequency graph characteristics of other frequency bands, so that whether abnormal sound exists in the loudspeaker or not is judged.
In one embodiment, the playing end comprises a first playing end and a second playing end;
the step S104 includes:
and if the first processed signal corresponding to the first playing end and the second processed signal corresponding to the second playing end have abnormal sound, judging that the player has the abnormal sound.
In a specific application, the player generally has more than one playing end (e.g., the bluetooth headset has two playing ends on the left). When detecting whether the player with more than one playing end has noise, the abnormal sound detection analysis is carried out on each playing end, and when detecting that the processed signals corresponding to each playing end have abnormal sound, the abnormal sound of the player is judged.
In specific application, firstly, comparing a first processed signal corresponding to a first playing end with a pre-stored standard signal, judging whether the first processed signal has abnormal sound, and obtaining an abnormal sound detection analysis result of the first playing end; and then comparing the second processed signal corresponding to the second playing end with a pre-stored standard signal, judging whether the second processed signal has abnormal sound, and obtaining an abnormal sound detection and analysis result of the second playing end. And carrying out AND operation on the abnormal sound detection and analysis result of the first playing end and the abnormal sound detection and analysis result of the second playing end to obtain a detection and analysis result of whether the player has abnormal sound.
The method comprises the steps of obtaining a signal played by a player through a playing end, processing the signal to obtain a processed signal, comparing the processed signal with a pre-stored standard signal, judging whether the processed signal has abnormal sound, detecting and judging whether the player has the abnormal sound, reducing the time consumption of the abnormal sound detection process, improving the abnormal sound detection efficiency and improving the stability of a detection result.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 4 shows a block diagram of the abnormal sound detection and analysis device provided in the embodiment of the present application, corresponding to the abnormal sound detection and analysis method described in the above embodiment, and only the parts related to the embodiment of the present application are shown for convenience of description.
Referring to fig. 4, the abnormal noise detection/analysis device 100 includes:
an obtaining module 101, configured to play a preset signal through a playing end, and obtain a played signal;
a processing module 102, configured to process the played signal to obtain a processed signal;
a comparing module 103, configured to compare the processed signal with a pre-stored standard signal, and determine whether the processed signal has abnormal sound;
a determining module 104, configured to determine that the player has an abnormal sound if the processed signal has the abnormal sound.
In one embodiment, the processing module 102 includes:
and the processing unit is used for carrying out segmentation processing on the played signal to obtain a plurality of processed time domain signals and processed frequency domain signals related to each time domain signal.
In one embodiment, the pre-stored standard signal comprises a plurality of pre-stored time domain signals and a pre-stored frequency domain signal associated with each pre-stored time domain signal; the pre-stored time domain signals and the processed time domain signals are in one-to-one correspondence;
as shown in fig. 5, the comparing module 103 includes:
a determining unit 1031, configured to determine a processed time domain signal corresponding to each pre-stored time domain signal;
a comparing unit 1032 for comparing the pre-stored frequency domain signal associated with each pre-stored time domain signal with the processed frequency domain signal associated with the corresponding processed time domain signal;
a first determining unit 1033, configured to determine that there is an abnormal sound in the processed signal if a difference between a pre-stored frequency domain signal associated with any one of the pre-stored time domain signals and a processed frequency domain signal associated with the corresponding processed time domain signal satisfies a preset condition.
In one embodiment, the first determining unit 1033 includes:
a calculation subunit, configured to detect whether an abnormal frequency domain component exists between a pre-stored frequency domain signal associated with a pre-stored time domain signal and a processed frequency domain signal associated with a corresponding processed time domain signal;
and the judging subunit is configured to, if an abnormal frequency domain component exists between a pre-stored frequency domain signal associated with any one of the pre-stored time domain signals and a processed frequency domain signal associated with the corresponding processed time domain signal, and the abnormal frequency domain component is greater than or equal to a preset threshold, judge that the processed signal has abnormal noise.
In one embodiment, the playing end comprises a first playing end and a second playing end;
the determining module 104 includes:
and the second judging unit is used for judging that the abnormal sound exists in the player if the first processed signal corresponding to the first playing end and the second processed signal corresponding to the second playing end both have abnormal sound.
The method comprises the steps of obtaining a signal played by a player through a playing end, processing the signal to obtain a processed signal, comparing the processed signal with a pre-stored standard signal, judging whether the processed signal has abnormal sound, detecting and judging whether the player has the abnormal sound, reducing the time consumption of the abnormal sound detection process, improving the abnormal sound detection efficiency and improving the stability of a detection result.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 6, the terminal device 6 of this embodiment includes: at least one processor 60 (only one shown in fig. 6), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, the processor 60 implementing the steps in any of the above-described embodiments of the abnormal sound detection analysis method when executing the computer program 62.
The terminal device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is only an example of the terminal device 6, and does not constitute a limitation to the terminal device 6, and may include more or less components than those shown, or combine some components, or different components, such as an input/output device, a network access device, and the like.
The Processor 60 may be a Central Processing Unit (CPU), and the Processor 60 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may in some embodiments be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. In other embodiments, the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (SD), a Flash memory Card (Flash Card), and the like, which are equipped on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1.一种异音检测分析方法,其特征在于,包括:1. an abnormal sound detection and analysis method, is characterized in that, comprises: 通过播放端播放预设信号,获取播放后的信号;Play the preset signal through the playback terminal to obtain the played signal; 对所述播放后的信号进行处理,获得处理后的信号;processing the played signal to obtain the processed signal; 将处理后的信号与预存储的标准信号进行比较,判断所述处理后的信号是否存在异音;Comparing the processed signal with the pre-stored standard signal to determine whether there is abnormal sound in the processed signal; 若所述处理后的信号存在异音,则判定所述播放器存在异音。If there is abnormal sound in the processed signal, it is determined that there is abnormal sound in the player. 2.如权利要求1所述的异音检测分析方法,其特征在于,对所述播放后的信号进行处理,获得处理后的信号,包括:2. abnormal sound detection and analysis method as claimed in claim 1, is characterized in that, the signal after described playing is processed, obtains the signal after processing, comprising: 对所述播放后的信号进行分割处理,获得多个处理后的时域信号和与每个时域信号关联的处理后的频域信号。Performing segmentation processing on the played signal to obtain a plurality of processed time-domain signals and a processed frequency-domain signal associated with each time-domain signal. 3.如权利要求2所述的异音检测分析方法,其特征在于,所述预存储的标准信号包括多个预存储的时域信号和与每个预存储的时域信号关联的预存储的频域信号;所述预存储的时域信号和所述处理后的时域信号一一对应;3. The abnormal sound detection and analysis method according to claim 2, wherein the pre-stored standard signal comprises a plurality of pre-stored time domain signals and pre-stored time domain signals associated with each pre-stored time domain signal. frequency-domain signal; the pre-stored time-domain signal and the processed time-domain signal are in one-to-one correspondence; 所述将处理后的信号与预存储的标准信号进行比较,判断所述处理后的信号是否存在异音,包括:Comparing the processed signal with the pre-stored standard signal to determine whether there is abnormal sound in the processed signal, including: 确定与每个预存储的时域信号对应的处理后的时域信号;determining a processed time-domain signal corresponding to each pre-stored time-domain signal; 比较与每个预存储的时域信号关联的预存储的频域信号,及与对应的处理后的时域信号关联的处理后的频域信号;comparing the pre-stored frequency-domain signal associated with each pre-stored time-domain signal with the processed frequency-domain signal associated with the corresponding processed time-domain signal; 若与任一个预存储的时域信号关联的预存储的频域信号,和与对应的处理后的时域信号关联的处理后的频域信号间的差异满足预设条件,则判定处理后的信号存在异音。If the difference between the pre-stored frequency-domain signal associated with any pre-stored time-domain signal and the processed frequency-domain signal associated with the corresponding processed time-domain signal satisfies the preset condition, it is determined that the processed There is abnormal sound in the signal. 4.如权利要求3所述的异音检测分析方法,其特征在于,所述若与任一个预存储的时域信号关联的预存储的频域信号,和与对应的处理后的时域信号关联的处理后的频域信号间的差异满足预设条件,则判定处理后的信号存在异音,包括:4. The abnormal sound detection and analysis method according to claim 3, wherein the pre-stored frequency-domain signal associated with any pre-stored time-domain signal and the corresponding processed time-domain signal If the difference between the associated processed frequency domain signals satisfies the preset condition, it is determined that the processed signal has abnormal sound, including: 检测预存储的时域信号关联的预存储的频域信号和与对应的处理后的时域信号关联的处理后的频域信号之间是否存在异常频域分量;Detecting whether there is an abnormal frequency domain component between the pre-stored frequency-domain signal associated with the pre-stored time-domain signal and the processed frequency-domain signal associated with the corresponding processed time-domain signal; 若任一个预存储的时域信号关联的预存储的频域信号和与对应的处理后的时域信号关联的处理后的频域信号之间存在异常频域分量,且异常频域分量大于或等于预设阈值,则判定处理后的信号存在异音。If there is an abnormal frequency domain component between the pre-stored frequency domain signal associated with any pre-stored time domain signal and the processed frequency domain signal associated with the corresponding processed time domain signal, and the abnormal frequency domain component is greater than or equal to the preset threshold, it is determined that there is abnormal sound in the processed signal. 5.如权利要求1至4任一项所述的异音检测分析方法,其特征在于,所述播放端包括第一播放端和第二播放端;5. the abnormal sound detection and analysis method as described in any one of claim 1 to 4, is characterized in that, described playing end comprises first playing end and second playing end; 所述若所述处理后的信号存在异音,则判定所述播放器存在异音,包括:If the processed signal has abnormal sound, it is determined that the player has abnormal sound, including: 若与所述第一播放端对应的第一处理后的信号和与所述第二播放端对应的第二处理后的信号均存在异音,则判定所述播放器存在异音。If both the first processed signal corresponding to the first playback terminal and the second processed signal corresponding to the second playback terminal have abnormal sound, it is determined that the player has abnormal sound. 6.一种异音检测分析装置,其特征在于,包括:6. An abnormal sound detection and analysis device, characterized in that, comprising: 获取模块,用于通过播放端播放预设信号,获取播放后的信号;The acquisition module is used to play the preset signal through the playback terminal and acquire the played signal; 处理模块,用于对所述播放后的信号进行处理,获得处理后的信号;a processing module, configured to process the played signal to obtain the processed signal; 比较模块,用于将处理后的信号与预存储的标准信号进行比较,判断所述处理后的信号是否存在异音;a comparison module, for comparing the processed signal with the pre-stored standard signal, and judging whether the processed signal has abnormal sound; 判断模块,用于若所述处理后的信号存在异音,则判定所述播放器存在异音。A judging module, configured to determine that there is an abnormal sound in the player if there is an abnormal sound in the processed signal. 7.如权利要求6所述的异音检测分析装置,其特征在于,所述处理模块,包括:7. The abnormal sound detection and analysis device according to claim 6, wherein the processing module comprises: 处理单元,用于对所述播放后的信号进行分割处理,获得多个处理后的时域信号和与每个时域信号关联的处理后的频域信号。The processing unit is configured to perform division processing on the played signal to obtain a plurality of processed time-domain signals and a processed frequency-domain signal associated with each time-domain signal. 8.如权利要求6所述的异音检测分析装置,其特征在于,所述预存储的标准信号包括多个预存储的时域信号和与每个预存储的时域信号关联的预存储的频域信号;所述预存储的时域信号和所述处理后的时域信号一一对应;8. The abnormal sound detection and analysis device according to claim 6, wherein the pre-stored standard signal comprises a plurality of pre-stored time domain signals and pre-stored time domain signals associated with each pre-stored time domain signal frequency-domain signal; the pre-stored time-domain signal and the processed time-domain signal are in one-to-one correspondence; 所述比较模块,包括:The comparison module includes: 确定单元,用于确定与每个预存储的时域信号对应的处理后的时域信号;a determining unit for determining a processed time domain signal corresponding to each pre-stored time domain signal; 比较单元,用于比较与每个预存储的时域信号关联的预存储的频域信号,及与对应的处理后的时域信号关联的处理后的频域信号;a comparison unit for comparing a pre-stored frequency-domain signal associated with each pre-stored time-domain signal and a processed frequency-domain signal associated with the corresponding processed time-domain signal; 第一判断单元,用于若与任一个预存储的时域信号关联的预存储的频域信号,和与对应的处理后的时域信号关联的处理后的频域信号间的差异满足预设条件,则判定处理后的信号存在异音。The first judgment unit is used for if the difference between the pre-stored frequency-domain signal associated with any pre-stored time-domain signal and the processed frequency-domain signal associated with the corresponding processed time-domain signal satisfies a preset condition, it is determined that there is abnormal sound in the processed signal. 9.一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述的方法。9. A terminal device, comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements the computer program as claimed in the claims when executing the computer program The method of any one of 1 to 5. 10.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述的方法。10 . A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented. 11 .
CN202011147871.8A 2020-10-23 2020-10-23 Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium Pending CN113611327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011147871.8A CN113611327A (en) 2020-10-23 2020-10-23 Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011147871.8A CN113611327A (en) 2020-10-23 2020-10-23 Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113611327A true CN113611327A (en) 2021-11-05

Family

ID=78336297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011147871.8A Pending CN113611327A (en) 2020-10-23 2020-10-23 Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113611327A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115329A (en) * 2006-07-28 2008-01-30 天津科技大学 On-line Abnormal Sound Detector Based on Time-Frequency Analysis
CN105163262A (en) * 2015-09-30 2015-12-16 南京师范大学 Loudspeaker abnormal sound detection method and system
CN106323452A (en) * 2015-07-06 2017-01-11 中达电子零组件(吴江)有限公司 A detection method and detection device for abnormal sound of equipment
CN108605191A (en) * 2017-01-20 2018-09-28 华为技术有限公司 abnormal sound detection method and device
CN109040940A (en) * 2018-09-20 2018-12-18 歌尔股份有限公司 A kind of detection method and device of loudspeaker
CN110493691A (en) * 2019-08-23 2019-11-22 Oppo广东移动通信有限公司 Abnormal sound detection method, device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115329A (en) * 2006-07-28 2008-01-30 天津科技大学 On-line Abnormal Sound Detector Based on Time-Frequency Analysis
CN106323452A (en) * 2015-07-06 2017-01-11 中达电子零组件(吴江)有限公司 A detection method and detection device for abnormal sound of equipment
CN105163262A (en) * 2015-09-30 2015-12-16 南京师范大学 Loudspeaker abnormal sound detection method and system
CN108605191A (en) * 2017-01-20 2018-09-28 华为技术有限公司 abnormal sound detection method and device
CN109040940A (en) * 2018-09-20 2018-12-18 歌尔股份有限公司 A kind of detection method and device of loudspeaker
CN110493691A (en) * 2019-08-23 2019-11-22 Oppo广东移动通信有限公司 Abnormal sound detection method, device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
于德敏 等: ""基于时频分析的扬声器异音故障诊断方法"", 《电声技术》 *
董艳芳: ""微型扬声器异音故障检测方法研究"", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Similar Documents

Publication Publication Date Title
CN109831733B (en) Test method, apparatus, equipment and storage medium for audio playback performance
JP5141542B2 (en) Noise detection apparatus and noise detection method
CN109074814B (en) A noise detection method and terminal equipment
CN110809214B (en) Audio playing method, audio playing device and terminal equipment
CN113329315B (en) Detection method, device and equipment of audio playing equipment and storage medium
CN111402910B (en) Method and equipment for eliminating echo
CN108305637B (en) Earphone voice processing method, terminal equipment and storage medium
CN108600898B (en) Method for configuring wireless speaker, wireless speaker and terminal device
WO2018014673A1 (en) Method and device for howling detection
CN112309414B (en) Active noise reduction method based on audio encoding and decoding, earphone and electronic equipment
CN110493691A (en) Abnormal sound detection method, device and electronic equipment
CN109102819A (en) One kind is uttered long and high-pitched sounds detection method and device
CN111796790A (en) Sound effect adjusting method and device, readable storage medium and terminal equipment
US10405114B2 (en) Automated detection of an active audio output
WO2023103253A1 (en) Audio detection method and apparatus, and terminal device
WO2021081333A1 (en) Measuring and evaluating a test signal generated by a device under test (dut)
CN112135235B (en) Quality detection method, system and computer readable storage medium
CN108428457B (en) Audio duplicate removal method and device
CN108605191B (en) Abnormal sound detection method and device
CN112312258A (en) Intelligent earphone with hearing protection and hearing compensation
CN108040315A (en) A computer-readable storage medium and a testing machine using the same
CN113611327A (en) Abnormal sound detection and analysis method and device, terminal equipment and readable storage medium
CN113393862A (en) Sound breaking detection method, device, equipment and storage medium
CN114299982A (en) Method and device for processing audio signal and electronic equipment
CN110890104B (en) Voice endpoint detection method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211105