WO2016165056A1 - Procédé de test de carte, carte et système - Google Patents

Procédé de test de carte, carte et système Download PDF

Info

Publication number
WO2016165056A1
WO2016165056A1 PCT/CN2015/076437 CN2015076437W WO2016165056A1 WO 2016165056 A1 WO2016165056 A1 WO 2016165056A1 CN 2015076437 W CN2015076437 W CN 2015076437W WO 2016165056 A1 WO2016165056 A1 WO 2016165056A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio data
audio
preset
circuit
port
Prior art date
Application number
PCT/CN2015/076437
Other languages
English (en)
Chinese (zh)
Inventor
吉星春
易见
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580022517.3A priority Critical patent/CN106416205A/zh
Priority to PCT/CN2015/076437 priority patent/WO2016165056A1/fr
Publication of WO2016165056A1 publication Critical patent/WO2016165056A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Definitions

  • the present invention relates to the field of single board testing, and in particular, to a method, a single board and a system for testing a single board.
  • the manufacturing process of the smart phone is roughly to first manufacture the mobile phone board, and then assemble the whole machine on the basis of the mobile phone single board, and the whole machine is the final product.
  • the product needs to be tested before the product is sold.
  • the existing test method is: after assembling the whole machine, install the corresponding test software in the whole machine, and test the system and hardware of the whole machine.
  • the invention provides a method, a single board and a system for testing a single board, which are used for saving test time.
  • the present invention provides a method for single board testing, the board comprising at least one output circuit of audio data and at least one preset audio input circuit, an output port of the output circuit of the audio data and at least one The input ports of the preset audio input circuit are connected, and the method includes:
  • the outputting circuit of the audio data outputs the first audio data to the preset audio input circuit, specifically including :
  • the receiving the second audio data by using the preset audio input circuit includes:
  • a second possible implementation of the first aspect is also provided, in the first aspect
  • the second possible implementation manner, the obtaining the first audio data according to the test type carried in the test instruction, and determining an output circuit for outputting the audio data of the audio data specifically includes:
  • test type carried in the test command is an audio play type
  • preset audio data is read locally
  • the audio playback circuit is determined as an output circuit of the audio data.
  • a third possible implementation of the first aspect is also provided, in the first aspect
  • the third possible implementation manner, the obtaining the first audio data according to the test type carried in the test instruction, and determining the output circuit for outputting the audio data of the audio data specifically includes:
  • test type carried in the test command is an FM broadcast type
  • the preset test data is obtained by the first test terminal, and the first test terminal is configured to send the preset FM data to the board;
  • An audio output circuit involved in the FM broadcast function is determined as an output circuit of the audio data.
  • a fourth possible implementation of the first aspect is also provided, in the first aspect
  • the fourth possible implementation manner, the obtaining the first audio data according to the test type carried in the test instruction, and determining an output circuit for outputting the audio data of the audio data specifically includes:
  • test type carried in the test command is a voice call type
  • the second test terminal obtains the preset call content, and the second test terminal is configured to perform a voice call with the board, where the content of the voice call is Preset call content;
  • the audio output circuit involved in the voice call function is determined as an output circuit of the audio data.
  • the first aspect is further provided a fifth possible implementation manner, in a fifth possible implementation manner of the first aspect, the attribute value of the first audio data is a fixed preset frequency;
  • the present invention further provides an output circuit including at least one audio data and at least one preset audio input circuit, wherein an output port of the output circuit of the audio data and at least one of the pre- The input ports of the audio input circuit are connected, and the device comprises:
  • An obtaining unit configured to acquire first audio data according to a test type carried in the test instruction, and determine an output circuit for outputting the audio data of the first audio data
  • a first audio output unit configured to output the first audio data to the preset audio input circuit by an output circuit of the audio data determined by the acquiring unit;
  • a second audio acquiring unit configured to receive the second audio number by using the preset audio input circuit According to the second audio data, the audio data corresponding to the first audio data output by the first audio output unit received by the preset audio input circuit;
  • a fault determining unit when the difference between the attribute value of the second audio data acquired by the second audio acquiring unit and the attribute value of the first audio data acquired by the acquiring unit is greater than a preset range, determining The board has a circuit fault.
  • the first audio output unit includes:
  • a digital-to-analog conversion module configured to perform digital-to-analog conversion on the first audio data to obtain a first analog signal
  • a first analog signal output module configured to output the first analog signal to the preset audio input circuit through an output circuit of the audio data
  • the second audio acquiring unit includes:
  • a second analog signal acquiring module configured to receive, by the preset audio input circuit, a second analog signal, where the second analog signal is received by the preset audio input circuit and output by the first analog signal output module The analog signal corresponding to the first analog signal;
  • an analog-to-digital conversion module configured to perform analog-to-digital conversion on the second analog signal acquired by the second analog signal acquisition module to obtain second audio data.
  • the acquiring unit includes:
  • a reading module configured to read preset audio data locally when the test type carried in the test instruction is an audio play type
  • a first determining module configured to determine the preset audio data as the first audio data
  • the audio playback circuit is determined as an output circuit of the audio data.
  • the acquiring unit further includes:
  • the FM data acquisition module is configured to: when the test type carried in the test command is an FM broadcast type, obtain the preset FM data by using the first test terminal, where the first test terminal is configured to send the preset to the board Frequency modulation data;
  • a third determining module configured to determine the preset FM data as the first audio data
  • An audio output circuit involved in the FM broadcast function is determined as an output circuit of the audio data.
  • the acquiring unit further includes:
  • a call content obtaining module configured to: when the test type carried in the test command is a voice call type, obtain a preset call content by using a second test terminal, where the second test terminal is configured to perform a voice call with the board.
  • the content of the voice call is the preset call content
  • a second determining module configured to determine the preset call content as the first audio data
  • the audio output circuit involved in the voice call function is determined as an output circuit of the audio data.
  • the second aspect is further provided A fifth possible implementation manner, in a fifth possible implementation manner of the second aspect, the attribute value of the first audio data is a fixed preset frequency, and the fault determining unit is specifically configured to: :
  • the present invention provides a system for testing a single board, the system comprising the apparatus and the test control apparatus of the second aspect, the test control apparatus is configured to send a test instruction to the board; The board is also used to send a comparison result to the test control device.
  • the present invention further provides a single board, the board includes a chip level system SOC and a codec device CODEC, the SOC includes an application service AP and a digital signal processor DSP connected to the AP,
  • the CODEC includes an S1 port, a port A, and a port B.
  • the port A and the port B are connected to the S1 port through a CODEC internal circuit, and the S1 port is connected to the DSP, and the AP, DSP, S1 port, and port A are connected.
  • the port B constitutes an output circuit of the audio data
  • the CODEC further includes a multi-way selection switch MUX, the MUX is connected to the S1 port, and the MUX, the S1 port, the DSP, and the AP form a preset audio input.
  • the port A and / or port B is connected to the MUX.
  • the board further includes a frequency modulation FM circuit, where the CODEC is further an S2 port, and the S2 port is connected to the FM circuit,
  • the FM circuit and the S2 port constitute an output circuit of audio data
  • the S1 port, the DSP and the AP constitute a preset audio input circuit
  • the S1 port is connected to the S2 port.
  • the board further includes a modem Modem, where the CODEC further includes an S3 port, where the S3 port is connected to the DSP, and the Modem is connected to the DSP, the Modem,
  • the DSP and the S3 port constitute an output circuit of audio data
  • the S1 port, the DSP and the AP constitute a preset audio input circuit
  • the S1 port is connected to the S3 port.
  • the present invention further provides a system for testing a single board, the system comprising the board and the test control device according to the fourth aspect, wherein the test control device is connected to an application server AP in the board. .
  • the method, the single board and the system for testing a single board of the present invention are capable of connecting an output end of an output circuit for outputting audio data of the first audio data to an input end of the preset audio input circuit in the single board,
  • the output circuit of the audio data is enabled to output the first audio data to the preset audio input circuit, and the second audio data is acquired from the preset audio input circuit. If the difference between the attribute value of the second audio data and the attribute value of the first audio data is greater than a preset range, it is determined that the board has a circuit failure.
  • the hardware circuit fault is determined in the single board phase, that is, the hardware circuit fault of the board can be found in time before being assembled into the whole machine, and no need for repeated disassembly and installation, thereby saving detection time.
  • FIG. 2 is a flow chart of data flow inside a first board in the embodiment of the present invention.
  • FIG. 3 is a flow chart of data flow inside a second board in the embodiment of the present invention.
  • FIG. 4 is a data flow diagram of a third internal board in an embodiment of the present invention.
  • FIG. 5 is a structural diagram of a test system according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for testing a first board in an embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for testing a second board in an embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for testing a third board in an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for testing a fourth board in the embodiment of the present invention.
  • FIG. 10 is a flowchart of a method for testing a fifth board in an embodiment of the present invention.
  • FIG. 11 is a flowchart of a method for testing a sixth board in an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of an apparatus for testing a first single board according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a device for testing a second single board according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an apparatus for testing a third single board according to an embodiment of the present invention.
  • 15 is a schematic structural diagram of an apparatus for testing a fourth single board according to an embodiment of the present invention.
  • 16 is a schematic structural diagram of an apparatus for testing a fifth single board according to an embodiment of the present invention.
  • 17 is a schematic diagram of a system for testing a first board in an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a first single board according to an embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of a second board according to an embodiment of the present invention.
  • FIG. 20 is a schematic structural diagram of a third single board according to an embodiment of the present invention.
  • FIG. 21 is a schematic diagram of a system for testing a second board in the embodiment of the present invention.
  • the existing single board structure is as shown in FIG. 1, and includes a system on chip (SOC) and a codec device (CODER-DECoder, CODEC) connected thereto.
  • the chip-level system includes an application server AP and a digital signal processor DSP connected to the AP; the AP has a number According to the processing function, for example, receiving and parsing a test command sent by a test control device (referred to as a measurement and control device, such as a PC); the DSP is used to process the digital signal.
  • a test control device referred to as a measurement and control device, such as a PC
  • the DSP is used to process the digital signal.
  • the DSP is also connected to the modem MODEM.
  • the MODEM is used to obtain the analog information sent by the opposite end of the voice call and perform analog-to-digital conversion to obtain corresponding digital information.
  • the chip-level system is connected to a plurality of ports of the codec device, and the ports include an S1 port and an S3 port of an audio data interface (Inter-IC Sound, I2S).
  • the I2S port of the codec device also has an S2 port, and the S2 port is connected with a frequency modulation circuit (FM) for capturing a broadcast signal and performing analog-to-digital conversion to obtain a corresponding digital signal.
  • FM frequency modulation circuit
  • the S1 port and the S3 port are respectively connected to the port A and the port B on the codec device through internal circuits in the code decoding device.
  • Port A and Port B are used to connect to an external sound reinforcement device for audio and audio output, such as a speaker connected to port A and a headset amplifier connected to port B.
  • the codec device is further provided with a port C for connecting an external audio input device (such as a microphone) to receive audio information input by the user through the audio input device (microphone) through the port C (such as audio information input by the user during recording).
  • Port C is connected to the S1 port and the S3 port through a Multiplexer (MUX).
  • the MUX can select different circuits for transmission according to different signals.
  • the signal flow in the board is: enters the codec by the S1 port, S2 port or S3 port, and is output by port A and port B through the processing of the codec.
  • the signal flow direction is such that the signal enters the codec by port C and is input to the chip level system by the S1 port or the S3 port through the processing of the codec.
  • the prior art does not provide a single board test solution in the single board stage, and only provides a solution for testing in the whole machine stage. If a hardware circuit fault is detected in the whole machine phase, the whole machine needs to be disassembled, and further hardware testing is performed on the board for the circuit fault detected during the whole machine phase. This will require additional disassembly and installation operations, delaying inspection time.
  • the audio data outputted by the port A and the port B is output to the S1 port through the multiplexer MUX.
  • the MUX forwards the first audio data sent by port A and/or port B to the S1 port by a control command.
  • the control of the MUX is cancelled, and then the MUX can implement the multi-path selection function in the manner of the prior art.
  • the first audio data (such as a song) is output through the output circuit of the audio data (including the S1 port and the audio output circuit of the port A and the port B) To the preset audio input circuit (including the audio input circuits of S1 and MUX).
  • the purpose of accessing the S1 port here is to use a functional circuit that includes a voice input of the S1 port, that is, a preset audio input circuit for recording.
  • Application Server - Digital Signal Processor - S1 Port - Port A and Port B are an implementation of an output circuit for audio data.
  • the application server is an implementation of a preset audio input circuit.
  • the S2 port is connected to the FM circuit.
  • the FM circuit performs analog-to-digital conversion on the acquired FM analog signal and sends the converted digital signal to the S2 port.
  • the S2 port passes the circuit connected to the S1 port. Send to the S1 port.
  • the purpose of accessing the S1 port here is to use a functional circuit that includes a voice input of the S1 port, that is, a preset audio input circuit for recording.
  • Frequency Modulation Circuit -
  • the S2 port is another implementation of the output circuit for audio data.
  • the application server is another implementation of the preset audio input circuit.
  • the S3 port receives the voice call signal processed by the DSP.
  • the Modem After the voice call signal is received by the Modem, the Modem performs analog-to-digital conversion on the analog signal and sends the digital signal obtained by analog-to-digital conversion to the DSP.
  • the digital signal is further processed by the DSP.
  • the S3 port outputs the DSP processed signal to the S1 port through the output circuit in the CODEC to record through the audio input circuit including the S1 port.
  • the purpose of accessing the S1 port here is to use a functional circuit that includes a voice input of the S1 port, that is, a preset audio input circuit.
  • Modem - Digital Signal Processor - The S3 port is yet another implementation of the output circuitry for audio data.
  • the application server is another implementation of the preset audio input circuit.
  • the output data can be returned to the AP through the internal circuit. Therefore, whether the port A or the port B is connected to the external device in the embodiment of the present invention is implemented in the present invention. There is no limit in the example.
  • the embodiment of the present invention provides a method for testing a single board.
  • the hardware basis of the method is a test control device and a board.
  • the test control device is capable of transmitting test instructions.
  • a device such as a PC or Mac.
  • the board includes at least one output circuit of audio data and at least one preset audio input circuit, the output circuit of the audio data
  • the output port is coupled to an input port of at least one of the predetermined audio input circuits. In existing boards and even subsequent machines, the output circuit is usually not connected to the input circuit.
  • the invention realizes the detection of the single-board circuit by the circuit inside the single board without using the external device, and connects the output port of the output circuit of the audio data and the input port of the preset audio input circuit, so that the output circuit of the audio data
  • the outputted first audio data can be captured by a preset audio input circuit, and by comparing the captured second audio data with the first audio data, it can be obtained whether there is distortion in the second audio data outputted through the single-board circuit, thereby obtaining a single Whether the board circuit has a circuit failure.
  • the method includes:
  • Step 101 Acquire first audio data according to a test type carried in the test instruction, and determine an output circuit for outputting audio data of the first audio data.
  • the board receives the test command sent by the test control device.
  • the test command is parsed to obtain a test type carried therein, and the test type includes: an audio play type, an FM broadcast type, and a voice call type. If the test type is an audio play type, the test audio file can be read locally, and the audio file is determined as the first audio data. If the test type is an FM broadcast type, the preset FM data sent by the first test terminal is received, and the preset FM data is determined as the first audio data.
  • the first test terminal may be an FM transmitter. If the test type is an audio call type, the preset call content sent by the second test terminal is received, and the preset call content is determined as the first audio data.
  • the second test terminal may be a voice call device such as a mobile phone.
  • Step 102 Output the first audio data to the preset audio input circuit by using an output circuit of the audio data.
  • connection circuit of the port A (or the port B) is returned to the S1 port through the multiplexer MUX; as shown in FIG. 3, the connection circuit of the S1 port and the S2 port is set; As shown in FIG. 4, the connection circuit of the S1 port and the S3 port is set, and the above three circuits respectively output the first audio data to the preset audio input circuit from the output circuit of the internal audio data of the board in different scenarios.
  • the function as shown in FIG. 2, the connection circuit of the port A (or the port B) is returned to the S1 port through the multiplexer MUX; as shown in FIG. 3, the connection circuit of the S1 port and the S2 port is set; As shown in FIG. 4, the connection circuit of the S1 port and the S3 port is set, and the above three circuits respectively output the first audio data to the preset audio input circuit from the output circuit of the internal audio data of the board in different scenarios. The function.
  • Step 103 Receive second audio data by using the preset audio input circuit, where the second audio data is audio data corresponding to the first audio data received by the preset audio input circuit.
  • the preset audio input circuit After outputting the first audio data to the preset audio input circuit through the output circuit of the audio data, the preset audio input circuit monitors whether there is audio data input, and if so, receives the audio data, that is, the second Audio data.
  • Step 104 If the difference between the attribute value of the second audio data and the attribute value of the first audio data is greater than a preset range, determine that the board has a circuit fault.
  • the attribute value is used to represent attribute characteristics of the audio data, such as frequency or maximum peak value.
  • the first audio data is sample data, that is, data that is originally desired to be output.
  • the second audio data is actual audio data that is output through an output circuit of the audio data and received by the preset audio input circuit. Comparing the attribute value of the sample data (first audio data) with the attribute value of the actual data (second audio data), it is possible to obtain whether or not there is a difference between the two. Since there is usually a small amount of interference in the audio output process, the actual data and the sample data have a difference. Therefore, when the difference is less than the predetermined difference, the obtained second audio data is determined to be the first audio data. On the contrary, it indicates that there is a circuit failure in the single-board circuit, and then the subsequent processing flow such as circuit fault location is performed.
  • the method for testing a single board is capable of connecting an output end of an output circuit of audio data to an input end of at least one of the preset audio input circuits in a single board, so that an output circuit of the audio data can be An audio data is output to the preset audio input circuit, and the second audio data is acquired from the preset audio input circuit. If the difference between the attribute value of the second audio data and the attribute value of the first audio data is greater than a preset range, it is determined that the board has a circuit failure. In the prior art, it is impossible to determine whether there is a circuit failure in the single board stage, and when the hardware circuit failure is found in the whole machine stage, an additional disassembly and installation operation is required, and the detection time is delayed. In the invention, the hardware circuit fault of the single board can be found in time before being assembled into the whole machine, and the repeated disassembly and installation is unnecessary, and the detection time is saved.
  • the inspector manually determines whether the audio output and the actual output audio are consistent by the audio output device, according to the manual.
  • the comparison result determines whether there is a hardware circuit failure in the single-board phone.
  • the method for testing a single board provided by the embodiment of the present invention can also be used after the whole machine is assembled, without external audio output device and without manual judgment, and only using the original audio processing capability of the board, and the audio is connected through physical connection.
  • the output end of the data output circuit is directly connected to the input end of the preset audio input circuit to realize the acquisition of the second audio data, and then the single
  • the board internal circuit (AP) compares the second audio data with the first audio data, and if the difference between the attribute value of the second audio data and the attribute value of the first audio data is greater than a preset range, determining that the board has a circuit fault , reduce the complexity of circuit detection during the whole machine, and improve the efficiency of the whole circuit detection.
  • step 102 the first audio data is output through the output circuit of the audio data.
  • Outputting to the preset audio input circuit specifically includes:
  • Step 201 Perform digital-to-analog conversion on the first audio data to obtain a first analog signal.
  • Step 202 Output the first analog signal to the preset audio input circuit through an output circuit of the audio data.
  • the first audio data is outputted through an output circuit of the audio data using the same output flow as in the prior art. Different from the prior art, the output position is not output to the port where the external device is located, so that the external device outputs. Instead, the output signal is used as an input signal to the preset audio input circuit to read the second audio data from inside the board for subsequent comparison.
  • the first audio data is output, the first audio data stored in the board is first format converted to obtain a first analog signal. The first analog signal is then sent to a preset audio input circuit.
  • Step 103 Receive second audio data by using the preset audio input circuit, specifically:
  • Step 203 Receive a second analog signal by using the preset audio input circuit, where the second analog signal is an analog signal received by the preset audio input circuit and corresponding to the first analog signal.
  • Step 204 Perform analog-to-digital conversion on the second analog signal to obtain second audio data.
  • the preset audio input circuit After the preset audio input circuit receives the second analog signal output by the output circuit of the audio data, the second analog signal is subjected to analog-to-digital conversion to obtain second audio data.
  • the method for testing the board in the embodiment of the present invention can simulate the real audio data playing function and the audio data receiving function in the board, so that the result of the board testing can truly reflect the actual circuit fault and improve the accuracy of the board test. Sex.
  • test capable of determining the failure of the board circuit by the output and reception effects of the audio data
  • type of test capable of determining the failure of the board circuit by the output and reception effects of the audio data
  • other types of test types can be used to generate or use audio.
  • the type of test for the data As a detailed description of the above embodiments, three different test types and corresponding processing flows are listed below.
  • the test type is the audio play type.
  • the step 101 is to obtain the first audio data according to the test type carried in the test instruction, and determine an output circuit for outputting the audio data of the first audio data, as shown in FIG.
  • Step 301 If the test type carried in the test instruction is an audio play type, the preset audio data is read locally.
  • the preset audio data is stored locally, and the local may be pre-stored inside the board, or may be sent to the board by the test control device.
  • the preset audio data is used to test whether the internal circuit of the board is normal. Therefore, the preset audio data has some features that are easy to identify or easy to detect, so that the comparison result can be obtained quickly and easily when comparing later.
  • Step 302 Determine the preset audio data as the first audio data.
  • Step 303 Determine an audio playback circuit as an output circuit of the audio data.
  • the audio playback circuit includes an output circuit in which the AP and the DSP and the S1 port of the CODEC are connected.
  • the audio playback circuit is configured to convert the preset audio data and output it through an output circuit connected by the S1 port.
  • test type is an audio play type.
  • the test control device PC
  • the AP parses out that the test type carried by the test command is an audio play type.
  • the AP reads and plays the music of the fixed frequency (such as 1000HZ) (the first audio data), and is processed by the DSP algorithm, and the CODEC is input by the S1 port, and the CODEC converts the digital signal of the fixed frequency music into an analog signal, an analog signal.
  • the analog-to-digital conversion is performed in the CODEC to obtain a digital signal corresponding to the analog signal, and the digital signal is transferred to the S1 port through the circuit in the CODEC, and then sent to the DSP through the S1 port.
  • the algorithm processes, and the AP processes the processed audio data into a recording file (second audio data). 4.
  • the AP analyzes the frequency of the recorded file and the music of the fixed frequency. When the frequency is within the acceptable range (such as 950HZ ⁇ 1050HZ), it means that all the hardware circuits through which the audio data passes are normal, otherwise the hardware path is damaged, so as to achieve the purpose of detecting the audio playing and recording circuit.
  • Example 2 of the test type The test type is FM broadcast type.
  • the step 101 is to obtain the first audio data according to the test type carried in the test instruction, and determine an output circuit for outputting the audio data of the first audio data, as shown in FIG.
  • Step 401 If the test type carried in the test command is an FM broadcast type, the preset test data is obtained by using the first test terminal, and the first test terminal is configured to send the preset FM data to the board.
  • the first test terminal is a terminal capable of transmitting a frequency modulated signal, such as an FM transmitter.
  • the board itself has an FM circuit for receiving the FM signal, so by comparing the received FM signal (second audio data) with the preset FM data (first audio data), it is possible to determine whether there is a circuit failure.
  • the board sends a preset FM data acquisition request to the first test terminal, and the first test terminal sends the preset FM data to the board after receiving the request.
  • Step 402 Determine the preset FM data as the first audio data.
  • Step 403 Determine an audio output circuit involved in the FM broadcast function as an output circuit of the audio data.
  • the test type is the FM broadcast type.
  • the single-board structure shown in Figure 5 is used.
  • the test control device (PC) sends a detection command, and the first test terminal sends an FM signal to the board.
  • the FM circuit of the single board receives the FM signal sent by the first test terminal, converts the short wave signal into a digital signal, and sends the digital signal to the S2 port of the CODEC, and receives the connection between the S2 port and the S1 port.
  • the incoming FM signal is sent to the S1 port.
  • the FM signal is then sent to the DSP for algorithm processing and then sent to the AP.
  • the AP saves the audio data into a recording file and analyzes the audio file. When the detected audio sound data is within the range of the sound data preset in the program, all the hardware circuits through which the audio data passes are normal, otherwise the hardware path is damaged, thereby achieving the purpose of detecting the FM hardware circuit connection.
  • Example 3 of the test type is the voice call type.
  • the step 101 is to obtain the first audio data according to the test type carried in the test instruction, and determine an output circuit for outputting the audio data of the first audio data.
  • the method specifically includes:
  • Step 501 If the test type carried in the test command is a voice call type, the preset test content is obtained by using the second test terminal, where the second test terminal is used to perform with the board. a voice call, the content of the voice call is the preset call content.
  • the second test terminal is a terminal having a voice call type for testing, and may also be a virtual terminal capable of outputting voice call information.
  • the second test terminal sends the preset call content to the board through the connection with the board. For example, if the preset call content is “Hello China”, the second test terminal sends an analog signal of “Hello China” to the board. After receiving the analog signal, the modem of the board performs the analog signal. Converting, obtaining second audio data by preset audio input circuit.
  • Step 502 Determine the preset call content as the first audio data.
  • Step 503 Determine an audio output circuit involved in the voice call function as an output circuit of the audio data.
  • test type is a voice call type.
  • the test control device PC
  • the second test terminal simulates the process of playing a sound by the telephone.
  • the modem of the single board receives the analog signal, performs analog-to-digital conversion, and sends the converted digital signal to the DSP, and the digital signal processed by the DSP is sent to the S3 port of the CODEC, and the analog signal is sent to the S3 port to the S3 port. S1 port. 4.
  • the digital signal is sent to the DSP for processing through the S1 port, and the audio data is saved into a recording file by the AP.
  • the AP analyzes the audio file. When the detected audio sound data is within the range of the sound data preset in the program, all the hardware circuits through which the audio data passes are normal, otherwise the hardware circuit is damaged. In order to achieve the purpose of detecting the connection of the modem circuit hardware circuit.
  • the second test terminal is a terminal having a transmit FM signal
  • the first test test terminal can be located in the same electronic device, that is, the electronic device has two functions of a voice call and a transmit FM signal.
  • the second test terminal and the first test terminal can also be located in different electronic devices.
  • the embodiments of the present invention provide three methods for testing a single-board circuit to achieve detection of different functional circuits of the single board.
  • the above three usage scenarios are only used as three examples in the implementation of the present invention.
  • the audio transmitting circuit of the internal circuit of the single board using the infrared signal transmitting circuit on the single board, the transmitting circuit of the Bluetooth signal, etc. may be replaced by the above embodiment.
  • the embodiment of the present invention further provides a method for testing a single board.
  • the attribute value of the first audio data is a fixed preset frequency.
  • Step 104 If the difference between the attribute value of the second audio data and the attribute value of the first audio data is greater than a preset range, determining that the board has a circuit fault, specifically:
  • Step 601 Determine whether a difference between a frequency of the second audio data and a frequency of the first audio data is greater than a preset range.
  • the received second audio data may not be completely consistent with the first audio data due to interference of the magnetic field or the like.
  • the circuit is considered to have no circuit fault as long as it is within an acceptable tolerance.
  • the frequency of the first audio data is 1000 Hz
  • the preset range (error range) is ⁇ 50 Hz.
  • the difference between the frequency of the first audio data and the frequency of the first audio data is between -50 Hz and +50 Hz, and it is determined that the board has no circuit failure.
  • the difference between the frequency of the first audio data and the frequency of the first audio data is less than -50HZ or greater than +50HZ, and it is determined that the board has a circuit fault.
  • Step 602 If it is greater, determine that the board has a circuit fault.
  • Step 603 If less than, determine that the board does not have a circuit fault.
  • the embodiment of the present invention provides only a manner of comparing the frequencies of the first audio data and the second audio data, which is a preferred manner, and other methods for comparing the first audio data and the second audio data are also It can be applied to the present invention. For example, extracting a maximum peak value (or wavelength) c of the first audio data and the second audio data, and determining a maximum peak value (or wavelength) of the second audio data and a maximum peak value of the first audio data (or Whether the difference in wavelength) is greater than the preset range. If it is greater, it is determined that the board has a circuit failure. If it is smaller, it is determined that the board does not have a circuit failure.
  • the method for testing the board provided by the embodiment of the present invention can determine whether the board has a circuit fault according to the frequency of the first audio data and the frequency of the second audio data, and simplifying determining that the board is Whether there is a circuit fault determination step to improve the board detection efficiency.
  • the embodiment of the present invention further provides a device for testing a single board, the board includes at least one output circuit of audio data and at least one preset audio input circuit, and an output port of the output circuit of the audio data and at least one The input port of the preset audio input circuit is connected, and the device is used to implement the above method.
  • the apparatus 7 for testing the single board includes:
  • An obtaining unit 71 configured to acquire first audio data according to a test type carried in the test instruction, and determine an output circuit for outputting the audio data of the first audio data;
  • a first audio output unit 72 configured to output the first audio data to the preset audio input circuit by an output circuit of the audio data determined by the obtaining unit 71;
  • a second audio acquiring unit 73 configured to receive second audio data by using the preset audio input circuit, where the second audio data is received by the preset audio input circuit and output by the first audio output unit 72 Audio data corresponding to the first audio data;
  • the fault determining unit 74 is configured to: when the attribute value of the second audio data acquired by the second audio acquiring unit 73 and the attribute value of the first audio data acquired by the acquiring unit 71 are greater than a preset In the range, it is determined that the board has a circuit failure.
  • the first audio output unit 72 includes:
  • the digital-to-analog conversion module 721 is configured to perform digital-to-analog conversion on the first audio data to obtain a first analog signal.
  • a first analog signal output module 722 configured to output the first analog signal to the preset audio input circuit through an output circuit of the audio data
  • the second audio acquiring unit 73 includes:
  • a second analog signal obtaining module 731 configured to receive, by the preset audio input circuit, a second analog signal, where the second analog signal is received by the preset audio input circuit and the first analog signal output module Outputting an analog signal corresponding to the first analog signal;
  • the analog-to-digital conversion module 732 is configured to perform analog-to-digital conversion on the second analog signal acquired by the second analog signal acquisition module to obtain second audio data.
  • the obtaining unit 74 includes:
  • the reading module 741 is configured to read preset audio data from the local when the test type carried in the test instruction is an audio play type;
  • a first determining module 742 configured to determine the preset audio data as the first audio data
  • the audio playback circuit is determined as an output circuit of the audio data.
  • the acquiring unit 74 further includes:
  • the FM data obtaining module 743 is configured to: when the test type carried in the test command is an FM broadcast type, obtain the preset FM data by using the first test terminal, where the first test terminal is configured to send the preset to the board. Set FM data;
  • a third determining module 744 configured to determine the preset FM data as the first audio data
  • An audio output circuit involved in the FM broadcast function is determined as an output circuit of the audio data.
  • the acquiring unit 74 further includes:
  • the call content obtaining module 745 is configured to: when the test type carried in the test command is a voice call type, obtain a preset call content by using the second test terminal, where the second test terminal is configured to perform a voice call with the board.
  • the content of the voice call is the preset call content;
  • a second determining module 746 configured to determine the preset call content as the first audio data
  • the audio output circuit involved in the voice call function is determined as an output circuit of the audio data.
  • the attribute value of the first audio data is a fixed preset frequency; the fault determining unit 74 is specifically configured to:
  • determining that the board has a circuit fault If it is smaller, it is determined that the board does not have a circuit failure.
  • the embodiment of the present invention further provides a system for testing a single board.
  • the system comprises the device 7 shown in FIG. 12 to FIG. 16 and a test control device 1701.
  • the test control device is configured to send a test instruction to the board, such as a personal computer PC or a MAC machine. Wait.
  • the board is also used to send a comparison result to the test control device.
  • the tester sends a test command to the device 7 of the board test by the test control device 1701.
  • the test control device is determined based on the circuit under test selected by the tester. For example, if the test circuit selected by the tester is an audio play circuit, the test type carried in the generated test command is an audio play type.
  • the acquiring unit 71 in the device 7 of the board test parses the test command after receiving the test command, and acquires the test type carried in the test command. When the failure determining unit 74 obtains the comparison result, the comparison result is transmitted to the test control device 1701. The test control device 1701 outputs the comparison result.
  • the tester can detect the circuit in the board through the test control device (the control device external to the board).
  • the test control device the control device external to the board.
  • the test mode and type of the single board test can be enriched, and the test efficiency is further improved.
  • the embodiment of the present invention further provides a single board.
  • the board includes a chip level system SOC and a codec device CODEC.
  • the SOC includes an application service AP and a digital signal connected to the AP.
  • the processor DSP, the CODEC includes an S1 port, a port A, and a port B.
  • the port A and the port B are connected to the S1 port through a CODEC internal circuit, and the S1 port is connected to the DSP, the AP, the DSP, and the S1.
  • the port, the port A and the port B constitute an output circuit of the audio data
  • the CODEC further includes a multi-way selection switch MUX, the MUX is connected to the S1 port, and the MUX, the S1 port, the DSP and the AP form a preset audio input. Circuit; the port A and/or port B are connected to the MUX.
  • the preset audio input circuit may include port A or port B, and may also include port A and port B.
  • the board further includes a frequency modulation FM circuit
  • the CODEC further has an S2 port
  • the S2 port is connected to the FM circuit
  • the FM circuit and the S2 port form audio data.
  • the output circuit, the S1 port, the DSP and the AP constitute a preset audio input circuit, and the S1 port is connected to the S2 port.
  • the board further includes a modem Modem, where
  • the CODEC further includes an S3 port, the S3 port is connected to the DSP, the Modem is connected to the DSP, the Modem, the DSP and the S3 port constitute an output circuit of audio data, the S1 port, the DSP and the AP A preset audio input circuit is formed, and the S1 port is connected to the S3 port.
  • the embodiment of the present invention further provides a system for testing a single board.
  • the system includes a single board and a test control device as shown in FIG. 18 to FIG. 20, and the test control device and the single The application server AP in the board is connected.
  • the tester sends a test command to the board through the test control device.
  • the test control device determines the type of test based on the circuit under test selected by the tester. For example, if the test circuit selected by the tester is an audio play circuit, the test type carried in the generated test command is an audio play type.
  • the AP parses the test command and obtains the test type carried in the test command. When the AP obtains the comparison result, the comparison result is sent to the test control device.
  • the test control device outputs the comparison result.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

L'invention concerne un procédé de test de carte, une carte et un système. La carte comprend un circuit de sortie de données audio ainsi qu'un circuit d'entrée audio prédéfini. Une extrémité de sortie du circuit de sortie de données audio et une extrémité d'entrée du circuit d'entrée audio prédéfini sont connectées. Le procédé consiste à : selon un type de test figurant dans une instruction de test, acquérir des premières données audio et déterminer le circuit de sortie de données audio permettant de générer les premières données audio (101) ; générer, par le biais du circuit de sortie de données audio, les premières données audio vers le circuit d'entrée audio prédéfini (102) ; recevoir des secondes données audio par le biais du circuit d'entrée audio prédéfini (103) ; si une différence entre une valeur d'attribut des secondes données audio et une valeur d'attribut des premières données audio est supérieure à une plage prédéfinie, déterminer que la carte présente un défaut de circuit (104).
PCT/CN2015/076437 2015-04-13 2015-04-13 Procédé de test de carte, carte et système WO2016165056A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580022517.3A CN106416205A (zh) 2015-04-13 2015-04-13 单板测试的方法、单板及系统
PCT/CN2015/076437 WO2016165056A1 (fr) 2015-04-13 2015-04-13 Procédé de test de carte, carte et système

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/076437 WO2016165056A1 (fr) 2015-04-13 2015-04-13 Procédé de test de carte, carte et système

Publications (1)

Publication Number Publication Date
WO2016165056A1 true WO2016165056A1 (fr) 2016-10-20

Family

ID=57125510

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076437 WO2016165056A1 (fr) 2015-04-13 2015-04-13 Procédé de test de carte, carte et système

Country Status (2)

Country Link
CN (1) CN106416205A (fr)
WO (1) WO2016165056A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637751A (zh) * 2020-12-21 2021-04-09 龙尚科技(上海)有限公司 一种语音模块测试电路、方法、装置及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154175A (zh) * 2006-09-25 2008-04-02 佛山市顺德区顺达电脑厂有限公司 一种结合语音识别的音频测试方法及系统
CN101729635A (zh) * 2009-12-30 2010-06-09 中兴通讯股份有限公司 一种测试通讯终端音频回路的方法及装置
JP2011010466A (ja) * 2009-06-26 2011-01-13 Yokogawa Electric Corp スイッチング電源装置およびそれを用いた半導体試験装置
CN102156671A (zh) * 2011-03-22 2011-08-17 苏州龙雨电子设备有限公司 电脑主板自动测试系统
CN203151680U (zh) * 2012-11-26 2013-08-21 中山圣马丁电子元件有限公司 一种dvb主板单板测试系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201994944U (zh) * 2010-12-22 2011-09-28 宁波翼动通讯科技有限公司 蓝牙模块测试装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154175A (zh) * 2006-09-25 2008-04-02 佛山市顺德区顺达电脑厂有限公司 一种结合语音识别的音频测试方法及系统
JP2011010466A (ja) * 2009-06-26 2011-01-13 Yokogawa Electric Corp スイッチング電源装置およびそれを用いた半導体試験装置
CN101729635A (zh) * 2009-12-30 2010-06-09 中兴通讯股份有限公司 一种测试通讯终端音频回路的方法及装置
CN102156671A (zh) * 2011-03-22 2011-08-17 苏州龙雨电子设备有限公司 电脑主板自动测试系统
CN203151680U (zh) * 2012-11-26 2013-08-21 中山圣马丁电子元件有限公司 一种dvb主板单板测试系统

Also Published As

Publication number Publication date
CN106416205A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
US8879744B2 (en) Audio testing system and audio testing method for device under test
TWI384457B (zh) 音訊調整系統與方法
JP5173032B2 (ja) デジタル・キャリブレーション・ジェネレータを用いた試験システム
CN103179495A (zh) 移动终端的耳机麦克风和听筒的音频测试方法及系统
US20090280800A1 (en) Testing system and method for testing mobile phone
CN109831733A (zh) 音频播放性能的测试方法、装置、设备和存储介质
CN102572672A (zh) 音频模组测试系统及方法
CN109493883B (zh) 一种智能设备及其智能设备的音频时延计算方法和装置
CN104661169B (zh) 一种音频测试方法和装置
CN103179240A (zh) 移动终端的音频测试方法及测试系统
CN112017693B (zh) 一种音频质量评估方法及装置
CN1979440A (zh) 板载音频模块测试系统及方法
CN100437506C (zh) 检测电视信号转换卡与计算机主机板的音频连接功能的方法
TWI540912B (zh) 音訊處理裝置及音訊處理方法
US20080133036A1 (en) Apparatus and method for playback test
US8116466B2 (en) Apparatus and method for testing sound input and output of sound card
CN105764008B (zh) 一种调试扩声系统传输频率特性的方法及装置
CN111883158A (zh) 一种回声消除方法和装置
CN105516712A (zh) 一种音视频解码芯片测试平台及方法
WO2016165056A1 (fr) Procédé de test de carte, carte et système
CN109510636A (zh) 接收调频信号功能的测试方法、装置、介质和设备
CN112104969A (zh) 用于蓝牙耳机的检测方法及装置
US20090013345A1 (en) Method and equipment for monitoring tone quality of audio player and broadcast system
CN112995882B (zh) 一种智能设备音频开环测试方法
US20090285403A1 (en) Method and Apparatus for Improving Audio Reproduction for a Portable Electronic Device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15888761

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15888761

Country of ref document: EP

Kind code of ref document: A1