CN106370223B - A kind of method that realizing switching network versatility, adapter and system - Google Patents

A kind of method that realizing switching network versatility, adapter and system Download PDF

Info

Publication number
CN106370223B
CN106370223B CN201610718889.6A CN201610718889A CN106370223B CN 106370223 B CN106370223 B CN 106370223B CN 201610718889 A CN201610718889 A CN 201610718889A CN 106370223 B CN106370223 B CN 106370223B
Authority
CN
China
Prior art keywords
switching network
port
auto
test system
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610718889.6A
Other languages
Chinese (zh)
Other versions
CN106370223A (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.)
CETC 41 Institute
Original Assignee
CETC 41 Institute
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 CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201610718889.6A priority Critical patent/CN106370223B/en
Publication of CN106370223A publication Critical patent/CN106370223A/en
Application granted granted Critical
Publication of CN106370223B publication Critical patent/CN106370223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for

Abstract

The invention discloses a kind of method for realizing switching network versatility, adapter and systems.The method of the realization switching network versatility, this method are completed in Auto-Test System adapter, including receiving the switching network information of various different model switching networks, and are uniformly stored into XML configuration file;Wherein, switching network information includes model and port information, and the port information of switching network is uniquely determined by the model of switching network;The model for obtaining current switch network in Auto-Test System, inquires and reads the switching network information to match in XML configuration file with the model of current switch network, automatically update the configuration in switching network channel in Auto-Test System adapter.The present invention can be avoided the exploitation of ATS software adapter repeatability, shorten the R&D cycle of Auto-Test System.

Description

