Voice equipment hole blockage detection method and device, computer equipment and storage medium

By using the detection method in the voice device and comparing the similarity of the sound data to be measured with the standard sound data or blocked sound data, the problem of hole blockage in the voice device is solved, and the normal operation of the device and the stability of the sound quality are achieved.

CN119364275AInactive Publication Date: 2025-01-24GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411868004.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-01-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During use, the audio and pronunciation devices of voice equipment are prone to blockage due to dust and other reasons, which affects the normal operation of the equipment and the sound quality.

Method used

By implementing a detection method in the voice device, the sound data is recorded and compared using designated detection sounds, and the similarity between the sound data to be tested and the standard sound data or blocked sound data is calculated. When the preset similarity threshold is reached, it is determined whether there is The hole is clogged.

Benefits of technology

This method can effectively and simply identify whether the problem of pores is blocked to ensure the normal operation of the equipment and the stability of sound quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364275A_ABST
    Figure CN119364275A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sound detection, in particular to a voice equipment hole blockage detection method and device, computer equipment and a storage medium. The method comprises the following steps: recording specified detection sound emitted by a sound emitting device without hole blockage through a sound receiving device without hole blockage in advance to obtain standard sound data; controlling the to-be-tested sound receiving device to record the specified detection sound emitted by the to-be-tested sound emitting device to obtain to-be-tested sound data; and calculating the sound similarity between the to-be-detected sound data and the standard sound data, and when the sound similarity reaches a preset similarity threshold value, judging that no hole blockage exists in the to-be-detected sound receiving device and the to-be-detected sound producing device. According to the method, the to-be-detected sound data and the standard sound data are analyzed and compared, so that the hole blockage problem of the voice equipment can be accurately recognized, and the normal operation of the voice equipment and the stability of sound quality are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of sound detection technology, and in particular to a method, device, computer equipment and storage medium for detecting the blockage of a voice device hole. Background Art

[0002] Voice functions are widely used in various home appliances. Due to design requirements, the sound receiving device (such as microphone) and the sound producing device (such as speaker) must have holes in the front to ensure the sound receiving and playing effects. However, as the use time increases, the holes of the sound receiving device and the sound producing device are easily blocked by dust, affecting the sound receiving recognition and the sound quality of the broadcast. A solution is urgently needed to detect whether the holes of the sound receiving device and the sound producing device are blocked. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, computer device and storage medium for detecting hole blockage of a voice device, aiming to solve the problem of how to implement hole blockage detection for a sound receiving device and a sound producing device.

[0004] In a first aspect, an embodiment of the present invention provides a method for detecting hole blockage of a voice device, comprising: The designated detection sound emitted by the sound generating device without hole blockage is recorded in advance by the sound receiving device without hole blockage to obtain standard sound data; Controlling the sound receiving device to be tested to collect the designated detection sound emitted by the sound producing device to be tested, and obtaining the sound data to be tested; Calculating the sound similarity between the sound data to be tested and the standard sound data, and determining that there is no hole blockage in the sound receiving device and the sound producing device to be tested when the sound similarity reaches a preset similarity threshold; A designated detection sound emitted by a sound-producing device is pre-recorded by a sound-receiving device to obtain blocked sound data, wherein at least one of the sound-receiving device and the sound-producing device has a blocked hole; the sound similarity between the sound data to be tested and the blocked sound data is calculated, and when the sound similarity reaches a preset similarity threshold, it is determined that at least one of the sound-receiving device to be tested and the sound-producing device has a blocked hole.

[0005] In a second aspect, an embodiment of the present invention provides a voice device hole blocking detection device, comprising: The first recording unit is used to record the designated detection sound emitted by the sound generating device without hole blockage in advance through the sound receiving device without hole blockage to obtain standard sound data; A second recording unit is used to control the sound receiving device to be tested to record the specified detection sound emitted by the sound generating device to be tested, so as to obtain the sound data to be tested; A first hole blocking determination unit is used to calculate the sound similarity between the sound data to be tested and the standard sound data, and when the sound similarity reaches a preset similarity threshold, it is determined that there is no hole blocking in the sound receiving device and the sound producing device to be tested; A third recording unit is used to record the designated detection sound emitted by the sound generating device in advance through the sound receiving device to obtain the blocking sound data, wherein at least one of the sound receiving device and the sound generating device has a hole blocking; The second hole blocking determination unit is used to calculate the sound similarity between the sound data to be tested and the blocked sound data, and when the sound similarity reaches a preset similarity threshold, it is determined that at least one of the sound receiving device and the sound producing device to be tested has a hole blocking.

[0006] In a third aspect, an embodiment of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the voice device hole blockage detection method described in the first aspect when executing the computer program.

[0007] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the voice device hole blockage detection method described in the first aspect above.

[0008] The beneficial effects of the embodiments of the present invention are as follows: by analyzing and comparing the sound data to be tested with the standard sound data, the sound similarity between the two can be calculated. Specifically, a sound similarity algorithm can be used to evaluate the similarity between the two sound samples. When the calculated sound similarity reaches a preset similarity threshold, it can be concluded that neither the sound receiving device nor the sound producing device to be tested has hole blockage. Similarly, by analyzing and comparing the sound data to be tested with the blocked sound data, specifically, a sound similarity algorithm can be used to evaluate the similarity between the two sound samples. When the calculated sound similarity reaches a preset similarity threshold, it can be concluded that at least one of the sound receiving device and the sound producing device to be tested has hole blockage. This detection method is efficient, simple, and can accurately identify whether there is a hole blockage problem, so that the user can be reminded to clean in time when there is a hole blockage problem, thereby ensuring the normal operation of the voice device and the stability of the sound quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0010] Figure 1 A schematic diagram of a flow chart of a method for detecting hole blockage in a voice device provided in an embodiment of the present invention.

[0011] Figure 2 This is a schematic diagram of a first hole blockage determination method in step S104 of the method for detecting hole blockage in a voice device provided in an embodiment of the present invention.

[0012] Figure 3 This is a schematic diagram of a second hole blockage determination method in step S104 of the method for detecting hole blockage in a voice device provided in an embodiment of the present invention.

[0013] Figure 4 A schematic diagram of a third hole blockage determination method in step S104 of the method for detecting hole blockage in a voice device provided in an embodiment of the present invention.

[0014] Figure 5 A sub-flow diagram of step S101 of the voice device hole blockage detection method provided in an embodiment of the present invention.

[0015] Figure 6 A sub-flow diagram of step S102 of the voice device hole blockage detection method provided in an embodiment of the present invention.

[0016] Figure 7 A sub-flow diagram of step S103 of the voice device hole blockage detection method provided by an embodiment of the present invention.

[0017] Figure 8 A schematic block diagram of a voice device hole blockage detection device provided by an embodiment of the present invention.

[0018] Fig. 9 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0021] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0022] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0023] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0024] See also Figure 1 , Figure 1 A schematic diagram of a flow chart of a method for detecting hole blockage in a voice device provided in an embodiment of the present invention.

[0025] like Figure 1 As shown, the method includes steps S101 to S104.

[0026] S101, pre-recording a designated detection sound emitted by a sound generating device without hole blockage by a sound receiving device without hole blockage to obtain standard sound data; In this step, the recorded standard sound data is used as a reference in the subsequent hole blockage detection process.

[0027] S102, controlling the sound receiving device to be tested to record the designated detection sound emitted by the sound producing device to be tested, and obtaining the sound data to be tested; In this step, the recorded sound data to be tested is used for comparative analysis with the standard sound data to determine whether the hole is blocked.

[0028] S103, calculating the sound similarity between the sound data to be tested and the standard sound data, and when the sound similarity reaches a preset similarity threshold, determining that there is no hole blockage in the sound receiving device and the sound producing device to be tested.

[0029] S104, pre-recording a designated detection sound emitted by a sound-generating device through a sound receiving device to obtain blocked sound data, wherein at least one of the sound receiving device and the sound generating device has a blocked hole; calculating the sound similarity between the sound data to be tested and the blocked sound data, and determining that at least one of the sound receiving device and the sound generating device to be tested has a blocked hole when the sound similarity reaches a preset similarity threshold.

[0030] In this embodiment, based on the process of steps S101 to S104, by analyzing and comparing the sound data to be tested with the standard sound data, the sound similarity between the two can be calculated. Specifically, a sound similarity algorithm can be used to evaluate the similarity between the two sound samples. When the calculated sound similarity reaches the preset similarity threshold, it can be concluded that the sound receiving device and the sound producing device to be tested are not blocked. Similarly, by analyzing and comparing the sound data to be tested with the blocked sound data, specifically, a sound similarity algorithm can be used to evaluate the similarity between the two sound samples. When the calculated sound similarity reaches the preset similarity threshold, it can be concluded that at least one of the sound receiving device and the sound producing device to be tested is blocked. This detection method is efficient, simple, and can accurately identify whether there is a hole blockage problem, so that the user can be reminded to clean it in time when there is a hole blockage problem, thereby ensuring the normal operation of the voice device and the stability of the sound quality.

[0031] In this embodiment, in the process of hole blockage detection, in order to prevent the sound receiving device from being affected by human voice or other language devices when recording sound, the problem can be solved by recording a specified detection sound. Specifically, after the designated detection sound (such as a command word of a specified duration) is emitted by the control sound producing device, the sound is immediately recorded by the sound receiving device and sent to the processor, and the recorded sound is filtered by the processor to extract sound data with the same length and command word as the designated detection sound and use it as the sound data to be tested. In this way, it can be ensured that the sound data to be tested is emitted by the sound producing device.

[0032] In the present invention, in order to avoid the influence of recording and recognition between the sound producing device and the sound receiving device, for example, when there is a hole blockage in one of the sound producing device and the sound receiving device, the recorded sound cannot clearly tell whether the hole blockage occurs in the sound producing device or the sound receiving device. Therefore, it is necessary to achieve more accurate hole blockage judgment, and it is necessary to perform targeted detection design on the sound producing device and the sound receiving device respectively. The specific targeted detection design is shown in the specific plan of step S104 below.

[0033] like Figure 2 As shown, step S104 includes: S201, pre-recording a designated detection sound emitted by a sound generating device with a blocked hole by a sound receiving device without a blocked hole, to obtain first blocked sound data; S202, calculating the sound similarity between the sound data to be tested and the first blocking sound data; S203: When the sound similarity reaches a preset similarity threshold, it is determined that the sound generating device to be tested has a hole blockage.

[0034] This embodiment is a specific solution for detecting whether the opening of the sound device is blocked. The opening of the sound device can be blocked by dust or other blockages, and then the sound device with blocked openings is controlled to emit a designated detection sound, and the sound receiving device without blocked openings records the designated detection sound, thereby obtaining the first blocked sound data. Based on this, when the sound similarity between the sound data to be tested and the first blocked sound data reaches a preset similarity threshold, it is specifically determined that the sound device to be tested has blocked openings.

[0035] like Figure 3 As shown, step S104 includes: S301, pre-recording a designated detection sound emitted by a sound generating device without hole blockage by a sound receiving device with hole blockage, to obtain second blockage sound data; S302, calculating the sound similarity between the sound data to be tested and the second blocking sound data; S303: When the sound similarity reaches a preset similarity threshold, it is determined that the sound receiving device to be tested has a hole blockage.

[0036] This embodiment is a specific solution for detecting whether the sound receiving device has a hole blockage. The opening of the sound receiving device can be blocked by dust or other blockages, and then the sound generating device without hole blockage can be controlled to emit a designated detection sound, and the sound receiving device with hole blockage can record the designated detection sound, thereby obtaining the second blocking sound data. Based on this, when the sound similarity between the sound data to be tested and the second blocking sound data reaches a preset similarity threshold, it is specifically determined that the sound receiving device to be tested has a hole blockage.

