CN106940648A - A kind of method, equipment and the test system of automatic loading test item - Google Patents

A kind of method, equipment and the test system of automatic loading test item Download PDF

Info

Publication number
CN106940648A
CN106940648A CN201610003365.9A CN201610003365A CN106940648A CN 106940648 A CN106940648 A CN 106940648A CN 201610003365 A CN201610003365 A CN 201610003365A CN 106940648 A CN106940648 A CN 106940648A
Authority
CN
China
Prior art keywords
test
test item
information
devices
sequence number
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.)
Pending
Application number
CN201610003365.9A
Other languages
Chinese (zh)
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 CN201610003365.9A priority Critical patent/CN106940648A/en
Publication of CN106940648A publication Critical patent/CN106940648A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of method, equipment and the test system of automatic loading test item, and methods described includes:Obtain sequence number;When described sequence number is effective, the described Devices to test of connection;Obtain the accessory information and system information of the Devices to test;The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information;Test item is obtained according to described test item filter information;The described test item of loading.The present invention realizes according to sequence number automatic decision and screens and be loaded into correct test item, should not artificial selection, and configuration file need not be generated, cumbersome, inefficient, the error-prone and inconvenient technical problem such as use for overcoming that loading test item in the prior art is present.

Description

A kind of method, equipment and the test system of automatic loading test item
Technical field
The present invention is on technical field of measurement and test, especially with regard to the loading technique in test process, is concretely a kind of automatic Load method, equipment and the test system of test item.
Background technology
In the prior art, typically by manually selecting locally with a series of or different series instrument test item configuration file come real It is now correct to load test item, while acting on four layers of equipment to be tested.Wherein, different configuration files is same by what is compiled A series of different file generateds of and different series.
In the scheme of above-mentioned loading test item, need individually to edit not identical text with a series of or different series different configuration files Part is individually created, and not only process is cumbersome and not easy care.Different configuration files needs manual identified model and selected, efficiency It is low and error-prone.The loading of configuration file makes test system not support different model equipment applied to four layers of equipment to be tested simultaneously While test, cause the performance of whole test system to be had a greatly reduced quality, also bring inconvenience to actual production process.
Therefore, how to research and develop out a kind of new scheme, with overcome present in above-mentioned loading test item process it is cumbersome, Inefficient, the error-prone and inconvenient defect used is this area technical barrier urgently to be resolved hurrily.
The content of the invention
In order to overcome that loading test item in the prior art is present it is cumbersome, inefficient, error-prone and inconvenient the technical problem such as use, The invention provides a kind of method, equipment and the test system of automatic loading test item, obtain to be measured according to sequence number first The accessory information of equipment, secondly determines the test item filter information of Devices to test, finally according to accessory information and system information Screened according to test item filter information and obtain testability, and then load test item, realized according to sequence number automatic decision simultaneously Screening is loaded into correct test item, should not artificial selection, and configuration file need not be generated.
It is an object of the invention to provide a kind of method of automatic loading test item, methods described includes:Obtain sequence number; When described sequence number is effective, the described Devices to test of connection;Obtain the accessory information and system letter of the Devices to test Breath;The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information;According to institute The test item filter information stated obtains test item;The described test item of loading.
In a preferred embodiment of the invention, described method also includes:Judge whether the length of the sequence number is effective; When being judged as YES, judge whether the form of the sequence number is effective;When being judged as YES, described sequence number is effective.
In a preferred embodiment of the invention, the accessory information of the Devices to test is obtained by command queries mode.
In a preferred embodiment of the invention, the system information of the Devices to test is obtained by model acquisition modes.
In a preferred embodiment of the invention, the Devices to test pair is determined according to described accessory information and system information The test item filter information answered includes:Bandwidth information is obtained out from described system information;According to the attached of the Devices to test Part information and bandwidth information determine the corresponding test item filter information of the Devices to test.
In a preferred embodiment of the invention, described method also includes:Test item is imported into database;Described in configuration Database.
In a preferred embodiment of the invention, obtaining test item according to described test item filter information includes:According to described Test item filter information the corresponding test item of the Devices to test is screened from the database or form document;From the number The test item filtered out according to being obtained in storehouse or form document;Described test item is plotted as by TreeView using recursive fashion Structure.
It is an object of the invention to provide a kind of equipment of automatic loading test item, described equipment includes:Sequence number Acquisition module, for obtaining sequence number;Link block, for when described sequence number is effective, connecting Devices to test;It is attached Part data obtaining module, accessory information and system information for obtaining the Devices to test;Filter information determining module, For determining the corresponding test item filter information of the Devices to test according to described accessory information and system information;Test item Acquisition module, for obtaining test item according to described test item filter information;Load-on module, for loading described test .
In a preferred embodiment of the invention, described equipment also includes:First judge module, applied to judging the sequence Whether the length of row number is effective;Second judge module, for when the first described judge module is judged as YES, judging described Whether the form of sequence number is effective;Sequence number determination module, it is described for when the second described judge module is judged as YES Sequence number be determined as effectively.
In a preferred embodiment of the invention, described accessory information acquisition module includes:First acquisition unit, for leading to Cross the accessory information that command queries mode obtains the Devices to test.
In a preferred embodiment of the invention, described accessory information acquisition module includes:Second acquisition unit, for leading to Cross the system information that model acquisition modes obtain the Devices to test.
In a preferred embodiment of the invention, described filter information determining module includes:Bandwidth information acquiring unit, is used In obtaining out bandwidth information from described system information;Filter information determining unit, for according to the attached of the Devices to test Part information and bandwidth information determine the corresponding test item filter information of the Devices to test.
In a preferred embodiment of the invention, described equipment also includes:Import modul, for test item to be imported into data Storehouse;Configuration module, for configuring described database.
In a preferred embodiment of the invention, described test item acquisition module includes:Test item screening unit, for root The corresponding test item of the Devices to test is screened from the database or form document according to described test item filter information;Survey Item acquiring unit is tried, for obtaining the test item filtered out from the database or form document;Test item drawing unit, For described test item to be plotted as into TreeView structures using recursive fashion.
It is an object of the invention to provide a kind of test system of automatic loading test item, described test system includes Signal source, universal meter, the equipment of frock and automatic loading test item, wherein, described host computer respectively with described letter Number source, universal meter, Devices to test and frock are connected;Described Devices to test by described frock respectively with it is described Signal source, universal meter are connected;The equipment of described automatic loading test item includes:Sequence number acquisition module, for obtaining Sequence number;Link block, for when described sequence number is effective, connecting described Devices to test;Accessory information obtains mould Block, accessory information and system information for obtaining the Devices to test;Filter information determining module, for according to described Accessory information and system information determine the corresponding test item filter information of the Devices to test;Test item acquisition module, is used According to described test item filter information acquisition test item;Load-on module, for loading described test item.
In a preferred embodiment of the invention, the equipment of described automatic loading test item is host computer.
It is first the beneficial effects of the present invention are there is provided a kind of method, equipment and the test system of automatic loading test item The accessory information and system information of Devices to test are first obtained according to sequence number, it is secondly true according to accessory information and system information Determine the test item filter information of Devices to test, finally screened according to test item filter information and obtain testability, and then load survey Try item, realize according to sequence number automatic decision and screen be loaded into correct test item, should not artificial selection, and need not Configuration file is generated, cumbersome, inefficient, the error-prone and inconvenient skill such as use that loading test item is present in the prior art is overcome Art 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 automatic loading test item provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the embodiment two of the method for automatic loading test item provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the embodiment three of the method for automatic loading test item provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of the embodiment four of the method for automatic loading test item provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of the embodiment five of the method for automatic loading test item provided in an embodiment of the present invention;
Fig. 6 be Fig. 1 in step S104 flow chart;
Fig. 7 be Fig. 5 in step S507 flow chart;
Fig. 8 is a kind of structured flowchart of the test system of automatic loading test item provided in an embodiment of the present invention;
Fig. 9 is a kind of structured flowchart of the embodiment one of the equipment of automatic loading test item provided in an embodiment of the present invention;
Figure 10 is a kind of structured flowchart of the embodiment two of the equipment of automatic loading test item provided in an embodiment of the present invention;
Figure 11 is a kind of structured flowchart of the embodiment three of the equipment of automatic loading test item provided in an embodiment of the present invention;
Figure 12 is a kind of structured flowchart of the embodiment four of the equipment of automatic loading test item provided in an embodiment of the present invention;
Figure 13 is a kind of structured flowchart of the embodiment five of the equipment of automatic loading test item provided in an embodiment of the present invention;
Figure 14 is the structure of filter information determining module in a kind of equipment of automatic loading test item provided in an embodiment of the present invention Block diagram;
Figure 15 is the structural frames of test item acquisition module in a kind of equipment of automatic loading test item provided in an embodiment of the present invention Figure;
The structural representation of the test system of automatic loading test item in the specific embodiment that Figure 16 provides for the present invention;
The schematic flow sheet of the method for automatic loading test item in the specific embodiment that Figure 17 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 cumbersome, inefficient, error-prone and inconvenient the technology such as uses to ask for what loading test item in the prior art was present Topic, it is proposed that a kind of method, equipment and the test system of automatic loading test item.
Fig. 1 is a kind of particular flow sheet of the embodiment one of the method for automatic loading test item proposed by the present invention, by Fig. 1 Understand, described method includes:
S101:Obtain sequence number.
In the particular embodiment, sequence number can be inputted from client.
S102:When described sequence number is effective, the described Devices to test of connection.
S103:Obtain the accessory information and system information of the Devices to test.
S104:The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information. Fig. 6 is step S104 flow chart.
S105:Test item is obtained according to described test item filter information;
S106:The described test item of loading.
As above it is a kind of embodiment one of the method for automatic loading test item that the present invention is provided, is obtained first according to sequence number The accessory information and system information of Devices to test are taken, the survey of Devices to test is secondly determined according to accessory information and system information Item filter information is tried, is finally screened according to test item filter information and obtains testability, and then loads test item, root is realized According to sequence number automatic decision and screen and be loaded into correct test item, should not artificial selection, and configuration file need not be generated.
Fig. 2 is a kind of flow chart of the embodiment two of the method for automatic loading test item 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 the particular embodiment, sequence number can be inputted from client.
S202:Effectively whether the length for judging the sequence number, when being judged as YES, perform step S203, otherwise terminate this Secondary loading procedure.
S203:Judge whether the form of the sequence number is effective;
S204:When being judged as YES, that is, think that described sequence number is effective, otherwise it is assumed that described invalid sequence number, terminates This loading procedure.
S205:The described Devices to test of connection.
S206:Obtain the accessory information and system information of the Devices to test.
S207:The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information. Fig. 6 is the flow chart of the step.
S208:Test item is obtained according to described test item filter information;
S209:The described test item of loading.
As above it is a kind of embodiment two of the method for automatic loading test item that the present invention is provided, in this embodiment, It is enough effectively, when sequence number is effective, to obtain the accessory information of Devices to test according to sequence number and be to first determine whether sequence number System information, secondly determines the test item filter information of Devices to test, finally according to test according to accessory information and system information Item filter information screens and obtains testability, and then loads test item, realizes according to sequence number automatic decision and screens loading To correct test item, should not artificial selection, and configuration file need not be generated.
Fig. 3 is a kind of flow chart of the embodiment three of the method for automatic loading test item provided in an embodiment of the present invention, by scheming 3 understand that this method is specifically included in embodiment three:
S301:Obtain sequence number.In the particular embodiment, sequence number can be inputted from client.
S302:When described sequence number is effective, the described Devices to test of connection.
S303:The system information of the Devices to test is obtained, the annex for obtaining the Devices to test by command queries mode is believed Breath.In a particular embodiment, conversion sequence number is capitalization.After Devices to test connection, pass through command queries mode Obtain the accessory informations such as LA, Source of Devices to test.Specifically, judging whether list entries number obtains with command queries It is identical, it is identical then use current sequence number, it is different then inquiry user selection list entries number still get sequence number, choosing Sequence number is selected, is terminated.
S304:The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information. Fig. 6 is the flow chart of the step.
S305:Test item is obtained according to described test item filter information;
S306:The described test item of loading.
As above it is a kind of embodiment three of the method for automatic loading test item that the present invention is provided, passes through command queries first Mode obtains the accessory information of Devices to test according to sequence number, obtains system information, is secondly believed according to accessory information and system Breath determines the test item filter information of Devices to test, is finally screened according to test item filter information and obtains testability, Jin Erjia Carry test item, realize according to sequence number automatic decision and screen and be loaded into correct test item, should not artificial selection, and not Need to generate configuration file.
Fig. 4 is a kind of flow chart of the embodiment four of the method for automatic loading test item provided in an embodiment of the present invention, by scheming 4 understand that this method is specifically included in embodiment four:
S401:Obtain sequence number.In the particular embodiment, sequence number can be inputted from client.
S402:When described sequence number is effective, the described Devices to test of connection.
S403:The system information of the Devices to test is obtained by model acquisition modes, accessory information is obtained.Specific real Apply in mode, the system information of Devices to test is obtained by model acquisition modes, efficiency can be so improved.System information includes: Port number, bandwidth information, filled band be wide, it is minimum when base.
S404:The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information. Fig. 6 is the flow chart of the step.
S405:Test item is obtained according to described test item filter information;
S406:The described test item of loading.
As above it is a kind of embodiment four of the method for automatic loading test item that the present invention is provided, is obtained first by model Mode obtains the system information of Devices to test according to sequence number, obtains accessory information, is secondly believed according to accessory information and system Breath determines the test item filter information of Devices to test, is finally screened according to test item filter information and obtains testability, Jin Erjia Carry test item, realize according to sequence number automatic decision and screen and be loaded into correct test item, should not artificial selection, and not Need to generate configuration file.
Fig. 6 be Fig. 1 in step S104 flow chart, it will be appreciated from fig. 6 that the step is specifically included:
S601:Bandwidth information is obtained out from described system information;
S602:The corresponding test item sieve of the Devices to test is determined according to the accessory information and bandwidth information of the Devices to test Select information.
In a particular embodiment, step S104 obtains unit type according to model, sequence number information, sequence number and soft Part version information, the information such as the bandwidth of equipment are obtained by model, and bandwidth test filter information, mistake are obtained by bandwidth information Journey terminates.
Fig. 5 is a kind of particular flow sheet of the embodiment five of the method for automatic loading test item proposed by the present invention, by Fig. 5 Understand, described method includes:
S501:Test item is imported into database;
S502:The described database of configuration.In a particular embodiment, test item information is imported into database, and configured Database, database data as test item loading procedure data source, system for the first time using just need configuration.
S503:Obtain sequence number.In the particular embodiment, sequence number can be inputted from client.
S504:When described sequence number is effective, the described Devices to test of connection.
S505:Obtain the accessory information and system information of the Devices to test.
S506:The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information.
S507:Test item is obtained according to described test item filter information;
S508:The described test item of loading.
As above be a kind of embodiment five for the method for automatic loading test item that the present invention is provided, system it is first in use, The configuration of test association database is completed first, and the accessory information and system information of Devices to test are then obtained according to sequence number, Secondly the test item filter information of Devices to test is determined according to accessory information and system information, is finally screened and believed according to test item Breath screens and obtains testability, and then loads test item, realizes and is loaded into correctly according to sequence number automatic decision and screening Test item, should not artificial selection, and configuration file need not be generated.
In the other embodiment of the present invention, test item importing database may be replaced by directly being stored in test item In form document.
Fig. 7 is the flow chart of the step S507 in Fig. 5, and as shown in Figure 7, described step S507 includes:
S701:The corresponding test item of the Devices to test is screened from the database according to described test item filter information;
S702:The test item filtered out is obtained from the database;
S703:Described test item is plotted as by TreeView structures using recursive fashion.
That is, in a particular embodiment, corresponding test item information is filtered out from database, if obtaining data success, Then use recursive fashion to draw test item for TreeView structures, otherwise, terminate this loading procedure.
As described above, being a kind of method for automatic loading test item that the present invention is provided, automatic loading test item is realized Function, solves the cumbersome, inefficient, error-prone and inconvenient of loading test item process in the prior art and the defect such as uses, and Meet following demand:
1. all test item information of same model are stored in database in the form of a table, it is not necessary to which multiple files are preserved, Modification test item need to only safeguard same form;
2. test item information should not generate configuration file;
3. according to sequence number, procedure judges are simultaneously screened and are loaded into correct test item, should not artificial selection;
4. four layers set and support with a series of different models and the equipment test item independent loads of different series.
Fig. 8 is a kind of structured flowchart of the test system of automatic loading test item provided in an embodiment of the present invention, as shown in Figure 8, Described system include signal source 400, universal meter 200, Devices to test 300, the equipment 100 of automatic loading test item and Frock 500, wherein, the equipment of described automatic loading test item respectively with described signal source, universal meter, Devices to test And frock is connected;Described Devices to test is connected with described signal source, universal meter respectively by described frock.
In a preferred embodiment of the invention, the equipment 100 of automatic loading test item can be realized by host computer.
Fig. 9 is a kind of structured flowchart of the embodiment one of the equipment of automatic loading test item provided in an embodiment of the present invention, by Fig. 9 understands that the equipment 100 of described automatic loading test item includes:
Sequence number acquisition module 101, for obtaining sequence number.In the particular embodiment, sequence number can be inputted from client.
Link block 102, for when described sequence number is effective, connecting described Devices to test.
Accessory information acquisition module 103, accessory information and system information for obtaining the Devices to test.
Filter information determining module 104, for determining the Devices to test pair according to described accessory information and system information The test item filter information answered.Figure 15 is the structured flowchart of test item acquisition module.
Test item acquisition module 105, for obtaining test item according to described test item filter information;
Load-on module 106, for loading described test item.
As above it is a kind of embodiment one of the equipment for automatic loading test item that the present invention is provided, is obtained first according to sequence number The accessory information and system information of Devices to test are taken, the survey of Devices to test is secondly determined according to accessory information and system information Item filter information is tried, is finally screened according to test item filter information and obtains testability, and then loads test item, root is realized According to sequence number automatic decision and screen and be loaded into correct test item, should not artificial selection, and configuration file need not be generated.
Figure 10 is a kind of structured flowchart of the embodiment two of the equipment of automatic loading test item provided in an embodiment of the present invention, As shown in Figure 10, the equipment also includes in embodiment two:
Whether the first judge module 107, the length for judging the sequence number is effective.
Second judge module 108, for when the first described judge module is judged as YES, judging the form of the sequence number Whether effectively, this loading procedure is otherwise terminated.
Sequence number determination module 109, for when the second described judge module is judged as YES, that is, thinking described sequence number Effectively, otherwise it is assumed that described invalid sequence number, terminates this loading procedure.
As above it is a kind of embodiment two of the equipment for automatic loading test item that the present invention is provided, in this embodiment, It is enough effectively, when sequence number is effective, to obtain the accessory information of Devices to test according to sequence number and be to first determine whether sequence number System information, secondly determines the test item filter information of Devices to test, finally according to test according to accessory information and system information Item filter information screens and obtains testability, and then loads test item, realizes according to sequence number automatic decision and screens loading To correct test item, should not artificial selection, and configuration file need not be generated.
Figure 11 is a kind of structured flowchart of the embodiment three of the equipment of automatic loading test item provided in an embodiment of the present invention, by Figure 11 understands that the equipment is in embodiment three, and accessory information acquisition module 103 includes:
First acquisition unit 1031, the accessory information for obtaining the Devices to test by command queries mode.Specific In embodiment, conversion sequence number is capitalization.After Devices to test connection, Devices to test is obtained by command queries mode The accessory information such as LA, Source.Specifically, judge whether list entries number is identical with command queries acquisition, it is identical Current sequence number is then used, different then inquiry user selects list entries number still to get sequence number, selects sequence number, knot Beam.
As above it is a kind of embodiment three of the equipment for automatic loading test item that the present invention is provided, passes through command queries first Mode obtains the accessory information of Devices to test according to sequence number, obtains system information, is secondly believed according to accessory information and system Breath determines the test item filter information of Devices to test, is finally screened according to test item filter information and obtains testability, Jin Erjia Carry test item, realize according to sequence number automatic decision and screen and be loaded into correct test item, should not artificial selection, and not Need to generate configuration file.
Figure 12 is a kind of structured flowchart of the embodiment four of the equipment of automatic loading test item provided in an embodiment of the present invention, As shown in Figure 12, the equipment is in embodiment four, and accessory information acquisition module 103 includes:
Second acquisition unit 1032, the system information for obtaining the Devices to test by model acquisition modes.Specific In embodiment, by model acquisition modes obtain Devices to test and system information, can so improve efficiency.System is believed Breath includes:Port number, bandwidth information, filled band be wide, it is minimum when base.
As above it is a kind of embodiment four of the equipment for automatic loading test item that the present invention is provided, is obtained first by model Mode obtains the accessory information and system information of Devices to test according to sequence number, secondly according to accessory information and system information The test item filter information of Devices to test is determined, is finally screened according to test item filter information and obtains testability, and then is loaded Test item, realizes according to sequence number automatic decision and screens and be loaded into correct test item, should not artificial selection, and be not required to Generate configuration file.
Figure 14 is the structured flowchart of filter information determining module, and as shown in Figure 14, the filter information determining module 104 is specific Including:
Bandwidth information acquiring unit 1041, for obtaining out bandwidth information from described system information;
Filter information determining unit 1042, for being treated described in the accessory information according to the Devices to test and bandwidth information determination The corresponding test item filter information of measurement equipment.
In a particular embodiment, filter information determining module obtains unit type, sequence according to model, sequence number information Number and software version information, the information such as bandwidth of equipment is obtained by model, passes through bandwidth information and obtains bandwidth test screening letter Breath, process terminates.
Figure 13 is a kind of structured flowchart of the embodiment five of the equipment of automatic loading test item provided in an embodiment of the present invention, As shown in Figure 13, described equipment also includes:
Import modul 110, for test item to be imported into database;
Configuration module 111, for configuring described database.In a particular embodiment, test item information is imported into number According to storehouse, and configuration database, database data is as the data source of test item loading procedure, and system is for the first time using just needing configuration.
As above be a kind of embodiment five for the equipment of automatic loading test item that the present invention is provided, system it is first in use, The configuration of test association database is completed first, and the accessory information and system information of Devices to test are then obtained according to sequence number, Secondly the test item filter information of Devices to test is determined according to accessory information and system information, is finally screened and believed according to test item Breath screens and obtains testability, and then loads test item, realizes and is loaded into correctly according to sequence number automatic decision and screening Test item, should not artificial selection, and configuration file need not be generated.
In the other embodiment of the present invention, test item importing database may be replaced by directly being stored in test item In form document.
Figure 15 is the structural frames of test item acquisition module in a kind of equipment of automatic loading test item provided in an embodiment of the present invention Figure, as shown in Figure 15, described test item acquisition module 105 includes:
Test item screening unit 1051, for screening described to be measured from the database according to described test item filter information The corresponding test item of equipment;
Test item acquiring unit 1052, for obtaining the test item filtered out from the database;
Test item drawing unit 1053, for described test item to be plotted as into TreeView structures using recursive fashion.
That is, in a particular embodiment, corresponding test item information is filtered out from database, if obtaining data success, Then use recursive fashion to draw test item for TreeView structures, otherwise, terminate this loading procedure.
As described above, being a kind of equipment for automatic loading test item that the present invention is provided, automatic loading test item is realized Function, solves the cumbersome, inefficient, error-prone and inconvenient of loading test item process in the prior art and the defect such as uses, and Meet following demand:
1. all test item information of same model are stored in database in the form of a table, it is not necessary to which multiple files are preserved, Modification test item need to only safeguard same form;
2. test item information should not generate configuration file;
3. according to sequence number, procedure judges are simultaneously screened and are loaded into correct test item, should not artificial selection;
4. four layers set and support with a series of different models and the equipment test item independent loads of different series.
With reference to specific embodiment, technical scheme is discussed in detail.The specific reality that Figure 16 provides for the present invention The structural representation of the test system of automatic loading test item in example is applied, as shown in Figure 16, in the specific embodiment, signal Source is DSG3000, and universal meter is DM3068, and the equipment of automatic loading test item is host computer, and Devices to test is oscillograph.
Host computer realizes control oscillograph, DSG3000, DM3068 and test fixture by network connection.DSG3000's Output and DM3068 input are connected respectively to frock, and frock is directly connected by active probe with oscillograph.
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 control that conducted interviews to the equipment of test system;Oscillograph is Devices to test, and test system can overall school It is accurate/to verify its performance indications;DSG3000 provides various low frequencies, high frequency sinusoidal and square-wave signal in test process;DM3068 Output signal performance for test scope;Frock is directly connected to oscillograph, realizes signal transmission single channel/multi-channel switch Function can export direct current signal and fast along signal simultaneously, and for frequency test.
Automatic loading test item process is as shown in figure 17.The premise of the process is to complete test association database configuration, is configured Journey only needs to carry out when first time is using software.In client list entries number and space bar;Host computer judges list entries Number validity, terminate if invalid this loading;Devices to test is directly connected to if effectively, and obtains Devices to test Accessory information, such as LA and Source functions;Judge Devices to test whether successful connection, if failure if terminate this loading; Device bandwidth information etc. is obtained according to model, sequence number information if success, and then obtains screening for the test item of this equipment Information;According to filter information filler test and obtain;Judge to obtain whether test item succeeds, terminating this if failure adds Carry;Test item is loaded to the respective layer at interface if success, and loading procedure terminates.
In summary, method, equipment and the test system of a kind of automatic loading test item proposed by the present invention, first basis Sequence number obtains the accessory information and system information of Devices to test, is secondly determined according to accessory information and system information to be measured The test item filter information of equipment, finally screens according to test item filter information and obtains testability, and then loading test item, Realize according to sequence number automatic decision and screen and be loaded into correct test item, should not artificial selection, and need not generate and match somebody with somebody File is put, cumbersome, inefficient, the error-prone and inconvenient technical problem such as use that loading test item is present in the prior art is overcome.
The present invention key technology point be:Automatic identification model sequence number, obtains the specific accessory information of equipment, and test item sieve Information is selected, so as to realize the correct test item of intelligent screening and load.
The beneficial effects of the present invention are:
1. it is easy to later maintenance modification;
2. simplify loading test item process, it is not necessary to generate configuration file;
3. automatic identification model, intelligence loading test item, reduces manual operation mistake;
4. every layer of independent loads test item, supports to test different series equipment simultaneously, improves actual production efficiency.
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 (16)

1. a kind of method of automatic loading test item, it is characterized in that, described method includes:
Obtain sequence number;
When described sequence number is effective, the described Devices to test of connection;
Obtain the accessory information and system information of the Devices to test;
The corresponding test item filter information of the Devices to test is determined according to described accessory information and system information;
Test item is obtained according to described test item filter information;
The described test item of loading.
2. according to the method described in claim 1, it is characterized in that, described method also includes:
Judge whether the length of the sequence number is effective;
When being judged as YES, judge whether the form of the sequence number is effective;
When being judged as YES, described sequence number is effective.
3. method according to claim 2, it is characterized in that, the Devices to test is obtained by command queries mode Accessory information.
4. method according to claim 2, it is characterized in that, obtain the Devices to test by model acquisition modes System information.
5. method according to claim 2, it is characterized in that, determined according to described accessory information and system information The corresponding test item filter information of the Devices to test includes:
Bandwidth information is obtained out from described system information;
The corresponding test item screening letter of the Devices to test is determined according to the accessory information and bandwidth information of the Devices to test Breath.
6. according to the method described in claim 1, it is characterized in that, described method also includes:
Test item is imported into database;
The described database of configuration.
7. method according to claim 6, it is characterized in that, test item is obtained according to described test item filter information Including:
The corresponding test item of the Devices to test is screened from the database according to described test item filter information;
The test item filtered out is obtained from the database;
Described test item is plotted as by TreeView structures using recursive fashion.
8. a kind of equipment of automatic loading test item, it is characterized in that, described equipment includes:
Sequence number acquisition module, for obtaining sequence number;
Link block, for when described sequence number is effective, connecting Devices to test;
Accessory information acquisition module, accessory information and system information for obtaining the Devices to test;
Filter information determining module, for determining that the Devices to test is corresponding according to described accessory information and system information Test item filter information;
Test item acquisition module, for obtaining test item according to described test item filter information;
Load-on module, for loading described test item.
9. equipment according to claim 8, it is characterized in that, described equipment also includes:
Whether the first judge module, the length for judging the sequence number is effective;
Second judge module, for when the first described judge module is judged as YES, judge the sequence number form whether Effectively;
Sequence number determination module, for when the second described judge module is judged as YES, described sequence number to be determined as effectively.
10. equipment according to claim 9, it is characterized in that, described accessory information acquisition module includes:
First acquisition unit, the accessory information for obtaining the Devices to test by command queries mode.
11. equipment according to claim 9, it is characterized in that, described accessory information acquisition module includes:
Second acquisition unit, the system information for obtaining the Devices to test by model acquisition modes.
12. equipment according to claim 9, it is characterized in that, described filter information determining module includes:
Bandwidth information acquiring unit, for obtaining out bandwidth information from described system information;
Filter information determining unit, described to be measured set is determined for the accessory information and bandwidth information according to the Devices to test Standby corresponding test item filter information.
13. equipment according to claim 8, it is characterized in that, described equipment also includes:
Import modul, for test item to be imported into database;
Configuration module, for configuring described database.
14. equipment according to claim 13, it is characterized in that, described test item acquisition module includes:
Test item screening unit, for screening the Devices to test from the database according to described test item filter information Corresponding test item;
Test item acquiring unit, for obtaining the test item filtered out from the database;
Test item drawing unit, for described test item to be plotted as into TreeView structures using recursive fashion.
15. a kind of test system of automatic loading test item, it is characterized in that, described test system include signal source, universal meter, The equipment of frock, Devices to test and the automatic loading test item as described in claim 8 to 14 any one,
Wherein, the equipment of described automatic loading test item respectively with described signal source, universal meter, Devices to test and work Pretend connection;
Described Devices to test is connected with described signal source, universal meter respectively by described frock;
The equipment of described automatic loading test item includes:
Sequence number acquisition module, for obtaining sequence number;
Link block, for when described sequence number is effective, connecting described Devices to test;
Accessory information acquisition module, accessory information and system information for obtaining the Devices to test;
Filter information determining module, for determining that the Devices to test is corresponding according to described accessory information and system information Test item filter information;
Test item acquisition module, for obtaining test item according to described test item filter information;
Load-on module, for loading described test item.
16. test system according to claim 15, it is characterized in that, the equipment of described automatic loading test item is upper Position machine.
CN201610003365.9A 2016-01-04 2016-01-04 A kind of method, equipment and the test system of automatic loading test item Pending CN106940648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610003365.9A CN106940648A (en) 2016-01-04 2016-01-04 A kind of method, equipment and the test system of automatic loading test item

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610003365.9A CN106940648A (en) 2016-01-04 2016-01-04 A kind of method, equipment and the test system of automatic loading test item

Publications (1)

Publication Number Publication Date
CN106940648A true CN106940648A (en) 2017-07-11

Family

ID=59468380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610003365.9A Pending CN106940648A (en) 2016-01-04 2016-01-04 A kind of method, equipment and the test system of automatic loading test item

Country Status (1)

Country Link
CN (1) CN106940648A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634851A (en) * 2017-08-11 2018-01-26 珠海金山网络游戏科技有限公司 A kind of method of mobile terminal dynamic configuration server
CN108920321A (en) * 2018-07-12 2018-11-30 四川虹美智能科技有限公司 A kind of production test system and method for touch screen line control machine
CN109828172A (en) * 2019-03-06 2019-05-31 江苏和网源电气有限公司 A kind of test system for loading of frequency converter
CN110704251A (en) * 2018-07-09 2020-01-17 映翰通嘉兴通信技术有限公司 Dynamically configurable testing device and testing method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201392526Y (en) * 2009-03-25 2010-01-27 大连海事大学 Onboard test system for mobile applications
CN102724049A (en) * 2012-07-02 2012-10-10 上海市共进通信技术有限公司 Method for realizing cross-hardware-platform compatible passive optical network device multicast function
CN103079086A (en) * 2012-12-30 2013-05-01 广东九联科技股份有限公司 Automatic testing system for set-top box
CN204086504U (en) * 2014-09-22 2015-01-07 艾德克斯电子(南京)有限公司 Power supply product measurement jig
CN104618955A (en) * 2015-03-04 2015-05-13 上海华东电信研究院 Mobile communication terminal consistency test item set generating method and system
CN105093949A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Method and apparatus for controlling device
CN105101271A (en) * 2014-05-12 2015-11-25 腾讯科技(深圳)有限公司 Access device information display method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201392526Y (en) * 2009-03-25 2010-01-27 大连海事大学 Onboard test system for mobile applications
CN102724049A (en) * 2012-07-02 2012-10-10 上海市共进通信技术有限公司 Method for realizing cross-hardware-platform compatible passive optical network device multicast function
CN103079086A (en) * 2012-12-30 2013-05-01 广东九联科技股份有限公司 Automatic testing system for set-top box
CN105101271A (en) * 2014-05-12 2015-11-25 腾讯科技(深圳)有限公司 Access device information display method and apparatus
CN204086504U (en) * 2014-09-22 2015-01-07 艾德克斯电子(南京)有限公司 Power supply product measurement jig
CN104618955A (en) * 2015-03-04 2015-05-13 上海华东电信研究院 Mobile communication terminal consistency test item set generating method and system
CN105093949A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Method and apparatus for controlling device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634851A (en) * 2017-08-11 2018-01-26 珠海金山网络游戏科技有限公司 A kind of method of mobile terminal dynamic configuration server
CN107634851B (en) * 2017-08-11 2021-03-30 珠海金山网络游戏科技有限公司 Method for dynamically configuring server by mobile terminal
CN110704251A (en) * 2018-07-09 2020-01-17 映翰通嘉兴通信技术有限公司 Dynamically configurable testing device and testing method
CN108920321A (en) * 2018-07-12 2018-11-30 四川虹美智能科技有限公司 A kind of production test system and method for touch screen line control machine
CN108920321B (en) * 2018-07-12 2022-04-05 四川虹美智能科技有限公司 Production test system and method for touch screen line controller
CN109828172A (en) * 2019-03-06 2019-05-31 江苏和网源电气有限公司 A kind of test system for loading of frequency converter

Similar Documents

Publication Publication Date Title
CN111078482B (en) Communication navigation equipment test system, method, equipment and readable storage medium
CN106940648A (en) A kind of method, equipment and the test system of automatic loading test item
CN106021090A (en) Software interface test system and method
CN106059853A (en) Network connectivity test method and device
CN105809942A (en) Data processing method and device for electricity information collection system
CN107729227A (en) Application testing range determining method, system, server and storage medium
CN101867501A (en) Method and system for automatically testing consistence of SNMP (Simple Network Management Protocol) interface information model
CN105187608B (en) The method and apparatus of application program power consumption on a kind of acquisition mobile terminal
CN107219472A (en) A kind of method and system of automatic test voltage-stablizer
CN108845952A (en) A kind of avionics FC data stimuli method based on test case script
CN106897207A (en) Ui testing method and apparatus
CN106850316B (en) Optical fiber terminating graphical management method and system
CN110209584A (en) A kind of automatic generation of test data and relevant apparatus
CN110309498A (en) The implementation method and device of examination report, and the method for generating examination report using it are generated based on parameter
CN109977012A (en) Joint debugging test method, device, equipment and the computer readable storage medium of system
CN107357530A (en) A kind of method to set up and device for OpenStack cloud hard disks
CN103914212B (en) A kind of terminal device and its application configuration method
CN107346311A (en) A kind of electronic map data inspection method and device
CN108763081A (en) A kind of data library test method and its device, computer readable storage medium
CN109617746B (en) SCD network configuration verification method based on SPCD file
CN102854875B (en) Automobile air conditioner controller testing method and system
CN1900731B (en) Logic module detecting system and method
CN106991024A (en) The detection method and system of a kind of hard disk backboard
KR20130125491A (en) System and method using realtime simulator and programmed system switching for the validation of large-scaled dcs
CN107192899B (en) The method, apparatus and system of measurement application and test equipment Auto-matching

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170711

RJ01 Rejection of invention patent application after publication