CN105376118B - A kind of test method of AFDX interchangers sending performance - Google Patents
A kind of test method of AFDX interchangers sending performance Download PDFInfo
- Publication number
- CN105376118B CN105376118B CN201510931310.XA CN201510931310A CN105376118B CN 105376118 B CN105376118 B CN 105376118B CN 201510931310 A CN201510931310 A CN 201510931310A CN 105376118 B CN105376118 B CN 105376118B
- Authority
- CN
- China
- Prior art keywords
- bag
- test frame
- bandwidth
- afdx
- network test
- 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.)
- Active
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 present invention provides a kind of test method of AFDX interchangers sending performance, sends VL by reasonably configuring, realizes the transmission of port flowing full amount, meets under limiting case the AFDX interchanger sending port functional test demands of (i.e. flowing full amount is sent).The test method can realize the test of fast and effectively 24 ports progress sending performance to AFDX interchangers, to ensure compliance with the requirement of agreement.
Description
Technical field
The invention belongs to computer application technologies, are related to a kind of test method of AFDX interchangers sending performance.
Background technology
AFDX networks are 100M full-duplex switched Ethernets, in order to ensure the normal communication of network, the maximum of port
Transmission rate needs to reach 100Mbit/s.
Under normal circumstances, when AFDX switch ports are by VL (virtual link) transmission data, the transmission data of configuration accounts for
Bandwidth is directly transmitted to target machine within 100,000,000 through AFDX interchangers, as long as target machine receives data and indicates
AFDX interchanger sending port functions are normal.But this method is not suitable under limiting case (i.e. flowing full amount is sent)
AFDX interchanger sending port functional tests.
Invention content
The purpose of the present invention:The present invention provides a kind of test method of AFDX interchangers sending performance, basic to solve
It tests to not stringent and abundant enough the technical problem of port communication, realizes the test of flowing full amount sending performance.
Technical solution of the invention is:
The test method of the first AFDX interchanger sending performance, includes the following steps:
Step 1 loads allocation list to AFDX interchangers;The transmission of AFDX interchangers all of the port defined in the allocation list
Virtual link VL and reception virtual link VL;
Step 2, transmitting terminal one master network test frame of definition of test equipment and an auxiliary network test frame;The major network
The load of network test frame and auxiliary network test frame by null data set at;It is calculated as follows for sending master network test frame and auxiliary
Bandwidth shared by the VL of 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 main network test frame;
The byte number of the load of network test frame supplemented by N;
BAG is bandwidth allocation interval, unit ms;
The value of the N is subject to the estimation of step 4;
Q is the byte number that AFDX interchangers can transmit under the conditions of peak transfer rate in 1000ms;
The peak transfer rate of step 3, the bandwidth and AFDX interchangers that are calculated according to step 2, estimates flowing full as the following formula
Amount required VL quantity P when sending:
Bandwidth (M, BAG) shared by the VL of the peak transfer rate of P=AFDX interchangers/master network test frame;
Step 4 constructs full data on flows with Q master network test frame and 1 auxiliary network test frame;
The value of the quantity Q of the master network test frame is P or (P-1), and the value following formula of Q and N is foundation:
The peak transfer rate of Q × bandwidth (M, BAG)+(N, BAG) ≈ AFDX interchangers;
The transmitting terminal any two end that the full data on flows constructed is passed through into AFDX interchangers of step 5, test equipment
The receiving terminal of test equipment is sent to after mouthful;
Step 6, test equipment receiving terminal receive full data on flows after parsed;
Step 7, test equipment receiving terminal the peak transfer rate between any two port is judged according to analysis result
Whether meet the requirements;
Step 8 repeats step 4 to step 7, traverses all any two ports of AFDX interchangers.
M preferentially takes 17 or 1471 in above-mentioned steps 2.
The test method of second of AFDX interchanger sending performance, includes the following steps:
Step 1 loads allocation list to AFDX interchangers;The transmission of AFDX interchangers all of the port defined in the allocation list
Virtual link VL and reception virtual link VL;
Step 2, test equipment transmitting terminal define two groups of different master network test frames and auxiliary network test frame;The master
The load of network test frame and auxiliary network test frame by null data set at;Send master network test frame and auxiliary network test frame
Bandwidth shared by VL 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 respectively the byte number of the load of first group and second group of master network test frame;
N1 or N2 is respectively the byte number of the load of first group and second group of auxiliary network test frame;
BAG is bandwidth allocation interval, unit ms;
The value of the N1 or N2 is subject to the estimation of step 4;
Q is the byte number that AFDX interchangers can transmit under the conditions of peak transfer rate in 1000ms;
The BAG=1ms, M1=17, N1=115 of described first group of master network test frame and auxiliary network test frame;
The BAG=1ms, M2=1471, N2=129 of described second group of master network test frame and auxiliary network test frame;
The peak transfer rate of step 3, the bandwidth and AFDX interchangers that are calculated according to step 2, is estimated respectively as the following formula
Every group of flowing full amount required VL quantity P when sending:
Shared by the VL of the master network test frame of peak transfer rate/the first group of P1=AFDX interchangers bandwidth (M1,
BAG);
Shared by the VL of the master network test frame of peak transfer rate/the second group of P2=AFDX interchangers bandwidth (M2,
BAG);
Step 4 constructs first group of full data on flows with Q1 master network test frame and 1 auxiliary network test frame;With Q2 items
Master network test frame and 1 auxiliary network test frame construct second group of full data on flows;
The value of the quantity Q1 of first group of master network test frame is P1 or (P1-1), and below the value of Q1 and N1
Formula is foundation:
The peak transfer rate of Q1 × bandwidth (M1, BAG)+(N1, BAG) ≈ AFDX interchangers;
The value of the quantity Q2 of second group of master network test frame is P2 or (P2-1), and below the value of Q2 and N2
Formula is foundation:
The peak transfer rate of Q2 × bandwidth (M2, BAG)+(N2, BAG) ≈ AFDX interchangers;
Step 5, test equipment transmitting terminal constructed first group of full data on flows is passed through into the arbitrary of AFDX interchangers
The receiving terminal of test equipment is sent to behind two ports;Then constructed second group of full data on flows is passed through into AFDX interchangers
Any two port after be sent to the receiving terminal of test equipment;
Step 6, test equipment receiving terminal receive full data on flows after parsed respectively;
Step 7, test equipment receiving terminal the peak transfer rate between any two port is judged according to analysis result
Whether meet the requirements;
Step 8 repeats step 4 to step 7, traverses all any two ports of AFDX interchangers.
Full data on flows in above two method in step 4, in all any two ports of traversal AFDX interchangers
When reuse.
Parsing in above two method in step 6 be by the receiving terminal of test equipment receive the markers of last frame come
Calculate flow.
The present invention has the advantage that effect:
1, the present invention provides a kind of test method of AFDX interchangers sending performance, and VL is sent by reasonably configuring, real
The transmission of existing port flowing full amount, meeting under limiting case the AFDX interchanger sending port functional tests of (i.e. flowing full amount is sent) needs
It asks.Test method in the invention can fully verify the sending performance of AFDX switch ports, solve current survey
Method for testing can not verify AFDX interchanger sending performances technical problem insufficient, that test process is complicated.
2, the present invention is individually or collectively tested using the network test frame (64 bytes and 1518 bytes) of two kinds of limiting lengths
AFDX interchanger sending performances, it is believed that the test of frame length within this range can meet test request.
Description of the drawings
Fig. 1 is AFDX interchangers sending performance test schematic diagram of the present invention.
Specific implementation mode
The test method of the first AFDX interchanger sending performance of the invention, steps are as follows:
Step 1, test equipment transmitting terminal define network test frame, and calculate and be used for sending shared by the VL of network test frame
Bandwidth;The frame length of network test frame is not less than 64 bytes, and is not more than 1518 bytes.
Step 2, according to the peak transfer rate of bandwidth and AFDX interchangers described in step 1, when calculating flowing full amount and sending
Required VL numbers;Flowing full amount peak transfer rate of the required VL numbers equal to AFDX interchangers divided by step when sending
1 bandwidth.
Step 3 constructs flowing full amount with the empty data frame of same frame length;
Step 4, test equipment transmitting terminal posttectonic full data on flows be sent to test by AFDX interchangers set
Standby receiving terminal;
Step 5, test equipment receiving terminal receive data after parsed, and pass through AFDX interchangers send feedback letter
Number give test equipment transmitting terminal;
Step 6, test equipment transmitting terminal identify whether to send successfully by the feedback signal received.
The embodiment of the test method of second of AFDX interchanger sending performance of the invention is as follows:
In order to test switch port with the wide transmission data of filled band, need to configure the VL of interchanger.Define bandwidth
(M, BAG)=[8 × (8+6+6+2+20+8+M+1+4+12)/1000000]/(BAG/1000), wherein M represent AFDX data minus
It carries.By taking most short 64 byte of frame length (M=17) as an example, using BAG=1ms, therefore the bandwidth that every VL is occupied is 0.672Mbit/
s。
If the wide transmission of filled band, 100/0.672=148.8095 different VL of definition is needed to be filled.Similarly,
For 1518 byte of longest frame, 8.12 VL is needed to be filled.
Specific testing process is as follows:
Step 1:Configuration data frame
A. AFDX interchanger any twos port A, B are defined, is 64bytes with frame length from the ports A to the ports B, BAG is
1ms configures 147 VL;From the ports A to the ports B with frame length it is 132bytes, BAG configures 1 VL for 1ms;
B. it is 1518bytes with frame length from the ports A to the ports B, BAG configures 8 VL for 1ms;From the ports A to the ports B
With frame length it is 176bytes, BAG configures 1 VL for 1ms;
Step 2:Calculate flow
The frame that A configurations are completed is sent to the ports B from the ports A;The markers for the frame that analysis port B is received, and calculate
Flow;
The frame that B configurations are completed is sent to the ports B from the ports A;The markers for the frame that analysis port B is received, and calculate
Flow;
Step 3:Step 1 to 2 is repeated between AFDX interchanger all of the port;
Step 4:Confirm that the data of all transmissions are received, and calculated flow must be close to 100Mbps.
In design process, the port for configuring interchanger is sent with linear speed, another port receives.
Claims (7)
1. a kind of test method of AFDX interchangers sending performance, it is characterised in that:Include the following steps:
Step 1 loads allocation list to AFDX interchangers;The transmission of AFDX interchangers all of the port defined in the allocation list is virtual
Link VL and reception virtual link VL;
Step 2, transmitting terminal one master network test frame of definition of test equipment and an auxiliary network test frame;The master network is surveyed
Try the load of frame and auxiliary network test frame by null data set at;It is calculated as follows for sending master network test frame and auxiliary network
Bandwidth shared by the VL of 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 main network test frame;
The byte number of the load of network test frame supplemented by N;
BAG is bandwidth allocation interval, unit ms;
The value of the N is subject to the estimation of step 4;
Q is the byte number that AFDX interchangers can transmit under the conditions of peak transfer rate in 1000ms;
The peak transfer rate of step 3, the bandwidth and AFDX interchangers that are calculated according to step 2 estimates flowing full amount hair as the following formula
Required VL quantity P when sending:
Bandwidth (M, BAG) shared by the VL of the peak transfer rate of P=AFDX interchangers/master network test frame;
Step 4 constructs full data on flows with Q master network test frame and 1 auxiliary network test frame;
The value of the quantity Q of the master network test frame is P or (P-1), and the value following formula of Q and N is foundation:
The peak transfer rate of Q × bandwidth (M, BAG)+(N, BAG) ≈ AFDX interchangers;
Step 5, test equipment transmitting terminal the full data on flows constructed is passed through into AFDX interchangers any two port after
It is sent to the receiving terminal of test equipment;
Step 6, test equipment receiving terminal receive full data on flows after parsed;
Step 7, test equipment receiving terminal whether the peak transfer rate between any two port is judged according to analysis result
It meets the requirements;
Step 8 repeats step 4 to step 7, traverses all any two ports of AFDX interchangers.
2. the test method of AFDX interchangers sending performance according to claim 1, it is characterised in that:
Full data on flows in the step 4 is reused when traversing all any two ports of AFDX interchangers.
3. the test method of AFDX interchangers sending performance according to claim 1 or 2, it is characterised in that:The step 6
In parsing be that the markers of last frame is received by the receiving terminal of test equipment to calculate flow.
4. the test method of AFDX interchangers sending performance according to claim 3, it is characterised in that:
M takes 17 or 1471 in the step 2.
5. a kind of test method of AFDX interchangers sending performance, it is characterised in that:Include the following steps:
Step 1 loads allocation list to AFDX interchangers;The transmission of AFDX interchangers all of the port defined in the allocation list is virtual
Link VL and reception virtual link VL;
Step 2, test equipment transmitting terminal define two groups of different master network test frames and auxiliary network test frame;The master network
The load of test frame and auxiliary network test frame by null data set at;Send the VL institutes of master network test frame and auxiliary network test frame
The bandwidth accounted for 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 respectively the byte number of the load of first group and second group of master network test frame;
N1 or N2 is respectively the byte number of the load of first group and second group of auxiliary network test frame;
BAG is bandwidth allocation interval, unit ms;
The value of the N1 or N2 is subject to the estimation of step 4;
Q is the byte number that AFDX interchangers can transmit under the conditions of peak transfer rate in 1000ms;
The BAG=1ms, M1=17, N1=115 of described first group of master network test frame and auxiliary network test frame;
The BAG=1ms, M2=1471, N2=129 of described second group of master network test frame and auxiliary network test frame;
The peak transfer rate of step 3, the bandwidth and AFDX interchangers that are calculated according to step 2, estimates every group respectively as the following formula
Flowing full amount required VL quantity P when sending:
Bandwidth (M1, BAG) shared by the VL of the master network test frame of peak transfer rate/the first group of P1=AFDX interchangers;
Bandwidth (M2, BAG) shared by the VL of the master network test frame of peak transfer rate/the second group of P2=AFDX interchangers;
Step 4 constructs first group of full data on flows with Q1 master network test frame and 1 auxiliary network test frame;With Q2 major network
Network test frame and 1 auxiliary network test frame construct second group of full data on flows;
The value of the quantity Q1 of first group of master network test frame is P1 or (P1-1), and the value following formula of Q1 and N1 is
Foundation:
The peak transfer rate of Q1 × bandwidth (M1, BAG)+(N1, BAG) ≈ AFDX interchangers;
The value of the quantity Q2 of second group of master network test frame is P2 or (P2-1), and the value following formula of Q2 and N2 is
Foundation:
The peak transfer rate of Q2 × bandwidth (M2, BAG)+(N2, BAG) ≈ AFDX interchangers;
Step 5, test equipment transmitting terminal by constructed the first group of full any two of data on flows by AFDX interchangers
The receiving terminal of test equipment is sent to behind port;Then by constructed second group of full data on flows appointing by AFDX interchangers
The receiving terminal of test equipment is sent to behind two ports of meaning;
Step 6, test equipment receiving terminal receive full data on flows after parsed respectively;
Step 7, test equipment receiving terminal whether the peak transfer rate between any two port is judged according to analysis result
It meets the requirements;
Step 8 repeats step 4 to step 7, traverses all any two ports of AFDX interchangers.
6. the test method of AFDX interchangers sending performance according to claim 5, it is characterised in that:
Full data on flows in the step 4 is reused when traversing all any two ports of AFDX interchangers.
7. the test method of AFDX interchangers sending performance according to claim 5 or 6, it is characterised in that:The step 6
In parsing be that the markers of last frame is received by the receiving terminal of test equipment to calculate flow.
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 CN105376118A (en) | 2016-03-02 |
CN105376118B true 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) |
Families Citing this family (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 |
CN113630292B (en) * | 2021-08-09 | 2022-09-09 | 深圳市厚石网络科技有限公司 | Testing tool for Ethernet port rate and duplex mode of switch |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1583289A2 (en) * | 2004-04-02 | 2005-10-05 | Airbus France | Equipment test and simulation system in an AFDX network |
CN101834751A (en) * | 2010-03-19 | 2010-09-15 | 北京经纬恒润科技有限公司 | Aviation full-duplex exchange Ethernet monitoring processing system and method thereof |
CN104394029A (en) * | 2014-11-10 | 2015-03-04 | 中国电子科技集团公司第二十研究所 | An AFDX bus detecting method based on a hybrid channel |
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 |
-
2015
- 2015-12-12 CN CN201510931310.XA patent/CN105376118B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1583289A2 (en) * | 2004-04-02 | 2005-10-05 | Airbus France | Equipment test and simulation system in an AFDX network |
CN101834751A (en) * | 2010-03-19 | 2010-09-15 | 北京经纬恒润科技有限公司 | Aviation full-duplex exchange Ethernet monitoring processing system and method thereof |
CN104394029A (en) * | 2014-11-10 | 2015-03-04 | 中国电子科技集团公司第二十研究所 | An AFDX bus detecting method based on a hybrid channel |
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 |
Non-Patent Citations (3)
Title |
---|
《AFDX交换机测试分析系统设计》;吴海荣 等;《飞机设计》;20140630;第34卷(第3期);第59-62、72页 * |
《AFDX网络传输性能分析》;陈涛;《计算机测量与控制》;20150531;第23卷(第5期);第1740-1742、1746页 * |
《一种高性能AFDX监控卡的实现技术研究》;王治 等;《计算机技术与发展》;20100831(第8期);第217-220页 * |
Also Published As
Publication number | Publication date |
---|---|
CN105376118A (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101491260B1 (en) | ECU Multiple Diagnostic System and Method on Vehicle Network | |
CN104184617B (en) | InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment | |
CN107342851A (en) | A kind of configuration for repeating transmission and repetitive transmission method and device | |
CN102291745A (en) | Method and device for testing multiple access points (AP) | |
CN103078770A (en) | Method for testing stability of switch | |
CN105376118B (en) | A kind of test method of AFDX interchangers sending performance | |
CN103475542A (en) | Network equipment handling capacity performance testing system and method | |
CN106302017B (en) | The small capaciated flow network velocity-measuring system of high concurrent and method | |
CN103532785B (en) | Full load test method for Ethernet switch | |
CN106603550A (en) | Network isolation method and network isolation device | |
CN107360056A (en) | AFDX performance test methods based on RFC2544 | |
CN104426758A (en) | Transmission control system, device and method | |
CN105634865A (en) | Method and system for obtaining bandwidth | |
CN104486167A (en) | Concurrence network performance and network trending direction testing method based on MESH network | |
CN102984035A (en) | Loopback test method and system of packet loss probability of network data | |
CN106850279A (en) | A kind of network collocating method based on distributed avionics system | |
CN110972191A (en) | Data transmission method, data transmission device, and data transmission system | |
CN103023716A (en) | System and method for monitoring network quality with zero traffic consumption | |
CN207588888U (en) | A kind of test device and mainboard | |
CN102984082A (en) | Network service quality control method and device | |
CN105610646B (en) | Test method, apparatus and system based on distributed virtual network device | |
CN110213170A (en) | A kind of method and device of message transmissions | |
CN102845042A (en) | System and method for aggregating bandwidth of multiple active physical interfaces on application layer | |
CN106464607B (en) | The storage medium of communication equipment, communication system, communication means and storage for the program of communication | |
CN105530205A (en) | Device and method for microwave equipment aggregation |
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 |