CN111050265A - Automatic audio link detection method and device - Google Patents

Automatic audio link detection method and device Download PDF

Info

Publication number
CN111050265A
CN111050265A CN201911184121.5A CN201911184121A CN111050265A CN 111050265 A CN111050265 A CN 111050265A CN 201911184121 A CN201911184121 A CN 201911184121A CN 111050265 A CN111050265 A CN 111050265A
Authority
CN
China
Prior art keywords
loop
receiving
audio
preset
transmitting
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
CN201911184121.5A
Other languages
Chinese (zh)
Other versions
CN111050265B (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.)
Shenzhen Ezpro Electro Optic Technology Co ltd
Original Assignee
Shenzhen Ezpro Electro Optic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ezpro Electro Optic Technology Co ltd filed Critical Shenzhen Ezpro Electro Optic Technology Co ltd
Priority to CN201911184121.5A priority Critical patent/CN111050265B/en
Publication of CN111050265A publication Critical patent/CN111050265A/en
Application granted granted Critical
Publication of CN111050265B publication Critical patent/CN111050265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention relates to an automatic detection method and a device for an audio link, comprising the following steps: s1, switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a first preset rule to form a communicating loop, and acquiring a corresponding relation table of the communicating loop and the transmitting channels and the receiving channels according to the communicating relation; s2, acquiring first preset audio data, transmitting the first preset audio data through a transmitting channel corresponding to the communication loop, and receiving first receiving data corresponding to the first preset audio data through a receiving channel corresponding to the communication loop; s3, obtaining a judgment result of the connected loop according to the first received data, and obtaining a result corresponding table of the connected loop according to the judgment result and the corresponding relation table; and S4, obtaining the detection results of the transmitting channel and the receiving channel according to the result corresponding table. The invention can automatically identify the audio link with problems and has accurate positioning result.

Description

Automatic audio link detection method and device
Technical Field
The present invention relates to the field of audio technologies, and in particular, to an automatic audio link detection method and apparatus.
Background
In an audio processing system, a plurality of stages of circuits such as signal amplification, AD conversion, audio digital processing, DA conversion, and audio signal amplification of audio are involved, and the number of audio links processed by each audio processing board is large. Meanwhile, because the audio is designed in an open-loop mode, before the equipment is normally used, the quality of each link must be manually checked. When a circuit of a certain link fails in the using process, a person often cannot find the failed link in time.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an automatic audio link detection method and apparatus, aiming at the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: an automatic audio link detection method is constructed, and comprises the following steps: s1, switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a first preset rule to form a communicating loop, and acquiring a corresponding relation table of the communicating loop and the transmitting channels and the receiving channels according to the communicating relation;
s2, acquiring first preset audio data, transmitting the first preset audio data through a transmitting channel corresponding to the communication loop, and receiving first receiving data corresponding to the first preset audio data through a receiving channel corresponding to the communication loop;
s3, obtaining a judgment result of the connected loop according to the first received data, and obtaining a result corresponding table of the connected loop according to the judgment result and the corresponding relation table;
and S4, obtaining the detection results of the transmitting channel and the receiving channel according to the result corresponding table.
Preferably, an automatic audio link detection method of the present invention includes: performing the steps S1 through S4 when the audio device is powered on; or
The method comprises the following steps: in the running process of the audio device, at least one signal quiet period when the audio device is working is obtained, so that the steps S1 to S4 are executed in the at least one signal quiet period of the audio device.
Preferably, an automatic audio link detection method of the present invention includes: acquiring a plurality of signal silent periods when the audio device works, so as to execute the steps S1 to S4 in the plurality of signal silent periods of the audio device, wherein the judgment result of at least one connected loop is acquired in each signal silent period.
Preferably, in step S3, the obtaining the determination result of the connected loop according to the first received data includes:
s31, acquiring a preset gain corresponding to the communication loop;
and S32, acquiring the actual gain of the connected loop according to the first received data, and acquiring the judgment result of the connected loop according to the preset gain and the actual gain.
Preferably, in the step S31, the preset gain obtaining process includes, when the audio device is shipped from a factory, performing the following steps:
s311, switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a second preset rule to form a communicating loop;
s312, second preset audio data are obtained, so that the second preset audio data are transmitted through a transmitting channel in the communicating loop, and second receiving data corresponding to the second preset audio data are received through a receiving channel in the communicating loop;
s313, comparing the second receiving data with the second preset audio data to obtain a gain value of the connected loop;
and S314, acquiring the preset gain according to the gain value.
Preferably, an automatic audio link detection method of the present invention includes: when the audio device leaves the factory, the steps S311 to S313 are performed multiple times to obtain a plurality of gain values, and the preset gain is obtained according to the gain values.
Preferably, the second preset audio data and the first preset audio data are the same audio data.
Preferably, in step S1, the obtaining the correspondence table between the connected loop and the transmitting channel and the receiving channel includes:
establishing a matrix relation between the transmitting channels and the receiving channels by taking the serial numbers of the transmitting channels as rows and the serial numbers of the receiving channels as columns; and/or
In step S3, the obtaining a result correspondence table of the connected loop according to the determination result and the correspondence table includes:
and in the matrix relation, filling a logic value 0 or 1 according to the judgment result to obtain a result matrix corresponding to the result truth table of the connected loop.
Preferably, the filling logic values 0 or 1 according to the judgment result includes:
when the judgment result is that the requirement is met, filling a logic value 1, and when the judgment result is that the requirement is not met, filling a logic value 0;
in step S4, the obtaining the detection results of the transmitting channel and the receiving channel according to the result mapping table includes:
and acquiring all rows and/or columns of 0 in the result matrix as abnormal rows or abnormal columns respectively, and acquiring a transmitting channel corresponding to the abnormal row and/or a receiving channel corresponding to the abnormal column as abnormal channels.
The invention also constructs an automatic detection device of the audio frequency link, comprising:
the switching unit is used for switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a first preset rule so as to form a communication loop;
the first generating unit is used for acquiring a corresponding relation table of the communication loop, the transmitting channel and the receiving channel according to the communication relation;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring first preset audio data;
the receiving and sending unit is used for transmitting the first preset audio data through a transmitting channel corresponding to the communication loop and receiving first receiving data corresponding to the first preset audio data through a receiving channel corresponding to the communication loop;
a comparing unit for obtaining the judgment result of the connected loop according to the first received data,
a second generating unit, configured to obtain a result correspondence table of the connected loop according to the determination result and the correspondence table;
and the third generating unit is used for acquiring the detection results of the transmitting channel and the receiving channel according to the result corresponding table.
The implementation of the automatic detection method and the device of the audio link has the following beneficial effects: the audio link with problems can be automatically identified, and the positioning result is accurate.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart of an embodiment of an automatic audio link detection method according to the present invention;
FIG. 2 is a flowchart of another embodiment of an automatic audio link detection method according to the present invention;
FIG. 3 is a diagram illustrating an automatic audio link detection method according to an embodiment of the present invention;
FIG. 4 is a diagram showing the result of another detection result of the automatic audio link detection method according to the present invention;
FIG. 5 is a diagram showing the result of another detection result of the automatic audio link detection method according to the present invention;
FIGS. 6 to 9 are schematic process diagrams of an embodiment of an automatic audio link detection method, respectively, wherein
FIG. 6 is a diagram illustrating the preset gain in the process;
FIG. 7 is a graph of the actual gain in the process;
FIG. 8 is a schematic of the gain deviation in this process;
FIG. 9 is a schematic diagram of a result matrix in the process;
fig. 10 is a logic block diagram of an embodiment of an apparatus for automatic detection of an audio link according to the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
As shown in fig. 1, in a first embodiment of an audio link automatic detection method of the present invention, the method includes:
s1, switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a first preset rule to form a communicating loop, and acquiring a corresponding relation table of the communicating loop and the transmitting channels and the receiving channels according to the communicating relation; specifically, the general audio device generally includes an audio transmitting channel and an audio receiving channel, where the audio transmitting channel is mainly used to perform DA conversion on a digital audio signal generated by the processor to generate an analog audio signal, and the analog audio signal is amplified by an audio amplifying circuit of the transmitting channel and then sent to an external device such as a power amplifier, a speaker, or a sound box. The audio receiving channel is mainly used for amplifying external analog audio signals received by equipment such as a microphone and the like through an audio amplifying circuit of the receiving channel, generating digital audio signals through AD conversion, and sending the digital audio signals to the processor for decoding processing. A common audio device typically includes multiple audio receive channels and multiple audio transmit channels. In the detection process, all the transmitting channels and all the receiving channels can be switched to be communicated in sequence according to a specific rule, namely a first preset rule, and a communication loop is formed by communication every time. And establishing a corresponding relation table of the communication loop and the transmitting channel and the receiving channel according to the communication relation established by switching in sequence. For example, if a first transmitting channel and a first receiving channel are selected to be communicated, the corresponding relationship between the communicating loop and the first transmitting channel and the first receiving channel at the time can be obtained, and if the first transmitting channel is selected to be communicated with a second receiving channel, the corresponding relationship between the communicating loop and the first transmitting channel and the second receiving channel at the time can be obtained, and so on, the corresponding relationship between the communicating loops formed when all transmitting channels and all receiving channels are respectively communicated can be obtained, so that a corresponding relationship table is formed. The corresponding relation table may also be a matrix relation table. A channel is herein understood to be a link, i.e. a transmit channel corresponds to a transmit link and a receive channel corresponds to a receive link.
S2, acquiring first preset audio data, transmitting the first preset audio data through a transmitting channel corresponding to the communication loop, and receiving first receiving data corresponding to the first preset audio data through a receiving channel corresponding to the communication loop; specifically, when any one of the connected loops is established, one piece of audio data, that is, the first preset audio data, may be acquired, the audio data is transmitted through the transmitting channel corresponding to the connected loop, and is received through the receiving channel corresponding to the connected loop, and after the audio data is processed by the connected loop, the received data corresponding to the audio data, that is, the first received data, is finally acquired.
S3, obtaining a judgment result of the connected loop according to the first received data, and obtaining a result corresponding table of the connected loop according to the judgment result and the corresponding relation table; specifically, after the first received data is acquired, the determination result of the connected loop may be acquired according to the first received data. For example, when the connected loop is normal, after the first preset audio data is processed by the connected loop, the condition that the received first received data satisfies should also be confirmed. It is also understood that the state of the connected loop can be determined according to the first received data and the first preset audio data. When the first received data is normal, the state of the communication loop acquired according to the first received data and the first preset audio data should satisfy a normal state, and when the first received data is abnormal, the state of the communication loop acquired according to the first received data and the first preset audio data should not satisfy the normal state. And sequentially carrying out the same judgment on each communication loop formed by each switching to obtain the judgment result of each communication loop, and establishing a result corresponding table of the communication loop corresponding to the corresponding relation table according to the corresponding relation table established by the communication loop, the transmitting channel and the receiving channel.
And S4, obtaining the detection results of the transmitting channel and the receiving channel according to the result corresponding table. Specifically, a result correspondence table of the communication loop is obtained, and the respective test results of the transmission channel and the reception channel can be determined by the result correspondence table. Compared with the detection process of the whole link, the method can further accurately detect the detection result to the transmitting channel and the receiving channel by establishing the corresponding relation. Namely, the abnormal transmitting channel and the abnormal receiving channel can be detected. The anomaly location is more accurate.
In one embodiment, an audio link automatic detection method of the present invention includes: performing steps S1 to S4 when the audio apparatus is powered on; specifically, in some application scenarios, the detection process may be set when the audio device is powered on, and before the audio device enters normal operation, the detection process is automatically triggered or triggered by a key, and after the triggering, the above steps S1 to S4 are executed, all the transmitting channels and receiving channels are sequentially switched and connected to form a communication loop, so as to complete detection and judgment of all the transmitting channels and receiving channels, so as to prompt a user to perform troubleshooting of the transmitting channels or receiving channels or start a backup measure, for example, start a backup channel when there is a problem in the transmitting channels or receiving channels. When the transmitting channel and the receiving channel have no problem, the normal working state can be entered.
In one embodiment, an audio link automatic detection method of the present invention includes: during the operation of the audio device, at least one signal quiet period of the audio device during operation is obtained, so that the steps S1 to S4 are performed in the at least one signal quiet period of the audio device. Specifically, during the operation of the audio device, automatic detection may also be triggered. Specifically, after receiving the trigger signal for automatic detection, a quiet period of the audio signal during the operation of the audio device, that is, a signal quiet period, is determined, and steps S1 to S4 are performed during the signal quiet period, so as to complete the detection of the transmitting channel and the receiving channel of the audio device. It will also be appreciated that manual triggering may also be enabled by automatic triggering, and that upon triggering automatic detection, it may acquire a signal quiet period immediately thereafter or may acquire a signal quiet period after a certain condition is satisfied, such as an interval of time, to perform steps S1-S4. The signal quiet period carries out a detection process, and the fault detection can be realized in the use process of the equipment under the condition of not influencing normal service.
In one embodiment, an audio link automatic detection method of the present invention includes: and acquiring a plurality of signal silent periods when the audio equipment works, so as to execute the steps S1 to S4 in the plurality of signal silent periods of the audio equipment, wherein the judgment result of at least one connected loop is acquired in each signal silent period. Specifically, the audio device may have a short or long period of silence of the audio signal during operation. When the time is short, the whole detection process may not be completed, and the detection process can be completed in several signal quiet periods. In an embodiment, the length of the signal quiet period may be determined first, and in the longer signal quiet period, the multiple transmitting channels and the multiple receiving channels may be switched in sequence to communicate with each other, so as to complete the determination of the multiple communicating loops, and obtain the determination results of the multiple communicating loops. In a short signal quiet period, only one transmitting channel and one receiving channel are switched to be communicated, so that the judgment of one communicated loop is completed, and the judgment result of one communicated loop is obtained. In another embodiment, it is determined whether the signal quiet period satisfies a condition that a connected loop can be completed, and when the condition is satisfied, only one transmitting channel and one receiving channel are switched to be connected, and a connected loop is determined, that is, each signal quiet period satisfying the condition completes the determination of only one connected loop.
In one embodiment, in step S3, the determining result of the first received data acquisition communication circuit includes: s31, acquiring a preset gain corresponding to the communication loop; and S32, acquiring the actual gain of the connected loop according to the first received data, so as to acquire the judgment result of the connected loop according to the preset gain and the actual gain. Specifically, when the connected loop is determined, the corresponding preset gain when the connected loop is normal may be obtained first, and then the actual gain of the connected loop may be obtained according to the received first received data. Therefore, the judgment result of the communication loop can be obtained.
In one embodiment, as shown in fig. 2, in step S31, the preset gain obtaining process includes the following steps performed at the time of shipping the audio device:
s311, switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a second preset rule to form a communicating loop;
s312, second preset audio data are obtained, so that the second preset audio data are transmitted through a transmitting channel in the communication loop, and second receiving data corresponding to the second preset audio data are received through a receiving channel in the communication loop;
s313, comparing the second receiving data with the second preset audio data to obtain a gain value of the connected loop;
and S314, acquiring a preset gain according to the gain value.
Specifically, the preset gain of the connected loop may be obtained when the audio device leaves a factory, and the obtaining process may be understood as a calibration action of the audio device before leaving the factory. It is to be understood that after the audio device has completed all hardware tests, the hardware is guaranteed to be fault free and the audio device can be calibrated before it is shipped normally. In the specific process, all transmitting channels and all receiving channels of the audio equipment can be switched to be communicated in sequence according to the second preset policy, and a channel loop is formed by communicating every time. When any one of the connected loops is established, one piece of audio data, namely second preset audio data, can be acquired, the audio data is transmitted through the transmitting channel corresponding to the connected loop, meanwhile, the audio data is received through the receiving channel corresponding to the connected loop, and after the audio data is processed through the connected loop, the receiving data corresponding to the audio data, namely the second receiving data, is finally acquired. And obtaining the link gain of the connected loop, namely the gain value of the connected loop according to the second receiving data and the second preset audio data. It will be appreciated that the gain value may be either positive or negative, and that the preset gain of the connected loop may be set according to the gain value. It will be appreciated that the measured gain value may be a fixed value, but the preset gain of the connected loop may be set to a range of values. It will also be appreciated that the preset gains of the connected loop may be formed as a preset gain table. Namely, a table of correspondence between the preset gain of the connected loop and the transmission channel and the reception channel is formed, and the table can also be understood as a preset gain table.
In one embodiment, an audio link automatic detection method of the present invention includes: when the audio device is shipped from the factory, steps S311 to S313 are performed multiple times to obtain a plurality of gain values, and a preset gain is obtained according to the plurality of gain values. Specifically, the preset gain of each connected loop may be obtained by obtaining a plurality of gain values for each connected loop. The preset gain is obtained according to the plurality of gain values. A reasonable preset gain can be set according to the distribution of a plurality of gain values, the plurality of gain values can be averaged, and the preset gain is confirmed according to the average value of the gain values.
In an embodiment, the second predetermined audio data and the first predetermined audio data are the same audio data. It is understood that the second preset audio data for obtaining the preset gain and the first preset audio data for determining the connected loop are the same audio data, and the audio data may be stored in the audio device. It can also be understood that after the second preset audio data is selected for the preset gain acquisition, the second preset audio data is directly stored, and in the automatic detection process, the second preset audio data is directly acquired as the first preset audio data to perform steps S1 to S4.
In one embodiment, in step S1, the obtaining the correspondence table between the communication loop and the transmitting channel and the receiving channel includes: establishing a matrix relation between the transmitting channels and the receiving channels by taking the serial numbers of the transmitting channels as rows and the serial numbers of the receiving channels as columns; specifically, when the correspondence table between the communication loop and the transmission channel and the reception channel is established, the transmission channel may be numbered, the reception channel may also be numbered, the number of the transmission channel is used as a row, the number of the reception channel is used as a column, and a matrix relationship between the transmission channel and the reception channel is established, where an intersection of any one row and any one column is selected, that is, the communication loop formed when the transmission channel corresponding to the row is communicated with the reception channel corresponding to the column.
In one embodiment, in step S3, the obtaining the result mapping table of the connected loop according to the determination result and the mapping table includes: and in the matrix relation, filling a logic value 0 or 1 according to the judgment result so as to obtain a result matrix corresponding to the result truth table of the connected loop. Specifically, the proof relationship is filled according to the proof relationship established above and the determination result of the connected loop, for example, when a connected loop is normal, the position corresponding to the connected loop in the matrix relationship is filled with a logic value 1, and when a connected loop is abnormal, the position corresponding to the connected loop in the matrix relationship is filled with a logic value 0. After finishing the judgment of all the connected loops and the filling of the logic value 0 or the logic value 1, a true result table of the connected loops can be obtained, and the true result table corresponds to a result matrix of the test result. Of course, other filling measures may be used during the filling of the logic values, for example. For example, when a certain connection loop is normal, the position corresponding to the connection loop in the matrix relationship is filled with a logic value 0, and when a certain connection loop is abnormal, the position corresponding to the connection loop in the matrix relationship is filled with a logic value 1.
In one embodiment, the filling logic value 0 or 1 according to the determination result includes: when the judgment result is that the requirement is met, filling a logic value 1, and when the judgment result is that the requirement is not met, filling a logic value 0; in step S4, the obtaining the detection results of the transmitting channel and the receiving channel according to the result correspondence table includes: and respectively taking the rows and/or columns which are all 0 in the obtained result matrix as abnormal rows or abnormal columns, and obtaining the transmitting channel corresponding to the abnormal row and/or the receiving channel corresponding to the abnormal column as abnormal channels. Specifically, in the above embodiment, when a certain communication loop is normal, the position corresponding to the communication loop is filled with the logic value 1 in the matrix relationship, and when a certain communication loop is abnormal, the position corresponding to the communication loop is filled with the logic value 0 in the matrix relationship. Then, the rows and/or columns of all 0 in the result matrix may be obtained as abnormal rows or abnormal columns, respectively, and the transmitting channels corresponding to the abnormal rows and/or the receiving channels corresponding to the abnormal columns are obtained as abnormal channels. It can be understood that when all the communication loops formed by one transmitting channel and all the other connected receiving channels are abnormal, the transmitting channel is abnormal, and when all the communication loops formed by one receiving channel and all the other connected transmitting channels are abnormal, the receiving channel is abnormal. In the embodiment shown In fig. 3, there is no row or column of 0, which means that all the transmit channels and all the receive channels are normal, and In the embodiment shown In fig. 4, there is a column of all 0, which means that the receive channel, i.e. channel In (2), is abnormal. In the determining process, it may determine according to the number of logic values 0 in the row, as shown in fig. 5, in an embodiment, more logic values 0 appear in a row, and no logic value 0 appears in a column corresponding to the logic value 0, or it may determine that the transmitting channel corresponding to the row, i.e., the channel Out (N-1), is abnormal. The same measures can be taken for the column judgment.
In a specific embodiment, as shown in fig. 6, the table is a calibrated gain table before factory shipment, i.e. a preset gain table, and the unit is dB. In order to improve the link detection precision, the audio link is calibrated and tested after the delivery test of the audio equipment is qualified. The calibration procedure is described above with reference to implementing matrixed loopback for the audio link. After the loop is looped, the gain table is formed according to the gain value of each connected loop and is stored as a reference value for detecting the link after the factory shipment. In order to reduce the influence caused by detection errors, verification needs to be performed again after the equipment is calibrated. The verification process collects data as well as the calibration. And when the absolute value of the deviation between the verification value and the calibration value is greater than 0.5dB, the calibration is considered to be failed, and the equipment needs to be calibrated again. The absolute value of the deviation between the verification value and the calibration value can be controlled to be less than or equal to 0.5dB, and the range can also be properly widened according to the design condition, such as low requirement. As shown in fig. 7, the unit of the actual gain table corresponding to the connected path is dB, and the obtaining process refers to the above description, and mainly uses the audio input link and the output link to loop back two by two, and records the gain value after loop back. The gain table is stored and used as a subsequent process table for forming a truth table. Fig. 8 is a gain deviation table, and the procedure of which is described above, and the "gain deviation table of fig. 8" is obtained by subtracting the reference table "preset gain table of fig. 6" from the "actual gain table of fig. 7" formed. This table serves as the basis for forming the truth table. And if necessary, the link gain index can be determined how much the link gain index has deteriorated by averaging the link offset values. Fig. 9 is a truth table generated from fig. 8. In fig. 8, when the absolute value of the gain deviation is greater than a predetermined value, for example, 1.0dB, it indicates that there is a link failure, and the truth table is filled with a logic "0" value. When the absolute value of the gain deviation is less than or equal to 1.0dB, the link is normal, and the truth table is filled with a logic '1' value. The selection of the preset value is related to the use scene and the design index. The preset value can be selected according to the requirement, and the value can be adjusted, such as 1.5, 2.0, … and the like. When the truth table shown In fig. 9 is obtained, it can be determined that both the transmission channel Out (N-1) and the reception channel In (3) are abnormal.
In addition, as shown in fig. 10, an automatic audio link detection apparatus according to the present invention includes:
the switching unit 110 is configured to switch all transmitting channels and all receiving channels of the audio device to be sequentially communicated according to a first preset rule to form a communication loop;
a first generating unit 120, configured to obtain a correspondence table between the communication loop and the transmitting channel and the receiving channel according to the communication relationship;
an obtaining unit 130, configured to obtain first preset audio data;
the transceiving unit 140 is configured to transmit first preset audio data through a transmitting channel corresponding to the communication loop, and receive first receiving data corresponding to the first preset audio data through a receiving channel corresponding to the communication loop;
a comparing unit 150, configured to obtain a judgment result of the connected loop according to the first received data,
a second generating unit 160, configured to obtain a result correspondence table of the connected loop according to the determination result and the correspondence table;
the third generating unit 170 is configured to obtain detection results of the transmitting channel and the receiving channel according to the result mapping table.
Specifically, for a specific coordination operation process among units of the automatic audio frequency link detection apparatus, reference may be made to the above automatic audio frequency link detection method, and details are not described here again.
It is to be understood that the foregoing examples, while indicating the preferred embodiments of the invention, are given by way of illustration and description, and are not to be construed as limiting the scope of the invention; it should be noted that, for those skilled in the art, the above technical features can be freely combined, and several changes and modifications can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention; therefore, all equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (10)

1. An audio link automatic detection method, comprising:
s1, switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a first preset rule to form a communicating loop, and acquiring a corresponding relation table of the communicating loop and the transmitting channels and the receiving channels according to the communicating relation;
s2, acquiring first preset audio data, transmitting the first preset audio data through a transmitting channel corresponding to the communication loop, and receiving first receiving data corresponding to the first preset audio data through a receiving channel corresponding to the communication loop;
s3, obtaining a judgment result of the connected loop according to the first received data, and obtaining a result corresponding table of the connected loop according to the judgment result and the corresponding relation table;
and S4, obtaining the detection results of the transmitting channel and the receiving channel according to the result corresponding table.
2. The method of claim 1, wherein the method comprises: performing the steps S1 through S4 when the audio device is powered on; or
The method comprises the following steps: in the running process of the audio device, at least one signal quiet period when the audio device is working is obtained, so that the steps S1 to S4 are executed in the at least one signal quiet period of the audio device.
3. The method of claim 2, wherein the method comprises: acquiring a plurality of signal silent periods when the audio device works, so as to execute the steps S1 to S4 in the plurality of signal silent periods of the audio device, wherein the judgment result of at least one connected loop is acquired in each signal silent period.
4. The method according to claim 1, wherein in the step S3, the obtaining the judgment result of the connected loop according to the first received data includes:
s31, acquiring a preset gain corresponding to the communication loop;
and S32, acquiring the actual gain of the connected loop according to the first received data, and acquiring the judgment result of the connected loop according to the preset gain and the actual gain.
5. The audio link automatic detection method according to claim 4, wherein in the step S31, the preset gain obtaining process includes performing the following steps at the time of shipment of the audio device:
s311, switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a second preset rule to form a communicating loop;
s312, second preset audio data are obtained, so that the second preset audio data are transmitted through a transmitting channel in the communicating loop, and second receiving data corresponding to the second preset audio data are received through a receiving channel in the communicating loop;
s313, comparing the second receiving data with the second preset audio data to obtain a gain value of the connected loop;
and S314, acquiring the preset gain according to the gain value.
6. The method of claim 5, wherein the method comprises: when the audio device leaves the factory, the steps S311 to S313 are performed multiple times to obtain a plurality of gain values, and the preset gain is obtained according to the gain values.
7. The method of claim 5, wherein the second predetermined audio data is the same audio data as the first predetermined audio data.
8. The audio link automatic detection method of claim 1,
in step S1, the obtaining the correspondence table between the connected loop and the transmitting channel and the receiving channel includes:
establishing a matrix relation between the transmitting channels and the receiving channels by taking the serial numbers of the transmitting channels as rows and the serial numbers of the receiving channels as columns; and/or
In step S3, the obtaining a result correspondence table of the connected loop according to the determination result and the correspondence table includes:
and in the matrix relation, filling a logic value 0 or 1 according to the judgment result to obtain a result matrix corresponding to the result truth table of the connected loop.
9. The method according to claim 8, wherein the populating a logical value 0 or 1 according to the determination result includes:
when the judgment result is that the requirement is met, filling a logic value 1, and when the judgment result is that the requirement is not met, filling a logic value 0;
in step S4, the obtaining the detection results of the transmitting channel and the receiving channel according to the result mapping table includes:
and acquiring all rows and/or columns of 0 in the result matrix as abnormal rows or abnormal columns respectively, and acquiring a transmitting channel corresponding to the abnormal row and/or a receiving channel corresponding to the abnormal column as abnormal channels.
10. An audio link automatic detection device, comprising:
the switching unit is used for switching all transmitting channels and all receiving channels of the audio equipment to be sequentially communicated according to a first preset rule so as to form a communication loop;
the first generating unit is used for acquiring a corresponding relation table of the communication loop, the transmitting channel and the receiving channel according to the communication relation;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring first preset audio data;
the receiving and sending unit is used for transmitting the first preset audio data through a transmitting channel corresponding to the communication loop and receiving first receiving data corresponding to the first preset audio data through a receiving channel corresponding to the communication loop;
a comparing unit for obtaining the judgment result of the connected loop according to the first received data,
a second generating unit, configured to obtain a result correspondence table of the connected loop according to the determination result and the correspondence table;
and the third generating unit is used for acquiring the detection results of the transmitting channel and the receiving channel according to the result corresponding table.
CN201911184121.5A 2019-11-27 2019-11-27 Automatic audio link detection method and device Active CN111050265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911184121.5A CN111050265B (en) 2019-11-27 2019-11-27 Automatic audio link detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911184121.5A CN111050265B (en) 2019-11-27 2019-11-27 Automatic audio link detection method and device

Publications (2)

Publication Number Publication Date
CN111050265A true CN111050265A (en) 2020-04-21
CN111050265B CN111050265B (en) 2021-09-14

Family

ID=70233848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911184121.5A Active CN111050265B (en) 2019-11-27 2019-11-27 Automatic audio link detection method and device

Country Status (1)

Country Link
CN (1) CN111050265B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972052A (en) * 2019-12-06 2020-04-07 久心医疗科技(苏州)有限公司 Audio self-checking circuit and self-checking method

Citations (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4206510A (en) * 1955-06-27 1980-06-03 The United States Of America As Represented By The Secretary Of The Navy Automatic detection and classification device
JPH0690449A (en) * 1992-04-24 1994-03-29 Samsung Electron Co Ltd Scramble judgment circuit and audio data device of satellite broadcasting receiver
US5940518A (en) * 1997-10-06 1999-08-17 Delco Electronics Corporation Method and apparatus for indicating speaker faults
EP1251716A2 (en) * 2001-04-19 2002-10-23 Gennum Corporation In-situ transducer modeling in a digital hearing instrument
EP1638367A2 (en) * 2005-12-23 2006-03-22 Phonak AG Wireless hearing system and method for monitoring the same
CN1758226A (en) * 2004-10-09 2006-04-12 鸿富锦精密工业(深圳)有限公司 The method of the automatic detection computations machine of loop-type audio frequency apparatus playing function
US20070005160A1 (en) * 2005-05-02 2007-01-04 Texas Instruments Incorporated Automute detection in digital audio amplifiers
US20070269051A1 (en) * 2006-05-19 2007-11-22 Siemens Audiologische Technik Gmbh Measuring box for a hearing apparatus and corresponding measuring method
CN101227693A (en) * 2008-01-17 2008-07-23 中兴通讯股份有限公司 Apparatus and method of wireless links loopback test
CN101378466A (en) * 2007-08-30 2009-03-04 海尔集团公司 Television and method for controlling receiving mode
CN101383595A (en) * 2007-09-07 2009-03-11 罗姆股份有限公司 Electronic volume ajuster and audio device using thereof and abnormity detection method
CN101394357A (en) * 2008-10-29 2009-03-25 北京大学 Route establishing and link detecting method and device for mobile Ad hoc network
CN101442699A (en) * 2008-12-30 2009-05-27 明展生医科技股份有限公司 Method for adjusting parameter of sound playing device
CN101442702A (en) * 2008-12-17 2009-05-27 张佳尧 Interactive digital audio processor
US20110261968A1 (en) * 2009-01-05 2011-10-27 Huawei Device Co., Ltd. Method and apparatus for controlling gain in multi-audio channel system, and voice processing system
CN102523356A (en) * 2011-12-21 2012-06-27 上海会畅通讯科技发展有限公司 Method and device for detecting sound of meeting passages
US20130131851A1 (en) * 2006-04-13 2013-05-23 Immersion Corporation System and method for automatically producing haptic events from a digital audio signal
US20130142346A1 (en) * 2011-12-05 2013-06-06 Inventec Corporation Audio testing system and audio testing method for device under test
US20130343553A1 (en) * 2005-11-15 2013-12-26 Microsoft Corporation Detection of Device Configuration
US20140058726A1 (en) * 2009-07-02 2014-02-27 Alon Konchitsky Automated difference recognition between speaking sounds and music
CN103905956A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Audio control method, electronic equipment and audio output device
US20150086034A1 (en) * 2013-09-25 2015-03-26 Motorola Mobility Llc Audio Routing System for Routing Audio Data to and from a Mobile Device
EP2897387A1 (en) * 2012-09-13 2015-07-22 Tendyron Corporation Transfer device, electronic signature tool, detection device and interface detection system
CN204695554U (en) * 2015-06-08 2015-10-07 南昌华音电子科技有限公司 Modularization industry audio loop signal detection system
CN105572536A (en) * 2016-01-08 2016-05-11 沈阳时尚实业有限公司 485 bus communication network short circuit fault point clearing-free live-line detecting instrument
CN105657154A (en) * 2015-10-30 2016-06-08 东莞酷派软件技术有限公司 Method and device for selecting audio channel and terminal
US20160224313A1 (en) * 2009-09-04 2016-08-04 Yamaha Corporation Audio Apparatus
WO2018112917A1 (en) * 2016-12-23 2018-06-28 Motorola Solutions, Inc. Portable communication device and method of operating the same in covert operation mode
CN109151145A (en) * 2018-09-07 2019-01-04 深圳市万普拉斯科技有限公司 A kind of detection method and device of voice-grade channel
CN109348363A (en) * 2018-08-31 2019-02-15 西安中兴新软件有限责任公司 A kind of audio-frequency detection and device, storage medium
CN109362016A (en) * 2018-09-18 2019-02-19 北京小鸟听听科技有限公司 Audio-frequence player device and its test method and test device
US20190124443A1 (en) * 2017-10-19 2019-04-25 Intel Corporation Detecting speaker faults using acoustic echoes
WO2019127114A1 (en) * 2017-12-27 2019-07-04 深圳前海达闼云端智能科技有限公司 Audio playback method for virtual machine and device thereof, and mobile terminal
CN110460945A (en) * 2018-05-08 2019-11-15 西安中兴新软件有限责任公司 A kind of audio channel detecting circuit and detection method

Patent Citations (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4206510A (en) * 1955-06-27 1980-06-03 The United States Of America As Represented By The Secretary Of The Navy Automatic detection and classification device
JPH0690449A (en) * 1992-04-24 1994-03-29 Samsung Electron Co Ltd Scramble judgment circuit and audio data device of satellite broadcasting receiver
US5940518A (en) * 1997-10-06 1999-08-17 Delco Electronics Corporation Method and apparatus for indicating speaker faults
EP1251716A2 (en) * 2001-04-19 2002-10-23 Gennum Corporation In-situ transducer modeling in a digital hearing instrument
CN1758226A (en) * 2004-10-09 2006-04-12 鸿富锦精密工业(深圳)有限公司 The method of the automatic detection computations machine of loop-type audio frequency apparatus playing function
US20070005160A1 (en) * 2005-05-02 2007-01-04 Texas Instruments Incorporated Automute detection in digital audio amplifiers
US20130343553A1 (en) * 2005-11-15 2013-12-26 Microsoft Corporation Detection of Device Configuration
EP1638367A2 (en) * 2005-12-23 2006-03-22 Phonak AG Wireless hearing system and method for monitoring the same
US20130131851A1 (en) * 2006-04-13 2013-05-23 Immersion Corporation System and method for automatically producing haptic events from a digital audio signal
US20070269051A1 (en) * 2006-05-19 2007-11-22 Siemens Audiologische Technik Gmbh Measuring box for a hearing apparatus and corresponding measuring method
CN101378466A (en) * 2007-08-30 2009-03-04 海尔集团公司 Television and method for controlling receiving mode
CN101383595A (en) * 2007-09-07 2009-03-11 罗姆股份有限公司 Electronic volume ajuster and audio device using thereof and abnormity detection method
CN101227693A (en) * 2008-01-17 2008-07-23 中兴通讯股份有限公司 Apparatus and method of wireless links loopback test
CN101394357A (en) * 2008-10-29 2009-03-25 北京大学 Route establishing and link detecting method and device for mobile Ad hoc network
CN101442702A (en) * 2008-12-17 2009-05-27 张佳尧 Interactive digital audio processor
CN101442699A (en) * 2008-12-30 2009-05-27 明展生医科技股份有限公司 Method for adjusting parameter of sound playing device
US20110261968A1 (en) * 2009-01-05 2011-10-27 Huawei Device Co., Ltd. Method and apparatus for controlling gain in multi-audio channel system, and voice processing system
US20140058726A1 (en) * 2009-07-02 2014-02-27 Alon Konchitsky Automated difference recognition between speaking sounds and music
US20160224313A1 (en) * 2009-09-04 2016-08-04 Yamaha Corporation Audio Apparatus
US20130142346A1 (en) * 2011-12-05 2013-06-06 Inventec Corporation Audio testing system and audio testing method for device under test
CN102523356A (en) * 2011-12-21 2012-06-27 上海会畅通讯科技发展有限公司 Method and device for detecting sound of meeting passages
EP2897387A1 (en) * 2012-09-13 2015-07-22 Tendyron Corporation Transfer device, electronic signature tool, detection device and interface detection system
CN103905956A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Audio control method, electronic equipment and audio output device
US20150086034A1 (en) * 2013-09-25 2015-03-26 Motorola Mobility Llc Audio Routing System for Routing Audio Data to and from a Mobile Device
CN204695554U (en) * 2015-06-08 2015-10-07 南昌华音电子科技有限公司 Modularization industry audio loop signal detection system
CN105657154A (en) * 2015-10-30 2016-06-08 东莞酷派软件技术有限公司 Method and device for selecting audio channel and terminal
CN105572536A (en) * 2016-01-08 2016-05-11 沈阳时尚实业有限公司 485 bus communication network short circuit fault point clearing-free live-line detecting instrument
WO2018112917A1 (en) * 2016-12-23 2018-06-28 Motorola Solutions, Inc. Portable communication device and method of operating the same in covert operation mode
US20190124443A1 (en) * 2017-10-19 2019-04-25 Intel Corporation Detecting speaker faults using acoustic echoes
WO2019127114A1 (en) * 2017-12-27 2019-07-04 深圳前海达闼云端智能科技有限公司 Audio playback method for virtual machine and device thereof, and mobile terminal
CN110460945A (en) * 2018-05-08 2019-11-15 西安中兴新软件有限责任公司 A kind of audio channel detecting circuit and detection method
CN109348363A (en) * 2018-08-31 2019-02-15 西安中兴新软件有限责任公司 A kind of audio-frequency detection and device, storage medium
CN109151145A (en) * 2018-09-07 2019-01-04 深圳市万普拉斯科技有限公司 A kind of detection method and device of voice-grade channel
CN109362016A (en) * 2018-09-18 2019-02-19 北京小鸟听听科技有限公司 Audio-frequence player device and its test method and test device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
N. SCHINKEL-BIELEFELD: "Training listeners for multi-channel audio quality evaluation in MUSHRA with a special focus on loop setting", 《2016 EIGHTH INTERNATIONAL CONFERENCE ON QUALITY OF MULTIMEDIA EXPERIENCE (QOMEX)》 *
中国电子科技集团公司第二十研究所: "一种低功耗数字集成电路自检电路设计方法", 《科技经济导刊》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972052A (en) * 2019-12-06 2020-04-07 久心医疗科技(苏州)有限公司 Audio self-checking circuit and self-checking method

Also Published As

Publication number Publication date
CN111050265B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
TWI490507B (en) System for testing wireless signals and method for establishing the same
US20140169181A1 (en) Method of facilitating testing of multiple time-division-duplex (tdd) data packet signal transceivers
CN111050265B (en) Automatic audio link detection method and device
CN116915348B (en) Multi-channel signal rapid detection method based on radio frequency direct acquisition
CN111337952B (en) Signal online monitoring method and device for starry sky anti-interference test system
EP3783817B1 (en) Distributed antenna system with improved uplink leveling
US11019513B2 (en) Measuring device and measuring method for low-attenuation measuring environments
JP5515088B2 (en) Method and system for determining a dependency between device parameters and signal parameters of a mobile phone
US7522835B1 (en) Method of testing bit error rates for a wavelength division multiplexed optical communication system
CN106449464A (en) Wafer testing method
US4331843A (en) Apparatus for controlling and indicating the integrity of the connection of telephone subscribers to a switching system
CN102123422A (en) Method and equipment for detecting fault in communication channel
CN115174437A (en) Network connection stability detection method and system
CN111398678B (en) Method and device for testing carrier crosstalk inhibition index of satellite-borne phased-array antenna
KR102512781B1 (en) System for testing a performance of antenna
CN102833011B (en) The method of testing of sensitivity and device
US20110178776A1 (en) Excessive noise ratio deriving device, noise figure deriving device, method, program, and recording medium
US20180351664A1 (en) Method for improved accuracy of low power radio frequency (rf) signal measurements when using received signal strength indicator (rssi) functions
JP7058626B2 (en) Signal test equipment and its self-test method
EP4009532B1 (en) Radio frequency system as well as control system
JP3037299B1 (en) Wireless output normality checking device and wireless output normality checking method
US4079357A (en) Process for fault recognition in a vehicle locating system
EP1077546A1 (en) Process and apparatus for the automatic detection of a faulty cabling in radio communication equipments
CN117675047A (en) Multi-channel self-checking method and system based on noise modulation
SU575782A1 (en) Device for monitoring communication channel quality

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