CN112073888A - Audio testing method, system, electronic equipment and storage medium - Google Patents

Audio testing method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112073888A
CN112073888A CN202010783673.4A CN202010783673A CN112073888A CN 112073888 A CN112073888 A CN 112073888A CN 202010783673 A CN202010783673 A CN 202010783673A CN 112073888 A CN112073888 A CN 112073888A
Authority
CN
China
Prior art keywords
audio
instruction
digital
sound
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010783673.4A
Other languages
Chinese (zh)
Inventor
林耿宇
梁选勤
张海旺
欧阳昊
杨金河
朱贝
杨才宝
苏家乐
吴初春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tianshitong Technology Co Ltd
Original Assignee
Shenzhen Tianshitong 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 Tianshitong Technology Co Ltd filed Critical Shenzhen Tianshitong Technology Co Ltd
Priority to CN202010783673.4A priority Critical patent/CN112073888A/en
Publication of CN112073888A publication Critical patent/CN112073888A/en
Pending legal-status Critical Current

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
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • 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
    • H04R29/004Monitoring arrangements; Testing arrangements for microphones

Abstract

The invention discloses an audio test method, an audio test system, electronic equipment and a storage medium, and relates to the technical field of equipment test. The method comprises the following steps: acquiring a preset test instruction; coding a preset test instruction to obtain a first digital instruction; converting the first digital instruction into an audio file by using a first preset algorithm; sending the audio file to a playing module so that the playing module plays audio sound waves according to the audio file and a sound collecting module collects the audio sound waves to generate audio signals; acquiring an audio signal generated by a sound acquisition module; identifying an audio signal, and processing the audio signal by using a second preset algorithm to obtain a second digital instruction; decoding the second digital instruction to obtain a decoded test instruction; and determining whether the playing module and the sound acquisition module are normal or not according to the decoded test instruction and a preset test instruction. The invention can realize automatic audio test and improve the test efficiency and accuracy.

Description

Audio testing method, system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of device testing technologies, and in particular, to an audio testing method and system, an electronic device, and a storage medium.
Background
A playing module (e.g., a speaker) and a sound collecting module (e.g., a microphone) of an electronic device need to be tested before the electronic device leaves the factory, such as a speaker and a microphone of an IPC (IP Camera). In the related art, the IPC testing method for the speaker and the microphone generally includes playing audio by the speaker, picking up audio by the microphone, manually listening to the audio played by the speaker and the audio picked up by the microphone, and then manually determining whether the speaker and the microphone are normal. Not only can the misjudgment occur, but also only one IPC can be tested, and the testing efficiency is low.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides an audio test method, an audio test system, electronic equipment and a storage medium, which can realize automatic audio test and improve test efficiency and accuracy.
The audio testing method according to the embodiment of the first aspect of the invention comprises the following steps:
acquiring a preset test instruction;
coding the preset test instruction to obtain a first digital instruction;
converting the first digital instruction into an audio file by using a first preset algorithm;
sending the audio file to a playing module so that the playing module plays audio sound waves according to the audio file and a sound collecting module collects the audio sound waves to generate audio signals;
acquiring an audio signal generated by the sound acquisition module;
identifying the audio signal, and processing the audio signal by using a second preset algorithm to obtain a second digital instruction;
decoding the second digital instruction to obtain a decoded test instruction;
and determining whether the playing module and the sound acquisition module are normal or not according to the decoded test instruction and the preset test instruction.
The audio test method provided by the embodiment of the invention at least has the following beneficial effects:
the embodiment of the invention obtains a first digital instruction by encoding a preset test instruction; converting the first digital instruction into an audio file by using a first preset algorithm; sending the audio file to a playing module so that the playing module plays audio sound waves according to the audio file and a sound collecting module collects the audio sound waves to generate audio signals; acquiring an audio signal generated by a sound acquisition module; identifying an audio signal, and processing the audio signal by using a second preset algorithm to obtain a second digital instruction; decoding the second digital instruction to obtain a decoded test instruction; and determining whether the playing module and the sound acquisition module are normal or not according to the decoded test instruction and a preset test instruction. The invention can realize automatic audio test and improve the test efficiency and accuracy.
According to some embodiments of the invention, the encoding the preset test instruction to obtain the first digital instruction comprises:
performing Reed-Solomon coding on a preset test instruction to obtain a first digital instruction;
the decoding the second digital instruction to obtain a decoded test instruction includes:
and performing Reed-Solomon decoding on the second digital instruction to obtain a decoded test instruction.
According to some embodiments of the invention, the first predetermined algorithm is a fourier transform algorithm and the second predetermined algorithm is an inverse fourier transform algorithm.
According to some embodiments of the present invention, the determining whether the playing module and the sound collecting module are normal according to the decoded test instruction and the preset test instruction includes:
judging whether the decoded test instruction is consistent with the preset test instruction or not;
and if the sound is consistent with the preset sound, determining that the playing module and the sound acquisition module are normal.
According to some embodiments of the present invention, after the identifying the audio signal and processing the audio signal by using a second preset algorithm to obtain a second digital instruction, the method further includes:
checking the second digital instruction;
if the second digital instruction is lost, the audio signal generated by the sound acquisition module is acquired again;
recognizing the reacquired audio signal, processing the reacquired audio signal by using the second preset algorithm, and reacquiring a digital instruction;
and merging the obtained plurality of digital instructions until a complete second digital instruction is obtained.
According to some embodiments of the present invention, before sending the audio file to the playing module, the method further includes:
adding an end code at the end of the audio file;
before the decoding of the second digital instruction, the method further comprises:
and deleting the end code.
According to some embodiments of the invention, the playing module is a speaker and the sound collecting module is a microphone.
An audio test system according to an embodiment of the second aspect of the invention comprises:
the computer is used for acquiring a preset test instruction, coding the preset test instruction to obtain a first digital instruction, converting the first digital instruction into an audio file by using a first preset algorithm, and sending the audio file to the playing module;
the playing module is used for playing audio sound waves according to the audio files;
the sound collection module is used for collecting the audio sound waves to generate audio signals;
the computer is further configured to acquire an audio signal generated by the sound collection module, recognize the audio signal, process the audio signal by using a second preset algorithm to obtain a second digital instruction, decode the second digital instruction to obtain a decoded test instruction, and determine whether the playing module and the sound collection module are normal or not according to the decoded test instruction and the preset test instruction.
An electronic device according to an embodiment of the third aspect of the present invention includes:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the audio testing method of the first aspect.
A storage medium according to an embodiment of the fourth aspect of the invention is a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the audio testing method of the first aspect.
Additional aspects and advantages of the invention 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 invention.
Drawings
The above and/or additional aspects and advantages of the present invention 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 schematic structural diagram of an audio testing system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an audio testing method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an audio testing method according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating an audio testing method according to another embodiment of the invention.
Reference numerals:
computer 100, play module 200, sound collection module 300.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, 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 accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to in the description of the orientation, such as the upper, lower, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
Fig. 1 is a schematic structural diagram of an audio testing system according to an embodiment of the present invention. As shown in fig. 1, the system includes a computer 100, a play module 200, and a sound collection module 300. The computer 100 is respectively connected with the playing module 200 and the sound collecting module 300 in a communication manner.
The computer 100 is configured to obtain a preset test instruction, encode the preset test instruction to obtain a digital instruction, convert the digital instruction into an audio file by using a first preset algorithm, and send the audio file to the playing module 200;
the playing module 200 is used for playing audio sound waves according to the audio file;
the sound collection module 300 is configured to collect audio sound waves to generate an audio signal, and send the audio signal to the computer 100;
the computer 100 is further configured to obtain the audio signal acquired by the sound acquisition module 300, identify the audio signal, process the audio signal by using a second preset algorithm to obtain a second digital instruction, decode the second digital instruction to obtain a decoded test instruction, and determine whether the playing module 200 and the sound acquisition module 300 are normal according to the decoded test instruction and the preset test instruction.
In some embodiments, the predetermined test instructions refer to instructions required for audio testing conducted by the computer 100.
In some embodiments, the computer 100 may also adopt other devices with data encoding and data processing functions, such as a notebook computer, a palm computer, and the like.
In some embodiments, the playing module 200 is a speaker device such as a horn or a buzzer.
In some embodiments, the sound collection module 300 is a microphone or other sound pickup device.
In this embodiment, the computer 100 obtains the preset test instruction, and encodes the preset test instruction to obtain the digital instruction. There are various encoding methods, such as reed-solomon encoding (RS encoding), so as to obtain a non-binary digital command, so that the audio sound wave played by the playing module 200 is not too complex, the recognition rate of the sound collection module 300 on the audio sound wave is improved, and thus the fast test of the playing module 200 and the sound collection module 300 is realized. The computer 100 converts the non-binary digital command into an audio file by using a first preset algorithm, and transmits the audio file to the playing module 200 through a wired or wireless communication mode. The playing module 200 plays the audio sound wave according to the audio file. The sound collection module 300 collects the audio sound waves played by the playing module 200 to generate an audio signal, and sends the audio signal to the computer 100. The computer 100 acquires the audio signal generated by the sound collection module 300, recognizes the audio signal, processes the audio signal by using a second preset algorithm to obtain a processed non-binary second digital instruction, decodes the non-binary second digital instruction to obtain a decoded test command, and determines whether the playing module 200 and the sound collection module 300 are normal or not according to the decoded test command and the preset test command. The decoding scheme corresponds to the encoding scheme, such as reed-solomon decoding (RS decoding).
In some embodiments, the first preset algorithm is fourier transform, which can convert a time domain signal into a frequency domain signal, so that after the audio file is sent to the playing module 200, the playing module 200 can analyze the audio file, and then play the audio sound wave. The second preset algorithm is inverse Fourier transformation, and the inverse Fourier transformation can transform the frequency domain signal into the original time domain signal, so that the decoding is convenient. It can be understood that the first preset algorithm and the second preset algorithm need to adopt opposite algorithms to realize the relative conversion of data.
Other specific work flows of the audio test system will be described in detail in conjunction with the following audio test method.
Fig. 2 is a schematic flow chart of an audio testing method according to an embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
step S100: acquiring a preset test instruction;
step S200: coding a preset test instruction to obtain a first digital instruction;
step S300: converting the first digital instruction into an audio file by using a first preset algorithm;
step S400: sending the audio file to a playing module so that the playing module plays audio sound waves according to the audio file and a sound collecting module collects the audio sound waves to generate audio signals;
step S500: acquiring an audio signal generated by a sound acquisition module;
step S600: identifying an audio signal, and processing the audio signal by using a second preset algorithm to obtain a second digital instruction;
step S700: decoding the second digital instruction to obtain a decoded test instruction;
step S800: and determining whether the playing module and the sound acquisition module are normal or not according to the decoded test instruction and a preset test instruction.
The steps S100 to S800 are executed by the computer 100. The following describes each step in detail:
step S100: the computer acquires the preset test instruction, wherein the acquisition mode can be that the preset test instruction is generated through programming, or the preset test instruction sent by other equipment is received;
step S200: the computer encodes the preset test instruction to obtain a first digital instruction. The encoding mode is various, such as reed-solomon encoding (RS encoding), so as to obtain non-binary digital data, so that the audio sound waves played by the playing module are not too complex, the recognition rate of the sound acquisition module to the audio sound waves is improved, and the playing module and the sound acquisition module are rapidly tested.
Step S300: the computer converts the non-binary first digital instructions into an audio file by using a first preset algorithm. In some embodiments, the first predetermined algorithm is a fourier transform. Because the non-binary digital data can be regarded as discrete time domain signals, the discrete time domain signals can be converted into frequency domain signals through Fourier change, the audio file can be conveniently sent to the playing module, then the playing module analyzes the audio file, and then audio sound waves are played.
Step S400: the computer sends the audio file to a playing module of the equipment to be tested (such as IPC) through a wired or wireless (such as WIFI or Bluetooth) communication mode. The playing module analyzes the audio file and then plays the audio sound wave. In some embodiments, the playing module is a speaker device such as a speaker or a buzzer of the device under test. The sound collection module of the device to be tested (such as IPC) collects the audio sound wave played by the playing module at the same time, generates an audio signal and sends the audio signal to the computer. In some embodiments, the sound collection module is a microphone or other sound pickup device of the device under test.
Step S500: the computer obtains the audio signal generated by the sound collection module.
Step S600: and the computer identifies the audio signal and processes the audio signal by using a second preset algorithm to obtain a non-binary second digital instruction. In some embodiments, the second predetermined algorithm is an inverse fourier transform, which can transform the frequency domain signal into the original discrete time domain signal, thereby facilitating decoding.
Step S700: the computer decodes the non-binary second digital instruction in a manner corresponding to the encoding, e.g., reed-solomon decoding (RS decoding), to obtain a decoded test instruction.
Step S800: and the computer determines whether the playing module and the sound acquisition module are normal or not according to the decoded test command and the preset test instruction.
In some embodiments, as shown in fig. 3, step S800 specifically includes:
step S810: and judging whether the decoded test instruction is consistent with a preset test instruction. If yes, go to step S820; if not, returning to step S400, so that the playing module plays the audio sound wave again and the sound collection module collects the audio sound wave again.
Step S820: and determining that the playing module and the sound acquisition module are normal.
In some embodiments, as shown in fig. 4, after step S600, the method further includes:
step S910: checking the second digital instruction;
step S920: judging whether the second digital instruction is lost or not; if yes, executing step S930, otherwise executing step S700;
step S930: re-acquiring the audio signal generated by the sound acquisition module;
step S940: recognizing the reacquired audio signal, processing the reacquired audio signal by using a second preset algorithm, and reacquiring a digital instruction;
step S950: and merging the obtained plurality of digital instructions until a complete second digital instruction is obtained.
In some embodiments, since data may be lost during transmission, in order to ensure the accuracy of the audio test, the computer needs to check the second digital command after obtaining the second digital command to determine whether the second digital command is lost. If so, the computer reacquires the audio signal generated by the sound acquisition module, identifies the reacquired audio signal, processes the reacquired audio signal by using a second preset algorithm, and reacquires the digital instruction. And combining the obtained plurality of digital instructions until a complete second digital instruction is obtained, ensuring that the complete test instruction is obtained after the second digital instruction is decoded, comparing the complete test instruction with a preset test instruction, and determining whether the playing module and the sound acquisition module are normal.
In some embodiments, before step S400, the method further includes:
adding an end code at the end of the audio file;
correspondingly, before step S700, the method further includes:
the end code is deleted.
In some embodiments, before the computer sends the audio file to the playing module, an end code needs to be added at the end of the audio file, and when the playing module plays the audio file, the end code indicates that the playing of the audio file is finished, so as to prevent the subsequent sound collection module from collecting repeated audio sound waves to influence the test result. Correspondingly, the end code is also deleted before the computer decodes the second digital instruction, otherwise, the comparison result of the decoded test instruction and the preset test instruction is influenced, and the test result is further influenced.
The following describes the audio test method flow of the present invention in a specific embodiment with reference to fig. 1 to 4. It is to be understood that the following description is illustrative only and is not intended to be in any way limiting.
The computer specifies a preset test command for audio test, and performs RS encoding on the preset test command to obtain a first digital instruction. The first digital instructions are converted to an audio file using a fourier transform. Assuming that the obtained first digital command is 3123, the sine wave of 1500HZ corresponds to the number 1, the sine wave of 1600HZ corresponds to the number 2, and the sine wave of 1700HZ corresponds to the number 3, the audio file is a sine wave signal composed of four segments of sine waves of 1700HZ, 1500HZ, 1600HZ, and 1700 HZ. The computer sends the audio file to the IPC loudspeaker, and the loudspeaker plays the corresponding audio sound wave according to the audio file. The microphone of the IPC simultaneously collects the audio sound waves played by the loudspeaker to generate audio signals, and the audio signals are sent to the computer. The computer receives the audio signal sent by the microphone, identifies four sections of sine wave frequencies of 1700HZ, 1500HZ, 1600HZ and 1700HZ, and processes the four sections of sine wave frequencies by utilizing inverse Fourier transform to obtain a second digital command 3123. And RS decoding the second digital instruction 3123 to obtain a decoded test instruction. And judging whether the decoded test instruction is consistent with a preset test instruction or not, and if so, determining that the loudspeaker and the microphone are normal.
In order to ensure that the test instruction obtained after the computer decodes the second digital instruction is complete, the computer also checks the second digital instruction, if the second digital instruction is lost, for example, the second digital instruction is 32 or 313, the computer judges that the second digital instruction is lost, the computer re-acquires the audio signal sent by the microphone, identifies the re-acquired audio signal, processes the re-acquired audio signal by using a second preset algorithm, and re-acquires the digital instruction. And combining the obtained plurality of digital instructions until a complete digital instruction is obtained.
It can be understood that if a plurality of digital commands acquired by the computer are lost, it may be a problem in the computer and/or the playing module, and at this time, the steps S100 to 400 need to be executed again.
Further, an embodiment of the present invention provides an electronic device, including:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the audio testing method described above.
Further, an embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used for causing a computer to execute the audio testing method.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean 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 invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. An audio testing method, comprising:
acquiring a preset test instruction;
coding the preset test instruction to obtain a first digital instruction;
converting the first digital instruction into an audio file by using a first preset algorithm;
sending the audio file to a playing module so that the playing module plays audio sound waves according to the audio file and a sound collecting module collects the audio sound waves to generate audio signals;
acquiring an audio signal generated by the sound acquisition module;
identifying the audio signal, and processing the audio signal by using a second preset algorithm to obtain a second digital instruction;
decoding the second digital instruction to obtain a decoded test instruction;
and determining whether the playing module and the sound acquisition module are normal or not according to the decoded test instruction and the preset test instruction.
2. The audio testing method of claim 1, wherein said encoding the predetermined test command to obtain the first digital command comprises:
performing Reed-Solomon coding on a preset test instruction to obtain a first digital instruction;
the decoding the second digital instruction to obtain a decoded test instruction includes:
and performing Reed-Solomon decoding on the second digital instruction to obtain a decoded test instruction.
3. The audio testing method of claim 1, wherein the first predetermined algorithm is a fourier transform algorithm and the second predetermined algorithm is an inverse fourier transform algorithm.
4. The audio testing method of claim 1, wherein the determining whether the playing module and the sound collecting module are normal according to the decoded test instruction and the preset test instruction comprises:
judging whether the decoded test instruction is consistent with the preset test instruction or not;
and if the sound is consistent with the preset sound, determining that the playing module and the sound acquisition module are normal.
5. The audio testing method of claim 1, wherein after identifying the audio signal and processing the audio signal by using a second predetermined algorithm to obtain a second digital command, the method further comprises:
checking the second digital instruction;
if the second digital instruction is lost, the audio signal generated by the sound acquisition module is acquired again;
recognizing the reacquired audio signal, processing the reacquired audio signal by using the second preset algorithm, and reacquiring a digital instruction;
and merging the obtained plurality of digital instructions until a complete second digital instruction is obtained.
6. The audio testing method of claim 1, wherein before sending the audio file to a playing module, the method further comprises:
adding an end code at the end of the audio file;
before the decoding of the second digital instruction, the method further comprises:
and deleting the end code.
7. The audio testing method of any one of claims 1 to 6, wherein the playing module is a speaker, and the sound collecting module is a microphone.
8. Audio testing system, characterized in that, includes:
the computer is used for acquiring a preset test instruction, coding the preset test instruction to obtain a first digital instruction, converting the first digital instruction into an audio file by using a first preset algorithm, and sending the audio file to the playing module;
the playing module is used for playing audio sound waves according to the audio files;
the sound collection module is used for collecting the audio sound waves to generate audio signals;
the computer is further configured to acquire an audio signal generated by the sound collection module, recognize the audio signal, process the audio signal by using a second preset algorithm to obtain a second digital instruction, decode the second digital instruction to obtain a decoded test instruction, and determine whether the playing module and the sound collection module are normal or not according to the decoded test instruction and the preset test instruction.
9. An electronic device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the audio testing method of any one of claims 1 to 7.
10. Computer-readable storage medium, characterized in that it stores computer-executable instructions for causing a computer to perform the audio testing method according to any of claims 1 to 7.
CN202010783673.4A 2020-08-06 2020-08-06 Audio testing method, system, electronic equipment and storage medium Pending CN112073888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010783673.4A CN112073888A (en) 2020-08-06 2020-08-06 Audio testing method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010783673.4A CN112073888A (en) 2020-08-06 2020-08-06 Audio testing method, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112073888A true CN112073888A (en) 2020-12-11