[0037] like Figure 4 As shown, step S104 includes: S401, pre-recording a designated detection sound emitted by a sound generating device with a blocked hole by a sound receiving device with a blocked hole, to obtain third blocked sound data; S402, calculating the sound similarity between the sound data to be tested and the third blocking sound data; S403: When the sound similarity reaches a preset similarity threshold, it is determined that both the sound receiving device and the sound producing device to be tested have hole blockage.

[0038] This embodiment is a specific solution for detecting whether the sound receiving device and the sound producing device have blocked holes at the same time. The openings of the sound receiving device and the sound producing device can be blocked by dust or other blockages, and then the sound producing device with blocked holes can be controlled to emit a designated detection sound, and the sound receiving device with blocked holes can record the designated detection sound, thereby obtaining the third blocked sound data. Based on this, when the sound similarity between the sound data to be tested and the third blocked sound data reaches a preset similarity threshold, it is specifically determined that the sound receiving device and the sound producing device to be tested both have blocked holes.

[0039] like Figure 5 As shown, step S101 includes: S501, pre-recording a designated detection sound emitted by a sound generating device without hole blockage by a sound receiving device without hole blockage; S502: Perform acoustic-electrical signal conversion processing on the recorded designated detection sound to obtain the corresponding standard electrical signal frequency and standard amplitude, and generate standard sound data.

[0040] In this embodiment, after the designated detection sound is recorded, the sound signal of the designated detection sound needs to be converted into an acoustic-electrical signal. This process includes converting the sound signal into an electrical signal, and further analyzing the frequency and amplitude of these electrical signals to obtain the corresponding standard electrical signal frequency and standard amplitude. Finally, we organize and generate these data to form a set of standard sound data for subsequent comparison and analysis.

[0041] like Figure 6 As shown, step S102 includes: S601, controlling the sound receiving device to be tested to record a designated detection sound emitted by the sound producing device to be tested; S602: Perform acoustic-electrical signal conversion processing on the recorded designated detection sound to obtain the corresponding frequency and amplitude of the electrical signal to be tested, and generate the sound data to be tested.

[0042] In this embodiment, it is first necessary to control the sound receiving device to be tested so that it can accurately record the specified detection sound emitted by the sound generating device to be tested. Next, after recording the specified detection sound, it is necessary to perform an acoustic-electrical signal conversion process on the sound signal of the recorded specified detection sound. This process includes converting the sound signal into an electrical signal, and further analyzing the frequency and amplitude of these electrical signals to obtain the corresponding electrical signal frequency to be tested and the amplitude to be tested. Finally, we organize and generate these data to form the sound data to be tested, so as to compare and analyze them with the aforementioned standard sound data.

[0043] like Figure 7 As shown, step S103 includes: S701, calculating the frequency deviation value between the frequency of the electrical signal to be tested and the frequency of the standard electrical signal; S702, calculating the amplitude deviation between the amplitude to be measured and the standard amplitude; S703. When the frequency deviation value and the amplitude deviation value are both smaller than the corresponding preset deviation values, it is determined that the sound similarity between the sound data to be tested and the standard sound data reaches a preset similarity threshold, and it is determined that neither the sound receiving device nor the sound producing device to be tested has hole blockage.

[0044] In this embodiment, the frequency and amplitude of the electrical signal are two important parameters of the sound. The frequency deviation value and the amplitude deviation value obtained by steps S701 and S702, the larger the frequency deviation value and the amplitude deviation value, the smaller the sound similarity between the sound data to be tested and the standard sound data; if the frequency deviation value and the amplitude deviation value are both smaller than the corresponding preset deviation values ​​(that is, within an acceptable range), the sound similarity is large, indicating that the device is working normally and there is no hole blockage.

[0045] Furthermore, two preset deviation values ​​can be set, which are used to compare with the frequency deviation value and the amplitude deviation value respectively. When the frequency deviation value and the amplitude deviation value are both within the corresponding preset deviation values, the sound similarity between the sound data to be tested and the standard sound data reaches the preset similarity threshold, and it can be determined that the sound receiving device and the sound producing device to be tested have no hole blockage. On the contrary, if at least one of the frequency deviation value and the amplitude deviation value is greater than the corresponding preset deviation value, it is determined that at least one of the sound receiving device and the sound producing device to be tested has a hole blockage.

[0046] Similarly, it can be understood that when the sound data to be tested is compared with the first blocked sound data, the second blocked sound data or the third blocked sound data for sound similarity, the sound similarity principle of steps S701 to S703 is also adopted. For example, when the sound data to be tested is compared with the first blocked sound data for sound similarity, when the frequency deviation value and the amplitude deviation value are both less than the corresponding preset deviation values, it is determined that the sound similarity between the sound data to be tested and the first blocked sound data reaches the preset similarity threshold, and it is determined that the sound device to be tested has hole blockage.

[0047] In one embodiment, the voice device hole blockage detection method further includes: Obtain the testing environment and equipment aging degree of the sound receiving device and sound producing device; Adjusting the preset similarity threshold according to the interference degree of the detection environment, wherein the greater the interference degree of the detection environment, the more the preset similarity threshold is lowered; The preset similarity threshold is adjusted according to the aging degree of the sound receiving device and the sound producing device, wherein the greater the aging degree of the device, the more the preset similarity threshold is adjusted downward.

[0048] In this embodiment, the interference degree of the detection environment mainly refers to the environmental noise value. The greater the environmental noise value, the higher the interference degree of the detection environment. The equipment aging degree mainly refers to the service life of the equipment. The longer the service life, the higher the equipment aging degree.

[0049] The embodiment of the present invention further provides a voice device hole blocking detection device, which is used to execute any embodiment of the voice device hole blocking detection method. Figure 8 , Figure 8 It is a schematic block diagram of a voice device hole blocking detection device provided by an embodiment of the present invention.

[0050] like Figure 8 As shown, the voice equipment hole blocking detection device 800 includes: a first recording unit 801, a second recording unit 802, a first hole blocking determination unit 803, a third recording unit 804 and a second hole blocking determination unit 805; The first recording unit 801 is used to record the designated detection sound emitted by the sound generating device without hole blockage in advance through the sound receiving device without hole blockage to obtain standard sound data; The second recording unit 802 is used to control the sound receiving device to be tested to record the specified detection sound emitted by the sound generating device to be tested, and obtain the sound data to be tested; The first hole blocking determination unit 803 is used to calculate the sound similarity between the sound data to be tested and the standard sound data, and when the sound similarity reaches a preset similarity threshold, it is determined that there is no hole blocking in the sound receiving device and the sound producing device to be tested; The third recording unit 804 is used to record the designated detection sound emitted by the sound generating device in advance through the sound receiving device to obtain the blocking sound data, wherein at least one of the sound receiving device and the sound generating device has a hole blocking; The second hole blocking determination unit 805 is used to calculate the sound similarity between the sound data to be tested and the blocked sound data, and when the sound similarity reaches a preset similarity threshold, it is determined that at least one of the sound receiving device and the sound producing device to be tested has a blocked hole.

[0051] The device can calculate the sound similarity between the sound data to be tested and the standard sound data by analyzing and comparing them. Specifically, a sound similarity algorithm can be used to evaluate the similarity between the two sound samples. When the calculated sound similarity reaches a preset similarity threshold, it can be concluded that neither the sound receiving device nor the sound producing device to be tested has a hole blockage. Similarly, by analyzing and comparing the sound data to be tested with the blocked sound data, specifically, a sound similarity algorithm can be used to evaluate the similarity between the two sound samples. When the calculated sound similarity reaches a preset similarity threshold, it can be concluded that at least one of the sound receiving device and the sound producing device to be tested has a hole blockage. This detection method is efficient, simple, and can accurately identify whether there is a hole blockage problem, so that the user can be reminded to clean it in time when there is a hole blockage problem, thereby ensuring the normal operation of the voice device and the stability of the sound quality.

[0052] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0053] The above-mentioned voice equipment hole blocking detection device can be implemented in the form of a computer program, and the computer program can be used in Fig. 9 Runs on the computer device shown.

[0054] See also Fig. 9 , Fig. 9 900 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device 900 is a server, which can be an independent server or a server cluster composed of multiple servers.

[0055] See also Fig. 9 The computer device 900 includes a processor 902 , a memory and a network interface 905 connected via a system bus 901 , wherein the memory may include a non-volatile storage medium 903 and an internal memory 904 .

[0056] The non-volatile storage medium 903 may store an operating system 9031 and a computer program 9032. When the computer program 9032 is executed, the processor 902 may execute a voice device hole blocking detection method.

[0057] The processor 902 is used to provide computing and control capabilities to support the operation of the entire computer device 900 .

[0058] The internal memory 904 provides an environment for the operation of the computer program 9032 in the non-volatile storage medium 903. When the computer program 9032 is executed by the processor 902, the processor 902 can execute the voice device hole blockage detection method.

[0059] The network interface 905 is used for network communication, such as providing data information transmission, etc. Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 900 to which the solution of the present invention is applied. The specific computer device 900 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0060] Those skilled in the art will understand that Fig. 9 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Fig. 9 The embodiments shown are consistent and will not be described again here.

[0061] It should be understood that in the embodiment of the present invention, the processor 902 may be a central processing unit (CPU), and the processor 902 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0062] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0063] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to execute any embodiment of the above-mentioned voice device hole blocking detection method.

[0064] The storage medium is a physical, non-transient storage medium, for example, it can be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, etc., which can store program codes.

[0065] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to reach the scope of the present invention.

[0066] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0067] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0068] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for an air conditioner to perform all or part of the steps of the methods of various embodiments of the present invention.

[0069] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0070] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

[0071] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for detecting a blocked voice device hole, characterized in that: include: The designated detection sound emitted by the sound generating device without hole blockage is recorded in advance by the sound receiving device without hole blockage to obtain standard sound data; Controlling the sound receiving device to be tested to collect the designated detection sound emitted by the sound producing device to be tested, and obtaining the sound data to be tested; Calculating the sound similarity between the sound data to be tested and the standard sound data, and determining that there is no hole blockage in the sound receiving device and the sound producing device to be tested when the sound similarity reaches a preset similarity threshold; Preliminarily recording a designated detection sound emitted by a sound generating device through a sound receiving device to obtain blocked sound data, wherein at least one of the sound receiving device and the sound generating device has a blocked hole; The sound similarity between the sound data to be tested and the blocked sound data is calculated, and when the sound similarity reaches a preset similarity threshold, it is determined that at least one of the sound receiving device and the sound producing device to be tested has a blocked hole.

2. The method according to claim 1, characterized in that The step of pre-recording a designated detection sound emitted by a sound generating device through a sound receiving device to obtain blocked sound data, wherein at least one of the sound receiving device and the sound generating device has a blocked hole; calculating the sound similarity between the sound data to be tested and the blocked sound data, and determining that at least one of the sound receiving device and the sound generating device to be tested has a blocked hole when the sound similarity reaches a preset similarity threshold, comprises: The designated detection sound emitted by the sound generating device with blocked holes is recorded in advance by a sound receiving device without blocked holes to obtain first blocked sound data; Calculating the sound similarity between the sound data to be tested and the first blocking sound data; When the sound similarity reaches a preset similarity threshold, it is determined that the sound generating device to be tested has a hole blockage.

3. The method according to claim 1, characterized in that The step of pre-recording a designated detection sound emitted by a sound generating device through a sound receiving device to obtain blocked sound data, wherein at least one of the sound receiving device and the sound generating device has a blocked hole; calculating the sound similarity between the sound data to be tested and the blocked sound data, and determining that at least one of the sound receiving device and the sound generating device to be tested has a blocked hole when the sound similarity reaches a preset similarity threshold, comprises: The designated detection sound emitted by the sound generating device without hole blockage is recorded in advance by the sound receiving device with hole blockage to obtain the second blockage sound data; Calculating the sound similarity between the sound data to be tested and the second blocking sound data; When the sound similarity reaches a preset similarity threshold, it is determined that the sound receiving device to be tested has a hole blockage.

4. The method according to claim 1, characterized in that: The step of pre-recording a designated detection sound emitted by a sound generating device through a sound receiving device to obtain blocked sound data, wherein at least one of the sound receiving device and the sound generating device has a blocked hole; calculating the sound similarity between the sound data to be tested and the blocked sound data, and determining that at least one of the sound receiving device and the sound generating device to be tested has a blocked hole when the sound similarity reaches a preset similarity threshold, comprises: The designated detection sound emitted by the sound generating device with a blocked hole is recorded in advance by the sound receiving device with a blocked hole to obtain third blocked sound data; Calculating the sound similarity between the sound data to be tested and the third blocking sound data; When the sound similarity reaches a preset similarity threshold, it is determined that both the sound receiving device and the sound producing device to be tested have hole blockage.

5. The method according to claim 1, characterized in that The step of pre-recording the designated detection sound emitted by the sound generating device without hole blockage by the sound receiving device without hole blockage to obtain standard sound data includes: Pre-recording a designated detection sound emitted by a sound-generating device without hole blockage by a sound-receiving device without hole blockage; The recorded designated detection sound is processed by acoustic-electrical signal conversion to obtain the corresponding standard electrical signal frequency and standard amplitude, and the standard sound data is generated.

6. The method according to claim 5, characterized in that The step of controlling the sound receiving device to be tested to collect the designated detection sound emitted by the sound producing device to be tested to obtain the sound data to be tested includes: Controlling the sound receiving device to be tested to record the designated detection sound emitted by the sound producing device to be tested; The recorded designated detection sound is processed by acoustic-electrical signal conversion to obtain the corresponding electrical signal frequency and amplitude to be measured, and the sound data to be measured is generated.

7. The method according to claim 6, characterized in that The step of calculating the sound similarity between the sound data to be tested and the standard sound data, and determining that there is no hole blockage in the sound receiving device and the sound producing device to be tested when the sound similarity reaches a preset similarity threshold, comprises: Calculating a frequency deviation value between the frequency of the electrical signal to be measured and the frequency of the standard electrical signal; Calculating the amplitude deviation between the amplitude to be measured and the standard amplitude; When the frequency deviation value and the amplitude deviation value are both smaller than the corresponding preset deviation values, it is determined that the sound similarity between the sound data to be tested and the standard sound data reaches a preset similarity threshold, and it is determined that neither the sound receiving device nor the sound producing device to be tested has hole blockage.

8. A voice equipment hole blocking detection device, characterized in that: include: The first recording unit is used to record the designated detection sound emitted by the sound generating device without hole blockage in advance through the sound receiving device without hole blockage to obtain standard sound data; A second recording unit is used to control the sound receiving device to be tested to record the specified detection sound emitted by the sound generating device to be tested, so as to obtain the sound data to be tested; A first hole blocking determination unit is used to calculate the sound similarity between the sound data to be tested and the standard sound data, and when the sound similarity reaches a preset similarity threshold, it is determined that there is no hole blocking in the sound receiving device and the sound producing device to be tested; A third recording unit is used to record the designated detection sound emitted by the sound generating device in advance through the sound receiving device to obtain the blocking sound data, wherein at least one of the sound receiving device and the sound generating device has a hole blocking; The second hole blocking determination unit is used to calculate the sound similarity between the sound data to be tested and the blocked sound data, and when the sound similarity reaches a preset similarity threshold, it is determined that at least one of the sound receiving device and the sound producing device to be tested has a hole blocking.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the voice device hole blockage detection method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method for detecting hole blockage of a voice device according to any one of claims 1 to 7 can be implemented.

Citation Information

Patent Citations

  • Electronic device and detection method based on loudness

    CN106851516A

  • Microphone hole blocking detection method and related products

    CN109104684A

  • Microphone hole blocking detection method and related product

    CN112203206A

  • Hole blocking detection method and device, electronic equipment and storage medium

    CN118540647A

  • Audio module detection method, electronic device and computer storage medium

    US20240205324A1