A kind of method that realizing switching network versatility, adapter and system
Technical field
The invention belongs to the field of test technology more particularly to a kind of method for realizing switching network versatility, adapter and System.
Background technique
Auto-Test System biggest advantage is can automatically and quickly to carry out measured piece or channel switching, this is just needed Use key equipment --- switching network.Switching network plays tie in Auto-Test System, and application is such as Fig. 1 institute Show, its one end is connected with excitation and response analysis instrument equipment, and the other end connects with measured piece, and excitation set is logical in test process It crosses switching network and pumping signal is applied into measured piece signal input part, response signal is then led back into response analysis by switching network Instrument when needing to change instrument or measured piece, directly switches switching network channel, is just automatically performed operation, saves artificial twist-on The process of cable.
Auto-Test System has very strong specificity, thus the company for being engaged in test macro exploitation to develop it is a large amount of each not Identical system product, while the switching network of different model is needed, it is necessary to have switch nets in ATS software The TCH test channel configuration feature of network, and the port number for switching network, type, title are fixed, if system is more Different switching networks is changed, test software just needs to modify corresponding code.This repetitive work wastes a large amount of time And energy, substantially prolong the R&D cycle of system product.
During ATS software cross-species transferability, the specificity of switching network is always a bottleneck, is restricted The versatility of testing system software, flexibility, scalability.Before carrying out measured piece test, test item is needed to carry out pre- Configuration, comprising: measuring instrument, TCH test channel etc..Wherein, TCH test channel is exactly to be made of switching network port.
Fig. 2 is the technical solution block diagram that existing ATS software realizes TCH test channel configuration, is given below in detail Introduction:
(1) channel configuration interface is customized by way of writing code;
(2) it is all fixed immutable for forming the port in channel;
(3) if the non-serviceable situation in port in use, occurs in switching network, this port is in the user interface It cannot delete, it is possible to mislead user and select this port, influence to test.
Existing ATS software TCH test channel configuration interface is customized both for some model switching network, Switching network port number, has the disadvantages that
(1) if Auto-Test System needs to increase TCH test channel number and replaces switching network equipment, the prior art is just It is unable to satisfy Auto-Test System upgrade requirement;(2) if switching network some port occurs and cannot use, and this port with Family still remains in interface, this may mislead user and select this port, influences to test.
For These characteristics, as long as switching network has variation, it is necessary to rewrite code to adapt to the change of switching network Dynamic, this repetitive work wastes a large amount of time and efforts, considerably increases the R&D cycle of Auto-Test System.
Summary of the invention
In order to solve the disadvantage that the prior art, the present invention provides a kind of method for realizing switching network versatility, adapter And system.The present invention can be avoided the exploitation of ATS software adapter repeatability, shorten the research and development of Auto-Test System Period.
To achieve the above object, the invention adopts the following technical scheme:
A method of realizing that switching network versatility, this method are completed in Auto-Test System adapter, this method Include:
The switching network information of various different model switching networks is received, and is uniformly stored into XML configuration file;Its In, switching network information includes model and port information, and the port information of switching network is uniquely determined by the model of switching network;
Obtain Auto-Test System in current switch network model, inquire and read in XML configuration file with currently open Close the switching network information that the model of network matches;
Automatically update the configuration in switching network channel in Auto-Test System adapter.
If this method further includes not inquiring the switch to match with the model of current switch network in XML configuration file The network information, then obtain the switching network information of current switch network in Auto-Test System, and stores to XML configuration file In.
The port information includes port name, port type and port-mark.
The port type includes data feedback channel port, down going channel port, excitation instrument port and response instrument port.
The switching network information unification of different model switching network is stored in XML configuration file by the present invention, is convenient in this way It is managed collectively switching network information, and in the switching network of Auto-Test System replacement different model, obtains automatic test The model of current switch network in system, by inquiring and reading the model phase in XML configuration file with current switch network The switching network information matched, can reach the configuration for automatically updating switching network channel in Auto-Test System adapter.
In addition, believing if not inquiring the switching network to match with the model of current switch network in XML configuration file Breath also obtains the switching network information of current switch network in Auto-Test System and stores into XML configuration file.Make in this way It obtains when switching network changes, does not need to rewrite code, it will be able to which the variation for adapting to switching network makes switching network information Independently of ATS software, thus make ATS software that there is good versatility, shortens automatic test The system research and development period, and save human cost.
A kind of Auto-Test System adapter for realizing switching network versatility, comprising:
Switching network management module is used to receive the switching network information of various different model switching networks, and uniformly It stores into XML configuration file;Wherein, switching network information includes model and port information, the port information of switching network by The model of switching network uniquely determines;
Switching network information inquiry module is used to obtain the model of current switch network in Auto-Test System, inquiry And read the switching network information to match in XML configuration file with the model of current switch network;
Configuration automatically updates module, is used to automatically update matching for switching network channel in Auto-Test System adapter It sets.
The system further includes the acquisition of the current switch network information and memory module, if being used in XML configuration file not The switching network information to match with the model of current switch network is inquired, then obtains current switch net in Auto-Test System The switching network information of network, and store into XML configuration file.
The port information includes port name, port type and port-mark.
The port type includes data feedback channel port, down going channel port, excitation instrument port and response instrument port.
The switching network information unification of different model switching network is stored in XML configuration text by the adapter of the invention Part obtains in this way convenient for unified management switching network information, and in the switching network of Auto-Test System replacement different model The model for taking current switch network in Auto-Test System, by inquire and read in XML configuration file with current switch network The switching network information that matches of model, can reach and automatically update switching network channel in Auto-Test System adapter Configuration.
The adapter of the invention does not inquire also in XML configuration file to match with the model of current switch network Switching network information also obtains the switching network information of current switch network in Auto-Test System and stores to XML configuration text In part.Make not needing to rewrite code, it will be able to which the variation for adapting to switching network makes when switching network changes in this way Switching network information makes ATS software have good versatility independently of ATS software, contracting The short Auto-Test System R&D cycle, and save human cost.
A kind of Auto-Test System is adapted to including the Auto-Test System for realizing switching network versatility Device, it is described to be connected for realizing the Auto-Test System adapter of switching network versatility with switching network.
The switching network is connected with excitation set and response analysis instrument respectively.
The invention has the benefit that
(1) the switching network information unification of different model switching network is stored in XML configuration file by the present invention, so just In unified management switching network information, and in the switching network of Auto-Test System replacement different model, automatic survey is obtained The model of current switch network in test system, by inquiring and reading the model phase in XML configuration file with current switch network Matched switching network information, can reach the configuration for automatically updating switching network channel in Auto-Test System adapter.
(2) present invention does not inquire the switch net to match with the model of current switch network also in XML configuration file Network information also obtains the switching network information of current switch network in Auto-Test System and stores into XML configuration file.This Sample not needing to rewrite code, it will be able to which the variation for adapting to switching network makes switching network when switching network changes Information makes ATS software have good versatility independently of ATS software, shortens automatic The test macro R&D cycle, and save human cost.
Detailed description of the invention
Application schematic diagram of Fig. 1 switching network in Auto-Test System;
Fig. 2 is the technical solution block diagram that existing ATS software realizes TCH test channel configuration;
Fig. 3 is the flow diagram of the method for realization switching network versatility of the invention;
Fig. 4 is the structural schematic diagram of the Auto-Test System adapter of the invention for realizing switching network versatility.
Specific embodiment
The present invention will be further described with embodiment with reference to the accompanying drawing:
Fig. 3 is the flow diagram of the method for realization switching network versatility of the invention.A kind of realization as shown in Figure 3 The method of switching network versatility, this method are completed in Auto-Test System adapter, this method comprises:
Step (1): receiving the switching network information of various different model switching networks, and uniformly stores to XML and configure text In part;Wherein, switching network information includes model and port information, the port information of switching network by switching network model only One determines;
Step (2): the model of current switch network in Auto-Test System is obtained, inquires and reads in XML configuration file The switching network information to match with the model of current switch network;
Step (3): the configuration in switching network channel in Auto-Test System adapter is automatically updated.
Wherein, port information includes port name, port type and port-mark.
Port type includes data feedback channel port, down going channel port, excitation instrument port and response instrument port.
Wherein, switching network model name, for distinguish different switching networks;
Port name is used for the display of user interface;
Port-mark is used for the program-controlled of equipment.
The switching network information unification of different model switching network is stored in XML configuration file by the present invention, is convenient in this way It is managed collectively switching network information, and in the switching network of Auto-Test System replacement different model, obtains automatic test The model of current switch network in system, by inquiring and reading the model phase in XML configuration file with current switch network The switching network information matched, can reach the configuration for automatically updating switching network channel in Auto-Test System adapter.
This method of the invention does not inquire the switch to match with the model of current switch network in XML configuration file The network information also obtains the switching network information of current switch network in Auto-Test System and stores into XML configuration file.
It the invention enables when switching network changes, does not need to rewrite code, it will be able to adapt to the change of switching network It is dynamic, make switching network information independently of ATS software, thus it is general well to have ATS software Property, the Auto-Test System R&D cycle is shortened, and save human cost.
Fig. 4 is the structural schematic diagram of the Auto-Test System adapter for realizing switching network versatility.As shown in Figure 4 The Auto-Test System adapter for realizing switching network versatility, comprising:
Switching network management module is used to receive the switching network information of various different model switching networks, and uniformly It stores into XML configuration file;Wherein, switching network information includes model and port information, the port information of switching network by The model of switching network uniquely determines;
Switching network information inquiry module is used to obtain the model of current switch network in Auto-Test System, inquiry And read the switching network information to match in XML configuration file with the model of current switch network;
Configuration automatically updates module, is used to automatically update matching for switching network channel in Auto-Test System adapter It sets.
Wherein, switching network management module includes the increase of switching network port, deletion and edit operation.Port information includes Port name, port type and port-mark.Port type includes data feedback channel port, down going channel port, excitation instrument side Mouth and response instrument port.
Wherein, switching network model name, for distinguish different switching networks;
Port name is used for the display of user interface;
Port-mark is used for the program-controlled of equipment.
The switching network information unification of different model switching network is stored in XML configuration text by the adapter of the present embodiment Part obtains in this way convenient for unified management switching network information, and in the switching network of Auto-Test System replacement different model The model for taking current switch network in Auto-Test System, by inquire and read in XML configuration file with current switch network The switching network information that matches of model, can reach and automatically update switching network channel in Auto-Test System adapter Configuration.
The present invention also provides the Auto-Test System adapter for realizing switching network versatility, further includes: when The preceding switch network information obtains and memory module, if being used to not inquire in XML configuration file and current switch network The switching network information that model matches, then obtain the switching network information of current switch network in Auto-Test System, and deposits Storage is into XML configuration file.
The adapter of the present embodiment does not inquire also in XML configuration file to match with the model of current switch network Switching network information, also acquisition Auto-Test System in current switch network switching network information and store to XML configure In file.Make not needing to rewrite code when switching network changes in this way, it will be able to the variation of switching network is adapted to, Make switching network information independently of ATS software, thus make ATS software that there is good versatility, The Auto-Test System R&D cycle is shortened, and saves human cost.
The present invention also provides a kind of Auto-Test Systems, including the automatic test system for realizing switching network versatility System adapter, is connected for realizing the Auto-Test System adapter of switching network versatility with switching network.
Wherein, switching network is connected with excitation set and response analysis instrument respectively.For realizing switching network versatility Auto-Test System adapter structure it is as shown in Figure 4.
The switching network information unification of different model switching network is stored in XML and matched by the Auto-Test System of the invention File is set, in this way convenient for unified management switching network information, and in the switching network of Auto-Test System replacement different model When, obtain Auto-Test System in current switch network model, by inquire and read in XML configuration file with current switch The switching network information that the model of network matches, can reach that automatically update in Auto-Test System adapter switching network logical The configuration in road.
The Auto-Test System of the invention does not inquire the model phase with current switch network also in XML configuration file Matched switching network information also obtains the switching network information of current switch network in Auto-Test System and stores to XML In configuration file.Make not needing to rewrite code, it will be able to adapt to the change of switching network when switching network changes in this way It is dynamic, make switching network information independently of ATS software, thus it is general well to have ATS software Property, the Auto-Test System R&D cycle is shortened, and save human cost.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.

