CN106940432A - A kind of instrument connective method of testing and test system - Google Patents

A kind of instrument connective method of testing and test system Download PDF

Info

Publication number
CN106940432A
CN106940432A CN201610003541.9A CN201610003541A CN106940432A CN 106940432 A CN106940432 A CN 106940432A CN 201610003541 A CN201610003541 A CN 201610003541A CN 106940432 A CN106940432 A CN 106940432A
Authority
CN
China
Prior art keywords
address
signal
instrument
test
current
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.)
Granted
Application number
CN201610003541.9A
Other languages
Chinese (zh)
Other versions
CN106940432B (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.)
Suzhou Rigol Precision Electric Technologies Co Ltd
Original Assignee
Suzhou Rigol Precision Electric 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 Suzhou Rigol Precision Electric Technologies Co Ltd filed Critical Suzhou Rigol Precision Electric Technologies Co Ltd
Priority to CN201610003541.9A priority Critical patent/CN106940432B/en
Publication of CN106940432A publication Critical patent/CN106940432A/en
Application granted granted Critical
Publication of CN106940432B publication Critical patent/CN106940432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of instrument connective method of testing and test system, and methods described includes:Obtain current IP address;Obtain the corresponding test signal of tested test instrument;When tested test instrument is connected in the current IP address, the signal frequency of the tested test instrument is read according to described current IP address;Described signal frequency is compared with described test signal, comparison result is exported.Realize for different series test instrument to be measured, in the case of hardware connection is normal, test system can connect the test instrument to be measured of respective layer with Auto-matching, it is to avoid the setting modification of client, it also avoid because human users cause sequence number with connecting the layer of instrument not correspondence problem.

Description

A kind of instrument connective method of testing and test system
Technical field
The present invention, on technical field of measurement and test, is concretely one especially with regard to the connectivity technology of test scope platform Plant instrument connective method of testing and test system.
Background technology
In the prior art, the test platform of oscillograph is attached generally by USB.During test, according to Rely program that connection character is set.It is therefore desirable to which operator can correctly enter sequence number to realize tested equipment oscillograph Connection and equipment and layer it is correct corresponding.
The test platform of above-mentioned oscillograph relies on client in specific test process and sets connection character.For different series Devices to test be accomplished by change client setting, also, client set simultaneously to four layers of equipment effectively, limit four Layer can only be connected with a series of equipment to be tested simultaneously.In addition, when operating personnel do not input correct complete sequence to respective layer During row number, manual operation error apparatus mistake corresponding with layer can be caused.
Therefore, a kind of new scheme how is researched and developed out to ensure what oscillograph test platform was tested in test process The connectedness of equipment, is this area technical barrier urgently to be resolved hurrily to reduce manual operation error apparatus mistake corresponding with layer.
The content of the invention
In order to overcome the above-mentioned technical problem that prior art is present, the invention provides a kind of connective method of testing of instrument with And test system, test signal is exported by giving tested test instrument, by being sequentially communicated equipment, and its signal frequency is obtained, By being compared with standard signal frequency and accurate commutation is realized to be tested for different series to the test instrument to be measured of fixed bed Instrument, in the case of hardware connection is normal, test system can connect the test instrument to be measured of respective layer with Auto-matching, it is to avoid The setting modification of client, it also avoid because human users cause sequence number with connecting the layer of instrument not correspondence problem.
It is an object of the invention to provide a kind of connective method of testing of instrument, methods described includes:Obtain current IP Address;Obtain the corresponding test signal of tested test instrument;When tested test instrument is connected in the current IP address, according to institute The current IP address stated reads the signal frequency of the tested test instrument;Described signal frequency is entered with described test signal Row is compared, and exports comparison result.
In a preferred embodiment of the invention, described test signal is standard-frequency signal or fixed amplitude value signal or solid Determine rise time signals.
In a preferred embodiment of the invention, described method also includes:Obtain sequence number;It is determined that the IP that route is set Address realm.
In a preferred embodiment of the invention, described method also includes:Obtain the IP address range prestored.
In a preferred embodiment of the invention, described method also includes:An IP is determined from described IP address range Address, is used as current IP address.
In a preferred embodiment of the invention, described method also includes:Obtain the IP address of distribution;By described IP Address is used as current IP address.
In a preferred embodiment of the invention, described method also includes:Judge tested test instrument in the current IP address Whether connect;When being judged as NO, traveled through in described IP address range.
In a preferred embodiment of the invention, described signal frequency is compared with described test signal, output ratio Result is included:Compare described signal frequency and described test signal;When comparing failure, in described IP address model Enclose interior traveled through;After traveling through all IP address and comparing failure, the comparison result of output connection failure.
In a preferred embodiment of the invention, described signal frequency is compared with described test signal, output ratio Result is also included:When comparing successfully, the successful comparison result of output connection;Preserve the connection letter of the test instrument to be measured Breath.
It is an object of the invention to provide a kind of connective test system of instrument, described system include signal source, Universal meter, tested test instrument, host computer and frock, wherein, described host computer respectively with described signal source, general-purpose Table, tested test instrument and frock are connected;Described tested test instrument by described frock respectively with described signal source, Universal meter is connected;Described signal source, for exporting the standard-frequency signal of tested test instrument handshaking procedures and being tested The test signal that instrument needs;Described host computer includes:Current IP address acquisition module, for obtaining current IP address; Test signal acquisition module, for obtaining the corresponding test signal of tested test instrument;Described universal meter, it is described for reading The signal frequency of tested test instrument;Described host computer also includes:Signal frequency receiver module, it is described tested for receiving The signal frequency of instrument;Signal fusing module, it is defeated for described signal frequency to be compared with described test signal Go out comparison result.
In a preferred embodiment of the invention, described test signal is standard-frequency signal or fixed amplitude value signal or solid Determine rise time signals.
In a preferred embodiment of the invention, described host computer also includes:Sequence number acquisition module, for obtaining sequence Number;IP address range determining module, for determining the IP address range that route is set.
In a preferred embodiment of the invention, described host computer also includes:IP address range acquisition module, for obtaining The IP address range prestored.
In a preferred embodiment of the invention, described host computer also includes:Current IP address determining module, for from institute An IP address is determined in the IP address range stated, current IP address is used as.
In a preferred embodiment of the invention, described system also includes the router being connected with tested test instrument, is used for IP address is distributed to tested test instrument;Described host computer also includes IP address acquisition module, for obtaining the IP distributed Location, described IP address is current IP address.
In a preferred embodiment of the invention, described host computer also includes:Judge module, for judging tested test instrument Whether connected in the current IP address;First spider module, for when described judge module is judged as NO, described IP address range in traveled through.
In a preferred embodiment of the invention, described signal fusing module includes:Comparing unit, described for comparing Signal frequency and described test signal;Second Traversal Unit, for when comparing failure, in described IP address range Traveled through;First comparison result output unit, for after traveling through all IP address and comparing failure, output to connect failure Comparison result.
In a preferred embodiment of the invention, described signal fusing module also includes:Second comparison result output unit, For when comparing successfully, output to connect successful comparison result;Storage unit, the company for preserving the test instrument to be measured Connect information.
The beneficial effects of the present invention are there is provided a kind of instrument connective method of testing and test system, by quilt Tester exports test signal, by being sequentially communicated equipment, and obtains its signal frequency, by with standard signal frequency ratio Pair and accurate commutation is realized for different series test instrument to be measured to the test instrument to be measured of fixed bed, it is normal in hardware connection In the case of, test system can connect the test instrument to be measured of respective layer with Auto-matching, it is to avoid the setting modification of client, It it also avoid because human users cause sequence number with connecting the layer of instrument not correspondence problem.
For the above and other objects, features and advantages of the present invention can be become apparent, preferred embodiment cited below particularly, and Coordinate institute's accompanying drawings, be described in detail below.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing skill The accompanying drawing to be used needed for art description is briefly described, it should be apparent that, drawings in the following description are only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the embodiment one of the method for testing of instrument connectedness provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the embodiment two of the method for testing of instrument connectedness provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the embodiment three of the method for testing of instrument connectedness provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of the embodiment four of the method for testing of instrument connectedness provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of the embodiment five of the method for testing of instrument connectedness provided in an embodiment of the present invention;
Fig. 6 be Fig. 5 in step S506 embodiment one flow chart;
Fig. 7 be Fig. 5 in step S506 embodiment two flow chart;
Fig. 8 is a kind of structured flowchart of the embodiment one of the test system of instrument connectedness provided in an embodiment of the present invention;
Fig. 9 is the structure of the embodiment one of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Block diagram;
Figure 10 is the knot of the embodiment two of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram;
Figure 11 is the knot of the embodiment three of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram;
Figure 12 is a kind of structured flowchart of the embodiment two of the test system of instrument connectedness provided in an embodiment of the present invention;
Figure 13 is the knot of the embodiment four of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram;
Figure 14 is the knot of the embodiment five of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram;
Figure 15 is the signal fusing module in host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Embodiment one structured flowchart;
Figure 16 is the signal fusing module in host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Embodiment two structured flowchart;
The structural representation of the test system for the specific embodiment Instrumental connectedness that Figure 17 provides for the present invention;
The schematic flow sheet of the method for testing for the specific embodiment Instrumental connectedness that Figure 18 provides for the present invention.
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 clearly and completely Description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
The present invention relies on client for the test platform of oscillograph in the prior art in specific test process and sets connection Character, is accomplished by changing the setting of client for the Devices to test of different series, also, client is set simultaneously to four layers Effectively, limiting four layers can only be while connects with a series of equipment to be tested, in addition, when operating personnel are not to correspondence for equipment During the correct complete sequence number of layer input, manual operation error apparatus wrong technical problem corresponding with layer can be caused, it is proposed that A kind of instrument connective method of testing and test system.
Fig. 1 is a kind of particular flow sheet of the embodiment one of the method for testing of instrument connectedness proposed by the present invention, by Fig. 1 Understand, described method includes:
S101:Obtain current IP address.
In the particular embodiment, current IP address is any one IP address of X layers of tested test instrument.
S102:Obtain the corresponding test signal of tested test instrument.In a particular embodiment, described test signal can be with Exported by signal source, such as X layers of radio-frequency signal source DSG3000, its test signal exported can be standard frequency letter Number FreqX or fixed amplitude value signal AmplX or fixed rise time signals RiseTimeX.
S103:When tested test instrument is connected in the current IP address, the quilt is read according to described current IP address The signal frequency of tester.In a particular embodiment, the signal frequency of tested test instrument, ten thousand can be read by universal meter With table such as digital multimeter DM3068.
S104:Described signal frequency is compared with described test signal, comparison result is exported.
As above it is a kind of embodiment one of the method for testing for instrument connectedness that the present invention is provided, by tested to X layers Test instrument export test signal, when tested test instrument is connected in the current IP address, obtain its signal frequency, by with Standard signal frequency compare and accurate commutation to fixed bed test instrument to be measured.
Fig. 2 is a kind of flow chart of the embodiment two of the method for testing of instrument connectedness provided in an embodiment of the present invention, by scheming 2 understand that this method is specifically included in embodiment two:
S201:Obtain sequence number.In a particular embodiment, can be by client list entries number, then by host computer Obtain the sequence number.
S202:It is determined that the IP address range that route is set.In a particular embodiment, can be according to the number of devices of test system Measure to determine IP address range.
S203:An IP address is determined from described IP address range, current IP address is used as.That is, current IP Address is the IP address arbitrarily selected in the range of secondary IP address.
S204:Obtain current IP address.Current IP address is that X layers of tested test instrument are any one in IP address range Individual IP address.
S205:Obtain the corresponding test signal of tested test instrument.In a particular embodiment, described test signal can be with Exported by signal source, its test signal exported can be standard-frequency signal FreqX or fixed amplitude value signal AmplX Or fixed rise time signals RiseTimeX.
S206:When tested test instrument is connected in the current IP address, the quilt is read according to described current IP address The signal frequency of tester.In a particular embodiment, the signal frequency of tested test instrument can be read by universal meter.
S207:Described signal frequency is compared with described test signal, comparison result is exported.
As above it is a kind of embodiment two of the method for testing for instrument connectedness that the present invention is provided, in this embodiment, IP address range is that the sequence number inputted according to client is determined, by exporting test signal to X layers of tested test instrument, When tested test instrument is connected in current IP address, its signal frequency is obtained, is accurately connected by being compared with standard signal frequency Lead to the test instrument to be measured of fixed bed.
Fig. 3 is a kind of flow chart of the embodiment three of the method for testing of instrument connectedness provided in an embodiment of the present invention, by scheming 3 understand that this method is specifically included in embodiment three:
S301:Obtain the IP address range prestored.In a particular embodiment, protected before being obtained from database The IP address range prestored deposited.
S302:An IP address is determined from described IP address range, current IP address is used as.That is, current IP Address is the IP address arbitrarily selected in the range of secondary IP address.
S303:Obtain current IP address.Current IP address is that X layers of tested test instrument are any one in IP address range Individual IP address.
S304:Obtain the corresponding test signal of tested test instrument.In a particular embodiment, described test signal can be with Exported by signal source, its test signal exported can be standard-frequency signal FreqX or fixed amplitude value signal AmplX Or fixed rise time signals RiseTimeX.
S305:When tested test instrument is connected in the current IP address, the quilt is read according to described current IP address The signal frequency of tester.In a particular embodiment, the signal frequency of tested test instrument can be read by universal meter.
S306:Described signal frequency is compared with described test signal, comparison result is exported.
As above it is a kind of embodiment three of the method for testing for instrument connectedness that the present invention is provided, in this embodiment, IP address range be obtained from database before preserved, by X layer tested test instruments output test signal, When tested test instrument is connected in current IP address, its signal frequency is obtained, is accurately connected by being compared with standard signal frequency Lead to the test instrument to be measured of fixed bed.
Fig. 4 is a kind of flow chart of the embodiment four of the method for testing of instrument connectedness provided in an embodiment of the present invention, by scheming 4 understand that this method is specifically included in embodiment four:
S401:Obtain the IP address of distribution.In a particular embodiment, can router every layer of test instrument to be measured is set IP address, i.e. router distribute a certain fixed ip address to test instrument to be measured, and such subsequent step can be just dispensed in IP The process of traversal in address realm.
S402:It regard described IP address as current IP address.That is, an IP of current IP address fixed allocation Location.
S403:Obtain current IP address.Current IP address is an IP address of X layers of tested test instrument fixed allocation.
S404:Obtain the corresponding test signal of tested test instrument.In a particular embodiment, described test signal can be with Exported by signal source, its test signal exported can be standard-frequency signal FreqX or fixed amplitude value signal AmplX Or fixed rise time signals RiseTimeX.
S405:When tested test instrument is connected in the current IP address, the quilt is read according to described current IP address The signal frequency of tester.In a particular embodiment, the signal frequency of tested test instrument can be read by universal meter.
S406:Described signal frequency is compared with described test signal, comparison result is exported.
As above it is a kind of embodiment four of the method for testing for instrument connectedness that the present invention is provided, in this embodiment, Router sets the IP address of every layer of test instrument to be measured, i.e., router distributes a certain fixed ip address to test instrument to be measured, this Sample subsequent step can just dispense the process traveled through in IP address range.
Fig. 5 is a kind of particular flow sheet of the embodiment five of the method for testing of instrument connectedness proposed by the present invention, by Fig. 5 Understand, described method includes:
S501:Obtain current IP address.
In the particular embodiment, current IP address is any one IP of X layers of tested test instrument in IP address range Address.
S502:Obtain the corresponding test signal of tested test instrument.In a particular embodiment, described test signal can be with Exported by signal source, such as X layers of radio-frequency signal source DSG3000, its test signal exported can be standard frequency letter Number FreqX or fixed amplitude value signal AmplX or fixed rise time signals RiseTimeX.
S503:Judge whether tested test instrument connects in the current IP address.In a particular embodiment, take current IP address carries out ping.PING is Packet Internet Groper, is the Internet packets survey meter, is to be used to test network connect The program for the amount of connecing.
S504:When being judged as NO i.e. when tested test instrument is not connected in the current IP address, in described IP address model Enclose interior traveled through.If specifically, ping is obstructed, continuing to travel through, secondary IP address scope chooses remaining IP address conduct Current IP address.
S505:When being judged as YES i.e. when tested test instrument is connected in the current IP address, according to described current IP Read the signal frequency of the tested test instrument in location.In a particular embodiment, tested test instrument can be read by universal meter Signal frequency, universal meter such as digital multimeter DM3068.
S506:Described signal frequency is compared with described test signal, comparison result is exported.
As above it is a kind of embodiment five of the method for testing for instrument connectedness that the present invention is provided, by tested to X layers Test instrument export test signal, when tested test instrument is connected in the current IP address, obtain its signal frequency, by with Standard signal frequency is compared and accurate commutation, if obstructed, continues to travel through next IP to the test instrument to be measured of fixed bed.
Fig. 6 be Fig. 5 in step S506 embodiment one flow chart, it will be appreciated from fig. 6 that described step S506 exists Embodiment one includes:
S601:Compare described signal frequency and described test signal;
S602:When comparing failure, traveled through in described IP address range;
S603:After traveling through all IP address and comparing failure, the comparison result of output connection failure.
That is, if the signal frequency and the frequency of test signal that get are not correspond to, the tested instrument of current IP address Device is not on X layers, namely X layers are tested test instrument without connection, continues to travel through other IP address, when traversal institute There is IP address and compare after failure, the comparison result of output connection failure.
Fig. 7 is the flow chart of the embodiment two of the step S506 in Fig. 5, and as shown in Figure 7, described step S506 exists Embodiment two includes:
S701:Compare described signal frequency and described test signal;
S702:When comparing failure, traveled through in described IP address range;
S703:After traveling through all IP address and comparing failure, the comparison result of output connection failure.
S704:When comparing successfully, the successful comparison result of output connection;
S705:Preserve the link information of the test instrument to be measured.
If that is, the signal frequency got is corresponding with the frequency of test signal, at the tested test instrument of current IP address In X layers, otherwise continue to travel through other IP.
As described above, being a kind of method of testing for instrument connectedness that the present invention is provided, surveyed by giving tested test instrument to export Trial signal, by being sequentially communicated equipment, and obtains its signal frequency, by being compared with standard signal frequency and accurate commutation is arrived The test instrument to be measured of fixed bed, is realized for different series test instrument to be measured, in the case of hardware connection is normal, test System can connect the test instrument to be measured of respective layer with Auto-matching, it is to avoid the setting modification of client, it also avoid due to people Member's operation causes sequence number with connecting the layer of instrument not correspondence problem.
Fig. 8 is a kind of structured flowchart of the embodiment one of the test system of instrument connectedness provided in an embodiment of the present invention, by Fig. 8 understands that described system includes signal source 400, universal meter 200, tested test instrument 300, host computer 100 and work 500 are filled, wherein, described host computer is connected with described signal source, universal meter, tested test instrument and frock respectively; Described tested test instrument is connected with described signal source, universal meter respectively by described frock.
Fig. 9 is the structure of the embodiment one of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Block diagram, from Fig. 8, Fig. 9:
Described signal source 400, standard-frequency signal and tested test instrument for exporting tested test instrument handshaking procedures are needed The test signal wanted.In a particular embodiment, radio-frequency signal source DSG3000 of the described signal source such as X layers, When its test signal exported can be for standard-frequency signal FreqX or fixed amplitude value signal AmplX or fixed rising Between signal RiseTimeX.
Described host computer 100 includes:
Current IP address acquisition module 101, for obtaining current IP address.In the particular embodiment, current IP address It is any one IP address of X layers of tested test instrument.
Test signal acquisition module 102, for obtaining the corresponding test signal of tested test instrument.
Described universal meter 200, the signal frequency for reading the tested test instrument.In a particular embodiment, ten thousand With table such as digital multimeter DM3068, signal frequency, amplitude of tested test instrument etc. are read.
Described host computer also includes:
Signal frequency receiver module 103, the signal frequency for receiving the tested test instrument.
Signal fusing module 104, for described signal frequency to be compared with described test signal, output compares knot Really.
As above be a kind of embodiment one of the connective test system of instrument for providing of the present invention, by by signal source to the X layers of tested test instrument output test signal, when tested test instrument is connected in the current IP address, it is read by universal meter Signal frequency, by host computer by signal frequency and test signal compare and accurate commutation to fixed bed test instrument to be measured.
Figure 10 is the knot of the embodiment two of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram, as shown in Figure 10, described host computer also include:
Sequence number acquisition module 105, for obtaining sequence number.In a particular embodiment, sequence can be inputted by client Row number, then obtains the sequence number by the sequence number acquisition module of host computer.
IP address range determining module 106, for determining the IP address range that route is set.In a particular embodiment, IP address range can be determined according to test system number of devices.
Current IP address determining module 107, for determining an IP address from described IP address range, as current IP address.That is, current IP address is the IP address arbitrarily selected in the range of secondary IP address.
As above it is the embodiment two of host computer in a kind of connective test system of the instrument of the invention provided, in the implementation In mode, IP address range is that the sequence number inputted according to client is determined, by giving X layers of tested instrument by signal source Device exports test signal, and when tested test instrument is connected in the current IP address, its signal frequency is read by universal meter, leads to Cross host computer by signal frequency and test signal compare and accurate commutation to fixed bed test instrument to be measured.
Figure 11 is the knot of the embodiment three of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram, as shown in Figure 11, the host computer also include in embodiment three:
IP address range acquisition module 108, for obtaining the IP address range prestored.In a particular embodiment, The IP address range prestored preserved before being obtained from database.
Current IP address determining module 107, for determining an IP address from described IP address range, as current IP address.That is, current IP address is the IP address arbitrarily selected in the range of secondary IP address.
As above it is the embodiment three of host computer in a kind of connective test system of the instrument of the invention provided, in the implementation In mode, IP address range be obtained from database before preserved, by giving X layers of tested instrument by signal source Device exports test signal, and when tested test instrument is connected in the current IP address, its signal frequency is read by universal meter, leads to Cross host computer by signal frequency and test signal compare and accurate commutation to fixed bed test instrument to be measured.
Figure 12 is a kind of structured flowchart of the embodiment two of the test system of instrument connectedness provided in an embodiment of the present invention, As shown in Figure 12, the system also includes in embodiment two:
The router 600 being connected with tested test instrument, for distributing IP address to tested test instrument.In specific embodiment party In formula, router sets the IP address of every layer of test instrument to be measured, i.e. router to distribute a certain fixed ip address to instrument to be tested Device, so subsequently can just dispense the process traveled through in IP address range.
Figure 13 is the knot of the embodiment four of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram, as shown in Figure 13, in embodiment four, described host computer also includes:
IP address acquisition module 109, the IP address for obtaining distribution, described IP address is used as current IP address. That is, an IP address of current IP address fixed allocation.
As above it is the embodiment four of host computer in a kind of connective test system of the instrument of the invention provided, in the implementation In mode, router sets the IP address of every layer of test instrument to be measured, i.e., router distributes a certain fixed ip address to be tested Instrument, such subsequent step can just dispense the process traveled through in IP address range.
Figure 14 is the knot of the embodiment five of host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Structure block diagram, as shown in Figure 14, described host computer also include in embodiment five:
Judge module 110, for judging whether tested test instrument connects in the current IP address.In specific embodiment In, take current IP address to carry out ping.PING is Packet Internet Groper, is the Internet packets survey meter, is to use In the program of test network connection amount.
First spider module 111, for when described judge module is judged as NO, being carried out in described IP address range Traversal.If specifically, ping is obstructed, continuing to travel through, secondary IP address scope chooses remaining IP address as current IP Address.
As above it is the embodiment five of host computer in a kind of connective test system of instrument for providing of the present invention, by the X layers of tested test instrument output test signal, when tested test instrument is connected in the current IP address, obtain its signal frequency, By compared with standard signal frequency and accurate commutation to fixed bed test instrument to be measured, if obstructed, continue travel through it is next IP。
Figure 15 is the signal fusing module in host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Embodiment one structured flowchart, as shown in Figure 15, described signal fusing module 104 includes in embodiment one:
Comparing unit 1041, for comparing described signal frequency and described test signal;
Second Traversal Unit 1042, for when comparing failure, being traveled through in described IP address range;
First comparison result output unit 1043, for after traveling through all IP address and comparing failure, output to connect failure Comparison result.
That is, if the signal frequency and the frequency of test signal that get are not correspond to, the tested instrument of current IP address Device is not on X layers, namely X layers are tested test instrument without connection, continues to travel through other IP address.
Figure 16 is the signal fusing module in host computer in a kind of connective test system of instrument provided in an embodiment of the present invention Embodiment two structured flowchart, as shown in Figure 16, described signal fusing module 104 is also wrapped in embodiment two Include:
Second comparison result output unit 1044, for when comparing successfully, output to connect successful comparison result;
Storage unit 1045, the link information for preserving the test instrument to be measured.
If that is, the signal frequency got is corresponding with the frequency of test signal, at the tested test instrument of current IP address In X layers, otherwise continue to travel through other IP.
As described above, being a kind of test system for instrument connectedness that the present invention is provided, by exporting solid to X layers of equipment Determine frequency signal FreqX, equipment is sequentially communicated by traveling through IP pool address, and obtain its signal frequency, by believing with standard Number frequency is compared and accurate commutation is realized for different series test instrument to be measured to the test instrument to be measured of fixed bed, in hardware In the case of connection is normal, test system can connect the test instrument to be measured of respective layer with Auto-matching, it is to avoid setting for client Modification is put, be it also avoid because human users cause sequence number with connecting the layer of instrument not correspondence problem.
With reference to specific embodiment, technical scheme is discussed in detail.The specific reality that Figure 17 provides for the present invention The structural representation of the connective test system of an Instrumental is applied, as shown in Figure 17, the specific embodiment uses LAN communication, Host computer realizes control oscillograph, signal source DSG3000, universal meter DM3068 and test fixture by network connection. DSG3000 output and DM3068 input are connected respectively to frock, and frock is directly connected by active probe with oscillograph Connect.
In above-mentioned test system, host computer is that whole test system is uniformly controlled platform, and it is by network connection, using Visa Communication interface, realizes the access control to other equipment in test system.Oscillograph is Devices to test, and test system can be overall Its performance indications of calibration/verification.DSG3000 provides various low frequencies, high frequency sinusoidal and square-wave signal in test process. DM3068 is used for the output signal performance of test scope.Frock is directly connected to oscillograph, realizes signal transmission single channel/multichannel Switching switching function can export direct current signal and fast along signal simultaneously, and for frequency test.
Oscillograph test platform detects that the connective process of test instrument to be measured is as shown in figure 18.Client list entries number, on Position machine obtains the IP address range that route is set, and the DSG of PC control respective layer produces standard frequency FreqX exchange Signal (wherein, FreqX frequency signals are the signals that can not possibly occur under other any use states in test system), in IP Traveled through in address realm, traversal is completed, then is terminated.Otherwise take current traversal IP address to carry out ping, if ping not general rules Continue to travel through, if ping is logical, corresponding device is opened according to IP address, slave unit obtains essential information, reads signal frequently Rate is simultaneously compared with standard frequency, compares failure, then continues to travel through, compare the company for successfully then preserving X layers of test instrument to be measured Information is connect, the equipment successful connection, process terminates.Judge current IP whether ping it is logical before, can also first confirm current IP It is not the IP of any one tester or the Devices to test in survey, then carries out ping.
In summary, a kind of instrument proposed by the present invention connective method of testing and test system, by tested instrument Device exports test signal, by being sequentially communicated equipment, and obtains its signal frequency, accurate by being compared with standard signal frequency The test instrument to be measured of fixed bed is really communicated to, is realized for different series test instrument to be measured, normal situation is connected in hardware Under, test system can connect the test instrument to be measured of respective layer with Auto-matching, it is to avoid the setting modification of client, also avoid Because human users cause sequence number with connecting the layer of instrument not correspondence problem.
The present invention core technology thought be:
A, signal source produce a test signal corresponding with X layers of instrument;
B, detect whether the IP of each instrument connects successively;If obstructed, continue to travel through next IP;If connection, The instrument of the IP is then opened, is configured, its signal frequency is read;
If c, the signal frequency got are corresponding with the frequency of test signal, the instrument of the IP is in X layers, otherwise Continue to travel through other IP.
D, the frequency evaluation corresponding with the frequency of test signal is not finally got, then judge X layers without connection instrument Device.
The beneficial effects of the present invention are:
1st, for the test instrument to be measured of different series, client should not change any setting;
2nd, ensure that four layers of test instrument to be measured can be different series;
3rd, it ensure that the correct connection of the corresponding layer of test instrument to be measured;
4th, reduce the personnel to operate mistake.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, meter can be passed through Calculation machine program instructs the hardware of correlation to complete, and described program can be stored in general computer read/write memory medium, The program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can for magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Those skilled in the art will also be appreciated that the various functions that the embodiment of the present invention is listed be by hardware or software come Realize the design requirement for depending on specific application and whole system.Those skilled in the art can specifically should for every kind of With, various methods can be used to realize described function, but this realization is understood not to beyond embodiment of the present invention protection Scope.
Apply specific embodiment in the present invention to be set forth the principle and embodiment of the present invention, above example is said It is bright to be only intended to help and understand the method for the present invention and its core concept;Simultaneously for those of ordinary skill in the art, according to According to the thought of the present invention, it will change in specific embodiments and applications, in summary, in this specification Appearance should not be construed as limiting the invention.

Claims (18)

1. a kind of connective method of testing of instrument, it is characterized in that, described method includes:
Obtain current IP address;
Obtain the corresponding test signal of tested test instrument;
When tested test instrument is connected in the current IP address, the tested instrument is read according to described current IP address The signal frequency of device;
Described signal frequency is compared with described test signal, comparison result is exported.
2. according to the method described in claim 1, it is characterized in that, described test signal is standard-frequency signal or fixation Amplitude value signal or fixed rise time signals.
3. according to the method described in claim 1, it is characterized in that, described method also includes:
Obtain sequence number;
It is determined that the IP address range that route is set.
4. according to the method described in claim 1, it is characterized in that, described method also includes:
Obtain the IP address range prestored.
5. the method according to claim 3 or 4, it is characterized in that, described method also includes:
An IP address is determined from described IP address range, current IP address is used as.
6. according to the method described in claim 1, it is characterized in that, described method also includes:
Obtain the IP address of distribution;
It regard described IP address as current IP address.
7. method according to claim 5, it is characterized in that, described method also includes:
Judge whether tested test instrument connects in the current IP address;
When being judged as NO, traveled through in described IP address range.
8. method according to claim 5, it is characterized in that, described signal frequency is entered with described test signal Row is compared, and output comparison result includes:
Compare described signal frequency and described test signal;
When comparing failure, traveled through in described IP address range;
After traveling through all IP address and comparing failure, the comparison result of output connection failure.
9. method according to claim 8, it is characterized in that, described signal frequency is entered with described test signal Row is compared, and output comparison result also includes:
When comparing successfully, the successful comparison result of output connection;
Preserve the link information of the test instrument to be measured.
10. a kind of connective test system of instrument, it is characterized in that, described system includes signal source, universal meter, is tested Instrument, host computer and frock,
Wherein, described host computer is connected with described signal source, universal meter, tested test instrument and frock respectively;
Described tested test instrument is connected with described signal source, universal meter respectively by described frock;
Described signal source, for exporting what the standard-frequency signal and tested test instrument of tested test instrument handshaking procedures needed Test signal;
Described host computer includes:
Current IP address acquisition module, for obtaining current IP address;
Test signal acquisition module, for obtaining the corresponding test signal of tested test instrument;
Described universal meter, the signal frequency for reading the tested test instrument;
Described host computer also includes:
Signal frequency receiver module, the signal frequency for receiving the tested test instrument;
Signal fusing module, for described signal frequency to be compared with described test signal, exports comparison result.
11. system according to claim 10, it is characterized in that, described test signal is standard-frequency signal or fixation Amplitude value signal or fixed rise time signals.
12. system according to claim 10, it is characterized in that, described host computer also includes:
Sequence number acquisition module, for obtaining sequence number;
IP address range determining module, for determining the IP address range that route is set.
13. system according to claim 10, it is characterized in that, described host computer also includes:
IP address range acquisition module, for obtaining the IP address range prestored.
14. the system according to claim 12 or 13, it is characterized in that, described host computer also includes:
Current IP address determining module, for determining an IP address from described IP address range, is used as current IP Address.
15. system according to claim 10, it is characterized in that, described system also includes being connected with tested test instrument Router, for tested test instrument distribute IP address;
Described host computer also includes IP address acquisition module, the IP address for obtaining distribution, and described IP address is Current IP address.
16. system according to claim 14, it is characterized in that, described host computer also includes:
Judge module, for judging whether tested test instrument connects in the current IP address;
First spider module, for when described judge module is judged as NO, being traveled through in described IP address range.
17. system according to claim 14, it is characterized in that, described signal fusing module includes:
Comparing unit, for comparing described signal frequency and described test signal;
Second Traversal Unit, for when comparing failure, being traveled through in described IP address range;
First comparison result output unit, for after traveling through all IP address and comparing failure, output to connect the comparison of failure As a result.
18. system according to claim 17, it is characterized in that, described signal fusing module also includes:
Second comparison result output unit, for when comparing successfully, output to connect successful comparison result;
Storage unit, the link information for preserving the test instrument to be measured.
CN201610003541.9A 2016-01-04 2016-01-04 Method and system for testing instrument connectivity Active CN106940432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610003541.9A CN106940432B (en) 2016-01-04 2016-01-04 Method and system for testing instrument connectivity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610003541.9A CN106940432B (en) 2016-01-04 2016-01-04 Method and system for testing instrument connectivity

Publications (2)

Publication Number Publication Date
CN106940432A true CN106940432A (en) 2017-07-11
CN106940432B CN106940432B (en) 2020-06-12

Family

ID=59468363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610003541.9A Active CN106940432B (en) 2016-01-04 2016-01-04 Method and system for testing instrument connectivity

Country Status (1)

Country Link
CN (1) CN106940432B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773942A (en) * 2004-11-10 2006-05-17 英保达股份有限公司 Testing apparatus and method
US20070083692A1 (en) * 2005-10-06 2007-04-12 Holtek Semiconductor Inc. Method and apparatus for interfacing a peripheral device corresponding to the detection of interface
CN103472338A (en) * 2013-09-22 2013-12-25 成都国光电气股份有限公司 Magnetron test system and method
CN103678058A (en) * 2012-09-24 2014-03-26 鸿富锦精密工业(深圳)有限公司 Hardware detection system and method
CN103970636A (en) * 2013-01-30 2014-08-06 昆达电脑科技(昆山)有限公司 SAS (Serial Attached SCSI) channel detection system
CN104702449A (en) * 2013-12-04 2015-06-10 鸿富锦精密工业(深圳)有限公司 Connectivity test system and method
CN104754069A (en) * 2013-12-31 2015-07-01 施耐德电器工业公司 Dynamic address distribution method, device and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773942A (en) * 2004-11-10 2006-05-17 英保达股份有限公司 Testing apparatus and method
US20070083692A1 (en) * 2005-10-06 2007-04-12 Holtek Semiconductor Inc. Method and apparatus for interfacing a peripheral device corresponding to the detection of interface
CN103678058A (en) * 2012-09-24 2014-03-26 鸿富锦精密工业(深圳)有限公司 Hardware detection system and method
CN103970636A (en) * 2013-01-30 2014-08-06 昆达电脑科技(昆山)有限公司 SAS (Serial Attached SCSI) channel detection system
CN103472338A (en) * 2013-09-22 2013-12-25 成都国光电气股份有限公司 Magnetron test system and method
CN104702449A (en) * 2013-12-04 2015-06-10 鸿富锦精密工业(深圳)有限公司 Connectivity test system and method
CN104754069A (en) * 2013-12-31 2015-07-01 施耐德电器工业公司 Dynamic address distribution method, device and server

