Audio frequency apparatus test method, system, testing jig and storage medium
Technical field
The invention belongs to audio frequency apparatus the field of test technology more particularly to a kind of audio frequency apparatus test methods, system, test
Frame and storage medium.
Background technique
Currently, power amplifier, speaker, multimedia console, digital sound console, synthesizer, microphone, sound card, earphone, audio connect
The audio frequency apparatuses such as receipts machine emerge one after another.It needs to test the audio loop of audio frequency apparatus before audio frequency apparatus factory, with
Ensure that the properties of audio frequency apparatus meet the requirements.For example, the Q value of the high frequency input circuit of the HF receiver in audio frequency apparatus
Determine the sensitivity of HF receiver, the bandwidth (Band Width) in intermediate frequency circuit determines the selectivity of HF receiver
(Selectivity) and frequency response.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of audio frequency apparatus test method, system, testing jig and storages to be situated between
Matter can carry out accurately automatic test to audio frequency apparatus, improve the consistency of audio frequency apparatus, testing efficiency height, test data
Validity is high, operating cost is low and requires the level professional technology of tester low.
The first aspect of the embodiment of the present invention provides a kind of audio frequency apparatus test method, comprising:
It debugs, obtains and each test for numerical value of the different test items to all registers of audio frequency apparatus
Project and the corresponding best register value of each register, and be stored in the memory of the audio frequency apparatus;
The best register value of all registers corresponding with target detection project is read from the memory,
And it is respectively written into each register;
Test signal corresponding with the target detection project is sent to the audio frequency apparatus by signal generator;
The output signal corresponding with the target detection project of the audio frequency apparatus output is obtained by audio analyzer
Signal quality value;
According to the signal quality value of output signal corresponding with the target detection project, the target detection project is judged
It is whether qualified.
The second aspect of the embodiment of the present invention provides a kind of testing jig, including memory, processor and is stored in institute
The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program
The step of existing above-mentioned audio frequency apparatus test method;
When being tested by the testing jig the audio frequency apparatus, the audio frequency apparatus is set to the test
Frame, the processor are used to communicate to connect with the audio frequency apparatus, the signal generator and the audio analyzer.
The third aspect of the embodiment of the present invention provides a kind of audio frequency apparatus test macro, including signal generator, audio
Analyzer and above-mentioned testing jig.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes the step of above-mentioned audio frequency apparatus test method when being executed by processor
Suddenly.
The embodiment of the present invention by advance for different test items to the numerical value of all registers of audio frequency apparatus into
Row debugging, obtains best register value corresponding with each test item and each register, and be stored in audio frequency apparatus
In memory, the best register value of all registers corresponding with target detection project is then read from memory, and
It is respectively written into each register, test signal corresponding with target detection project is sent to audio frequency apparatus by signal generator,
The signal quality value of the output signal corresponding with target detection project of audio frequency apparatus output, and root are obtained by audio analyzer
According to the signal quality value of output signal corresponding with target detection project, judge whether the target detection project of speech ciphering equipment closes
Lattice, can target detection project to audio frequency apparatus carry out accurately automatic test, improve the consistency of audio frequency apparatus, test effect
Rate is high, test data validity is high, operating cost is low and requires the level professional technology of tester low.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is the flow diagram for the audio frequency apparatus test method that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of audio frequency apparatus test method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for testing jig that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for another testing jig that the embodiment of the present invention three provides;
Fig. 5 is a kind of structural schematic diagram for audio frequency apparatus test macro that the embodiment of the present invention four provides;
Fig. 6 is the structural schematic diagram for another audio frequency apparatus test macro that the embodiment of the present invention four provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is the present invention one
The embodiment divided, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, should fall within the scope of the present invention.
Description and claims of this specification and term " includes " and their any deformations in above-mentioned attached drawing, meaning
Figure, which is to cover, non-exclusive includes.Such as process, method or system comprising a series of steps or units, product or equipment do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " second " and
" third " etc. is for distinguishing different objects, not for description particular order.
Embodiment one
The present embodiment provides a kind of audio frequency apparatus test method, can be applied to can arbitrarily to test audio frequency apparatus
Test equipment is executed by the processor of test equipment.
In the application, audio frequency apparatus can be power amplifier, speaker, multimedia console, digital sound console, synthesizer, words
Cylinder, sound card, earphone, voice receiver etc..Audio frequency apparatus includes high-frequency apparatus, for example, HF receiver, automobile audio tuner
(CAR TUNER)。
In the application, test equipment can be industrial personal computer, testing jig, personal computer, laptop, tablet computer,
Server, mobile phone, palm PC etc. have the calculating equipment of calculating and control function.
In the application, processor can be central processing unit (Central Processing Unit, CPU), can be with
It is other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
As shown in Figure 1, audio frequency apparatus test method provided by the present embodiment, comprising:
Step S101, it debugs, obtains for numerical value of the different test items to all registers of audio frequency apparatus
Best register value corresponding with each test item and each register, and it is stored in the memory of the audio frequency apparatus
In.
It in the application, can be right only for the test item for currently needing to carry out before testing audio frequency apparatus
The numerical value of all registers of audio frequency apparatus is debugged, by the debugging of the numerical value of all registers of audio frequency apparatus for it is current
The corresponding best register value of the test item for needing to carry out, to improve the accuracy of test result.Due to being directed to one
Audio frequency apparatus needs the usual more than one of test item carried out, accordingly it is also possible to before testing audio frequency apparatus, needle
Numerical value of the different test items to all registers of audio frequency apparatus is debugged, with acquisition with each test item and often
The corresponding best register value of a register is simultaneously stored in the memory of audio frequency apparatus, so as to audio frequency apparatus into
When the test of some test item of row, the best register value being previously stored is called directly, saves the deposit before test
Device debug time improves testing efficiency.
In the application, the type and quantity for the test item for needing to carry out for different audio frequency apparatus are different, specifically by
The type of audio frequency apparatus determines, for example, the test item for speaker includes sound quality monitoring, frequency range, frequency response, direction
Frequency characteristic, maximum output sound pressure level, distortion, sensitivity, efficiency, the test of loudspeaker noise power etc..
In the application, the quantity of the register of different audio frequency apparatuses is different, for example, the register of automobile audio tuner
Quantity is 40 or more.
In the application, the memory of audio frequency apparatus can be the hard disk or memory of audio frequency apparatus, for example, EEPROM
(Electrically Erasable Programmable read only memory, the band read-only storage of electric erazable programmable
Device), RAM (Random Access Memory, random access memory), the plug-in type for being also possible to be equipped on audio frequency apparatus is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..
Step S102, most preferably posting for all registers corresponding with target detection project is read from the memory
Storage numerical value, and it is respectively written into each register.
In the application, target detection project is one in test item different in step S101, to audio frequency apparatus
When carrying out the test of target detection project, pre-stored all deposits corresponding with target detection project are read from memory
Then each register is written respectively in best register value corresponding with each register by the best register value of device.
In the application, the processor of test equipment is communicated to connect by I2C bus and audio frequency apparatus, realization and audio frequency apparatus
Between communication, realize with the communication of audio analyzer, and audio frequency apparatus is controlled, to change the register of audio frequency apparatus
Numerical value.
Step S103, test corresponding with the target detection project is sent to the audio frequency apparatus by signal generator
Signal.
In the application, the processor of test equipment passes through general purpose interface bus (General-Purpose Interface
Bus, GPIB) it is communicated to connect with signal generator (Standard Signal Generator, SSG), realization and signal generator
Communication, ordered with being sent by the processor of test equipment to signal generator, the test signal that signal generator is issued
Bandwidth, waveform and bias voltage be configured and be sent to audio frequency apparatus, the relevant parameter of waveform includes frequency, amplitude, phase
Position, rise time, fall time, pulsewidth, duty ratio etc..
Step S104, the corresponding with the target detection project of the audio frequency apparatus output is obtained by audio analyzer
The signal quality value of output signal.
In the application, the processor of test equipment passes through general purpose interface bus and audio analyzer (Audio Analyzer)
The communication with audio analyzer is realized in communication connection, is ordered with being sent by the processor of test equipment to audio analyzer, is led to
Cross the signal quality value (S-meter) that audio analyzer reads the DC voltage for the output signal that audio frequency apparatus exports.
In one embodiment, after step S104 further include:
Pass through the waveform diagram of the corresponding output signal of target detection project described in oscilloscope display.
In the application, oscillograph passes through the processor and audio analyzer communication link of general purpose interface bus and test equipment
It connecing, realizes the communication with the processor and audio analyzer of test equipment, the processor of test equipment is sent to oscillograph orders,
Control the waveform diagram of oscilloscope display output signal.
Step S105, according to the signal quality value of output signal corresponding with the target detection project, judge the mesh
Whether qualified mark test item.
In the application, the signal quality value of the output signal corresponding with target detection project exported according to audio frequency apparatus,
The test item data that target detection project is carried out for audio frequency apparatus can be calculated, then by by test item data
With the test item for the target detection project recorded in the product requirement specification book (Specification, SPEC) of audio frequency apparatus
Data are compared, judge test item data numerical value whether the numerical value model as defined in the product requirement specification book of audio frequency apparatus
In enclosing, then according to judging result, determine whether the target detection project of audio frequency apparatus is qualified.
In one embodiment, step S105 includes:
According to the signal quality value of output signal corresponding with the target detection project, the target detection is calculated
The test item data of project;
Judge whether the numerical value of the test item data counts as defined in the product requirement specification book of the audio frequency apparatus
It is worth in range;
If numerical value numberical range as defined in the product requirement specification book of the audio frequency apparatus of the test item data
It is interior, then determine that the target detection project is qualified;
If the numerical value of the test item data not numerical value model as defined in the product requirement specification book of the audio frequency apparatus
In enclosing, then determine that the target detection project is unqualified.
In the application, processor Yu display device and/or miscue the device communication connection of test equipment, alternatively, surveying
Trying equipment includes the display device connecting with its processor communication and/or miscue device.The processor of test equipment can be with
It when determining that target detection project is unqualified, sends and orders to display device, control display device shows that underproof target is surveyed
Examination project allows user to check underproof test item by display device.The processor of test equipment can also sentenced
It when the test item that sets the goal is unqualified, sends and orders to miscue device, control miscue device issues characterization target and surveys
The underproof miscue of examination project, with the underproof test item of call user's attention.
In the application, display device can be visual alarm (for example, LED light or LED light strip), display screen or number
Pipe, miscue device can be visual alarm (for example, LED light or LED light strip), voice guard (for example, buzzer),
Combined aural and visual alarm, voice broadcast equipment (for example, combination of speaker, loudspeaker or speech chip and loudspeaker).
In one embodiment, after step S105, comprising:
Control display device shows the underproof target detection project;
And/or control miscue device issues and characterizes the underproof miscue of target detection project.
In the application, when test equipment is testing jig, testing jig is electrically connected with power-supply device, is carried out to audio frequency apparatus
Before debugging, the door switch of testing jig is closed, testing jig is made to be powered, then audio frequency apparatus is placed in the test position of testing jig
It sets, closes testing jig;
When debugging to audio merging, press or stir the power key of testing jig, open testing jig, then pressing or
Music balanced device (EQ) key for stirring testing jig, according to the debugging routine being written in the processor of testing jig in advance, to audio
The numerical value of all registers of equipment is debugged, and best deposit corresponding with each test item and each register is obtained
Device numerical value, and be stored in the memory of audio frequency apparatus, the power key of testing jig is pressed or stirred, testing jig is closed;
When carrying out the test of target detection project to audio frequency apparatus, the power key of testing jig is pressed or stirred, opens and surveys
Frame is tried, the best register value of all registers corresponding with target detection project is read from memory, and is respectively written into
Each register completes the debugging to audio frequency apparatus, then sends and orders from the processor of test equipment to signal generator, right
The test signal that signal generator issues is configured and is sent to audio frequency apparatus, while sending and ordering to audio analyzer, leads to
The signal quality value that audio analyzer reads the DC voltage for the output signal that audio frequency apparatus exports is crossed, and test item is calculated
Mesh number evidence judges whether target detection project is qualified according to test item data, the underproof mesh is shown if unqualified
Test item is marked, while controlling miscue device and issuing the characterization underproof miscue of target detection project.
In the application, when needing to carry out the test of other target detection projects to audio frequency apparatus, step S102 is repeated
~S105 reads the best register value of all registers corresponding with next target detection project from memory, and
It is respectively written into each register, and continues to execute step S103~S105.
The present embodiment adjusts the numerical value of all registers of audio frequency apparatus by being directed to different test items in advance
Examination obtains best register value corresponding with each test item and each register, and is stored in the storage of audio frequency apparatus
In device, the best register value of all registers corresponding with target detection project is then read from memory, and respectively
Each register is written, test signal corresponding with target detection project is sent to audio frequency apparatus by signal generator, is passed through
Audio analyzer obtain audio frequency apparatus output output signal corresponding with target detection project signal quality value, and according to
The signal quality value of the corresponding output signal of target detection project judges whether the target detection project of speech ciphering equipment is qualified, can
Accurately automatic test is carried out with the target detection project to audio frequency apparatus, improves the consistency of audio frequency apparatus, testing efficiency is high,
Test data validity is high, operating cost is low and requires the level professional technology of tester low.
Embodiment two
As shown in Fig. 2, in the present embodiment, step S101 includes:
Step S201, j-th of value is assigned to i-th of register of audio frequency apparatus.
In the application, it for each test item, needs respectively to adjust the numerical value of each register of audio frequency apparatus
Examination, so as to obtain the best register value of each register and store in memory.It needs to test audio frequency apparatus
The usual more than one of test item, the quantity of the register of audio frequency apparatus generally also more than one, the numerical value of each register
Range is not also identical.In step s 201, the 1st value is assigned (i.e. to audio frequency apparatus to the 1st register of audio frequency apparatus first
1st register assigns initial value), can also all registers batch first to audio frequency apparatus assign initial value.
Step S202, test letter corresponding with k-th of test item is sent to the audio frequency apparatus by signal generator
Number.
In the application, the processor of test equipment sends to signal generator and orders, the test issued to signal generator
Signal is configured and is sent to audio frequency apparatus.
Step S203, the corresponding with k-th of test item of the audio frequency apparatus output is obtained by audio analyzer
Output signal signal quality value.
In the application, after audio frequency apparatus receives test signal, the processor of test equipment is sent to audio analyzer
The signal quality value of the DC voltage of the output signal of audio frequency apparatus output is read in order by audio analyzer.
Step S204, it returns and j-th of value is assigned to i-th of register of the audio frequency apparatus, every value for returning to a j adds 1;
Wherein, the quantity for the register value that the initial value of j is 1, j ∈ [1, m] and j is integer, m is i-th of register.
In the application, it after reading the signal quality value of the DC voltage of output signal of audio frequency apparatus output, repeats
Step S201~S204 is executed, the 2nd value is assigned to the 1st register of audio frequency apparatus in step s 201, and continue to execute step
Rapid S202~S204, loops back and forth like this, until obtaining the m register value with the 1st test item and the 1st register
Corresponding m signal quality value, the corresponding signal quality value of each numerical value of register.
Step S205, it obtains so that the signal quality value of output signal corresponding with k-th of test item is maximum
Register value as best register value corresponding with k-th of test item and i-th of register, and is deposited
Storage is in the memory of the audio frequency apparatus.
In the application, the peak signal mass value in m signal quality value is obtained, and is determined according to peak signal mass value
Register value corresponding with peak signal mass value, as with the 1st test item and the 1st register is corresponding most preferably posts
Storage numerical value, and store in memory.Peak signal mass value can be determined by arbitrary maximizing method, for example,
The parabola of corresponding relationship between m signal quality value of characterization and m register value is drawn, and takes parabolical peak value conduct
Peak signal mass value;Alternatively, being removed smaller by the size for successively comparing the corresponding signal quality value of adjunct register numerical value
Signal quality value, retain biggish signal quality value, finally obtain maximum signal quality value.
In one embodiment, step S205 includes:
Obtain m signal quality value corresponding with k-th of test item and i-th of register;
Obtain the peak signal mass value in the m signal quality value;
Determine corresponding with peak signal mass value register value, as with k-th of test item and institute
The corresponding best register value of i-th of register is stated, and is stored in the memory of the audio frequency apparatus.
Step S206, it returns and j-th of value is assigned to i-th of register of audio frequency apparatus, until obtaining and described k-th test
The best register value of the corresponding all registers of project, every value for returning to an i add 1;Wherein, the initial value of i is 1, i
The number for all registers that ∈ [1, n] and i are integer, n is the audio frequency apparatus.
In the application, best register value corresponding with the 1st test item and the 1st register is being got, and
After storage in memory, step S201~S206 is repeated, in step s 201 to the 2nd register of audio frequency apparatus
The 1st value is assigned, and continues to execute step S202~S206, is looped back and forth like this, it is corresponding with the 1st test item until obtaining
N best register values of n register.
Step S207, it returns and j-th of value is assigned to i-th of register of audio frequency apparatus, until obtaining and each test item
Best register value corresponding with each register, every value for returning to a k add 1;Wherein, the initial value of k is 1 and k is integer.
In the application, after n best register values for obtaining n register corresponding with the 1st test item,
Step S201~S207 is repeated, the 1st value is assigned to the 1st register of audio frequency apparatus in step s 201, in step
Test signal corresponding with the 2nd test item is sent to audio frequency apparatus by signal generator in S202, in step S203
The signal quality value of the output signal corresponding with the 2nd test item of audio frequency apparatus output is obtained by audio analyzer, and
Step S204~S207 is continued to execute, is looped back and forth like this, it is corresponding with each test item and each register until obtaining
Best register value.The maximum value of k is equal to the quantity of test item for needing to test audio frequency apparatus, k >=1 and k is
Integer.
It is directed to different test box projects in advance by test equipment in the present embodiment to debug audio frequency apparatus, obtains
Best register value corresponding with each test item and each register, and be stored in the memory of audio frequency apparatus, it adjusts
Examination process is accurate, can effectively improve the consistency of audio frequency apparatus;By test equipment to audio frequency apparatus, signal generator
And audio analyzer carries out parameter setting and control, and the period is arranged, debugging efficiency is high;It is automatically adjusted by test equipment
Examination replaces manual work, and operating cost is low, low to the level professional technology requirement of tester, effectively strengthens sustainable life
Produce the ability of audio frequency apparatus.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Embodiment three
As shown in figure 3, the present embodiment provides a kind of testing jig 3, including memory 31, processor 32 and it is stored in storage
In device 31 and the computer program 33 that can be run on processor 32, such as audio frequency apparatus test program.Processor 32 executes meter
The step in above-mentioned each audio frequency apparatus test method embodiment is realized when calculation machine program, such as step S101 shown in FIG. 1 is extremely
S105.Alternatively, processor 32 realizes the function of each module/unit in computer program 33 when executing computer program 33.Logical
When crossing testing jig 3 and testing audio frequency apparatus, audio frequency apparatus is set to testing jig 3, and processor 32 is used for and audio frequency apparatus, letter
Number generator and audio analyzer communication connection.
Illustratively, the computer program 33 can be divided into one or more module/units, it is one or
Multiple module/units are stored in memory 33, and are executed by processor 32, to complete the present invention.It is one or more of
Module/unit can be the series of computation machine program instruction section that can complete specific function, which calculates for describing
Implementation procedure of the machine program 33 in the testing jig 3.For example, computer program 33 can be divided into debugging module, read-write
Module, the first control module, the second control module, judgment module, each module concrete function are as follows:
Debugging module, for being debugged for different test items to the numerical value of all registers of audio frequency apparatus,
Best register value corresponding with each test item and each register is obtained, and is stored in the storage of the audio frequency apparatus
In device;
Module for reading and writing, for reading all registers corresponding with target detection project most from the memory
Good register value, and it is respectively written into each register;
First control module, for being sent and the target detection project pair by signal generator to the audio frequency apparatus
The test signal answered;
Second control module, for obtaining audio frequency apparatus output with the target detection item by audio analyzer
The signal quality value of the corresponding output signal of mesh;
Judgment module judges institute for the signal quality value according to output signal corresponding with the target detection project
Whether qualified state target detection project.
In one embodiment, the debugging module includes:
Assignment unit assigns j-th of value for i-th of register to audio frequency apparatus;
First control unit, it is corresponding with k-th of test item for being sent by signal generator to the audio frequency apparatus
Test signal;
Second control unit, for obtaining testing with described k-th for the audio frequency apparatus output by audio analyzer
The signal quality value of the corresponding output signal of project;
First return unit, for returning to i-th of register, j-th of value of tax to the audio frequency apparatus, j of every return
Value add 1;Wherein, the number for the register value that the initial value of j is 1, j ∈ [1, m] and j is integer, m is i-th of register
Amount;
Acquiring unit, for obtain so that the signal quality value of output signal corresponding with k-th of test item most
Big register value, as best register value corresponding with k-th of test item and i-th of register,
And it is stored in the memory of the audio frequency apparatus;
Second return unit assigns j-th of value to i-th of register of audio frequency apparatus for returning, until obtain with it is described
The best register value of the corresponding all registers of k-th of test item, every value for returning to an i add 1;Wherein, i
The number for all registers that initial value is 1, i ∈ [1, n] and i is integer, n is the audio frequency apparatus;
Third return unit, for returning to i-th of register, j-th of value of tax to audio frequency apparatus, until obtaining and each
Test item and the corresponding best register value of each register, every value for returning to a k add 1;Wherein, the initial value of k be 1 and
K is integer.
In one embodiment, judgment module includes:
Computing unit is calculated for the signal quality value according to output signal corresponding with the target detection project
To the test item data of the target detection project;
Judging unit, for judging whether the numerical value of the test item data is said in the product specification of the audio frequency apparatus
In numberical range as defined in bright book;If the numerical value of the test item data is advised in the product requirement specification book of the audio frequency apparatus
In fixed numberical range, then determine that the target detection project is qualified;If the numerical value of the test item data is not in the sound
In numberical range as defined in the product requirement specification book of frequency equipment, then determine that the target detection project is unqualified.
In one embodiment, the computer program 33 further include:
Third control module shows the underproof target detection project for controlling display device;
4th control module issues the characterization underproof mistake of target detection project for controlling miscue device
Prompt.
In the application, testing jig 3 may include, but are not limited to memory 31, processor 32.Those skilled in the art can be with
Understand, Fig. 3 is only the example of testing jig 3, does not constitute the restriction to testing jig 3, may include more more or less than illustrating
Component, perhaps combine certain components or different components, for example, the testing jig can also include input-output equipment,
Network access equipment, bus etc..
In the application, processor can be central processing unit, can also be other general processors, Digital Signal Processing
Device, specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device
Part, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processing
Device etc..
In the application, memory can be the internal storage unit of testing jig, such as the hard disk or memory of testing jig.Storage
Device is also possible to the External memory equipment of the testing jig, such as the plug-in type hard disk being equipped on testing jig, intelligent memory card, peace
Digital card, flash card etc..Memory can also both including testing jig internal storage unit and also including External memory equipment.It deposits
Reservoir is for storing other programs and data needed for computer program and testing jig.Memory can be also used for temporarily depositing
Store up the data that has exported or will export.
In one embodiment, the testing jig further includes the miscue device connecting with the processor communication;
And/or the display device being connect with the processor communication.
As shown in figure 4, illustratively showing testing jig 3 further includes the miscue device 34 communicated to connect with processor 32
With display device 35.
In the application, display device can be visual alarm (for example, LED light or LED light strip), display screen (can be
Touching display screen) or charactron, miscue device can be visual alarm (for example, LED light or LED light strip), sound report
Alert device (for example, buzzer), combined aural and visual alarm, voice broadcast equipment are (for example, speaker, loudspeaker or speech chip and loudspeaker
Combination).
The present embodiment is directed to different test items to the numerical value of all registers of audio frequency apparatus by testing jig in advance
It is debugged, obtains best register value corresponding with each test item and each register, and be stored in audio frequency apparatus
Memory in, the best register value of corresponding with target detection project all registers is then read from memory,
And it is respectively written into each register, test corresponding with target detection project is sent to audio frequency apparatus by signal generator and is believed
Number, the signal quality value of the output signal corresponding with target detection project of audio frequency apparatus output is obtained by audio analyzer,
And according to the signal quality value of output signal corresponding with target detection project, judge speech ciphering equipment target detection project whether
Qualification, can target detection project to audio frequency apparatus carry out accurately automatic test, improve the consistency of audio frequency apparatus, test
High-efficient, test data validity height, operating cost are low and require the level professional technology of tester low.
Example IV
As shown in figure 5, the present embodiment provides a kind of audio frequency apparatus test macro 5, including signal generator 51, audio analysis
Testing jig 3 in instrument 52 and embodiment three.
In one embodiment, the audio frequency apparatus test macro further includes that the power supply being electrically connected with the testing jig is set
It is standby;
And/or the oscillograph communicated to connect with the audio analyzer and the testing jig, the oscillograph is for showing
The waveform diagram of the output signal.
As shown in fig. 6, illustratively showing audio frequency apparatus test macro 5 further includes that the power supply being electrically connected with testing jig 3 is set
For 53 and the oscillograph 54 with audio analyzer 52 and the communication connection of testing jig 3.
In the present embodiment, the processor 32 of testing jig 3 passes through general purpose interface bus and signal generator 51 and audio point
Analyzer 52 communicates to connect, and is communicated to connect by I2C bus and tested audio frequency apparatus 6, and testing jig 3 passes through cable and power supply
Equipment 53 is electrically connected.
In the application, power-supply device is used to provide test working power, such as 12V DC power supply for testing jig.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.