CN106370223A - Method, adapter and system for realizing the versatility of switch network - Google Patents
Method, adapter and system for realizing the versatility of switch network Download PDFInfo
- Publication number
- CN106370223A CN106370223A CN201610718889.6A CN201610718889A CN106370223A CN 106370223 A CN106370223 A CN 106370223A CN 201610718889 A CN201610718889 A CN 201610718889A CN 106370223 A CN106370223 A CN 106370223A
- Authority
- CN
- China
- Prior art keywords
- switching network
- port
- auto
- test system
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING 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/00—Measuring or testing not otherwise provided for
Abstract
The invention discloses a method, adapter and system for realizing the versatility of switch network. According to the invention, the method is completed in an automatic testing system adapter and comprises the following steps: receiving the switch network information of different types of switch networks and storing all the information in an XML configuration file wherein the switch network information includes the type information and the port information and the port information of the switch network is determined only by the type of the switch network information; obtaining the type of the current switch network in the automatic testing system; searching and reading the switch network information that matches the type of the current switch network from the XML configuration file; and automatically updating the configuration of the switch network in the automatic testing system adapter. According to the invention, it is possible to avoid the repetitive development of an automatic testing system software adapter and to shorten the development cycle for the automatic testing system.
Description
Technical field
The invention belongs to technical field of measurement and test, more particularly, to a kind of method realizing switching network versatility, adapter and
System.
Background technology
The maximum advantage of Auto-Test System is can automatically and quickly to carry out measured piece or passage switching, and this is accomplished by
Use key equipment switching network.Switching network plays the effect of tie in Auto-Test System, and its application is as Fig. 1 institute
Show, its one end is connected with excitation and response analyses instrument equipment, and the other end is connected with measured piece, in test process, excitation set leads to
Cross switching network and pumping signal is applied measured piece signal input part, then response signal is led back response analyses by switching network
Instrument, when needing to change instrument or measured piece, directly switches switching network passage, is just automatically performed operation, saves artificial twist-on
The operation of cable.
Auto-Test System has very strong specificity, so the company being engaged in test system exploitation will develop in a large number respectively not
Identical system product, simultaneously need to the switching network of different model, in ATS software, needs with switch net
The TCH test channel configuration feature of network, and be directed to the port number of switching network, type, title are all fixing, if system is more
Change different switching networks, test software is accomplished by changing corresponding code.This repetitive work wastes the substantial amounts of time
And energy, substantially prolongs the R&D cycle of system product.
During ATS software cross-species transferability, a specificity always bottleneck of switching network, restriction
The versatility of testing system software, motility, extensibility.Before carrying out measured piece test, test event is needed to carry out pre-
Configuration, comprising: measuring instrument, TCH test channel etc..Wherein, TCH test channel is exactly to be made up of switching network port.
Fig. 2 is the technical scheme block diagram that existing ATS software realizes TCH test channel configuration, below gives in detail
Introduction:
(1) passage configuration interface is customized by way of writing code;
(2) port of composition passage is all that fixation is immutable;
(3) if the non-serviceable situation in port in use, in switching network, this port is in the user interface
Can not delete it is possible to mislead user to select this port, impact test.
Existing ATS software TCH test channel configuration interface is both for the customization of certain model switching network,
Switching network port number, it has the disadvantages that
(1) if Auto-Test System needs to increase TCH test channel number and changes switching network equipment, prior art is just
Auto-Test System upgrade requirement cannot be met;(2) if switching network certain port and can not use, and this port with
Family still exists in interface, and this may mislead user and select this port, impact test.
For These characteristics, as long as switching network has variation it is necessary to again write code to adapt to the change of switching network
Dynamic, this repetitive work wastes substantial amounts of time and efforts, considerably increases the R&D cycle of Auto-Test System.
Content of the invention
In order to solve the shortcoming of prior art, the present invention provides a kind of method realizing switching network versatility, adapter
And system.The present invention, it can be avoided that the repeatability exploitation of ATS software adapter, shortens the research and development of Auto-Test System
Cycle.
For achieving the above object, the present invention employs the following technical solutions:
A kind of method realizing switching network versatility, the method completes in Auto-Test System adapter, the method
Including:
Receive the switching network information of various different model switching networks, and unification stores to 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 about and read in xml configuration file with currently open
Close the switching network information that the model of network matches;
Automatically update the configuration of switching network passage in Auto-Test System adapter.
If the method also includes not inquiring the switch matching 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 store to xml configuration file
In.
Described port information includes port title, port type and port-mark.
Described 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 so easy to
Unified management switching network information, and when Auto-Test System changes the switching network of different model, obtain and automatically test
The model of current switch network in system, by inquiring about and reading the model phase with current switch network in xml configuration file
The switching network information joined, can reach the configuration automatically updating switching network passage in Auto-Test System adapter.
If additionally, not inquiring the switching network letter matching with the model of current switch network in xml configuration file
Breath, also obtains in Auto-Test System the switching network information of current switch network and stores to xml configuration file.So make
Obtain when switching network changes it is not necessary to again write code it becomes possible to adapt to the variation of switching network, make switching network information
Independent of ATS software, thus make ATS software have good versatility, shorten automatic test
The system research and development cycle, and save human cost.
A kind of Auto-Test System adapter for realizing switching network versatility, comprising:
Switching network management module, it is used for receiving the switching network information of various different model switching networks, and unified
Store to 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, it is used for obtaining the model of current switch network in Auto-Test System, inquiry
And read the switching network information matching in xml configuration file with the model of current switch network;
Configuration automatically updates module, and it is used for automatically updating joining of switching network passage in Auto-Test System adapter
Put.
This system also includes the current switch network information and obtains and memory module, if it is used in xml configuration file not
Inquire the switching network information matching with the model of current switch network, then obtain current switch net in Auto-Test System
The switching network information of network, and store to xml configuration file.
Described port information includes port title, port type and port-mark.
Described 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 literary composition by this adapter of the present invention
Part, is so easy to be managed collectively switching network information, and when Auto-Test System changes the switching network of different model, obtains
Take the model of current switch network in Auto-Test System, by inquire about 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 passage in Auto-Test System adapter
Configuration.
This adapter of the present invention is not also inquired in xml configuration file and is matched with the model of current switch network
Switching network information, also obtains in Auto-Test System the switching network information of current switch network and stores and configure literary composition to xml
In part.So make when switching network changes, it is not necessary to again write code it becomes possible to adapt to the variation of switching network, to make
Switching network information is independent of ATS software, thus makes ATS software have good versatility, contracting
The short Auto-Test System R&D cycle, and save human cost.
A kind of Auto-Test System, is adapted to including the described Auto-Test System for realizing switching network versatility
Device, the described Auto-Test System adapter for realizing switching network versatility is connected with switching network.
Described switching network is connected with excitation set and response analyses 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 when Auto-Test System changes the switching network of different model, obtain and automatically survey
The model of current switch network in test system, by inquiring about and reading the model phase with current switch network in xml configuration file
The switching network information of coupling, can reach the configuration automatically updating switching network passage in Auto-Test System adapter.
(2) present invention does not also inquire the switch net matching with the model of current switch network in xml configuration file
Network information, also obtains in Auto-Test System the switching network information of current switch network and stores to xml configuration file.This
Sample makes when switching network changes, it is not necessary to again write code it becomes possible to adapt to the variation of switching network, to make switching network
Information is independent of ATS software, thus makes ATS software have good versatility, shortens automatically
The test system R&D cycle, and save human cost.
Brief description
Application schematic diagram in Auto-Test System for Fig. 1 switching network;
Fig. 2 is the technical scheme block diagram that existing ATS software realizes TCH test channel configuration;
Fig. 3 is the schematic flow sheet of the method realizing switching network versatility of the present invention;
Fig. 4 is the structural representation of the Auto-Test System adapter for realizing switching network versatility of the present invention.
Specific embodiment
The present invention will be further described with embodiment below in conjunction with the accompanying drawings:
Fig. 3 is the schematic flow sheet of the method realizing switching network versatility of the present invention.A kind of realization as shown in Figure 3
The method of switching network versatility, the method completes in Auto-Test System adapter, and the method includes:
Step (1): receive the switching network information of various different model switching networks, and unification stores and configures literary composition to xml
In part;Wherein, switching network information includes model and port information, the port information of switching network by switching network model only
One decision;
Step (2): obtain the model of current switch network in Auto-Test System, inquire about and read in xml configuration file
The switching network information matching with the model of current switch network;
Step (3): automatically update the configuration of switching network passage in Auto-Test System adapter.
Wherein, port information includes port title, 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 title is used for the display of user interface;
Port-mark is used for program control to equipment.
The switching network information unification of different model switching network is stored in xml configuration file by the present invention, is so easy to
Unified management switching network information, and when Auto-Test System changes the switching network of different model, obtain and automatically test
The model of current switch network in system, by inquiring about and reading the model phase with current switch network in xml configuration file
The switching network information joined, can reach the configuration automatically updating switching network passage in Auto-Test System adapter.
The method of the present invention does not inquire the switch matching with the model of current switch network in xml configuration file
The network information, also obtains in Auto-Test System the switching network information of current switch network and stores to xml configuration file.
The invention enables when switching network changes it is not necessary to again write code it becomes possible to adapt to the change of switching network
Dynamic, make switching network information independent of ATS software, thus it is general well so that ATS software is had
Property, shorten the Auto-Test System R&D cycle, and save human cost.
Fig. 4 is the structural representation 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, it is used for receiving the switching network information of various different model switching networks, and unified
Store to 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, it is used for obtaining the model of current switch network in Auto-Test System, inquiry
And read the switching network information matching in xml configuration file with the model of current switch network;
Configuration automatically updates module, and it is used for automatically updating joining of switching network passage in Auto-Test System adapter
Put.
Wherein, switching network management module includes switching network port increases, deletes and edit operation.Port information includes
Port title, port type and port-mark.Port type includes data feedback channel port, down going channel port, excitation instrument end
Mouth and response instrument port.
Wherein, switching network model name, for distinguish different switching networks;
Port title is used for the display of user interface;
Port-mark is used for program control to equipment.
The switching network information unification of different model switching network is stored in xml configuration literary composition by this adapter of the present embodiment
Part, is so easy to be managed collectively switching network information, and when Auto-Test System changes the switching network of different model, obtains
Take the model of current switch network in Auto-Test System, by inquire about 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 passage in Auto-Test System adapter
Configuration.
Present invention also offers the Auto-Test System adapter for realizing switching network versatility, also include: when
The preceding switch network information obtains and memory module, if it is used for not inquiring 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 deposit
Store up to xml configuration file.
This adapter of the present embodiment is not also inquired in xml configuration file and is matched with the model of current switch network
Switching network information, also obtain in Auto-Test System the switching network information of current switch network and store to xml configuration
In file.So make when switching network changes it is not necessary to again write code it becomes possible to adapt to the variation of switching network,
Make switching network information independent of ATS software, thus make ATS software have good versatility,
Shorten the Auto-Test System R&D cycle, and save human cost.
Present invention also offers a kind of Auto-Test System, including the automatic test system for realizing switching network versatility
System adapter, the Auto-Test System adapter for realizing switching network versatility is connected with switching network.
Wherein, switching network is connected with excitation set and response analyses instrument respectively.For realizing switching network versatility
Auto-Test System adapter structure as shown in Figure 4.
The switching network information unification of different model switching network is stored in xml and joins by this Auto-Test System of the present invention
Put file, be so easy to be managed collectively switching network information, and change the switching network of different model in Auto-Test System
When, obtain Auto-Test System in current switch network model, by inquire about and read in xml configuration file with current switch
The switching network information that the model of network matches, can reach and automatically update in Auto-Test System adapter switching network and lead to
The configuration in road.
This Auto-Test System of the present invention does not also inquire the model phase with current switch network in xml configuration file
The switching network information of coupling, also obtains in Auto-Test System the switching network information of current switch network and stores to xml
In configuration file.So make when switching network changes it is not necessary to again write code it becomes possible to adapt to the change of switching network
Dynamic, make switching network information independent of ATS software, thus it is general well so that ATS software is had
Property, shorten the Auto-Test System R&D cycle, and save human cost.
Although the above-mentioned accompanying drawing that combines is described to the specific embodiment of the present invention, not model is protected to the present invention
The restriction enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme, and those skilled in the art are not
Need to pay the various modifications that creative work can make or deformation still within protection scope of the present invention.
Claims (10)
1. a kind of method realizing switching network versatility is it is characterised in that the method is complete in Auto-Test System adapter
Become, the method includes:
Receive the switching network information of various different model switching networks, and unification stores to xml configuration file;Wherein, open
Close the network information and include model and port information, 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 about and read in xml configuration file with current switch net
The switching network information that the model of network matches;
Automatically update the configuration of switching network passage in Auto-Test System adapter.
If as claimed in claim 1 a kind of method realizing switching network versatility it is characterised in that the method also includes
Do not inquire the switching network information matching with the model of current switch network in xml configuration file, then obtain and automatically survey
The switching network information of current switch network in test system, and store to xml configuration file.
3. as claimed in claim 1 a kind of method realizing switching network versatility it is characterised in that described port information bag
Include port title, port type and port-mark.
4. as claimed in claim 3 a kind of method realizing switching network versatility it is characterised in that described port type bag
Include data feedback channel port, down going channel port, excitation instrument port and response instrument port.
5. a kind of Auto-Test System adapter for realizing switching network versatility is it is characterised in that include:
Switching network management module, it is used for receiving the switching network information of various different model switching networks, and unified storage
To 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, it is used for obtaining the model of current switch network in Auto-Test System, inquires about and reads
Take the switching network information matching in xml configuration file with the model of current switch network;
Configuration automatically updates module, and it is used for automatically updating the configuration of switching network passage in Auto-Test System adapter.
6. a kind of Auto-Test System adapter for realizing switching network versatility as claimed in claim 5, its feature
It is, this system also includes the current switch network information and obtains and memory module, if it is used for not inquiring about in xml configuration file
The switching network information matching to the model with current switch network, then obtain current switch network in Auto-Test System
Switching network information, and store to xml configuration file.
7. a kind of Auto-Test System adapter for realizing switching network versatility as claimed in claim 5, its feature
It is, described port information includes port title, port type and port-mark.
8. a kind of Auto-Test System adapter for realizing switching network versatility as claimed in claim 7, its feature
It is, described port type includes data feedback channel port, down going channel port, excitation instrument port and response instrument port.
9. a kind of Auto-Test System is it is characterised in that include as arbitrary in claim 5-8 described being used for realizing switching network
The Auto-Test System adapter of versatility, the described Auto-Test System adapter for realizing switching network versatility with open
Close network to be connected.
10. as claimed in claim 9 a kind of Auto-Test System it is characterised in that described switching network is set with excitation respectively
Standby it is connected with response analyses instrument.
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 true CN106370223A (en) | 2017-02-01 |
CN106370223B 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) |
Cited By (3)
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 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04106422A (en) * | 1990-08-28 | 1992-04-08 | Toshiba Corp | Measurement control managing apparatus |
CN103309724A (en) * | 2013-05-16 | 2013-09-18 | 中国电子科技集团公司第四十一研究所 | Universal management method for virtual channels based on automatic test system software |
CN103312424A (en) * | 2013-07-02 | 2013-09-18 | 山东科技大学 | Control method and system for multiple switches in automatic testing system |
-
2016
- 2016-08-25 CN CN201610718889.6A patent/CN106370223B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04106422A (en) * | 1990-08-28 | 1992-04-08 | Toshiba Corp | Measurement control managing apparatus |
CN103309724A (en) * | 2013-05-16 | 2013-09-18 | 中国电子科技集团公司第四十一研究所 | Universal management method for virtual channels based on automatic test system software |
CN103312424A (en) * | 2013-07-02 | 2013-09-18 | 山东科技大学 | Control method and system for multiple switches in automatic testing system |
Non-Patent Citations (2)
Title |
---|
孙宝江等: "自动测试系统适配器自动设计技术", 《航天学报》 * |
杜志俊等: "自动测试系统适配器通用开关网络设计", 《计算机工程与设计》 * |
Cited By (3)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106370223B (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101178687B (en) | Software regression testing method | |
CN109062777B (en) | General automatic test system of track traffic signal equipment | |
CN106370223A (en) | Method, adapter and system for realizing the versatility of switch network | |
CN101963910A (en) | General USB (Universal Serial Bus) based equipment firmware updating method | |
CN108694423A (en) | The system that optical cable information is expressed completely in a kind of intelligent substation secondary circuit based on NFC technique | |
CN104915297B (en) | A kind of automated testing method of the APP power consumption of android equipment | |
CN106919427A (en) | A kind of method to set up, setting device and electronic equipment | |
CN100507871C (en) | Method and system for testing embedded file system | |
CN107122295A (en) | The generation method and device of test case script | |
CN110347672A (en) | Verification method and device, the electronic equipment and storage medium of tables of data related update | |
CN101030160B (en) | Tester and method for testing unified series interface command | |
CN103376777B (en) | The method of testing of the Modbus communication interface of controller and host computer | |
CN105224057B (en) | A kind of Dynamic Configuration and system of battery of mobile terminal ID | |
CN104280674B (en) | A kind of common hardware test system | |
CN103905233B (en) | Realize method, system and the access network device of analog sensor plug and play | |
CN1996265A (en) | Method and system for implementing automatic testing | |
CN100561942C (en) | Order line echo message analytic method and device based on template set | |
CN106940648A (en) | A kind of method, equipment and the test system of automatic loading test item | |
CN102981858B (en) | Integrated circuit programming system and method based on mobile device | |
CN104516734B (en) | Operation flow configuration method and device | |
CN103542865A (en) | Testing and controlling method and device | |
CN103902298B (en) | Method to set up and the device of status information write with a brush dipped in Chinese ink by a kind of instruction set firmware | |
CN102663205B (en) | Software realization method and system for vehicle assembly shop tooling site management | |
CN206350033U (en) | A kind of system of rapid build Internet of Things application | |
CN103457957A (en) | Network penetration test system with self-adaption function and network penetration test method |
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 |