Also Published As

Publication number Publication date
CN106940432B (en) 2020-06-12

Similar Documents

Publication Publication Date Title
US20140343883A1 (en) User Interface for Signal Integrity Network Analyzer
CN105044637B (en) A kind of calibrating installation and calibration method for calibration vector Network Analyzer
US20110286506A1 (en) User Interface for Signal Integrity Network Analyzer
CN104184617B (en) InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment
CN104365024B (en) Determining the signal quality of an electrical interconnect
CN104931906B (en) The transmission delay calibration method and system of the digital channel of integrated circuit test system
CN106649015A (en) Testing device and testing method of USB interface
CN109766232A (en) A kind of PCIe pressure eye figure detection calibration method
CN106787199A (en) A kind of portable substation simulated testing system and method
CN106248044A (en) A kind of bridge full-bridge Multi-point deflection real-time acquisition and display system
CN103309783B (en) Test method and device based on bus communication
CN105067894A (en) Method and system of testing frequency conversion loss of mixer
US20090125264A1 (en) Nonlinear Measurement System Error Correction
EP3242143B1 (en) Measurement apparatus
CN107576904B (en) Analog-circuit fault diagnosis method based on sawtooth wave
JP2008526112A (en) Use of a parametric measurement unit for transducer testing.
CN109088780A (en) A kind of signal detecting method and detection device
CN109375142A (en) Mutual-inductor tester calibration method and system based on kaiser window FFT filtering
CN109725250A (en) A kind of test macro and test method of on-chip system chip analog circuit
CN106448698A (en) Test device for analyzing voice delay of voice device, system and method
CN108983005A (en) The detection method and device of manual operator
CN106680756A (en) Testing method, system and device for accuracy grade of direct-current voltage transformer
CN104852776B (en) A kind of radiofrequency signal calibration method based on tunnel
CN106940432A (en) A kind of instrument connective method of testing and test system
CN107764286A (en) A kind of Together, digital gyroscope delay detection method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Kolding road high tech Zone of Suzhou City, Jiangsu Province, No. 8 215163

Applicant after: Puyuan Jingdian Technology Co.,Ltd.

Address before: Kolding road high tech Zone of Suzhou City, Jiangsu Province, No. 8 215163

Applicant before: RIGOL Technology Co.,Ltd.

Address after: Kolding road high tech Zone of Suzhou City, Jiangsu Province, No. 8 215163

Applicant after: RIGOL Technology Co.,Ltd.

Address before: Kolding road high tech Zone of Suzhou City, Jiangsu Province, No. 8 215163

Applicant before: SUZHOU RIGOL PRECISION ELECTRIC TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant