CN103698686B - Signal testing method and signal testing equipment - Google Patents

Signal testing method and signal testing equipment Download PDF

Info

Publication number
CN103698686B
CN103698686B CN201310673886.1A CN201310673886A CN103698686B CN 103698686 B CN103698686 B CN 103698686B CN 201310673886 A CN201310673886 A CN 201310673886A CN 103698686 B CN103698686 B CN 103698686B
Authority
CN
China
Prior art keywords
test
case
probe
signal
test case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310673886.1A
Other languages
Chinese (zh)
Other versions
CN103698686A (en
Inventor
孔令国
凌州
汪盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310673886.1A priority Critical patent/CN103698686B/en
Publication of CN103698686A publication Critical patent/CN103698686A/en
Application granted granted Critical
Publication of CN103698686B publication Critical patent/CN103698686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The embodiment of the invention discloses a signal testing method. The signal testing method comprises the following steps of obtaining a testing case, which includes a position of a case testing point, of a target testing device; controlling a mechanical arm to cause a probe to be in contact with the case testing point in the target testing device according to the obtained testing case; configuring an oscilloscope according to the obtained testing case, and obtaining testing data of the case testing point, which is in contact with the probe, according to the configured oscilloscope. The embodiment of the invention further discloses signal testing equipment. By adopting the signal testing method and the signal testing equipment, software and hardware are combined in a testing stage of a hardware unit signal, the case testing point is tested automatically, the operation is simple, and the working efficiency is improved.

Description

A kind of signal testing method and equipment
Technical field
The present invention relates to technical field of measurement and test, more particularly to a kind of signal testing method and equipment.
Background technology
PCB(Printed Circuit Board, printed circuit board)It is one of vitals of electronics industry, for big It is little to electronic watch or calculator greatly to computer, communication electronic device or military issue weapons system for most electronic equipments, As long as there are the electronic devices and components such as integrated circuit, for the electric interconnection between them, PCB will be used.And complete in PCB Afterwards, in the signal testing of hardware cell test phase, prior art is that user finds test point by circuit design document, And hand hold transducer, the test to test point is realized on the basis of debugging is oscillographic, operation is complicated, less efficient.In addition, existing The software test automation stage only software instruction is issued by interfaces such as network interface and power ports, carry out functional test, nothing Method combines software and hardware in the hardware cell signal testing stage, realizes automatic test.
The content of the invention
The technical problem to be solved is, there is provided a kind of signal testing method and equipment, can be in hardware cell The signal testing stage combines software and hardware, is automatically obtained the test of use-case test point, simple to operate, lifts operating efficiency.
In order to solve above-mentioned technical problem, first aspect present invention provides a kind of signal testing method, methods described bag Include:
The test case for target detection device is obtained, the test case includes the position of use-case test point;
To be popped one's head in and the use in the target detection device according to the test case control machinery arm for getting Example test point is contacted;
According to the test case configuration oscillograph for getting, and obtained and institute according to the oscillograph through configuration State the test data of the use-case test point of probe contacts.
In the first possible implementation, the test case includes test signal information;
The test case control machinery arm got described in the basis will be popped one's head in and the institute in the target detection device Stating use-case test point and carrying out contact includes;
The selection information of the test signal acquisition of information probe in the test case;
Obtain the probe with the selection information matches of the probe;
The mechanical arm is controlled according to the test case for getting to survey the probe for getting and the target The use-case test point in examination device is contacted.
With reference to the first possible implementation of first aspect, in second possible implementation, the acquisition Before the probe of the selection information matches of the probe, the selection information of current probe is recognized by the mechanical arm;
Whether the selection information of the selection information of current probe recognized described in judging and the probe for getting is Match somebody with somebody;
If so, then triggering perform according to the test case that gets control the mechanical arm by the current probe with The use-case test point in the target detection device is contacted;
If it is not, then controlling the probe of the mechanical arm crawl and the selection information matches of the probe for getting.
With reference to second possible implementation of the first or first aspect of first aspect, first aspect, the 3rd In planting possible implementation, the target detection device includes Printed Circuit Board Design file and device data;
Printing electricity before the test case obtained for target detection device, in the target detection device Road plate design document and device data generate the test case.
With reference to the third possible implementation of first aspect, in the 4th kind of possible implementation, the basis Printed Circuit Board Design file and device data in the target detection device is generated after the test case, for described Test case provides edition interface, and is instructed by the modification that the edition interface is submitted to according to user, to the test case Modify.
With reference to the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, the test Use-case includes at least one critical field;
It is described to provide edition interface, and the modification submitted to by the edition interface according to user for the test case Instruction, the test case is modified including;
At least one of test case critical field is shown, described each critical field is used respectively with the test Partial content in example is corresponded;
It is right according to the modification that user is carried out by the edition interface for the target critical field in the test case The corresponding content of the target critical field is modified.
With reference to first aspect or first aspect the first to any one the possible implementation in the 5th kind, the 6th In planting possible implementation, the test case control machinery arm got described in the basis will pop one's head in and the target detection The use-case test point in device is contacted also to be included;
Popped one's head in described and the use-case in the target detection device with mechanical arm described in phase machine monitoring by light source Test point is contacted.
With reference to first aspect or first aspect the first to any one the possible implementation in the 6th kind, the 7th In planting possible implementation, the test case includes business expected result;
Business expected result in the test case, gets to described according to the oscillograph through configuration The test data of the use-case test point with the probe contacts be analyzed.
With reference to the 7th kind of possible implementation of first aspect, in the 8th kind of possible implementation, the basis Business expected result in the test case, to described getting with the probe according to the oscillograph through configuration After the test data of the use-case test point of contact is analyzed, according to the test process and it is described to it is described it is getting with The test data of the use-case test point of the probe contacts is analyzed the analysis result for obtaining and generates test report.
Second aspect present invention provides a kind of signal-testing apparatus, and the signal-testing apparatus includes:
Use-case acquisition module, for obtaining the test case for target detection device, the test case includes use-case The position of test point;
Mechanical arm control module, the test case control machinery arm for being got according to the use-case acquisition module will be visited Head is contacted with the use-case test point in the target detection device;
Oscillograph configuration module, for the test case configuration oscillograph got according to the use-case acquisition module, and The use-case test point with the probe contacts in the mechanical arm control module is obtained according to the oscillograph through configuration Test data.
In the first possible implementation, the test case includes test signal information;
The mechanical arm control module includes;
Information acquisition unit is chosen, for the selection letter of the test signal acquisition of information probe in the test case Breath;
Probe acquiring unit, for obtaining the selection information matches of the probe got with the selection information acquisition unit Probe;
Mechanical arm control unit, the test case for being got according to the use-case acquisition module controls the mechanical arm The probe that the probe acquiring unit gets is contacted with the use-case test point in the target detection device.
With reference to the first possible implementation of second aspect, in second possible implementation, the machinery Arm control module also includes;
Information identificating unit is chosen, for recognizing the selection information of current probe by the mechanical arm;
Information judging unit is chosen, for judging the selection letter of the current probe that the selection information identificating unit is recognized Whether the selection information for ceasing the probe got with the selection information acquisition unit matches;
If described choose the selection that information judging unit judges the current probe that the selection information identificating unit is recognized The selection information matches of the probe that information gets with the selection information acquisition unit, then trigger the mechanical arm control unit The mechanical arm is controlled by the institute in the current probe and the target detection device according to the test case that gets State use-case test point to be contacted;
If described choose the selection that information judging unit judges the current probe that the selection information identificating unit is recognized The selection information of the probe that information gets with the selection information acquisition unit is mismatched, then trigger the probe acquiring unit Control the probe of the mechanical arm crawl and the selection information matches of the probe for getting.
With reference to second possible implementation of the first or second aspect of second aspect, second aspect, the 3rd In planting possible implementation, the target detection device includes Printed Circuit Board Design file and device data;
Printed Circuit Board Design file and device data that use-case generation module is used in the target detection device The test case is generated, the use-case acquisition module is triggered and is obtained the test case.
With reference to the third possible implementation of second aspect, in the 4th kind of possible implementation, use-case modification Module is used for after the use-case generation module generates the test case, and for the test case edition interface is provided, and Instructed by the modification that the edition interface is submitted to according to user, the test case is modified.
With reference to the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, the test Use-case includes at least one critical field;
The use-case modified module includes;
Field display unit, for showing at least one of test case critical field, described each keyword Section is corresponded respectively with the partial content in the test case;
Use-case changes unit, for the survey shown for the field display unit by the edition interface according to user The modification that target critical field at least one of example on probation critical field is carried out, it is corresponding to the target critical field Content is modified.
With reference to second aspect or second aspect the first to any one the possible implementation in the 5th kind, the 6th In planting possible implementation, monitoring module is used to be got according to the use-case acquisition module in the mechanical arm control module Test case control machinery arm will pop one's head in when being contacted with the use-case test point in the target detection device, pass through Light source and mechanical arm described in phase machine monitoring will be popped one's head in and contacted with the use-case test point in the target detection device.
With reference to second aspect or second aspect the first to any one the possible implementation in the 6th kind, the 7th In planting possible implementation, the test case includes business expected result;
Data analysis module is used for the business expected result in the test case, to the oscillograph configuration module Carry out with the test data of the use-case test point of the probe contacts according to the oscillograph through configuration gets Analysis.
With reference to the 7th kind of possible implementation of second aspect, in the 8th kind of possible implementation, report generation Module be used for according to the test process and the data analysis module to described in described getting with the probe contacts The test data of use-case test point is analyzed the analysis result for obtaining and generates test report.
Implement the embodiment of the present invention, have the advantages that:Signal-testing apparatus is obtained for target detection device Test case, wherein the test case includes the position of use-case test point, according to the test case control machine for getting Tool arm will be popped one's head in and be contacted with the use-case test point in the target detection device, be used according to the test for getting Example configuration oscillograph, and the test number with the use-case test point of the probe contacts is obtained according to the oscillograph through configuration According to the embodiment of the present invention can combine software and hardware in the hardware cell signal testing stage, be automatically obtained the test of use-case test point, behaviour Make simple, lift operating efficiency.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the signal testing method provided in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of the signal testing method provided in another embodiment of the present invention;
Fig. 3 is a kind of structural representation of the signal-testing apparatus provided in the embodiment of the present invention;
Fig. 4 is the structural representation of the mechanical arm control module of Fig. 3 in the embodiment of the present invention;
Fig. 5 is the structural representation of the use-case modified module of Fig. 3 in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of the signal-testing apparatus provided in another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Signal testing method in the embodiment of the present invention can be realized automatically generating test case in signal-testing apparatus, To be popped one's head according to the test case control machinery arm and contacted with the use-case test point in target detection device, and according to the survey Example on probation configures oscillograph, so as to obtain the test number with the use-case test point of probe contacts according to the oscillograph through configuration According to further, the signal testing method can be with the business expected result pair in signal-testing apparatus according to test case The test data for getting is analyzed, and the analysis for obtaining is analyzed according to test process and the test data to getting As a result test report is generated.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of the signal testing method provided in the embodiment of the present invention, is such as schemed The methods described of the shown embodiment of the present invention at least includes:
Step S101, obtains the test case for target detection device.
Signal-testing apparatus can obtain the test case for target detection device, and wherein test case can include using The position of example test point.
Used as a kind of optional embodiment, target detection device can include that Printed Circuit Board Design file and device are provided Material, the Printed Circuit Board Design file and device data that signal-testing apparatus can be in target detection device generates test and uses Example.Specifically, signal-testing apparatus can be complete according to the signal testing method in hardware cell signal testing stage and characteristics of signals Into with signal, oscillograph, test command and business software, expection waveform and waveform judge etc. relevant parameter setting, it is described Parameter setting can include test signal information, test signal parameter setting, the matching setting of test command business, oscillograph parameter Arrange and waveform judges parameter setting etc., wherein test command business is test target, that is, the testing case The particular demands whether target detection device meets.Further, signal-testing apparatus is according to the parameter setting and target Printed Circuit Board Design file and device data in test device, generates test case.
Further alternative, signal-testing apparatus can provide edition interface for the test case, and according to user The modification submitted to by the edition interface is instructed, and the test case is modified.
Further alternative, the test case can include at least one critical field, and signal-testing apparatus can show Show at least one of test case critical field, wherein at least one critical field respectively with the test case In partial content correspond, signal-testing apparatus can with according to user by edition interface to the target in test case The modification that critical field is carried out, modifies to the corresponding content of target critical field.
Step S102, will pop one's head according to the test case control machinery arm for getting and is surveyed with the use-case in target detection device Pilot is contacted.
Signal-testing apparatus can be according to the test case control machinery arm for getting by probe and target detection device Use-case test point contacted.Specifically, the test case can include test signal information, and signal-testing apparatus can be with The selection information of the test signal acquisition of information probe in test case, the selection information of probe can include the kind of probe Matching relationship between class, quantity and at least two probe etc., for example, test signal information is measurement test signal During electric current, the type of the probe in the selection information of probe can be current probe;Test signal information be measurement optical device and During the optical signal of Optical Fiber Transmission, the type of the probe in the selection information of probe can be photoelectric probe, and further signal is surveyed Examination equipment can obtain with probe selection information matches probe, and according to test case control machinery arm will get with The probe of the selection information matches of probe is contacted with the use-case test point in target detection device.
As a kind of optional embodiment, signal-testing apparatus obtain with the probe of the selection information matches of probe it Before, mechanical arm fixes the position of probe and is respectively mounted numeral identification block, and the top of the probe mentioned by the embodiment of the present invention is also pacified Corresponding numeral identification block is filled, signal-testing apparatus can recognize the selection information of current probe by mechanical arm, and judge The selection letter of the probe that the selection information of the current probe for recognizing is arrived with the test signal acquisition of information in test case Whether breath matches, if so, then directly according to the test case control machinery arm for getting by current probe and target detection device In use-case test point contacted;If it is not, then capturing the selection with the probe for getting according to test case control machinery arm The probe of information matches, and control machinery arm carries out the probe for grabbing with the use-case test point in target detection device Contact.
As a kind of optional embodiment, signal-testing apparatus control machinery arm will pop one's head in in target detection device When use-case test point is contacted, light source can also be passed through and camera monitors mechanical arm and will pop one's head in and the use in target detection device The process that example test point is contacted.
Step S103, according to get test case configuration oscillograph, and according to through configuration oscillograph obtain with The test data of the use-case test point of probe contacts.
Signal-testing apparatus can configure oscillograph according to the test case for getting, and according to the oscillograph through configuration Obtain the test data with the use-case test point of probe contacts.
In implementing, for different test signals, such as SMI(Serial Management Interface, serial Management interface)Bus signals or eye pattern signal etc., signal-testing apparatus can be in the corresponding characteristic template of particular test signal Configuration pin configures institute to the configuration parameter in the test case of the particular test signal according to the characteristic template through configuration State oscillograph.Signal-testing apparatus is configured with after oscillograph, can be obtained and probe contacts according to the oscillograph through configuration The test data of use-case test point, wherein the test data can include the data of use-case test point and the waveform of test signal Data etc..
Used as a kind of optional embodiment, signal-testing apparatus is got after the test data of use-case test point, can be with Business expected result in test case, is analyzed to the test data of use-case test point.It is further alternative, signal Test equipment can be generated with being analyzed the analysis result for obtaining according to test process and to the test data of use-case test point Test report.
In the signal testing method shown in Fig. 1, signal-testing apparatus obtains the test case for target detection device, Wherein described test case includes the position of use-case test point, will be popped one's head according to the test case control machinery arm for getting Contacted with the use-case test point in the target detection device, according to the test case configuration oscillography for getting Device, and the test data with the use-case test point of the probe contacts, the present invention are obtained according to the oscillograph through configuration Embodiment can combine software and hardware in the hardware cell signal testing stage, be automatically obtained the test of use-case test point, simple to operate, carry Rise operating efficiency.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow sheet of the signal testing method provided in another embodiment of the present invention, As illustrated, the signal testing method may comprise steps of:
Step S201, the Printed Circuit Board Design file and device data in target detection device generates test and uses Example.
Signal-testing apparatus can be in target detection device Printed Circuit Board Design file and device data generate Test case.
In implementing, signal-testing apparatus can be according to the signal testing method in hardware cell signal testing stage and letter Number characteristic, completes the relevant parameter such as to judge with signal, oscillograph, test command and business software, expection waveform and waveform Arrange, the parameter setting can include test signal information, test signal parameter setting, test command business matching arrange, Oscillograph parameter setting and waveform judge parameter setting etc., further, signal-testing apparatus according to the parameter setting with And the Printed Circuit Board Design file and device data in target detection device, generate test case.
Used as a kind of optional embodiment, signal-testing apparatus can provide edition interface for the test case, And instructed by the modification that the edition interface is submitted to according to user, the test case is modified.It is further alternative, The test case can include at least one critical field, and signal-testing apparatus can be shown in the test case at least One critical field, wherein at least one critical field is corresponded respectively with the partial content in the test case, Signal-testing apparatus can be to be carried out to the target critical field in test case by edition interface according to user modification, it is right The corresponding content of target critical field is modified.
Wherein, in target detection device the test case that Printed Circuit Board Design file and device data is generated can To show in the form of form or image, for example, test case is shown in table form, test that will be in test case , the information such as test point and its position and testing standard shows in table form.Test case is shown in the form of images, can To be to show test case visualization, the device that test signal that will be in test case is flowed through, according to the stream of test signal To arrangement, carry out image conversion and show, the flow direction of test signal can also be identified by color and arrow, by color and Use-case test point in prompting pattern identification test case.Further alternative, signal-testing apparatus can be in the test for showing In use-case, according to the modification instruction that user submits to, the test case of the display is modified.
Step S202, will pop one's head in and the use-case test in target detection device according to the test case control machinery arm for generating Point is contacted.
Signal-testing apparatus can will pop one's head in and target detection device according to the test case control machinery arm of the generation In use-case test point contacted.
In implementing, the test case can include test signal information, and signal-testing apparatus can be according to test The selection information of the test signal acquisition of information probe in use-case, the selection information of probe can include species, the quantity of probe And the matching relationship between at least two probe etc., for example, when test signal information is to measure the electric current of test signal, The type of the probe in the selection information of probe can be current probe;Test signal information is measurement optical device and Optical Fiber Transmission Optical signal when, the type of the probe in the selection information of probe can be photoelectric probe, and further signal-testing apparatus can The probe of the selection information matches to obtain and pop one's head in, and will be got and the choosing popped one's head according to test case control machinery arm The probe for taking information matches is contacted with the use-case test point in target detection device.
As a kind of optional embodiment, signal-testing apparatus obtain with the probe of the selection information matches of probe it Before, mechanical arm fixes the position of probe and can be respectively mounted numeral identification block, the top of the probe mentioned by the embodiment of the present invention Corresponding numeral identification block is there are also installed, signal-testing apparatus can recognize the selection information of current probe by mechanical arm, and The choosing of the probe that the selection information of current probe that judgement is recognized is arrived with the test signal acquisition of information in test case Whether breath of winning the confidence matches, if so, then directly according to the test case control machinery arm for getting by current probe and target detection Use-case test point in device is contacted;If it is not, then being captured and the probe for getting according to test case control machinery arm Choose the probe of information matches, and control machinery arm is by the use-case test point in the probe for grabbing and target detection device Contacted.
As a kind of optional embodiment, signal-testing apparatus control machinery arm will pop one's head in in target detection device When use-case test point is contacted, light source can also be passed through and camera monitors mechanical arm and will pop one's head in and the use in target detection device The process that example test point is contacted.If the position of the position and preferable use-case test point for monitoring probe contacts mismatches, The position of probe contacts can be adjusted by user, so that the position of the position of probe contacts and preferable use-case test point Match somebody with somebody.
Step S203, according to the test case configuration oscillograph for generating, and obtains and visits according to the oscillograph through configuration The test data of the use-case test point of head contact.
Signal-testing apparatus according to the test case configuration oscillograph for generating, and can be obtained according to the oscillograph through configuration Take the test data with the use-case test point of probe contacts.
Oscillograph is, using the characteristic of electronics oscilloscope tube, the alternate electrical signal that human eye cannot be observed directly to be converted into into figure Picture, is displayed on fluorescent screen so as to the electronic measuring instrument of measurement.Oscillograph can support long afterglow test mode, wherein long remaining Brightness test mode can be superimposed multiple test signals, and signal-testing apparatus can be according to the test case configuration oscillography for generating Device, and the long afterglow test function in the oscillograph is controlled according to the test case for generating.Further, for different tests Signal, such as SMI bus signals or eye pattern signal etc., signal-testing apparatus can be in the corresponding characteristic template of particular test signal Middle configuration pin is configured to the configuration parameter in the test case of the particular test signal according to the characteristic template through configuration The oscillograph.
Signal-testing apparatus is configured with after oscillograph, and the use with probe contacts can be obtained according to the oscillograph through configuration The test data of example test point, wherein the test data can include the data of use-case test point and the waveform number of test signal According to etc..
Step S204, the business expected result in test case, the test data of the use-case test point to getting It is analyzed.
Test case can include business expected result, and the business that signal-testing apparatus can be in test case is expected As a result, the test data of the use-case test point to getting is analyzed.For example, for level signal, signal-testing apparatus can It is analyzed with the amplitude to the level signal in the test data of the use-case test point for getting, in judging the test data The amplitude of level signal whether match with the amplitude of the level signal in business expected result.Optionally, signal-testing apparatus The business softwares such as the Time-Series analysis software or eye Diagram Analysis software of oscillograph manufacturer can be docked, is realized to such as eye pattern signal The analysis of test result.
Step S205, the analysis result life for obtaining is analyzed according to test process and to the test data of use-case test point Into test report.
Test signal equipment can be analyzed according to test process and to the test data of use-case test point obtain point Analysis result generates test report.The test process can include generating test case, and control machinery arm will pop one's head in and be surveyed with target Use-case test point in examination device is contacted, and configures oscillograph, is connect with probe according to the oscilloscope display through configuration The test data of tactile use-case test point, to analysis of test data etc..The test report can include test signal, test Point position, analysis result for obtaining etc. is analyzed to test data, the test report supports word, excel, webpage, PDF And the business software form such as various pictures.
In the signal testing method shown in Fig. 2, printed circuit board of the signal-testing apparatus in target detection device Design document and device data generate test case, will be popped one's head in and the mesh according to the test case control machinery arm of the generation The use-case test point in mapping examination device is contacted, according to the test case of generation configuration oscillograph, and according to The oscillograph through configuration obtains the test data with the use-case test point of the probe contacts, and the use-case to getting is surveyed The test data of pilot is analyzed, and generates test report, and the embodiment of the present invention can be tied in the hardware cell signal testing stage Software and hardware is closed, generation, the test of use-case test point, the analysis of test result and the test report of test case is automatically obtained Generate, it is simple to operate, lift operating efficiency.
Fig. 3 is referred to, Fig. 3 is a kind of structural representation of the database resource recovery system provided in the embodiment of the present invention Figure, as shown in the figure the database resource recovery system in the embodiment of the present invention at least can be including use-case acquisition module 301, machinery Arm control module 302 and oscillograph configuration module 303.
Use-case acquisition module 301, for obtaining the test case for target detection device, the test case includes using The position of example test point.
Mechanical arm control module 302, the test case control machinery arm for being got according to use-case acquisition module 301 will Probe is contacted with the use-case test point in the target detection device.
Oscillograph configuration module 303, for the test case configuration oscillograph got according to use-case acquisition module 301, And according to the use-case test point with the probe contacts in the oscillograph acquisition mechanical arm control module 303 of configuration Test data.
In implementing, for different test signals, such as SMI(Serial Management Interface, serial Management interface)Bus signals or eye pattern signal etc., oscillograph configuration module 303 can be in the corresponding characteristic mould of particular test signal Configuration pin is to the configuration parameter in the test case of the particular test signal in plate, and is matched somebody with somebody according to the characteristic template through configuration Put the oscillograph.Oscillograph configuration module 303 can be with according to the use-case of the oscillograph acquisition through configuration and probe contacts The test data of test point, wherein the test data can include the data of use-case test point and the Wave data of test signal Deng.
The test case includes test signal information, as a kind of optional embodiment, in the embodiment of the present invention Mechanical arm control module 302 can be with as shown in figure 4, further include:
Information acquisition unit 401 is chosen, for the choosing of the test signal acquisition of information probe in the test case Win the confidence breath.
Probe acquiring unit 402, for obtaining and choosing the selection information of the probe that information acquisition unit 401 gets The probe matched somebody with somebody.
Mechanical arm control unit 403, the test case for being got according to use-case acquisition module 301 controls the machinery Arm is contacted the probe that acquiring unit 402 of popping one's head in gets with the use-case test point in the target detection device.
Used as a kind of optional embodiment, the mechanical arm control module 302 can also include:
Information identificating unit 404 is chosen, for recognizing the selection information of current probe by the mechanical arm.
Information judging unit 405 is chosen, for judging to choose the selection of the current probe that information identificating unit 404 is recognized Whether information matches with the selection information for choosing the probe that information acquisition unit 401 gets.
Wherein, acquiring unit 402 of popping one's head in before the probe with the selection information matches of probe is obtained, fix and visit by mechanical arm The position of head can be respectively mounted numeral identification block, and corresponding number is there are also installed at the top of the probe mentioned by the embodiment of the present invention Word recognizes block, and choosing information identificating unit 404 can recognize the selection information of current probe by mechanical arm, choose information and judge Unit 405 judges the selection information of the current probe for recognizing and chooses survey of the information acquisition unit 401 in test case Trial signal acquisition of information to the selection information of probe whether match.
If choosing information judging unit 405 to judge to choose the selection letter of the current probe that information identificating unit 404 is recognized Breath and the selection information matches for choosing the probe that information acquisition unit 401 gets, then trigger the mechanical arm control unit 403 The mechanical arm is controlled by the institute in the current probe and the target detection device according to the test case that gets State use-case test point to be contacted.
If the information judging unit 405 of choosing judges the current probe that the selection information identificating unit 404 is recognized Selection information and it is described choose the selection information of probe that information acquisition unit 401 gets and mismatch, then trigger the spy Head acquiring unit 402 controls the probe of the mechanical arm crawl and the selection information matches of the probe for getting.
The target detection device includes Printed Circuit Board Design file and device data, used as a kind of optional embodiment party Formula, the signal-testing apparatus can also include:
Use-case generation module 304, for Printed Circuit Board Design file and device in the target detection device Data generates the test case, triggers the use-case acquisition module 301 and obtains the test case.
Used as a kind of optional embodiment, the signal-testing apparatus can also include:
Use-case modified module 305, for after the use-case generation module 304 generates the test case, for described Test case provides edition interface, and is instructed by the modification that the edition interface is submitted to according to user, to the test case Modify.
The test case includes at least one critical field, used as a kind of optional embodiment, the embodiment of the present invention In use-case modified module 305 can be with as shown in figure 5, further including:
Field display unit 501, for showing at least one of test case critical field, described each key Field is corresponded respectively with the partial content in the test case.
Use-case changes unit 502, for aobvious for the field display unit 501 by the edition interface according to user The modification that target critical field at least one of test case shown critical field is carried out, to the target critical field Corresponding content is modified.
Used as a kind of optional embodiment, the signal-testing apparatus can also include:
Monitoring module 306, for being got according to the use-case acquisition module 301 in the mechanical arm control module 302 Test case control machinery arm will pop one's head in when being contacted with the use-case test point in the target detection device, pass through Light source and mechanical arm described in phase machine monitoring will be popped one's head in and contacted with the use-case test point in the target detection device.
The test case includes business expected result, used as a kind of optional embodiment, the signal-testing apparatus Can also include:
Data analysis module 307, for the business expected result in the test case, configures to the oscillograph Test number of the module 303 according to the oscillograph through configuration gets with the use-case test point of the probe contacts According to being analyzed.
Used as a kind of optional embodiment, the signal-testing apparatus can also include:
Report generation module 308, for getting according to the test process and the data analysis module 307 pairs The test data of the use-case test point with the probe contacts be analyzed the analysis result that obtains and generate test report.
In the signal-testing apparatus shown in Fig. 3, Fig. 4 and Fig. 5, use-case acquisition module 301 is obtained and is directed to target detection The test case of device, wherein the test case includes the position of use-case test point, mechanical arm control module 302 is according to described The test case control machinery arm for getting will be popped one's head in and be contacted with the use-case test point in the target detection device, Oscillograph configuration module 303 configures oscillograph according to the test case for getting, and according to the oscillography through configuration Device obtains the test data with the use-case test point of the probe contacts, and the embodiment of the present invention can be in hardware cell signal testing rank Section combines software and hardware, is automatically obtained the test of use-case test point, simple to operate, lifts operating efficiency.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of the signal-testing apparatus provided in another embodiment of the present invention. Wherein, as shown in fig. 6, the signal-testing apparatus can include:At least one processor 601, such as CPU, at least one network Interface 604, user interface 603, memory 605, at least one communication bus 602 and display screen 606.Wherein, communication bus 602 are used to realize the connection communication between these components.Wherein, user interface 603 can include display screen(Display), key Disk(Keyboard), optional user interface 603 can also be including wireline interface, the wave point of standard.Network interface 604 is optional Can include standard wireline interface, wave point(Such as WI-FI interfaces).Memory 605 can be high-speed RAM memory, It can also be non-labile memory(non-volatile memory), for example, at least one magnetic disc store.Memory 605 optionally can also be at least one storage device for being located remotely from aforementioned processor 601.As shown in fig. 6, as a kind of meter Can include that operating system, network communication module, Subscriber Interface Module SIM and signal are surveyed in the memory 605 of calculation machine storage medium Examination application program.
In the signal-testing apparatus shown in Fig. 6, network interface 604 is mainly used in connecting oscillograph and mechanical arm, and shows Ripple device or mechanical arm enter row data communication;And processor 601 can be used for calling the signal testing application stored in memory 605 Program, and perform following operation:
Test case for target detection device is obtained by network interface 604, the test case is tested including use-case The position of point;
To be popped one's head in by the control machinery arm of network interface 604 and contacted with the use-case test point in target detection device;
Oscillograph is configured by network interface 604, and the use-case with probe contacts is obtained according to the oscillograph through configuration The test data of test point.
In one embodiment, processor 601 calls the signal testing application program stored in memory 605 to hold The following operation of row:
Test case for target detection device is obtained by network interface 604, the test case is surveyed including use-case The position of pilot;
To be popped one's head in and the target detection according to the test case control machinery arm for getting by network interface 604 The use-case test point in device is contacted;
Oscillograph is configured according to the test case for getting by network interface 604, and according to described through configuration Oscillograph obtain and the test data of the use-case test point of the probe contacts.
In one embodiment, test case includes test signal information, and correspondingly, processor 601 is according to the acquisition To test case control machinery arm will pop one's head in and the use-case test point in the target detection device carries out contacting concrete For:
Processor 601 passes through the test signal acquisition of information probe in the test case that network interface 604 gets Selection information;
Probe with the selection information matches of the probe is obtained by network interface 604;
The test case got by network interface 604 control the mechanical arm by the probe for getting with it is described The use-case test point in target detection device is contacted.
In one embodiment, obtain before the probe with the selection information matches of the probe can be with for processor 601 Perform following operation:
The selection information of current probe is recognized by the mechanical arm;
Whether the selection information of the selection information of current probe recognized described in judging and the probe for getting is Match somebody with somebody;
If so, then triggering perform according to the test case that gets control the mechanical arm by the current probe with The use-case test point in the target detection device is contacted;
If it is not, then controlling the probe of the mechanical arm crawl and the selection information matches of the probe for getting.
In one embodiment, the target detection device includes Printed Circuit Board Design file and device data, processes Device 601 is obtained before the test case for target detection device, can also carry out following operation:
Printed Circuit Board Design file and device data in the target detection device generates the test case.
In one embodiment, Printed Circuit Board Design file of the processor 601 in the target detection device and Device data is generated after the test case, can also carry out following operation:
Edition interface is provided for the test case, and is referred to by the modification that the edition interface is submitted to according to user Order, modifies to the test case.
In one embodiment, the test case includes at least one critical field, and processor 601 is directed to the test Use-case provides edition interface, and is instructed by the modification that the edition interface is submitted to according to user, and the test case is carried out Modification can be specially:
At least one of test case critical field is shown, described each critical field is used respectively with the test Partial content in example is corresponded;
It is right according to the modification that user is carried out by the edition interface for the target critical field in the test case The corresponding content of the target critical field is modified.
In one embodiment, processor 601 also performs following steps:
To be popped one's head in and the use in the target detection device according to the test case control machinery arm for getting Example test point is when being contacted, by light source and mechanical arm described in phase machine monitoring is by the probe and the target detection device The use-case test point contacted.
In one embodiment, the test case includes business expected result, and processor 601 can also carry out step:
Business expected result in the test case, gets to described according to the oscillograph through configuration The test data of the use-case test point with the probe contacts be analyzed.
In one embodiment, business expected result of the processor 601 in the test case, to described according to institute State after the test data of the use-case test point with the probe contacts that the oscillograph of configuration gets is analyzed, also Can be with execution step:
According to the test process and described to the test with probe contacts use-case test points that is getting Data are analyzed the analysis result for obtaining and generate test report.
Signal-testing apparatus shown in Fig. 6 can combine software and hardware in the hardware cell signal testing stage, be automatically obtained use-case The test of test point, it is simple to operate, lift operating efficiency.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, can be Related hardware is instructed to complete by computer program, described program can be stored in computer read/write memory medium In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
It should be noted that in the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment The part being not described in, may refer to the associated description of other embodiment.Secondly, those skilled in the art also should know Know, embodiment described in this description belongs to preferred embodiment, involved action and unit is not necessarily of the invention It is necessary.
Step in present invention method can according to actual needs carry out order adjustment, merge and delete.
Module or unit in embodiment of the present invention device can according to actual needs be merged, divide and deleted.
Module described in the embodiment of the present invention or unit, can be by universal integrated circuit, such as CPU(Central Processing Unit, central processing unit), or by ASIC(Application Specific Integrated Circuit, special IC)To realize.
The signal testing method and equipment for being provided the embodiment of the present invention above is described in detail, used herein Specific case is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help and understands The method of the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, in tool Will change in body embodiment and range of application, in sum, this specification content should not be construed as to the present invention Restriction.

Claims (16)

1. a kind of signal testing method, it is characterised in that methods described includes:
The test case for target detection device is obtained, the test case includes the position of use-case test point, also including survey Trial signal information;
The selection information of the test signal acquisition of information probe in the test case;
Obtain the probe with the selection information matches of the probe;
According to the test case control machinery arm for getting by the probe for getting and the target detection device The use-case test point contacted;
According to the test case configuration oscillograph for getting, and obtained and the spy according to the oscillograph through configuration The test data of the use-case test point of head contact.
2. the method for claim 1, it is characterised in that the probe of the acquisition and the selection information matches of the probe Before, methods described also includes:
The selection information of current probe is recognized by the mechanical arm;
Whether the selection information of the current probe recognized described in judging matches with the selection information of the probe for getting;
If so, then triggering perform according to the test case that gets control the mechanical arm by the current probe with it is described The use-case test point in target detection device is contacted;
If it is not, then controlling the probe of the mechanical arm crawl and the selection information matches of the probe for getting.
3. the method as described in any one of claim 1~2, it is characterised in that the target detection device includes printed circuit Plate design document and device data;
Before the test case obtained for target detection device, methods described also includes:
Printed Circuit Board Design file and device data in the target detection device generates the test case.
4. method as claimed in claim 3, it is characterised in that the printed circuit board in the target detection device Design document and device data are generated after the test case, and methods described also includes:
Edition interface is provided for the test case, and is instructed by the modification that the edition interface is submitted to according to user, it is right The test case is modified.
5. method as claimed in claim 4, it is characterised in that the test case includes at least one critical field;
It is described to provide edition interface for the test case, and referred to by the modification that the edition interface is submitted to according to user Order, the test case is modified including:
Show at least one of test case critical field, described each critical field respectively with the test case in Partial content correspond;
According to the modification that user is carried out by the edition interface for the target critical field in the test case, to described The corresponding content of target critical field is modified.
6. the method for claim 1, it is characterised in that the test case control machinery arm got described in the basis Probe is contacted with the use-case test point in the target detection device also to be included:
By light source the probe is tested with the use-case in the target detection device with mechanical arm described in phase machine monitoring Point is contacted.
7. the method for claim 1, it is characterised in that the test case includes business expected result;
Methods described also includes:
Business expected result in the test case, to it is described according to it is described through configuration oscillograph get with The test data of the use-case test point of the probe contacts is analyzed.
8. method as claimed in claim 7, it is characterised in that the business expected result in the test case, The test data according to the use-case test point with the probe contacts got through the oscillograph of configuration is entered After row analysis, methods described also includes:
According to test process and described the test data with probe contacts use-case test points that is getting is carried out The analysis result that analysis is obtained generates test report.
9. a kind of signal-testing apparatus, it is characterised in that the signal-testing apparatus includes:
Use-case acquisition module, for obtaining the test case for target detection device, the test case is tested including use-case The position of point, also including test signal information;
Mechanical arm control module, for the test case control machinery arm that got according to the use-case acquisition module will pop one's head in The use-case test point in the target detection device is contacted;
Oscillograph configuration module, for the test case configuration oscillograph got according to the use-case acquisition module, and according to The oscillograph through configuration obtains the survey of the use-case test point with the probe contacts in the mechanical arm control module Examination data;
Wherein described mechanical arm control module includes:
Information acquisition unit is chosen, for the selection information of the test signal acquisition of information probe in the test case;
Probe acquiring unit, for obtaining the spy of the selection information matches of the probe got with the selection information acquisition unit Head;
Mechanical arm control unit, the test case for being got according to the use-case acquisition module controls the mechanical arm by institute State the probe probe that gets of acquiring unit to be contacted with the use-case test point in the target detection device.
10. signal-testing apparatus as claimed in claim 9, it is characterised in that the mechanical arm control module also includes:
Information identificating unit is chosen, for recognizing the selection information of current probe by the mechanical arm;
Choose information judging unit, for judge the selection information of current probe that the selection information identificating unit recognizes with Whether the selection information for choosing the probe that information acquisition unit gets matches;
If described choose the selection information that information judging unit judges the current probe that the selection information identificating unit is recognized The selection information matches of probe got with the selection information acquisition unit, then trigger the mechanical arm control unit according to The test case that gets controls the mechanical arm by the use in the current probe and the target detection device Example test point is contacted;
If described choose the selection information that information judging unit judges the current probe that the selection information identificating unit is recognized The selection information of the probe got with the selection information acquisition unit is mismatched, then trigger the probe acquiring unit control The mechanical arm captures the probe with the selection information matches of the probe for getting.
11. signal-testing apparatus as described in any one of claim 9~10, it is characterised in that the target detection device bag Include Printed Circuit Board Design file and device data;
The signal-testing apparatus also includes:
Use-case generation module, generates for the Printed Circuit Board Design file in the target detection device and device data The test case, triggers the use-case acquisition module and obtains the test case.
12. signal-testing apparatus as claimed in claim 11, it is characterised in that the signal-testing apparatus also includes:
Use-case modified module, for after the use-case generation module generates the test case, carrying for the test case For edition interface, and instructed by the modification that the edition interface is submitted to according to user, the test case is modified.
13. signal-testing apparatus as claimed in claim 12, it is characterised in that the test case includes that at least one is crucial Field;
The use-case modified module includes:
Field display unit, for showing at least one of test case critical field, described each critical field point Do not correspond with the partial content in the test case;
Use-case changes unit, for being used for the test that the field display unit shows by the edition interface according to user The modification that target critical field at least one of example critical field is carried out, to the corresponding content of the target critical field Modify.
14. signal-testing apparatus as claimed in claim 9, it is characterised in that the signal-testing apparatus also includes:
Monitoring module, for being controlled according to the test case that the use-case acquisition module gets in the mechanical arm control module Mechanical arm will be popped one's head in when being contacted with the use-case test point in the target detection device, by light source and phase machine monitoring The mechanical arm will be popped one's head in and be contacted with the use-case test point in the target detection device.
15. signal-testing apparatus as claimed in claim 9, it is characterised in that the test case includes business expected result;
The signal-testing apparatus also includes:
Data analysis module, for the business expected result in the test case, to the oscillograph configuration module root According to the oscillograph through configuration get described in carry out point with the test data of the use-case test point of the probe contacts Analysis.
16. signal-testing apparatus as claimed in claim 15, it is characterised in that the signal-testing apparatus also includes:
Report generation module, for according to test process and the data analysis module to described in described getting with the spy The test data of the use-case test point of head contact is analyzed the analysis result for obtaining and generates test report.
CN201310673886.1A 2013-12-11 2013-12-11 Signal testing method and signal testing equipment Active CN103698686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310673886.1A CN103698686B (en) 2013-12-11 2013-12-11 Signal testing method and signal testing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310673886.1A CN103698686B (en) 2013-12-11 2013-12-11 Signal testing method and signal testing equipment

Publications (2)

Publication Number Publication Date
CN103698686A CN103698686A (en) 2014-04-02
CN103698686B true CN103698686B (en) 2017-04-12

Family

ID=50360281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310673886.1A Active CN103698686B (en) 2013-12-11 2013-12-11 Signal testing method and signal testing equipment

Country Status (1)

Country Link
CN (1) CN103698686B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995202B (en) * 2014-05-23 2017-01-04 深圳市易瑞来科技股份有限公司 A kind of automatic signal method of testing, Apparatus and system
CN104951400B (en) * 2015-07-13 2019-02-22 百度在线网络技术(北京)有限公司 The method and apparatus that product is tested
CN106908641B (en) * 2015-12-23 2020-06-12 普源精电科技股份有限公司 Signal measurement device and method
CN106383279A (en) * 2016-08-31 2017-02-08 江门市智尊科技电子有限公司 Conduction common-mode detector
CN106771453B (en) * 2016-11-16 2020-10-02 广州视源电子科技股份有限公司 Testing method and device for oscilloscope
CN108802511B (en) * 2017-05-04 2020-05-05 宁德时代新能源科技股份有限公司 Method and system for testing battery management unit
CN107527577B (en) * 2017-06-26 2020-12-22 武汉华星光电技术有限公司 Signal test auxiliary device and signal test method of display panel
CN107271883A (en) * 2017-06-27 2017-10-20 北京小米移动软件有限公司 circuit detecting method and system
CN110749812A (en) * 2018-07-24 2020-02-04 上海斐讯数据通信技术有限公司 Automatic testing method, system and device for hardware circuit
CN110632403A (en) * 2019-08-27 2019-12-31 深圳市菲菱科思通信技术股份有限公司 Method for automatically testing power supply ripple noise
CN110850269A (en) * 2019-10-11 2020-02-28 深圳市元征科技股份有限公司 Test system, test method, control device, and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006066A1 (en) * 2007-06-28 2009-01-01 Behm Michael L Method and System for Automatic Selection of Test Cases
CN101865975B (en) * 2009-04-16 2012-11-21 鸿富锦精密工业(深圳)有限公司 Main board testing system and method
CN101777023B (en) * 2010-03-30 2012-05-02 成都市华为赛门铁克科技有限公司 Method and device for generating test cases
CN102338854B (en) * 2010-07-27 2015-04-15 迈普通信技术股份有限公司 Circuit board test case generation system and method thereof
CN102375778B (en) * 2010-08-17 2014-12-31 中兴通讯股份有限公司 Method and system for automatically testing digital signal processor (DSP)

Also Published As

Publication number Publication date
CN103698686A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103698686B (en) Signal testing method and signal testing equipment
CN110446932A (en) The hardware testing of robot assisted
US10380311B2 (en) System for introspection and annotation of electronic circuit design data
US8996928B2 (en) Devices for indicating a physical layer error
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
US9170901B2 (en) System and method for analyzing an electronics device including a logic analyzer
CN102621481A (en) System and method for automatically diagnosing fault of circuit board
KR20070095804A (en) Graphical presentation of semiconductor test results
CN106094802A (en) A kind of automobile electronic controller communication test system and method
CN113157508A (en) Test method, system, device, equipment and storage medium of embedded system
CN102879732B (en) Method and system for testing board card
US20160056902A1 (en) Systems for module and modular mobile electronic device testing
CN109901055A (en) A kind of OBD equipment performance test macro
CN108761526A (en) One kind being based on Labview untethereds seismic instrument and its test method
CN108828654A (en) A kind of nodal seismic data acquisition system based on Labview
CN110609243B (en) Method and system for testing CPU power supply efficiency and related components
CN112305396A (en) Test system and test method
US20150039955A1 (en) Systems and methods for Analog, Digital, Boundary Scan, and SPI Automatic Test Equipment
Balass et al. Precise realtime current consumption measurement in IoT TestBed
CN113868044B (en) Signal testing method, device, computer equipment and storage medium
CN209640838U (en) A kind of server test board and server system
JP5088542B2 (en) Data processing device
CN102778629A (en) Method and arrangement for automatically measuring electric connections of electronic circuit arrangements mounted on pcb
CN109388528A (en) The test fixture of USB test method and USB device
CN207008007U (en) A kind of device tested automatically PCBA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant