CN105376118A - Test method for transmission performance of AFDX switch - Google Patents
Test method for transmission performance of AFDX switch Download PDFInfo
- Publication number
- CN105376118A CN105376118A CN201510931310.XA CN201510931310A CN105376118A CN 105376118 A CN105376118 A CN 105376118A CN 201510931310 A CN201510931310 A CN 201510931310A CN 105376118 A CN105376118 A CN 105376118A
- Authority
- CN
- China
- Prior art keywords
- network test
- test frame
- bag
- afdx switch
- bandwidth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a test method of the transmission performance of an AFDX switch. According to the test method, transmission virtual links (VL) are reasonably allocated, and port full-flow transmission can be realized, and function test requirements of the transmission ports of the AFDX switch under a limit (full-flow transmission) condition can be satisfied. With the test method adopted, transmission performance test can be performed on 24 ports of the AFDX switch fast and effectively, and therefore, the requirements of protocols can be satisfied.
Description
Technical field
The invention belongs to Computer Applied Technology field, relate to a kind of method of testing of AFDX switch sending performance.
Background technology
AFDX network is 100M full-duplex switched Ethernet, and in order to ensure the proper communication of network, the peak transfer rate of its port needs to reach 100Mbit/s.
Generally, when AFDX switch ports themselves sends data by VL (virtual link), the bandwidth that the transmission data configured take, within 100,000,000, is directly transmitted to target machine through AFDX switch, as long as target machine receives data namely represent that AFDX switch transmit port function is normal.But, the AFDX switch transmit port functional test of (i.e. flowing full amount send) under this method discomfort is incorporated into limiting case.
Summary of the invention
Object of the present invention: the method for testing that the invention provides a kind of AFDX switch sending performance, in order to solve basic test to port communication strict not and sufficient technical problem, realize flowing full amount sending performance test.
Technical solution of the present invention is:
The method of testing of the first AFDX switch sending performance, comprises the following steps:
Step 1, to AFDX switch load allocation list; Define the transmission VL of AFDX switch all of the port in described allocation list and receive VL;
The transmitting terminal of step 2, testing equipment defines a master network test frame and an auxiliary network test frame; Described master network test frame becomes by null data set with the load of auxiliary network test frame; Be calculated as follows the bandwidth shared by the VL for sending master network test frame and auxiliary network test frame:
Bandwidth (M, BAG)=[8 × (8+6+6+2+20+8+M+1+4+12)/Q]/(BAG/1000)
Bandwidth (N, BAG)=[8 × (8+6+6+2+20+8+N+1+4+12)/Q]/(BAG/1000)
Wherein:
M is the byte number of the load of master network test frame;
N is the byte number of the load of auxiliary network test frame;
BAG is bandwidth allocation interval, unit ms;
The value of described N is as the criterion with the estimation of step 3;
Q is the byte number that AFDX switch can transmit in 1000ms under peak transfer rate condition;
Step 3, the peak transfer rate of bandwidth sum AFDX switch calculated according to step 2, VL quantity P required when sending by following formula estimation flowing full amount:
The bandwidth (M, BAG) shared by VL of the peak transfer rate/master network test frame of P=AFDX switch;
Step 4, use Q bar master network test frame and 1 full data on flows of auxiliary network test frame structure;
The value of the quantity Q of described master network test frame is P or (P-1), and the value of Q and N take following formula as foundation:
The peak transfer rate of Q × bandwidth (M, BAG)+(N, BAG) ≈ AFDX switch;
The transmitting terminal of step 5, testing equipment by the full data on flows constructed by sending to the receiving terminal of testing equipment after any two ports of AFDX switch;
Resolve after the receiving terminal of step 6, testing equipment receives full data on flows;
According to analysis result, the receiving terminal of step 7, testing equipment judges whether the peak transfer rate between these any two ports meets the demands;
Step 8, repetition step 4, to step 7, travel through all any two ports of AFDX switch.
In above-mentioned steps 2, M preferentially gets 17 or 1471.
The method of testing of the second AFDX switch sending performance, comprises the following steps:
Step 1, to AFDX switch load allocation list; Define the transmission VL of AFDX switch all of the port in described allocation list and receive VL;
The transmitting terminal of step 2, testing equipment defines two groups of different master network test frames and auxiliary network test frame; Described master network test frame becomes by null data set with the load of auxiliary network test frame; The bandwidth shared by VL of described transmission master network test frame and auxiliary network test frame is:
Bandwidth (M1, BAG)=[8 × (8+6+6+2+20+8+M1+1+4+12)/Q]/(BAG/1000)
Bandwidth (N1, BAG)=[8 × (8+6+6+2+20+8+N1+1+4+12)/Q]/(BAG/1000)
Bandwidth (M2, BAG)=[8 × (8+6+6+2+20+8+M2+1+4+12)/Q]/(BAG/1000)
Bandwidth (N2, BAG)=[8 × (8+6+6+2+20+8+N2+1+4+12)/Q]/(BAG/1000)
Wherein:
M1 or M2 is the byte number of the load of master network test frame;
N1 or N2 is the byte number of the load of auxiliary network test frame;
BAG is bandwidth allocation interval, unit ms;
The value of described N1 or N2 is as the criterion with the estimation of step 3;
Q is the byte number that AFDX switch can transmit in 1000ms under peak transfer rate condition;
The master network test frame of described first group and the BAG=1ms of auxiliary network test frame, M1=17, N1=115;
The master network test frame of described second group and the BAG=1ms of auxiliary network test frame, M1=1471, N1=129;
Step 3, the peak transfer rate of bandwidth sum AFDX switch calculated according to step 2, estimate respectively by following formula and often organize VL quantity P required when flowing full amount sends:
The bandwidth (M1, BAG) shared by VL of the peak transfer rate/master network test frame of P1=AFDX switch;
The bandwidth (M2, BAG) shared by VL of the peak transfer rate/master network test frame of P2=AFDX switch;
Step 4, construct first group of full data on flows with Q1 bar master network test frame and 1 auxiliary network test frame; Second group of full data on flows is constructed with Q2 bar master network test frame and 1 auxiliary network test frame;
The value of the quantity Q1 of described first group of master network test frame is P1 or (P1-1), and the value of Q1 and N1 take following formula as foundation:
The peak transfer rate of Q1 × bandwidth (M1, BAG)+(N1, BAG) ≈ AFDX switch;
The value of the quantity Q2 of described second group of master network test frame is P2 or (P2-1), and the value of Q2 and N2 take following formula as foundation:
The peak transfer rate of Q2 × bandwidth (M2, BAG)+(N2, BAG) ≈ AFDX switch;
The transmitting terminal of step 5, testing equipment expires data on flows by sending to the receiving terminal of testing equipment after any two ports of AFDX switch by constructed first group; Then data on flows is expired by sending to the receiving terminal of testing equipment after any two ports of AFDX switch by constructed second group;
Resolve respectively after the receiving terminal of step 6, testing equipment receives full data on flows;
According to analysis result, the receiving terminal of step 7, testing equipment judges whether the peak transfer rate between these any two ports meets the demands;
Step 8, repetition step 4, to step 7, travel through all any two ports of AFDX switch.
Full data on flows in above-mentioned two kinds of methods in step 5, reuses when traveling through all any two ports of AFDX switch.
Parsing in above-mentioned two kinds of methods in step 6 carrys out calculated flow rate by the markers of the receiving terminal reception last frame of testing equipment.
The advantageous effect that the present invention has:
1, the invention provides a kind of method of testing of AFDX switch sending performance, sending VL by reasonably configuring, realizing the transmission of port flowing full amount, the AFDX switch transmit port functional test demand of (i.e. flowing full amount transmission) under meeting limiting case.Method of testing in this invention can fully be verified the sending performance of AFDX switch ports themselves, solves current method of testing and cannot verify the technical problem insufficient, test process is complicated to AFDX switch sending performance.
2, the present invention adopts the network test frame (64 bytes and 1518 bytes) of two kinds of limiting lengths to test AFDX switch sending performance respectively or jointly, can be sure of that the test of frame length within the scope of this all can meet test request.
Accompanying drawing explanation
Fig. 1 is AFDX switch sending performance of the present invention test schematic diagram.
Embodiment
The method of testing of the first AFDX switch sending performance of the present invention, step is as follows:
The transmitting terminal define grid test frame of step 1, testing equipment, and calculate the bandwidth shared by VL being used for sending network test frame; The frame length of network test frame is not less than 64 bytes, and is not more than 1518 bytes.
Step 2, peak transfer rate according to the bandwidth sum AFDX switch described in step 1, calculate VL number required when flowing full amount sends; When flowing full amount sends, required VL number equals the bandwidth of peak transfer rate divided by described step 1 of AFDX switch.
Step 3, empty Frame structure flowing full amount with same frame length;
Posttectonic full data on flows is sent to the receiving terminal of testing equipment by the transmitting terminal of step 4, testing equipment by AFDX switch;
Resolve after the receiving terminal of step 5, testing equipment receives data, and sent the transmitting terminal feeding back signal to testing equipment by AFDX switch;
The transmitting terminal of step 6, testing equipment identifies whether to send successfully by the feedback signal received.
The embodiment of the method for testing of the second AFDX switch sending performance of the present invention is as follows:
In order to test switch ports themselves with the wide transmission data of filled band, need to be configured the VL of switch.Definition bandwidth (M, BAG)=[8 × (8+6+6+2+20+8+M+1+4+12)/1000000]/(BAG/1000), wherein M represents AFDX data payload.For the shortest frame length 64 byte (M=17), adopt BAG=1ms, the bandwidth that therefore every bar VL takies is 0.672Mbit/s.
If the wide transmission of filled band, then definition 100/0.672=148.8095 different VL is needed to fill.In like manner, for the longest frame 1518 byte, 8.12 VL are needed to fill.
Concrete testing process is as follows:
Step 1: configuration data frame
A. definition AFDX switch any two ports A, B are 64bytes, BAG with frame length from A port to B port is that 1ms configures 147 VL; Be 132bytes, BAG with frame length from A port to B port be that 1ms configures 1 VL;
B. be 1518bytes, BAG with frame length from A port to B port be that 1ms configures 8 VL; Be 176bytes, BAG with frame length from A port to B port be that 1ms configures 1 VL;
Step 2: calculated flow rate
The frame configured by A is sent to B port from A port; The markers of the frame that analysis port B receives, and calculated flow rate;
The frame configured by B is sent to B port from A port; The markers of the frame that analysis port B receives, and calculated flow rate;
Step 3: repeat step 1 to 2 between AFDX switch all of the port;
Step 4: confirm that the data of all transmissions are received, and the flow calculated must close to 100Mbps.
In design process, the port of configuration switch sends with linear speed, another one port accepts.
Claims (7)
1. a method of testing for AFDX switch sending performance, is characterized in that: comprise the following steps:
Step 1, to AFDX switch load allocation list; Define the transmission VL of AFDX switch all of the port in described allocation list and receive VL;
The transmitting terminal of step 2, testing equipment defines a master network test frame and an auxiliary network test frame; Described master network test frame becomes by null data set with the load of auxiliary network test frame; Be calculated as follows the bandwidth shared by the VL for sending master network test frame and auxiliary network test frame:
Bandwidth (M, BAG)=[8 × (8+6+6+2+20+8+M+1+4+12)/Q]/(BAG/1000)
Bandwidth (N, BAG)=[8 × (8+6+6+2+20+8+N+1+4+12)/Q]/(BAG/1000)
Wherein:
M is the byte number of the load of master network test frame;
N is the byte number of the load of auxiliary network test frame;
BAG is bandwidth allocation interval, unit ms;
The value of described N is as the criterion with the estimation of step 3;
Q is the byte number that AFDX switch can transmit in 1000ms under peak transfer rate condition;
Step 3, the peak transfer rate of bandwidth sum AFDX switch calculated according to step 2, VL quantity P required when sending by following formula estimation flowing full amount:
The bandwidth (M, BAG) shared by VL of the peak transfer rate/master network test frame of P=AFDX switch;
Step 4, use Q bar master network test frame and 1 full data on flows of auxiliary network test frame structure;
The value of the quantity Q of described master network test frame is P or (P-1), and the value of Q and N take following formula as foundation:
The peak transfer rate of Q × bandwidth (M, BAG)+(N, BAG) ≈ AFDX switch;
The transmitting terminal of step 5, testing equipment by the full data on flows constructed by sending to the receiving terminal of testing equipment after any two ports of AFDX switch;
Resolve after the receiving terminal of step 6, testing equipment receives full data on flows;
According to analysis result, the receiving terminal of step 7, testing equipment judges whether the peak transfer rate between these any two ports meets the demands;
Step 8, repetition step 4, to step 7, travel through all any two ports of AFDX switch.
2. the method for testing of AFDX switch sending performance according to claim 1, is characterized in that:
Full data on flows in described step 5, reuses when traveling through all any two ports of AFDX switch.
3. the method for testing of AFDX switch sending performance according to claim 1 and 2, is characterized in that: the parsing in described step 6 carrys out calculated flow rate by the markers of the receiving terminal reception last frame of testing equipment.
4. the method for testing of AFDX switch sending performance according to claim 3, is characterized in that:
In described step 2, M gets 17 or 1471.
5. a method of testing for AFDX switch sending performance, is characterized in that: comprise the following steps:
Step 1, to AFDX switch load allocation list; Define the transmission VL of AFDX switch all of the port in described allocation list and receive VL;
The transmitting terminal of step 2, testing equipment defines two groups of different master network test frames and auxiliary network test frame; Described master network test frame becomes by null data set with the load of auxiliary network test frame; The bandwidth shared by VL of described transmission master network test frame and auxiliary network test frame is:
Bandwidth (M1, BAG)=[8 × (8+6+6+2+20+8+M1+1+4+12)/Q]/(BAG/1000)
Bandwidth (N1, BAG)=[8 × (8+6+6+2+20+8+N1+1+4+12)/Q]/(BAG/1000)
Bandwidth (M2, BAG)=[8 × (8+6+6+2+20+8+M2+1+4+12)/Q]/(BAG/1000)
Bandwidth (N2, BAG)=[8 × (8+6+6+2+20+8+N2+1+4+12)/Q]/(BAG/1000)
Wherein:
M1 or M2 is the byte number of the load of master network test frame;
N1 or N2 is the byte number of the load of auxiliary network test frame;
BAG is bandwidth allocation interval, unit ms;
The value of described N1 or N2 is as the criterion with the estimation of step 3;
Q is the byte number that AFDX switch can transmit in 1000ms under peak transfer rate condition;
The master network test frame of described first group and the BAG=1ms of auxiliary network test frame, M1=17, N1=115;
The master network test frame of described second group and the BAG=1ms of auxiliary network test frame, M1=1471, N1=129;
Step 3, the peak transfer rate of bandwidth sum AFDX switch calculated according to step 2, estimate respectively by following formula and often organize VL quantity P required when flowing full amount sends:
The bandwidth (M1, BAG) shared by VL of the peak transfer rate/master network test frame of P1=AFDX switch;
The bandwidth (M2, BAG) shared by VL of the peak transfer rate/master network test frame of P2=AFDX switch;
Step 4, construct first group of full data on flows with Q1 bar master network test frame and 1 auxiliary network test frame; Second group of full data on flows is constructed with Q2 bar master network test frame and 1 auxiliary network test frame;
The value of the quantity Q1 of described first group of master network test frame is P1 or (P1-1), and the value of Q1 and N1 take following formula as foundation:
The peak transfer rate of Q1 × bandwidth (M1, BAG)+(N1, BAG) ≈ AFDX switch;
The value of the quantity Q2 of described second group of master network test frame is P2 or (P2-1), and the value of Q2 and N2 take following formula as foundation:
The peak transfer rate of Q2 × bandwidth (M2, BAG)+(N2, BAG) ≈ AFDX switch;
The transmitting terminal of step 5, testing equipment expires data on flows by sending to the receiving terminal of testing equipment after any two ports of AFDX switch by constructed first group; Then data on flows is expired by sending to the receiving terminal of testing equipment after any two ports of AFDX switch by constructed second group;
Resolve respectively after the receiving terminal of step 6, testing equipment receives full data on flows;
According to analysis result, the receiving terminal of step 7, testing equipment judges whether the peak transfer rate between these any two ports meets the demands;
Step 8, repetition step 4, to step 7, travel through all any two ports of AFDX switch.
6. the method for testing of AFDX switch sending performance according to claim 5, is characterized in that:
Full data on flows in described step 5, reuses when traveling through all any two ports of AFDX switch.
7. the method for testing of the AFDX switch sending performance according to claim 5 or 6, is characterized in that: the parsing in described step 6 carrys out calculated flow rate by the markers of the receiving terminal reception last frame of testing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510931310.XA CN105376118B (en) | 2015-12-12 | 2015-12-12 | A kind of test method of AFDX interchangers sending performance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510931310.XA CN105376118B (en) | 2015-12-12 | 2015-12-12 | A kind of test method of AFDX interchangers sending performance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105376118A true CN105376118A (en) | 2016-03-02 |
CN105376118B CN105376118B (en) | 2018-08-21 |
Family
ID=55377945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510931310.XA Active CN105376118B (en) | 2015-12-12 | 2015-12-12 | A kind of test method of AFDX interchangers sending performance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105376118B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360056A (en) * | 2017-06-30 | 2017-11-17 | 中国航空无线电电子研究所 | AFDX performance test methods based on RFC2544 |
CN110086641A (en) * | 2018-01-25 | 2019-08-02 | 上海思晋智能科技有限公司 | The method of automation building high load AFDX network configuration |
CN113630292A (en) * | 2021-08-09 | 2021-11-09 | 深圳市厚石网络科技有限公司 | Testing tool for Ethernet port rate and duplex mode of switch |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2868567B1 (en) * | 2004-04-02 | 2008-03-14 | Airbus France Sas | SYSTEM FOR SIMULATION AND TESTING AT LEAST ONE EQUIPMENT ON AN AFDX NETWORK |
CN101834751B (en) * | 2010-03-19 | 2012-10-10 | 北京经纬恒润科技有限公司 | Aviation full-duplex exchange Ethernet monitoring processing system and method thereof |
CN104394029B (en) * | 2014-11-10 | 2017-10-20 | 中国电子科技集团公司第二十研究所 | A kind of total line detecting methods of AFDX based on hybrid channel |
CN104639395B (en) * | 2015-01-08 | 2017-11-03 | 中国航空无线电电子研究所 | A kind of simple AFDX interchangers simulation testing device and its method of testing |
-
2015
- 2015-12-12 CN CN201510931310.XA patent/CN105376118B/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360056A (en) * | 2017-06-30 | 2017-11-17 | 中国航空无线电电子研究所 | AFDX performance test methods based on RFC2544 |
CN110086641A (en) * | 2018-01-25 | 2019-08-02 | 上海思晋智能科技有限公司 | The method of automation building high load AFDX network configuration |
CN113630292A (en) * | 2021-08-09 | 2021-11-09 | 深圳市厚石网络科技有限公司 | Testing tool for Ethernet port rate and duplex mode of switch |
Also Published As
Publication number | Publication date |
---|---|
CN105376118B (en) | 2018-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101491260B1 (en) | ECU Multiple Diagnostic System and Method on Vehicle Network | |
CN102104549B (en) | Method and device for distributing dynamic bandwidth of passive optical network | |
CN104092628B (en) | A kind of flow allocation method and the network equipment | |
CN104756584A (en) | Device registration and sounding in time-division multiple access network | |
CN102970247B (en) | Effective communication time scheduling method of time-triggered network | |
CN101534249A (en) | Method for transmitting data on bound link and network equipment thereof | |
EP2600546A1 (en) | Method and Related Network Element Providing Delay Measurement in an Optical Transport Network | |
CN103684580B (en) | The method of Remote Radio Unit and reporting links fault thereof, wireless communication system | |
CN108011797B (en) | Ethernet communication system based on 1553B protocol | |
CN105376118A (en) | Test method for transmission performance of AFDX switch | |
CN102957626A (en) | Message forwarding method and device | |
CN104683266B (en) | Two-way bag transmission fault for serial communication shifts interchanger | |
US20110158093A1 (en) | Bandwidth control method and bandwidth control device in node device | |
CN107659456A (en) | A kind of data collision transmission method based on RS485 communications | |
KR102256153B1 (en) | Method for deterministic data transmission in a bus system, and bus system | |
CN106789437A (en) | The processing method of message, retransmission method, relevant apparatus and packet loss rate measurement method | |
CN104272662A (en) | Full-duplex ethernet communications over coaxial links using time-division duplexing | |
JP2016005022A (en) | Loop protective relay system | |
CN106899342A (en) | A kind of data encapsulation, transmission method and device | |
CN106464607B (en) | The storage medium of communication equipment, communication system, communication means and storage for the program of communication | |
CN101447975A (en) | Method for processing Ethernet physical layer OAM overhead and device thereof | |
CN106506273B (en) | Bandwidth measurement method, device and system | |
CN103825682A (en) | Efficient and rapid method for transmitting WTB multicast message data | |
CN101383753B (en) | Method for realizing VOQ scheduling in device cascade system | |
CN106506118A (en) | The method and system that USXGMII multichannels IPG is accurately compensated |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221010 Address after: Room S303, Innovation Building, No. 25, Gaoxin 1st Road, Xi'an, Shaanxi 710075 Patentee after: XI'AN XIANGTENG MICROELECTRONICS TECHNOLOGY Co.,Ltd. Address before: No. 15, Jinye Second Road, Xi'an, Shaanxi 710065 Patentee before: AVIC XI''AN AERONAUTICS COMPUTING TECHNIQUE RESEARCH INSTITUTE |