CN103997433B - A kind of packet loss rate measurement method, measuring apparatus and measuring system - Google Patents

A kind of packet loss rate measurement method, measuring apparatus and measuring system Download PDF

Info

Publication number
CN103997433B
CN103997433B CN201410209066.1A CN201410209066A CN103997433B CN 103997433 B CN103997433 B CN 103997433B CN 201410209066 A CN201410209066 A CN 201410209066A CN 103997433 B CN103997433 B CN 103997433B
Authority
CN
China
Prior art keywords
receiving device
port
data volume
link
sending ending
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
Application number
CN201410209066.1A
Other languages
Chinese (zh)
Other versions
CN103997433A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201410209066.1A priority Critical patent/CN103997433B/en
Publication of CN103997433A publication Critical patent/CN103997433A/en
Application granted granted Critical
Publication of CN103997433B publication Critical patent/CN103997433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of packet loss rate measurement method, measuring apparatus and measuring system, to realize that the packet loss of Large Copacity link is measured, loss packet test is realized on various devices, improve capacity of equipment, the cost of reduction link measurement.The packet loss rate measurement method includes:Sending ending equipment by sending ending equipment port after the data volume amplification for the measurement data bag that sending ending equipment internal data link is sent to being sent to receiving device;Receiving device is sent to receiving device internal data link after the data volume of the measurement data bag received by receiving device port is reduced, and the data volume of the measurement data bag of the actual reception of the internal data link is fed back into sending ending equipment;Sending ending equipment determines the packet loss of link according to the data volume of the data volume of the measurement data bag of the actual reception of receiving device internal data link, and the theoretical measurement data bag received.

Description

A kind of packet loss rate measurement method, measuring apparatus and measuring system
Technical field
The present invention relates to communication technical field, more particularly to a kind of packet loss rate measurement method, measuring apparatus and measuring system.
Background technology
Lifting with society to the big bandwidth requirement of communication equipment, the uplink port rate requirement for being currently accessed layer equipment is carried 10GE is raised to, increasing manufacturer possesses device upgrade to uplink port 10GE ability, but is due to cost and technology Limitation, although uplink port possesses 10GE handling capacity, but can not carry out the link packet drop rate measurement of 10GE ports.If will Using possessing the chip that 10GE links are measured, the cost of equipment can be impacted, while needing to enter the equipment used Row is changed, and these equipment many have been provided with the ability to 10GE port upgrades, though equipment is changed now, and Possesses the ability of link measurement, it is also desirable to the more Large Copacity bandwidth that future requires is accounted for, it is seen then that by using possessing chain The chip of drive test amount can not fundamentally solve the measurement of link packet drop rate.
As shown in figure 1, equipment 10 is the schematic diagram of a kind of conventional at present communication equipment and board, wherein, center processing Device 11 (Central Processing Unit, CPU) is responsible for software logic, completes that packet chip (SW) 12 and scene can be compiled The control of journey gate array chip 13 (Field-Programmable-Gate-Array, FPGA), wherein, packet chip SW12 and There is GE/FE data channel 14 between FPGA13, wherein, GE/FE is the interface of network interface card, and GE is gigabit mouthful, and FE is 100,000,000 mouthfuls, When entering line link measurement, either FPGA or CPU, in the Large Volume Data bag that processing is exported by Large Copacity port 15, Packet loss phenomenon occurs in receiving port in itself, cause packet loss number on actual link can not accurate statistics, therefore can not be accurate Really measure the packet loss of outgoing link.Here Large Copacity port refers to the uplink port at least 10GE capacity being connected with network.Such as Shown in Fig. 2, equipment 20 is the schematic diagram of conventional at present another communication equipment and board, wherein, CPU21 is responsible for software and patrolled Volume, the control to being grouped chip 22 is completed, equipment 20 exports Large Volume Data bag by Large Copacity port 23, and the equipment is in chain drive test During amount, the packet loss of link can not be equally accurately measured.
In summary, the communication equipment of prior art can not accurately measure the packet loss of Large Copacity link, and this is test One constraint of measurement.
The content of the invention
The embodiments of the invention provide a kind of packet loss rate measurement method, measuring apparatus and measuring system, to realize great Rong Measure link packet loss measurement, loss packet test is realized on various devices, improve capacity of equipment, reduction link measurement into This.
A kind of packet loss rate measurement method provided according to embodiments of the present invention, methods described includes:
When the internal data link capacity for testing sending ending equipment is less than the sending ending equipment port capacity,
The sending ending equipment is to the number of the measurement data bag sent by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after amplifying according to amount;
The sending ending equipment receives the measurement number of the actual reception in receiving device port of the receiving device feedback According to the data volume of bag;
The sending ending equipment according to the data volume of the measurement data bag of the actual reception in the receiving device port, and The data volume for the measurement data bag that theory is received, determines the packet loss of link.
By a kind of packet loss rate measurement method provided in an embodiment of the present invention, because this method includes:Sending ending equipment is to warp Set after the data volume amplification for the measurement data bag crossed the sending ending equipment internal data link and sent by the transmitting terminal Standby port is sent to receiving device;And receive the measurement number that the receiving device port of receiving device feedback is an actually-received According to the data volume of bag;According to the data volume of the measurement data bag of the actual reception in receiving device port, and the theoretical survey received The data volume of packet is measured, the packet loss of link is determined, so, because sending ending equipment is to the measurement data bag that needs to send Data volume is exaggerated, and the measurement range requirement that chip is measured for sending ending equipment inner link is just reduced, in reality Link packet drop rate measurement accurately can be carried out to Large Copacity port in detection, loss packet test is realized on various devices, Improve capacity of equipment, the cost of reduction link measurement.
It is preferred that the capacity after the data volume amplification of the measurement data bag is not more than the appearance of the sending ending equipment port Amount.
So, the capacity after the data volume amplification of measurement data bag is not more than the capacity of the sending ending equipment port, The test accuracy of sending ending equipment port links packet loss can be further improved in actual test.
It is preferred that the sending ending equipment will need the measurement data of transmission by the multicast group comprising X virtual port The data volume of bag amplifies X times, and the X virtual port is directed to the sending ending equipment port, and X is the integer more than or equal to 1.
So, sending ending equipment will need the number of the measurement data bag of transmission by the multicast group comprising X virtual port It is more convenient, easy in actual design according to X times of amount amplification, and be not required to increase hardware cost, it is possible to increase sending ending equipment Ability.
It is preferred that methods described also includes:
The sending ending equipment sends test protocol signaling to the receiving device;
The sending ending equipment receives the receiving device and is directed to the response message that the test protocol signaling is returned, its Include the data volume of the measurement data bag of the actual reception in the receiving device port.
So, in actual Large Copacity link packet drop rate measurement, simple Signalling exchange transmission test information, energy are passed through Enough packet loss that is more convenient, accurately measuring link.
A kind of packet loss rate measurement method provided according to embodiments of the present invention, methods described includes:
When the internal data link capacity for testing receiving device is less than the receiving device port capacity,
The receiving device carries out the data volume of the measurement data bag received by the receiving device port Receiving device internal data link is sent to after diminution;
The receiving device is by the data of the measurement data bag of the actual reception of the receiving device internal data link Amount feeds back to sending ending equipment.
By a kind of packet loss rate measurement method provided in an embodiment of the present invention, this method includes:Receiving device will pass through institute State the measurement data bag that receiving device port is received data volume reduced after be sent to receiving device internal data Link;The data volume feedback for the measurement data bag that the receiving device internal data link is an actually-received by receiving device To sending ending equipment, receiving device is handled by the data volume diminution received to port measures chip to meet inner link Measurement range requirement so that for Large Copacity port device carry out packet loss test when for receiving device internal chain drive test Measure chip requirement reduction, loss packet test is realized on various devices, improve capacity of equipment, reduction link measurement into This.
It is preferred that the data volume of the measurement data bag is sent to the measurement of receiving device internal data link after reducing The data volume of packet is not more than the receiving device internal data link capacity.
So, the data volume of measurement data bag is sent to the measurement data bag of receiving device internal data link after reducing Data volume be not more than the receiving device internal data link capacity, transmitting terminal can be further improved in actual test The test accuracy of device port link packet drop rate.
It is preferred that the receiving device by the aggregation group comprising Y port to passing through the receiving device port The data volume of the measurement data bag received reduces a port in Y times, the Y port and pointed in the receiving device Portion's data link, the data volume that wherein this Y port is shared is identical;
Or, the receiving device is by comprising being preset with the aggregation group that different pieces of information amount shares multiple ports of ratio The data volume of measurement data bag to being received by the receiving device port reduces, and by the multiple port The receiving device internal data link is pointed into the port that the data volume reduces Y times, Y is the integer more than or equal to 1.
So, receiving device by aggregation group to the data of the measurement data bag received by receiving device port Amount is reduced, and the data volume that only will be suitable for inner link measurement chip measurement range sends to inner link and measured, and And do not increase hardware cost, it is more convenient, easy in actual design, and the ability of receiving device can be improved.
It is preferred that methods described also includes the test protocol signaling that receiving device receiving end/sending end equipment is sent, and root Response message is returned to the sending ending equipment according to the test protocol signaling, including the receiving device internal data chain The data volume of the measurement data bag of the actual reception in road.
So, the test protocol signaling that receiving device receiving end/sending end equipment is sent, and according to the test protocol signaling Response message is returned to the sending ending equipment, from there through simple Signalling exchange transmission test information, in actual great Rong Measure in link packet drop rate measurement, can be more convenient, accurately measure the packet loss of link.
A kind of packet loss rate measurement method provided according to embodiments of the present invention, methods described includes:
When test sending ending equipment internal data link capacity be less than the sending ending equipment port capacity, and when survey When the internal data link capacity for trying receiving device is less than the receiving device port capacity,
The sending ending equipment is to the number of the measurement data bag sent by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after amplifying according to amount;
The receiving device carries out the data volume of the measurement data bag received by the receiving device port It is sent to receiving device internal data link after diminution, and by the number of the measurement data bag of the actual reception of the internal data link The sending ending equipment is fed back to according to amount;
The sending ending equipment is according to the number of the measurement data bag of the actual reception of the receiving device internal data link According to the data volume of amount, and the theoretical measurement data bag received, the packet loss of link is determined.
By a kind of packet loss rate measurement method provided in an embodiment of the present invention, this method includes:When test sending ending equipment Internal data link capacity is less than the sending ending equipment port capacity, and when the internal data link of test receiving device When capacity is less than the receiving device port capacity, sending ending equipment is to by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after the data volume amplification of the measurement data bag of transmission, receiving terminal is set Set for receiving terminal is sent to after the data volume of the measurement data bag received by the receiving device port is reduced Standby internal data link, and the data volume for the measurement data bag that the internal data link is an actually-received feeds back to the transmission End equipment, sending ending equipment according to the data volume of the measurement data bag of the actual reception of the receiving device internal data link, And the data volume of the theoretical measurement data bag received, the packet loss of link is determined, sending ending equipment passes through for measurement data The data volume of bag is sent to test link from port again after being amplified, and can cause the data of the test data bag of actual generation Amount is smaller and the measurement range requirement that chip is measured for sending ending equipment inner link is reduced with this, and receiving device passes through The data volume diminution received to port handles to meet the measurement range requirement of inner link measurement chip so that for great Rong Measure when port device carries out packet loss test and dropped for the requirement that sending ending equipment and receiving device inner link measure chip It is low, so that loss packet test can be realized on various devices, improve capacity of equipment, the cost of reduction link measurement.
It is preferred that the capacity after the data volume amplification of the measurement data bag is not more than the appearance of the sending ending equipment port Amount.
So, the capacity after the data volume amplification of measurement data bag is not more than the capacity of the sending ending equipment port, The test accuracy of sending ending equipment port links packet loss can be further improved in actual test.
It is preferred that the sending ending equipment will need the measurement data of transmission by the multicast group comprising X virtual port The data volume of bag amplifies X times, and the X virtual port is directed to the sending ending equipment port, and X is the integer more than or equal to 1.
So, sending ending equipment will need the number of the measurement data bag of transmission by the multicast group comprising X virtual port It is more convenient, easy in actual design according to X times of amount amplification, and be not required to increase hardware cost, it is possible to increase sending ending equipment Ability.
It is preferred that the data volume of the measurement data bag is sent to the measurement of receiving device internal data link after reducing The data volume of packet is not more than the receiving device internal data link capacity.
So, the data volume of measurement data bag is sent to the measurement data bag of receiving device internal data link after reducing Data volume be not more than the receiving device internal data link capacity, transmitting terminal can be further improved in actual test The test accuracy of device port link packet drop rate.
It is preferred that the receiving device by the aggregation group comprising Y port to passing through the receiving device port The data volume of the measurement data bag received reduces a port in Y times, the Y port and pointed in the receiving device Portion's data link, the data volume that wherein this Y port is shared is identical;
Or, the receiving device is by comprising being preset with the aggregation group that different pieces of information amount shares multiple ports of ratio The data volume of measurement data bag to being received by the receiving device port reduces, and by the multiple port The receiving device internal data link is pointed into the port that the data volume reduces Y times, Y is the integer more than or equal to 1.
So, receiving device by aggregation group to the data of the measurement data bag received by receiving device port Amount is reduced, and the data volume that only will be suitable for inner link measurement chip measurement range sends to inner link and measured, and And do not increase hardware cost, it is more convenient, easy in actual design, and the ability of receiving device can be improved.
It is preferred that the packet loss of the link is 1-B*Y/X*A, wherein, A sends for sending ending equipment internal data link Measurement data bag data volume, B for the actual reception of receiving device internal data link measurement data bag data volume, X, Y, A, B are positive number.
So, in actual Large Copacity link packet drop rate measurement, it can be more convenient, simply measure the packet loss of link Rate.
It is preferred that the X is more than or equal to the Y.
So, X value is set greater than or the value equal to Y, more meets actual link measurement scene.
It is preferred that the X is the integral multiple of the Y.
So, when X is Y integral multiple, it can be good at reducing measurement error.
It is preferred that methods described also includes:
The sending ending equipment sends test protocol signaling to the receiving device;
The receiving device receives the test protocol signaling, and is set according to the test protocol signaling to the transmitting terminal It is standby to return to response message, including the data of the measurement data bag of the actual reception of the receiving device internal data link Amount.
So, in actual Large Copacity link packet drop rate measurement, from there through simple Signalling exchange transmission test letter Breath, can be more convenient, accurately measure the packet loss of link.
A kind of packet loss rate measurement equipment provided according to embodiments of the present invention, the equipment includes:Transmit-Receive Unit, first are patrolled Processing unit and amplifying unit are collected, wherein,
Transmit-Receive Unit is used for:The measurement data bag from amplifying unit is sent into receiving terminal by the device port to set It is standby;Receive the data volume of the measurement data bag of the actual reception in receiving device port of the receiving device feedback;
First Logical processing unit is used for:The measurement data bag sent will be needed to be sent by the device interior data link To amplifying unit;According to the data volume of the measurement data bag of the actual reception in the receiving device port, and theoretical receive The data volume of measurement data bag, determines the packet loss of link;
Amplifying unit is used for:To after the amplification of the data volume of the measurement data bag from the first Logical processing unit by transmitting-receiving Unit is sent to receiving device.
By a kind of packet loss rate measurement equipment provided in an embodiment of the present invention, the measuring apparatus is patrolled including Transmit-Receive Unit, first Processing unit and amplifying unit are collected, the data volume of the measurement data bag due to amplifying unit to needing to send is exaggerated, just The measurement range requirement that chip is measured for the device interior link is reduced, can be accurately to Large Copacity end in actually detected Mouth carries out link packet drop rate measurement, loss packet test is realized on various devices, improves capacity of equipment, reduction link measurement Cost.
It is preferred that the capacity after the data volume of the measurement data bag is amplified by amplifying unit is not more than the equipment end The capacity of mouth.
So, the capacity after the data volume of measurement data bag is amplified by amplifying unit is not more than the appearance of the device port Amount, can further improve the test accuracy of the device port link packet drop rate in actual test.
It is preferred that the amplifying unit will need the measurement data bag of transmission by the multicast group comprising X virtual port Data volume amplify X times, the X virtual port is directed to the device port, and X is the integer more than or equal to 1.
So, amplifying unit will need the data of the measurement data bag of transmission by the multicast group comprising X virtual port X times of amount amplification, it is more convenient, easy in actual design, and be not required to increase hardware cost, it is possible to increase the ability of the equipment.
It is preferred that the Transmit-Receive Unit is additionally operable to:Test protocol signaling from the first Logical processing unit is sent to Receiving device;Receive the receiving device and be directed to the response message that the test protocol signaling is returned, including described The data volume of the measurement data bag of the actual reception in receiving device port;
First Logical processing unit is additionally operable to:Test protocol signaling is sent to Transmit-Receive Unit.
So, in actual Large Copacity link packet drop rate measurement, simple Signalling exchange transmission test information, energy are passed through Enough packet loss that is more convenient, accurately measuring link.
A kind of packet loss rate measurement equipment provided according to embodiments of the present invention, the equipment includes:Transmit-Receive Unit, diminution are single Member and the second Logical processing unit, wherein,
Transmit-Receive Unit is used for:The measurement data bag sent by the device port receiving end/sending end equipment;
Reducing unit is used for:The data volume of measurement data bag to being received by the device port carries out diminution processing;
Second Logical processing unit is used for:Determine that reducing unit carries out diminution processing to the data volume of the measurement data bag The data volume of the measurement data bag of the device interior data link is sent to afterwards;It is determined that needing what is fed back to the sending ending equipment The data volume of the measurement data bag of the actual reception of the device interior data link.
By a kind of packet loss rate measurement equipment provided in an embodiment of the present invention, the measuring apparatus is patrolled including Transmit-Receive Unit, second Volume processing unit and reducing unit, internal chain is met because reducing unit is handled by the data volume diminution received to port The measurement range requirement of drive test amount chip so that for the device interior during for the progress packet loss test of Large Copacity port device The requirement reduction of link measurement chip, enables loss packet test to realize on various devices, improves capacity of equipment, reduce chain drive test The cost of amount.
It is preferred that the data volume of the measurement data bag is sent to the device interior Data-Link after being reduced by reducing unit The data volume of the measurement data bag on road is not more than the device interior data link capacity.
So, the data volume of measurement data bag is sent to the survey of the device interior data link after being reduced by reducing unit The data volume of amount packet is not more than the device interior data link capacity, and transmission can be further improved in actual test The test accuracy of end equipment port links packet loss.
It is preferred that the reducing unit by the aggregation group comprising Y port to being received by the described device port The data volume of measurement data bag reduce Y times, a port in the Y port points to the device interior data link, its In the data volume shared of this Y port it is identical;
Or, the reducing unit is by comprising being preset with the aggregation group pair that different pieces of information amount shares multiple ports of ratio The data volume of the measurement data bag received by the device port reduces, and by the multiple port by the data The device interior data link is pointed in the port that amount reduces Y times, and Y is the integer more than or equal to 1.
So, the data volume of measurement data bag of the equipment by aggregation group to being received by the device port contracts Small, the data volume that only will be suitable for inner link measurement chip measurement range sends to inner link and measured, and does not increase Hardware cost, it is more convenient, easy in actual design, and the ability for connecing the equipment can be improved.
It is preferred that the Transmit-Receive Unit is additionally operable to the test protocol signaling of receiving end/sending end equipment transmission;Described second patrols Processing unit is collected to be additionally operable to:The response message for needing to return to the sending ending equipment is determined according to the test protocol signaling, Including the data volume of the measurement data bag of the actual reception of the device interior data link.
So, Transmit-Receive Unit is additionally operable to the test protocol signaling of receiving end/sending end equipment transmission;Second Logical processing unit It is additionally operable to be determined to need the response message to sending ending equipment return according to the test protocol signaling, from there through simple Signalling exchange transmission test information, in actual Large Copacity link packet drop rate measurement, can be more convenient, accurately measure chain The packet loss on road.
By a kind of packet loss rate measurement system provided in an embodiment of the present invention, the system includes sending ending equipment and receiving terminal Equipment, wherein:
When test sending ending equipment internal data link capacity be less than the sending ending equipment port capacity, and when survey When the internal data link capacity for trying receiving device is less than the receiving device port capacity,
The sending ending equipment is used for:The measurement data bag sent to the process sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after data volume amplification;According to the receiving device internal data The data volume of the measurement data bag of the actual reception of link, and the theoretical measurement data bag received data volume, determine link Packet loss;
The receiving device is used for:By the data volume of the measurement data bag received by the receiving device port It is sent to receiving device internal data link after being reduced, and by the measurement data bag of the actual reception of the internal data link Data volume feed back to the sending ending equipment.
By a kind of packet loss rate measurement system provided in an embodiment of the present invention, the system includes sending ending equipment and receiving terminal is set Standby, sending ending equipment is sent to test link from port again after being amplified by the data volume for measurement data bag, can be with So that the data volume of the actual test data bag produced is smaller and is reduced with this and measures chip for sending ending equipment inner link Measurement range requirement, and receiving device is handled by the data volume diminution that is received to port and measured to meet inner link The measurement range requirement of chip so that for sending ending equipment and reception during for the progress packet loss test of Large Copacity port device The requirement reduction of end equipment inner link measurement chip, so that loss packet test can be realized on various devices, improves equipment Ability, the cost of reduction link measurement.
It is preferred that the capacity after the data volume amplification of the measurement data bag is not more than the appearance of the sending ending equipment port Amount.
So, the capacity after the data volume amplification of measurement data bag is not more than the capacity of the sending ending equipment port, The test accuracy of sending ending equipment port links packet loss can be further improved in actual test.
It is preferred that the sending ending equipment specifically for:It will need what is sent by the multicast group comprising X virtual port The data volume of measurement data bag amplifies X times, and the X virtual port is directed to the sending ending equipment port, X for more than or equal to 1 integer.
So, sending ending equipment will need the number of the measurement data bag of transmission by the multicast group comprising X virtual port It is more convenient, easy in actual design according to X times of amount amplification, and be not required to increase hardware cost, it is possible to increase sending ending equipment Ability.
It is preferred that the data volume of the measurement data bag is sent to the measurement of receiving device internal data link after reducing The data volume of packet is not more than the receiving device internal data link capacity.
So, the data volume of measurement data bag is sent to the measurement data bag of receiving device internal data link after reducing Data volume be not more than the receiving device internal data link capacity, transmitting terminal can be further improved in actual test The test accuracy of device port link packet drop rate.
It is preferred that the receiving device specifically for:By the aggregation group comprising Y port to passing through the receiving terminal The a port that the data volume for the measurement data bag that device port is received is reduced in Y times, the Y port points to described receive End equipment internal data link, the data volume that wherein this Y port is shared is identical;
Or, the receiving device is by comprising being preset with the aggregation group that different pieces of information amount shares multiple ports of ratio The data volume of measurement data bag to being received by the receiving device port reduces, and by the multiple port The receiving device internal data link is pointed into the port that the data volume reduces Y times, Y is the integer more than or equal to 1.
So, receiving device by aggregation group to the data of the measurement data bag received by receiving device port Amount is reduced, and the data volume that only will be suitable for inner link measurement chip measurement range sends to inner link and measured, and And do not increase hardware cost, it is more convenient, easy in actual design, and the ability of receiving device can be improved.
It is preferred that the packet loss of the link is 1-B*Y/X*A, wherein, A sends for sending ending equipment internal data link Measurement data bag data volume, B for the actual reception of receiving device internal data link measurement data bag data volume, X, Y, A, B are positive number.
So, it can facilitate in actually detected, accurately measure packet loss.
It is preferred that the X is more than or equal to the Y.
So, X value is set greater than or the value equal to Y, more meets actual link measurement scene.
It is preferred that the X is the integral multiple of the Y.
So, when X is Y integral multiple, it can be good at reducing measurement error.
It is preferred that the sending ending equipment is additionally operable to send test protocol signaling to the receiving device;It is described to receive End equipment is additionally operable to receive the test protocol signaling, and returns to response to the sending ending equipment according to the test protocol signaling Message, including the data volume of the measurement data bag of the actual reception of the receiving device internal data link.
So, in actual Large Copacity link packet drop rate measurement, from there through simple Signalling exchange transmission test letter Breath, can be more convenient, accurately measure the packet loss of link.
Brief description of the drawings
Fig. 1 is a kind of communication equipment and board structure schematic diagram in the prior art;
Fig. 2 is another communication equipment and board structure schematic diagram in the prior art;
Fig. 3 is a kind of packet loss rate measurement method flow diagram provided in an embodiment of the present invention;
Fig. 4 is another packet loss rate measurement method flow diagram provided in an embodiment of the present invention;
Fig. 5 is the third packet loss rate measurement method flow diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of link packet drop rate measuring principle figure provided in an embodiment of the present invention;
Fig. 7 is a kind of packet loss rate measurement equipment schematic diagram provided in an embodiment of the present invention;
Fig. 8 is another packet loss rate measurement equipment schematic diagram provided in an embodiment of the present invention;
Fig. 9 is a kind of packet loss rate measurement system schematic provided in an embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of packet loss rate measurement method, measuring apparatus and measuring system, to realize great Rong Measure link packet loss measurement, loss packet test is realized on various devices, improve capacity of equipment, reduction link measurement into This.
Multicast is a kind of communication of point-to-multipoint, can make a packet of multicast source, many parts are copied on network Packet, so as to reach the amplification of flow, therefore can regard multicasting technology as in the amplifier of packet.It is negative in aggregation group It is that one big passage is divided into multiple passage aisles that load, which is shared, transmission of the big data quantity on small bandwidth link is completed, for big band For passage aisle in width, passage aisle is the diminution of big bandwidth traffic.Therefore, multicast and load balancing are exactly a kind of lever, group The ability that can reach that low discharge becomes big flow is broadcast, load balancing can reach the ability that big flow becomes low discharge.This hair Bright specific embodiment utilizes multicasting technology and load balancing technology, and by lever principle, the packet loss for realizing Large Copacity link is surveyed Amount, makes packet loss measurement to realize on various devices, while this method improves capacity of equipment, reduces physical link measurement Cost.
Being discussed in detail for the technical scheme that the specific embodiment of the invention is provided is given below.
As shown in figure 3, the specific embodiment of the invention provides a kind of packet loss rate measurement method, this method includes:
When the internal data link capacity for testing sending ending equipment is less than sending ending equipment port capacity,
S301, sending ending equipment are to the number of the measurement data bag sent by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after amplifying according to amount;
S302, sending ending equipment receive the measurement number of the actual reception in receiving device port of the receiving device feedback According to the data volume of bag;
S303, sending ending equipment according to the data volume of the measurement data bag of the actual reception in the receiving device port, with And the data volume of the theoretical measurement data bag received, determine the packet loss of link.
As shown in figure 4, another packet loss rate measurement method that the specific embodiment of the invention is provided, this method includes:
When the internal data link capacity for testing receiving device is less than receiving device port capacity,
S401, receiving device carry out the data volume of the measurement data bag received by the receiving device port Receiving device internal data link is sent to after diminution;
S402, receiving device are by the data of the measurement data bag of the actual reception of the receiving device internal data link Amount feeds back to sending ending equipment.
As shown in figure 5, the third packet loss rate measurement method that the specific embodiment of the invention is provided, this method includes:
When test sending ending equipment internal data link capacity be less than the sending ending equipment port capacity, and when survey When the internal data link capacity for trying receiving device is less than the receiving device port capacity,
S501, sending ending equipment are to the number of the measurement data bag sent by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after amplifying according to amount;
S502, receiving device carry out the data volume of the measurement data bag received by the receiving device port It is sent to receiving device internal data link after diminution, and by the number of the measurement data bag of the actual reception of the internal data link The sending ending equipment is fed back to according to amount;
S503, sending ending equipment are according to the number of the measurement data bag of the actual reception of the receiving device internal data link According to the data volume of amount, and the theoretical measurement data bag received, the packet loss of link is determined.
The packet loss rate measurement method and measuring apparatus tool of specific embodiment of the invention offer are provided below in conjunction with the accompanying drawings The process of the packet loss of bulk measurement link.In this example, the inner link capacity of sending ending equipment and receiving device is small In its respective port capacity.
As shown in fig. 6, the equipment 50 in the specific embodiment of the invention is sending ending equipment, equipment 51 is receiving device, The specific embodiment of the invention is exemplarily carried out by taking sending ending equipment 50 and all constructions containing FPGA of receiving device 51 as an example Introduce, wherein, the packet loss rate measurement system 52 in sending ending equipment 50 is realized on the FPGA53 in sending ending equipment 50;Receive Packet loss rate measurement system 54 in end equipment 51 is realized on the FPGA55 in receiving device 51.In sending ending equipment 50 There is GE/FE data channel between FPGA53 and packet chip 56, the data channel is the internal data of sending ending equipment 50 There is GE/FE data channel between FPGA55 and packet chip 58 in link 57, receiving device 51, the data channel is The uplink port 510 of packet chip 56 in the internal data link 59 of receiving device 51, sending ending equipment 50 is GE/10GE Large Copacity port, the uplink port 511 of the packet chip 58 in receiving device 51 is also GE/10GE Large Copacity port.
On sending ending equipment 50, the measurement terminals in packet loss rate measurement system 52 need to send measurement data bag, send Measurement data bag be sent to the Large Copacity port 510 of sending ending equipment 50 by the internal data link 57 of sending ending equipment 50, Wherein, there is a very big multiple between Large Copacity port 510 and data link 57, such as Large Copacity port is 15Mpps, 15Mpps equivalent to 10GE, the ability of giving out a contract for a project of the packet loss rate measurement system 52 in FPGA53 for 0.15Mpps i.e. 100Mbps, this it Between there is 100 times of relation, therefore during actual test, the data volume of the measurement data bag sent by data link 57 If desired full Large Copacity port 510 is filled, then needs to set in transmitting terminal in one amplifier of construction, such as specific embodiment of the invention On standby 50, a multicast group containing 100 empty ports is constructed, the multicast group and test stream input port 60 form a multicast Domain 512, in multicast domain 512, test stream input flow rate is amplified.There are how many empty ports in multicast group, data are just How many part can be replicated, therefore multiplication factor can be changed by the number of empty port in multicast group.Empty port in multicast group is needed Point to same physical port i.e. Large Copacity port 510, the data flow after so amplifying exported from Large Copacity port 510 to Receiving device 51.Preferably, sent in the specific embodiment of the invention by the internal data link 57 of sending ending equipment 50 The data volume of measurement data bag is not more than the capacity of the port 510 of sending ending equipment 50 by the capacity after the amplification of multicast domain 512, excellent Selection of land, the capacity energy after the data volume for the measurement data bag that internal data link 57 is sent is amplified by multicast domain 512 The port 510 of enough full sending ending equipments 50 of filling.
On receiving device 51, the data flow after amplification entered from Large Copacity port 511, if all turned It is dealt into the internal data link 59 of receiving device 51, it will produce packet loss in data link 59, it is impossible to embody reality Packet loss, it is therefore desirable to shunted to the data flow after amplification entered from Large Copacity port 511;It is of the invention specific real Applying example can be set up by setting up aggregation group 513, aggregation group on receiving device 51 according to weight, such as drop ports 514 Share 90% data traffic, then data link 59 share 10% flow, data traffic that such data link 59 undertakes drop It is low.Certainly, aggregation group can also be set up according to the situation of mean allocation flow between each port of aggregation group, in the bar of this foundation Under part, minification can be adjusted by the way that port is added or deleted into aggregation group 513, and in aggregation group 513 according to weight Under conditions of foundation, it can adjust poly- in minification, the specific embodiment of the invention by adjusting the partition density of port A port is needed in charge-coupled 513 and points to data link 59, for the data volume after diminution to be sent into data link 59.It is excellent The data volume of measurement data bag is sent to the measurement data bag of data link 59 in selection of land, the specific embodiment of the invention after reducing Data volume is not more than the capacity of 51 internal data link of receiving device 59.
By reasonably amplifying and reducing, the measurement of different precision can be formed;Simultaneously according to capacity of equipment, Ke Yihe Reason regulation multiplication factor, such as the ability of giving out a contract for a project of FPGA arrives 1Mpps for 0, and packet chip SW multiplication factor is 1 to 256, then should Equipment can send 256Mpps flow in a port maximum, equivalent to the port for supporting 170GE, so if packet core Piece is weaker, can configure a strong FPGA of ability of giving out a contract for a project, if packet chip is stronger, FPGA ability of giving out a contract for a project can weaken one Under, this provides very big flexibility for chip selection.
With reference to Fig. 6, with the sending ending equipment 50 in the specific embodiment of the invention by setting up the bag on packet chip 56 The data volume for needing the measurement data bag sent is amplified X times, wherein this X virtual port by the multicast group containing X virtual port It is directed to sending ending equipment port 510;Simultaneously receiving device 51 by set up on the packet chip 58 comprising Y port The data volume of measurement data bag of the aggregation group to being received by receiving device port 511 reduces specifically to be introduced exemplified by Y times, wherein The data volume that Y port in the aggregation group of receiving device 51 is shared is identical, and a port in wherein Y port needs to refer to To the internal data link 59 of receiving device 51;Or, receiving device 51 is by comprising being preset with different pieces of information amount share ratio The data volume of measurement data bag of the aggregation group of multiple ports of example to being received by receiving device port 511 reduces, and The internal data link 59 of receiving device 51 is pointed into the port that data volume is reduced to Y times in plurality of port.
The data volume for the measurement data bag that the internal data link 57 of sending ending equipment 50 is sent is A, 50 pairs of sending ending equipment Pass through the port of sending ending equipment 50 after the data volume A amplifications for the measurement data bag that the device interior data link 57 is sent 510 are sent to receiving device 51,50 pairs of processes of sending ending equipment device interior Data-Link in such as specific embodiment of the invention Road 57 and the data volume of measurement data bag that sends amplifies X times, the then theory for the measurement data bag that receiving device 51 is received Data volume is that receiving device 51 receives transmitting terminal by receiving device port 511 and set in X*A, the specific embodiment of the invention The gross data amount for the measurement data bag that standby 50 ports 510 are sent is X*A, and receiving device 51 is by the measurement data bag received Data volume reduce Y times after be sent to the internal data link 59 of receiving device 51, then receiving device 51 passes through data link The data volume of the 59 measurement data bags received in theory is X*A/Y, and receiving device 51 is received in theory by data link 59 The data volume of measurement data bag pass through data link 59 is estimated or expects to receive measurement data bag for receiving device 51 Data volume.Preferably, the sending ending equipment 50 in the specific embodiment of the invention is sent by protocol channel to receiving device 51 Test protocol signaling, receiving device 51 receives the test protocol signaling, and according to the test protocol signaling to sending ending equipment 50 return to response message.Assuming that the measurement number that receiving device 51 is an actually-received by receiving device internal data link 59 According to bag data volume be B, the receiving end/sending end equipment 50 of receiving device 51 send test protocol signaling, and according to the test assist The response message that view signaling is returned to sending ending equipment 50 includes what receiving device internal data link 59 was an actually-received The data volume B of measurement data bag.Sending ending equipment 50 is received after response message, is set according to the receiving terminal carried in the response message For the data volume B of the actual measurement data bag received of 51 internal data link 59, and the theoretical measurement data bag received number According to amount X*A/Y, the packet loss number for calculating sending direction is X*A/Y-B, so as to calculate the packet loss of outgoing link for 1-B*Y/ X*A, wherein, X, Y, A, B are positive number.
Preferably, in the multiplication factor X and receiving device 51 in the specific embodiment of the invention in sending ending equipment 50 Minification Y needs to meet two conditions, is respectively:Multiplication factor X is more than or equal to minification Y;Multiplication factor X is diminution Multiple Y integral multiple.Being specifically described for the two conditions met for needs is as follows.
In data link, what is be frequently seen is that link packet drop rate is low, if X<Y, then reach receiving device 51 Data volume is also fewer than transmitting terminal, and the loss not to packet in ratio is amplified, but reduces, and is not suitable for generally depositing Link scenario, it is therefore preferred to require X>Y.
Assuming that the data volume for the measurement data bag that the packet loss rate measurement system 52 in sending ending equipment 50 is sent is A, then The packet transmitted between the Large Copacity port 510 of sending ending equipment 50 and the Large Copacity port 511 of receiving device 51 Number is X*A, and the flow for finally reaching the internal data link 59 of receiving device 51 is X*A/Y, if X/Y is not integer, then X/Y*A there may be decimal, cause to count packet loss, so as to introduce measurement error.Assuming that packet loss number is Z, then receiving terminal The packet that the internal data link 59 of equipment 51 is actually received is (X*A-Z)/Y or (X*A-Z)/Y+1 or (X*A-Z)/Y- 1, the number of dropped packets that receiving device 51 is thought is:
X*A/Y- (X*A-Z)/Y=Z/Y formulas (1)
Or X*A/Y- (X*A-Z)/Y-1=Z/Y-1 formulas (2)
Or X*A/Y- (X*A-Z)/Y+1=Z/Y+1 formulas (3)
Wherein, Y is customized minification, and actual aggregation group is not ensured that and shared when carrying out load balancing Multiple is accurate, it is therefore desirable to carry out the operation of plus or minus one, to reduce error.It can be seen that from above formula (1), (2) and (3) Packet loss number Z is smaller, and Y should be smaller, and otherwise Z/Y is unable to reach 1, then detection terminal can not detect packet loss;From this angle Degree says that Y should be small.It is also seen that packet loss detection and X are unrelated, X is used only to mitigate the transmission measurement number of sending ending equipment 50 According to bag data volume A when pressure, reduce X it is necessary to increase A, can just fill up link capacity, X is bigger, A just it is small, then to send The consumption of FPGA53 in end equipment 50 and demand are also just smaller, when sending ending equipment 50 sends the data volume A of measurement data bag Pressure when disclosure satisfy that actual test needs, A can not be amplified, i.e., X value can be 1.
Described in connecting, the actual packet loss of link is Z/X*A, and the packet loss calculated is:
(Z/Y)/((X*A)/Y)=Z/ (X*A) ... ... ... ... ... formulas (4)
Or:(Z/Y-1)/((X*A)/Y)=Z/ (X*A)-Y/X*A ... ... formulas (5)
Or:(Z/Y+1)/((X*A)/Y)=Z/ (X*A)+Y/X*A ... ... formulas (6)
From formula (5) and (6) as can be seen that actual measured deviation is (- Y/X*A ,+Y/X*A), therefore Y is smaller, and deviation is got over It is small, Y size, depending on the ability of receiving device 51, that is to say, that Y is smaller, it is desirable to which the ability of receiving device 51 is got over It is high, then cost requirement is also high, that is, Y smaller, and measured deviation is smaller, in actual test, when the energy of receiving device 51 When power is stronger, Y value can also be 1.By described above, X is the bigger the better, and so requirement to A is just small;Y is the smaller the better, So measurement error can be small, therefore it is required that it is preferably that X, which is more than or equal to Y,.
Find out there is X*A/Y form by formula (1), (2) and (3), can essentially be write as (X/Y) * A, if X is Y Integral multiple, X*A/Y is exactly an integer, otherwise can introduce decimal point, calculate when, can by the loss of data after decimal point, So as to introduce calculating deviation, therefore it is required that the integral multiple that X is Y is also preferably.
Packet loss concrete example is measured in the specific embodiment of the invention is:Assuming that the packet loss of test 10GE ports, X is maximum It is 32 to the maximum for 256, Y;The pressure for mitigating test end points greatly is taken according to X, then X takes 256, obtain 40Mbps packet hair Ability is sent, equivalent to 60Kpps, that is, 60,000 packets per second transmitting capacity;Y can take 16 or 32, so can be with Mitigate the pressure of receiving terminal, 480Kpps or 960Kpps, the packet loss such as institute of table 1 will be reached by receiving the receiving ability of TCH test channel Show:
Table 1
Z was represented in 1 second in table 1, the number of dropped packets of 10GE links, and the capacity in 10GE data link is 15Mpps.
Illustrate a bit, this method can also be realized similarly without FPGA only in the system architecture containing CPU, herein not Repeat again.
In addition, in other embodiments, when can also have test link packet drop rate, only inside sending ending equipment Link capacity is less than situation of the inner link capacity less than its port capacity of port capacity or receiving device, as long as now It is amplified in sending ending equipment inner utilization multicast mode for the data volume of test data bag or in receiving device Data volume of the portion by aggregation group for test data bag reduces, and is amplified and reduces simultaneously without two ends Operation.Its concrete implementation process is similar with the process of above-described embodiment, will not be repeated here.
In other embodiments, packet loss can also be calculated in receiving device, it is only necessary to which sending ending equipment is to connecing The data volume X*A for the measurement data bag that should be received in theory is carried when receiving end equipment sends test protocol signaling or measurement is carried The data volume A and multiplication factor X of packet, now receiving device receive above- mentioned information and be an actually-received in itself The data volume of packet 1-B*Y/X*A can be just similarly used to calculate packet loss.
As shown in fig. 7, the specific embodiment of the invention additionally provides a kind of packet loss rate measurement equipment, the equipment includes:Receive Bill member 70, the first Logical processing unit 71 and amplifying unit 72, wherein,
Transmit-Receive Unit 70 is used for:Measurement data bag from amplifying unit 72 is sent to receiving terminal by the device port Equipment;Receive the data volume of the measurement data bag of the actual reception in receiving device port of the receiving device feedback;
First Logical processing unit 71 is used for:The measurement data bag sent will be needed to be sent out by the device interior data link Give amplifying unit 72;Connect according to the data volume of the measurement data bag of the actual reception in the receiving device port, and theory The data volume of the measurement data bag of receipts, determines the packet loss of link;
Amplifying unit 72 is used for:To after the amplification of the data volume of the measurement data bag from the first Logical processing unit 71 by Transmit-Receive Unit 70 is sent to receiving device.
As shown in figure 8, the specific embodiment of the invention additionally provides a kind of packet loss rate measurement equipment, the equipment includes:Receive Bill member 80, the Logical processing unit 82 of reducing unit 81 and second, wherein,
Transmit-Receive Unit 80 is used for:The measurement data bag sent by the device port receiving end/sending end equipment;
Reducing unit 81 is used for:The data volume of measurement data bag to being received by the device port carries out diminution processing;
Second Logical processing unit 82 is used for:Determine that the data volume of 81 pairs of the reducing unit measurement data bag reduces The data volume of the measurement data bag of the device interior data link is sent to after processing;It is determined that needing anti-to the sending ending equipment The data volume of the measurement data bag of the actual reception of the device interior data link of feedback.
As shown in figure 9, the specific embodiment of the invention additionally provides a kind of packet loss rate measurement system, the system includes sending End equipment 50 and receiving device 51, wherein:
When test sending ending equipment 50 internal data link capacity be less than the port capacity of sending ending equipment 50, and work as When the internal data link capacity for testing receiving device 51 is less than 51 port capacity of receiving device,
The sending ending equipment 50 is used for:To the measurement data sent by the internal data link of sending ending equipment 50 Receiving device 51 is sent to by the port of sending ending equipment 50 after the data volume amplification of bag;According to the inside number of receiving device 51 According to the data volume of the data volume of the measurement data bag of the actual reception of link, and the theoretical measurement data bag received, link is determined Packet loss;
The receiving device 51 is used for:By the data volume of the measurement data bag received by the port of receiving device 51 It is sent to the internal data link of receiving device 51 after being reduced, and by the measurement data of the actual reception of the internal data link The data volume of bag feeds back to sending ending equipment 50.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and set.So, if these modifications and variations of the present invention belong to the set of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (28)

1. a kind of packet loss rate measurement method, it is characterised in that methods described includes:
When the internal data link capacity for testing sending ending equipment is less than the sending ending equipment port capacity,
The sending ending equipment is to the data volume of the measurement data bag sent by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after amplification;
The sending ending equipment receives the measurement data bag of the actual reception in receiving device port of the receiving device feedback Data volume;
The sending ending equipment is and theoretical according to the data volume of the measurement data bag of the actual reception in the receiving device port The data volume of the measurement data bag of reception, determines the packet loss of link;Wherein:
The sending ending equipment is put the data volume for needing the measurement data bag sent by the multicast group comprising X virtual port Big X times, the X virtual port is directed to the sending ending equipment port, and X is the integer more than or equal to 1.
2. according to the method described in claim 1, it is characterised in that the capacity after the data volume amplification of the measurement data bag is not More than the capacity of the sending ending equipment port.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
The sending ending equipment sends test protocol signaling to the receiving device;
The sending ending equipment receives the receiving device and is directed to the response message that the test protocol signaling is returned, wherein wrapping Include the data volume of the measurement data bag of the actual reception in the receiving device port.
4. a kind of packet loss rate measurement method, it is characterised in that methods described includes:
When the internal data link capacity for testing receiving device is less than the receiving device port capacity,
The receiving device is reduced the data volume of the measurement data bag received by the receiving device port After be sent to receiving device internal data link;
The receiving device is anti-by the data volume of the measurement data bag of the actual reception of the receiving device internal data link Feed sending ending equipment;Wherein:
Measurement of the receiving device by the aggregation group comprising Y port to being received by the receiving device port The a port that the data volume of packet is reduced in Y times, the Y port points to the receiving device internal data link, The data volume that wherein this Y port is shared is identical;
Or, the receiving device by comprising be preset with different pieces of information amount share ratio multiple ports aggregation group to logical Cross the measurement data bag that the receiving device port is received data volume reduce, and by the multiple port by institute The port sensing receiving device internal data link that data volume reduces Y times is stated, Y is the integer more than or equal to 1.
5. method according to claim 4, it is characterised in that the data volume of the measurement data bag is sent to after reducing and connect The data volume of the measurement data bag of receiving end device interior data link is not more than the receiving device internal data link capacity.
6. method according to claim 4, it is characterised in that methods described is also set including receiving device receiving end/sending end The test protocol signaling that preparation is sent, and response message is returned to the sending ending equipment according to the test protocol signaling, wherein wrapping Include the data volume of the measurement data bag of the actual reception of the receiving device internal data link.
7. a kind of packet loss rate measurement method, it is characterised in that methods described includes:
When the internal data link capacity of test sending ending equipment is less than the sending ending equipment port capacity, and when test connects When the internal data link capacity of receiving end equipment is less than the receiving device port capacity,
The sending ending equipment is to the data volume of the measurement data bag sent by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after amplification;
The receiving device is reduced the data volume of the measurement data bag received by the receiving device port After be sent to receiving device internal data link, and by the data volume of the measurement data bag of the actual reception of the internal data link Feed back to the sending ending equipment;
The sending ending equipment according to the data volume of the measurement data bag of the actual reception of the receiving device internal data link, And the data volume of the theoretical measurement data bag received, determine the packet loss of link;Wherein:
The sending ending equipment is put the data volume for needing the measurement data bag sent by the multicast group comprising X virtual port Big X times, the X virtual port is directed to the sending ending equipment port, and X is the integer more than or equal to 1.
8. method according to claim 7, it is characterised in that the capacity after the data volume amplification of the measurement data bag is not More than the capacity of the sending ending equipment port.
9. method according to claim 7, it is characterised in that the data volume of the measurement data bag is sent to after reducing and connect The data volume of the measurement data bag of receiving end device interior data link is not more than the receiving device internal data link capacity.
10. method according to claim 9, it is characterised in that the receiving device is by including the polymerization of Y port Group the data volume of measurement data bag received by the receiving device port is reduced in Y times, the Y port one The receiving device internal data link is pointed in individual port, and the data volume that wherein this Y port is shared is identical;
Or, the receiving device by comprising be preset with different pieces of information amount share ratio multiple ports aggregation group to logical Cross the measurement data bag that the receiving device port is received data volume reduce, and by the multiple port by institute The port sensing receiving device internal data link that data volume reduces Y times is stated, Y is the integer more than or equal to 1.
11. the method according to any claims of claim 7-10, it is characterised in that the packet loss of the link is 1-B*Y/ X*A, wherein, A is the data volume for the measurement data bag that sending ending equipment internal data link is sent, and B is inside receiving device The data volume of the measurement data bag of the actual reception of data link, X, Y, A, B are positive number.
12. method according to claim 11, it is characterised in that the X is more than or equal to the Y.
13. method according to claim 12, it is characterised in that the X is the integral multiple of the Y.
14. method according to claim 7, it is characterised in that methods described also includes:
The sending ending equipment sends test protocol signaling to the receiving device;
The receiving device receives the test protocol signaling, and is returned according to the test protocol signaling to the sending ending equipment Response message is returned, including the data volume of the measurement data bag of the actual reception of the receiving device internal data link.
15. a kind of packet loss rate measurement equipment, it is characterised in that the equipment includes:Transmit-Receive Unit, the first Logical processing unit and Amplifying unit, wherein,
Transmit-Receive Unit is used for:Measurement data bag from amplifying unit is sent to receiving device by the device port;Connect Receive the data volume of the measurement data bag of the actual reception in receiving device port of the receiving device feedback;
First Logical processing unit is used for:The measurement data bag for needing to send is sent to by the device interior data link and put Big unit;According to the data volume of the measurement data bag of the actual reception in the receiving device port, and the theoretical measurement received The data volume of packet, determines the packet loss of link;
Amplifying unit is used for:To after the amplification of the data volume of the measurement data bag from the first Logical processing unit by Transmit-Receive Unit It is sent to receiving device;Wherein:
The amplifying unit is amplified the data volume for needing the measurement data bag sent by the multicast group comprising X virtual port X times, the X virtual port is directed to the device port, and X is the integer more than or equal to 1.
16. equipment according to claim 15, it is characterised in that the data volume of the measurement data bag passes through amplifying unit Capacity after amplification is not more than the capacity of the device port.
17. equipment according to claim 15, it is characterised in that the Transmit-Receive Unit is additionally operable to:The first logic will be come from The test protocol signaling of processing unit is sent to receiving device;The receiving device is received for the test protocol signaling The response message of return, including the data volume of the measurement data bag of the actual reception in the receiving device port;
First Logical processing unit is additionally operable to:Test protocol signaling is sent to Transmit-Receive Unit.
18. a kind of packet loss rate measurement equipment, it is characterised in that the equipment includes:Transmit-Receive Unit, reducing unit and the second logic Processing unit, wherein,
Transmit-Receive Unit is used for:The measurement data bag sent by the device port receiving end/sending end equipment;
Reducing unit is used for:The data volume of measurement data bag to being received by the device port carries out diminution processing;
Second Logical processing unit is used for:Determine that reducing unit carries out sending out after diminution processing to the data volume of the measurement data bag It is sent to the data volume of the measurement data bag of the device interior data link;It is determined that needing to set to this of sending ending equipment feedback The data volume of the measurement data bag of the actual reception of standby internal data link;Wherein:
The reducing unit is by the aggregation group comprising Y port to the measurement data bag that is received by the described device port Data volume reduce Y times, a port in the Y port points to the device interior data link, and wherein this Y port is divided The data volume of load is identical;
Or, the reducing unit by comprising be preset with different pieces of information amount share ratio multiple ports aggregation group to passing through The data volume for the measurement data bag that the device port is received reduces, and the data volume will contract in the multiple port The device interior data link is pointed in small Y times of port, and Y is the integer more than or equal to 1.
19. equipment according to claim 18, it is characterised in that the data volume of the measurement data bag passes through reducing unit The data volume that the measurement data bag of the device interior data link is sent to after diminution is not more than the device interior data link Capacity.
20. equipment according to claim 18, it is characterised in that the Transmit-Receive Unit is additionally operable to receiving end/sending end equipment hair The test protocol signaling sent;Second Logical processing unit is additionally operable to:Determined to need to institute according to the test protocol signaling The response message of sending ending equipment return is stated, including the number of the measurement data bag of the actual reception of the device interior data link According to amount.
21. a kind of packet loss rate measurement system, it is characterised in that the system includes sending ending equipment and receiving device, wherein:
When the internal data link capacity of test sending ending equipment is less than the sending ending equipment port capacity, and when test connects When the internal data link capacity of receiving end equipment is less than the receiving device port capacity,
The sending ending equipment is used for:To the data of the measurement data bag sent by the sending ending equipment internal data link Receiving device is sent to by the sending ending equipment port after amount amplification;According to the receiving device internal data link The data volume of the actual measurement data bag received, and the theoretical measurement data bag received data volume, determine the packet loss of link Rate;
The receiving device is used for:The data volume of the measurement data bag received by the receiving device port is carried out It is sent to receiving device internal data link after diminution, and by the number of the measurement data bag of the actual reception of the internal data link The sending ending equipment is fed back to according to amount;Wherein:
The sending ending equipment specifically for:The measurement data bag of transmission will be needed by the multicast group comprising X virtual port Data volume amplify X times, the X virtual port is directed to the sending ending equipment port, and X is the integer more than or equal to 1.
22. system according to claim 21, it is characterised in that the capacity after the data volume amplification of the measurement data bag The capacity of no more than described sending ending equipment port.
23. system according to claim 21, it is characterised in that the data volume of the measurement data bag is sent to after reducing The data volume of the measurement data bag of receiving device internal data link is not more than the receiving device internal data link and held Amount.
24. system according to claim 23, it is characterised in that the receiving device specifically for:By including Y The data volume of measurement data bag of the aggregation group of port to being received by the receiving device port reduces Y times, the Y A port in port points to the receiving device internal data link, and the data volume that wherein this Y port is shared is identical;
Or, the receiving device by comprising be preset with different pieces of information amount share ratio multiple ports aggregation group to logical Cross the measurement data bag that the receiving device port is received data volume reduce, and by the multiple port by institute The port sensing receiving device internal data link that data volume reduces Y times is stated, Y is the integer more than or equal to 1.
25. the system according to any claims of claim 21-24, it is characterised in that the packet loss of the link is 1-B* Y/X*A, wherein, A is the data volume for the measurement data bag that sending ending equipment internal data link is sent, and B is in receiving device The data volume of the measurement data bag of the actual reception of portion's data link, X, Y, A, B are positive number.
26. system according to claim 25, it is characterised in that the X is more than or equal to the Y.
27. system according to claim 26, it is characterised in that the X is the integral multiple of the Y.
28. system according to claim 21, it is characterised in that the sending ending equipment is additionally operable to set to the receiving terminal Preparation send test protocol signaling;The receiving device is additionally operable to receive the test protocol signaling, and according to the test protocol Signaling returns to response message to the sending ending equipment, including the actual reception of the receiving device internal data link The data volume of measurement data bag.
CN201410209066.1A 2014-05-16 2014-05-16 A kind of packet loss rate measurement method, measuring apparatus and measuring system Active CN103997433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410209066.1A CN103997433B (en) 2014-05-16 2014-05-16 A kind of packet loss rate measurement method, measuring apparatus and measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410209066.1A CN103997433B (en) 2014-05-16 2014-05-16 A kind of packet loss rate measurement method, measuring apparatus and measuring system

Publications (2)

Publication Number Publication Date
CN103997433A CN103997433A (en) 2014-08-20
CN103997433B true CN103997433B (en) 2017-10-31

Family

ID=51311442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410209066.1A Active CN103997433B (en) 2014-05-16 2014-05-16 A kind of packet loss rate measurement method, measuring apparatus and measuring system

Country Status (1)

Country Link
CN (1) CN103997433B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270284A (en) * 2014-09-19 2015-01-07 烽火通信科技股份有限公司 Service packet loss rate measuring method based on port or LSP in distributed architecture
CN104539470B (en) * 2014-11-28 2017-11-21 北京锐安科技有限公司 Test shunting device whether method, test client and the system of packet loss
CN106506273B (en) * 2016-11-07 2020-10-02 瑞斯康达科技发展股份有限公司 Bandwidth measurement method, device and system
CN107888457B (en) * 2017-12-08 2020-08-14 新华三技术有限公司 Port packet loss detection method and device and communication equipment
CN111385160B (en) * 2018-12-28 2021-08-03 中国移动通信集团辽宁有限公司 Packet loss rate detection method, device, system and medium
CN112787879A (en) * 2019-11-08 2021-05-11 西安诺瓦星云科技股份有限公司 Gigabit Ethernet packet loss detection method and device thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695168A (en) * 2009-10-16 2010-04-14 苏州汉明科技有限公司 Measurement method of transmission performance between wireless access controller and wireless access point
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
CN102984035A (en) * 2013-01-04 2013-03-20 盛科网络(苏州)有限公司 Loopback test method and system of packet loss probability of network data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729197B (en) * 2008-10-14 2014-04-16 华为技术有限公司 Method, device and system for detecting packet loss rate

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695168A (en) * 2009-10-16 2010-04-14 苏州汉明科技有限公司 Measurement method of transmission performance between wireless access controller and wireless access point
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
CN102984035A (en) * 2013-01-04 2013-03-20 盛科网络(苏州)有限公司 Loopback test method and system of packet loss probability of network data

Also Published As

Publication number Publication date
CN103997433A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN103997433B (en) A kind of packet loss rate measurement method, measuring apparatus and measuring system
CN102098301B (en) The adaptive data transmission method of multilink and system
CN102223263B (en) Packet loss monitoring method based on FPGA and device
CN100421396C (en) Method and system for measuring bottleneck bandwidth and remanent bandwidth
US9584429B2 (en) Credit based flow control for long-haul links
CN104980988A (en) Multi-link aggregation wireless communication system and method
CN109904141A (en) Integrated antenna package with electric light interconnection circuit
CN102317801A (en) Efficient and loss tolerant method and mechanism for measuring available bandwidth
CN107948103A (en) A kind of interchanger PFC control methods and control system based on prediction
US20190307057A1 (en) Methods and systems for seed variety selection
CN103298009A (en) Method for modeling or fault propagation of complex wireless network control system
CN102065015B (en) Data transmission method, network equipment and device
CN102984035A (en) Loopback test method and system of packet loss probability of network data
CN102970182B (en) The method of testing of exchange data bag buffer pool size and device
CN106302016A (en) The method and system of low discharge quick obtaining network physical bandwidth
CN104980232A (en) Consistency measuring device and method of reciprocity and synchronization of large-scale antenna array
CN105376118B (en) A kind of test method of AFDX interchangers sending performance
EP2466941A2 (en) Communications effects in network simulations
CN106911583A (en) A kind of transmission layer congestion control method of explicit feedback Congestion Level SPCC sliding average
CN109995608B (en) Network rate calculation method and device
CN101662479B (en) Response concurrent request based on IPV6 protocol and method for broadcasting data carrying multi-address production line
CN108259375A (en) A kind of implementation method and device of the dynamic load sharing of queue level
CN104518989B (en) The exchange apparatus of network element for data transmission network
CN105323122B (en) A kind of throughput of network device test device and test method based on interchanger
CN101383731A (en) Network card test system

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