CN113973070B - Information acquisition method, device and test equipment - Google Patents

Information acquisition method, device and test equipment Download PDF

Info

Publication number
CN113973070B
CN113973070B CN202010709137.XA CN202010709137A CN113973070B CN 113973070 B CN113973070 B CN 113973070B CN 202010709137 A CN202010709137 A CN 202010709137A CN 113973070 B CN113973070 B CN 113973070B
Authority
CN
China
Prior art keywords
packet loss
service flow
tested
theoretical value
sending
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
CN202010709137.XA
Other languages
Chinese (zh)
Other versions
CN113973070A (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010709137.XA priority Critical patent/CN113973070B/en
Publication of CN113973070A publication Critical patent/CN113973070A/en
Application granted granted Critical
Publication of CN113973070B publication Critical patent/CN113973070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an information acquisition method, an information acquisition device and test equipment, wherein the information acquisition method comprises the following steps: sending a service flow to be tested to tested equipment according to the MTU value of the target maximum transmission unit; receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested; acquiring packet loss precision related information according to the packet loss related parameter information; the target MTU value is an MTU value supported by the tested device. The scheme well solves the problems of narrow application range and low test precision of the acquisition scheme of the packet loss performance test information in the prior art.

Description

Information acquisition method, device and test equipment
Technical Field
The present invention relates to the field of testing technologies, and in particular, to an information acquisition method, an information acquisition device, and a testing device.
Background
At present, the conventional test methods for testing and verifying packet loss measurement (OAM) accuracy of packet network include the following two methods:
the first method is a precise test method of stringing a data network damage simulation analyzer in a punch-through mode between two end packet network devices, and the test configuration is shown in fig. 1 (NE in the figure represents a network element). Since the global data network damage simulation analyzers only have GE, 10GE and 100GE at present, no data network damage simulation analyzers supporting 50G/100G/200G/400G FlexE (flexible Ethernet) interfaces and MTN (metropolitan area transport network) interfaces and 200GE/400GE Ethernet interfaces (i.e. there is no In-Band OAM (In-Band OAM) packet loss performance measurement accuracy requirement of router networks supporting 50G FlexE interfaces, 100G FlexE interfaces, 200G FlexE interfaces, 400G FlexE interfaces, MTN interfaces, 200GE Ethernet interfaces and 400GE Ethernet interfaces) exist), the test method cannot realize packet loss performance measurement for 50G/100G/200G/400G FlexE and MTN interfaces and 200GE/400GE Ethernet interfaces, and cannot meet the test and verify packet network (SPN) or router networks supporting FlexE and 400GE Ethernet interfaces.
The second method is to string an optical attenuator or set a QoS (quality of service) speed limit parameter on a line interface between two end packet network devices to roughly manufacture a packet loss, and the test configuration is as shown in fig. 2 (NE in the figure represents a network element). The method cannot accurately manufacture the packet loss number or the packet loss rate, so that the high-precision requirement that the absolute error of In-band OAM packet loss performance measurement is less than 1% cannot be met. Specifically, the test method is as follows:
(1) And building a test environment according to the test topology, creating a service, and creating an In-Band OAM monitoring instance to match corresponding two-layer and/or three-layer rules. The data network analyzer transmits an Ethernet service flow, and observes whether the service flow is normally transmitted and received without packet loss;
(2) The data network analyzer sends Ethernet service flow at 10000 packets/s, adjusts the optical attenuator or configures network side speed limiting parameter to manufacture packet loss between NE1 and NE2, respectively adjusts the service packet loss rate to R1 (=0.5%, 1%, 1.5%);
(3) And reading a packet loss rate measurement result R2 of the In-Band OAM monitoring example on the management and control system.
(4) And calculating the packet loss measurement precision error (namely the deviation degree of the packet loss rate) delta= (R2-R1)/R1×100% of the In-Band OAM monitoring example, and judging whether the precision error meets the application requirement according to the specific application requirement.
The test method is based on the optical attenuator and the error packet loss rate manufactured by network side speed limiting, and cannot accurately judge whether the accuracy error of the In-band OAM high-accuracy packet loss performance test supported by the packet network equipment meets +/-1%.
From the above, the In-band OAM packet loss test method provides a high-precision packet loss performance test method for a packet network, and because the packet loss measurement accuracy is very high (one packet loss or disorder can be measured), it is difficult to precisely manufacture the fixed required packet loss number and packet loss rate by the network speed limit or optical attenuator method under the condition of lacking a network damage simulation analyzer supporting 50G/100G/200G/400G FlexE and MTN interfaces and 200GE/400GE ethernet interfaces, so that the accuracy and deviation rate of the In-band OAM packet loss performance test cannot be accurately judged.
That is, the solution for acquiring the packet loss performance test information in the prior art has the problems of narrow application range, low test precision and the like.
Disclosure of Invention
The invention aims to provide an information acquisition method, an information acquisition device and test equipment, which are used for solving the problems of narrow application range and low test precision in the acquisition scheme of packet loss performance test information in the prior art.
In order to solve the above technical problems, an embodiment of the present invention provides an information acquisition method, which is applied to a test device, including:
sending a service flow to be tested to tested equipment according to the MTU value of the target maximum transmission unit;
receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested;
acquiring packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested device.
Optionally, the packet loss related parameter information includes at least one of a first packet loss number detected by the device under test and a first packet loss rate detected by the device under test.
Optionally, the information related to the packet loss precision includes at least one of a first packet loss number detected by the tested device, a theoretical value of the packet loss number, a difference of the packet loss numbers, a deviation degree of the packet loss rate, a theoretical value of the packet loss rate, and a first packet loss rate detected by the tested device.
Optionally, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes:
and sending the service flow to be tested to the tested equipment according to the target MTU value and the theoretical value of the packet loss number.
Optionally, the sending the service flow to be tested to the tested device according to the target MTU value and the theoretical value of the packet loss number includes:
determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected;
and sending the service flow to be tested to the tested equipment according to the MTU value and the packet loss number theoretical value.
Optionally, in the case that the theoretical value of the packet loss rate is 1, the theoretical value of the packet loss number is equal to the total amount of the data packets to be tested.
Optionally, when the theoretical value of the packet loss rate is smaller than 1 and larger than 0, the theoretical value of the packet loss number is equal to the product of the theoretical value of the packet loss rate and the total amount of the data packets to be tested.
Optionally, the obtaining the packet loss precision related information according to the packet loss related parameter information includes:
and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value.
Optionally, the obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value includes:
and obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value includes:
And obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the obtaining the packet loss precision related information according to the packet loss related parameter information includes:
and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
Optionally, the obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value includes:
and obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes:
according to the target MTU value, a first service flow is sent to the tested equipment;
wherein the first service flow is a service flow with a packet size larger than the target MTU value.
Optionally, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes:
according to the target MTU value, a first service flow and a second service flow are sent to the tested equipment;
wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
Optionally, the sending the first traffic flow and the second traffic flow to the tested device according to the target MTU value includes:
determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss ratio;
and transmitting the first service flow and the second service flow to the tested equipment according to the target MTU value and the transmission ratio.
Optionally, the sending the first traffic flow and the second traffic flow to the tested device according to the target MTU value and the sending ratio includes:
and sending the first service flow and the second service flow to the tested equipment according to the target MTU value, the sending ratio and the total quantity of the data packets to be tested.
Optionally, before determining the transmission ratio of the first traffic flow and the second traffic flow according to the packet loss rate theoretical value, the method further includes:
and determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate.
Optionally, after obtaining the packet loss precision related information according to the packet loss related parameter information, the method further includes:
recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
Optionally, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes:
in a first statistical period, according to a target MTU value, sending a service flow to be tested to tested equipment;
the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
The embodiment of the invention also provides an information acquisition device which is applied to the test equipment and comprises:
the first sending module is used for sending the service flow to be tested to the tested equipment according to the MTU value of the target maximum transmission unit;
the first receiving module is used for receiving the packet loss related parameter information which is sent by the tested equipment and is obtained according to the received service flow to be tested;
the first processing module is used for obtaining the packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested device.
Optionally, the packet loss related parameter information includes at least one of a first packet loss number detected by the device under test and a first packet loss rate detected by the device under test.
Optionally, the information related to the packet loss precision includes at least one of a first packet loss number detected by the tested device, a theoretical value of the packet loss number, a difference of the packet loss numbers, a deviation degree of the packet loss rate, a theoretical value of the packet loss rate, and a first packet loss rate detected by the tested device.
Optionally, the first sending module includes:
and the first sending submodule is used for sending the service flow to be tested to the tested equipment according to the target MTU value and the theoretical value of the packet loss number.
Optionally, the first sending sub-module includes:
the first determining unit is used for determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected;
and the first sending unit is used for sending the service flow to be tested to the tested equipment according to the MTU value and the packet loss number theoretical value.
Optionally, in the case that the theoretical value of the packet loss rate is 1, the theoretical value of the packet loss number is equal to the total amount of the data packets to be tested.
Optionally, when the theoretical value of the packet loss rate is smaller than 1 and larger than 0, the theoretical value of the packet loss number is equal to the product of the theoretical value of the packet loss rate and the total amount of the data packets to be tested.
Optionally, the first processing module includes:
and the first processing sub-module is used for obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value.
Optionally, the first processing sub-module includes:
and the first processing unit is used for obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the first processing sub-module includes:
and the second processing unit is used for obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the first processing module includes:
and the second processing sub-module is used for obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
Optionally, the second processing sub-module includes:
and the third processing unit is used for obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the first sending module includes:
the second sending submodule is used for sending the first service flow to the tested equipment according to the target MTU value;
wherein the first service flow is a service flow with a packet size larger than the target MTU value.
Optionally, the first sending module includes:
the third sending submodule is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value;
wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
Optionally, the third sending sub-module includes:
a second determining unit, configured to determine a transmission ratio of the first traffic flow and the second traffic flow according to a packet loss rate theoretical value;
and the second sending unit is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value and the sending ratio.
Optionally, the second sending unit includes:
and the first sending subunit is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value, the sending ratio and the total data packet quantity to be tested.
Optionally, the method further comprises:
and the first determining module is used for determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate before determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
Optionally, the method further comprises:
the second processing module is used for recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition after the packet loss precision related information is obtained according to the packet loss related parameter information; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
Optionally, the first sending module includes:
a fourth sending submodule, configured to send a service flow to be tested to the tested device according to the target MTU value in the first statistical period;
the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
The embodiment of the invention also provides test equipment, which comprises: a processor and a transceiver;
the processor is used for sending the service flow to be tested to the tested equipment through the transceiver according to the MTU value of the target maximum transmission unit;
receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested through the transceiver;
acquiring packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested device.
Optionally, the packet loss related parameter information includes at least one of a first packet loss number detected by the device under test and a first packet loss rate detected by the device under test.
Optionally, the information related to the packet loss precision includes at least one of a first packet loss number detected by the tested device, a theoretical value of the packet loss number, a difference of the packet loss numbers, a deviation degree of the packet loss rate, a theoretical value of the packet loss rate, and a first packet loss rate detected by the tested device.
Optionally, the processor is specifically configured to:
and sending the service flow to be tested to the tested equipment through the transceiver according to the target MTU value and the theoretical value of the packet loss number.
Optionally, the processor is specifically configured to:
determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected;
and sending the service flow to be tested to the tested equipment through the transceiver according to the MTU value and the packet loss number theoretical value.
Optionally, in the case that the theoretical value of the packet loss rate is 1, the theoretical value of the packet loss number is equal to the total amount of the data packets to be tested.
Optionally, when the theoretical value of the packet loss rate is smaller than 1 and larger than 0, the theoretical value of the packet loss number is equal to the product of the theoretical value of the packet loss rate and the total amount of the data packets to be tested.
Optionally, the processor is specifically configured to:
and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value.
Optionally, the processor is specifically configured to:
and obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the processor is specifically configured to:
and obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the processor is specifically configured to:
and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
Optionally, the processor is specifically configured to:
and obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
Optionally, the processor is specifically configured to:
according to the target MTU value, a first service flow is sent to the tested equipment through the transceiver;
wherein the first service flow is a service flow with a packet size larger than the target MTU value.
Optionally, the processor is specifically configured to:
according to the target MTU value, transmitting a first service flow and a second service flow to the tested equipment through the transceiver;
wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
Optionally, the processor is specifically configured to:
determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss ratio;
and transmitting the first service flow and the second service flow to the tested equipment through the transceiver according to the target MTU value and the transmission ratio.
Optionally, the processor is specifically configured to:
and transmitting the first service flow and the second service flow to the tested equipment through the transceiver according to the target MTU value, the transmission ratio and the total data packet to be tested.
Optionally, the processor is further configured to:
before determining the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate, determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate.
Optionally, the processor is further configured to:
after obtaining the packet loss precision related information according to the packet loss related parameter information, recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
Optionally, the processor is specifically configured to:
in a first statistical period, according to a target MTU value, sending a service flow to be tested to tested equipment through the transceiver;
the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
The embodiment of the invention also provides test equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; the processor implements the information acquisition method described above when executing the program.
The embodiment of the invention also provides a readable storage medium, on which a program is stored, which when executed by a processor, implements the steps of the information acquisition method described above.
The technical scheme of the invention has the following beneficial effects:
in the scheme, the information acquisition method sends the service flow to be tested to the tested equipment according to the MTU value of the target maximum transmission unit; receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested; acquiring packet loss precision related information according to the packet loss related parameter information; the target MTU value is an MTU value supported by the tested device; the method can realize accurate manufacture of packet loss damage based on MTU supported by tested equipment, thereby realizing high-precision test for verifying packet network OAM (operation administration maintenance mechanism) packet loss measurement precision, in particular to very accurate test and evaluation of absolute packet loss number value and packet loss rate deviation degree of In-band OAM (In-band OAM) packet loss performance test; in addition, the scheme can be also suitable for 50G/100G/200G/400G FlexE and MTN interfaces and 200GE/400GE Ethernet interfaces, has wider application range, and well solves the problems of narrow application range and low test precision of the acquisition scheme of the packet loss performance test information in the prior art.
Drawings
Fig. 1 is a schematic diagram of an accurate test configuration for packet loss performance measurement in a packet network in the prior art;
fig. 2 is a schematic diagram of an approximate test configuration of packet loss performance measurement in a packet network in the prior art;
FIG. 3 is a flowchart of an information acquisition method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a test configuration according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an application flow of an information acquisition method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an information acquisition device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a test apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
The invention provides an information acquisition method which is applied to test equipment and shown in fig. 3 and aims at the problems of narrow application range and low test precision of the acquisition scheme of packet loss performance test information in the prior art, and comprises the following steps:
step 31: sending a service flow to be tested to tested equipment according to the MTU value of the target maximum transmission unit;
step 32: receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested;
Step 33: acquiring packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested device.
The service flows to be tested comprise a first service flow and/or a second service flow, wherein the first service flow is a service flow with a packet length larger than the target MTU value; the second traffic flow is a traffic flow with a packet length less than or equal to the target MTU value, which is not limited herein.
According to the information acquisition method provided by the embodiment of the invention, the service flow to be tested is sent to the tested equipment according to the MTU value of the target maximum transmission unit; receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested; acquiring packet loss precision related information according to the packet loss related parameter information; the target MTU value is an MTU value supported by the tested device; the method can realize accurate manufacture of packet loss damage based on MTU supported by tested equipment, thereby realizing high-precision test for verifying packet network OAM (operation administration maintenance mechanism) packet loss measurement precision, in particular to very accurate test and evaluation of absolute packet loss number value and packet loss rate deviation degree of In-band OAM (In-band OAM) packet loss performance test; in addition, the scheme can be also suitable for 50G/100G/200G/400G FlexE and MTN interfaces and 200GE/400GE Ethernet interfaces, has wider application range, and well solves the problems of narrow application range and low test precision of the acquisition scheme of the packet loss performance test information in the prior art.
The packet loss related parameter information comprises at least one of a first packet loss number detected by the tested equipment and a first packet loss rate detected by the tested equipment.
In the embodiment of the invention, the information related to the packet loss precision comprises at least one of a first packet loss number detected by the tested equipment, a theoretical value of the packet loss number, a difference of the packet loss numbers, a deviation degree of the packet loss rate, a theoretical value of the packet loss rate and a first packet loss rate detected by the tested equipment.
In the embodiment of the present invention, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes: and sending the service flow to be tested to the tested equipment according to the target MTU value and the theoretical value of the packet loss number.
Specifically, the sending the service flow to be tested to the tested device according to the target MTU value and the packet loss number theoretical value includes: determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected; and sending the service flow to be tested to the tested equipment according to the MTU value and the packet loss number theoretical value.
More specifically, in the case that the theoretical value of the packet loss rate is 1, the theoretical value of the packet loss number is equal to the total amount of the data packets to be measured. And under the condition that the theoretical value of the packet loss rate is smaller than 1 and larger than 0, the theoretical value of the packet loss number is equal to the product of the theoretical value of the packet loss rate and the total quantity of the data packets to be tested.
In the embodiment of the present invention, the obtaining the packet loss precision related information according to the packet loss related parameter information includes: and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value.
Wherein, the obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value includes: and obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Specifically, the obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value includes: and obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
In the embodiment of the present invention, the obtaining the packet loss precision related information according to the packet loss related parameter information includes: and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
Wherein, the obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value includes: and obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
In the embodiment of the present invention, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes: according to the target MTU value, a first service flow is sent to the tested equipment; wherein the first service flow is a service flow with a packet size larger than the target MTU value.
In the embodiment of the present invention, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes: according to the target MTU value, a first service flow and a second service flow are sent to the tested equipment; wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
Specifically, the sending the first service flow and the second service flow to the tested device according to the target MTU value includes: determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss ratio; and transmitting the first service flow and the second service flow to the tested equipment according to the target MTU value and the transmission ratio.
More specifically, the sending the first traffic flow and the second traffic flow to the tested device according to the target MTU value and the sending ratio includes: and sending the first service flow and the second service flow to the tested equipment according to the target MTU value, the sending ratio and the total quantity of the data packets to be tested.
Further, before determining the transmission ratio of the first traffic flow to the second traffic flow according to the packet loss rate theoretical value, the method further includes: and determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate.
Such as; the expected value of the packet loss rate is 0.01%, and the theoretical values of the packet loss rate can be determined to be 0.001%, 0.005% and 0.01%, so that multiple measurements can be performed to ensure that more accurate measurement results are obtained.
Further, after obtaining the packet loss precision related information according to the packet loss related parameter information, the method further includes: recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
This ensures that a more accurate measurement is obtained.
In order to ensure accurate data statistics, the sending the service flow to be tested to the tested device according to the MTU value of the target maximum transmission unit includes: in a first statistical period, according to a target MTU value, sending a service flow to be tested to tested equipment; the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
The method for acquiring information provided in the embodiment of the present invention is further described below, in which the test device uses a data network analyzer as an example, the tested device uses a tested network device as an example, and the acquisition of the information related to the packet loss precision uses the acquisition of the packet loss number difference and the packet loss rate deviation degree as an example.
Aiming at the technical problems, the embodiment of the invention provides an information acquisition method, which can be concretely realized as a high-precision test method for packet network OAM packet loss measurement precision; specifically, the scheme is realized as a high-precision test method for accurately manufacturing packet loss damage based on a Maximum Transmission Unit (MTU) supported by equipment to verify packet network OAM packet loss measurement precision, and particularly, the absolute packet loss value and the packet loss rate deviation degree of an In-band OAM packet loss performance test can be very accurately tested and evaluated.
Specifically, the scheme uses packet network equipment (specifically, but not limited to, tested network equipment) to forward a supported maximum transmission unit (MTU, for example, set 1538B), and sends two basic flows of a message (for example, 9600B) greater than the MTU value and a message (for example, 512B) less than the MTU value; as a precision comparison standard for precisely manufacturing the In-Band OAM packet loss number and packet loss rate measurement, a packet loss number measurement accuracy error (i.e., the above packet loss rate deviation degree) δ= [ (L2-L1) ]/l1×100% (where L1 is the above packet loss number theoretical value, L2 is the above first packet loss number) of an In-Band OAM monitoring example supported by the network device under test and the management system (i.e., the packet network management system) is calculated, and whether the packet loss rate measurement accuracy and deviation degree satisfy a high accuracy requirement of an expected accuracy target (e.g., the accuracy is less than 5 packet losses or the accuracy is less than +/-0.01%, and the deviation degree is less than +/-0.1%) is determined according to a specific application requirement.
The implementation of the scheme can adopt a test configuration (high-precision test configuration of packet network In-band OAM packet loss performance measurement, in which, telemetry represents a performance reporting interface protocol) as shown In fig. 4, a service flow is configured between NE (network element) 1 and NE4, in-band OAM monitoring examples of NE-1 and NE-4 are configured, and two-layer and/or three-layer rules of service flow detection are matched.
With reference to fig. 4, the present solution may be implemented as follows:
(1) Building a test configuration environment according to fig. 4, and building a service to be tested and an In-band OAM monitoring example according to test requirements; it is also understood that the data network analyzer is placed in the test configuration environment shown in fig. 4;
(2) The data network analyzer verifies that the service flow is normally transmitted and received without packet loss;
(3) A certain MTU (maximum transmission unit) value of the input direction is configured on the network side of each NE1-NE2-NE3-NE4, for example, 1538B.
The data network analyzer sends a traffic stream configuring VLAN ID (virtual local area network identification), destination IP address, source IP address, DSCP (differentiated services code point) to the client-side ethernet interfaces of NE1 and NE 4. Traffic flows are configured by the data network analyzer to establish bursty flows (i.e., test flows) including a flow having a packet length greater than the aforementioned MTU value and a flow having a packet length less than the aforementioned MTU value, e.g., including two basic flows 9600B and 512B.
And editing the traffic flow by adopting a data network analyzer, controlling the number of packets sent by the flow with the packet length larger than the MTU value (the sending ratio can be controlled), wherein the flow with the packet length larger than the MTU value can lose packets, and editing the traffic flow of the two flows according to the requirement of the expected packet loss rate detection precision (namely the packet loss rate theoretical value). For example, if the expected packet loss rate detection accuracy is 0.01%, flow test verification of 100 packet losses per 10000000 (packet loss rate of 0.001%), 500 packet losses per 10000000 (packet loss rate of 0.005%), and 1000 packet losses per 10000000 (packet loss rate of 0.01%) are sequentially transmitted three times, respectively. It should be noted that, since the In-band OAM has a statistics period (e.g., 5 seconds), the statistics of the packet loss rate is related to the statistics period, the packet loss statistics of the In-band OAM should be started first (to prevent inaccuracy of the data statistics), and the data network analyzer is set to complete burst traffic transmission and statistics In one statistics period.
(4) The data network analyzer records the packet loss number L1 (namely the packet loss number theoretical value) and the packet loss rate R1 (namely the packet loss rate theoretical value), compares and analyzes the In-band OAM packet loss number L2 (namely the first packet loss number) and the packet loss rate R2 (namely the first packet loss rate) displayed by the packet network management and control system, and is used for firstly starting an In-band OAM statistical period and then transmitting burst traffic flows, and evaluating and calculating the deviation delta= [ (L2-L1) ]/L1 multiplied by 100) of the packet loss number difference (L2-L1) and the packet loss rate;
(5) And comparing and verifying whether the related information of the packet loss precision meets the index condition, such as comparing and verifying whether the difference of the packet loss numbers and the deviation degree of the packet loss rate meet the expected index (namely the index condition), and if so, obtaining a test conclusion and ending the test. If not, recording the tested packet loss rate testing precision (namely the packet loss rate theoretical value) and deviation degree result (namely the deviation degree of the packet loss rate), and determining whether to adjust the expected packet loss rate detection precision (specifically, adjust the packet loss rate theoretical value) for testing. In this embodiment, the recorded information about the packet loss precision may include at least one of the first packet loss number detected by the device under test, the theoretical value of the packet loss number, the difference of the packet loss numbers, the deviation of the packet loss rate, the theoretical value of the packet loss rate, and the first packet loss rate detected by the device under test, which is not limited herein.
Specifically, as shown in fig. 5 (implemented as a method for testing packet loss performance measurement of in-band OAM of a packet network), the solution provided by the embodiment of the present invention includes:
step 51: constructing a test topology, configuring an L3VPN (layer 3 virtual private network) service and an In-band OAM (operation administration and maintenance) packet loss monitoring instance between source and destination nodes (namely a starting point and a destination point), and determining the expected verification packet loss rate precision R (namely the packet loss rate theoretical value) and the packet loss rate deviation delta index requirement.
Step 52: the MTU value of the intermediate node (i.e., the device under test) is set (e.g., 1538B), and the data network analyzer is configured to send two bursty traffic flows, one less than the MTU value (e.g., 512B) and one greater than the MTU value (e.g., 9600B).
Step 53: the data network analyzer sets the repetition number of the burst traffic to control the number of messages larger than the MTU according to the expected packet loss rate accuracy (i.e., the above-mentioned packet loss rate theoretical value, for example, 0.01%) to manufacture the expected packet loss number (i.e., the above-mentioned packet loss rate theoretical value) and the packet loss rate (i.e., the above-mentioned packet loss rate theoretical value, for example, 0.001%,0.005% and 0.01% are verified, respectively).
Step 54: recording the packet loss number L1 (namely the theoretical value of the packet loss number) and the packet loss rate R1 (namely the theoretical value of the packet loss rate) of the data network analyzer, comparing and analyzing the packet loss number L2 (namely the first packet loss number) and the packet loss rate R2 (namely the first packet loss rate) of the In-band OAM displayed by the packet network management and control system, taking care of starting an In-band OAM statistical period firstly and then sending a service flow, and evaluating and calculating the deviation delta of the packet loss number difference (L2-L1) and the packet loss rate to be = [ (L2-L1) ]/L1X100%. The measurement may be repeated a number of times and averaged.
Step 55: judging whether the expected packet loss rate detection precision is reached and the deviation delta is smaller than the index (namely judging whether the obtained packet loss number difference and the packet loss rate deviation delta meet the expected index or not), and if not, returning to the step 53; if yes, go to step 56;
Specifically, the step 53 may be returned to if the obtained packet loss number difference and the packet loss rate deviation degree do not meet the expected indexes;
specifically, in the case of no, the repetition of the meter may be modified to increase the packet loss number and the packet loss rate, for example, the packet loss measurement accuracy (i.e., the packet loss rate theoretical value) and the deviation degree (i.e., the packet loss rate deviation degree) are verified repeatedly three times.
Further, before returning to step 53, it may be further confirmed whether the expected packet loss rate accuracy is modified to perform the re-measurement, and if so, step 53 is entered.
Step 56: and (5) obtaining the test result and conclusion of the In-band OAM packet loss performance precision and deviation degree, and ending the test.
From the above, the scheme provided by the embodiment of the invention relates to:
1. forwarding, with the packet network device, the supported maximum transmission unit (MTU, e.g., set 1538B), and sending two basic flows of a message (e.g., 9600B) greater than the MTU value and a message (e.g., 512B) less than the MTU value; as an accurate comparison standard for accurately manufacturing the In-band OAM packet loss number and packet loss rate measurement.
2. And calculating a packet loss number measurement accuracy error delta= [ (L2-L1) ]/L1×100% of an In-Band OAM monitoring example supported by the network equipment and the management and control system to be tested, and judging whether the packet loss rate measurement accuracy and the deviation degree meet the high accuracy requirement of an expected accuracy target (for example, the accuracy is less than 5 packet losses or the accuracy is less than +/-0.01 percent and the deviation degree is less than +/-0.1 percent) according to the specific application requirement.
3. The burst flow is established by using a data network analyzer to accurately manufacture the packet loss number and the packet loss rate, and two service message flows with different lengths are edited according to the detection accuracy requirement of the packet loss rate, for example, the detection accuracy of the expected packet loss rate is 0.01%, and then 100 packet losses per 10000000 (the packet loss rate is 0.001%), 500 packet losses per 10000000 (the packet loss rate is 0.005%), and 1000 packet losses per 10000000 (the packet loss rate is 0.01%) are sequentially transmitted respectively.
In summary, the method utilizes the MTU setting of the packet network device to accurately manufacture the packet loss number as an accurate test method for evaluating the packet loss measurement accuracy of the packet network supporting In-band OAM, which can solve the problem that the existing data network damage analyzer which lacks support for flexible ethernet (FlexE), metropolitan area network (MTN) interfaces and ethernet interfaces with rate standards above 100GE cannot accurately manufacture the packet loss number as a benchmark for high-accuracy packet loss performance measurement; on the other hand, the problem that the packet loss rate is roughly manufactured by setting the speed limit on the line interface by using the packet network equipment, the high index requirement of the packet loss performance of the IP network cannot be +/-0.01% and the precision deviation degree is less than +/-0.1%, so that the stable reference value for testing the packet loss measurement accuracy is lacking, and the judgment standard for the packet loss performance test precision cannot be provided can be solved.
In addition, high-precision test of packet network OAM packet loss measurement results is realized based on MTU, the packet network can be very accurately evaluated and verified to set and support In-band OAM packet loss measurement performance, a supporting operator can deploy and apply In-band OAM functions In a 5G bearing network, a high-precision performance detection and analysis function based on service flows is provided for clients In cooperation with a performance acquisition and reporting analysis function based on Telemetry, and dedicated network bandwidth resource renting and network slice operation service capacity based on SLA (service level agreement) is realized.
In summary, the high-precision test of the packet network OAM packet loss measurement result is realized based on the MTU, and the In-band OAM packet loss measurement performance supported by the packet network setting can be evaluated and verified very accurately.
The embodiment of the invention also provides an information acquisition device, which is applied to the test equipment, as shown in fig. 6, and comprises:
a first sending module 61, configured to send a to-be-tested service flow to a tested device according to the MTU value of the target maximum transmission unit;
a first receiving module 62, configured to receive packet loss related parameter information sent by the tested device and obtained according to the received service flow to be tested;
a first processing module 63, configured to obtain packet loss precision related information according to the packet loss related parameter information;
The target MTU value is an MTU value supported by the tested device.
The information acquisition device provided by the embodiment of the invention sends the service flow to be tested to the tested equipment according to the MTU value of the target maximum transmission unit; receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested; acquiring packet loss precision related information according to the packet loss related parameter information; the target MTU value is an MTU value supported by the tested device; the method can realize accurate manufacture of packet loss damage based on MTU supported by tested equipment, thereby realizing high-precision test for verifying packet network OAM (operation administration maintenance mechanism) packet loss measurement precision, in particular to very accurate test and evaluation of absolute packet loss number value and packet loss rate deviation degree of In-band OAM (In-band OAM) packet loss performance test; in addition, the scheme can be also suitable for 50G/100G/200G/400G FlexE and MTN interfaces and 200GE/400GE Ethernet interfaces, has wider application range, and well solves the problems of narrow application range and low test precision of the acquisition scheme of the packet loss performance test information in the prior art.
The packet loss related parameter information comprises at least one of a first packet loss number detected by the tested equipment and a first packet loss rate detected by the tested equipment.
In the embodiment of the invention, the information related to the packet loss precision comprises at least one of a first packet loss number detected by the tested equipment, a theoretical value of the packet loss number, a difference of the packet loss numbers, a deviation degree of the packet loss rate, a theoretical value of the packet loss rate and a first packet loss rate detected by the tested equipment.
In an embodiment of the present invention, the first sending module includes: and the first sending submodule is used for sending the service flow to be tested to the tested equipment according to the target MTU value and the theoretical value of the packet loss number.
Specifically, the first sending sub-module includes: the first determining unit is used for determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected; and the first sending unit is used for sending the service flow to be tested to the tested equipment according to the MTU value and the packet loss number theoretical value.
More specifically, in the case that the theoretical value of the packet loss rate is 1, the theoretical value of the packet loss number is equal to the total amount of the data packets to be measured. And under the condition that the theoretical value of the packet loss rate is smaller than 1 and larger than 0, the theoretical value of the packet loss number is equal to the product of the theoretical value of the packet loss rate and the total quantity of the data packets to be tested.
In an embodiment of the present invention, the first processing module includes: and the first processing sub-module is used for obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value.
Wherein the first processing sub-module comprises: and the first processing unit is used for obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Specifically, the first processing sub-module includes: and the second processing unit is used for obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
In an embodiment of the present invention, the first processing module includes: and the second processing sub-module is used for obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
Wherein the second processing sub-module comprises: and the third processing unit is used for obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
In an embodiment of the present invention, the first sending module includes: the second sending submodule is used for sending the first service flow to the tested equipment according to the target MTU value; wherein the first service flow is a service flow with a packet size larger than the target MTU value.
In an embodiment of the present invention, the first sending module includes: the third sending submodule is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value; wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
Specifically, the third sending submodule includes: a second determining unit, configured to determine a transmission ratio of the first traffic flow and the second traffic flow according to a packet loss rate theoretical value; and the second sending unit is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value and the sending ratio.
More specifically, the second transmitting unit includes: and the first sending subunit is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value, the sending ratio and the total data packet quantity to be tested.
Further, the information acquisition device further includes: and the first determining module is used for determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate before determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
Further, the information acquisition device further includes: the second processing module is used for recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition after the packet loss precision related information is obtained according to the packet loss related parameter information; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
In order to ensure that the data statistics are accurate, the first sending module includes: a fourth sending submodule, configured to send a service flow to be tested to the tested device according to the target MTU value in the first statistical period; the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
The embodiments of the information acquisition method are applicable to the embodiments of the information acquisition device, and the same technical effects can be achieved.
The embodiment of the invention also provides a test device, as shown in fig. 7, comprising: a processor 71 and a transceiver 72;
the processor 71 is configured to send, according to the target maximum transmission unit MTU value, a traffic flow to be tested to the device to be tested through the transceiver 72;
Receiving, by the transceiver 72, packet loss related parameter information sent by the device under test and obtained according to the received service flow under test;
acquiring packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested device.
According to the test equipment provided by the embodiment of the invention, the service flow to be tested is sent to the tested equipment according to the MTU value of the target maximum transmission unit; receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested; acquiring packet loss precision related information according to the packet loss related parameter information; the target MTU value is an MTU value supported by the tested device; the method can realize accurate manufacture of packet loss damage based on MTU supported by tested equipment, thereby realizing high-precision test for verifying packet network OAM (operation administration maintenance mechanism) packet loss measurement precision, in particular to very accurate test and evaluation of absolute packet loss number value and packet loss rate deviation degree of In-band OAM (In-band OAM) packet loss performance test; in addition, the scheme can be also suitable for 50G/100G/200G/400G FlexE and MTN interfaces and 200GE/400GE Ethernet interfaces, has wider application range, and well solves the problems of narrow application range and low test precision of the acquisition scheme of the packet loss performance test information in the prior art.
The packet loss related parameter information comprises at least one of a first packet loss number detected by the tested equipment and a first packet loss rate detected by the tested equipment.
In the embodiment of the invention, the information related to the packet loss precision comprises at least one of a first packet loss number detected by the tested equipment, a theoretical value of the packet loss number, a difference of the packet loss numbers, a deviation degree of the packet loss rate, a theoretical value of the packet loss rate and a first packet loss rate detected by the tested equipment.
In an embodiment of the present invention, the processor is specifically configured to: and sending the service flow to be tested to the tested equipment through the transceiver according to the target MTU value and the theoretical value of the packet loss number.
Specifically, the processor is specifically configured to: determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected; and sending the service flow to be tested to the tested equipment through the transceiver according to the MTU value and the packet loss number theoretical value.
More specifically, in the case that the theoretical value of the packet loss rate is 1, the theoretical value of the packet loss number is equal to the total amount of the data packets to be measured. And under the condition that the theoretical value of the packet loss rate is smaller than 1 and larger than 0, the theoretical value of the packet loss number is equal to the product of the theoretical value of the packet loss rate and the total quantity of the data packets to be tested.
In an embodiment of the present invention, the processor is specifically configured to: and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value.
Wherein, the processor is specifically configured to: and obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
Specifically, the processor is specifically configured to: and obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
In an embodiment of the present invention, the processor is specifically configured to: and obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
Wherein, the processor is specifically configured to: and obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
In an embodiment of the present invention, the processor is specifically configured to: according to the target MTU value, a first service flow is sent to the tested equipment through the transceiver; wherein the first service flow is a service flow with a packet size larger than the target MTU value.
In an embodiment of the present invention, the processor is specifically configured to: according to the target MTU value, transmitting a first service flow and a second service flow to the tested equipment through the transceiver; wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
Specifically, the processor is specifically configured to: determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss ratio; and transmitting the first service flow and the second service flow to the tested equipment through the transceiver according to the target MTU value and the transmission ratio.
More specifically, the processor is specifically configured to: and transmitting the first service flow and the second service flow to the tested equipment through the transceiver according to the target MTU value, the transmission ratio and the total data packet to be tested.
Further, the processor is further configured to: before determining the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate, determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate.
Still further, the processor is further configured to: after obtaining the packet loss precision related information according to the packet loss related parameter information, recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
In order to ensure data statistics accuracy, the processor is specifically configured to: in a first statistical period, according to a target MTU value, sending a service flow to be tested to tested equipment through the transceiver; the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
The implementation embodiments of the information acquisition method are applicable to the embodiment of the test equipment, and the same technical effects can be achieved.
The embodiment of the invention also provides test equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; the processor implements the information acquisition method described above when executing the program.
The implementation embodiments of the information acquisition method are applicable to the embodiment of the test equipment, and the same technical effects can be achieved.
The embodiment of the invention also provides a readable storage medium, on which a program is stored, which when executed by a processor, implements the steps of the information acquisition method described above.
The implementation embodiments of the information acquisition method are applicable to the embodiment of the readable storage medium, and the same technical effects can be achieved.
It should be noted that many of the functional components described in this specification are referred to as modules/sub-modules/units/sub-units in order to more particularly emphasize their implementation independence.
In embodiments of the present invention, the modules/sub-modules/units/sub-units may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Likewise, operational data may be identified within modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices.
Where a module may be implemented in software, taking into account the level of existing hardware technology, a module may be implemented in software, and one skilled in the art may, without regard to cost, build corresponding hardware circuitry, including conventional Very Large Scale Integration (VLSI) circuits or gate arrays, and existing semiconductors such as logic chips, transistors, or other discrete components, to achieve the corresponding functions. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and changes can be made without departing from the principles of the present invention, and such modifications and changes should also be considered as being within the scope of the present invention.

Claims (37)

1. An information acquisition method applied to test equipment, comprising the following steps:
sending a service flow to be tested to tested equipment according to the MTU value of the target maximum transmission unit;
receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested;
Acquiring packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested equipment;
the obtaining the packet loss precision related information according to the packet loss related parameter information comprises the following steps:
obtaining packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value;
and/or obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
2. The information acquisition method according to claim 1, wherein the packet loss related parameter information includes at least one of a first packet loss number detected by the device under test and a first packet loss rate detected by the device under test.
3. The information acquisition method according to claim 1 or 2, wherein the packet loss accuracy related information includes at least one of a first packet loss number detected by the device under test, a theoretical value of packet loss number, a difference in packet loss number, a degree of deviation in packet loss rate, a theoretical value of packet loss rate, and a first packet loss rate detected by the device under test.
4. The method for obtaining information according to claim 1, wherein the sending the traffic flow to be tested to the device to be tested according to the MTU value of the target maximum transmission unit includes:
And sending the service flow to be tested to the tested equipment according to the target MTU value and the theoretical value of the packet loss number.
5. The method for obtaining information according to claim 4, wherein the sending the traffic flow to be tested to the device to be tested according to the target MTU value and the theoretical value of the packet loss number includes:
determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected;
and sending the service flow to be tested to the tested equipment according to the MTU value and the packet loss number theoretical value.
6. The information acquisition method according to claim 5, wherein in the case where the packet loss rate theoretical value is 1, the packet loss number theoretical value is equal to the total amount of the data packets to be measured.
7. The information acquisition method according to claim 5, wherein the packet loss theoretical value is equal to a product of the packet loss theoretical value and a total amount of data packets to be measured in a case where the packet loss theoretical value is smaller than 1 and larger than 0.
8. The method for obtaining information according to claim 1, wherein obtaining the packet loss precision related information according to the packet loss related parameter information and the theoretical value of the packet loss number includes:
and obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
9. The method for obtaining information according to claim 1, wherein obtaining the packet loss precision related information according to the packet loss related parameter information and the theoretical value of the packet loss number includes:
and obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
10. The method of claim 1, wherein the obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value includes:
and obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
11. The method for obtaining information according to claim 1, wherein the sending the traffic flow to be tested to the device to be tested according to the MTU value of the target maximum transmission unit includes:
according to the target MTU value, a first service flow is sent to the tested equipment;
wherein the first service flow is a service flow with a packet size larger than the target MTU value.
12. The method for obtaining information according to claim 1, wherein the sending the traffic flow to be tested to the device to be tested according to the MTU value of the target maximum transmission unit includes:
According to the target MTU value, a first service flow and a second service flow are sent to the tested equipment;
wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
13. The method for obtaining information according to claim 12, wherein the sending the first traffic stream and the second traffic stream to the device under test according to the target MTU value includes:
determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss ratio;
and transmitting the first service flow and the second service flow to the tested equipment according to the target MTU value and the transmission ratio.
14. The information acquisition method according to claim 13, wherein the transmitting the first traffic flow and the second traffic flow to the device under test according to the target MTU value and the transmission ratio includes:
and sending the first service flow and the second service flow to the tested equipment according to the target MTU value, the sending ratio and the total quantity of the data packets to be tested.
15. The information acquisition method according to claim 13, characterized by, before determining the transmission ratio of the first traffic flow and the second traffic flow according to the packet loss rate theoretical value, further comprising:
And determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate.
16. The information acquisition method according to claim 15, characterized by further comprising, after obtaining the packet loss precision related information from the packet loss related parameter information:
recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
17. The method for obtaining information according to claim 1, wherein the sending the traffic flow to be tested to the device to be tested according to the MTU value of the target maximum transmission unit includes:
in a first statistical period, according to a target MTU value, sending a service flow to be tested to tested equipment;
the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
18. An information acquisition apparatus applied to a test device, comprising:
the first sending module is used for sending the service flow to be tested to the tested equipment according to the MTU value of the target maximum transmission unit;
The first receiving module is used for receiving the packet loss related parameter information which is sent by the tested equipment and is obtained according to the received service flow to be tested;
the first processing module is used for obtaining the packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested equipment;
the first processing module includes:
the first processing sub-module is used for obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value;
and/or the second processing sub-module is used for obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
19. The information acquisition apparatus according to claim 18, wherein the packet loss related parameter information includes at least one of a first packet loss number detected by the device under test and a first packet loss rate detected by the device under test.
20. The information acquisition apparatus according to claim 18 or 19, wherein the packet loss accuracy related information includes at least one of a first packet loss number detected by the device under test, a theoretical value of packet loss number, a difference in packet loss number, a degree of deviation in packet loss rate, a theoretical value of packet loss rate, and a first packet loss rate detected by the device under test.
21. The information acquisition device of claim 18, wherein the first transmission module comprises:
and the first sending submodule is used for sending the service flow to be tested to the tested equipment according to the target MTU value and the theoretical value of the packet loss number.
22. The information acquisition device of claim 21, wherein the first transmission sub-module comprises:
the first determining unit is used for determining a packet loss number theoretical value according to the packet loss rate theoretical value and the total amount of the data packets to be detected;
and the first sending unit is used for sending the service flow to be tested to the tested equipment according to the MTU value and the packet loss number theoretical value.
23. The information acquisition apparatus according to claim 22, wherein in the case where the packet loss rate theoretical value is 1, the packet loss number theoretical value is equal to the total amount of the data packets to be measured.
24. The information acquisition apparatus according to claim 22, wherein in the case where the packet loss rate theoretical value is smaller than 1 and larger than 0, the packet loss number theoretical value is equal to a product of the packet loss rate theoretical value and a total amount of data packets to be measured.
25. The information acquisition device of claim 18, wherein the first processing sub-module comprises:
And the first processing unit is used for obtaining the difference of the packet loss numbers according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
26. The information acquisition device of claim 18, wherein the first processing sub-module comprises:
and the second processing unit is used for obtaining the deviation degree of the packet loss rate according to the first packet loss number and the theoretical value of the packet loss number detected by the tested equipment contained in the packet loss related parameter information.
27. The information acquisition device of claim 18, wherein the second processing sub-module comprises:
and the third processing unit is used for obtaining the deviation degree of the packet loss rate according to the first packet loss rate and the theoretical value of the packet loss rate detected by the tested equipment contained in the packet loss related parameter information.
28. The information acquisition device of claim 18, wherein the first transmission module comprises:
the second sending submodule is used for sending the first service flow to the tested equipment according to the target MTU value;
wherein the first service flow is a service flow with a packet size larger than the target MTU value.
29. The information acquisition device of claim 18, wherein the first transmission module comprises:
The third sending submodule is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value;
wherein, the first service flow is a service flow with a packet length larger than the target MTU value; the second service flow is a service flow with the packet length smaller than or equal to the target MTU value.
30. The information acquisition apparatus according to claim 29, wherein the third transmission sub-module includes:
a second determining unit, configured to determine a transmission ratio of the first traffic flow and the second traffic flow according to a packet loss rate theoretical value;
and the second sending unit is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value and the sending ratio.
31. The information acquisition apparatus according to claim 30, wherein the second transmission unit includes:
and the first sending subunit is used for sending the first service flow and the second service flow to the tested equipment according to the target MTU value, the sending ratio and the total data packet quantity to be tested.
32. The information acquisition apparatus according to claim 30, characterized by further comprising:
and the first determining module is used for determining at least two theoretical values of the packet loss rate according to the expected value of the packet loss rate before determining the transmission ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
33. The information acquisition apparatus according to claim 32, characterized by further comprising:
the second processing module is used for recording the packet loss related parameter information and the packet loss precision related information under the condition that the packet loss precision related information does not meet the index condition after the packet loss precision related information is obtained according to the packet loss related parameter information; and adopting the next theoretical value of the packet loss rate, and returning to execute the sending ratio of the first service flow and the second service flow according to the theoretical value of the packet loss rate.
34. The information acquisition device of claim 18, wherein the first transmission module comprises:
a fourth sending submodule, configured to send a service flow to be tested to the tested device according to the target MTU value in the first statistical period;
the first statistical period is a statistical period of an in-band operation management maintenance mechanism.
35. A test apparatus, comprising: a processor and a transceiver;
the processor is used for sending the service flow to be tested to the tested equipment through the transceiver according to the MTU value of the target maximum transmission unit;
receiving packet loss related parameter information which is transmitted by the tested equipment and is obtained according to the received service flow to be tested through the transceiver;
Acquiring packet loss precision related information according to the packet loss related parameter information;
the target MTU value is an MTU value supported by the tested equipment;
the obtaining the packet loss precision related information according to the packet loss related parameter information comprises the following steps:
obtaining packet loss precision related information according to the packet loss related parameter information and the packet loss number theoretical value;
and/or obtaining the packet loss precision related information according to the packet loss related parameter information and the packet loss rate theoretical value.
36. A test apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor; the information acquisition method according to any one of claims 1 to 17, characterized in that the processor executes the program.
37. A readable storage medium, on which a program is stored, characterized in that the program, when being executed by a processor, realizes the steps in the information acquisition method according to any one of claims 1 to 17.
CN202010709137.XA 2020-07-22 2020-07-22 Information acquisition method, device and test equipment Active CN113973070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010709137.XA CN113973070B (en) 2020-07-22 2020-07-22 Information acquisition method, device and test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010709137.XA CN113973070B (en) 2020-07-22 2020-07-22 Information acquisition method, device and test equipment

