CN107204893B - Method and system for testing large-batch whole Ethernet switch - Google Patents

Method and system for testing large-batch whole Ethernet switch Download PDF

Info

Publication number
CN107204893B
CN107204893B CN201710329680.5A CN201710329680A CN107204893B CN 107204893 B CN107204893 B CN 107204893B CN 201710329680 A CN201710329680 A CN 201710329680A CN 107204893 B CN107204893 B CN 107204893B
Authority
CN
China
Prior art keywords
switch
test
management device
environment
ports
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
CN201710329680.5A
Other languages
Chinese (zh)
Other versions
CN107204893A (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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201710329680.5A priority Critical patent/CN107204893B/en
Publication of CN107204893A publication Critical patent/CN107204893A/en
Application granted granted Critical
Publication of CN107204893B publication Critical patent/CN107204893B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/465Details on frame tagging wherein a single frame includes a plurality of VLAN tags
    • H04L12/4662Details on frame tagging wherein a single frame includes a plurality of VLAN tags wherein a VLAN tag represents a service instance, e.g. I-SID in PBB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/022Capturing of monitoring data by sampling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A large-batch whole machine testing method and system for an Ethernet switch comprise an environment switch, a serial port communication management device, a control management device, a tool system and upper computer testing subsystem software. The upper computer software acquires a device starting process message through the serial port communication management device, automatically judges a corresponding starting position and starts service; the system realizes the automatic division of VLAN of the tested switch through a serial port communication management device, automatically controls a pneumatic system to enable every two ports of the tested switch to be self-looped, and simultaneously connects the rest two ports to an environment switch. The switch complete machine test center sends a test message to the switch to be tested through the environment switch, on one hand, whether a port of each switch is good or not is analyzed by capturing the network message, and on the other hand, an internal test report of each switch is obtained and analyzed through the serial port communication management device. The method greatly improves the production test efficiency of the switch.

Description

Method and system for testing large-batch whole Ethernet switch
Technical Field
The invention relates to the field of test of the whole machine in the production of Ethernet switches, which is suitable for the automatic test of the whole machine in large batch in the production process of a multi-port switch.
Background
At present, the complete machine production test mode of the existing switch is still in the manual test stage: the Ethernet switch has more ports and larger production capacity, the production and test process of the whole machine is very complicated, the test efficiency is very low, and the test effect is not very ideal. And manual testing is difficult to give a complete machine test report, and meanwhile, the quality of staff is difficult to test, and the testing efficiency and the personal performance are automatically hooked. Nowadays, the research on switch testing mainly stays in the processes of research, development, testing and acceptance testing. The points of interest are the performance and functionality of the switch: the study on industrial ethernet switch testing technology for intelligent substations (guangdong electric power, 11 th 2012) analyzes the requirements of an intelligent substation on an industrial ethernet switch on the basis of researching the hardware structure and functions of the industrial ethernet switch, provides a corresponding testing strategy and method from two aspects of switch hardware structure oriented and intelligent substation application, and provides an implementation scheme of an automatic switch testing system, wherein the scheme mainly focuses on switch function testing; the study and implementation of a traffic generator for switch verification testing (microprocessor, stage 4 of 2015) explores the generation of test packets according to network protocols to perform function verification and performance testing on switches. The flow generator based on the SoC architecture generates a complex flow model by using the flexibility of software and generates a data packet conforming to a protocol by using hardware, and can simulate the network flow with high load, high speed and complex environment in a modern network. And the flow generation model is verified through the test platform. A paper "three-layer switch automated test analysis" (electronic quality, 5 th year 2014) researches a key technology adopted by an automated test system for three-layer switches. The design of the three-layer function automatic test module of the three-layer switch automatic test system is realized, and the functions of consistency test, function test, performance test and passive test on the network environment are realized. The research mainly explains the performance test, the function test and the consistency test of the switch, and the oriented test process is research, development, test and acceptance test. The automatic test of a large batch of complete machines in the production process of the switch is a problem which needs to be solved urgently, but corresponding research is not carried out. The large-scale production automation test technology of the switch is seriously lagged behind the research and development test, acceptance test and other related technologies of the switch. The mass production of industrial ethernet switches inevitably requires the support of the related art of mass automated testing of switches, which requires two technical problems to be solved: 1 how to test N switches simultaneously, namely, testing in a large batch; and 2, how to automatically construct the test environment without excessive manual participation and reduce the manual test cost.
In order to solve the problems of low efficiency of the mass production and test of the whole machine of the switch, easy test omission of a test port, no corresponding test report and other practical mass production problems, the invention provides a novel full-automatic production test solution of the Ethernet switch: a mass production test method for an Ethernet switch and an automatic test system for the whole machine production of the Ethernet switch are developed based on the method, so that a corresponding test technology is provided for the current production test of the switch, and the mass production test efficiency of the switch is improved.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the reasons that the test efficiency of the whole switch machine is low, the manual participation degree is too high, the test report cannot be automatically formed and the like in the mass production process of the existing switch machine, the invention provides the automatic test method and the automatic test system for the whole switch machine in mass production, and the invention solves the problem that the test is difficult in the mass production process of the existing switch machine, thereby realizing the automatic production test and the automatic generation of the report of the whole switch machine of the switch machine and improving the production test efficiency.
In order to solve the technical problems, the invention adopts the following solution:
a large-batch complete machine testing method for Ethernet switches comprises the following steps:
the software of an upper computer test system is adopted to provide a function of downloading the FTP service by the program, and the tested switch actively downloads the program and automatically updates a program mechanism;
after the system is powered on to the switch, the upper computer software acquires a device starting process message through the serial port communication management device, automatically judges a corresponding starting position and then automatically inputs a user name and a password;
the system realizes the automatic division of VLAN of M tested switches through a serial port communication management device, automatically controls a pneumatic system to enable every two ports of the M tested switches to be self-looped, and simultaneously connects the rest two ports to the corresponding ports of N environment switches;
the switch complete machine test center sends a test message to a tested switch through an environment switch, on one hand, whether a port of each switch is good is analyzed by capturing a network message, on the other hand, an internal test report of each switch is obtained and analyzed through a serial port communication management device, and the switch complete machine test report is given by integrating the network message and the internal test report.
As a further preferred scheme of the present invention, the environmental switch participating in the test needs to divide N VLANs, the VLAN division of the environmental switch is to realize that two ports of each switch under test are all in different VLANs, and the other ports of the environmental switch belong to different VLANs respectively except for the port connected to the upper computer of the complete machine test center of the switch.
As a further preferable scheme of the invention, the tested switch VLAN division is realized by the automatic monitoring of the upper computer software of the switch complete machine test center through the serial port communication management device. The test message can be transmitted from one end to the other end according to the specified path.
As a further preferable scheme of the present invention, the test packet has a VLAN tag, the test packet of each switch under test has a VLAN tag belonging to the switch ID, and the ID of each switch can be flexibly set.
As a further preferred scheme of the invention, based on the VALN division of the environmental switch and the tested switch, the system realizes the automatic judgment of the switch port quality through automatic packet capturing according to the two frames of the received message with the corresponding switch VLAN label.
The invention also provides an automatic test system of the whole Ethernet switch, which comprises an environment switch, a serial communication management device, a control management device, a tooling system and upper computer test system software. The environment switch is responsible for message switching; the serial port communication management device is communicated with the switch to complete various command settings; the control management device is mainly responsible for controlling the tool system, so that automatic connection of all port connecting lines of the switch is realized, and the building of a test environment is completed; the upper computer test system software is a switch complete machine test center and is responsible for message receiving and sending, environment building command triggering, test quality judgment and switch detailed complete machine test report.
As a further preferred scheme of the invention, the automatic construction of the switch environment is automatically realized by a control management device, the control management device realizes the automatic construction of the test environment by a pneumatic system, and the ports of the switch to be tested are self-looped pairwise according to requirements; when the test is finished, the system automatically retreats the tool.
The invention has the beneficial effects that: firstly, a corresponding technical means is provided for the automatic test of the whole machine of the switch in large batch; secondly, a technical foundation is laid for intelligently testing the switch; thirdly, the efficiency of mass production and test of the whole switch is effectively improved, the labor and the efficiency are reduced, and the effect is very obvious.
Drawings
FIG. 1 shows a structure diagram of a large-batch complete machine testing system of a switch
Detailed Description
The invention provides a large-batch whole machine testing method and system for an Ethernet switch, which are characterized in that upper computer testing system software is adopted to provide a function of downloading FTP service by a program, and a tested switch actively downloads the program and automatically updates a program mechanism. After the switch is powered on, the upper computer software obtains a device starting process message through the serial port communication management device, automatically inputs a user name and a password after automatically judging a corresponding starting position, realizes the automatic division of the VLAN of the M tested switches through the serial port communication management device, automatically controls the pneumatic system to enable the ports of the M tested switches to be self-surrounded in pairs, and simultaneously connects the rest two ports to the corresponding ports of the N environment switches. The switch complete machine test center sends a test message to the switch to be tested through the environment switch, on one hand, whether a port of each switch is good or not is analyzed by capturing the network message, on the other hand, an internal test report of each switch is obtained and analyzed through the serial port communication management device, and the two are integrated to give a complete machine test report.
In the technical scheme of the invention, an environmental switch participating in testing needs to divide N VLANs, the VLAN division of the environmental switch is to realize that two ports of each tested switch are in different VLANs, and except that the port of the environmental switch connected with an upper computer of a complete machine testing center of the switch belongs to all VLANs, other ports belong to different VLANs respectively.
In the technical scheme of the invention, the VLAN division of the switch to be tested is realized by the upper computer software of the complete machine test center of the switch through the automatic monitoring of the serial port communication management device. The test message can be transmitted from one end to the other end according to the specified path.
In the technical scheme of the invention, the test message is provided with the VLAN label, the test message of each tested switch is provided with the VALN label belonging to the ID of the switch, and the ID of each switch can be flexibly set.
In the technical scheme of the invention, based on the VALN division of the environmental switch and the tested switch, the system realizes the automatic judgment of the switch port quality through automatic packet capturing according to the two frames of the received message with the corresponding switch VLAN label.
The invention also provides an automatic test system of the whole Ethernet switch, which comprises an environment switch, a serial communication management device, a control management device, a tooling system and upper computer test system software. The environment switch is responsible for message switching; the serial port communication management device is communicated with the switch to complete various command settings; the control management device is mainly responsible for controlling the tool system, so that automatic connection of all port connecting lines of the switch is realized, and the building of a test environment is completed; the upper computer test system software is a switch complete machine test center and is responsible for message receiving and sending, environment building command triggering, test quality judgment and switch detailed complete machine test report.
In the technical scheme of the invention, the automatic construction of the switch environment is automatically realized by a control management device, the control management device realizes the automatic construction of the test environment by a pneumatic system, and the ports of the switch to be tested are self-looped pairwise according to requirements; when the test is finished, the system automatically retreats the tool.
The following describes the embodiments of the present invention in detail with reference to the accompanying drawings. Fig. 1 is a structure diagram of a large-batch complete machine automatic test system of a switch.
1. Placing a plurality of switches on the designated tooling positions;
2. opening the software of the automatic test system of the switch;
3. setting the ID number of each switch, storing data, and adopting default data;
4. clicking an automatic test button, automatically powering on the switch by the system, pushing a switch connecting line tool, and starting a related test task;
5. after the test is finished, the system automatically withdraws from the switch connecting line tool;
6. the system automatically prints the complete machine test report of the switch.
The above examples are only for illustrating the technical idea of the present invention, and the scope of the present invention should not be limited thereby, and all modifications made on the basis of the technical solution according to the technical idea of the present invention are within the scope of the present invention.

Claims (6)

1. A large-batch complete machine testing method for Ethernet switches is characterized by comprising the following steps: the upper computer test subsystem is adopted to provide a program downloading FTP service function, and the tested switch actively downloads the program and automatically updates a program mechanism;
after the switch is powered on, the upper computer acquires a starting process message through the serial port communication management device and automatically judges a corresponding starting position;
the upper computer realizes the automatic division of the VLAN of the M tested switches through the serial port communication management device, controls the pneumatic system to enable the ports of the M tested switches to be self-looped pairwise, and simultaneously connects the rest two ports to the corresponding ports of the N environment switches;
the environmental switch participating in the test needs to divide N VLANs, and two ports of each tested switch are in different VLANs; in the environment switch, the ports connected with the upper computer of the complete machine test center of the switch belong to all VLANs, and other ports belong to different VLANs respectively; the switch complete machine test center sends test messages to all switches to be tested through the environment switches, analyzes whether the ports of all the switches are good or not by capturing the network messages, acquires and analyzes detailed reports in all the switches through the serial port communication management device, and gives a switch complete machine test report by combining the test messages and the detailed reports.
2. A mass test method for Ethernet switches as claimed in claim 1, wherein VLAN division of the switches to be tested is automatically performed by the host computer controlled by the switch complete machine test center according to different models of the devices through message monitoring of the serial communication management device, so that test messages can be transmitted from one end to the other end according to a set path.
3. A method according to claim 1, wherein the test packets have VLAN tags, the test packets of each switch under test have VLAN tags belonging to the ID of the switch, and the ID of each switch can be set by a switch complete machine test center.
4. A large-batch complete machine testing method for Ethernet switches according to claim 1, characterized in that based on the VALN division of the environmental switch and the switch to be tested, the system realizes the automatic judgment of the switch port quality through the automatic packet capturing of the network, and the basis for judging the switch port is that two frames of messages with the corresponding switch VLAN label are received.
5. The utility model provides a big complete machine test system in batches of ethernet switch which characterized in that: the system comprises an environment switch, a serial port communication management device, a control management device, a tooling system and an upper computer;
the environment switch realizes all message switching;
the serial port communication management device is communicated with the switch to complete various command settings;
the control management device controls the tool system, so that automatic connection of all port connecting lines of the switch is realized, and automatic construction of a test environment is completed;
the environmental switch participating in the test needs to divide N VLANs, and two ports of each tested switch are in different VLANs; in the environment switch, the ports connected with the upper computer of the complete machine test center of the switch belong to all VLANs, and other ports belong to different VLANs respectively;
and a complete machine test center of the switch is built in the upper computer through test system software, and is responsible for message receiving and sending, environment building command triggering, test quality judgment and a complete machine test report of the switch in detail.
6. A large-batch complete machine test system for Ethernet switches as claimed in claim 5, wherein the automatic construction of the switch environment is realized by a control management device, the control management device realizes the automatic construction of the test environment by a pneumatic system, and the ports of the switches to be tested are self-looped pairwise according to the design requirements; and when the test is finished, the system retreats from the tool.
CN201710329680.5A 2017-05-11 2017-05-11 Method and system for testing large-batch whole Ethernet switch Expired - Fee Related CN107204893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710329680.5A CN107204893B (en) 2017-05-11 2017-05-11 Method and system for testing large-batch whole Ethernet switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710329680.5A CN107204893B (en) 2017-05-11 2017-05-11 Method and system for testing large-batch whole Ethernet switch

Publications (2)

Publication Number Publication Date
CN107204893A CN107204893A (en) 2017-09-26
CN107204893B true CN107204893B (en) 2020-09-04

Family

ID=59905897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710329680.5A Expired - Fee Related CN107204893B (en) 2017-05-11 2017-05-11 Method and system for testing large-batch whole Ethernet switch

Country Status (1)

Country Link
CN (1) CN107204893B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270482B (en) * 2017-12-21 2020-05-22 瑞斯康达科技发展股份有限公司 Port test method and system
CN108337581A (en) * 2018-02-06 2018-07-27 凌云天博光电科技股份有限公司 Optical line terminal bearing capacity test method, device, system
CN110596500A (en) * 2019-10-15 2019-12-20 南京南瑞继保电气有限公司 Intelligent test management platform and management method for relay protection device and electronic equipment
CN111600970B (en) * 2020-04-09 2022-08-09 南瑞集团有限公司 Method and system for stably controlling device program centralized downloading
CN112350893A (en) * 2020-10-28 2021-02-09 太仓市同维电子有限公司 Ethernet port consistency test method and system
CN114089086B (en) * 2021-10-29 2024-05-14 深圳市康必达控制技术有限公司 Communication manager testing equipment and testing method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200623721A (en) * 2004-12-29 2006-07-01 Arcadyan Technology Corp System for synchronously controlling the testing of pluralities of devices and the method of the same
CN101136790A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Cluster managerial automatization test system and method of ethernet switchboard
CN102355377A (en) * 2011-06-30 2012-02-15 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch
CN104639395A (en) * 2015-01-08 2015-05-20 中国航空无线电电子研究所 Simple simulation testing device for AFDX (avionics full duplex switched Ethernet) switch and testing method for simple simulation testing device
CN104820635A (en) * 2015-04-07 2015-08-05 南京国电南自电网自动化有限公司 Method of testing robustness of closed loop protocol based on semantic analysis of dynamic script
CN104980317A (en) * 2015-06-18 2015-10-14 南京南瑞集团公司 Automatic test system and test method for dispatching data network equipment
CN105141480A (en) * 2015-09-21 2015-12-09 上海斐讯数据通信技术有限公司 Power over ethernet (PoE) switch test device, system and method
CN106452942A (en) * 2016-08-29 2017-02-22 中车株洲电力机车研究所有限公司 Track traffic industry vehicle Ethernet exchange software performance test system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200623721A (en) * 2004-12-29 2006-07-01 Arcadyan Technology Corp System for synchronously controlling the testing of pluralities of devices and the method of the same
CN101136790A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Cluster managerial automatization test system and method of ethernet switchboard
CN102355377A (en) * 2011-06-30 2012-02-15 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch
CN104639395A (en) * 2015-01-08 2015-05-20 中国航空无线电电子研究所 Simple simulation testing device for AFDX (avionics full duplex switched Ethernet) switch and testing method for simple simulation testing device
CN104820635A (en) * 2015-04-07 2015-08-05 南京国电南自电网自动化有限公司 Method of testing robustness of closed loop protocol based on semantic analysis of dynamic script
CN104980317A (en) * 2015-06-18 2015-10-14 南京南瑞集团公司 Automatic test system and test method for dispatching data network equipment
CN105141480A (en) * 2015-09-21 2015-12-09 上海斐讯数据通信技术有限公司 Power over ethernet (PoE) switch test device, system and method
CN106452942A (en) * 2016-08-29 2017-02-22 中车株洲电力机车研究所有限公司 Track traffic industry vehicle Ethernet exchange software performance test system and method

Also Published As

Publication number Publication date
CN107204893A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN107204893B (en) Method and system for testing large-batch whole Ethernet switch
CN106556761B (en) A kind of direct-current charging post detection system and method applied on site
CN110224915A (en) Localized network working method and system in a kind of vehicle-mounted hybrid network
CN209513933U (en) A kind of three electric controller test macro of pure electric automobile
CN104954198B (en) A kind of transformer station process layer switch state monitoring apparatus and method
CN103546541B (en) Remote data based on intelligent telecontrol communication machine subscribes to dissemination method
CN108650111B (en) Information security electric power semi-physical simulation platform building method and system
CN105357096B (en) Intelligent transformer substation sensing device on-line checking network-building method based on ZigBee-network
CN106712295A (en) Logical power distribution terminal based on distributed power distribution automation system and communication method thereof
CN210298098U (en) Industrial embedded gateway, system and communication equipment based on Bluetooth Mesh
CN103679567B (en) A kind of intelligent grid plug and play system and its implementation
CN203219325U (en) Intelligent PoE (power over Ethernet) switch
CN106533934A (en) Border gateway applicable to all interconnected manufacturing networks
CN206331274U (en) A kind of equipment long-distance service system
CN110712541A (en) Remote monitoring method for solar charging station
CN202565473U (en) Monitoring system based on wireless sensor network
CN109687985B (en) Automatic configuration method and system for process level network of transformer substation
CN106849349A (en) A kind of sun square formation simulator developing Of Remote Control Power frame system
CN107070681A (en) Network topology acquisition methods and device based on software defined network SDN
CN203870171U (en) System for testing remote control function of power distribution terminal
CN110677303A (en) Network management system
CN201464555U (en) Power distribution data collecting terminal device of wireless hybrid communication network
CN211702069U (en) Internet of things terminal with multi-protocol adaptation
CN104076773B (en) A kind of modularization ZIGBEE monitoring systems applied to 3D printing equipment
CN202995424U (en) Industrial data acquisition system employing back binding communication plug-in

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200904

CF01 Termination of patent right due to non-payment of annual fee