Claims (8)

1. a kind of method for realizing switching network versatility, which is characterized in that this method is complete in Auto-Test System adapter At, this method comprises:
The switching network information of various different model switching networks is received, and is uniformly stored into XML configuration file;Wherein, it opens Closing the network information includes model and port information, and the port information of switching network is uniquely determined by the model of switching network;
Obtain Auto-Test System in current switch network model, inquire and read in XML configuration file with current switch net The switching network information that the model of network matches;If not inquiring the model phase with current switch network in XML configuration file Matched switching network information, then obtain the switching network information of current switch network in Auto-Test System, and stores to XML In configuration file;
Automatically update the configuration in switching network channel in Auto-Test System adapter.
2. a kind of method for realizing switching network versatility as described in claim 1, which is characterized in that the port information packet Include port name, port type and port-mark.
3. a kind of method for realizing switching network versatility as claimed in claim 2, which is characterized in that the port type packet Include data feedback channel port, down going channel port, excitation instrument port and response instrument port.
4. a kind of Auto-Test System adapter for realizing switching network versatility characterized by comprising
Switching network management module is used to receive the switching network information of various different model switching networks, and unified storage Into XML configuration file;Wherein, switching network information includes model and port information, and the port information of switching network is by switching The model of network uniquely determines;
Switching network information inquiry module is used to obtain the model of current switch network in Auto-Test System, inquires and reads Take the switching network information to match in XML configuration file with the model of current switch network;
The current switch network information obtains and memory module, if being used in XML configuration file not inquire and current switch The switching network information that the model of network matches then obtains the switching network letter of current switch network in Auto-Test System Breath, and store into XML configuration file;
Configuration automatically updates module, is used to automatically update the configuration in switching network channel in Auto-Test System adapter.
5. a kind of Auto-Test System adapter for realizing switching network versatility as claimed in claim 4, feature It is, the port information includes port name, port type and port-mark.
6. a kind of Auto-Test System adapter for realizing switching network versatility as claimed in claim 5, feature It is, the port type includes data feedback channel port, down going channel port, excitation instrument port and response instrument port.
7. a kind of Auto-Test System, which is characterized in that including as described in claim 4-6 is any for realizing switching network The Auto-Test System adapter of versatility, the Auto-Test System adapter for realizing switching network versatility with open Network is closed to be connected.
8. a kind of Auto-Test System as claimed in claim 7, which is characterized in that the switching network respectively with excitation set It is connected with response analysis instrument.
CN201610718889.6A 2016-08-25 2016-08-25 A kind of method that realizing switching network versatility, adapter and system Active CN106370223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610718889.6A CN106370223B (en) 2016-08-25 2016-08-25 A kind of method that realizing switching network versatility, adapter and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610718889.6A CN106370223B (en) 2016-08-25 2016-08-25 A kind of method that realizing switching network versatility, adapter and system

Publications (2)

Publication Number Publication Date
CN106370223A CN106370223A (en) 2017-02-01
CN106370223B true CN106370223B (en) 2019-02-05

Family

ID=57879107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610718889.6A Active CN106370223B (en) 2016-08-25 2016-08-25 A kind of method that realizing switching network versatility, adapter and system

Country Status (1)

Country Link
CN (1) CN106370223B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106932764A (en) * 2017-04-01 2017-07-07 中国电子科技集团公司第三十八研究所 The index test of radar HF receiving subsystem module and fault location system and its method
CN109947446A (en) * 2019-02-22 2019-06-28 南京电研电力自动化股份有限公司 A kind of protective device liquid crystal display method of general configurable auto upgrading menu
CN113721089A (en) * 2021-08-04 2021-11-30 广州安凯微电子股份有限公司 Automatic testing arrangement of intelligence lock and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04106422A (en) * 1990-08-28 1992-04-08 Toshiba Corp Measurement control managing apparatus
CN103309724B (en) * 2013-05-16 2017-05-10 中国电子科技集团公司第四十一研究所 Universal management method for virtual channels based on automatic test system software
CN103312424B (en) * 2013-07-02 2014-12-10 山东科技大学 Control method and system for multiple switches in automatic testing system

Also Published As

Publication number Publication date
CN106370223A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN106370223B (en) A kind of method that realizing switching network versatility, adapter and system
CN105308927B (en) Message editing processing method and relevant device
CN1980144A (en) Method for quickly configurating large data-quantity network management data
CN109104405A (en) Binary protocol coding, coding/decoding method and device
CN107193917A (en) Whole station CONFIG.SYS lossless data update method based on IID
CN108694423A (en) The system that optical cable information is expressed completely in a kind of intelligent substation secondary circuit based on NFC technique
CN105987775A (en) Temperature sensor nonlinearity correction method and system based on BP neural network
CN106033388A (en) A test use case library management method and system
CN100507871C (en) Method and system for testing embedded file system
CN109618250B (en) Optical fiber network node management method and system
CN111010296A (en) Configurable Internet of things data acquisition system and configuration method
CN108596299A (en) Cable management system, method and apparatus
US7440408B1 (en) Method and system for inventorying a network
CN106022952B (en) IEC61850 signal mapping method of intelligent substation device
CN205563123U (en) Control panel and control system
CN102386935B (en) Viterbi decoding method and Viterbi decoder
CN103905233B (en) Realize method, system and the access network device of analog sensor plug and play
CN110321127A (en) A kind of method that forms pages flexibly render, system and medium
CN100561942C (en) Order line echo message analytic method and device based on template set
CN106130799B (en) Family gateway equipment and its switching method with multi-operator handoff functionality
CN106020860A (en) FPGA update method, device and system
CN109656997A (en) Industry internet big data service platform system and method for servicing
CN103618770B (en) Locating method, system and device based on Internet of Things, and terminals
CN109271350B (en) Database and information point table automatic comparison and synchronization method based on telecontrol communication
CN104077414B (en) A kind of decoding apparatus and its coding/decoding method applied to LTE network signal

Legal Events

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