Audio performance test system and audio performance test method

By designing an audio performance test system and using automated testing methods of main control equipment and audio equipment, the problems of low efficiency and inconsistent results in the existing technology are solved, and efficient and accurate audio performance evaluation is achieved.

CN119299940APending Publication Date: 2025-01-10ALIBABA DAMO (HANGZHOU) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411196175.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The audio performance test of existing audio equipment is inefficient and inconsistent, mainly due to the subjective judgment differences and environmental noise interference in manual testing methods, which makes it difficult to ensure the accuracy and consistency of the test results.

Method used

Design an audio performance testing system, including a master control device and at least two audio devices, the audio device to be tested and the reference audio device performs audio playback and recording operations by sending test instructions, and the master control device acquires and compares and analyzes the audio data of the two. Automatically calculate performance test results to improve test efficiency and consistency of results.

Benefits of technology

It realizes automated testing of audio equipment, improves the consistency and efficiency of test results, reduces manual subjective interference, and enhances the accuracy and reliability of tests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299940A_ABST
    Figure CN119299940A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an audio performance test system and an audio performance test method, the audio performance test system comprises a main control device and at least two audio devices, and the at least two audio devices comprise a to-be-tested audio device and a reference audio device; the main control device is used for sending a test instruction to the at least two audio devices; the at least two audio devices are used for responding to the test instruction and executing target operations, the target operations comprise audio playing and audio recording, and the target operations executed by the to-be-tested audio device and the reference audio device are different; and the main control equipment is also used for acquiring the audio data of the at least two pieces of audio equipment, performing comparative analysis on the audio data, and obtaining a performance test result of the audio equipment to be tested. The audio performance of the audio equipment is automatically tested, the consistency of test results and the test efficiency are improved, and the innovative scheme provided by the embodiment of the invention can be used for the RISC-V processor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the technical field of hardware testing, and more particularly to an audio performance testing system and an audio performance testing method. Background Art

[0002] With the widespread application of audio devices, how to accurately and quickly test the audio performance of these devices has become an important issue.

[0003] At present, the audio performance of audio equipment is usually evaluated by combining manual listening test and simple audio analysis software. However, such manual testing method is not only inefficient, but also the audio performance test results may have certain errors due to differences in subjective judgment of testers, interference from environmental noise or consistency of test signals, resulting in inconsistent test results. Therefore, there is an urgent need for an audio performance test system with high efficiency and consistent test results. Summary of the invention

[0004] In view of this, an embodiment of the present specification provides an audio performance test system. One or more embodiments of the present specification also relate to another audio performance test system, another audio performance test system, another audio performance test system, an audio performance test method, another audio performance test method, a main control device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, there is provided an audio performance test system, comprising a main control device and at least two audio devices, wherein the at least two audio devices include an audio device to be tested and a reference audio device;

[0006] A master control device, used for sending a test command to at least two audio devices;

[0007] at least two audio devices, used to execute a target operation in response to a test instruction, wherein the target operation includes audio playback and audio recording, and the target operation executed by the audio device to be tested and the reference audio device are different;

[0008] The main control device is also used to obtain audio data of at least two audio devices, compare and analyze the audio data, and obtain performance test results of the audio device to be tested.

[0009] According to a second aspect of an embodiment of this specification, another audio performance test system is provided, including a main control device, a RISC-V processor and a reference audio device, wherein the RISC-V processor includes a RISC-V compilation unit and a RISC-V processing unit;

[0010] A master control device, configured to send a first test instruction to a RISC-V processor, and send a second test instruction to a reference audio device, wherein the first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback;

[0011] A RISC-V compilation unit, configured to receive a first test instruction and compile the first test instruction into a first test instruction stream;

[0012] A RISC-V processing unit, configured to run a first test instruction stream and perform corresponding audio playback or audio recording;

[0013] The reference audio device is used to perform corresponding audio recording or audio playback in response to the second test instruction;

[0014] The main control device is also used to obtain audio data from the RISC-V processor and the reference audio device, compare and analyze the audio data, and obtain performance test results of the RISC-V processor.

[0015] According to a third aspect of an embodiment of this specification, another audio performance test system is provided, including a main control device, an IP core architecture device and a reference audio device, wherein the IP core architecture device includes an IP user state interface and an IP core driver unit;

[0016] A master control device, configured to send a first test instruction to the IP core architecture device, and send a second test instruction to the reference audio device, wherein the first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback;

[0017] The IP user state interface is used to respond to the first test instruction, run the audio test application, call the IP core driver unit, and perform corresponding audio playback or audio recording;

[0018] The reference audio device is used to perform corresponding audio recording or audio playback in response to the second test instruction;

[0019] The main control device is also used to obtain audio data from the IP core architecture device and the reference audio device, compare and analyze the audio data, and obtain performance test results of the IP core architecture device.

[0020] According to a fourth aspect of the embodiments of this specification, another audio performance test system is provided, including a main control device, an embedded device and a reference audio device, wherein the embedded device includes a system-level chip, a memory chip and a power management chip;

[0021] A master control device, configured to send a first test instruction to the embedded device, and send a second test instruction to the reference audio device, wherein the first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback;

[0022] A system-on-chip, configured to control a memory chip and / or a power management chip to perform corresponding audio playback or audio recording in response to a first test instruction;

[0023] The reference audio device is used to perform corresponding audio recording or audio playback in response to the second test instruction;

[0024] The main control device is also used to obtain audio data from at least two audio devices, compare and analyze the audio data, and obtain performance test results of the system-level chip.

[0025] According to a fifth aspect of the embodiments of this specification, an audio performance test method is provided, which is applied to an audio performance test system, wherein the audio performance test system includes a main control device and at least two audio devices, wherein the at least two audio devices include an audio device to be tested and a reference audio device, including:

[0026] The master device sends a test command to at least two audio devices;

[0027] At least two audio devices execute target operations in response to the test instruction, wherein the target operations include audio playback and audio recording, and the target operations executed by the audio device to be tested and the reference audio device are different;

[0028] The main control device obtains audio data of at least two audio devices, compares and analyzes the audio data, and obtains performance test results of the audio device to be tested.

[0029] According to a sixth aspect of an embodiment of this specification, an audio performance test method is provided, which is applied to a main control device of an audio performance test system, wherein the audio performance test system further includes at least two audio devices, wherein the at least two audio devices include an audio device to be tested and a reference audio device, including:

[0030] Sending a test command to at least two audio devices;

[0031] Acquire audio data of at least two audio devices, wherein the audio data is obtained by the at least two audio devices executing a target operation in response to a test instruction, the target operation includes audio playback and audio recording, and the target operation executed by the audio device to be tested and the reference audio device is different;

[0032] Compare and analyze the audio data to obtain the performance test results of the audio device under test.

[0033] According to a seventh aspect of the embodiments of this specification, a main control device is provided, including:

[0034] Memory and processor;

[0035] The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the above method are implemented.

[0036] According to an eighth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores a computer program / instruction, and the steps of the above method are implemented when the computer program / instruction is executed by a processor.

[0037] According to a ninth aspect of the embodiments of this specification, there is provided a computer program product, comprising a computer program / instruction, which implements the steps of the above method when executed by a processor.

[0038] In one embodiment of the present specification, an audio performance test system is provided, including a main control device and at least two audio devices, the at least two audio devices including an audio device to be tested and a reference audio device; the main control device is used to send a test instruction to the at least two audio devices; the at least two audio devices are used to respond to the test instruction and perform a target operation, wherein the target operation includes audio playback and audio recording, and the target operation performed by the audio device to be tested and the reference audio device is different; the main control device is also used to obtain audio data of the at least two audio devices, compare and analyze the audio data, and obtain the performance test result of the audio device to be tested. The automated test of the audio performance of the audio device is realized, the consistency of the test results is improved, and the test efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a structural diagram of an audio performance test system provided by an embodiment of this specification;

[0040] Figure 2 It is a structural diagram of an audio performance test system for testing recording performance provided by an embodiment of this specification;

[0041] Figure 3 It is a structural schematic diagram of an audio performance test system for testing playback performance provided by an embodiment of this specification;

[0042] Figure 4 is a schematic diagram of original audio data provided by an embodiment of this specification;

[0043] Figure 5 is an effect diagram of an audio feature provided by an embodiment of this specification;

[0044] Figure 6 is a structural diagram of another audio performance testing system provided by an embodiment of this specification;

[0045] Figure 7 It is a flowchart of a RISC-V processor in an audio performance test system provided by an embodiment of this specification;

[0046] Figure 8 is a structural diagram of another audio performance testing system provided by an embodiment of this specification;

[0047] Fig. 9 It is a structural diagram of an IP core architecture device provided by an embodiment of this specification;

[0048] Fig.10 is a structural diagram of another IP core architecture device provided by an embodiment of this specification;

[0049] Fig.11 is a structural diagram of another audio performance testing system provided by an embodiment of this specification;

[0050] Fig.12 is a structural diagram of an embedded device provided by an embodiment of this specification;

[0051] Fig.13 is a flow chart of an audio performance testing method provided by an embodiment of this specification;

[0052] Fig.14 is a flow chart of another audio performance testing method provided by an embodiment of this specification;

[0053] Fig.15 It is a deployment diagram of an audio performance testing method applied to an embedded device provided by an embodiment of this specification;

[0054] Fig.16 This is a structural block diagram of a main control device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0055] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0056] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0057] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0058] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0059] First, the terms involved in one or more embodiments of this specification are explained.

[0060] Mel Frequency Cepstral Coefficients (MFCC): A time-frequency spectrum feature used in speech recognition. The specific steps include:

[0061] 1. Pre-emphasis: emphasizes the high frequency part and reduces the impact of amplitude decreasing with frequency.

[0062] 2. Framing: Divide the continuous audio signal into short time frames.

[0063] 3. Windowing: Apply a Hamming window to each frame to reduce discontinuity at frame boundaries.

[0064] 4. Fast Fourier Transform (FFT): Convert time domain signal to frequency domain.

[0065] 5. Mel Filter Bank: Apply a set of triangular filters to map the spectral energy to the Mel scale.

[0066] 6. Log Energy: Take the logarithm of the energy output by each filter to increase the dynamic range.

[0067] 7. Discrete Cosine Transform (DCT): further compresses information to obtain MFCC coefficients.

[0068] 8. Remove the first few coefficients (usually keep the first 12-13) because they contain most of the speech information.

[0069] Discrete Cosine Transform (DCT): An algorithm that converts a signal from the time domain to the frequency domain. The specific calculation formula is shown in Formula 1:

[0070]

[0071] Where x(n) is the nth element of the input signal sequence, y(k) is the kth element of the output signal sequence, N is the length of the signal sequence, and α(k) is the normalization factor, which is usually defined as when k=0. When k>0, This formula is used to calculate the kth coefficient of the discrete cosine transform, which converts the input time domain signal sequence x(n) into the output frequency domain signal sequence y(k). In the calculation of Mel cepstral coefficients, the discrete cosine transform is used to extract the cepstral coefficients from the logarithmic energy output of the Mel filter bank to obtain the Mel cepstral features.

[0072] Device Under Testing (DUT): The device whose performance, function or characteristics are evaluated during testing. Testing usually involves simulating the expected operating conditions of the DUT to check whether it meets the predetermined specifications and standards.

[0073] Auxilary Testing Equipment (ATE): Equipment used to assist the test process during the test. It is usually used to provide test signals, measure results, monitor the test environment, or perform other supporting functions to ensure the test accuracy of the DUT. ATE is designed to make the test process more accurate, repeatable, and eliminate the influence of external variables as much as possible.

[0074] Reduced Instruction Set Computing (RISC): Uses a simple instruction set to improve execution efficiency. Each instruction performs a single task, reducing instruction decoding time and accelerating processor performance.

[0075] The fifth edition of Reduced Instruction Set Computing (RISC-V): used to design microprocessors. It provides a free instruction set specification that supports modular expansion and facilitates customized design of high-performance processors.

[0076] IP core (Intellectual Property core): A pre-designed functional module used to quickly build complex systems. IP cores can be soft cores, hard cores, or solid cores, and are used to accelerate the chip design process.

[0077] IP core architecture: The design structure of the IP core, defining its functions and interfaces. It describes the internal organization of the IP core and how it interacts with other components to ensure compatibility and reusability between modules.

[0078] User mode: An operating system mode that restricts access to system resources. User mode programs can only execute non-privileged instructions to prevent misoperation or malicious behavior from affecting system stability.

[0079] Kernel state: Another operating mode of the operating system, with full system privileges. Kernel state allows access to all system resources and is used to handle critical tasks such as system calls and hardware management.

[0080] Kernel-mode driver: A software module that runs in kernel mode and is used to control hardware. Kernel-mode drivers interact directly with hardware and are responsible for implementing advanced features of the device, such as file system and network device drivers. For example, the Advanced Linux Sound Architecture Kernel Driver (ALSA Kernel Driver) in the Linux kernel.

[0081] Sound Card Driver: A driver that controls the sound card hardware. It is responsible for managing audio input and output, implementing audio encoding, decoding, and mixing, and enabling the sound card to work with the operating system and other software.

[0082] Remote Procedure Call Message Bus Driver (RPMessage Driver): A driver that implements communication between different processors. The RPMsg driver supports lightweight message passing and is used to exchange data between the auxiliary processor and the main processor.

[0083] Mailbox Driver: A driver for lightweight communication between processors. The mailbox driver provides a simple message passing mechanism that enables messages to be sent and received between different processors or cores.

[0084] Direct Memory Access Driver (DMADriver): A hardware component that enables peripherals to directly access memory. DMA allows hardware devices to read and write memory without CPU intervention, improving data transfer efficiency.

[0085] Inter-IC SoundDriver (I2SDriver): A driver that controls the I2S audio interface. The I2S driver manages the transmission of digital audio data and enables synchronous communication between audio devices and processors.

[0086] Coder / Decoder Driver (Codec Driver for short): A driver that controls the Codec hardware. The Codec driver is responsible for the conversion between analog and digital signals and supports the encoding and decoding of audio and video data.

[0087] Power Amplifier Driver (PA Driver): A driver that controls the power amplifier hardware. The PA driver adjusts the power level of the audio signal to ensure that output devices such as speakers receive sufficient drive signals.

[0088] Advanced eXtensible Interface (AMBAAXI): A high-performance bus standard for connecting high-speed components such as CPUs, GPUs, and memory controllers. It supports high-bandwidth data transmission and is ideal for real-time processing of audio data.

[0089] Advanced Peripheral Bus (APB): A low-speed auxiliary bus that is mainly used to connect low-speed peripherals, such as power management chips. Through the APB bus, the system-level chip can monitor and control the status of the power management chip to ensure that the power supply of the entire system is stable and reliable.

[0090] In this specification, an audio performance testing system is provided. This specification also involves an audio performance testing method, another audio performance testing method, a main control device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.

[0091] See also Figure 1 , Figure 1 The structure diagram of an audio performance test system provided by an embodiment of the present specification is shown. The audio performance test system 10 includes a main control device 102 and at least two audio devices 104. The at least two audio devices 104 include an audio device to be tested 1042 and a reference audio device 1044.

[0092] A main control device 102, used to send a test instruction to at least two audio devices 104;

[0093] At least two audio devices 104 are used to perform target operations in response to the test instruction, wherein the target operations include audio playback and audio recording, and the target operations performed by the audio device 1042 to be tested and the reference audio device 1044 are different;

[0094] The main control device 102 is further used to obtain audio data of at least two audio devices 104 , compare and analyze the audio data, and obtain performance test results of the audio device 1042 to be tested.

[0095] Exemplarily, the main control device 102 is a core device in the audio performance test system 10 for controlling the test process and performing comparative analysis on audio data. The main control device 102 can be a host computer such as a computer, a server, or a dedicated test controller, and has the functions of generating and sending test instructions, receiving audio data, and performing comparative analysis. For example, the main control device 102 can be a computer running an audio performance test routine, which includes functional modules for generating and sending test instructions, receiving audio data, and performing comparative analysis.

[0096] At least two audio devices 104 are audio hardware devices involved in the test in the audio performance test system 10, including but not limited to the following: a speaker, a microphone, an audio interface, an intelligent speaker, a voice recognition device, a telephone, and an audio unit of an embedded device. At least two audio devices 104 work together during the test, one or more of which serve as the audio device to be tested 1042, and one or more of the others serve as reference audio devices 1044. For example, when testing the audio unit of an embedded device, the audio unit of the embedded device itself serves as the audio device to be tested 1042, and a microphone or speaker with known good performance serves as the reference audio device 1044.

[0097] The audio device 1042 to be tested is a device under test (DUT) whose audio performance is evaluated in the audio performance test system 10, and the audio performance of the audio device 1042 to be tested is the main target of the audio test system 10 for testing. The audio device 1042 to be tested includes, but is not limited to, at least one of the following: a speaker, a microphone, an audio interface, an intelligent speaker, a speech recognition device, a telephone, a RISC-V processor with an audio function, an IP core architecture device with an audio function, and an audio unit of an embedded device. It is necessary to test the recording performance and / or playback performance of the audio device 1042 to be tested. For example, when testing the audio unit of an embedded device, the audio unit of the embedded device itself serves as the audio device 1042 to be tested.

[0098] The reference audio device 1044 is a reference test equipment (ATE) used to assist the test process in the audio performance test system 10. The reference audio device 1044 is calibrated, and its performance parameters are known and stable. The reference audio device 1044 is used as a benchmark for audio performance testing and is compared with the audio performance of the audio device 1042 to be tested. The reference audio device 1044 includes but is not limited to at least one of the following: a speaker, a microphone, an audio interface, a smart speaker, a voice recognition device, and a telephone. For example, when testing the audio unit of an embedded device, a professionally calibrated microphone is used as a reference audio device 1044 to record the audio data output by the audio unit of the embedded device for comparison and analysis with the audio data output by the audio unit of the embedded device.

[0099] The test instruction is a signal instruction sent by the main control device 102 to perform an audio performance test, instructing at least two audio devices 104 to perform a specific target operation. The test instruction includes a play instruction and a record instruction, which are used to start the target operations of audio playback and audio recording, respectively. For example, when testing the playback performance of the audio unit of the embedded device, a play instruction is sent to the embedded audio as the audio device to be tested 1042, and a record instruction is sent to the microphone as the reference audio device 1044.

[0100] The target operation is the specific operation performed by at least two audio devices 104 in response to the test instruction, including two types of audio playback and audio recording. Audio playback is the conversion of a digital audio file into audio data output, while audio recording is the process of converting audio data into a digital audio file. In an audio performance test environment, audio playback and audio recording are usually performed synchronously to compare and analyze the audio data output by at least two audio devices 104 to determine the audio performance of the audio device 1042 to be tested. For example, the embedded audio of the audio device 1042 to be tested performs audio playback in response to the play instruction, and the microphone of the reference audio device 1044 performs audio recording in response to the recording instruction.

[0101] The audio data of at least two audio devices 104 are audio data output by at least two audio devices 104 respectively performing target operations during the test process, including original audio data output by performing audio playback and target audio output by performing audio recording. For example, the embedded audio of the audio device 1042 to be tested performs audio playback in response to the playback instruction to obtain the original audio data played by the audio device 1042 to be tested, and the microphone of the reference audio device 1044 performs audio recording in response to the recording instruction to obtain the recorded audio data obtained by the reference audio device 1044 recording the original audio data played by the audio device 1042 to be tested.

[0102] The performance test results are quantitative or qualitative performance indicators of the audio performance of the audio device 1042 under test determined through comparative analysis, including recording performance test results and playback performance test results, which are used to evaluate the performance level of the audio device 1042 under test in performing audio recording operations and the performance level of performing audio playback operations, respectively. For example, a comparative analysis is performed on the original audio data played by the audio device 1042 under test and the recorded audio data recorded by the reference audio device 1044, and the playback performance test results of the audio device 1042 under test are obtained as follows: "The frequency response does not vary by more than ±3dB in the range of 20Hz to 20kHz, the THD at maximum volume at a frequency of 1kHz is less than 0.5%, the signal-to-noise ratio is greater than 90dB, the dynamic range exceeds 100dB, the fluctuation of the phase response in the key frequency band does not exceed ±5%, the transient response recovers to more than 90% of the baseline within 1ms, and the stereo The sound separation is greater than 40dB. "Or "When playing audio, it shows an excellent frequency response, with balanced sound, and accurate reproduction from deep bass to delicate highs. The device has extremely low total harmonic distortion, and distortion is almost imperceptible even at high volume, ensuring clear presentation of music details. The signal-to-noise ratio is excellent, and background noise is almost inaudible. The dynamic range is wide, and it can handle changes from the softest to the loudest sounds without distortion. The phase response is smooth, ensuring accurate stereo positioning and enhancing immersion. The transient response is fast, and it can accurately capture fast-changing audio."

[0103] An optional way to obtain audio data of at least two audio devices 104 is to obtain audio data of at least two audio devices through a wired data channel between the main control device 102 and the at least two audio devices 104, for example, to obtain audio data of at least two audio devices 104 through a Universal Serial Bus (USB) interface, or for example, to obtain audio data of at least two audio devices 104 through an Ethernet interface. Another optional way is to obtain audio data of at least two audio devices through a wireless data channel between the main control device 102 and the at least two audio devices 104, or for example, to obtain audio data of at least two audio devices 104 through a WiFi connection, or for example, to obtain audio data of at least two audio devices 104 through a Bluetooth connection, or for example, to obtain audio data of at least two audio devices 104 through a cellular network connection, which is not limited here.

[0104] Perform comparative analysis on the audio data to obtain performance test results of the audio device 1042 to be tested. One optional method is: perform comparative analysis on the audio data based on audio features to obtain performance test results of the audio device 1042 to be tested. Another optional method is: perform data modeling on the audio data, perform comparative analysis based on the data modeling, and obtain performance test results of the audio device 1042 to be tested. Another optional method is: use machine learning or deep learning technology to perform comparative analysis on the audio data to obtain performance test results of the audio device 1042 to be tested. There is no limitation here.

[0105] In the embodiments of the present specification, the automated audio performance testing system realizes automated testing of the audio performance of an audio device, improves the consistency of the test results, and improves the test efficiency.

[0106] In an optional embodiment of the present specification, the test instruction includes a play instruction and a record instruction, and the performance test result includes a recorded performance test result;

[0107] The main control device 102 is specifically used to send a play instruction to the reference audio device 1044 and send a record instruction to the audio device under test 1042;

[0108] The reference audio device 1044 is used to play the original audio data in response to the play instruction;

[0109] The audio device under test 1042 is used to record the original audio data played by the reference audio device 1044 in response to the recording instruction to obtain the recorded audio data;

[0110] The main control device 102 is also used to obtain original audio data and recorded audio data, compare and analyze the original audio data and the recorded audio data, and obtain a recording performance test result of the audio device 1042 to be tested.

[0111] Exemplarily, the play instruction is a signal instruction sent by the main control device 102 to perform the audio performance test, instructing the audio device 104 to perform the audio play operation. After receiving the play instruction, the audio device 104 responds to the play instruction and starts the target operation of the audio play. For example, the main control device 102 sends the play instruction to the speaker of the reference audio device 1044.

[0112] The recording instruction is a signal instruction sent by the main control device 102 to perform the audio performance test, instructing the audio device 104 to perform an audio recording operation. After receiving the recording instruction, the audio device 104 responds to the recording instruction and starts the target operation of audio recording. For example, the main control device 102 sends a play instruction to the speaker of the reference audio device 1044.

[0113] The original audio data is the audio data output by the audio device 104 performing the audio playback operation during the test. The original audio data is usually derived from standard test sounds, music files or other audio materials, and is used to evaluate the performance of the audio device during the playback or recording process. The original audio data can be in a digital format, such as a WAV, AIFF or FLAC file, such as a song or video soundtrack, or an analog signal, such as a sine wave, white noise or random noise. The original audio data is the benchmark for audio performance testing and is used for comparative analysis with the recorded audio data after recording to evaluate the audio performance of the audio device 1042 to be tested. For example, in a test, the original audio data sent by the main control device 102 to the reference audio device 1044 (such as a speaker) is a sine wave signal containing a frequency range of 20Hz to 20kHz. Since the effective hearing range of most people is between 100Hz and 10kHz, a sine wave signal in the frequency range of 20Hz to 20kHz can be selected as the original audio data.

[0114] The recorded audio data is the audio data output by the audio device 104 performing the audio recording operation during the test. The recorded audio data is output by the audio device 104 performing the audio recording operation, and the recorded audio data reflects the performance of the audio device 104 during the recording process, including its sensitivity, frequency response, total harmonic distortion, signal-to-noise ratio and other characteristics. The recorded audio data can be in a digital format, such as a WAV, AIFF or FLAC file, such as a song or video soundtrack, or it can be an analog signal, such as a sine wave, white noise or random noise. The recorded audio data is a reference for the audio performance test, and is used for comparative analysis with the recorded audio data after recording to evaluate the audio performance of the audio device 1042 under test. For example, in one test, the main control device 102 performs an audio playback operation on the original audio data sent to the reference audio device 1044 (such as a speaker). The original audio data is a sine wave signal in the frequency range of 20 Hz to 20 kHz. The audio device 1042 to be tested (the recording unit of the embedded device) performs an audio recording operation on the original audio data played by the reference audio device 1044 (such as a speaker) to obtain an audio signal also in the frequency range of 20 Hz to 20 kHz. Due to the influence of the noise environment and device performance, the recorded audio data may not be a sine wave signal, but a harmonic signal with the noise signal added.

[0115] The recording performance test result is a quantitative or qualitative performance indicator of the recording performance of the audio device 1042 under test determined through comparative analysis, and is used to evaluate the performance level of the audio device 1042 under test in performing an audio recording operation. For example, by comparatively analyzing the original audio data played by the reference audio device 1044 and the recorded audio data recorded by the audio device 1042 under test, the recording performance test result of the audio device 1042 under test is obtained as follows: "The frequency response does not vary by more than ±1dB in the range of 20Hz to 20kHz, and the sensitivity is -38dB. SPL / V / Pa, total harmonic distortion less than 0.1%, signal-to-noise ratio greater than 95dB, dynamic range over 105dB, phase response fluctuation within the key frequency band does not exceed ±3, transient response recovers to more than 95% of the baseline within 0.5ms, and stereo separation is greater than 45dB. "Or "It shows excellent performance when recording audio, capable of capturing delicate sound details, from deep bass to bright treble. The equipment has extremely low total harmonic distortion, ensuring the purity of the recording, and maintaining clear sound quality even in complex music scenes. Excellent signal-to-noise ratio, almost imperceptible background The wide dynamic range can cope with various volume changes, from soft whispers to loud drums, and can be recorded without distortion. The smooth phase response ensures the spatial sense of stereo recording and enhances the immersiveness of recording. The fast transient response can capture every subtle change in the music, whether it is a fast percussion or a sudden note jump. In addition, the high stereo separation provides clear distinction between left and right channels, making the recording more three-dimensional. Overall, the recording performance is impressive and suitable for professional studio-level recording needs. "

[0116] An optional way to obtain recorded audio data is to obtain recorded audio data through a wired data channel between the main control device 102 and the audio device under test 1042, for example, through a Universal Serial Bus (USB) interface, to obtain recorded audio data, for example, through an Ethernet interface, to obtain recorded audio data, and another optional way is to obtain recorded audio data through a wireless data channel between the main control device 102 and the audio device under test 1042, for example, through a WiFi connection, to obtain recorded audio data, for example, through a Bluetooth connection, to obtain recorded audio data, for example, through a cellular network connection, to obtain recorded audio data, and the like, without limitation here.

[0117] The original audio data may be obtained in advance or transmitted by the reference audio device 1044, which is not limited here.

[0118] A comparative analysis is performed on the original audio data and the recorded audio data to obtain a recording performance test result of the audio device 1042 to be tested. One optional method is: a comparative analysis is performed on the original audio data and the recorded audio data based on audio features to obtain a recording performance test result of the audio device 1042 to be tested. Another optional method is: data modeling is performed on the original audio data and the recorded audio data, and a comparative analysis is performed based on the data modeling to obtain a recording performance test result of the audio device 1042 to be tested. Another optional method is: using machine learning or deep learning technology to compare and analyze the original audio data and the recorded audio data to obtain a recording performance test result of the audio device 1042 to be tested. There is no limitation here.

[0119] Optionally, Figure 2 FIG. 1 shows a schematic diagram of a structure of an audio performance test system for testing recording performance provided by an embodiment of the present specification, such as Figure 2 As shown:

[0120] The main control device 102 starts the recording performance test;

[0121] The reference audio device 1044 performs an audio playback operation to play the original audio data;

[0122] The audio device under test 1042 performs an audio recording operation to record the original audio data played by the reference audio device 1044 to obtain recorded audio data;

[0123] The main control device 102 compares and analyzes the original audio data and the recorded audio data to obtain a recording performance test result of the audio device 1042 to be tested.

[0124] In the embodiments of the present specification, the automated audio performance testing system realizes automated testing of the recording performance of the audio device to be tested, improves the consistency of the recording performance test results, and improves the recording test efficiency.

[0125] In an optional embodiment of the present specification, the test instruction includes a play instruction and a record instruction, and the performance test result includes a play performance test result;

[0126] The main control device 102 is specifically used to send a play instruction to the audio device under test 1042 and send a record instruction to the reference audio device 1044;

[0127] The audio device under test 1042 is used to play the original audio data in response to the play instruction;

[0128] The reference audio device 1044 is used to record the original audio data played by the audio device under test 1042 in response to the recording instruction to obtain the recorded audio data;

[0129] The main control device 102 is specifically used to obtain original audio data and recorded audio data, compare and analyze the original audio data and the recorded audio data, and obtain a playback performance test result of the audio device 1042 to be tested.

[0130] Exemplarily, the play instruction is a signal instruction sent by the main control device 102 to perform the audio performance test, instructing the audio device 104 to perform the audio play operation. After receiving the play instruction, the audio device 104 responds to the play instruction and starts the target operation of the audio play. For example, the main control device 102 sends the play instruction to the speaker of the reference audio device 1044.

[0131] The recording instruction is a signal instruction sent by the main control device 102 to perform the audio performance test, instructing the audio device 104 to perform an audio recording operation. After receiving the recording instruction, the audio device 104 responds to the recording instruction and starts the target operation of audio recording. For example, the main control device 102 sends a play instruction to the speaker of the reference audio device 1044.

[0132] The original audio data is the audio data output by the audio device 104 performing the audio playback operation during the test. The original audio data is usually derived from standard test sounds, music files or other audio materials, and is used to evaluate the performance of the audio device during the playback or recording process. The original audio data can be in digital format, such as WAV, AIFF or FLAC files, such as a song or video soundtrack, or it can be an analog signal, such as a sine wave, white noise or random noise. The original audio data is the benchmark for audio performance testing and is used for comparative analysis with the recorded audio data after recording to evaluate the audio performance of the audio device 1042 to be tested. For example, in a test, the original audio data sent by the main control device 102 to the audio device 1042 to be tested (the playback unit of the embedded device) is a sine wave signal containing a frequency range of 20Hz to 20kHz. Since the effective hearing range of most people is between 100Hz and 10kHz, a sine wave signal in the frequency range of 20Hz to 20kHz can be selected as the original audio data.

[0133] The recorded audio data is the audio data output by the audio device 104 performing the audio recording operation during the test. The recorded audio data is output by the audio device 104 performing the audio recording operation, and the recorded audio data reflects the performance of the audio device 104 during the recording process, including its sensitivity, frequency response, total harmonic distortion, signal-to-noise ratio and other characteristics. The recorded audio data can be in a digital format, such as a WAV, AIFF or FLAC file, such as a song or video soundtrack, or it can be an analog signal, such as a sine wave, white noise or random noise. The recorded audio data is a reference for the audio performance test, and is used for comparative analysis with the recorded audio data after recording to evaluate the audio performance of the audio device 1042 under test. For example, in one test, the main control device 102 performs an audio playback operation on the original audio data sent to the audio device 1042 under test (the playback unit of the embedded device). The original audio data is a sine wave signal in the frequency range of 20 Hz to 20 kHz. The reference audio device 1044 (such as a microphone) performs an audio recording operation on the original audio data played by the audio device 1042 under test (the playback unit of the embedded device), and obtains an audio signal also in the frequency range of 20 Hz to 20 kHz. Due to the influence of the noise environment and device performance, the recorded audio data may not be a sine wave signal, but a harmonic signal with the noise signal added.

[0134] The playback performance test result is a quantitative or qualitative performance indicator of the playback performance of the audio device 1042 under test determined through comparative analysis, and is used to evaluate the performance level of the audio device 1042 under test in performing audio playback operations. For example, a comparative analysis is performed on the original audio data played by the audio device 1042 under test and the recorded audio data recorded by the reference audio device 1044, and the playback performance test result of the audio device 1042 under test is obtained as follows: "The frequency response is in the range of 20Hz to 20kHz, and the response variation does not exceed ±0.3dB. The total harmonic distortion is less than 0.03%, the signal-to-noise ratio is greater than 105dB, and the dynamic range exceeds 115dB. Phase response: In the key frequency band (20Hz to 20kHz), the phase deviation does not exceed ±1.5, the transient response recovers to more than 98% of the baseline within 0.1ms, and the stereo separation is greater than 55dB." Or "It exhibits excellent performance when playing audio, and is able to delicately reproduce the full-band sound from deep bass to bright treble without obvious coloration. The device The extremely low total harmonic distortion ensures the purity and fidelity of the playback sound, without distortion even at high volume. The high signal-to-noise ratio makes background noise almost imperceptible, allowing the music to remain highly clear in any environment. The wide dynamic range can faithfully present various volume changes, whether it is a faint breath or a strong burst of drums, it can be accurately reproduced without distortion. The smooth phase response ensures the natural spatial sense of stereo playback and enhances the immersive auditory experience. The fast transient response can capture every subtle change in the music, whether it is a fast percussion or a sudden note jump. In addition, the high stereo separation provides a clear distinction between the left and right channels, making the playback effect more three-dimensional. Overall, the playback performance meets professional-grade audio standards and is suitable for high-end home theaters or professional monitoring environments. "

[0135] An optional way to obtain recorded audio data is to obtain recorded audio data through a wired data channel between the main control device 102 and the reference audio device 1044, for example, through a Universal Serial Bus (USB) interface, to obtain recorded audio data, for example, through an Ethernet interface, to obtain recorded audio data, and another optional way is to obtain recorded audio data through a wireless data channel between the main control device 102 and the reference audio device 1044, for example, through a WiFi connection, to obtain recorded audio data, for example, through a Bluetooth connection, to obtain recorded audio data, for example, through a cellular network connection, and the like, without limitation here.

[0136] The original audio data may be obtained in advance or received from the audio device under test 1042, which is not limited here.

[0137] A comparative analysis is performed on the original audio data and the recorded audio data to obtain a playback performance test result of the audio device 1042 to be tested. One optional method is: a comparative analysis is performed on the original audio data and the recorded audio data based on audio features to obtain a playback performance test result of the audio device 1042 to be tested. Another optional method is: data modeling is performed on the original audio data and the recorded audio data, and a comparative analysis is performed based on the data modeling to obtain a playback performance test result of the audio device 1042 to be tested. Another optional method is: using machine learning or deep learning technology to compare and analyze the original audio data and the recorded audio data to obtain a playback performance test result of the audio device 1042 to be tested. There is no limitation here.

[0138] Figure 3 FIG. 1 shows a schematic diagram of a structure of an audio performance test system for testing playback performance provided by an embodiment of the present specification, such as Figure 3 As shown:

[0139] The main control device 102 starts the recording performance test;

[0140] The audio device 1042 under test performs an audio playback operation to play original audio data;

[0141] The reference audio device 1044 performs an audio recording operation to record the original audio data played by the reference audio device 1044 to obtain recorded audio data;

[0142] The main control device 102 compares and analyzes the original audio data and the recorded audio data to obtain a test result of the playback performance of the audio device 1042 to be tested.

[0143] In the embodiments of the present specification, the automated audio performance testing system realizes automated testing of the playback performance of the audio device to be tested, improves the consistency of the playback performance test results, and improves the playback test efficiency.

[0144] In an optional embodiment of the present specification, the audio data includes original audio data for performing audio playback and recorded audio data for performing audio recording;

[0145] The main control device 102 is specifically used to extract audio features of the original audio data and the recorded audio data, perform comparative analysis based on the audio features, and obtain performance test results of the audio device 1042 to be tested.

[0146] Exemplarily, the audio features of the original audio data are quantitative or qualitative features of the original audio data, which are used to understand the characteristics of the original audio data in terms of frequency response, dynamic range, harmonic structure, transient characteristics, phase relationship and noise level, and provide a benchmark for comparative analysis. The quality and fidelity of the recorded audio data are evaluated in the comparative analysis, reflecting the audio performance of the audio device 104. The feature dimensions of the audio features of the original audio data include, but are not limited to, at least one of the following: frequency features, time domain features, frequency domain features, time-frequency domain features, sound quality features and spatial features, specifically:

[0147] The frequency characteristics include but are not limited to at least one of the following: frequency response, which describes the amplitude change of the audio signal at different frequencies, usually in decibels (dB), showing the gain or attenuation of the audio device at each frequency point. Bandwidth, the frequency range of the audio signal.

[0148] The time domain features include but are not limited to at least one of the following: amplitude, the maximum strength or loudness of the audio signal; transient response, the ability of the audio system to respond to sudden signal changes, that is, the rise and fall speed of the signal; and duration, the length of time the sound lasts.

[0149] The frequency domain features include but are not limited to at least one of the following: spectral density, the energy distribution of the audio signal, usually displayed on the frequency axis. Harmonics, the integer multiple frequency components of the audio signal other than the fundamental frequency. Fundamental frequency, the lowest frequency in a complex sound, usually corresponding to the perceived pitch.

[0150] The time-frequency domain features include but are not limited to at least one of the following: Short Time Frequency Transform (STFT) features, which provide the frequency composition of the signal at different time points and are often used to analyze non-stationary signals; Mel-frequency cepstral coefficient features.

[0151] The sound quality features include but are not limited to at least one of the following: Total harmonic distortion (THD), which measures the amplitude of the additional harmonic components in the audio signal relative to the fundamental wave, and is used to evaluate the purity of the audio device. Signal-to-noise ratio (SNR), which is the ratio of the average power of the audio signal to the average power of the noise, reflects the clarity of the signal.

[0152] The spatial features include but are not limited to at least one of the following: stereo separation, the signal independence between channels in two-channel or more-channel recordings, reflecting the clarity of the stereo effect. Phase, the time difference between different frequency components reaching the listener's ears, affects the sense of location of the sound.

[0153] The audio features of the recorded audio data are quantitative or qualitative features of the recorded audio data, which are used to understand the characteristics of the recorded audio data in terms of frequency response, dynamic range, harmonic structure, transient characteristics, phase relationship and noise level, and to evaluate the quality and fidelity of the recorded audio data in comparative analysis, reflecting the audio performance of the audio device 104. The feature dimensions of the audio features of the recorded audio data include but are not limited to at least one of the following: frequency features, time domain features, frequency domain features, time-frequency domain features, sound quality features and spatial features. The feature dimensions of the audio features of the recorded audio data and the original audio data remain the same, and please refer to the audio features of the original audio data above for details, which will not be repeated here.

[0154] An optional method for extracting audio features of the original audio data and the recorded audio data is to extract the audio features of the original audio data and the recorded audio data based on feature dimensions of preset audio features, wherein the feature dimensions refer to the above description and are not repeated here.

[0155] Based on the audio features, comparative analysis is performed to obtain the performance test results of the audio device 1042 to be tested. One optional method is: based on the audio features, the audio similarity between the original audio data and the recorded audio data is calculated, and based on the audio similarity between the original audio data and the recorded audio data, the audio data is comparatively analyzed to obtain the performance test results of the audio device 1042 to be tested. Another optional method is: using machine learning or deep learning technology to perform comparative analysis based on audio features to obtain the performance test results of the audio device 1042 to be tested. Another optional method is: using statistical algorithms to perform comparative analysis on audio features to obtain the performance test results of the audio device 1042 to be tested, which are not limited here.

[0156] In the embodiment of this specification, the main control device 102 extracts audio features of the original audio data and the recorded audio data, and performs comparative analysis based on the audio features, thereby achieving high-quality testing of the audio performance of the audio device and improving the accuracy of the audio test.

[0157] In an optional embodiment of the present specification, the main control device 102 is specifically used to extract the time spectrum characteristics of the original audio data, extract the time spectrum characteristics of the recorded audio data, calculate the audio similarity between the original audio data and the recorded audio data based on the time spectrum characteristics of the original audio data and the time spectrum characteristics of the recorded audio data, and compare and analyze the audio data based on the audio similarity between the original audio data and the recorded audio data to obtain the performance test result of the audio device 1042 to be tested.

[0158] Exemplarily, the time-frequency spectrum feature of the original audio data is the audio feature of the original audio data in the time-frequency domain, which integrates the time change and frequency distribution information of the signal, is used to understand the dynamic characteristics of the original audio data, provides a reference input for audio similarity calculation, evaluates the dynamic quality and dynamic fidelity of the recorded audio data in the comparative analysis, and reflects the audio performance of the audio device 104. The time-frequency spectrum feature of the original audio data includes but is not limited to the following: short-time Fourier feature and Mel cepstral coefficient feature.

[0159] The temporal spectrum feature of the recorded audio data is the audio feature of the recorded audio data in the time-frequency domain, which integrates the time variation and frequency distribution information of the signal, is used to understand the dynamic characteristics of the recorded audio data, provides a reference input for audio similarity calculation, evaluates the dynamic quality and dynamic fidelity of the recorded audio data in comparative analysis, and reflects the audio performance of the audio device 104. The temporal spectrum feature of the recorded audio data includes but is not limited to the following: short-time Fourier feature and Mel cepstrum feature.

[0160] The audio similarity between the original audio data and the recorded audio data is to quantitatively evaluate the feature similarity between the original audio data and the recorded audio data by comparing their audio features (time-spectrum features). The audio similarity is usually represented by a numerical value. The higher the numerical value, the more similar the original audio data and the recorded audio data are, the higher the quality and the higher the fidelity, which further reflects that the recording performance or the playback performance of the audio device 1042 under test is better. The audio similarity includes but is not limited to at least one of the following: Euclidean distance, cosine similarity and correlation coefficient.

[0161] Optionally, the original audio data is a sine wave signal, such as Figure 4 shown. Figure 4 A schematic diagram of original audio data provided by an embodiment of this specification is shown:

[0162] The original audio data is a sine wave signal with a frequency of 1000 Hz.

[0163] The following formula is used to extract the Mel-frequency cepstrum features of the original audio data and the recorded audio data, which is a nonlinear feature:

[0164] mel(f)=2595log10(1+700f) Formula 2

[0165] Where f is the linear frequency of the audio data in Hertz (Hz). 700f is the frequency conversion factor, which is used to adjust the frequency to a suitable range for subsequent logarithmic calculations. (1+700f) ensures that the input of the logarithmic function is always greater than 1, avoiding the undefined problem of the logarithmic function at 0 or negative numbers. log10(1+700f) uses a logarithmic function with a base of 10 to compress the frequency range, reflecting the nonlinear perception of human hearing to frequency. 2595 is a constant used to scale the value of the Mel-cepstral feature so that the converted Mel-cepstral feature has a reasonable proportional relationship with the Hertz frequency.

[0166] The extracted time spectrum characteristics of the original audio data and the time spectrum characteristics of the recorded audio data are reflected in the spectrum as follows Figure 5 shown. Figure 5 The following is a rendering of an audio feature provided by an embodiment of this specification:

[0167] Figure 5 Two time-frequency spectrum feature graphs are shown, representing the time-frequency spectrum features of the original audio data and the recorded audio data. The horizontal axis represents time, and the color depth represents the frequency intensity at a specific time point.

[0168] The temporal spectrum characteristics of the original audio data are shown in the left figure, and the temporal spectrum characteristics of the recorded audio data are shown in the right figure.

[0169] The feature similarity between the time spectrum features of the original audio data and the time spectrum features of the recorded audio data is calculated and used as the audio similarity between the original audio data and the recorded audio data.

[0170] In the embodiment of the present specification, the main control device 102 extracts the time spectrum characteristics of the original audio data, extracts the time spectrum characteristics of the recorded audio data, calculates the audio similarity between the original audio data and the recorded audio data based on the time spectrum characteristics of the original audio data and the time spectrum characteristics of the recorded audio data, and performs comparative analysis based on the audio similarity, thereby achieving higher quality testing of the audio performance of the audio device and further improving the accuracy of the audio test.

[0171] Due to the limitations of various factors such as environmental changes, noise influence, and equipment working status, it is necessary to use statistical methods to calculate the audio similarity multiple times to determine the target audio similarity and further ensure the accuracy of the audio performance test.

[0172] In an optional embodiment of the present specification, the original audio data and the recorded audio data are at least one pair;

[0173] The test unit is also used to count the audio similarities between the original audio data and the recorded audio data to obtain the target audio similarity, and based on the target audio similarity, perform comparative analysis on the audio data to obtain the performance test results of the audio device 1042 under test.

[0174] Exemplarily, the target audio similarity is the statistical audio similarity between each original audio data and the recorded audio data, which is a comprehensive evaluation index that takes into account the limitations of different factors such as environmental changes, noise influence, device working status, etc. It can be used to measure the overall audio performance of the audio device 1042 under test, such as the quality of playback and recording.

[0175] The audio similarities between each original audio data and the recorded audio data are counted to obtain the target audio similarity. An optional method is: counting the average audio similarities between each original audio data and the recorded audio data to obtain the target audio similarity. Another optional method is: determining the maximum audio similarity between each original audio data and the recorded audio data to obtain the target audio similarity. Another optional method is: calculating the median audio similarity between each original audio data and the recorded audio data to obtain the target audio similarity. There is no limitation here.

[0176] Based on the target audio similarity, the audio data is compared and analyzed to obtain the performance test result of the audio device 1042 to be tested. One optional method is: based on the target audio similarity and the similarity range corresponding to multiple preset performance test results, the performance test result of the audio device 1042 to be tested is determined from multiple preset performance test results. Another optional method is: according to the target audio similarity and the preset scoring criteria, the audio device 1042 to be tested is scored, and then its performance test result is determined according to the score. Another optional method is: comparing the target audio similarity with the target audio similarities of other similar devices to determine the performance ranking of the audio device 1042 to be tested, which is not limited here.

[0177] For example, in a relatively quiet indoor environment (0-20 dB), the target audio similarity exceeds 0.95, and the performance test result of the audio device 1042 to be tested is determined as: "The sound playback and recording quality are good."

[0178] In the embodiments of this specification, a statistical method is used to determine the target audio similarity to complete the comparative analysis, reducing the interference of different factors such as environmental changes, noise influences, and equipment working status, achieving higher quality testing of the audio performance of the audio device, and further improving the accuracy of the audio test.

[0179] Optionally, taking a RISC-V processor as an example of an audio device to be tested, Figure 6A schematic diagram of the structure of another audio performance test system provided by an embodiment of the present specification is shown, wherein the audio performance test system 60 includes a main control device 602, a RISC-V processor 604 and a reference audio device 606, wherein the RISC-V processor 604 includes a RISC-V compilation unit 6042 and a RISC-V processing unit 6044;

[0180] A master control device 602, configured to send a first test instruction to a RISC-V processor 604, and to send a second test instruction to a reference audio device 606, wherein the first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback;

[0181] A RISC-V compiling unit 6042, configured to receive a first test instruction and compile the first test instruction into a first test instruction stream;

[0182] The RISC-V processing unit 6044 is used to run the first test instruction stream and perform corresponding audio playback or audio recording;

[0183] The reference audio device 606 is used to perform corresponding audio recording or audio playback in response to the second test instruction;

[0184] The main control device 602 is also used to obtain audio data from the RISC-V processor 604 and the reference audio device 606, compare and analyze the audio data, and obtain performance test results of the RISC-V processor 604.

[0185] Exemplarily, the main control device 602 is a core device for controlling the test process and performing comparative analysis on audio data in the audio performance test system 60. The main control device 602 can be a host computer such as a computer, a server, or a dedicated test controller, which has the functions of generating and sending test instructions, receiving audio data, and performing comparative analysis. For example, the main control device 602 can be a computer running an audio performance test routine, which includes functional modules for generating and sending test instructions, receiving audio data, and performing comparative analysis.

[0186] RISC-V processor 604 is a processor core based on RISC-V instruction set architecture, used to handle audio-related tasks, such as audio playback or recording. It includes two main components: RISC-V compilation unit 6042 and RISC-V processing unit 6044. In the audio performance test system 60, RISC-V processor 604 is the device under test (DUT) whose audio performance is evaluated in the audio performance test system 60. It is used to simulate the audio processing behavior in the actual application scenario and verify whether its performance indicators meet expectations through testing. RISC-V processor 604 is the main target of the audio test system 60 for testing.

[0187] The RISC-V compiling unit 6042 is a component of the RISC-V processor 604, and is responsible for converting the first test instruction in the form of a high-level language or an intermediate language into a first test instruction stream that can be directly executed by the processor. The function of the RISC-V compiling unit 6042 is to convert human-readable instructions into machine code so that the RISC-V processing unit 6044 can perform corresponding operations.

[0188] The RISC-V processing unit 6044 is another component of the RISC-V processor 604, which directly executes the first test instruction stream compiled by the RISC-V compilation unit 6042. The RISC-V processing unit 6044 is responsible for processing actual data and executing instructions, such as audio decoding, playback or recording.

[0189] Optionally, the RISC-V compilation unit 6042 and the RISC-V processing unit 6044 are connected via a bus interface. The machine code compiled by the RISC-V compilation unit 6042 is transmitted to the RISC-V processing unit 6044 via the bus interface, and the RISC-V processing unit 6044 reads and executes these instructions via the bus, thereby achieving efficient instruction transmission and execution. Specifically, this method ensures seamless connection from compilation to execution, and improves the efficiency and performance of audio processing.

[0190] Optionally, Figure 7 FIG. 1 shows a flow chart of a RISC-V processor in an audio performance test system provided by an embodiment of the present specification, such as Figure 7 As shown:

[0191] First, the audio performance test logic is implemented. Then, the RISC-V compilation unit compiles the first test instruction into a first test instruction stream. Then, the RISC-V processing unit runs the first test instruction stream to perform corresponding audio playback or audio recording.

[0192] The reference audio device 606 is a reference test equipment (ATE) used to assist the test process in the audio performance test system 60. The reference audio device 606 is calibrated, and its performance parameters are known and stable. The reference audio device 606 is used as a benchmark for audio performance testing and is compared with the audio performance of the RISC-V processor 604 for reference. The reference audio device 606 includes but is not limited to at least one of the following: a speaker, a microphone, an audio interface, an intelligent speaker, a voice recognition device, and a telephone. When testing the RISC-V processor 604, a professionally calibrated microphone is used as a reference audio device 606 to record the audio data output by the RISC-V processor 604 for comparison and analysis with the audio data output by the RISC-V processor 604. Alternatively, when testing the RISC-V processor 604, a professionally calibrated speaker is used as a reference audio device 606 to play an audio device for comparison and analysis with the audio data output by the speaker recorded by the RISC-V processor 604.

[0193] The first test instruction is an instruction sent by the master device 602 to the RISC-V processor 604, which is used to instruct the RISC-V processor 604 to perform a specific audio task, including but not limited to: playing audio or recording audio. These instructions are usually designed for the specific functions of the device under test. The second test instruction is an instruction sent by the master device 602 to the reference audio device 606, which is used to instruct the reference audio device 606 to perform a specific audio task, including but not limited to: playing audio or recording audio. These instructions are used in conjunction with the first test instruction to complete the test process together.

[0194] The first test instruction stream is a set of specific processor instructions compiled by the RISC-V compilation unit 6042 from the first test instruction. The first test instruction stream includes necessary steps to enable the RISC-V processing unit 6044 to perform functions such as playing audio or recording audio. For example, the first test instruction stream includes the following steps: loading an audio file, decoding audio data, configuring DAC parameters, starting to play audio, etc.

[0195] In the embodiments of this specification, automated testing of the audio performance of the RISC-V processor is implemented, the consistency of the test results is improved, and the test efficiency is improved.

[0196] The above is a schematic scheme of an audio performance test system of this embodiment. It should be noted that the technical scheme of the audio performance test system is similar to the above Figure 1 - Figure 5 The technical solution of the audio performance test system of the same concept belongs to the same concept. For details not described in detail in the technical solution of the audio performance test system, please refer to the above Figure 1 - Figure 5Description of the technical solution of the audio performance test system.

[0197] Optionally, take the IP core architecture device as the audio device to be tested as an example, Figure 8 A schematic diagram of the structure of another audio performance test system provided by an embodiment of the present specification is shown, wherein the audio performance test system 80 includes a main control device 802, an IP core architecture device 804 and a reference audio device 806, wherein the IP core architecture device 804 includes an IP user state interface 8042 and an IP core driver unit 8044;

[0198] A master control device 802 is used to send a first test instruction to the IP core architecture device 804, and send a second test instruction to the reference audio device 806, wherein the first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback;

[0199] The IP user state interface 8042 is used to respond to the first test instruction, run the audio test application, call the IP kernel driver unit 8044, and perform corresponding audio playback or audio recording;

[0200] The reference audio device 806 is used to perform corresponding audio recording or audio playback in response to the second test instruction;

[0201] The main control device 802 is also used to obtain audio data from the IP core architecture device 804 and the reference audio device 806 , compare and analyze the audio data, and obtain performance test results of the IP core architecture device 804 .

[0202] Exemplarily, the main control device 802 is a core device in the audio performance test system 80 for controlling the test process and performing comparative analysis on audio data. The main control device 802 can be a host computer such as a computer, a server, or a dedicated test controller, which has the functions of generating and sending test instructions, receiving audio data, and performing comparative analysis. For example, the main control device 802 can be a computer running an audio performance test routine, which includes functional modules for generating and sending test instructions, receiving audio data, and performing comparative analysis.

[0203] The IP core architecture device 804 is an audio processing device designed based on IP core technology, which can perform functions such as audio playback and / or audio recording. The IP core architecture device 804 is usually composed of two parts, hardware and software. The hardware part implements basic audio processing logic, while the software part is responsible for controlling the hardware and implementing application logic. In the audio performance test system 80, the IP core architecture device 804 is the object to be tested, and its performance is evaluated by comparing with the reference audio device 806.

[0204] The IP user state interface 8042 is a part of the IP core architecture device 804, located in the user state space, and is responsible for receiving the first test instruction from the main control device 802, and calling the IP core driver unit 8044 to perform the corresponding audio playback or audio recording. The IP user state interface 8042 provides an application programming interface (API) so that external programs can interact with the IP core architecture device 804.

[0205] The IP core driver unit 8044 is a part of the IP core architecture device 804, located in the kernel state space, and is responsible for directly interacting with the hardware to perform specific audio playback or audio recording. The IP core driver unit 8044 controls the hardware according to the instructions transmitted by the IP user state interface 8042, such as configuring decoder parameters, starting audio playback, etc.

[0206] Optionally, the IP user state interface 8042 and the IP kernel driver unit 8044 are connected by means of operating system calls. The IP user state interface 8042 passes the application's request to the IP kernel driver unit 8044 through the system call, and the IP kernel driver unit 8044 returns the result to the user state interface through the system call. This implements secure and efficient communication between the application and the hardware, ensures that the application can safely access the hardware resources, and also maintains the stability and security of the system.

[0207] Fig. 9 FIG. 1 shows a structural diagram of an IP core architecture device provided by an embodiment of the present specification, such as Fig. 9 As shown:

[0208] The IP core architecture of a general RISC-V CPU includes two spaces: user state and kernel state.

[0209] In the user state space, by running the audio test application and calling the IP kernel driver unit, the system sequentially calls the kernel state driver unit, the sound card driver unit, the direct memory access driver unit, the integrated circuit device sound interface, the codec, and the power amplifier driver unit in the kernel state space to perform audio playback or audio recording, and then passes the execution results to the audio test application for feedback.

[0210] Fig. 9 The relevant operation instructions of the audio test are completed on the IP core architecture of a single general-purpose RISC-V CPU.

[0211] Fig.10 FIG. 1 shows a structural diagram of another IP core architecture device provided by an embodiment of the present specification, such as Fig.10 As shown:

[0212] The IP core architecture of the high-performance RISC-V CPU and the IP core architecture of the low-power RISC-V CPU both include two spaces: user state and kernel state.

[0213] In the user state space of the IP core architecture of the high-performance RISC-V CPU, by running the audio test application, the IP core driver unit is called, and the system sequentially calls the kernel state driver unit, the sound card driver unit, the remote procedure call message bus driver unit, and the mailbox driver unit in the kernel state space to control the IP core architecture of the low-power RISC-V CPU in the kernel state space, and sequentially calls the mailbox driver unit, the direct memory access driver unit, the integrated circuit device sound interface, the codec, and the power amplifier driver unit to perform audio playback or audio recording, and then passes the execution result to the audio test application after obtaining the feedback.

[0214] Fig.10 The relevant operation instructions of the audio frequency test are specifically executed on the IP core architecture of the low-power general-purpose RISC-V CPU. The IP core architecture of the high-performance RISC-V CPU completes the remote call to the IP core architecture of the low-power RISC-V CPU, realizing power consumption optimization.

[0215] The reference audio device 806 is a reference test equipment (ATE) used to assist the test process in the audio performance test system 80. The reference audio device 806 is calibrated, and its performance parameters are known and stable. The reference audio device 806 is used as a benchmark for audio performance testing and is compared with the audio performance of the IP core architecture device 804 for reference. The reference audio device 806 includes but is not limited to at least one of the following: a speaker, a microphone, an audio interface, an intelligent speaker, a voice recognition device, and a telephone. When testing the IP core architecture device 804, a professionally calibrated microphone is used as a reference audio device 806 to record the audio data output by the IP core architecture device 804 for comparison and analysis with the audio data output by the IP core architecture device 804. Alternatively, when testing the IP core architecture device 804, a professionally calibrated speaker is used as a reference audio device 806 to play the audio device for comparison and analysis with the audio data output by the speaker recorded by the IP core architecture device 804.

[0216] The audio test application is a software application running on the IP user state interface 8042, which is responsible for receiving the first test instruction of the main control device 802, and controlling the IP core architecture device 804 to perform the corresponding audio playback or recording task through the IP core driver unit 8044. The audio test application can be an independent software program or a part of a test suite for automating the test process. The audio test application interacts with the hardware by calling the application program interface provided by the IP core driver unit 8044, executes the test case, and collects the test results. The audio test application also needs to be able to process the test results and pass them to the main control device 802 for further analysis.

[0217] In the embodiments of this specification, automated testing of the audio performance of IP core architecture devices is implemented, the consistency of test results is improved, and the test efficiency is improved.

[0218] The above is a schematic scheme of an audio performance test system of this embodiment. It should be noted that the technical scheme of the audio performance test system is similar to the above Figure 1 - Figure 5 The technical solution of the audio performance test system of the same concept belongs to the same concept. For details not described in detail in the technical solution of the audio performance test system, please refer to the above Figure 1 - Figure 5 Description of the technical solution of the audio performance test system.

[0219] Optionally, taking an embedded device as an audio device to be tested as an example, Fig.11 A schematic diagram of the structure of another audio performance test system provided by an embodiment of the present specification is shown. The audio performance test system 110 includes a main control device 1102, an embedded device 1104 and a reference audio device 1106. The embedded device 1104 includes a system-level chip 11042, a memory chip 11044 and a power management chip 11046;

[0220] A master control device 1102, configured to send a first test instruction to an embedded device 1104, and to send a second test instruction to a reference audio device 1106, wherein the first test instruction is configured to perform audio playback and the second test instruction is configured to perform audio recording, or the first test instruction is configured to perform audio recording and the second test instruction is configured to perform audio playback;

[0221] The system-level chip 11042 is used to control the memory chip 11044 and / or the power management chip 11046 to perform corresponding audio playback or audio recording in response to the first test instruction;

[0222] The reference audio device 1106 is used to perform corresponding audio recording or audio playback in response to the second test instruction;

[0223] The main control device 1102 is also used to obtain audio data from at least two audio devices, compare and analyze the audio data, and obtain performance test results of the system-level chip 11042.

[0224] Exemplarily, the main control device 1102 is a core device in the audio performance test system 110 for controlling the test process and performing comparative analysis on audio data. The main control device 1102 can be a host computer such as a computer, a server, or a dedicated test controller, which has the functions of generating and sending test instructions, receiving audio data, and performing comparative analysis. For example, the main control device 1102 can be a computer running an audio performance test routine, which includes functional modules for generating and sending test instructions, receiving audio data, and performing comparative analysis.

[0225] The embedded device 1104 is a computer system specially designed to perform specific functions, and generally includes one or more processors and necessary hardware and software components to support specific application scenarios. In the audio performance test system 110, the embedded device 1104 is used as the audio device to be tested. It includes key components such as a system-level chip 11042, a memory chip 11044, and a power management chip 11046, which are used to perform functions such as audio playback and / or audio recording.

[0226] The system-level chip 11042 is an integrated circuit chip that integrates necessary electronic circuits and components, including a central processing unit (CPU), a graphics processing unit (GPU), a memory control unit, an input / output interface, and other peripheral units to form a complete system on a chip. In the audio performance test system 110, the system-level chip 11042 is the core component of the embedded device 1104, responsible for processing audio data, controlling the memory chip 11044 and the power management chip 11046, and performing audio playback and / or recording tasks. For example, a system-level chip using the RISC-V architecture, which is known for its simplicity and efficiency, is very suitable for embedded applications.

[0227] The memory chip 11044 is a semiconductor chip for storing data. It is one of the important components of the embedded device 1104 and is used to temporarily store the running programs and data. In the audio performance test system 110, the memory chip 11044 provides the necessary temporary storage space for storing the audio data being processed, the intermediate calculation results, etc. For example, a double data rate (DDR) dynamic random access memory (DRAM) chip, this type of memory has a high read and write speed and a large capacity, which is suitable for high-speed processing of audio data.

[0228] The power management chip 11046 is an integrated circuit chip specially designed to monitor and control the power supply in embedded devices. The power management chip is responsible for regulating and distributing power to ensure that the system can obtain a stable power supply under various working conditions, and can effectively manage power consumption and extend battery life. In the audio performance test system 110, the power management chip 11046 is an important component of the embedded device 1104. It is responsible for providing a stable power supply to the system-level chip 11042 and other components, and managing the power consumption of the entire system. For example, the power management chip 11046 is a PMIC (Power Management Integrated Circuit) chip, which can provide a variety of power management functions, such as voltage regulation, battery charging management, power path management, etc. The PMIC chip can integrate a variety of power management functions, such as DC-DC converters, LDO regulators, charging controllers, power sequencing logic, etc. These functions are essential to ensure stability and reliability during audio playback or recording.

[0229] Optionally, efficient communication and data exchange are achieved between the system-level chip 11042, the memory chip 11044 and the power management chip 11046 through a bus interface (for example, Advanced eXtensible Interface (AMBAAXI) or Advanced Peripheral Bus (APB)).

[0230] Fig.12 A structural diagram of an embedded device provided by an embodiment of this specification is shown. Fig.12 As shown:

[0231] The embedded devices include RISC-V architecture system-level chips, double data type dynamic random access memory chips and power management integrated circuit chips.

[0232] Among them, the system-level chip of the RISC-V architecture responds to the first test instruction to control the double data type dynamic random access storage chip and / or the power management integrated circuit chip to perform corresponding audio playback or audio recording.

[0233] The reference audio device 1106 is a reference test equipment (ATE) used to assist the test process in the audio performance test system 110. The reference audio device 1106 is calibrated, and its performance parameters are known and stable. The reference audio device 1106 is used as a benchmark for audio performance testing and is compared with the audio performance of the system-level chip 11042 for reference. The reference audio device 1106 includes but is not limited to at least one of the following: a speaker, a microphone, an audio interface, an intelligent speaker, a voice recognition device, and a telephone. When testing the system-level chip 11042, a professionally calibrated microphone is used as a reference audio device 1106 to record the audio data output by the system-level chip 11042 for comparison and analysis with the audio data output by the system-level chip 11042. Alternatively, when testing the system-level chip 11042, a professionally calibrated speaker is used as a reference audio device 1106 to play the audio device for comparison and analysis with the audio data output by the speaker recorded by the system-level chip 11042.

[0234] In the embodiments of the present specification, automated testing of the audio performance of embedded devices is implemented, the consistency of test results is improved, and the test efficiency is improved.

[0235] The above is a schematic scheme of an audio performance test system of this embodiment. It should be noted that the technical scheme of the audio performance test system is similar to the above Figure 1 - Figure 5 The technical solution of the audio performance test system of the same concept belongs to the same concept. For details not described in detail in the technical solution of the audio performance test system, please refer to the above Figure 1 - Figure 5 Description of the technical solution of the audio performance test system.

[0236] See also Fig.13 , Fig.13 A flowchart of an audio performance test method provided by an embodiment of the present specification is shown. The method is applied to an audio performance test system. The audio performance test system includes a main control device and at least two audio devices. The at least two audio devices include an audio device to be tested and a reference audio device. The method includes the following specific steps:

[0237] Step 1302: The master control device sends a test instruction to at least two audio devices.

[0238] Step 1304: at least two audio devices execute target operations in response to the test instruction, wherein the target operations include audio playback and audio recording, and the target operations executed by the audio device to be tested and the reference audio device are different.

[0239] Step 1306: The main control device obtains audio data of at least two audio devices, compares and analyzes the audio data, and obtains performance test results of the audio device to be tested.

[0240] The present specification provides a schematic scheme of an audio performance test method. It should be noted that the technical scheme of the audio performance test method and the technical scheme of the above-mentioned audio performance test system are of the same concept, and the specific details of steps 1302 to 1306 can be found in the description of the technical scheme of the above-mentioned audio performance test system, which will not be repeated here.

[0241] In the embodiments of the present specification, the automated audio performance testing method realizes automated testing of the audio performance of an audio device, improves the consistency of the test results, and improves the test efficiency.

[0242] The above is a schematic scheme of an audio performance test method of this embodiment. It should be noted that the technical scheme of the audio performance test method and the technical scheme of the above-mentioned audio performance test system belong to the same concept, and the details not described in detail in the technical scheme of the audio performance test method can be referred to the description of the technical scheme of the above-mentioned audio performance test system.

[0243] See also Fig.14 , Fig.14 A flowchart of another audio performance test method provided by an embodiment of the present specification is shown. The method is applied to a main control device of an audio performance test system. The audio performance test system also includes at least two audio devices. The at least two audio devices include an audio device to be tested and a reference audio device. The method includes the following specific steps:

[0244] Step 1402: Send a test instruction to at least two audio devices.

[0245] Step 1404: Acquire audio data of at least two audio devices, wherein the audio data is obtained by at least two audio devices executing target operations in response to the test instruction, the target operations include audio playback and audio recording, and the target operations executed by the audio device to be tested and the reference audio device are different.

[0246] Step 1406: Perform comparative analysis on the audio data to obtain performance test results of the audio device to be tested.

[0247] The present specification provides a schematic scheme of an audio performance test method. It should be noted that the technical scheme of the audio performance test method and the technical scheme of the above-mentioned audio performance test system are of the same concept, and the specific details of steps 1402 to 1406 can be found in the description of the technical scheme of the above-mentioned audio performance test system, which will not be repeated here.

[0248] In the embodiments of the present specification, the automated audio performance testing method realizes automated testing of the audio performance of an audio device, improves the consistency of the test results, and improves the test efficiency.

[0249] In an optional embodiment of the present specification, the audio data includes original audio data for performing audio playback and recorded audio data for performing audio recording;

[0250] Correspondingly, step 1406 includes the following specific steps: extracting audio features of the original audio data and the recorded audio data; performing comparative analysis based on the audio features to obtain performance test results of the audio device to be tested.

[0251] A schematic scheme of an audio performance test method in an embodiment of this specification. It should be noted that the technical scheme of the audio performance test method and the technical scheme of comparative analysis based on audio features in the above-mentioned audio performance test system belong to the same concept, and the specific details of each step can be found in the description of the technical scheme of the above-mentioned audio performance test system, which will not be repeated here.

[0252] In the embodiments of this specification, audio features of original audio data and recorded audio data are extracted, and comparative analysis is performed based on the audio features, thereby achieving high-quality testing of the audio performance of the audio device and improving the accuracy of the audio test.

[0253] In an optional embodiment of the present specification, extracting audio features of original audio data and recorded audio data includes the following specific steps: extracting time spectrum features of the original audio data, extracting time spectrum features of the recorded audio data;

[0254] Correspondingly, performing comparative analysis based on audio features to obtain performance test results of the audio device to be tested includes the following specific steps: calculating the audio similarity between the original audio data and the recorded audio data based on the time spectrum features of the original audio data and the time spectrum features of the recorded audio data; performing comparative analysis on the audio data based on the audio similarity between the original audio data and the recorded audio data to obtain the performance test results of the audio device to be tested.

[0255] A schematic scheme of an audio performance test method in an embodiment of this specification. It should be noted that the technical scheme of the audio performance test method and the technical scheme of comparative analysis based on time spectrum characteristics in the above-mentioned audio performance test system belong to the same concept, and the specific details of each step can be found in the description of the technical scheme of the above-mentioned audio performance test system, which will not be repeated here.

[0256] In the embodiments of the present specification, time spectrum features of original audio data are extracted, time spectrum features of recorded audio data are extracted, audio similarity between the original audio data and the recorded audio data is calculated based on the time spectrum features of the original audio data and the time spectrum features of the recorded audio data, and a comparative analysis is performed based on the audio similarity, thereby achieving higher quality testing of the audio performance of the audio device and further improving the accuracy of the audio test.

[0257] In an optional embodiment of the present specification, the original audio data and the recorded audio data are at least one pair;

[0258] Performing comparative analysis based on audio features to obtain performance test results of the audio device to be tested includes the following specific steps: counting the audio similarities between each original audio data and the recorded audio data to obtain target audio similarity; performing comparative analysis on the audio data based on the target audio similarity to obtain performance test results of the audio device to be tested.

[0259] A schematic scheme of an audio performance test method in an embodiment of this specification. It should be noted that the technical scheme of the audio performance test method and the technical scheme of performing comparative analysis on the audio similarities between the original audio data and the recorded audio data in the above-mentioned audio performance test system belong to the same concept, and the specific details of each step can be found in the description of the technical scheme of the above-mentioned audio performance test system, which will not be repeated here.

[0260] In the embodiments of this specification, a statistical method is used to determine the target audio similarity to complete the comparative analysis, reducing the interference of different factors such as environmental changes, noise influences, and equipment working status, achieving higher quality testing of the audio performance of the audio device, and further improving the accuracy of the audio test.

[0261] In an optional embodiment of the present specification, step 1402 includes the following specific steps: in response to the test party sending an audio performance test instruction, sending a test instruction to at least two audio devices;

[0262] After step 1406, the following specific step is also included: feeding back the performance test results to the test party.

[0263] The tester is an individual user or corporate unit with audio performance testing needs, such as mobile phone manufacturers, audio manufacturers, headphone manufacturers, etc.

[0264] The performance test results may be fed back to the test party in the form of a text report, in the form of a chart, or in the form of a video demonstration, without limitation herein.

[0265] In the embodiments of this specification, the performance test of the audio device is completed in an interactive form, and the test results are fed back to the test party in a timely manner, thereby improving the test efficiency, meeting the needs of the test party, and enhancing the user experience.

[0266] The above is a schematic scheme of an audio performance test method of an embodiment of this specification. It should be noted that the technical scheme of the audio performance test method and the technical scheme of the above-mentioned audio performance test system belong to the same concept, and the details not described in detail in the technical scheme of the audio performance test method can be referred to the description of the technical scheme of the above-mentioned audio performance test system.

[0267] The following combination Fig.15 Taking the application of the audio performance test method provided in this specification in an embedded device as an example, the audio performance test system is further described. Fig.15 A schematic diagram of the deployment of an audio performance test method for an embedded device provided by an embodiment of this specification is shown. Fig.15 As shown:

[0268] The audio performance test system includes: a host computer, an audio playback controller and an embedded device. The embedded device includes a playback unit and a recording unit. The audio playback controller is electrically connected to a high-fidelity speaker and a high-fidelity microphone. The host computer serves as the main control device, wherein the host computer controls the completion of the recording performance test and the playback performance test. The audio playback controller, the high-fidelity speaker and the high-fidelity microphone constitute the reference audio device, and the embedded device is the audio device to be tested.

[0269] In the recording performance test, the audio playback controller records the original audio data played by the playback unit of the embedded device through a high-fidelity microphone to obtain recorded audio data; in the playback performance test, the recording unit of the embedded device records the original audio data played by the audio playback controller through the high-fidelity speaker to obtain recorded audio data.

[0270] In the embodiments of this specification, automated, high-quality testing of the recording performance and audio performance of embedded devices is achieved, the consistency of test results is improved, and the test efficiency is improved.

[0271] Fig.16The structure block diagram of a main control device provided by an embodiment of the present specification is shown. The components of the main control device 1600 include but are not limited to a memory 1610 and a processor 1620. The processor 1620 is connected to the memory 1610 via a bus 1630, and the database 1650 is used to store data.

[0272] The master device 1600 also includes an access device 1640, which enables the master device 1600 to communicate via one or more networks 1660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 1640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, and a Near Field Communication (NFC).

[0273] In one embodiment of the present specification, the above components of the main control device 1600 and Fig.16 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Fig.16 The main control device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0274] The control device 1600 may be any type of stationary or mobile control device, including a mobile computer or mobile control device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable control device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary control device such as a desktop computer or a personal computer (PC). The control device 1600 may also be a mobile or stationary server.

[0275] The processor 1620 is used to execute the following computer program / instructions, which implement the steps of the above-mentioned audio performance testing method when executed by the processor.

[0276] The above is a schematic scheme of a master control device of this embodiment. It should be noted that the technical scheme of the master control device and the technical scheme of the above-mentioned audio performance test method belong to the same concept, and the details of the technical scheme of the master control device that are not described in detail can be found in the description of the technical scheme of the above-mentioned audio performance test method.

[0277] An embodiment of the present specification further provides a computer-readable storage medium storing a computer program / instruction, which implements the steps of the above-mentioned audio performance testing method when executed by a processor.

[0278] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned audio performance test method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned audio performance test method.

[0279] An embodiment of the present specification also provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned audio performance testing method when executed by a processor.

[0280] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above-mentioned audio performance test method belong to the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the above-mentioned audio performance test method.

[0281] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0282] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0283] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

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

[0285] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. An audio performance test system, comprising a main control device and at least two audio devices, wherein the at least two audio devices include an audio device to be tested and a reference audio device; The main control device is used to send a test instruction to the at least two audio devices; The at least two audio devices are used to perform a target operation in response to the test instruction, wherein: The target operation includes audio playback and audio recording, and the target operation performed by the audio device under test and the reference audio device is different; The main control device is further used to obtain audio data of the at least two audio devices, compare and analyze the audio data, and obtain performance test results of the audio devices to be tested.

2. The audio performance test system according to claim 1, wherein the test instruction comprises a play instruction and a record instruction, and the performance test result comprises a recording performance test result; The master control device is specifically used to send a play instruction to the reference audio device, and send a record instruction to the audio device to be tested; The reference audio device is used to play the original audio data in response to the play instruction; The audio device under test is used to record the original audio data played by the reference audio device in response to the recording instruction to obtain recorded audio data; The main control device is further used to obtain the original audio data and the recorded audio data, compare and analyze the original audio data and the recorded audio data, and obtain a recording performance test result of the audio device to be tested.

3. The audio performance test system according to claim 1, wherein the test instruction comprises a play instruction and a record instruction, and the performance test result comprises a play performance test result; The master control device is specifically used to send a play instruction to the audio device under test, and send a record instruction to the reference audio device; The audio device to be tested is used to play the original audio data in response to the play instruction; The reference audio device is used to record the original audio data played by the audio device under test in response to the recording instruction to obtain recorded audio data; The main control device is specifically used to obtain the original audio data and the recorded audio data, compare and analyze the original audio data and the recorded audio data, and obtain a playback performance test result of the audio device to be tested.

4. The audio performance testing system according to any one of claims 1 to 3, wherein the audio data comprises original audio data for performing audio playback and recorded audio data for performing audio recording; The main control device is specifically used to extract audio features of the original audio data and the recorded audio data, perform comparative analysis based on the audio features, and obtain performance test results of the audio device to be tested.

5. According to the audio performance testing system of claim 4, the main control device is specifically used to extract the time spectrum characteristics of the original audio data, extract the time spectrum characteristics of the recorded audio data, calculate the audio similarity between the original audio data and the recorded audio data based on the time spectrum characteristics of the original audio data and the time spectrum characteristics of the recorded audio data, and based on the audio similarity between the original audio data and the recorded audio data, perform comparative analysis on the audio data to obtain the performance test result of the audio device to be tested.

6. An audio performance test system, comprising a main control device, a RISC-V processor and a reference audio device, wherein the RISC-V processor comprises a RISC-V compilation unit and a RISC-V processing unit; The master control device is used to send a first test instruction to the RISC-V processor and send a second test instruction to the reference audio device, wherein: The first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback; The RISC-V compiling unit is configured to receive the first test instruction and compile the first test instruction into a first test instruction stream; The RISC-V processing unit is used to run the first test instruction stream and perform corresponding audio playback or audio recording; The reference audio device is used to perform corresponding audio recording or audio playback in response to the second test instruction; The main control device is also used to obtain audio data from the RISC-V processor and the reference audio device, compare and analyze the audio data, and obtain performance test results of the RISC-V processor.

7. An audio performance test system, comprising a main control device, an IP core architecture device and a reference audio device, wherein the IP core architecture device comprises an IP user state interface and an IP core driver unit; The master control device is used to send a first test instruction to the IP core architecture device, and send a second test instruction to the reference audio device, wherein the first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback; The IP user state interface is used to respond to the first test instruction, run the audio test application, call the IP core driver unit, and perform corresponding audio playback or audio recording; The reference audio device is used to perform corresponding audio recording or audio playback in response to the second test instruction; The main control device is also used to obtain audio data of the IP core architecture device and the reference audio device, compare and analyze the audio data, and obtain performance test results of the IP core architecture device.

8. An audio performance test system, comprising a main control device, an embedded device and a reference audio device, wherein the embedded device comprises a system-level chip, a memory chip and a power management chip; The master control device is used to send a first test instruction to the embedded device, and send a second test instruction to the reference audio device, wherein the first test instruction is used to perform audio playback and the second test instruction is used to perform audio recording, or the first test instruction is used to perform audio recording and the second test instruction is used to perform audio playback; The system-level chip is used to control the memory chip and / or the power management chip to perform corresponding audio playback or audio recording in response to the first test instruction; The reference audio device is used to perform corresponding audio recording or audio playback in response to the second test instruction; The main control device is further used to obtain audio data of the at least two audio devices, compare and analyze the audio data, and obtain performance test results of the system-level chip.

9. An audio performance test method, applied to an audio performance test system, the audio performance test system comprising a main control device and at least two audio devices, the at least two audio devices comprising an audio device to be tested and a reference audio device, comprising: The main control device sends a test instruction to the at least two audio devices; The at least two audio devices execute a target operation in response to the test instruction, wherein the target operation includes audio playback and audio recording, and the target operation executed by the audio device to be tested and the reference audio device is different; The main control device obtains audio data of the at least two audio devices, compares and analyzes the audio data, and obtains performance test results of the audio device to be tested.

10. An audio performance test method, applied to a main control device of an audio performance test system, wherein the audio performance test system further comprises at least two audio devices, wherein the at least two audio devices comprise an audio device to be tested and a reference audio device, comprising: Sending a test instruction to the at least two audio devices; Acquire audio data of the at least two audio devices, wherein the audio data is obtained by the at least two audio devices performing a target operation in response to the test instruction, the target operation includes audio playback and audio recording, and the target operation performed by the audio device to be tested and the reference audio device is different; The audio data is compared and analyzed to obtain a performance test result of the audio device to be tested.