CN109560980A - A kind of multimachine test method and system based on telnet agreement - Google Patents
A kind of multimachine test method and system based on telnet agreement Download PDFInfo
- Publication number
- CN109560980A CN109560980A CN201810631306.5A CN201810631306A CN109560980A CN 109560980 A CN109560980 A CN 109560980A CN 201810631306 A CN201810631306 A CN 201810631306A CN 109560980 A CN109560980 A CN 109560980A
- Authority
- CN
- China
- Prior art keywords
- test
- interchanger
- multimachine
- devices
- network 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of multimachine test methods and system based on telnet agreement, it is the following steps are included: S1, use the computer with vlan network interface card as test terminal, and it is connect by Multi-netmouth interchanger with Devices to test, it realizes telnet protocol communication, and distributes an IP to each network interface of interchanger;S2 logs in Devices to test by test terminal control multimachine interchanger and reads MAC/SN information, and device under test is tested;S3 shows test result.The system comprises the computer with vlan network interface card, Multi-netmouth interchanger, server and several Devices to test.The present invention realizes multimachine test, in plant produced, can reduce cost, improve production test efficiency;In production test procedure, facilitate employee's operation, when producing different product type, only need to debug LAN mouthfuls of product, on the one hand can be wasted with save the cost, personnel, on the other hand can save conversion time, effectively improve production test efficiency.
Description
Technical field
The present invention relates to network equipment detection field more particularly to a kind of multimachine test method based on telnet agreement and
System.
Background technique
Traditional network equipment detection, usually using the serial ports and Devices to test of serial ports box connection computer, due to meter
The serial ports of calculation machine is limited, therefore the number of devices once tested is limited, and testing efficiency is lower, in addition Devices to test and computer it
Between be that can not give each interface fixed IP by Serial agreement (serial communication), be unfavorable for the identification of Devices to test.
Summary of the invention
In order to solve the above-mentioned technical problem, cost, raising production test efficiency are reduced the object of the present invention is to provide a kind of
The multimachine test method and system based on telnet agreement.
The technical scheme adopted by the invention is that: a kind of multimachine test method based on telnet agreement comprising following
Step:
S1 uses the computer with vlan network interface card to set as test terminal, and by Multi-netmouth interchanger with to be measured
Standby connection realizes telnet protocol communication, and distributes an IP to each network interface of interchanger;
S2 logs in Devices to test by test terminal control multimachine interchanger and reads MAC/SN information, and device under test
It is tested;
S3 shows test result.
Further, the step S2 specifically includes sub-step:
S21 after Devices to test starting, logs in Devices to test by test terminal control multimachine interchanger and reads MAC/SN letter
Breath treats test equipment (Device Under Test) and carries out authentication registration, number assignment;
S22 treats test equipment (Device Under Test) and carries out the mutual testing examination of VOIP, and dialed number is voice
Block the number of distribution;
S23 is successively swept into corresponding product Mac with scanner in sequence, and device under test carries out hardware testing, chip is surveyed
Examination.
Further, the step 1 specifically includes: using the computer with vlan network interface card as test terminal, and leads to
Cross Multi-netmouth interchanger to connect with Devices to test, using the TcpClient class of socket, bind network interface ip, realize computer with
Devices to test telnet protocol communication.
Further, show that the mode of test result specifically includes voice broadcast or screen is shown in the step 3.
A kind of multimachine test macro based on telnet agreement, is used to implement the above-mentioned multimachine based on telnet agreement
Test method comprising: the computer with vlan network interface card, Multi-netmouth interchanger, server and several Devices to test, if described
Dry Devices to test passes through interchanger and computer connection communication respectively,
The computer is used to connect by Multi-netmouth interchanger with Devices to test, realizes telnet protocol communication, and give
Each network interface of interchanger distributes an IP and logs in Devices to test reading MAC/SN letter by test terminal control multimachine interchanger
Breath, and device under test is tested, and shows test result;
The Multi-netmouth interchanger is used for the computer and Devices to test of connecting band vlan network interface card.
Further, further include sound card, be used to treat test equipment (Device Under Test) and register and recognize
Card, number assignment;It treats test equipment (Device Under Test) and carries out the mutual testing examination of VOIP, dialed number is voice
Block the number of distribution.
Further comprising test result suggestion device comprising sound broadcasting device or display screen.
The beneficial effects of the present invention are: the present invention uses the computer with vlan network interface card as test terminal, and lead to
It crosses Multi-netmouth interchanger to connect with Devices to test, realizes telnet protocol communication, realize multimachine test, it, can in plant produced
To reduce cost, production test efficiency is improved;In production test procedure, facilitate employee's operation, when producing different product type, only
LAN mouthfuls of product need to be debugged, on the one hand can be wasted with save the cost, personnel, on the other hand can be saved conversion time, effectively improve
Production test efficiency, and and to interchanger each network interface distribute an IP, be conducive to the identification of Devices to test.
Detailed description of the invention
Specific embodiments of the present invention will be further explained with reference to the accompanying drawing:
Fig. 1 is a kind of structural schematic diagram of the multimachine test macro based on telnet agreement in the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
A kind of multimachine test method based on telnet agreement comprising following steps:
S1 uses the computer with vlan network interface card to set as test terminal, and by Multi-netmouth interchanger with to be measured
Standby connection realizes telnet protocol communication, and distributes an IP to each network interface of interchanger;
S2 logs in Devices to test by test terminal control multimachine interchanger and reads MAC/SN information, and device under test
It is tested;
S3 shows test result.
It is further used as preferred embodiment, the step S2 specifically includes sub-step:
S21 after Devices to test starting, logs in Devices to test by test terminal control multimachine interchanger and reads MAC/SN letter
Breath treats test equipment (Device Under Test) and carries out authentication registration, number assignment;
S22 treats test equipment (Device Under Test) and carries out the mutual testing examination of VOIP, and dialed number is voice
Block the number of distribution;
S23 is successively swept into corresponding product Mac with scanner in sequence, and device under test carries out hardware testing, chip is surveyed
Examination.
It is further used as preferred embodiment, the step 1 specifically includes: using a computer with vlan network interface card
It is connect as test terminal, and by Multi-netmouth interchanger with Devices to test, uses the TcpClient class of socket, bonding network
Mouth ip, realizes computer and Devices to test telnet protocol communication.
It is further used as preferred embodiment, shows that the mode of test result specifically includes voice and broadcasts in the step 3
Report or screen are shown.
Embodiment 1
Product, which is logged in, by process control multimachine interchanger reads MAC/SN information to confirm upper process test result and same
When by the sound card on computer treat test equipment (Device Under Test) carry out authentication registration, number assignment, if
Upper process test result " PASS " then carries out hardware testing, chip testing;Pass through process control language again after the completion of this two tests
Sound card treats test equipment (Device Under Test) and carries out the mutual testing examination of VOIP, and dialed number is sound card distribution
Number
A upper process product is inserted into multimachine test fixture test fixture, after product starting, in sequence successively with sweeping
It retouches rifle and is swept into corresponding product Mac, program meeting automatic running then tests corresponding product when prompting USB to test, specifically
Including (1.Post Test;2.Telnet is logged in;3. information inspection;4. Mac is written;5. ATTSN is written;6. GPON SN is written;
7. starting key testing;8.WPS key testing;9.WIFI key testing;10.REST key testing;11. closing key testing;
12. checking LED light.), after checking OK, program automatic running then indicates that test passes through, and such as shows to program display " Pass "
" Fail " then indicates that product test fails, and product need to be placed defective products region.
A kind of multimachine test macro based on telnet agreement as shown in Figure 1, be used to implement it is above-mentioned based on
The multimachine test method of telnet agreement comprising: if the computer with vlan network interface card, Multi-netmouth interchanger, server and
Dry Devices to test, several Devices to test pass through interchanger and computer connection communication respectively, and the computer is for passing through
Multi-netmouth interchanger is connect with Devices to test, realizes telnet protocol communication, and distribute an IP to each network interface of interchanger
Devices to test is logged in by test terminal control multimachine interchanger and reads MAC/SN information, and device under test is tested, and is shown
Show test result;The Multi-netmouth interchanger is used for the computer and Devices to test of connecting band vlan network interface card.
It is further used as preferred embodiment, further includes sound card, is used to treat test equipment (Device
Under Test) carry out authentication registration, number assignment;Test equipment (Device Under Test) progress VOIP is treated mutually to dial
Test, dialed number are the number of sound card distribution.
Be further used as preferred embodiment comprising test result suggestion device comprising sound broadcasting device or
Display screen.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.
Claims (7)
1. a kind of multimachine test method based on telnet agreement, which is characterized in that itself the following steps are included:
S1 uses the computer with vlan network interface card to connect as test terminal, and by Multi-netmouth interchanger and Devices to test
It connects, realizes telnet protocol communication, and distribute an IP to each network interface of interchanger;
S2 logs in Devices to test by test terminal control multimachine interchanger and reads MAC/SN information, and device under test carries out
Test;
S3 shows test result.
2. the multimachine test method according to claim 1 based on telnet agreement, which is characterized in that the step S2 tool
Body includes sub-step:
S21 after Devices to test starting, logs in Devices to test by test terminal control multimachine interchanger and reads MAC/SN information,
It treats test equipment (Device Under Test) and carries out authentication registration, number assignment;
S22 treats test equipment (Device Under Test) and carries out the mutual testing examination of VOIP, and dialed number is sound card point
The number matched;
S23, is successively swept into corresponding product Mac with scanner in sequence, and device under test carries out hardware testing, chip testing.
3. the multimachine test method according to claim 1 based on telnet agreement, which is characterized in that step 1 tool
Body includes: that the computer with vlan network interface card is used to connect as test terminal, and by Multi-netmouth interchanger and Devices to test
It connects, using the TcpClient class of socket, binds network interface ip, realize computer and Devices to test telnet protocol communication.
4. the multimachine test method according to claim 1 based on telnet agreement, which is characterized in that in the step 3
The mode of display test result specifically includes voice broadcast or screen is shown.
5. a kind of multimachine test macro based on telnet agreement, which is characterized in that it is used to implement Claims 1-4 such as and appoints
Based on the multimachine test method of telnet agreement described in one comprising: the computer with vlan network interface card, Multi-netmouth exchange
Machine, server and several Devices to test, several Devices to test pass through respectively Multi-netmouth interchanger connect with computer it is logical
Letter,
The computer is used to connect by Multi-netmouth interchanger with Devices to test, realizes telnet protocol communication, and to exchange
Each network interface of machine distributes an IP and logs in Devices to test reading MAC/SN information by test terminal control multimachine interchanger, and
Device under test is tested, and shows test result;
The Multi-netmouth interchanger is used for the computer and Devices to test of connecting band vlan network interface card.
6. the multimachine test macro according to claim 1 based on telnet agreement, it is characterised in that: it further includes voice
Card is used to treat test equipment (Device Under Test) and carries out authentication registration, number assignment;Treat test equipment
(Device Under Test) carries out the mutual testing examination of VOIP, and dialed number is the number of sound card distribution.
7. the multimachine test macro according to claim 1 based on telnet agreement, it is characterised in that: it includes test knot
Fruit suggestion device comprising sound broadcasting device or display screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810631306.5A CN109560980A (en) | 2018-06-19 | 2018-06-19 | A kind of multimachine test method and system based on telnet agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810631306.5A CN109560980A (en) | 2018-06-19 | 2018-06-19 | A kind of multimachine test method and system based on telnet agreement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109560980A true CN109560980A (en) | 2019-04-02 |
Family
ID=65864403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810631306.5A Pending CN109560980A (en) | 2018-06-19 | 2018-06-19 | A kind of multimachine test method and system based on telnet agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109560980A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151859A (en) * | 2018-07-19 | 2019-01-04 | 太仓市同维电子有限公司 | A kind of multimachine test method of AP product of the network interface without fixed IP |
CN110912778A (en) * | 2019-12-04 | 2020-03-24 | 国网湖北省电力有限公司 | Test system and test method supporting HSR standard transmission protocol |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030191590A1 (en) * | 2002-04-04 | 2003-10-09 | Catteleya Systems | Interactive automatic-test GUI for testing devices and equipment using shell-level, CLI, and SNMP commands |
CN202455371U (en) * | 2011-09-30 | 2012-09-26 | 深圳市共进电子股份有限公司 | Multi-machine testing system |
CN105262638A (en) * | 2015-09-16 | 2016-01-20 | 太仓市同维电子有限公司 | Method for simultaneously testing plurality of electronic products |
CN105978758A (en) * | 2016-06-23 | 2016-09-28 | 深圳创维数字技术有限公司 | VOIP test method and VOIP test system of set-top box |
-
2018
- 2018-06-19 CN CN201810631306.5A patent/CN109560980A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030191590A1 (en) * | 2002-04-04 | 2003-10-09 | Catteleya Systems | Interactive automatic-test GUI for testing devices and equipment using shell-level, CLI, and SNMP commands |
CN202455371U (en) * | 2011-09-30 | 2012-09-26 | 深圳市共进电子股份有限公司 | Multi-machine testing system |
CN105262638A (en) * | 2015-09-16 | 2016-01-20 | 太仓市同维电子有限公司 | Method for simultaneously testing plurality of electronic products |
CN105978758A (en) * | 2016-06-23 | 2016-09-28 | 深圳创维数字技术有限公司 | VOIP test method and VOIP test system of set-top box |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151859A (en) * | 2018-07-19 | 2019-01-04 | 太仓市同维电子有限公司 | A kind of multimachine test method of AP product of the network interface without fixed IP |
CN110912778A (en) * | 2019-12-04 | 2020-03-24 | 国网湖北省电力有限公司 | Test system and test method supporting HSR standard transmission protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102421112B (en) | Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system | |
CN111262340A (en) | Low-voltage distribution network topology identification system and method based on power line carrier N-line current monitoring | |
CN107659434A (en) | A kind of automatic test approach of Devices to test, apparatus and system | |
CN109560980A (en) | A kind of multimachine test method and system based on telnet agreement | |
CN107094091B (en) | A kind of intelligent substation station level network configuration method of calibration and system | |
CN105915396A (en) | Home network traffic recognition system and method | |
CN108683578A (en) | Test method and test system are interrogated by a kind of site device ring Netcom | |
CN106603331A (en) | Wireless local area network product test method and device, and test system | |
CN103778058B (en) | TETRA digital trunked air interface test method and system based on TTCN-3 | |
CN109344019A (en) | 1553B agreement general-purpose interface semi-automation test macro and method based on SOPC system | |
CN109002398A (en) | A kind of Auto-matching formula server software test terminal | |
CN102448098A (en) | Physical layer test system and method based on ARM (advanced RISC (reduced instruction set computer) machine) and DSP (digital signal processing) multi-core structure | |
CN107222589A (en) | A kind of embedded equipment I P address batch modification method and system of identical IP | |
CN110134556A (en) | The test macro and test method of the Compatibility of Operating System of USB wireless network card | |
CN104486151A (en) | Method and device for carrying out production testing on access terminal product | |
CN108882263A (en) | A kind of base station O&M method and apparatus | |
CN110838946A (en) | Automatic acceptance system and method based on simulation substation | |
US10393790B2 (en) | Method for testing connectivity | |
CN106909615A (en) | Data message consistency verification method and device between a kind of main website and substation | |
CN108241090A (en) | A kind of management method of ammeter | |
CN109495912A (en) | Band machine weight testing method outside a kind of room base station AP | |
CN109618363A (en) | Mobile gateway test macro and method | |
CN104793083A (en) | Communication unit interchangeability testing system and interchanging method thereof | |
CN105827462A (en) | Method and tool for detecting network device | |
CN103067226B (en) | A kind of EPON test systems |
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 | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20221101 |