CN103188120B - The method for detecting packet loss of a kind of multicast service and device - Google Patents

The method for detecting packet loss of a kind of multicast service and device Download PDF

Info

Publication number
CN103188120B
CN103188120B CN201310119292.6A CN201310119292A CN103188120B CN 103188120 B CN103188120 B CN 103188120B CN 201310119292 A CN201310119292 A CN 201310119292A CN 103188120 B CN103188120 B CN 103188120B
Authority
CN
China
Prior art keywords
network element
message
multicast
multicast data
data message
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
CN201310119292.6A
Other languages
Chinese (zh)
Other versions
CN103188120A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310119292.6A priority Critical patent/CN103188120B/en
Publication of CN103188120A publication Critical patent/CN103188120A/en
Application granted granted Critical
Publication of CN103188120B publication Critical patent/CN103188120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses method for detecting packet loss and the device of a kind of multicast service, the method includes: the first network element issues the first message to the second network element, carries multicast identifier, initial time and termination time in described first message;First network element adds up the first quantity of the designated multicast data message that the first network element local reception is arrived in described initial time to termination time;Described designated multicast data message refers to the multicast data message in the multicast group that described multicast identifier indicates;First network element issues the second message to the second network element, described second message carries the first quantity of described designated multicast data message, in order to the second network element according to described first quantity determine the second network element local reception to designated multicast data message whether there is packet loss.The embodiment of the present invention is capable of detecting when whether each network element occurs the packet loss of multicast data message.

Description

The method for detecting packet loss of a kind of multicast service and device
Technical field
The present invention relates to the communications field, particularly relate to method for detecting packet loss and the device of a kind of multicast service.
Background technology
Multicast service in Internet protocol (IP, Internet Protocol) network, it is achieved that multicast data message Duplication from a node to multiple nodes.
Network element in network successively multicast data forwarding message, the most at last multicast data message send to user terminal (UE, User Equipment).For example, with reference to the networking structure shown in Fig. 1, operator edge converging equipment (PE-AGG, Provider Edge-Aggregation) by multicast data message send near user provider edge equipment (UPE, User Provider Edge), then by UPE, described multicast data message is sent to Digital Subscriber Line Access Multiplexer (DSLAM, Digital Subscriber Line Access Multiplexer), and then by DSLAM by multicast datagram Literary composition sends to each UE.Wherein, PE-AGG is properly termed as the upstream network element of UPE and DSLAM, UPE and DSLAM It is properly termed as the downstream network element of PE-AGG;UPE is properly termed as the upstream network element of DSLAM, and DSLAM is properly termed as The downstream network element of UPE.
But, reason based on communication condition etc., upstream network element by multicast data packet forwarding to downstream network element, and then During being forwarded to UE, it may occur that the packet loss of multicast data message.But, how it is not disclosed in prior art Realize the detection of multicast data message packet loss in multicast service.
Summary of the invention
The embodiment of the present invention provides method for detecting packet loss and the device of a kind of multicast service, it is possible to detect each network element Whether there is the packet loss of multicast data message.
First aspect, the embodiment of the present invention provides the method for detecting packet loss of a kind of multicast service, including:
First network element issues the first message to the second network element, described first message carries multicast identifier, initial time and The termination time, described first network element is the upstream network element of the second network element;
Described first network element adds up what described first network element local reception was arrived in described initial time to described termination time First quantity of designated multicast data message;Described designated multicast data message refers to the multicast that described multicast identifier indicates Multicast data message in group;
Described first network element issues the second message to described second network element, carries described first quantity in described second message.
In conjunction with above-mentioned first aspect, in the first possible implementation of first aspect, the first network element sends the first message The most also include:
First network element issues local time parameter to the second network element.
Second aspect, the embodiment of the present invention provides the method for detecting packet loss of a kind of multicast service, including:
Second network element receives the first message that the first network element is issued, described first message carries multicast identifier, initial time Between and terminate the time, described first network element is the upstream network element of the second network element;
Described second network element adds up what described second network element local reception was arrived in described initial time to described termination time Second quantity of designated multicast data message;Described designated multicast data message refers to the multicast that described multicast identifier indicates Multicast data message in group;
Described second network element receives the second message that described first network element is issued, and carries described designated groups in described second message First quantity of multicast data message;
Described second network element determines what described second network element local reception was arrived according to described first quantity and described second quantity Whether described designated multicast data message there is packet loss.
In conjunction with above-mentioned second aspect, in the first possible implementation of second aspect, described second network element is according to described First quantity and described second quantity determine local reception to described designated multicast data message whether occur packet loss to include:
Calculate described first quantity and the difference of described second quantity, determine that whether described difference is not less than difference threshold;
If described difference is not less than difference threshold, determine the described designated multicast data that described second network element local reception is arrived Message generation packet loss;
If described difference is less than difference threshold, determine the described designated multicast datagram that described second network element local reception is arrived There is not packet loss in literary composition.
In conjunction with above-mentioned second aspect, and/or the first possible implementation of second aspect, may at second aspect the second Implementation in, before the second network element receives the first message, also include:
Described second network element receives the time parameter that described first network element is issued, and carries out clock school according to described time parameter Accurate.
In conjunction with above-mentioned second aspect, and/or the first possible implementation of second aspect, and/or second aspect the second Possible implementation, in the third possible implementation of second aspect, the second network element determines the institute that local reception is arrived After stating designated multicast data message generation packet loss, also include:
Multicast identifier described in described second reported by network elements and the Bridge Address of described second network element.
The third aspect, the embodiment of the present invention provides the packet loss detection device of a kind of multicast service, including:
First transmitting element, for issuing the first message to the second network element, described first message carries multicast identifier, Initial time and the time of termination;
First statistic unit, for described first transmitting element send described first message in carry described initial time Between to the first quantity adding up the designated multicast data message that described first network element local reception is arrived in the described termination time;Institute State designated multicast data message and refer to the multicast data message in the multicast group that described multicast identifier indicates;By described first Quantity is sent to described first transmitting element;
Described first transmitting element is additionally operable to: issues the second message to described second network element, carries institute in described second message Stating the first quantity, described first network element is the upstream network element of the second network element.
In conjunction with the above-mentioned third aspect, in the first possible implementation of the third aspect, described first transmitting element is also used In: before sending the first message, issue local time parameter to described second network element.
Fourth aspect, the embodiment of the present invention provide a kind of multicast service packet loss detection device, including receive unit, second Statistic unit and determine unit, wherein:
Described reception unit, for receiving the first message that the first network element is issued, carries multicast group mark in described first message Knowledge, initial time and termination time, described multicast identifier, described initial time and described termination time are sent to institute State the second statistic unit;
Described second statistic unit, for adding up the second network element local reception in described initial time to described termination time Second quantity of the designated multicast data message arrived;Described designated multicast data message refers to what described multicast identifier indicated Multicast data message in multicast group;It is sent to described second quantity described determine unit;
Described reception unit is additionally operable to: receives the second message that described first network element is issued, carries institute in described second message State the first quantity of designated multicast data message, be sent to described first quantity described determine unit;
Described determine unit, for determining described second network element local reception according to described first quantity and described second quantity To described designated multicast data message whether occur packet loss, described first network element to be the upstream network element of the second network element.
In conjunction with above-mentioned fourth aspect, in the first possible implementation of fourth aspect, determine unit specifically for:
Calculate described first quantity and the difference of described second quantity, it is judged that whether described difference is not less than difference threshold;
If described difference is not less than difference threshold, determine the described designated multicast data that described second network element local reception is arrived Message generation packet loss;
If described difference is less than difference threshold, determine the described designated multicast datagram that described second network element local reception is arrived There is not packet loss in literary composition.
In conjunction with above-mentioned fourth aspect, and/or the first possible implementation of fourth aspect, may at fourth aspect the second Implementation in, described device also includes alignment unit, wherein
Described reception unit is additionally operable to: before receiving described first message, receives the time parameter that described first network element is issued, Described time parameter is sent to described alignment unit;
Described alignment unit, for carrying out clock alignment according to described time parameter.
In conjunction with above-mentioned fourth aspect, and/or the first possible implementation of fourth aspect, and/or fourth aspect the second Possible implementation, in the third possible implementation of fourth aspect, also includes:
Report unit, for reporting described multicast identifier and the Bridge Address of described second network element.
In the present embodiment, the first network element issues the first message to the second network element, described first message carries multicast identifier, Initial time and the time of termination;First network element is added up the first network element local reception in described initial time to termination time and is arrived The first quantity of designated multicast data message;Described designated multicast data message refers to the group that described multicast identifier indicates Broadcast the multicast data message in group;First network element issues the second message to the second network element, carries described in described second message First quantity of designated multicast data message, in order to the second network element determines the second network element local reception according to described first quantity To designated multicast data message whether there is packet loss.It is achieved thereby that whether network element be there is multicast data message packet loss Detection.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, will make required in embodiment below Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is prior art networking structure exemplary plot;
Fig. 2 is the method for detecting packet loss first embodiment schematic diagram of multicast service of the present invention;
Fig. 3 is method for detecting packet loss the second embodiment schematic diagram of multicast service of the present invention;
Fig. 4 is method for detecting packet loss the 3rd embodiment schematic diagram of multicast service of the present invention;
Fig. 5 is the packet loss detection device first embodiment schematic diagram of multicast service of the present invention;
Fig. 6 is packet loss detection device the second embodiment schematic diagram of multicast service of the present invention;
Fig. 7 is the structural representation of network element of the present invention;
Fig. 8 is another structural representation of network element of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Description, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Base Embodiment in the present invention, it is all that those of ordinary skill in the art are obtained under not paying creative work premise Other embodiments, broadly fall into the scope of protection of the invention.
Seeing Fig. 2, for the method for detecting packet loss first embodiment schematic diagram of multicast service of the present invention, the method includes:
201: the first network elements issue the first message to the second network element, carry multicast identifier, initiate in described first message Time and the time of termination;
Here, described first network element can be the upstream network element of the second network element, and the second network element can be the downstream of the first network element Network element.Described first network element is issued the first message to the second network element and is referred to: the first message is sent to the first jumping by the first network element The second network element, then by first jump the second network element by first message send to second jump the second network element, by that analogy, Until the first message is sent to the second network element of final jump, so that the first message diffuses to the first network element downstream The process of all second network elements.
As a example by the networking structure shown in Fig. 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM;Or, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, and described second network element is UPE and DSLAM, described first network element Issue the first message to the second network element to refer to: the first message is sent to UPE by PE-AGG, then reported first by UPE Literary composition sends to DSLAM, so that the first message diffuses to all UPEs' and DSLAM in PE-AGG downstream Process.
Wherein, described multicast identifier is for unique mark one multicast group;Multicast identifier corresponding to different multicast group is not With.
202: described first network element adds up described first network element local reception in described initial time to described termination time First quantity of the designated multicast data message arrived;Described designated multicast data message refers to what described multicast identifier indicated Multicast data message in multicast group;
203: described first network element issues the second message to described second network element, carries described appointment in described second message First quantity of multicast data message, in order to the second network element determines described second network element local reception according to described first quantity To designated multicast data message whether there is packet loss.
Wherein, the realization that described first network element issues the second message to described second network element refers to the first net described in 201 Unit issues the explanation of the first message to the second network element, does not repeats.
In the present embodiment, the first network element issues the first message to the second network element, described first message carries multicast identifier, Initial time and the time of termination;First network element is added up the first network element local reception in described initial time to termination time and is arrived The first quantity of designated multicast data message;Described designated multicast data message refers to the group that described multicast identifier indicates Broadcast the multicast data message in group;First network element issues the second message to the second network element, carries described in described second message First quantity of designated multicast data message, in order to the second network element determines the second network element local reception according to described first quantity To designated multicast data message whether there is packet loss.It is achieved thereby that whether occur multicast data message to lose each network element The detection of bag.
And, the first message that the first network element is issued includes multicast identifier, such that it is able to specify each the second network element pair Multicast data message in a certain particular multicast group carries out packet loss detection.
Seeing Fig. 3, for method for detecting packet loss the second embodiment schematic diagram of multicast service of the present invention, the method includes:
301: the second network elements receive first network element issue the first message, described first message carries multicast identifier, Initial time and the time of termination;
302: described second network element adds up what the second network element local reception was arrived in described initial time to described termination time Second quantity of designated multicast data message;Described designated multicast data message refers to the multicast that described multicast identifier indicates Multicast data message in group;
303: described second network element receives the second message that described first network element is issued, described second message carry described First quantity of designated multicast data message;
304: described second network element determines described second network element local reception according to described first quantity and described second quantity To described designated multicast data message whether there is packet loss.
Here, described first network element can be the upstream network element of the second network element, and the second network element can be the downstream of the first network element Network element.Described first network element is issued the first message to the second network element and is referred to: the first message is sent to the first jumping by the first network element The second network element, then by first jump the second network element by first message send to second jump the second network element, by that analogy, Until the first message is sent to the second network element of final jump, so that the first message diffuses to the first network element downstream The process of all second network elements.
As a example by the networking structure shown in Fig. 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM;Or, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, and described second network element is UPE and DSLAM, described first network element Issue the first message to the second network element to refer to: the first message is sent to UPE by PE-AGG, then reported first by UPE Literary composition sends to DSLAM, so that the first message diffuses to all UPEs' and DSLAM in PE-AGG downstream Process.
Wherein, described multicast identifier is for unique mark one multicast group;Multicast identifier corresponding to different multicast group is not With.
In the present embodiment, according to described first quantity and described second quantity, the second network element determines that the second network element local reception is arrived Described designated multicast data message whether there is packet loss, it is achieved thereby that whether there is multicast number for each second network element Detection according to message packet loss.
And, the first message that the first network element is issued includes multicast identifier, such that it is able to specify each the second network element pair Multicast data message in a certain particular multicast group carries out packet loss detection.
Seeing Fig. 4, for method for detecting packet loss the 3rd embodiment schematic diagram of multicast service of the present invention, the method includes:
401: the first network elements issue local time parameter to the second network element;
402: each second network element receives the time parameter that described first network element is issued, when carrying out according to described time parameter Clock is calibrated.
By clock alignment, so that the clock of the first network element and each the second network element synchronizes, thus ensure subsequent step In 404 first network element and the second network element can according to described initial time and terminate that time synchronization implementation local reception arrives the The statistics of one message.
Wherein, the issue of described time parameter and described clock alignment can based on NTP (NTP, Network Time Protocol) realize.
403: the first network elements issue the first message to the second network element, carry multicast identifier, initiate in described first message Time and the time of termination.
Optionally, described first message can also carry difference threshold, in order in 406, second network element can be according to this Difference threshold carries out whether the second network element occurs the judgement of designated multicast data message packet loss.When described first message is not taken When carrying described difference threshold, the described difference threshold in 406 can be preset in each second network element.
Wherein, described first message can pass through Internet Group Management Protocol (IGMP, Internet Group Management Protocol) realization of Query message.Concrete, described IGMP Query message can be extended Additional data (Additional Data) field, carries described multicast group mark in the Additional Data field of extension Knowledge, initial time and termination time, or, carry described multicast identifier, initial time, termination time and described difference Value threshold value.
404: described first network element adds up the appointment that the first network element local reception is arrived in described initial time to termination time First quantity of multicast data message;Described second network element adds up the second network element originally in described initial time to termination time The second quantity of designated multicast data message of receiving;
405: the first network elements issue the second message to the second network element, carry described designated multicast data in described second message First quantity of message.
Wherein, described second message can also be realized by IGMP Query message.Concrete, can extend described The Additional Data field of IGMP Query message, carries described finger in the Additional Data field of extension Determine the first quantity of multicast data message.
406: the second network elements receive the second message that the first network element is issued, according to described first quantity and described second quantity Determine the second network element local reception to described designated multicast data message whether there is packet loss, when there is packet loss, perform 407;When there is not packet loss, currently processed flow process terminates.
Wherein, described second network element determines, according to described first quantity and described second quantity, the described appointment that local reception is arrived Whether multicast data message occurs packet loss to include:
Second network element calculates described first quantity and the difference of described second quantity, it is judged that whether described difference is not less than difference Threshold value;
If described difference is not less than difference threshold, the second network element determines the described designated multicast that the second network element local reception is arrived Data message generation packet loss;
If described difference is less than difference threshold, the second network element determines the described designated multicast number that the second network element local reception is arrived Packet loss is there is not according to message.
Multicast identifier described in 407: the second reported by network elements and the Bridge Address of self.
Here, described first network element can be the upstream network element of the second network element, and the second network element can be the downstream of the first network element Network element.Described first network element is issued the first message to the second network element and is referred to: the first message is sent to the first jumping by the first network element The second network element, then by first jump the second network element by first message send to second jump the second network element, by that analogy, Until the first message is sent to the second network element of final jump, so that the first message diffuses to the first network element downstream The process of all second network elements.
As a example by the networking structure shown in Fig. 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM;Or, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, and described second network element is UPE and DSLAM, described first network element Issue the first message to the second network element to refer to: the first message is sent to UPE by PE-AGG, then reported first by UPE Literary composition sends to DSLAM, so that the first message diffuses to all UPEs' and DSLAM in PE-AGG downstream Process.
Wherein, described multicast identifier is for unique mark one multicast group;Multicast identifier corresponding to different multicast group is not With.
Wherein, each network element has unique Bridge Address identifying this network element.
Alternatively, it is also possible to report described first quantity and the difference etc. of described second quantity, be not intended to here.
Wherein, described multicast identifier and the Bridge Address of self can be reported NM server etc. by described second network element To the network element equipment whether packet loss is managed.
In the present embodiment, the first network element is issued to the second network element and is carried the of multicast identifier, initial time and the termination time One message, thus the designated multicast data that the multicast identifier that simultaneously arrives local reception of the first network element and the second network element is corresponding Message is added up, and by the first network element the first quantity of the designated multicast data message self added up is distributed to each Two network elements, the second network element the second quantity obtained according to described first quantity and this geo-statistic judges whether self occurs The packet loss of designated multicast data message, it is achieved thereby that the detection that the second network element is to designated multicast data message whether packet loss;
And, the first network element carries multicast identifier in the first message that the second network element is issued, such that it is able to by the first net Unit specifies the multicast group carrying out packet loss detection;
It addition, during the second network element generation packet loss, described multicast identifier and the Bridge Address of self are reported network manager service Device such that it is able to the most quickly orient network element and the multicast group that there occurs packet loss.
Seeing Fig. 5, for the packet loss detection device first embodiment structure chart of multicast service of the present invention, this device can be arranged In described first network element, this device 500 includes the first transmitting element 510 and the first statistic unit 520, wherein:
Described first transmitting element 510, for issuing the first message to the second network element, carries multicast in described first message Group mark, initial time and termination time;
Described first statistic unit 520, for carrying in described first message that described first transmitting element 510 sends Described initial time to the first number adding up the designated multicast data message that the first network element local reception is arrived in the termination time Amount;Described designated multicast data message refers to the multicast data message in the multicast group that described multicast identifier indicates;By institute The first quantity stating designated multicast data message is sent to described first transmitting element 510;
Described first transmitting element 510 is additionally operable to: issues the second message to described second network element, takes in described second message The first quantity with described designated multicast data message, in order to described second network element determines the second net according to described first quantity Unit local reception to designated multicast data message whether there is packet loss.
Alternatively, described first transmitting element 510 can be also used for: before sending the first message, issues to the second network element Local time parameter, in order to the second network element carries out clock alignment based on described time parameter.
In the present embodiment, described first transmitting element 510 issues the first message, described first message to described second network element In carry multicast identifier, initial time and termination time;First statistic unit 520 in described initial time to when terminating First quantity of the designated multicast data message that the first network element local reception of interior statistics is arrived;Described designated multicast data message Refer to the multicast data message in the multicast group that described multicast identifier indicates;First transmitting element 510 is sent out to the second network element Cloth the second message, carries the first quantity of described designated multicast data message in described second message, in order to the second network element root According to described first quantity determine the second network element local reception to designated multicast data message whether there is packet loss.Thus realize Whether each first network element is occurred the detection of multicast data message packet loss.
And, the first message that described first transmitting element 510 is issued includes multicast identifier, such that it is able to specify each Individual second network element carries out packet loss detection to the multicast data message in a certain particular multicast group.
Here, described first network element can be the upstream network element of the second network element, and the second network element can be the downstream of the first network element Network element.Described first network element is issued the first message to the second network element and is referred to: the first message is sent to the first jumping by the first network element The second network element, then by first jump the second network element by first message send to second jump the second network element, by that analogy, Until the first message is sent to the second network element of final jump, so that the first message diffuses to the first network element downstream The process of all second network elements.
As a example by the networking structure shown in Fig. 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM;Or, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, and described second network element is UPE and DSLAM, described first network element Issue the first message to the second network element to refer to: the first message is sent to UPE by PE-AGG, then reported first by UPE Literary composition sends to DSLAM, so that the first message diffuses to all UPEs' and DSLAM in PE-AGG downstream Process.
Wherein, described multicast identifier is for unique mark one multicast group;Multicast identifier corresponding to different multicast group is not With.
Seeing Fig. 6, for packet loss detection device the second example structure figure of multicast service of the present invention, this device can be arranged In described second network element, this device 600 includes receiving unit the 610, second statistic unit 620 and determining unit 630, Wherein:
Described reception unit 610, for receiving the first message that the first network element is issued, carries multicast in described first message Group mark, initial time and termination time, described multicast identifier, initial time and termination time are sent to described the Two statistic units 620;
Described second statistic unit 620, for adding up the second network element local reception in described initial time to termination time Second quantity of the designated multicast data message arrived;Described designated multicast data message refers to what described multicast identifier indicated Multicast data message in multicast group;It is sent to described second quantity described determine unit 630;
Described reception unit 610 is additionally operable to: receives the second message that the first network element is issued, carries institute in described second message State the first quantity of designated multicast data message, be sent to described first quantity described determine unit 630;
Described determine unit 630, for determining the second network element local reception according to described first quantity and described second quantity To described designated multicast data message whether there is packet loss.
Optionally it is determined that unit 630 specifically may be used for:
Calculate described first quantity and the difference of described second quantity, it is judged that whether described difference is not less than difference threshold;
If described difference is not less than difference threshold, determine the described designated multicast data message that the second network element local reception is arrived There is packet loss;
If described difference less than difference threshold, determines that described designated multicast data message that the second network element local reception arrives is not There is packet loss.
Alternatively, described reception unit 610 can be also used for: before receiving the first message, receives what the first network element was issued Time parameter, is sent to alignment unit by described time parameter;
Accordingly, described device 600 can also include: alignment unit, for carrying out clock school according to described time parameter Accurate.
Alternatively, described device 600 can also include: reports unit, is used for reporting described multicast identifier and described The Bridge Address of two network elements.
In the present embodiment, determine according to described first quantity and described second quantity, unit 630 determines that second network element this locality connects Whether the described designated multicast data message received there is packet loss, it is achieved thereby that whether there is multicast datagram for network element The detection of literary composition packet loss.
And, the first message that the first network element is issued includes multicast identifier, such that it is able to specify each the second network element pair Multicast data message in a certain particular multicast group carries out packet loss detection.
Here, described first network element can be the upstream network element of the second network element, and the second network element can be the downstream of the first network element Network element.Described first network element is issued the first message to the second network element and is referred to: the first message is sent to the first jumping by the first network element The second network element, then by first jump the second network element by first message send to second jump the second network element, by that analogy, Until the first message is sent to the second network element of final jump, so that the first message diffuses to the first network element downstream The process of all second network elements.
As a example by the networking structure shown in Fig. 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM;Or, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, and described second network element is UPE and DSLAM, described first network element Issue the first message to the second network element to refer to: the first message is sent to UPE by PE-AGG, then reported first by UPE Literary composition sends to DSLAM, so that the first message diffuses to all UPEs' and DSLAM in PE-AGG downstream Process.
Wherein, described multicast identifier is for unique mark one multicast group;Multicast identifier corresponding to different multicast group is not With.
See Fig. 7, the network element structural representation provided for the embodiment of the present invention, network element 700 includes: processor 710, Memorizer 720, transceiver 730 and bus 740;
Processor 710, memorizer 720, transceiver 730 are connected with each other by bus 740;Bus 740 can be ISA Bus, pci bus or eisa bus etc..Described bus can be divided into address bus, data/address bus, control bus etc.. For ease of representing, Fig. 7 only represents with a thick line, it is not intended that an only bus or a type of bus.
Memorizer 720, is used for depositing program.Specifically, program can include that program code, described program code include Computer-managed instruction.Memorizer 720 may comprise high-speed RAM memorizer, it is also possible to also includes non-volatile memories Device (non-volatile memory), for example, at least one disk memory.
Transceiver 730 is used for connecting other equipment, and communicates with other equipment.Concrete, transceiver 730 is used for: Issue the first message to the second network element, described first message carries multicast identifier, initial time and termination time;To Second network element issues the second message, carries the first quantity of described designated multicast data message in described second message, in order to Second network element according to described first quantity determine the second network element local reception to designated multicast data message whether lose Bag.
Described processor 710 performs described program code, for adding up the first network element in initial time to termination time originally The first quantity of designated multicast data message of receiving;Described designated multicast data message refers to that multicast identifier indicates Multicast group in multicast data message;
Alternatively, transceiver 730 can be also used for: issues local time parameter to the second network element, in order to the second network element Clock alignment is carried out based on described time parameter.
In the present embodiment, transceiver 730 issues the first message to the second network element, carries multicast group mark in described first message Knowledge, initial time and termination time;Described processor 710 adds up the first network element in described initial time to termination time First quantity of the designated multicast data message that local reception is arrived;Described designated multicast data message refers to described multicast group mark Know the multicast data message in the multicast group of instruction;Transceiver 730 issues the second message, described Secondary Report to the second network element Literary composition carries the first quantity of described designated multicast data message, in order to the second network element determines second according to described first quantity Network element local reception to designated multicast data message whether there is packet loss.It is achieved thereby that whether each first network element is sent out The detection of raw multicast data message packet loss.
Here, described first network element can be the upstream network element of the second network element, and the second network element can be the downstream of the first network element Network element.Described first network element is issued the first message to the second network element and is referred to: the first message is sent to the first jumping by the first network element The second network element, then by first jump the second network element by first message send to second jump the second network element, by that analogy, Until the first message is sent to the second network element of final jump, so that the first message diffuses to the first network element downstream The process of all second network elements.
As a example by the networking structure shown in Fig. 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM;Or, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, and described second network element is UPE and DSLAM, described first network element Issue the first message to the second network element to refer to: the first message is sent to UPE by PE-AGG, then reported first by UPE Literary composition sends to DSLAM, so that the first message diffuses to all UPEs' and DSLAM in PE-AGG downstream Process.
Wherein, described multicast identifier is for unique mark one multicast group;Multicast identifier corresponding to different multicast group is not With.
Seeing Fig. 8, for another structural representation of embodiment of the present invention network element, described network element 800 includes: processor 810, Memorizer 820 and transceiver 830;
Processor 810, memorizer 820, transceiver 830 are connected with each other by bus 840;Bus 840 can be ISA Bus, pci bus or eisa bus etc..Described bus can be divided into address bus, data/address bus, control bus etc.. For ease of representing, Fig. 8 only represents with a thick line, it is not intended that an only bus or a type of bus.
Memorizer 820, is used for depositing program.Specifically, program can include that program code, described program code include Computer-managed instruction.Memorizer 820 may comprise high-speed RAM memorizer, it is also possible to also includes non-volatile memories Device (non-volatile memory), for example, at least one disk memory.
Described transceiver 830 is used for connecting other equipment, and communicates with other equipment.Concrete, transceiver 830 For: receive the first message that the first network element is issued, described first message carries multicast identifier, initial time and end The only time;Receive the second message that the first network element is issued, described second message carries described designated multicast data message First quantity;
Described processor 810 performs described program code, for adding up the second net in described initial time to termination time Second quantity of the designated multicast data message that unit's local reception is arrived;Described designated multicast data message refers to described multicast group Multicast data message in the multicast group of mark instruction;It is additionally operable to determine according to described first quantity and described second quantity Two network element local receptions to described designated multicast data message whether there is packet loss.
Alternatively, described processor 810 can be realized by the following method described according to described first quantity and described second Quantity determine local reception to described designated multicast data message whether there is packet loss: calculate described first quantity and described The difference of the second quantity, it is judged that whether described difference is not less than difference threshold;If described difference is not less than difference threshold, Determine the described designated multicast data message generation packet loss that local reception is arrived;If described difference is less than difference threshold, determine Local reception to described designated multicast data message there is not packet loss.
Described transceiver 830 can be also used for: before receiving the first message, receives the time parameter that the first network element is issued;
Accordingly, described processor 810 can be also used for: carries out clock alignment according to described time parameter.
Described transceiver 830 can be also used for: described processor 810 determines the described designated multicast data that local reception is arrived After message generation packet loss, report described multicast identifier and the Bridge Address of described second network element.
In the present embodiment, according to described first quantity and described second quantity, described processor 810 determines that the second network element is local Whether the described designated multicast data message received there is packet loss, it is achieved thereby that whether there is multicast packet for network element The detection of message packet loss.
And, the first message received includes multicast identifier, such that it is able to specify network element to a certain particular multicast group In multicast data message carry out packet loss detection.
Here, described first network element can be the upstream network element of the second network element, and the second network element can be the downstream of the first network element Network element.Described first network element is issued the first message to the second network element and is referred to: the first message is sent to the first jumping by the first network element The second network element, then by first jump the second network element by first message send to second jump the second network element, by that analogy, Until the first message is sent to the second network element of final jump, so that the first message diffuses to the first network element downstream The process of all second network elements.
As a example by the networking structure shown in Fig. 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM;Or, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, and described second network element is UPE and DSLAM, described first network element Issue the first message to the second network element to refer to: the first message is sent to UPE by PE-AGG, then reported first by UPE Literary composition sends to DSLAM, so that the first message diffuses to all UPEs' and DSLAM in PE-AGG downstream Process.
Wherein, described multicast identifier is for unique mark one multicast group;Multicast identifier corresponding to different multicast group is not With.
Those skilled in the art it can be understood that can add by software to the technology in the embodiment of the present invention required The mode of general hardware platform realizes.Based on such understanding, the technical scheme in the embodiment of the present invention substantially or Saying that the part contributing prior art can embody with the form of software product, this computer software product is permissible It is stored in storage medium, such as ROM(Read Only Memory, read only memory)/RAM(Random Access Memory, random access memory), magnetic disc, CD etc., including some instructions with so that a computer equipment is (permissible It is personal computer, server, or the network equipment etc.) perform each embodiment of the present invention or some portion of embodiment Method described in point.
Each embodiment in this specification all uses the mode gone forward one by one to describe, identical similar part between each embodiment Seeing mutually, what each embodiment stressed is the difference with other embodiments.Especially for system For embodiment, owing to it is substantially similar to embodiment of the method, so describe is fairly simple, relevant part sees method The part of embodiment illustrates.
In the embodiment of the present invention, PE can be router or switch, and AGG can be router or switch, Network element can be router or switch.
Invention described above embodiment, is not intended that limiting the scope of the present invention.Any the present invention's Amendment, equivalent and the improvement etc. made within spirit and principle, should be included within the scope of the present invention.

Claims (18)

1. the method for detecting packet loss of a multicast service, it is characterised in that including:
First network element issues the first message to the second network element, described first message carries multicast identifier, initial time and The termination time, described first network element is the upstream network element of the second network element;
Described first network element adds up what described first network element local reception was arrived in described initial time to described termination time First quantity of designated multicast data message;Described designated multicast data message refers to the multicast that described multicast identifier indicates Multicast data message in group;
Described first network element issues the second message to described second network element, carries described first number in described second message Amount, so that described second network element is according to the first described quantity and in described initial time to described termination time Second quantity of the described designated multicast data message that the described second network element local reception that interior statistics obtains is arrived, determines Described second network element local reception to described designated multicast data message whether there is packet loss.
Method the most according to claim 1, it is characterised in that the first network element also includes before sending the first message:
First network element issues local time parameter to the second network element.
Method the most according to claim 1, it is characterised in that described first message and described second message are Internet Group Management Protocol query message, described multicast identifier, initial time and the termination time that described first message carries Being carried in the extended field of described first message, described first quantity that described second message carries is carried on described second In the extended field of message.
4. the method for detecting packet loss of a multicast service, it is characterised in that including:
Second network element receives the first message that the first network element is issued, described first message carries multicast identifier, initial time Between and terminate the time, described first network element is the upstream network element of the second network element;
Described second network element adds up what described second network element local reception was arrived in described initial time to described termination time Second quantity of designated multicast data message;Described designated multicast data message refers to the multicast that described multicast identifier indicates Multicast data message in group;
Described second network element receives the second message that described first network element is issued, and carries described designated groups in described second message First quantity of multicast data message;Described first quantity refers to that described first network element is when described initial time to described termination The interior quantity adding up the described designated multicast data message that described first network element local reception is arrived;Described second network element according to Described first quantity and described second quantity determine described second network element local reception to described designated multicast data message be No generation packet loss.
Method the most according to claim 4, it is characterised in that described second network element according to described first quantity and Described second quantity determine local reception to described designated multicast data message whether occur packet loss to include:
Calculate described first quantity and the difference of described second quantity, determine that whether described difference is not less than difference threshold;
If described difference is not less than difference threshold, determine the described designated multicast data that described second network element local reception is arrived Message generation packet loss;
If described difference is less than difference threshold, determine the described designated multicast datagram that described second network element local reception is arrived There is not packet loss in literary composition.
Method the most according to claim 4, it is characterised in that before the second network element receives the first message, also wrap Include:
Described second network element receives the time parameter that described first network element is issued, and carries out clock school according to described time parameter Accurate.
Method the most according to claim 5, it is characterised in that before the second network element receives the first message, also wrap Include:
Described second network element receives the time parameter that described first network element is issued, and carries out clock school according to described time parameter Accurate.
8. according to the method described in any one of claim 4 to 7, it is characterised in that the second network element determines local reception After the described designated multicast data message generation packet loss arrived, also include:
Multicast identifier described in described second reported by network elements and the Bridge Address of described second network element.
Method the most according to claim 4, it is characterised in that described first message and described second message are Internet Group Management Protocol query message, described multicast identifier, initial time and the termination time that described first message carries Carrying with the extended field of described first message, described first quantity that described second message carries is carried on described second In the extended field of message.
10. the packet loss detection device of a multicast service, it is characterised in that including:
First transmitting element, for issuing the first message to the second network element, described first message carries multicast identifier, Initial time and the time of termination;
First statistic unit, for described first transmitting element send described first message in carry described initial time Between the first quantity of designated multicast data message of arriving to statistics the first network element local reception in the described termination time;Described finger Determine multicast data message and refer to the multicast data message in the multicast group that described multicast identifier indicates;By described first quantity It is sent to described first transmitting element;
Described first transmitting element is additionally operable to: issue the second message to described second network element, and described first network element is the second net The upstream network element of unit, carries described first quantity in described second message, so that described second network element is according to described the One quantity and in described initial time to adding up the institute that the described second network element local reception obtained is arrived in the described termination time State the second quantity of designated multicast data message, determine the described designated multicast datagram that described second network element local reception is arrived Whether literary composition there is packet loss.
11. devices according to claim 10, it is characterised in that described first transmitting element is additionally operable to: send Before first message, issue local time parameter to described second network element.
12. devices according to claim 10, it is characterised in that described first message and described second message are equal For Internet Group Management Protocol query message, when described multicast identifier, initial time and termination that described first message carries Between be carried in the extended field of described first message, described first quantity that described second message carries is carried on described In the extended field of two messages.
The packet loss detection device of 13. 1 kinds of multicast services, it is characterised in that include receive unit, the second statistic unit and Determine unit, wherein:
Described reception unit, for receiving the first message that the first network element is issued, carries multicast group mark in described first message Knowledge, initial time and termination time, described multicast identifier, described initial time and described termination time are sent to institute State the second statistic unit;
Described second statistic unit, for adding up the second network element local reception in described initial time to described termination time Second quantity of the designated multicast data message arrived;Described designated multicast data message refers to what described multicast identifier indicated Multicast data message in multicast group;It is sent to described second quantity described determine unit;
Described reception unit is additionally operable to: receives the second message that described first network element is issued, carries institute in described second message State the first quantity of designated multicast data message, be sent to described first quantity described determine unit;Described first quantity Refer to that described first network element adds up, in described initial time to described termination time, the institute that described first network element local reception is arrived State the quantity of designated multicast data message;Described determine unit, for true according to described first quantity and described second quantity Fixed described second network element local reception to described designated multicast data message whether occur packet loss, described first network element to be the The upstream network element of two network elements.
14. devices according to claim 13, it is characterised in that determine unit specifically for:
Calculate described first quantity and the difference of described second quantity, it is judged that whether described difference is not less than difference threshold;
If described difference is not less than difference threshold, determine the described designated multicast data that described second network element local reception is arrived Message generation packet loss;
If described difference is less than difference threshold, determine the described designated multicast datagram that described second network element local reception is arrived There is not packet loss in literary composition.
15. devices according to claim 13, it is characterised in that described device also includes alignment unit, wherein
Described reception unit is additionally operable to: before receiving described first message, receives the time parameter that described first network element is issued, Described time parameter is sent to described alignment unit;
Described alignment unit, for carrying out clock alignment according to described time parameter.
16. devices according to claim 14, it is characterised in that described device also includes alignment unit, wherein
Described reception unit is additionally operable to: before receiving described first message, receives the time parameter that described first network element is issued, Described time parameter is sent to described alignment unit;
Described alignment unit, for carrying out clock alignment according to described time parameter.
17. according to the device described in any one of claim 13 to 16, it is characterised in that also include:
Report unit, for reporting described multicast identifier and the Bridge Address of described second network element.
18. devices according to claim 13, it is characterised in that described first message and described second message are equal For Internet Group Management Protocol query message, when described multicast identifier, initial time and termination that described first message carries Between be carried in the extended field of described first message, described first quantity that described second message carries is carried on described In the extended field of two messages.
CN201310119292.6A 2013-04-08 2013-04-08 The method for detecting packet loss of a kind of multicast service and device Active CN103188120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310119292.6A CN103188120B (en) 2013-04-08 2013-04-08 The method for detecting packet loss of a kind of multicast service and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310119292.6A CN103188120B (en) 2013-04-08 2013-04-08 The method for detecting packet loss of a kind of multicast service and device

Publications (2)

Publication Number Publication Date
CN103188120A CN103188120A (en) 2013-07-03
CN103188120B true CN103188120B (en) 2016-08-10

Family

ID=48679091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310119292.6A Active CN103188120B (en) 2013-04-08 2013-04-08 The method for detecting packet loss of a kind of multicast service and device

Country Status (1)

Country Link
CN (1) CN103188120B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917641B (en) * 2014-03-11 2019-06-25 中国电信股份有限公司 It is a kind of for testing the method, test equipment and system of packet loss
CN104579834B (en) * 2014-12-31 2018-01-05 武汉中元华电科技股份有限公司 A kind of method that forward-path is constructed in power system
CN105828218B (en) * 2016-04-19 2019-06-11 华为技术有限公司 A kind of method, apparatus and system detecting multicast data flow transmission quality
CN108075941B (en) * 2016-11-17 2021-08-20 华为技术有限公司 Method, sending device and system for detecting service flow performance
CN116208525A (en) * 2018-06-06 2023-06-02 华为技术有限公司 Method, equipment and system for detecting data message
CN112152898B (en) * 2019-06-28 2021-07-20 华为技术有限公司 Multicast tunnel detection method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616037A (en) * 2009-07-27 2009-12-30 华为技术有限公司 The detection method of packet loss, Apparatus and system in the network service
CN102035794A (en) * 2009-09-29 2011-04-27 中兴通讯股份有限公司 Method and system for transmitting and receiving synchronizing sequence of multimedia broadcast multicast service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110267962A1 (en) * 2010-04-29 2011-11-03 HP Development Company LP Method and system for predictive designated router handover in a multicast network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616037A (en) * 2009-07-27 2009-12-30 华为技术有限公司 The detection method of packet loss, Apparatus and system in the network service
CN102035794A (en) * 2009-09-29 2011-04-27 中兴通讯股份有限公司 Method and system for transmitting and receiving synchronizing sequence of multimedia broadcast multicast service

Also Published As

Publication number Publication date
CN103188120A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN103188120B (en) The method for detecting packet loss of a kind of multicast service and device
US7895425B2 (en) Operation, administration and maintenance (OAM) in a service insertion architecture (SIA)
CN103582029B (en) Policy control method and equipment
CN103999414B (en) A kind of method and apparatus of attribution for the congestion contribution of the shared resource of relative users register
CN107135216B (en) Method for enhancing streaming media transmission in weak network environment
CN108768866A (en) Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing
US20170222953A1 (en) User packet forwarding control method and processing node
WO2012088910A1 (en) Method and system for detecting connectivity fault
CN108770065A (en) A kind of method, equipment and the system of control interface-free resources
CN106850424A (en) A kind of system of selection, the apparatus and system in IP layers of path
CN107547442A (en) Data transfer buffer queue distribution method and device
CN104580013A (en) Network communication method and system capable of realizing fast access point selection
EP3229413A1 (en) Cross-domain cooperative method, cooperative device and control device for network as a service business
CN105262682B (en) A kind of software defined network system and its traffic grooming method for electric power data communication
CN102447621B (en) Optimal link selecting method and equipment
CN109150711B (en) Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service
CN108667957A (en) IP address distribution method, the first electronic equipment and first server
CN110719228B (en) Big data packet transmission method and device based on real-time data distribution service
CN107231674A (en) A kind of method and apparatus of cluster ad-hoc network
CN110380981B (en) Flow distribution method and equipment
CN103402144A (en) Method, device and system for automatically measuring multicast service performances
CN101969395B (en) Method for configuring code, method and system for detecting path and network equipment
KR102601122B1 (en) Apparatus and method for reporting packet
CN105610708B (en) The implementation method and RB equipment of multicast FRR in a kind of TRILL network
CN104468158A (en) A method and apparatus for notifying status among nodes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant