CN107889132A - The method, apparatus and system of a kind of link quality measurements - Google Patents

The method, apparatus and system of a kind of link quality measurements Download PDF

Info

Publication number
CN107889132A
CN107889132A CN201610875513.6A CN201610875513A CN107889132A CN 107889132 A CN107889132 A CN 107889132A CN 201610875513 A CN201610875513 A CN 201610875513A CN 107889132 A CN107889132 A CN 107889132A
Authority
CN
China
Prior art keywords
test
link
reflection end
transmitting terminal
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610875513.6A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610875513.6A priority Critical patent/CN107889132A/en
Publication of CN107889132A publication Critical patent/CN107889132A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The invention discloses a kind of method, apparatus of link quality measurements and system, it is related to communication technique field, its method includes:For customer side when initiating link quality measurements, it is to test the negotiation packet of reflector port which the link aggregation subport sent to service side for consulting to test transmitting terminal, which is test sending port and which link aggregation subport of reflection end tested,;Customer side is obtained by the test sending port for consulting to determine and the test reflector port according to the response message from the service side;Test transmitting terminal and send test packet to test reflection end using the test sending port, and the test response message returned according to test reflection end using the test reflector port, the link that the link connected to the test transmitting terminal and the test reflection end are connected carry out link quality measurements.

Description

The method, apparatus and system of a kind of link quality measurements
Technical field
The present invention relates to communication technique field, the method, apparatus and system of more particularly to a kind of link quality measurements.
Background technology
Under the network environment and service logic of complexity, when customer service experience end to end is abnormal to be occurred, O&M The problem of personnel are difficult quickly to judge the problem of being operation system in a short time, or basic network causes, not to mention soon The problem of speed positioning is specific and reason.How end-to-end QoS situation is actively monitored, accurately grasp a specific transactions The complete trails forwarding situation of stream has become current vast operation maintenance personnel to realize that the fast accurate of end to end network failure diagnoses The primary problem faced, and current network O&M field urgent problem.TWAMP(Two-way Active Measurement Portocol, two-way active measurement agreement) agreement exactly for solution, give birth to by the problem.
TWAMP is in OWAMP (One-way Active Measurement Protocol, unidirectional active measurement agreement) On the basis of evolution, two two-way network performance measurements of LA Management Room can be carried out, it then follows IETF RFC5357 mark It is accurate.
TWAMP agreements are made up of two parts agreement:TWAMP control protocols (TWAMP-Contrl) and TWAMP test protocols (TWAMP-Test), the former is based on TCP for connecting foundation, session parameter negotiation, starting session and end session, and the latter is based on UDP sends TWAMP-Test protocol massages, session reflection end (Session- by session transmitting terminal (Session-Sender) Reflector the information such as message, the timestamp in message) is reflected, the performance indications measurement being transmitted.
Link aggregation is that a plurality of physical link condenses together, and a logical links is formed, to realize that in/out load exists Sharing in each member port and link backup in aggregation group, while also provide higher connection reliability.For example it is based on The LACP (Link Aggregation Control Protocol, Link Aggregation Control Protocol) of IEEE802.3ad standards is one Kind realizes the agreement of link dynamic aggregation, and it passes through LACPDU (Link Aggregation Control Protocol Data Unit, link aggregate control protocol data cell) and opposite end interactive information, realize dynamic aggregation port.
As shown in figure 1, by taking eNodeB as an example, link aggregation is used between eNodeB and interchanger, by link 1 and link 2 Condensing together turns into an aggregated links, and eNodbB port 1 and 2 condenses together as aggregation port, the port 3 of interchanger Condensed together with 4 as aggregation port.Existing TWAMP standards can only carry out the IP performance metrics of aggregated links, can not measure chain The IP performances on road 1 or the IP performances of link 2, so when a wherein physical link hydraulic performance decline, whole logic chain can be caused Caused by road is the hydraulic performance decline of aggregated links, but TWAMP can not know specifically which bar physical link.
The content of the invention
The technical problem that the scheme provided according to embodiments of the present invention solves is in the scene of link aggregation in TWAMP agreements Under can not measure specific physical link performance indications.
A kind of method of the link quality measurements provided according to embodiments of the present invention, including:
Customer side sends to service side and gathered for consulting to test which link of transmitting terminal when initiating link quality measurements It is to test the negotiation of reflector port that zygote port, which is test sending port and which link aggregation subport of reflection end tested, Message;
Customer side obtains sending by the test for consulting to determine according to the response message from the service side Port and the test reflector port;
Test transmitting terminal and send test packet to test reflection end using the test sending port, and reflected according to test The test response message that end is returned using the test reflector port, the link connected to the test transmitting terminal and the survey The link that examination reflection end is connected carries out link quality measurements.Preferably, the negotiation packet includes the test hair for needing to consult The information of the information of the link aggregation subport of sending end and the link aggregation subport of test reflection end.
Preferably, the response message includes information and the test of the link aggregation subport of the test transmitting terminal after consulting The information of the link aggregation subport of reflection end.
Preferably, the link aggregation subport of described test reflection end includes:
The link of the test reflection end corresponding with the link that the test transmitting terminal link aggregation subport is connected Aggregated sub-port;
It is relative on other links being not connected with same aggregated links with the test transmitting terminal link aggregation subport The link aggregation subport for the test reflection end answered.
Preferably, described test transmitting terminal sends test packet using the test sending port to test reflection end, And the test response message returned according to test reflection end using the test reflector port, the test transmitting terminal is connected Link and the link that is connected of test reflection end carry out link quality measurements and include:
The test transmitting terminal is to corresponding with the link that is connected of test transmitting terminal link aggregation subport Test reflection end and send test packet, and the test response message returned according to test reflection end, to the up of the link and It is descending to carry out link quality measurements respectively.
Preferably, the test transmitting terminal sends test packet using the test sending port to test reflection end, and The test response message returned according to test reflection end using the test reflector port, the test transmitting terminal is connected The link that link and the test reflection end are connected, which carries out link quality measurements, to be included:
The transmitting terminal of testing is to phase on other links being not connected with the test transmitting terminal link aggregation subport It is corresponding test reflection end send test packet, and according to test reflection end return test response message, pair with the test The link that transmitting terminal is connected is up and carries out link quality measurements with the downlink that the test reflection end is connected.
A kind of device of the link quality measurements provided according to embodiments of the present invention, including:
Sending module, for customer side when initiating link quality measurements, send to service side and sent for consulting test It is test which link aggregation subport at end, which is test sending port and which link aggregation subport of reflection end tested, The negotiation packet of reflector port;
Determining module, for customer side according to the response message from the service side, obtain consulting to determine by described The test sending port and the test reflector port;
Link quality measurements module, survey is sent to test reflection end using the test sending port for testing transmitting terminal Message, and the test response message returned according to test reflection end using the test reflector port are tried, the test is sent The link that the connected link in end and the test reflection end are connected carries out link quality measurements.Preferably, it is described to consult report The information of link aggregation subport of the text comprising the test transmitting terminal for needing to consult and the link aggregation subport of test reflection end Information.
Preferably, the response message includes information and the test of the link aggregation subport of the test transmitting terminal after consulting The information of the link aggregation subport of reflection end.
Preferably, the link aggregation subport of described test reflection end includes:
The link of the test reflection end corresponding with the link that the test transmitting terminal link aggregation subport is connected Aggregated sub-port;
It is relative on other links being not connected with same aggregated links with the test transmitting terminal link aggregation subport The link aggregation subport for the test reflection end answered.
A kind of system of the link quality measurements provided according to embodiments of the present invention, including:
Base station, for when initiating link quality measurements, which chain for consulting test transmitting terminal to be sent to interchanger It is test reflector port that road aggregated sub-port, which is test sending port and which link aggregation subport of reflection end tested, Negotiation packet, and desampler consults the test sending port of determination and the test reflector port, and test hair Sending end sends test packet using the test sending port to test reflection end, and utilizes the test according to test reflection end The test response message that reflector port returns, the link connected to the test transmitting terminal and the test reflection end are connected Link carry out link quality measurements;
Interchanger, for the negotiation packet sent according to base station, determine the test sending port and the test reflection Port.
Preferably, the negotiation packet includes information and the survey of the link aggregation subport for the test transmitting terminal for needing to consult Try the information of the link aggregation subport of reflection end;The response message includes link aggregation of the test transmitting terminal after consulting The information of the information of port and the link aggregation subport of test reflection end.
The scheme provided according to embodiments of the present invention, by TWAMP control message Request-TW-Session and Polymerization information about firms relevant field is added in Accept-Session messages in reserve bytes, and in customer side and service side association Parse the aggregation port information of negotiation during business's parameter, both ends use the aggregation port member of each auto-negotiation during TWAMP test packets Give out a contract for a project, realize that test packet transmits in specified physical link, so as to reach the physical link in measurement aggregated links Capability and performance effect.And the performance metric of each real physical links can be carried out in the network implementation TWAMP of link aggregation.
Brief description of the drawings
Fig. 1 is the port trunking network diagram that prior art provides;
Fig. 2 is a kind of method flow diagram of link quality measurements provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic device of link quality measurements provided in an embodiment of the present invention;
Fig. 4 is TWAMP message interactions schematic diagram provided in an embodiment of the present invention;
Fig. 5 is Request-TW-Session message formats in TWAMP-Control messages provided in an embodiment of the present invention Schematic diagram;
Fig. 6 is that Accept-Session message formats are illustrated in TWAMP-Control messages provided in an embodiment of the present invention Figure;
The control client that Fig. 7 is TWAMP provided in an embodiment of the present invention sends Request-TW-Session messages Flow chart;
Fig. 8 is that TWAMP provided in an embodiment of the present invention service end sends the flow chart of Accept-Session messages;
Fig. 9 is that TWAMP provided in an embodiment of the present invention control client receives the flow of Accept-Session messages Figure;
Figure 10 is the flow chart that TWAMP sessions transmitting terminal provided in an embodiment of the present invention sends TWAMP-Test messages;
Figure 11 is the flow chart that TWAMP sessions reflection end provided in an embodiment of the present invention receives TWAMP-Test messages;
Figure 12 is the schematic diagram of link quality measurements provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below is excellent Select embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 2 is a kind of method flow diagram of link quality measurements provided in an embodiment of the present invention, as shown in Fig. 2 including:
Step S201:Customer side is sent for consulting to test transmitting terminal when initiating link quality measurements to service side It is test reflection which link aggregation subport, which is test sending port and which link aggregation subport of reflection end tested, The negotiation packet of port;
Step S202:Customer side is obtained by the institute for consulting to determine according to the response message from the service side State test sending port and the test reflector port;
Step S203:Test transmitting terminal and send test packet, and root to test reflection end using the test sending port The test response message returned according to test reflection end using the test reflector port, the chain connected to the test transmitting terminal The link that road and the test reflection end are connected carries out link quality measurements.
Wherein, the negotiation packet includes information and the test of the link aggregation subport for the test transmitting terminal for needing to consult The information of the link aggregation subport of reflection end.The response message includes the sub- end of link aggregation of the test transmitting terminal after consulting The information of the information of mouth and the link aggregation subport of test reflection end.
Specifically, the link aggregation subport of described test reflection end includes:Gather with the test transmitting terminal link The link aggregation subport of corresponding test reflection end on the link that zygote port is connected;In same aggregated links with it is described The sub- end of link aggregation of corresponding test reflection end on other links that test transmitting terminal link aggregation subport is not connected with Mouthful.
Wherein, described test transmitting terminal sends test packet using the test sending port to test reflection end, and The test response message returned according to test reflection end using the test reflector port, the test transmitting terminal is connected The link that link and the test reflection end are connected, which carries out link quality measurements, to be included:It is described test transmitting terminal to the survey Corresponding test reflection end sends test packet on the link that examination transmitting terminal link aggregation subport is connected, and according to test The test response message that reflection end returns, the uplink and downlink to the link carry out link quality measurements respectively.It is or described Test transmitting terminal is anti-to test corresponding on other links being not connected with the test transmitting terminal link aggregation subport Penetrate end send test packet, and according to test reflection end return test response message, pair with it is described test transmitting terminal be connected Link it is up and carry out link quality measurements with the downlink that is connected of test reflection end.
Fig. 3 is a kind of schematic device of link quality measurements provided in an embodiment of the present invention, as shown in figure 3, including:Hair Send module 301, for customer side when initiating link quality measurements, to service side send for consult test transmitting terminal which It is test reflector port that link aggregation subport, which is test sending port and which link aggregation subport of reflection end tested, Negotiation packet;Determining module 302, for customer side according to the response message from the service side, obtain by the association The test sending port and the test reflector port that business determines;Link quality measurements module 303, for testing transmitting terminal Test packet is sent to test reflection end using the test sending port, and is reflected according to test reflection end using the test The chain that the test response message that port returns, the link connected to the test transmitting terminal and the test reflection end are connected Road carries out link quality measurements.
Wherein, the negotiation packet includes information and the test of the link aggregation subport for the test transmitting terminal for needing to consult The information of the link aggregation subport of reflection end.The response message includes the sub- end of link aggregation of the test transmitting terminal after consulting The information of the information of mouth and the link aggregation subport of test reflection end.
Specifically, the link aggregation subport of described test reflection end includes:Gather with the test transmitting terminal link The link aggregation subport of corresponding test reflection end on the link that zygote port is connected;In same aggregated links with it is described The sub- end of link aggregation of corresponding test reflection end on other links that test transmitting terminal link aggregation subport is not connected with Mouthful.
The embodiment of the present invention additionally provides a kind of system of link quality measurements, including:Base station, for initiating link matter During measurement, to interchanger send for consult test transmitting terminal which link aggregation subport for test sending port and Which the link aggregation subport for testing reflection end is the negotiation packet of test reflector port, and desampler consults what is determined The test sending port and the test reflector port, and test transmitting terminal are anti-to test using the test sending port Penetrate end and send test packet, and the test response message returned according to test reflection end using the test reflector port, to institute State link and the link progress link quality measurements tested reflection end and connected that test transmitting terminal is connected;Interchanger, For the negotiation packet sent according to base station, the test sending port and the test reflector port are determined.
Wherein, the negotiation packet includes information and the test of the link aggregation subport for the test transmitting terminal for needing to consult The information of the link aggregation subport of reflection end;The response message includes the sub- end of link aggregation of the test transmitting terminal after consulting The information of the information of mouth and the link aggregation subport of test reflection end.
4 the content of the embodiment of the present invention is described in detail to accompanying drawing 12 below in conjunction with the accompanying drawings, wherein, control hereinafter Client processed is customer side above, and service end hereinafter is service side above, and session transmitting terminal hereinafter is Test transmitting terminal above, session reflection end hereinafter is test reflection end above.
Fig. 4 is TWAMP message interactions schematic diagram provided in an embodiment of the present invention, as shown in figure 4, with negotiation packet and response Exemplified by Request-TW-Session and Accept-Session messages in message multiplexing TWAMP agreements, now TWAMP is interacted Be with TWAMP standards it is consistent, the embodiment be to the Request-TW-Session of session parameter negotiation phase and Accept-Session messages have been changed with processing, and change is as shown in Figure 5 and Figure 6.
Wherein, Request-TW-Session message formats in TWAMP-Control messages, as shown in figure 5, type is represented Whether expansion type is had.Type does not extend for 0, and type is 1 expression polymeric type.MBZ (Must Be Zero, it is necessary to for 0) Expression is necessary for 0, and control client must fill out 0 when sending, service end is not checked as 0 when receiving.Sender Trunk ID are represented The polymerization member number of session transmitting terminal.Rcv Trunk ID represent the polymerization member number of session reflection end.Other fields press TWAMP Standard defines.
When controlling client transmission Request-TW-Session messages, if type=0, i.e., the message does not carry any Aggregation information, MBZ and subsequent Sender Trunk ID and Rcv Trunk ID are necessary for 0, with original justice in TWAMP standards Request-TW-Session messages it is consistent.Service end receive the message judge type=0 be ignored as MBZ and subsequent Sender Trunk ID and Rcv Trunk ID.
When controlling client transmission Request-TW-Session messages, if Type=1, i.e., the message carries any poly- Information is closed, now MBZ is necessary for the polymerization member number that 0, Sender Trunk ID represent session transmitting terminal, Rcv Trunk ID Represent the polymerization member number of suggestion session reflection end.By taking accompanying drawing 1 as an example, TWAMP service end and session reflection end are interchanger, TWAMP control client and session transmitting terminal is eNB, and Sender Trunk ID can be 1 port for representing session transmitting terminal 1.Rcv Trunk ID can be 3 ports 3 for representing session reflection end.
Wherein, Accept-Session message formats in TWAMP-Control messages, as shown in fig. 6, type is indicated whether There is expansion type.Type does not extend for 0, and type is 1 expression polymeric type.MBZ expressions are necessary for 0, and control client is sent Shi Bixu fills out 0, and service end is not checked as 0 when receiving.Sender Trunk ID represent the polymerization member number of session transmitting terminal.Rcv Trunk ID represent the polymerization member number of session reflection end.Other fields are defined by TWAMP standards.
The control client that Fig. 7 is TWAMP provided in an embodiment of the present invention sends Request-TW-Session messages Flow chart, Set-Up-Response messages are sent as shown in fig. 7, being entered according to the state machine of TWAMP agreements and have received After Server-Start messages, Server-Start messages are handled by former consensus standard.If service end agrees the company of foundation Connect, connection is successfully established, and control client will send Request-TW-Session messages.
First prepare buffer cachings for Request-TW-Session messages, Request-TW- is filled in by former consensus standard Session all fields.Judge whether the address of queued session transmitting terminal is carried on aggregation port again, if it is not, just will Type, MBZ, Sender Truck ID and Rcv Trunk ID fill out 0.If it is, the purpose for judging queued session is that measurement is poly- Close link and still measure sublink, basis for estimation can be user configuration., will if the purpose of session is measurement aggregated links Type, MBZ, Sender Truck ID and Rcv Trunk ID fill out 0.If the purpose of session is that measurement is sublink, selection is poly- Member number is closed, foundation can be user configuration, or ask all sublinks successively.By aggregating into for the session transmitting terminal of selection Member number is inserted in caching.The polymerization member number recommended value of a session reflection end can be selected simultaneously, it is proposed that value can be that user matches somebody with somebody Put or aggregation port consult when confirm session transmitting terminal polymerization member corresponding to reflection end polymerization member number.Fill out After writing all fields, Request-TW-Session messages are sent to service end by control client.
That is, control client device after connection is successfully established, sends negotiation packet to service end;Consult herein Message can be Request-TW-Session messages or customized message.Client is controlled to determine described association Whether Business's text needs to carry aggregation port member number;The aggregation port member number includes transmitting terminal aggregation port member number and reflection end Aggregation port member number.If the Sender Address of session negotiation are the addresses based on aggregation port, then it is optional, it can take Band transmitting terminal aggregation port member number, all TWAMP-Test messages of the session are represented, transmitting terminal is only from the aggregation port member port Send.If the Sender Address of session negotiation are not based on the address of aggregation port, not carrying aggregation port member necessarily Number.Equally the distal end aggregation port member is optional fills out corresponding to suggestion session reflection end (Session-Reflector) aggregation port Member port number.
Fig. 8 is that TWAMP provided in an embodiment of the present invention service end sends the flow chart of Accept-Session messages, such as Shown in Fig. 8, entered according to the state machine of TWAMP agreements and sent Server-Start messages, receive Request-TW- After Session messages, Request-TW-Session messages are handled by former consensus standard.Request-TW-Session is judged again Whether type is 0 in message, if type is 0, is handled by original TWAMP standard agreements, just by Accept-Session messages In type, MBZ, Sender Truck ID and Rcv Trunk ID all fill out 0;If type is 1, then judges the session of request Whether the address of reflection end is carried on aggregation port, if it is not, just by the type in Request-TW-Session messages, MBZ, Sender Truck ID copy the type of Accept-Session messages, MBZ, Sender Truck ID to, but Rcv Trunk ID fill out 0xff and represent invalid.If the address of the session reflection end of request is carried on aggregation port, and Rcv Trunk ID port is the member of aggregation port corresponding to the Receiver Address, can be used as reflection end reflection TWAMP-Test reports The port of text, just by the type in Request-TW-Session messages, MBZ, Sender Truck ID, Rcv Trunk ID Copy the type, MBZ, Sender Truck ID, Rcv Trunk ID of Accept-Session messages to.If the meeting of request The address of words reflection end is carried on aggregation port, but Rcv Trunk ID port cannot function as reflection end reflection TWAMP- The port of Test messages, or it is not the member of aggregation port corresponding to Receiver Address, just by Request-TW- Type, MBZ, Sender Truck ID in Session messages copy to Accept-Session messages type, MBZ, Sender Truck ID, Rcv Trunk ID fill in the port of the session reflection end of service end accreditation, and the port is Receiver The member of aggregation port corresponding to Address.
That is, service end receives negotiation packet, whether confirmation message, which has, carries aggregation port member number.If taking Band, then analysis session reflection end whether have carrying.If it is not, in spite of link aggregation be present, its TWAMP-Test is reported The end that text is carried by the session reflection end IP address (Receiver Address) specified in Request-TW-Session messages Mouth is sent;If so, then judge whether that session reflection end has link aggregation, when session reflection end has link aggregation, and can respond In response message and message during Accept=0, the aggregation port member number of session reflection end accreditation can be carried in response message; When session reflection end does not have link aggregation, then when session reflection end responds Accept=0 in response message and message, it is proposed that logical Notify words transmitting terminal, session reflection end is without using polymerization member.When session reflection end responds Accept in response message and message Polymerization member number need not be carried when not being 0.Above-mentioned response message can be Accept-Session messages or self-defined report Text.
Fig. 9 is that TWAMP provided in an embodiment of the present invention control client receives the flow of Accept-Session messages Figure, as shown in figure 9, when controlling client to receive Accept-Session messages, the aggregation information in message can be read.Such as retribution Accept is not 0 in text, represents that service end have rejected the session negotiation parameter, it is necessary to renegotiate.If Accept is 0, table Show that service end has agreed to the parameter of the session negotiation, and read the Rcv Trunk ID of Accept-Session messages, represent Follow-up IP performance metrics are the link performances between Sender Truck ID and Rcv Trunk ID.
That is, after control client receives response message, confirm whether Accept is 0. to be represented when Accept is non-zero Service end have rejected negotiation request, represents that service end receives negotiation request when Accept is 0, at this moment needs to read out response The polymerization member number that message carries.
Figure 10 is the flow chart that TWAMP sessions transmitting terminal provided in an embodiment of the present invention sends TWAMP-Test messages, such as Shown in Figure 10, when sending test packet, the aggregation port information that oneself is preserved is checked, if so, then by the polymerization message consulted Breath is sent.
Specifically, after session is started, session transmitting terminal starts to send TWAMP-Test messages.When session transmitting terminal The TWAMP-Test message buffer sent are ready to, and after each field has been filled with, inquire about TWAMP parameter negotiation knots Aggregation information in fruit, if be 0xff invalid values without Sender Trunk ID in aggregation information or aggregation information, represent The message does not have to specify polymerization member port to send, and is directly sent by the Sender Address ports associated.If Aggregation information and Sender Trunk ID are virtual value, then by negotiation result by TWAMP-Test messages from Sender Trunk The port that ID is specified is sent.
Figure 11 is the flow chart that TWAMP sessions reflection end provided in an embodiment of the present invention receives TWAMP-Test messages, such as Shown in Figure 11, each field is filled with after session reflection end receives TWAMP-Test messages, and by standard agreement, inquires about TWAMP Aggregation information in parameter negotiation result, if being 0xff invalid values without Rcv Trunk ID in aggregation information or aggregation information When, represent that the message does not have to specify polymerization member port to send, directly sent out by the Receiver Address ports associated Go.If aggregation information and Rcv Trunk ID are virtual value, then by negotiation result by TWAMP-Test messages from Rcv The port that Trunk ID are specified is sent.
Figure 12 is the schematic diagram of link quality measurements provided in an embodiment of the present invention, left side equipment include TWAMP modules and LACP modules, the equipment control client and session transmitting terminal as TWAMP.The right equipment includes TWAMP modules and LACP moulds Block, the equipment is as TWAMP service ends and session reflection end.Two equipment have two network interfaces ETH1 and ETH2, connect respectively Together.
LACP modules implement LACP agreements, two network interfaces are condensed together, respectively with Peer Negotiation and keep-alive.
TWAMP control client modules, which are realized, to be consulted with TWAMP server modules foundation connection, session parameter, starts meeting Words, terminate session.TWAMP controls client to go to inquire about the information of LACP modules in session parameter negotiation phase, it is determined that to measure Link whether be aggregation port, if selective polymerization mouth member will be needed to measure according to measurement, to select ETH1 to survey Exemplified by amount, Request-TW-Session messages as shown in Figure 5 are sent to TWAMP service ends.Afterwards to receiving service end The Accept-Session packet parsings that module is beamed back, obtain the aggregation port information at both ends and preserve, idiographic flow such as Fig. 7 and figure Shown in 9.
TWAMP server modules, which are realized, consults with TWAMP control client modules foundation connection, session parameter, starts meeting Words, terminate session.TWAMP server modules receive Request-TW-Session messages in session parameter negotiation phase, it is determined that Whether the link to be measured is aggregation port, if selective polymerization mouth member will be needed to measure according to measurement, with selection ETH1 exemplified by measuring, preserves aggregation port information.Accept-Session messages as shown in Figure 6 are sent to TWAMP controls Client.Idiographic flow is as shown in Figure 8.
TWAMP session transmitting terminal, realization send test messages to session reflection end.At this moment session transmitting terminal can be inquired about In the aggregation port information that session parameter is consulted to preserve, TWAMP test packets are all sent by ETH1.
TWAMP session reflection end, realizes test packet being reflected to session reflection end.At this moment session reflection end can be inquired about In the aggregation port information that session parameter is consulted to preserve, TWAMP test packets are all reflected away by ETH1.
The scheme provided according to embodiments of the present invention, by Request-TW-Session and Accept-Session reports Polymerization information about firms relevant field is added in text, specified of TWAMP-Test stages test packet is aggregated into for one therefrom Member's mouth is sent, and reaches the effect that mass measurement can be carried out to the specific physical link in aggregated links.
Although the present invention is described in detail above, the invention is not restricted to this, those skilled in the art of the present technique Various modifications can be carried out according to the principle of the present invention.Therefore, all modifications made according to the principle of the invention, all should be understood to Fall into protection scope of the present invention.

Claims (12)

1. a kind of method of link quality measurements, including:
Which link aggregation for consulting test transmitting terminal sent when initiating link quality measurements, to service side for customer side It is to test the negotiation packet of reflector port that port, which is test sending port and which link aggregation subport of reflection end tested,;
Customer side is obtained by the test sending port for consulting to determine according to the response message from the service side With the test reflector port;
Test transmitting terminal and send test packet to test reflection end using the test sending port, and according to test reflection end profit The test response message returned with the test reflector port, the link and the test connected to the test transmitting terminal are anti- Penetrate and hold connected link to carry out link quality measurements.
2. according to the method for claim 1, the negotiation packet includes the link aggregation for the test transmitting terminal for needing to consult The information of the link aggregation subport for the test reflection end that the information and needs of subport are consulted.
3. according to the method for claim 2, the response message includes link aggregation of the test transmitting terminal after consulting The information of the link aggregation subport of test reflection end after the information of port and negotiation.
4. according to the method in claim 2 or 3, the link aggregation subport of described test reflection end includes:
The link aggregation of the test reflection end corresponding with the link that the test transmitting terminal link aggregation subport is connected Subport;
It is corresponding with other links that the test transmitting terminal link aggregation subport is not connected with same aggregated links Test the link aggregation subport of reflection end.
5. according to the method for claim 4, described test transmitting terminal is reflected using the test sending port to test End sends test packet, and the test response message returned according to test reflection end using the test reflector port, to described The link that the link and the test reflection end that test transmitting terminal is connected are connected, which carries out link quality measurements, to be included:
The transmitting terminal of testing is to test corresponding on the link being connected with the test transmitting terminal link aggregation subport Reflection end sends test packet, and the test response message returned according to test reflection end, the uplink and downlink to the link Link quality measurements are carried out respectively.
6. according to the method for claim 4, the test transmitting terminal utilizes the test sending port to test reflection end Test packet, and the test response message returned according to test reflection end using the test reflector port are sent, to the survey The link that the link and the test reflection end that examination transmitting terminal is connected are connected, which carries out link quality measurements, to be included:
The test transmitting terminal is to corresponding with described other links for being not connected with of test transmitting terminal link aggregation subport Test reflection end send test packet, and according to test reflection end return test response message, pair with it is described test send Hold the link being connected up and carry out link quality measurements with the downlink that the test reflection end is connected.
7. a kind of device of link quality measurements, including:
Sending module, for customer side when initiating link quality measurements, sent to service side for consulting to test transmitting terminal It is test reflection which link aggregation subport, which is test sending port and which link aggregation subport of reflection end tested, The negotiation packet of port;
Determining module, for customer side according to the response message from the service side, obtain by the institute for consulting to determine State test sending port and the test reflector port;
Link quality measurements module, test report is sent to test reflection end using the test sending port for testing transmitting terminal Text, and the test response message returned according to test reflection end using the test reflector port, to the test transmitting terminal institute The link that the link of connection and the test reflection end are connected carries out link quality measurements.
8. device according to claim 7, the negotiation packet includes the link aggregation for the test transmitting terminal for needing to consult The information of the information of subport and the link aggregation subport of test reflection end.
9. device according to claim 8, the response message includes link aggregation of the test transmitting terminal after consulting The information of the information of port and the link aggregation subport of test reflection end.
10. device according to claim 8 or claim 9, the link aggregation subport of described test reflection end includes:
The link aggregation of the test reflection end corresponding with the link that the test transmitting terminal link aggregation subport is connected Subport;
It is corresponding with other links that the test transmitting terminal link aggregation subport is not connected with same aggregated links Test the link aggregation subport of reflection end.
11. a kind of system of link quality measurements, including:
Base station, for when initiating link quality measurements, sending to interchanger and gathering for consulting to test which link of transmitting terminal It is to test the negotiation of reflector port that zygote port, which is test sending port and which link aggregation subport of reflection end tested, Message, and desampler consults the test sending port of determination and the test reflector port, and test transmitting terminal Test packet is sent to test reflection end using the test sending port, and is reflected according to test reflection end using the test The chain that the test response message that port returns, the link connected to the test transmitting terminal and the test reflection end are connected Road carries out link quality measurements;
Interchanger, for the negotiation packet sent according to base station, determine the test sending port and the test reflector port.
12. system according to claim 11, the link that the negotiation packet includes the test transmitting terminal for needing to consult gathers The information of the information of zygote port and the link aggregation subport of test reflection end;The response message includes the test after consulting The information of the information of the link aggregation subport of transmitting terminal and the link aggregation subport of test reflection end.
CN201610875513.6A 2016-09-30 2016-09-30 The method, apparatus and system of a kind of link quality measurements Pending CN107889132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875513.6A CN107889132A (en) 2016-09-30 2016-09-30 The method, apparatus and system of a kind of link quality measurements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875513.6A CN107889132A (en) 2016-09-30 2016-09-30 The method, apparatus and system of a kind of link quality measurements

Publications (1)

Publication Number Publication Date
CN107889132A true CN107889132A (en) 2018-04-06

Family

ID=61770069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875513.6A Pending CN107889132A (en) 2016-09-30 2016-09-30 The method, apparatus and system of a kind of link quality measurements

Country Status (1)

Country Link
CN (1) CN107889132A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740075A (en) * 2019-09-06 2020-01-31 北京直真科技股份有限公司 method for fine dial testing and quality analysis of Ethernet aggregation link
CN110912817A (en) * 2019-12-12 2020-03-24 太仓市同维电子有限公司 Production and test method for non-management type switch link aggregation
CN111294251A (en) * 2018-12-07 2020-06-16 中国移动通信集团辽宁有限公司 Method, device, equipment and medium for detecting link time delay
CN111385160A (en) * 2018-12-28 2020-07-07 中国移动通信集团辽宁有限公司 Packet loss rate detection method, device, system and medium
CN115002008A (en) * 2022-08-05 2022-09-02 北京云脉芯联科技有限公司 Method, device, equipment and storage medium for measuring network delay
CN115277509A (en) * 2022-06-15 2022-11-01 深圳市楠菲微电子有限公司 Method and system for rapidly detecting faults aiming at link aggregation group

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294251A (en) * 2018-12-07 2020-06-16 中国移动通信集团辽宁有限公司 Method, device, equipment and medium for detecting link time delay
CN111385160A (en) * 2018-12-28 2020-07-07 中国移动通信集团辽宁有限公司 Packet loss rate detection method, device, system and medium
CN111385160B (en) * 2018-12-28 2021-08-03 中国移动通信集团辽宁有限公司 Packet loss rate detection method, device, system and medium
CN110740075A (en) * 2019-09-06 2020-01-31 北京直真科技股份有限公司 method for fine dial testing and quality analysis of Ethernet aggregation link
CN110740075B (en) * 2019-09-06 2021-06-22 北京直真科技股份有限公司 Method for fine dial testing and quality analysis of Ethernet aggregation link
CN110912817A (en) * 2019-12-12 2020-03-24 太仓市同维电子有限公司 Production and test method for non-management type switch link aggregation
CN115277509A (en) * 2022-06-15 2022-11-01 深圳市楠菲微电子有限公司 Method and system for rapidly detecting faults aiming at link aggregation group
CN115002008A (en) * 2022-08-05 2022-09-02 北京云脉芯联科技有限公司 Method, device, equipment and storage medium for measuring network delay
CN115002008B (en) * 2022-08-05 2022-11-04 北京云脉芯联科技有限公司 Method, device, equipment and storage medium for measuring network delay

Similar Documents

Publication Publication Date Title
CN107889132A (en) The method, apparatus and system of a kind of link quality measurements
JP5719449B2 (en) System and method for measuring available capacity and narrow link capacity of an IP path from a single endpoint
EP2001165B1 (en) Method and system for measuring network performance
CN102035692B (en) Method and device for detecting quality of link
KR101467137B1 (en) In-service throughput testing in distributed router/switch architectures
US20140258524A1 (en) Detection of Load Balancing Across Network Paths in a Communication Network
CN101164287A (en) File transfer protocol service performance testing method
CN108881008A (en) A kind of methods, devices and systems of data transmission
US11902133B2 (en) Network performance monitoring using an active measurement protocol and relay mechanism
CN101409651A (en) Method, system and equipment for monitoring soft exchange load-bearing network quality
CN111989979A (en) Method and system for controlling operation of a communication network to reduce latency
CN105827476A (en) High-speed PING implementation method and PING testing method
CN110381071A (en) A kind of message transmitting method, device and send method, apparatus
CN115002008B (en) Method, device, equipment and storage medium for measuring network delay
Baillargeon et al. Ericsson two-way active measurement protocol (twamp) value-added octets
Gärdborn Is QUIC a better choice than TCP in the 5G core network service based architecture?
CN107645563A (en) The Internet of Things means of communication and system of a kind of medical testing devices
CN109474940A (en) Quality of service detection method and device
CN106571970B (en) The monitoring method and device of bearer network
Sha et al. A performance evaluation method and it's implementation for web service
CN116232442B (en) Communication method, device and storage medium based on TCP/IP protocol and CCSDS protocol
Weiss File transfer protocol (FTP) throughput testing
CA3207423A1 (en) Packet loss rate detection method, communication apparatus, and communication system
CN117319317A (en) Method, device and storage medium for adjusting MTU of CPE (customer premise equipment) underhung equipment
Fajardo et al. An efficient and loss tolerant method for measuring available bandwidth

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180406