CN101950266B - Adaptive detection routing switching method - Google Patents

Adaptive detection routing switching method Download PDF

Info

Publication number
CN101950266B
CN101950266B CN2010102879674A CN201010287967A CN101950266B CN 101950266 B CN101950266 B CN 101950266B CN 2010102879674 A CN2010102879674 A CN 2010102879674A CN 201010287967 A CN201010287967 A CN 201010287967A CN 101950266 B CN101950266 B CN 101950266B
Authority
CN
China
Prior art keywords
equipment
test
interface unit
recognition
signal interface
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.)
Expired - Fee Related
Application number
CN2010102879674A
Other languages
Chinese (zh)
Other versions
CN101950266A (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.)
No63961 Unit Of Pla
Original Assignee
No63961 Unit Of Pla
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 No63961 Unit Of Pla filed Critical No63961 Unit Of Pla
Priority to CN2010102879674A priority Critical patent/CN101950266B/en
Publication of CN101950266A publication Critical patent/CN101950266A/en
Application granted granted Critical
Publication of CN101950266B publication Critical patent/CN101950266B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention belongs to the field of detection, and provides an adaptive detection routing switching method. The method comprises the following steps of: a, establishing a uniform standard equipment identification code system; b, establishing connection between a test system and the detected equipment to acquire an equipment identification code; c, sending the acquired detected equipment identification code to a decoding circuit in a signal interface unit by the signal interface unit, and converting the equipment identification code into a corresponding equipment detection routing list; d, sending the detection routing list to a routing switch control circuit in the signal interface unit by the signal interface unit to generate a control signal for switching different switches; and e, sending the switching control signal to a switch driving circuit in the signal interface unit by the signal interface unit to drive the corresponding switch to generate shutdown action so as to realize switching between different test resources and test states and realize change-over and distribution of test/excitation signals. The method solves the problems that manual configuration and detection routing switching must be performed by a user when the automatic test system detects different systems or devices.

Description

A kind of self-adapting detecting route switching method
Technical field
The invention belongs to detection range, particularly a kind of self-adapting detecting route switching method.
Background technology
At present; In the existing Auto-Test System when detecting different system or equipment; Generally be the switching that manually detects route by the user, accomplish switching, to realize the switching and the distribution of test/pumping signal in different system or equipment room test resource and test mode.The maximum problem of this mode is when each detection different system or equipment, can't realize real test automation, intellectuality, and exist the possibility of maloperation.
And equipment automatic identifying method in the past need be reserved the identification passage specially for recognition of devices, has taken limited TCH test channel resource.
Summary of the invention
In view of above defective, fundamental purpose of the present invention is to provide a kind of self-adapting detecting route switching method, and this method has solved in the Auto-Test System, when detecting different system or equipment, must be carried out the problem of manual configuration and change detection route by the user.
This kind self-adapting detecting route switching method provided by the invention mainly may further comprise the steps:
The recognition of devices code system of a, foundation unified standard, detailed step is following:
A1, the signal interface unit in test macro are dynamically set the private bus that is used to carry out recognition of devices and (are only connected and power on the back effectively at equipment under test and test macro; Identification discharges after accomplishing); This recognition of devices bus comprises 16 bit wide data buss and 2 bit wide control buss, can discern 65535 kinds of dissimilar equipment under tests; Control bus is enabled by transmission and reception enables to form, and is used for test macro and equipment under test is shaken hands, and after test macro obtains the equipment under test identification code, discharges bus;
A2, in the equipment to be detected of each type the corresponding dynamic socket of design, this interface links to each other with recognition of devices private bus in the signal interface unit;
The recognition of devices code is formulated in a3, unification, and different EIC equipment identification codes is built in respectively in the different classes of equipment under test;
A4, in development during test macro, in embedded each the equipment testing routing table to be detected of main control computer, this detection routing table forms mapping relations one by one with different EIC equipment identification codes;
B. test macro and equipment to be detected are connected, test macro obtains EIC equipment identification code according to following steps:
After b1, test macro power on; Draw high the transmission enable line by main control computer control signal interface unit; And on recognition of devices exclusive data bus, send " device search inquiry " command code " FFFF "; Receiving equipment return data then dragged down the transmission enable line up to 5 seconds after overtime, and discharges the recognition of devices bus of test macro one end;
After b2, equipment under test power on, at first wait for receiving " device search inquiry " command code " FFFF ".If receive " device search inquiry " command code " FFFF ", in 4 seconds, the EIC equipment identification code (for example " 3ABC ") of this equipment is placed on then that the confession test macro reads on the recognition of devices exclusive data bus, draw high the reception enable line simultaneously;
After b3, signal interface unit detected and receive enable line and uprise, the EIC equipment identification code on the fetch equipment identification exclusive data bus also sent it to main control computer, drags down the transmission enable line afterwards, and discharges the recognition of devices bus of test macro one end;
B4, equipment under test drag down the reception enable line after detecting and sending the enable line step-down, and discharge the recognition of devices bus of equipment under test one end;
C. main control computer control signal interface unit is sent the equipment under test identification code that obtains into its inner decoding scheme, and this decoding scheme is converted into corresponding apparatus with EIC equipment identification code and detects routing table;
D, main control computer control signal interface unit will detect routing table and send into its inner routing switch control switching circuit, produce the control signal of switching different switches;
E, main control computer control signal interface unit are sent the Switch Control signal into its switch inside driving circuit; Drive respective switch and produce closed action; Be implemented in the switching of different system or equipment room test resource and test mode, to realize the switching and the distribution of test/pumping signal.
The present invention has following beneficial effect:
Compare artificial cognition equipment under test in the past, the artificial method of setting up test/excitation route, adopt this method can realize that test macro can discern the current equipment under test that is attached thereto automatically, and excitation/test routing channel of matching of automatic in view of the above foundation.Have following beneficial effect: 1) improved testing of equipment efficient greatly: carrying out recognition of devices and setting up the test/excitation route of mating is necessary and important link in the test jobs process; Manual type was accomplished this process in the past needs time a few minutes the soonest, and adopting this method to accomplish this process only needs several seconds.2) manual type is accomplished this process and is caused the identification of equipment mistake easily in the past; So that the test/excitation route and the equipment under test of test macro do not match; Gently then produce test fruit mistake, heavy then cause equipment under test to damage and the test macro damage, even cause personal injury.Adopt this method then can avoid this situation fully, improved the accuracy and the security of test greatly.
This method is compared equipment automatic identifying method in the past, also has following beneficial effect: because the signal that Auto-Test System need be tested is more, each TCH test channel of test interface unit is all very valuable.The equipment automatic identifying method need be reserved the identification passage specially for recognition of devices in the past, had taken limited TCH test channel resource.Take the partial test passage when adopting this method only to power on equipment under test in system, this passage is released after the recognition of devices completion, can be used as normal TCH test channel, has practiced thrift the TCH test channel resource greatly.
Description of drawings
Fig. 1 is a self-adapting detecting route switching method schematic flow sheet of the present invention.
Embodiment
Below in conjunction with specific embodiment and accompanying drawing technical scheme of the present invention is further specified, but its qualification of not opposing:
As shown in Figure 1, this kind self-adapting detecting route switching method provided by the invention mainly may further comprise the steps:
The recognition of devices code system 101 of a, foundation unified standard, detailed step is following:
A1, the signal interface unit in test macro are dynamically set the private bus that is used to carry out recognition of devices and (are only connected and power on the back effectively at equipment under test and test macro; Identification discharges after accomplishing); This recognition of devices bus comprises 16 bit wide data buss and 2 bit wide control buss, can discern 65535 kinds of dissimilar equipment under tests; Control bus is enabled by transmission and reception enables to form, and is used for test macro and equipment under test is shaken hands, and after test macro obtains the equipment under test identification code, discharges bus;
A2, in the equipment to be detected of each type the corresponding dynamic socket of design, this interface links to each other with recognition of devices private bus in the signal interface unit;
The recognition of devices code is formulated in a3, unification, and different EIC equipment identification codes is built in respectively in the different classes of equipment under test;
A4, in development during test macro, in embedded each the equipment testing routing table to be detected of main control computer, this detection routing table forms mapping relations one by one with different EIC equipment identification codes;
B. test macro and equipment to be detected are connected, test macro obtains EIC equipment identification code 102 according to following steps:
After b1, test macro power on; Draw high the transmission enable line by main control computer control signal interface unit; And on recognition of devices exclusive data bus, send " device search inquiry " command code " FFFF "; Receiving equipment return data then dragged down the transmission enable line up to 5 seconds after overtime, and discharges the recognition of devices bus of test macro one end;
After b2, equipment under test power on, at first wait for receiving " device search inquiry " command code " FFFF ".If receive " device search inquiry " command code " FFFF ", in 4 seconds, the EIC equipment identification code (for example " 3ABC ") of this equipment is placed on then that the confession test macro reads on the recognition of devices exclusive data bus, draw high the reception enable line simultaneously;
After b3, signal interface unit detected and receive enable line and uprise, the EIC equipment identification code on the fetch equipment identification exclusive data bus also sent it to main control computer, drags down the transmission enable line afterwards, and discharges the recognition of devices bus of test macro one end;
B4, equipment under test drag down the reception enable line after detecting and sending the enable line step-down, and discharge the recognition of devices bus of equipment under test one end;
C. main control computer control signal interface unit is sent the equipment under test identification code that obtains into its inner decoding scheme, and this decoding scheme is converted into corresponding apparatus with EIC equipment identification code and detects routing table 103;
D, main control computer control signal interface unit will detect routing table and send into its inner routing switch control switching circuit, produce the control signal 104 of switching different switches;
E, main control computer control signal interface unit are sent the Switch Control signal into its switch inside driving circuit; Drive respective switch and produce closed action; Be implemented in the switching of different system or equipment room test resource and test mode, with the switching that realizes test/pumping signal with distribute 105.
Self-adapting detecting system described in the present embodiment mainly comprises: main control computer, testing tool resource, signal interface unit be totally three parts.
Wherein, main control computer is the control center of system, communication interfaces such as the PCI-E, 1394 through meeting industrial standard, LAN, GPIB respectively with the testing tool resource, promptly PXI instrument, VXI instrument, LXI instrument and GPIB instrument resource connect; And each testing tool resource in the system is accomplished corresponding signal excitation and test function, and the signal input/output interface through each instrument is connected with signal interface unit through cable; And said signal interface unit is carried out information interaction through RS232 interface and main control computer.
Below technology contents of the present invention has been done detailed description.As far as persons skilled in the art, any conspicuous change of under the prerequisite that does not deviate from the principle of the invention, it being done can not exceed the protection domain of the application's accompanying claims.

Claims (1)

1. a self-adapting detecting route switching method is characterized in that, mainly may further comprise the steps:
A. set up the recognition of devices code system of unified standard, comprise following substep:
A1, the signal interface unit in test macro are dynamically set the private bus that is used to carry out recognition of devices, and this recognition of devices bus comprises 16 bit wide data buss and 2 bit wide control buss, can discern 65535 kinds of dissimilar equipment under tests; Control bus is enabled by transmission and reception enables to form, and is used for test macro and equipment under test is shaken hands, and after test macro obtains the equipment under test identification code, discharges bus;
A2, in the equipment to be detected of each type the corresponding dynamic socket of design, this interface links to each other with recognition of devices private bus in the signal interface unit;
The recognition of devices code is formulated in a3, unification, and different EIC equipment identification codes is built in respectively in the different classes of equipment under test;
A4, in development during test macro, in embedded each the equipment testing routing table to be detected of main control computer,
This detection routing table forms mapping relations one by one with different EIC equipment identification codes;
B. test macro and equipment to be detected are connected, test macro obtains EIC equipment identification code, comprises following substep:
After b1, test macro power on; Draw high the transmission enable line by main control computer control signal interface unit; And on recognition of devices exclusive data bus, send " device search inquiry " command code " FFFF "; Receiving equipment return data then dragged down the transmission enable line up to 5 seconds after overtime, and discharges the recognition of devices bus of test macro one end;
After b2, equipment under test power on; At first wait for and receive " device search inquiry " command code " FFFF "; If receive " device search inquiry " command code " FFFF "; Then in 4 seconds, the EIC equipment identification code of this equipment is placed on and supplies test macro to read on the recognition of devices exclusive data bus, draw high the reception enable line simultaneously;
After b3, signal interface unit detected and receive enable line and uprise, the EIC equipment identification code on the fetch equipment identification exclusive data bus also sent it to main control computer, drags down the transmission enable line afterwards, and discharges the recognition of devices bus of test macro one end;
B4, equipment under test drag down the reception enable line after detecting and sending the enable line step-down, and discharge the recognition of devices bus of equipment under test one end;
C. main control computer control signal interface unit is sent the equipment under test identification code that obtains into its inner decoding scheme, and this decoding scheme is converted into corresponding apparatus with EIC equipment identification code and detects routing table;
D, main control computer control signal interface unit will detect routing table and send into its inner routing switch control switching circuit, produce the control signal of switching different switches;
E, main control computer control signal interface unit are sent the Switch Control signal into its switch inside driving circuit; Drive respective switch and produce closed action; Be implemented in the switching of different system or equipment room test resource and test mode, to realize the switching and the distribution of test/pumping signal.
CN2010102879674A 2010-09-21 2010-09-21 Adaptive detection routing switching method Expired - Fee Related CN101950266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102879674A CN101950266B (en) 2010-09-21 2010-09-21 Adaptive detection routing switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102879674A CN101950266B (en) 2010-09-21 2010-09-21 Adaptive detection routing switching method

Publications (2)

Publication Number Publication Date
CN101950266A CN101950266A (en) 2011-01-19
CN101950266B true CN101950266B (en) 2012-04-11

Family

ID=43453770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102879674A Expired - Fee Related CN101950266B (en) 2010-09-21 2010-09-21 Adaptive detection routing switching method

Country Status (1)

Country Link
CN (1) CN101950266B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662395B (en) * 2012-05-09 2014-05-28 株洲南车时代电气股份有限公司 System and method for testing locomotive transmission control unit with resource routing function
CN105721246A (en) * 2016-02-04 2016-06-29 天津市英贝特航天科技有限公司 Communication bus automatic switching test device and test method
CN109506879B (en) * 2018-11-27 2020-10-16 中国空气动力研究与发展中心高速空气动力研究所 Control method of device for monitoring test behavior in wind tunnel test
CN109635504B (en) * 2019-01-04 2023-04-21 广东智科电子股份有限公司 Heat pump control system software design method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604174A (en) * 2003-09-29 2005-04-06 台达电子工业股份有限公司 Display identification code configuration system, apparatus and configuration method thereof
CN101089640A (en) * 2006-06-16 2007-12-19 鸿富锦精密工业(深圳)有限公司 Multiple battery insertion groove investigating system and method
CN201131038Y (en) * 2007-12-11 2008-10-08 上海西门子移动通信有限公司 Transmission-receive path automatic switchover apparatus for testing base station system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2592908A1 (en) * 2006-06-30 2007-12-30 Hitachi, Ltd. Line diagnostic device, bus system, line diagnostic method, bus system control method, and line diagnostic program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604174A (en) * 2003-09-29 2005-04-06 台达电子工业股份有限公司 Display identification code configuration system, apparatus and configuration method thereof
CN101089640A (en) * 2006-06-16 2007-12-19 鸿富锦精密工业(深圳)有限公司 Multiple battery insertion groove investigating system and method
CN201131038Y (en) * 2007-12-11 2008-10-08 上海西门子移动通信有限公司 Transmission-receive path automatic switchover apparatus for testing base station system

Also Published As

Publication number Publication date
CN101950266A (en) 2011-01-19

Similar Documents

Publication Publication Date Title
CN102025173B (en) Method and system for distinguishing between downward charging ports and special charging ports
CN101840233B (en) Equipment failure detection device and method
CN101950266B (en) Adaptive detection routing switching method
CN102890259B (en) Line-failure indicator detection system
CN203191491U (en) Cable line-sequence detection device
CN102023922A (en) System and method for testing automotive electronic diagnostic software
CN103376435B (en) Coil measurement device and Coil Detector method thereof
CN106526456B (en) Integrated circuit on-line testing device and testing method
CN105611491B (en) A kind of Bluetooth connecting method and device
CN105388416A (en) Intelligent substation relay protection remote test system
CN103487750A (en) Testing circuit capable of detecting residual current operated circuit breaker in remote mode
CN110445676B (en) Data monitoring system, method and device and computer readable storage medium
CN105653410A (en) Device and method based on printing and outputting of debugging information of Phytium platform, and computer
CN102967839B (en) Detection method and device for online monitoring communication system of transformer substation
US20070168729A1 (en) System and method for testing and debugging electronic apparatus in single connection port
CN106612215A (en) Integrated remote detection device and method based on Ethernet
CN111243488B (en) Display device and power protection method thereof
CN106598793B (en) Test system and test method based on BIOS serial port log data
CN112948186B (en) Detection device and detection method of interface signal
CN103793321B (en) application program detection method and system
CN104954046A (en) Transmission method and device thereof based on power line communication
CN203734673U (en) Optical fiber monitoring system
CN105242662A (en) Manipulation controller detection device and detection method
CN205139323U (en) Distant examination testing system of intelligent substation relay protection
CN103986627A (en) Internet-of-things detection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120411

Termination date: 20140921

EXPY Termination of patent right or utility model