Publications (2)

Publication Number Publication Date
CN113973070A CN113973070A (en) 2022-01-25
CN113973070B true CN113973070B (en) 2023-07-21

Family

ID=79584675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010709137.XA Active CN113973070B (en) 2020-07-22 2020-07-22 Information acquisition method, device and test equipment

Country Status (1)

Country Link
CN (1) CN113973070B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884569B (en) * 2022-06-09 2023-06-16 中国联合网络通信集团有限公司 Method, device, equipment and storage medium for determining optical network unit to be remediated

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783715A (en) * 2009-11-19 2010-07-21 北京邮电大学 Method and system for monitoring packet loss rate of network
CN105515885A (en) * 2014-09-30 2016-04-20 华为技术有限公司 Packet loss statistical method, control device, sheet dividing device and recombination device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8214535B2 (en) * 2006-03-28 2012-07-03 International Business Machines Corporation Changing Ethernet MTU size on demand with no data loss
US9069727B2 (en) * 2011-08-12 2015-06-30 Talari Networks Incorporated Adaptive private network with geographically redundant network control nodes
CN101800671B (en) * 2010-02-08 2012-05-23 同济大学 Method for detecting packet loss of H.264 video file
CN102891772A (en) * 2011-07-18 2013-01-23 鸿富锦精密工业(深圳)有限公司 Method and system for testing performance of network card
CN103647724B (en) * 2013-12-30 2017-04-19 大唐移动通信设备有限公司 Adaptation method and device of maximum transmission unit (MTU)
WO2017127000A1 (en) * 2016-01-20 2017-07-27 Telefonaktiebolaget Lm Ericsson (Publ) Methods, system and user equipment of a wireless communication network for determining transmission conditions for a real-time media flow

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783715A (en) * 2009-11-19 2010-07-21 北京邮电大学 Method and system for monitoring packet loss rate of network
CN105515885A (en) * 2014-09-30 2016-04-20 华为技术有限公司 Packet loss statistical method, control device, sheet dividing device and recombination device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络丢包在线检测算法研究;左延智;王娟;吴训吉;张宗鹏;;数字通信世界(05);全文 *

Also Published As

Publication number Publication date
CN113973070A (en) 2022-01-25

Similar Documents

Publication Publication Date Title
EP1734690B1 (en) Performance monitoring of frame transmission in a data network utilising OAM protocols
US11502932B2 (en) Indirect testing using impairment rules
US9210050B2 (en) System and method for a testing vector and associated performance map
US7769850B2 (en) System and method for analysis of communications networks
US7475130B2 (en) System and method for problem resolution in communications networks
US8085674B2 (en) Priority trace in data networks
US8724503B2 (en) Sub-path E2E probing
US20030023710A1 (en) Network metric system
US20080159287A1 (en) EFFICIENT PERFORMANCE MONITORING USING IPv6 CAPABILITIES
US20130336146A1 (en) Method and apparatus for providing availability metrics for measurement and management of ethernet services
US20090161569A1 (en) System and method for facilitating carrier ethernet performance and quality measurements
EP3295612B1 (en) Uplink performance management
CN112311614A (en) System, method and related device for evaluating network node related transmission performance
WO2017032133A1 (en) Packet loss rate detection method and apparatus
KR20140080494A (en) Measurement on a data flow in a communication network
US7274663B2 (en) System and method for testing differentiated services in a value add network service
CN113973070B (en) Information acquisition method, device and test equipment
US10833966B2 (en) Systems and methods for service availability determination in packet networks
US20230318970A1 (en) Packet Processing Method and Apparatus
CN116016282A (en) Time delay measurement method and device, computer equipment and storage medium
Corral et al. End-to-end active measurement architecture in ip networks (saturne)
CN117041134A (en) Data path planning method, device and equipment
US20140307561A1 (en) Synthetic loss measurements using session numbers
CN114697202A (en) Detection method and device
US20240056346A1 (en) Mobile network synchronization domain anomaly identification and correlation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant