CN107302477A - A kind of Ethernet switch interface test method - Google Patents
A kind of Ethernet switch interface test method Download PDFInfo
- Publication number
- CN107302477A CN107302477A CN201710675186.4A CN201710675186A CN107302477A CN 107302477 A CN107302477 A CN 107302477A CN 201710675186 A CN201710675186 A CN 201710675186A CN 107302477 A CN107302477 A CN 107302477A
- Authority
- CN
- China
- Prior art keywords
- test
- devices
- local device
- data
- ethernet switch
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- 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
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Abstract
The invention belongs to computer communication technology field, more particularly to a kind of Ethernet switch interface test method.The method of testing includes:Devices to test and local device are carried out into physical network to be connected;Client obtains the state that works online of Devices to test and local device, and Devices to test is added into configuration interface online;Configure Devices to test and the incidence relation of local device data channel;Device under test passage consistent serial communication parameter synchronous with the configuration of local device passage;Ergodic data transparent transmission mode;Local device sends test data bag to Devices to test, carries out the data penetration transmission test of each data channel of Devices to test.A kind of Ethernet switch interface test method of the present invention, by the way that Devices to test and local device are carried out into physical network connection and passage matching connection, so that when to Ethernet switch interface testing, all serial port communication datas can be accurately covered, to obtain clearly test result and data analysis.
Description
Technical field
The invention belongs to computer communication technology field, more particularly to a kind of Ethernet switch interface test method.
Background technology
Ethernet switch is the interchanger that data are transmitted based on Ethernet, and Ethernet uses shared-bus transmission media
The LAN of mode.The structure of Ethernet switch is that each interface is directly connected with main frame, and is typically all operated in complete
Duplex mode.Exchange function and connect many docking ports simultaneously, make the main frame being in communication with each other for every a pair can be as monopolizing communication medium
Like that, ensuring escapement from confliction transmission data are carried out.
Ethernet switch is when installing and using, it usually needs Ethernet switch interface is tested, to ensure number
According to normal transmission.
During the present invention is realized, it is found by the applicant that at least having the following disadvantages in the prior art:
In the prior art, Ethernet switch interface test method is mainly:Devices to test and local device physics are connected
Connect, after successful connection, local device sends test data bag to Devices to test, to carry out the test of data penetration transmission performance.But this
CB (Consecutive bytes sent pattern, successive byte pattern is sent) patterns or CF can only be passed through by planting method of testing
One kind in pattern (Consecutive frames sent pattern, continuous frame pattern is sent) is tested, and test
Baud rate is fixed, it is impossible to the switching at any time of implementation pattern or baud rate.
The content of the invention
There is problem for above-mentioned prior art, the present invention provides a kind of energy free switching data penetration transmission pattern, and baud
Rate covers comprehensive Ethernet switch interface test method.
The present invention is achieved through the following technical solutions above-mentioned purpose:
A kind of Ethernet switch interface test method, it is characterised in that the method for testing includes:
Devices to test and local device are carried out into physical network to be connected;
Client obtains the state that works online of Devices to test and local device, and Devices to test is added into configuration online
Interface;
Configure Devices to test and the incidence relation of local device data channel;
Device under test passage consistent serial communication parameter synchronous with the configuration of local device passage;
Ergodic data transparent transmission mode;
Local device sends test data bag to Devices to test, and the data penetration transmission for carrying out each data channel of Devices to test is surveyed
Examination.
Further, the client obtains Devices to test and the state of working online of local device and included:
Presence is reported to client by Devices to test and local device respectively so that client obtain Devices to test with
The state that works online of local device.
Further, Devices to test is respectively reported its presence by physical network connected mode with local device
To client.
Further, the serial communication parameter includes baud rate, data bit, stop position, verification mode, stream prosecutor formula.
Further, the data penetration transmission pattern includes CB patterns or CF patterns.
The beneficial effects of the invention are as follows:
A kind of Ethernet switch interface test method of the present invention, by the way that Devices to test and local device are carried out into physics
Network connection and passage matching connection so that when to Ethernet switch interface testing, can accurately cover all strings
Port communications data, to obtain clearly test result and data analysis.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of Ethernet switch interface test method of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of Ethernet switch interface test method, the method for testing energy free switching number
According to transparent transmission mode, and baud rate can be covered comprehensively.
The present invention is achieved through the following technical solutions above-mentioned purpose:
Fig. 1 is a kind of schematic flow sheet of Ethernet switch interface test method of the embodiment of the present invention, referring to Fig. 1,
A kind of Ethernet switch interface test method of the embodiment of the present invention, comprises the following steps:
S1:Devices to test and local device are carried out into physical network to be connected;
S2:Client obtains the state that works online of Devices to test and local device, and is online added to Devices to test
Configuration interface;
S3:Configure Devices to test and the incidence relation of local device data channel;
S4:Device under test passage consistent serial communication parameter synchronous with the configuration of local device passage;
S5:Ergodic data transparent transmission mode;
S6:Local device sends test data bag to Devices to test, and the data for carrying out each data channel of Devices to test are saturating
Pass test.
In the S2 of the embodiment of the present invention, presence is reported to client by Devices to test respectively with local device, so that
Client obtains the state that works online of Devices to test and local device.
Further, in the embodiment of the present invention, Devices to test with local device is distinguished by physical network connected mode
Its presence is reported into client.
The S4 of the embodiment of the present invention is mainly the accurate test realized to Ethernet switch RS485 asynchronous data transparent transmissions,
Its serial communication parameter that need to be configured can include baud rate, data bit, stop position, verification mode, stream prosecutor formula.
Specifically:
Baud rate:115200bps、9600bps、2400bps、1200bps;
Data bit:5、6、7、8;
Stop position:1、1.5、2;
Verification mode:Nothing, odd, even parity check;
Flow prosecutor formula:Without stream control, software flow control, hardware flow control.
In the S5 of the embodiment of the present invention, data penetration transmission pattern can include CB patterns or CF patterns, and CB patterns are used to carry out
Conventional func is tested, and CF patterns are to be used to carry out performance test, and both of which can be switched over using Error Detector.When making
With CB pattern test functions it is normal after, you can be switched to CF patterns carry out performance test.
In the S6 of the embodiment of the present invention, local device sends test data bag per road to Devices to test and gives out a contract for a project 10000 or so,
After being sent, record error code amount and packet loss amount data are checked, generation record test RS485 interface reports collect end.
The Ethernet switch interface test method of the embodiment of the present invention is when testing RS485 data, and single channel not winding is used
Error Detector or PC carry out data transmit-receive, and the attribute such as baud rate, data bit, check bit of change data (ensures each equipment as far as possible
Upper various baud rates are tested), test each data channel, can accurately cover serial communication baud rate 1200~
115200bps tests Packet Error Loss Rate.
A kind of Ethernet switch interface test method of the embodiment of the present invention, by the way that Devices to test and local device are entered
Row physical network is connected and passage matches connection so that when to Ethernet switch interface testing, can accurately be covered
All serial port communication datas, to obtain clearly test result and data analysis.
Embodiment provided above is the better embodiment of the present invention, only illustrates the present invention for convenient, not to this hair
It is bright to make any formal limitation, any those of ordinary skill in the art, if putting forward skill not departing from the present invention
In the range of art feature, using the equivalent embodiment for locally changing or modifying made by disclosed technology contents, and
Without departing from the technical characteristic content of the present invention, in the range of still falling within the technology of the present invention feature.
Claims (5)
1. a kind of Ethernet switch interface test method, it is characterised in that the method for testing includes:
Devices to test and local device are carried out into physical network to be connected;
Client obtains the state that works online of Devices to test and local device, and online be added to Devices to test configures boundary
Face;
Configure Devices to test and the incidence relation of local device data channel;
Device under test passage consistent serial communication parameter synchronous with the configuration of local device passage;
Ergodic data transparent transmission mode;
Local device sends test data bag to Devices to test, carries out the data penetration transmission test of each data channel of Devices to test.
2. a kind of Ethernet switch interface test method according to claim 1, it is characterised in that the client is obtained
Taking the state of working online of Devices to test and local device includes:
Presence is reported to client by Devices to test respectively with local device, so that client obtains Devices to test and local
The state that works online of equipment.
3. a kind of Ethernet switch interface test method according to claim 2, it is characterised in that Devices to test and sheet
Its presence is reported to client by ground equipment respectively by physical network connected mode.
4. a kind of Ethernet switch interface test method according to claim 1, it is characterised in that the serial communication
Parameter includes baud rate, data bit, stop position, verification mode, stream prosecutor formula.
5. a kind of Ethernet switch interface test method according to claim 1, it is characterised in that the data penetration transmission
Pattern includes CB patterns or CF patterns.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710675186.4A CN107302477A (en) | 2017-08-09 | 2017-08-09 | A kind of Ethernet switch interface test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710675186.4A CN107302477A (en) | 2017-08-09 | 2017-08-09 | A kind of Ethernet switch interface test method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107302477A true CN107302477A (en) | 2017-10-27 |
Family
ID=60134332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710675186.4A Pending CN107302477A (en) | 2017-08-09 | 2017-08-09 | A kind of Ethernet switch interface test method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107302477A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112463705A (en) * | 2020-11-27 | 2021-03-09 | 中国兵器装备集团自动化研究所 | Serial port dual-ring network redundant communication method |
CN114070753A (en) * | 2021-10-12 | 2022-02-18 | 山东有人物联网股份有限公司 | Transparent transmission equipment testing method and device and computer readable storage medium |
US11334459B2 (en) | 2020-08-18 | 2022-05-17 | Advantest Corporation | Flexible test systems and methods |
CN116055371A (en) * | 2021-10-27 | 2023-05-02 | 成都鼎桥通信技术有限公司 | Communication module performance test system and method, upper computer, medium and program product |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247289A (en) * | 2008-03-17 | 2008-08-20 | 中兴通讯股份有限公司 | Test method and device for forwarding performance of Ethernet switchboard high speed port |
CN101789889A (en) * | 2010-01-14 | 2010-07-28 | 瑞斯康达科技发展股份有限公司 | Method and system for automatic testing communication equipment |
CN103279125A (en) * | 2013-05-27 | 2013-09-04 | 哈尔滨工业大学 | Response simulation and test equipment for CPCI (Compact Peripheral Component Interconnect) bus missile-borne components and implementation method of response simulation and test equipment |
CN103313088A (en) * | 2012-03-07 | 2013-09-18 | 中国铁路通信信号上海工程集团有限公司 | Comprehensive detection platform for digital video monitoring systems and detection method |
CN103312852A (en) * | 2013-06-07 | 2013-09-18 | 广东欧珀移动通信有限公司 | Automatic mobile terminal current testing device and testing method thereof |
CN104062930A (en) * | 2013-11-29 | 2014-09-24 | 中国空间技术研究院 | Universal touch-type switch matrix control card for liquid crystal display |
CN104678156A (en) * | 2015-02-06 | 2015-06-03 | 四川蓝讯宝迩电子科技有限公司 | Live detection circuit capable of providing blocking signal |
CN105589771A (en) * | 2015-07-24 | 2016-05-18 | 杭州华三通信技术有限公司 | Test method and apparatus |
CN105629858A (en) * | 2016-03-30 | 2016-06-01 | 成都慧农信息技术有限公司 | Internet of things-based equipment online state monitoring system and method |
CN106950442A (en) * | 2017-02-17 | 2017-07-14 | 深圳市广和通无线通信软件有限公司 | Pin method of testing and device |
-
2017
- 2017-08-09 CN CN201710675186.4A patent/CN107302477A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247289A (en) * | 2008-03-17 | 2008-08-20 | 中兴通讯股份有限公司 | Test method and device for forwarding performance of Ethernet switchboard high speed port |
CN101789889A (en) * | 2010-01-14 | 2010-07-28 | 瑞斯康达科技发展股份有限公司 | Method and system for automatic testing communication equipment |
CN103313088A (en) * | 2012-03-07 | 2013-09-18 | 中国铁路通信信号上海工程集团有限公司 | Comprehensive detection platform for digital video monitoring systems and detection method |
CN103279125A (en) * | 2013-05-27 | 2013-09-04 | 哈尔滨工业大学 | Response simulation and test equipment for CPCI (Compact Peripheral Component Interconnect) bus missile-borne components and implementation method of response simulation and test equipment |
CN103312852A (en) * | 2013-06-07 | 2013-09-18 | 广东欧珀移动通信有限公司 | Automatic mobile terminal current testing device and testing method thereof |
CN104062930A (en) * | 2013-11-29 | 2014-09-24 | 中国空间技术研究院 | Universal touch-type switch matrix control card for liquid crystal display |
CN104678156A (en) * | 2015-02-06 | 2015-06-03 | 四川蓝讯宝迩电子科技有限公司 | Live detection circuit capable of providing blocking signal |
CN105589771A (en) * | 2015-07-24 | 2016-05-18 | 杭州华三通信技术有限公司 | Test method and apparatus |
CN105629858A (en) * | 2016-03-30 | 2016-06-01 | 成都慧农信息技术有限公司 | Internet of things-based equipment online state monitoring system and method |
CN106950442A (en) * | 2017-02-17 | 2017-07-14 | 深圳市广和通无线通信软件有限公司 | Pin method of testing and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11334459B2 (en) | 2020-08-18 | 2022-05-17 | Advantest Corporation | Flexible test systems and methods |
CN112463705A (en) * | 2020-11-27 | 2021-03-09 | 中国兵器装备集团自动化研究所 | Serial port dual-ring network redundant communication method |
CN114070753A (en) * | 2021-10-12 | 2022-02-18 | 山东有人物联网股份有限公司 | Transparent transmission equipment testing method and device and computer readable storage medium |
CN114070753B (en) * | 2021-10-12 | 2023-03-21 | 山东有人物联网股份有限公司 | Transparent transmission equipment testing method and device and computer readable storage medium |
CN116055371A (en) * | 2021-10-27 | 2023-05-02 | 成都鼎桥通信技术有限公司 | Communication module performance test system and method, upper computer, medium and program product |
CN116055371B (en) * | 2021-10-27 | 2024-04-02 | 成都鼎桥通信技术有限公司 | Communication module performance test system and method, upper computer, medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107302477A (en) | A kind of Ethernet switch interface test method | |
CN104184617B (en) | InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment | |
CN103746874B (en) | Method and equipment for IP (Internet protocol) FPM (flow performance monitor) | |
WO2007112311A2 (en) | System and method for managing performance of communication lines of a communication network | |
CN102868576A (en) | Method for measuring downlink packet loss rate of access link of broadband network user | |
CN102104502A (en) | Ethernet equipment performance test platform based on Linux system | |
CN106713074A (en) | Data network quality piecewise detection method and system based on service content | |
CN106568168A (en) | Debugging method, debugger and system | |
CN108449236A (en) | A kind of router feature test system | |
CN104518899A (en) | Network routing traffic simulation method and device | |
CN103716211B (en) | The data traffic measuring method of the network terminal | |
CN104092727B (en) | A kind of seismic instrument remote support system and method based on 3G Virtual Private Network | |
CN106506182A (en) | A kind of method and system of configuration PTN business | |
CN113890831B (en) | Method, device and storage medium for simulating network equipment | |
CN104660467A (en) | Testing method for communication comprehensive test terminal | |
CN107623629A (en) | A kind of restoring method and equipment for flowing forward-path | |
CN103281212B (en) | The method of monitoring Metro Ethernet performance | |
CN105323122B (en) | A kind of throughput of network device test device and test method based on interchanger | |
CN201122980Y (en) | Intelligent installation maintaining terminal | |
CN104168120B (en) | Method and apparatus for determining wiring impedance | |
CN103701660B (en) | A kind of ethernet device attachment means and its test system and method for application | |
CN108270628B (en) | OPNET-based power system SDH communication transmission network simulation modeling method | |
Zhao et al. | Sdn-enabled rule verification on data plane | |
CN110166319A (en) | A kind of network equipment parameter collecting method | |
CN108183482A (en) | A kind of method of intelligent substation digitlization secondary circuit presence assessment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171027 |