Family

ID=73660753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010783673.4A Pending CN112073888A (en) 2020-08-06 2020-08-06 Audio testing method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112073888A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112969135A (en) * 2021-02-20 2021-06-15 山东英信计算机技术有限公司 PC sound card testing method, device and system
CN113709648A (en) * 2021-08-27 2021-11-26 重庆紫光华山智安科技有限公司 Microphone and loudspeaker collaborative testing method, system, medium and electronic terminal
CN115658002A (en) * 2022-12-26 2023-01-31 南京芯驰半导体科技有限公司 Audio playing method and device of vehicle system, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040234078A1 (en) * 2003-05-23 2004-11-25 Rick Hsieh Method for automatically testing output audio signals
CN101296161A (en) * 2007-04-26 2008-10-29 华为技术有限公司 Method, system, device, receiving equipment and transmitting equipment for data retransmission
CN101771741A (en) * 2008-12-29 2010-07-07 深圳富泰宏精密工业有限公司 Audio channel detecting system and method thereof
US8116466B2 (en) * 2007-09-20 2012-02-14 Inventec Corp. Apparatus and method for testing sound input and output of sound card
CN103179240A (en) * 2011-12-20 2013-06-26 比亚迪股份有限公司 Audio test method and system for mobile terminal
CN103812610A (en) * 2014-02-17 2014-05-21 天地融科技股份有限公司 Data communication method, terminal and information safety equipment
CN103903135A (en) * 2014-04-10 2014-07-02 福建联迪商用设备有限公司 Sound wave safety payment method and system
CN104333752A (en) * 2014-11-25 2015-02-04 杭州海康威视数字技术股份有限公司 Audio quality diagnostic method and device
CN104575505A (en) * 2015-01-16 2015-04-29 成都华迈通信技术有限公司 Information transmission method suitable for setting of camera parameters based on sound analysis
CN108243481A (en) * 2018-01-19 2018-07-03 腾讯科技(深圳)有限公司 Document transmission method and device
CN109347585A (en) * 2018-11-24 2019-02-15 合肥龙泊信息科技有限公司 A kind of emergency broadcase system for realizing teletext self-checking function

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040234078A1 (en) * 2003-05-23 2004-11-25 Rick Hsieh Method for automatically testing output audio signals
CN101296161A (en) * 2007-04-26 2008-10-29 华为技术有限公司 Method, system, device, receiving equipment and transmitting equipment for data retransmission
US8116466B2 (en) * 2007-09-20 2012-02-14 Inventec Corp. Apparatus and method for testing sound input and output of sound card
CN101771741A (en) * 2008-12-29 2010-07-07 深圳富泰宏精密工业有限公司 Audio channel detecting system and method thereof
CN103179240A (en) * 2011-12-20 2013-06-26 比亚迪股份有限公司 Audio test method and system for mobile terminal
CN103812610A (en) * 2014-02-17 2014-05-21 天地融科技股份有限公司 Data communication method, terminal and information safety equipment
CN103903135A (en) * 2014-04-10 2014-07-02 福建联迪商用设备有限公司 Sound wave safety payment method and system
CN104333752A (en) * 2014-11-25 2015-02-04 杭州海康威视数字技术股份有限公司 Audio quality diagnostic method and device
CN104575505A (en) * 2015-01-16 2015-04-29 成都华迈通信技术有限公司 Information transmission method suitable for setting of camera parameters based on sound analysis
CN108243481A (en) * 2018-01-19 2018-07-03 腾讯科技(深圳)有限公司 Document transmission method and device
CN109347585A (en) * 2018-11-24 2019-02-15 合肥龙泊信息科技有限公司 A kind of emergency broadcase system for realizing teletext self-checking function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陆璟琛: "蓝牙耳机及其音频测试研究", 《中国科技投资》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112969135A (en) * 2021-02-20 2021-06-15 山东英信计算机技术有限公司 PC sound card testing method, device and system
CN113709648A (en) * 2021-08-27 2021-11-26 重庆紫光华山智安科技有限公司 Microphone and loudspeaker collaborative testing method, system, medium and electronic terminal
CN115658002A (en) * 2022-12-26 2023-01-31 南京芯驰半导体科技有限公司 Audio playing method and device of vehicle system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112073888A (en) Audio testing method, system, electronic equipment and storage medium
CN107591151B (en) Far-field voice awakening method and device and terminal equipment
US8837257B2 (en) Acoustic modulation protocol
US20120155661A1 (en) Electronic device and method for testing an audio module
EP2592546B1 (en) Automatic Gain Control in a multi-talker audio system
US8300836B2 (en) Device and method for automatically testing audio player device
WO2012075084A1 (en) Method and apparatus for determining location of mobile device
EP2787661A1 (en) Near field communication implementation method and system
US9179218B2 (en) Mobile device for multi-channel sound collection and output using common connector, and driving method thereof
CN111566954A (en) High bandwidth acoustic tone generation
CN113010139B (en) Screen projection method and device and electronic equipment
CN105575016A (en) Experiment voice reminding method, device and system applied to experiment
CN106156036B (en) Vehicle-mounted audio processing method and vehicle-mounted equipment
CN113674763B (en) Method, system, device and storage medium for identifying whistle by utilizing line spectrum characteristics
CN111818257A (en) Camera aging method, system, equipment and storage medium
CN102322928B (en) Electronic scale, mobile equipment, body weight measuring system and wireless transmission method
CA2627487A1 (en) Enhanced format media files
CN111724811B (en) Squeaking identification method and device based on subaudio frequency
CN113055735A (en) Wireless screen transmission data transmission method, system and computer readable storage medium
WO2020024508A1 (en) Voice information obtaining method and apparatus
CN116233725A (en) Loudspeaker detection method, device and system based on ADC detection
TWI576823B (en) A sound transmission system for improving audio recognition rate and its data processing
CN116112857A (en) Detection method, detection device, electronic equipment and computer storage medium
CN116469413B (en) Compressed audio silence detection method and device based on artificial intelligence
CN112702469B (en) Voice interaction method and device, audio and video processing method and voice broadcasting method

Legal Events

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

Application publication date: 20201211

RJ01 Rejection of invention patent application after publication