CN111491061A - Audio detection method and device for call scene and related equipment - Google Patents

Audio detection method and device for call scene and related equipment Download PDF

Info

Publication number
CN111491061A
CN111491061A CN202010316658.9A CN202010316658A CN111491061A CN 111491061 A CN111491061 A CN 111491061A CN 202010316658 A CN202010316658 A CN 202010316658A CN 111491061 A CN111491061 A CN 111491061A
Authority
CN
China
Prior art keywords
audio signal
tested
equipment
standard
audio
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.)
Granted
Application number
CN202010316658.9A
Other languages
Chinese (zh)
Other versions
CN111491061B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010316658.9A priority Critical patent/CN111491061B/en
Publication of CN111491061A publication Critical patent/CN111491061A/en
Application granted granted Critical
Publication of CN111491061B publication Critical patent/CN111491061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2236Quality of speech transmission monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/26Arrangements for supervision, monitoring or testing with means for applying test signals or for measuring
    • H04M3/28Automatic routine testing ; Fault testing; Installation testing; Test methods, test equipment or test arrangements therefor

Abstract

The application discloses an audio detection method and device for a call scene and related equipment. The method can comprise the following steps: determining that a first device to be tested and a second device to be tested establish call connection, wherein the first device to be tested is deployed in a first mute box, and the second device to be tested is deployed in a second mute box; controlling standard audio playing equipment to play a preset test audio signal, wherein the standard audio playing is deployed in a first mute box; acquiring a first audio signal output by an uplink communication channel of first equipment to be tested, wherein the first audio signal is obtained by processing the audio signal acquired by the first equipment to be tested through the uplink communication channel; and comparing the first audio signal with a prestored first reference audio signal, and determining whether the uplink communication path of the first equipment to be tested is abnormal or not according to the comparison result. Therefore, automatic detection of the audio frequency can be realized based on a call scene, the detection efficiency is improved, and the low detection rate caused by the audio frequency test by artificial listening is avoided.

Description

Audio detection method and device for call scene and related equipment
Technical Field
The present application relates to the field of detection technologies, and in particular, to an audio detection method and apparatus for a call scene, an electronic device, and a computer-readable storage medium.
Background
With the development of artificial intelligence, the requirement of a user on a communication function is higher and higher, and in order to better transmit voice in communication, the voice frequency needs to be tested.
In the related art, the conventional audio test method mainly detects the audio by manual work, however, when noise occurs in the audio, the manual listening may not be sensitive to the noise detection, which results in inaccurate audio detection result and low audio detection rate. Therefore, how to better realize the detection of the audio becomes an urgent problem to be solved.
Disclosure of Invention
The present application aims to solve at least one of the technical problems in the related art to some extent.
In a first aspect, an embodiment of the present application provides an audio detection method for a call scene, including the following steps: determining that a first device to be tested and a second device to be tested establish call connection, wherein the first device to be tested is deployed in a first mute box, and the second device to be tested is deployed in a second mute box; controlling standard audio playing equipment to play a preset test audio signal, wherein the standard audio playing is deployed in the first mute box; acquiring a first audio signal output by an uplink communication channel of the first equipment to be tested, wherein the first audio signal is obtained by processing the audio signal acquired by the first equipment to be tested through the uplink communication channel; and comparing the first audio signal with a prestored first reference audio signal, and determining whether an uplink call path of the first equipment to be tested is abnormal or not according to a comparison result, wherein the first reference audio signal is obtained by performing uplink call processing on a collected audio signal by using first standard equipment in the process of playing the test audio signal from the outside, and the models of the first standard equipment and the first equipment to be tested are the same.
In a second aspect, an embodiment of the present application provides an audio detection apparatus for a call scenario, including: the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining that a first device to be tested and a second device to be tested establish call connection, the first device to be tested is deployed in a first mute box, and the second device to be tested is deployed in a second mute box; the control module is used for controlling standard audio playing equipment to play a preset test audio signal, wherein the standard audio playing is deployed in the first mute box; the first acquisition module is used for acquiring a first audio signal output by an uplink communication path of the first equipment to be tested, wherein the first audio signal is obtained by processing the audio signal acquired by the first equipment to be tested through the uplink communication path; and the second determining module is used for comparing the first audio signal with a prestored first reference audio signal and determining whether the uplink communication channel of the first equipment to be tested is abnormal or not according to a comparison result, wherein the first reference audio signal is obtained by performing uplink communication processing on the acquired audio signal by using first standard equipment in the process of externally playing the test audio signal, and the models of the first standard equipment and the first equipment to be tested are the same.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, where the processor executes the computer program to implement the method for detecting an audio frequency in a call scenario according to the first aspect of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for detecting an audio frequency in a call scenario described in the first aspect of the present application.
According to the technical scheme, the communication connection between the first equipment to be tested and the second equipment to be tested can be established by determining, the standard audio playing equipment is controlled to play the preset test audio signal, then the first audio signal output by the uplink communication channel of the first equipment to be tested is obtained, the first audio signal is compared with the prestored first reference audio signal, and whether the uplink communication channel of the first equipment to be tested is abnormal or not is determined according to the comparison result. The method can realize automatic detection of the audio frequency based on a call scene, avoids low detection rate caused by audio frequency test by artificial listening, reduces detection cost and improves detection efficiency. .
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of an audio detection method for a call scenario according to an embodiment of the present application.
Fig. 2 is a flowchart of an audio detection method for a call scenario according to an embodiment of the present application.
FIG. 3 is a flow chart of a method for local audio testing of a first device under test according to one embodiment of the present application.
Fig. 4 is a schematic diagram of a local audio testing method of a first device under test according to a specific embodiment of the present application.
Fig. 5 is a schematic diagram of the detection principle of the detection device according to one embodiment of the present application.
Fig. 6 is a flowchart of an audio detection method for a call scenario according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an audio detection apparatus for a call scene according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an audio detection apparatus for a call scene according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an audio detection apparatus for a call scene according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of an audio detection apparatus for a call scene according to an embodiment of the present application.
FIG. 11 is a schematic structural diagram of an electronic device according to one embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes an audio detection method, an audio detection device, and a related device for a call scene according to an embodiment of the present application with reference to the drawings.
Fig. 1 is a flowchart of an audio detection method for a call scenario according to an embodiment of the present application. It should be noted that the method for detecting an audio frequency of a call scene in the embodiment of the present application may be applied to an apparatus for detecting an audio frequency of a call scene in the embodiment of the present application, and the apparatus may be configured on an electronic device. In the embodiment of the present application, the electronic device may be a testing device, such as a personal computer, a smart phone, a tablet computer, and the like.
As shown in fig. 1, the audio detection method for the call scenario may include:
s110, determining that the first device to be tested and the second device to be tested establish call connection, wherein the first device to be tested is deployed in the first mute box, and the second device to be tested is deployed in the second mute box.
The first device to be tested and the second device to be tested both have a conversation function. The call includes, but is not limited to, a general telephone call, an IP call, and the like.
For example, the first device under test may make a call to the second device under test, and after the second device under test is connected, the test device may determine that the first device under test and the second device under test establish a call connection.
And S120, controlling the standard audio playing equipment to play a preset test audio signal.
Wherein the standard audio playback is disposed in a first silence box.
In this embodiment, after it is determined that the first device under test and the second device under test establish a call connection, the test device may control a standard audio playing device disposed in the first mute box to play a preset test audio signal.
S130, a first audio signal output by the first equipment to be tested in the uplink communication channel is obtained.
The first audio signal is obtained by processing an audio signal acquired by the first equipment to be tested through an uplink communication path.
In the embodiment of the application, a microphone can be arranged on the first device to be tested, the first device to be tested can collect an audio signal through the microphone, the collected audio signal is subjected to uplink call processing to obtain a first audio signal, and the first audio signal is sent to the testing device, so that the testing device can obtain the first audio signal output by the uplink call channel of the first device to be tested.
S140, comparing the first audio signal with a pre-stored first reference audio signal, and determining whether the uplink communication path of the first equipment to be tested is abnormal or not according to the comparison result.
The first reference audio signal is obtained by performing uplink call processing on the acquired audio signal by the first standard equipment in the process of playing the test audio signal from the outside.
In this embodiment, in order to accurately perform an audio test on the first device to be tested, the first standard device and the first device to be tested in this embodiment have the same device model.
For example, after the test device acquires the first audio signal output by the uplink call path of the first device to be tested, the test device may compare the first audio signal with a pre-stored first reference audio signal, and determine whether the uplink call path of the first device to be tested is abnormal according to a comparison result. Specific implementation modes can refer to the following embodiments.
According to the audio detection method for the call scene, when the equipment to be tested needs to be tested, the first equipment to be tested and the second equipment to be tested are determined to establish call connection, the standard audio playing equipment is controlled to play the preset test audio signal, then the first audio signal output by the uplink call channel of the first equipment to be tested is obtained, the first audio signal is compared with the prestored first reference audio signal, and whether the uplink call channel of the first equipment to be tested is abnormal or not is further determined according to the comparison result. Therefore, automatic audio detection of equipment to be detected can be achieved based on a call scene, low detection efficiency caused by audio test through artificial listening is avoided, and detection efficiency is improved.
Fig. 2 is a flowchart of an audio detection method for a call scenario according to an embodiment of the present application. As shown in fig. 2, the audio detection method for the call scenario may include:
s210, determining that the local audio test results of the first device to be tested and the second device to be tested are normal.
And the local audio testing methods of the first device to be tested and the second device to be tested are the same.
For example, taking the local audio test of the first device under test as an example, as shown in fig. 3, a specific implementation manner for determining that the local audio test result of the first device under test is normal may be as follows:
and S310, controlling standard audio playing equipment to play a preset test audio signal, wherein the standard audio playing equipment is deployed in a first mute box.
That is, the test device can control the standard audio playback device to play back the preset test audio signal.
S320, acquiring a fourth audio signal output by the audio processing path of the first device to be tested.
For example, the first device to be tested may have a microphone, and the first device to be tested may collect an audio signal through the microphone and process the collected audio signal through the audio processing path, and then play the processed audio signal through a speaker of the first device to be tested, and then record the audio signal being played through a standard recording microphone of the first device to be tested, so as to generate a recorded audio signal, that is, a fourth audio signal output by the audio processing path of the first device to be tested.
The first device to be tested can send the fourth audio signal to the testing device, so that the testing device can acquire the fourth audio signal output by the audio processing channel of the first device to be tested.
S330, comparing the first audio signal with a prestored fourth reference audio signal, and determining whether the audio processing path of the first equipment to be tested is abnormal or not according to the comparison result.
And the fourth reference audio signal is obtained by processing the acquired audio signal by the first standard equipment through an audio processing path in the process of playing the test audio signal from the outside.
In an embodiment of the application, after the test device acquires a fourth audio signal output by the audio processing path of the first device to be tested, the first audio signal and the fourth reference audio signal may be subtracted to obtain a fourth residual audio signal, and then whether the energy of the fourth residual audio signal is smaller than a preset energy threshold is determined, and if yes, it is determined that the audio processing path of the first electronic device to be tested is normal.
And S340, determining that the local audio test result of the first device to be tested is normal.
That is, upon determining that the audio processing path of the first device under test is normal, it may be determined that the local audio test result of the first device under test is normal.
In a specific embodiment of the present application, as shown in fig. 4, a standard audio playing device may be controlled to play a preset test audio signal, then, the mobile device 1 may record through a microphone to obtain data 1, and process the data 1 through an audio processing path, then play the processed data 1 through a speaker of the mobile device 1 itself, and then record the audio signal in playing through a standard recording microphone of the mobile device 1 itself, so as to generate data 2. After determining that the data 2 in the mobile device 1 has no abnormality, the data 2 is retained and used as a reference audio signal for detecting an audio processing path of the mobile device 1.
And sending the data 2 and the reference audio signal to a software detection terminal so that the software detection terminal can detect the data, if the detection is abnormal, judging that the audio processing path of the mobile equipment 1 has a problem, namely the local audio test result of the mobile equipment 1 is abnormal, and storing a relevant record.
S220, determining that the first device to be tested and the second device to be tested establish call connection.
And S230, controlling the standard audio playing equipment to play a preset test audio signal.
It should be noted that, the implementation process of steps S220 to S230 may refer to the above S110 to S120, and is not described herein again.
S240, acquiring a first audio signal output by the uplink communication channel of the first equipment to be tested.
The first audio signal is obtained by processing an audio signal acquired by the first equipment to be tested through an uplink communication path.
For example, a microphone may be provided on the first device to be tested, the first device to be tested may collect an audio signal through the microphone, further perform uplink call processing on the collected audio signal to obtain a first audio signal, and send the first audio signal to the testing device, so that the testing device may obtain the first audio signal output by the uplink call path of the first device to be tested.
And S250, comparing the first audio signal with a prestored first reference audio signal, and determining whether the uplink communication path of the first equipment to be tested is abnormal or not according to the comparison result.
In an embodiment of the application, the first audio signal and the first reference audio signal may be subtracted to obtain a first residual audio signal, and then it is determined whether energy of the first residual audio signal is smaller than a preset energy threshold, and if the energy of the first residual audio signal is larger than the preset energy threshold, it is determined that an uplink call path of the first electronic device to be tested is abnormal.
It should be noted that, as shown in fig. 5, the detection principle of the testing device is as follows: abrupt changes, distortions, and noise problems of a sound signal can be generally considered as nonlinear distortions of the original signal. The idea of adaptive cancellation of reference echo cancellation signals is to use a normal sound signal of a device as a reference signal of an echo canceller, use a signal to be detected as a local input signal of the echo canceller, and in the cancellation process, a nonlinear distortion part of the signal will be left, and the detection purpose is realized by analyzing the residual signal.
And S260, if the uplink communication channel of the first device to be tested is normal, acquiring a second audio signal received by the downlink communication channel of the second device to be tested.
The second audio signal is sent by the first equipment to be tested to the second equipment to be tested through the network.
In this implementation, when it is determined that the uplink communication path of the first device under test is normal, the second device under test may send the received second audio signal to the test device, so that the test device may obtain the second audio signal received by the downlink communication path of the second device under test.
S270, comparing the second audio signal with a pre-stored second reference audio signal, and determining whether the network between the first equipment to be tested and the second equipment to be tested is abnormal or not according to the comparison result.
The second reference audio signal is an audio signal received by a downlink communication channel of the second standard equipment, the second reference audio signal is sent by the first standard equipment to the second standard equipment through a network, and the equipment models of the second standard equipment and the second equipment to be tested are the same.
In an embodiment of the application, the test device obtains the second audio signal, may subtract the second audio signal from the second reference audio signal to obtain a second residual audio signal, and then determines whether energy of the second residual audio signal is smaller than a preset energy threshold, and if so, determines that a network between the first device to be tested and the second device to be tested is normal.
And S280, if the network between the first equipment to be tested and the second equipment to be tested is normal, acquiring a third audio signal acquired by the standard audio acquisition equipment.
The standard audio acquisition equipment is deployed in the second mute box, the third audio signal is an audio signal played by the second equipment to be tested, and the audio signal played by the second equipment to be tested is an audio signal output by the second equipment to be tested through processing of the second audio signal through the downlink communication channel.
That is to say, when it is determined that the network between the first device under test and the second device under test is normal, the standard audio acquisition device may send the acquired third audio signal to the test device, so that the test device acquires the third audio signal acquired by the standard audio acquisition device.
And S290, comparing the third audio signal with a prestored third reference audio signal, and determining whether the downlink communication channel of the second device to be tested is abnormal or not according to the comparison result.
The third reference audio signal is an audio signal played by the second standard device, and the audio signal played by the second standard device is an audio signal output by the second standard device after the second standard audio signal is processed by the downlink communication path.
In an embodiment of the application, the third audio signal acquired by the test device may be subtracted from the third reference audio signal to obtain a third residual audio signal, and then it is determined whether the energy of the first residual audio signal is smaller than a preset energy threshold, and if the energy of the third residual audio signal is larger than the preset energy threshold, it is determined whether a downlink call path of the second device under test is abnormal.
According to the audio detection method for the call scene, the first device to be tested and the local audio test result can be determined to be normal, then the first device to be tested and the second device to be tested are determined to establish call connection, the standard audio playing device is controlled to play the preset test audio signal, then the first audio signal output by the uplink call channel of the first device to be tested, the second audio signal received by the downlink call channel of the second device to be tested and the third audio signal collected by the standard audio collecting device are obtained, and the obtained audio signal is compared with the reference audio signal, so that whether the uplink call channel of the first device to be tested is abnormal, whether the network between the first device to be tested and the second device to be tested is abnormal, and whether the downlink call channel of the second device to be tested is abnormal is determined. Therefore, in the process of communicating the first device to be tested and the second device to be tested, automatic testing of the devices to be tested is achieved, the abnormal stage of the two devices to be tested is accurately determined, automatic audio testing in the communication process is achieved, detection efficiency is improved, and the problem that manual listening is low in detection rate caused by audio testing is solved.
In order to make the present solution easier for those skilled in the art to understand, as shown in fig. 6, the first standard device and the second standard device may be a mobile phone, a tablet computer, etc. The specific implementation manner of the first standard device and the second standard device for collecting the reference signal may be as follows:
the first standard equipment can make a call to the second standard equipment, after the second standard equipment is connected, the software testing equipment can determine that the first standard equipment and the second standard equipment establish call connection, and then the software testing equipment can control the standard sound equipment to play a preset testing audio signal.
The first standard device can acquire an audio signal through a microphone, so as to acquire data 1, further process the data 1 through uplink call, further generate data 2, and send the data 2 to the software testing device.
The first standard device may send data 2 to the second standard device via network transmission, and the second standard device may generate data 3. Wherein the second standard device may send the generated data 3 to the software detection device.
The second standard device can process the generated data 3 through a downlink communication channel, play the data through a self-contained loudspeaker, and record the played data through a standard microphone to obtain data 4. Wherein the second standard device may send the obtained data 4 to the software detection device.
The software testing equipment receives the data 2, the data 3 and the data 4, can confirm that the data 2 of the first standard equipment is abnormal, and can reserve the data as a reference signal for detecting an uplink channel of the first standard equipment; confirming that the data 3 has no abnormality, and reserving the data as a reference signal for detecting the network abnormality; the confirmation data 4 is not abnormal and can be reserved as a reference signal for detecting the downlink of the second standard equipment.
In a specific embodiment of the present application, a specific implementation manner of the audio detection of the first device under test and the second device under test may be as follows: the first standard device in fig. 6 may be replaced by a first device to be tested, and the second standard device may be replaced by a second device to be tested. And further parameter signals are collected by the first device to be tested and the second device to be tested. Then, the software detection equipment can send the data 2 and a reference signal used for detecting an uplink channel of the first equipment to be detected to the detector for detection, and if the detection is abnormal, the software detection equipment stops the test and stores a relevant record; if no abnormity is detected, sending the data 3 and a reference signal used for detecting the network abnormity to a detector for detection, and if abnormity is detected, stopping testing and storing related records; and if no abnormity is detected, sending the data 4 and the reference signal used for detecting the downlink channel of the second device to be detected to a detector for detection, and determining that the downlink communication channel of the second device to be detected is abnormal by detecting the abnormity.
Corresponding to the audio detection methods for the call scene provided in the foregoing embodiments, an embodiment of the present application further provides an audio detection apparatus for the call scene, and since the audio detection apparatus for the call scene provided in the embodiment of the present application corresponds to the audio detection methods for the call scene provided in the foregoing embodiments, an implementation manner of the audio detection method for the call scene is also applicable to the audio detection apparatus for the call scene provided in the embodiment, and is not described in detail in the embodiment. Fig. 7 is a schematic structural diagram of an audio detection apparatus for a call scene according to an embodiment of the present application.
As shown in fig. 7, the audio detection apparatus 700 for the call scenario includes: a first determination module 710, a control module 720, a first acquisition module 730, and a second determination module 740. Wherein:
the first determining module 710 is configured to determine that a first device to be tested and a second device to be tested establish a call connection, where the first device to be tested is disposed in a first mute box, and the second device to be tested is disposed in a second mute box;
the control module 720 is configured to control a standard audio playing device to play a preset test audio signal, where the standard audio playing device is disposed in the first mute box;
the first obtaining module 730 is configured to obtain a first audio signal output by an uplink call path of the first device under test, where the first audio signal is obtained by processing the audio signal collected by the first device under test through the uplink call path;
the second determining module 740 is configured to compare the first audio signal with a pre-stored first reference audio signal, and determine whether an uplink call path of the first device to be tested is abnormal according to a comparison result, where the first reference audio signal is obtained by performing uplink call processing on an acquired audio signal by a first standard device in a process of playing the test audio signal from the outside, and the models of the first standard device and the first device to be tested are the same. As an example, the second determining module 740 is specifically configured to: subtracting the first audio signal and the first reference audio signal to obtain a first residual audio signal; judging whether the energy of the first residual audio signal is smaller than a preset energy threshold value; and if the energy of the first residual audio signal is greater than a preset energy threshold value, determining that an uplink communication channel of the first electronic device to be tested is abnormal.
In an embodiment of the present application, when it is determined that the uplink call path of the first device under test is normal, as shown in fig. 8, the audio detecting apparatus 700 for a call scenario further includes: a second acquisition module 750 and a third determination module 760. The second obtaining module 750 is configured to obtain a second audio signal received by the downlink call path of the second device under test, where the second audio signal is sent by the first device under test to the second device under test through a network; the third determining module 760 is configured to compare the second audio signal with a pre-stored second reference audio signal, and determine whether the network between the first device under test and the second device under test during a call is abnormal according to a comparison result, where the second reference audio signal is an audio signal received by a downlink call path of a second standard device, the second reference audio signal is sent by the first standard device to the second standard device through the network, and the device models of the second standard device and the second device under test are the same.
In an embodiment of the present application, when determining that a network between the first device under test and the second device under test is normal, as shown in fig. 9, the audio detecting apparatus 700 in the call scenario further includes: a third acquisition module 770 and a fourth determination module 780. The third obtaining module 770 is configured to obtain a third audio signal collected by a standard audio collecting device, where the standard audio collecting device is disposed in the second mute box, the third audio signal is an audio signal played by the second standard device, and the audio signal played by the second standard device is an audio signal output by the second standard device after the second audio signal is processed through a downlink call path; the fourth determining module 780 is configured to compare the third audio signal with a prestored third reference audio signal, and determine whether the downlink communication path of the second standard device is abnormal according to a comparison result, where the third reference audio signal is an audio signal played by the second standard device, and the audio signal played by the second standard device is an audio signal output by the second standard device after the second standard device processes the second standard audio signal through the downlink communication path.
In the embodiment of the present application, before determining that the first device under test and the second device under test establish a call connection, as shown in fig. 10, the audio detecting apparatus 700 for a call scenario further includes: a fifth determining module 790. The fifth determining module 790 is configured to determine that the first device to be tested and the local audio test result are normal.
According to the audio detection device for the call scene, the standard audio playing device can be controlled to play the preset test audio signal by determining that the first device to be tested and the second device to be tested establish call connection, then the first audio signal output by the uplink call channel of the first device to be tested is obtained, the first audio signal is compared with the prestored first reference audio signal, and whether the uplink call channel of the first device to be tested is abnormal or not is further determined according to the comparison result. Therefore, automatic audio detection of equipment to be detected can be achieved based on a call scene, low detection rate caused by audio test through artificial listening is avoided, and detection efficiency is improved.
In order to implement the above embodiments, the present application further provides an electronic device.
FIG. 11 is a schematic structural diagram of an electronic device according to one embodiment of the present application. As shown in fig. 11, the electronic device 1100 may include: a memory 1110, a processor 1120, and a computer program 1130 stored in the memory 1110 and operable on the processor 1120, wherein the processor 1120, when executing the program, implements the method for detecting an audio frequency in a call scenario according to any one of the above-mentioned embodiments.
In order to implement the foregoing embodiments, the present application further provides a computer-readable storage medium, where the computer program is executed by a processor to implement any one of the above-mentioned audio detection methods for a call scenario.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (12)

1. An audio detection method for a call scene, the method comprising:
determining that a first device to be tested and a second device to be tested establish call connection, wherein the first device to be tested is deployed in a first mute box, and the second device to be tested is deployed in a second mute box;
controlling standard audio playing equipment to play a preset test audio signal, wherein the standard audio playing is deployed in the first mute box;
acquiring a first audio signal output by an uplink communication channel of the first equipment to be tested, wherein the first audio signal is obtained by processing the audio signal acquired by the first equipment to be tested through the uplink communication channel;
and comparing the first audio signal with a prestored first reference audio signal, and determining whether an uplink call path of the first equipment to be tested is abnormal or not according to a comparison result, wherein the first reference audio signal is obtained by performing uplink call processing on a collected audio signal by using first standard equipment in the process of playing the test audio signal from the outside, and the models of the first standard equipment and the first equipment to be tested are the same.
2. The method according to claim 1, wherein the comparing the first audio signal with a pre-stored first reference audio signal, and determining whether the uplink call path of the first electronic device to be tested is abnormal according to the comparison result comprises:
subtracting the first audio signal and the first reference audio signal to obtain a first residual audio signal;
judging whether the energy of the first residual audio signal is smaller than a preset energy threshold value;
and if the energy of the first residual audio signal is greater than a preset energy threshold value, determining that an uplink communication channel of the first electronic device to be tested is abnormal.
3. The method according to claim 1 or 2, wherein when it is determined that the uplink call path of the first device under test is normal, the method further comprises:
acquiring a second audio signal received by a downlink communication channel of the second device to be tested, wherein the second audio signal is sent by the first device to be tested to the second device to be tested through a network;
and comparing the second audio signal with a prestored second reference audio signal, and determining whether the network between the first equipment to be tested and the second equipment to be tested is abnormal or not according to the comparison result, wherein the second reference audio signal is an audio signal received by a downlink communication channel of second standard equipment, the second reference audio signal is sent to the second standard equipment by the first standard equipment through the network, and the equipment models of the second standard equipment and the second equipment to be tested are the same.
4. The method of claim 3, wherein upon determining that the network between the first device under test and the second device under test is normal, the method further comprises:
acquiring a third audio signal acquired by standard audio acquisition equipment, wherein the standard audio acquisition equipment is deployed in the second silence box, the third audio signal is an audio signal played by the second equipment to be tested, and the audio signal played by the second equipment to be tested is an audio signal output by the second equipment to be tested after the second audio signal is processed by a downlink communication channel;
and comparing the third audio signal with a prestored third reference audio signal, and determining whether the downlink communication path of the second device to be tested is abnormal according to a comparison result, wherein the third reference audio signal is an audio signal played by the second standard device, and the audio signal played by the second standard device is an audio signal output by the second standard device after the second standard device processes the second standard audio signal through the downlink communication path.
5. The method of claim 1, wherein prior to the determining that the first device under test and the second device under test establish a call connection, the method further comprises:
and determining that the local audio test results of the first device to be tested and the second device to be tested are normal.
6. An apparatus for detecting audio in a call scenario, the apparatus comprising:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining that a first device to be tested and a second device to be tested establish call connection, the first device to be tested is deployed in a first mute box, and the second device to be tested is deployed in a second mute box;
the control module is used for controlling standard audio playing equipment to play a preset test audio signal, wherein the standard audio playing is deployed in the first mute box;
the first acquisition module is used for acquiring a first audio signal output by an uplink communication path of the first equipment to be tested, wherein the first audio signal is obtained by processing the audio signal acquired by the first equipment to be tested through the uplink communication path;
and the second determining module is used for comparing the first audio signal with a prestored first reference audio signal and determining whether the uplink communication channel of the first equipment to be tested is abnormal or not according to a comparison result, wherein the first reference audio signal is obtained by performing uplink communication processing on the acquired audio signal by using first standard equipment in the process of externally playing the test audio signal, and the models of the first standard equipment and the first equipment to be tested are the same.
7. The apparatus of claim 6, wherein the second determining module is specifically configured to:
subtracting the first audio signal and the first reference audio signal to obtain a first residual audio signal;
judging whether the energy of the first residual audio signal is smaller than a preset energy threshold value;
and if the energy of the first residual audio signal is greater than a preset energy threshold value, determining that an uplink communication channel of the first electronic device to be tested is abnormal.
8. The apparatus according to claim 6 or 7, wherein when it is determined that the uplink call path of the first device under test is normal, the apparatus further comprises:
a second obtaining module, configured to obtain a second audio signal received by a downlink call path of the second device under test, where the second audio signal is sent by the first device under test to the second device under test through a network;
and the third determining module is configured to compare the second audio signal with a prestored second reference audio signal, and determine whether the network between the first device to be tested and the second device to be tested is abnormal according to a comparison result, where the second reference audio signal is an audio signal received by a downlink call path of a second standard device, the second reference audio signal is sent by the first standard device to the second standard device through the network, and the device models of the second standard device and the second device to be tested are the same.
9. The method of claim 8, wherein upon determining that the network between the first device under test and the second device under test is normal, the apparatus further comprises:
a third obtaining module, configured to obtain a third audio signal collected by a standard audio collecting device, where the standard audio collecting device is deployed in the second mute box, the third audio signal is an audio signal played by the second device under test, and the audio signal played by the second device under test is an audio signal output by the second device under test processing the second audio signal through a downlink call path;
and a fourth determining module, configured to compare the third audio signal with a prestored third reference audio signal, and determine whether the downlink communication path of the second device to be tested is abnormal according to a comparison result, where the third reference audio signal is an audio signal played by the second standard device, and the audio signal played by the second standard device is an audio signal output by the second standard device when the second standard device processes the second standard audio signal through the downlink communication path.
10. The method of claim 6, wherein prior to the determining that the first device under test and the second device under test establish a call connection, the apparatus further comprises:
and the fifth determining module is used for determining that the local audio test results of the first device to be tested and the second device to be tested are normal.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the method for audio detection of a call scenario according to any one of claims 1-5.
12. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method for audio detection of a call scenario according to any one of claims 1 to 5.
CN202010316658.9A 2020-04-21 2020-04-21 Audio detection method and device for call scene and related equipment Active CN111491061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010316658.9A CN111491061B (en) 2020-04-21 2020-04-21 Audio detection method and device for call scene and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010316658.9A CN111491061B (en) 2020-04-21 2020-04-21 Audio detection method and device for call scene and related equipment

Publications (2)

Publication Number Publication Date
CN111491061A true CN111491061A (en) 2020-08-04
CN111491061B CN111491061B (en) 2021-08-06

Family

ID=71798350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010316658.9A Active CN111491061B (en) 2020-04-21 2020-04-21 Audio detection method and device for call scene and related equipment

Country Status (1)

Country Link
CN (1) CN111491061B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113593536A (en) * 2021-06-09 2021-11-02 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Device and system for detecting voice recognition accuracy

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03267850A (en) * 1990-03-16 1991-11-28 Nec Corp Automatic diagnostic test system for vocoder
CN103227872A (en) * 2013-03-21 2013-07-31 华为技术有限公司 Voice signal processing method, voice signal detecting method and related equipment
CN103841276A (en) * 2014-03-24 2014-06-04 博信通信股份有限公司 Method for evaluating speech quality based on smart phone platform
CN106162712A (en) * 2015-04-13 2016-11-23 中国移动通信集团公司 A kind of voice call quality detection method, equipment and system
CN106154096A (en) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 Audio connecting cord detection method and device
CN106713623A (en) * 2016-12-08 2017-05-24 深圳市传测科技有限公司 Implanted conversation detection system and method for communication terminal
CN106791226A (en) * 2017-01-13 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Call fault detection method and system
CN109151145A (en) * 2018-09-07 2019-01-04 深圳市万普拉斯科技有限公司 A kind of detection method and device of voice-grade channel
CN109327593A (en) * 2018-10-19 2019-02-12 小唐科技(上海)有限公司 Satellite communication terminal audio test system and method
CN109495655A (en) * 2018-11-14 2019-03-19 平安科技(深圳)有限公司 Call center attends a banquet line testing process and device, electronic equipment, storage medium
CN109561222A (en) * 2017-09-27 2019-04-02 华为终端(东莞)有限公司 A kind of method for detecting abnormality and device of voice data
CN109600521A (en) * 2018-11-14 2019-04-09 平安科技(深圳)有限公司 Call center's outgoing call test method and device, electronic equipment, storage medium
CN109817243A (en) * 2017-11-21 2019-05-28 中国移动通信集团浙江有限公司 A kind of speech quality detection method and system based on speech recognition and energy measuring
CN110401577A (en) * 2019-04-18 2019-11-01 广州市高科通信技术股份有限公司 A kind of voice exchange automatic test approach, electronic equipment, storage medium and system
CN110636176A (en) * 2019-10-09 2019-12-31 科大讯飞股份有限公司 Call fault detection method, device, equipment and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03267850A (en) * 1990-03-16 1991-11-28 Nec Corp Automatic diagnostic test system for vocoder
CN103227872A (en) * 2013-03-21 2013-07-31 华为技术有限公司 Voice signal processing method, voice signal detecting method and related equipment
CN103841276A (en) * 2014-03-24 2014-06-04 博信通信股份有限公司 Method for evaluating speech quality based on smart phone platform
CN106162712A (en) * 2015-04-13 2016-11-23 中国移动通信集团公司 A kind of voice call quality detection method, equipment and system
CN106154096A (en) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 Audio connecting cord detection method and device
CN106713623A (en) * 2016-12-08 2017-05-24 深圳市传测科技有限公司 Implanted conversation detection system and method for communication terminal
CN106791226A (en) * 2017-01-13 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Call fault detection method and system
CN109561222A (en) * 2017-09-27 2019-04-02 华为终端(东莞)有限公司 A kind of method for detecting abnormality and device of voice data
CN109817243A (en) * 2017-11-21 2019-05-28 中国移动通信集团浙江有限公司 A kind of speech quality detection method and system based on speech recognition and energy measuring
CN109151145A (en) * 2018-09-07 2019-01-04 深圳市万普拉斯科技有限公司 A kind of detection method and device of voice-grade channel
CN109327593A (en) * 2018-10-19 2019-02-12 小唐科技(上海)有限公司 Satellite communication terminal audio test system and method
CN109495655A (en) * 2018-11-14 2019-03-19 平安科技(深圳)有限公司 Call center attends a banquet line testing process and device, electronic equipment, storage medium
CN109600521A (en) * 2018-11-14 2019-04-09 平安科技(深圳)有限公司 Call center's outgoing call test method and device, electronic equipment, storage medium
CN110401577A (en) * 2019-04-18 2019-11-01 广州市高科通信技术股份有限公司 A kind of voice exchange automatic test approach, electronic equipment, storage medium and system
CN110636176A (en) * 2019-10-09 2019-12-31 科大讯飞股份有限公司 Call fault detection method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113593536A (en) * 2021-06-09 2021-11-02 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Device and system for detecting voice recognition accuracy

Also Published As

Publication number Publication date
CN111491061B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN102318325B (en) Controlling an adaptation of a behavior of an audio device to a current acoustic environmental condition
KR101455710B1 (en) Method and apparatus for audio intelligibility enhancement and computing apparatus
US8284947B2 (en) Reverberation estimation and suppression system
KR101168809B1 (en) Signaling microphone covering to the user
KR101255404B1 (en) Configuration of echo cancellation
US8842851B2 (en) Audio source localization system and method
CN101212833B (en) Audio output apparatus, audio output method, audio output system
EP2494792B1 (en) Speech enhancement method and system
US6868158B2 (en) Echo processing apparatus
CN106231088B (en) Voice call method, device and terminal
CN103179495A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN101783828A (en) Sound signal adjustment apparatus and method, and telephone device
CN108347686A (en) Audio testing method, device, smart machine and storage medium
CN110265056B (en) Sound source control method, loudspeaker device and apparatus
CN110956976B (en) Echo cancellation method, device and equipment and readable storage medium
CN109155642B (en) Echo reduction device, voice communication device, echo reduction method, and recording medium
CN103179496A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN111491061B (en) Audio detection method and device for call scene and related equipment
CN108540680B (en) Switching method and device of speaking state and conversation system
US20030035550A1 (en) Broadcast receiving system
CN107750038B (en) Volume adjusting method, device, equipment and storage medium
CN111586547A (en) Detection method and device of audio input module and storage medium
CN108605067B (en) Method for playing audio and mobile terminal
JP6838465B2 (en) Telephone system and telephone terminal diagnostic method
CN115460476A (en) Audio parameter processing method and device of intercom system and intercom 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
GR01 Patent grant
GR01 Patent grant