CN103188120A - Detection method for packet loss of multicast business and device thereof - Google Patents

Detection method for packet loss of multicast business and device thereof Download PDF

Info

Publication number
CN103188120A
CN103188120A CN2013101192926A CN201310119292A CN103188120A CN 103188120 A CN103188120 A CN 103188120A CN 2013101192926 A CN2013101192926 A CN 2013101192926A CN 201310119292 A CN201310119292 A CN 201310119292A CN 103188120 A CN103188120 A CN 103188120A
Authority
CN
China
Prior art keywords
network element
message
multicast data
data message
multicast
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.)
Granted
Application number
CN2013101192926A
Other languages
Chinese (zh)
Other versions
CN103188120B (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

Images

Abstract

The embodiment of the invention discloses a detection method for packet loss of multicast business and a device thereof. The method comprises the steps that a first network element releases a first message to a second network element, wherein the first massage carries multicast group identification, starting time and terminal time; the first network element counts a first quantity of an assigned multicast data massage received by the first network element at local place between the starting time and the terminal time; the assigned multicast data massage is the multicast data massage in the multicast group indicated by the multicast group identification; the first network element releases a second massage to the second network element, wherein the second massage carries the first quantity of the assigned multicast data massage, so that the second network element can ensure whether the assigned multicast data massage received by the second network element at local place losses packets or not according to the first quantity. The method can detect whether each network element losses multicast data massage.

Description

A kind of method for detecting packet loss of multicast service and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of method for detecting packet loss and device of multicast service.
Background technology
Multicast service in Internet protocol (IP, the Internet Protocol) network has realized that multicast data message is from a node copying to a plurality of nodes.
Network element in the network is the multicast data forwarding message successively, and multicast data message is sent to user terminal (UE, User Equipment) the most at last.For example, referring to networking structure shown in Figure 1, operator edge converging equipment (PE-AGG, Provider Edge-Aggregation) multicast data message is sent to provider edge equipment (UPE near the user, User Provider Edge), by UPE described multicast data message is sent to Digital Subscriber Line Access Multiplexer (DSLAM, Digital Subscriber Line Access Multiplexer) again, and then by DSLAM multicast data message is sent to each UE.Wherein, PE-AGG can be called the upstream network element of UPE and DSLAM, and UPE and DSLAM can be called the downstream network element of PE-AGG; UPE can be called the upstream network element of DSLAM, and DSLAM can be called the downstream network element of UPE.
Yet based on the reason of communication condition etc., upstream network element is being forwarded to multicast data message downstream network element, and then is forwarded in the process of UE, and the packet loss of multicast data message may take place.Yet, the unexposed detection that how to realize multicast data message packet loss in the multicast service in the prior art.
Summary of the invention
A kind of method for detecting packet loss and device of multicast service are provided in the embodiment of the invention, can have detected the packet loss whether each network element multicast data message takes place.
First aspect, the embodiment of the invention provide a kind of method for detecting packet loss of multicast service, comprising:
First network element is issued first message to second network element, carries multicast identifier, zero-time and termination time in described first message, and described first network element is the upstream network element of second network element;
Described first network element is in first quantity of the described zero-time designated multicast data message that the described first network element local reception of statistics is arrived to the described termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication;
Described first network element is issued second message to described second network element, carries described first quantity in described second message.
In conjunction with above-mentioned first aspect, in first kind of possible implementation of first aspect, first network element also comprises before sending first message:
First network element is to the local time parameter of second network element issue.
Second aspect, the embodiment of the invention provide a kind of method for detecting packet loss of multicast service, comprising:
Second network element receives first message of first network element issue, carries multicast identifier, zero-time and termination time in described first message, and described first network element is the upstream network element of second network element;
Described second network element is in second quantity of the described zero-time designated multicast data message that the described second network element local reception of statistics is arrived to the described termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication;
Described second network element receives second message of described first network element issue, first quantity of carrying described designated multicast data message in described second message;
Described second network element according to described first quantity and described second quantity determine the described second network element local reception to described designated multicast data message whether packet loss takes place.
In conjunction with above-mentioned second aspect, in first kind of possible implementation of second aspect, described second network element according to described first quantity and described second quantity determine local reception to described designated multicast data message whether packet loss takes place comprises:
Calculate the difference of described first quantity and described second quantity, determine 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 the described second network element local reception is arrived;
If described difference less than difference threshold, determine the described second network element local reception to described designated multicast data message packet loss does not take place.
In conjunction with above-mentioned second aspect, and/or first kind of possible implementation of second aspect, in second kind of possible implementation of second aspect, second network element receives before first message, also comprises:
Described second network element receives the time parameter of described first network element issue, carries out clock alignment according to described time parameter.
In conjunction with above-mentioned second aspect, and/or first kind of possible implementation of second aspect, and/or second kind of possible implementation of second aspect, in the third possible implementation of second aspect, second network element is determined also to comprise after the described designated multicast data message generation packet loss that local reception arrives:
The bridge address of the described multicast identifier of described second reported by network elements and described second network element.
The third aspect, the embodiment of the invention provide a kind of packet loss detection device of multicast service, comprising:
First transmitting element is used for issuing first message to second network element, carries multicast identifier, zero-time and termination time in described first message;
First statistic unit is used for first quantity of the designated multicast data message that arrives in the described first network element local reception of statistics to the described termination time of described zero-time that described first message that described first transmitting element sends carries; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; Described first quantity is sent to described first transmitting element;
Described first transmitting element also is used for: issue second message to described second network element, carry described first quantity in described second message, described first network element is the upstream network element of second network element.
In conjunction with the above-mentioned third aspect, in first kind of possible implementation of the third aspect, described first transmitting element also is used for: send before first message, to the local time parameter of described second network element issue.
Fourth aspect, the embodiment of the invention provide a kind of packet loss detection device of multicast service, comprise receiving element, second statistic unit and determining unit, wherein:
Described receiving element, be used for receiving first message of first network element issue, carry multicast identifier, zero-time and termination time in described first message, described multicast identifier, described zero-time and described termination time are sent to described second statistic unit;
Described second statistic unit is used for second quantity of the designated multicast data message that arrives in the statistics second network element local reception to the described termination time of described zero-time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; Described second quantity is sent to described determining unit;
Described receiving element also is used for: receive second message of described first network element issue, first quantity of carrying described designated multicast data message in described second message sends to described determining unit with described first quantity;
Described determining unit, be used for according to described first quantity and described second quantity determine the described second network element local reception to described designated multicast data message whether packet loss takes place, described first network element is the upstream network element of second network element.
In conjunction with above-mentioned fourth aspect, in first kind of possible implementation of fourth aspect, determining unit specifically is used for:
Calculate the difference of described first quantity and described second quantity, judge 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 the described second network element local reception is arrived;
If described difference less than difference threshold, determine the described second network element local reception to described designated multicast data message packet loss does not take place.
In conjunction with above-mentioned fourth aspect, and/or first kind of possible implementation of fourth aspect, in second kind of possible implementation of fourth aspect, described device also comprises alignment unit, wherein
Described receiving element also is used for: receive before described first message, receive the time parameter of described first network element issue, described time parameter is sent to described alignment unit;
Described alignment unit is used for carrying out clock alignment according to described time parameter.
In conjunction with above-mentioned fourth aspect, and/or first kind of possible implementation of fourth aspect, and/or second kind of possible implementation of fourth aspect, in the third possible implementation of fourth aspect, also comprise:
Report the unit, be used for reporting the bridge address of described multicast identifier and described second network element.
In the present embodiment, first network element is issued first message to second network element, carries multicast identifier, zero-time and termination time in described first message; First network element is in first quantity of the described zero-time designated multicast data message that the statistics first network element local reception is arrived to the termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; First network element is issued second message to second network element, carry first quantity of described designated multicast data message in described second message, so as second network element according to described first quantity determine the second network element local reception to the designated multicast data message whether packet loss takes place.Thereby realized whether network element is taken place the detection of multicast data message packet loss.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
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 the method for detecting packet loss 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 the packet loss detection device 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.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is carried out clear, complete description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not paying the every other embodiment that obtains under the creative work prerequisite.
Referring to Fig. 2, be the method for detecting packet loss first embodiment schematic diagram of multicast service of the present invention, this method comprises:
Network element was issued first message to second network element in 201: the first, carried multicast identifier, zero-time and termination time in described first message;
Here, described first network element can be the upstream network element of second network element, and second network element can be the downstream network element of first network element.Described first network element is issued first message to second network element and referred to: first network element is sent to first second network element of jumping with first message, by first second network element of jumping first message is sent to second second network element of jumping again, by that analogy, be sent to second network element of final jump until first message, thereby make the message of winning diffuse to the process of all second network elements in the first network element downstream.
Be example with networking structure shown in Figure 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM; Perhaps, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, when described second network element is UPE and DSLAM, described first network element is issued first message to second network element and referred to: PE-AGG is sent to UPE with first message, by UPE first message is sent to DSLAM again, thereby makes the message of winning diffuse to all UPE in PE-AGG downstream and the process of DSLAM.
Wherein, described multicast identifier is used for unique identification one multicast group; The multicast identifier difference of different multicast group correspondences.
202: described first network element is in first quantity of the described zero-time designated multicast data message that the described first network element local reception of statistics is arrived to the described termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication;
203: described first network element is issued second message to described second network element, carry first quantity of described designated multicast data message in described second message, so as second network element according to described first quantity determine the described second network element local reception to the designated multicast data message whether packet loss takes place.
Wherein, the realization that described first network element is issued second message to described second network element sees also the explanation that first network element is issued first message to second network element described in 201, does not give unnecessary details here.
In the present embodiment, first network element is issued first message to second network element, carries multicast identifier, zero-time and termination time in described first message; First network element is in first quantity of the described zero-time designated multicast data message that the statistics first network element local reception is arrived to the termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; First network element is issued second message to second network element, carry first quantity of described designated multicast data message in described second message, so as second network element according to described first quantity determine the second network element local reception to the designated multicast data message whether packet loss takes place.Thereby realized whether each network element is taken place the detection of multicast data message packet loss.
And, comprise multicast identifier in first message of first network element issue, thereby can specify each second network element that the multicast data message in a certain particular multicast group is carried out packet loss detection.
Referring to Fig. 3, be the method for detecting packet loss second embodiment schematic diagram of multicast service of the present invention, this method comprises:
301: the second network elements receive first message of first network element issue, carry multicast identifier, zero-time and termination time in described first message;
302: described second network element is in second quantity of the described zero-time designated multicast data message that the statistics second network element local reception is arrived to the described termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication;
303: described second network element receives second message of described first network element issue, first quantity of carrying described designated multicast data message in described second message;
304: described second network element according to described first quantity and described second quantity determine the described second network element local reception to described designated multicast data message whether packet loss takes place.
Here, described first network element can be the upstream network element of second network element, and second network element can be the downstream network element of first network element.Described first network element is issued first message to second network element and referred to: first network element is sent to first second network element of jumping with first message, by first second network element of jumping first message is sent to second second network element of jumping again, by that analogy, be sent to second network element of final jump until first message, thereby make the message of winning diffuse to the process of all second network elements in the first network element downstream.
Be example with networking structure shown in Figure 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM; Perhaps, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, when described second network element is UPE and DSLAM, described first network element is issued first message to second network element and referred to: PE-AGG is sent to UPE with first message, by UPE first message is sent to DSLAM again, thereby makes the message of winning diffuse to all UPE in PE-AGG downstream and the process of DSLAM.
Wherein, described multicast identifier is used for unique identification one multicast group; The multicast identifier difference of different multicast group correspondences.
In the present embodiment, second network element according to described first quantity and described second quantity determine the second network element local reception to described designated multicast data message whether packet loss takes place, thereby realized whether taking place for each second network element the detection of multicast data message packet loss.
And, comprise multicast identifier in first message of first network element issue, thereby can specify each second network element that the multicast data message in a certain particular multicast group is carried out packet loss detection.
Referring to Fig. 4, be method for detecting packet loss the 3rd embodiment schematic diagram of multicast service of the present invention, this method comprises:
Network element was to the local time parameter of second network element issue in 401: the first;
402: each second network element receives the time parameter of described first network element issue, carries out clock alignment according to described time parameter.
By clock alignment, can be so that the clock of first network element and each second network element be synchronous, thus guarantee that first network element and second network element in the subsequent step 404 can realize the statistics of first message that local reception is arrived synchronously according to described zero-time and termination time.
Wherein, the issue of described time parameter and described clock alignment can be realized by time protocol Network Based (NTP, Network Time Protocol).
Network element was issued first message to second network element in 403: the first, carried multicast identifier, zero-time and termination time in described first message.
Second network element optionally, can also carry difference threshold in described first message, so that can carry out the judgement whether second network element designated multicast data message packet loss takes place according to this difference threshold in 406.When not carrying described difference threshold in described first message, the described difference threshold in 406 can be preset in each second network element.
Wherein, described first message can pass through the realization of Internet Group Management Protocol (IGMP, Internet Group Management Protocol) Query message.Concrete, can expand additional data (Additional Data) field of described IGMP Query message, in the Additional Data field of expansion, carry described multicast identifier, zero-time and termination time, perhaps, carry described multicast identifier, zero-time, termination time and described difference threshold.
404: described first network element is in first quantity of the described zero-time designated multicast data message that the statistics first network element local reception is arrived to the termination time; Described second network element is in second quantity of the described zero-time designated multicast data message that the statistics second network element local reception is arrived to the termination time;
Network element was issued second message to second network element in 405: the first, carried first quantity of described designated multicast data message in described second message.
Wherein, described second message also can be realized by IGMP Query message.Concrete, can expand the Additional Data field of described IGMP Query message, first quantity of in the Additional Data field of expansion, carrying described designated multicast data message.
406: the second network elements receive second message of first network element issue, according to described first quantity and described second quantity determine the second network element local reception to described designated multicast data message whether packet loss takes place, when packet loss takes place, carry out 407; When packet loss did not take place, current handling process finished.
Wherein, described second network element according to described first quantity and described second quantity determine local reception to described designated multicast data message whether packet loss takes place comprises:
Second network element calculates the difference of described first quantity and described second quantity, judges whether described difference is not less than difference threshold;
If described difference is not less than difference threshold, second network element is determined the described designated multicast data message generation packet loss that the second network element local reception is arrived;
If described difference is less than difference threshold, second network element determine the second network element local reception to described designated multicast data message packet loss does not take place.
407: the second described multicast identifiers of reported by network elements and the bridge address of self.
Here, described first network element can be the upstream network element of second network element, and second network element can be the downstream network element of first network element.Described first network element is issued first message to second network element and referred to: first network element is sent to first second network element of jumping with first message, by first second network element of jumping first message is sent to second second network element of jumping again, by that analogy, be sent to second network element of final jump until first message, thereby make the message of winning diffuse to the process of all second network elements in the first network element downstream.
Be example with networking structure shown in Figure 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM; Perhaps, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, when described second network element is UPE and DSLAM, described first network element is issued first message to second network element and referred to: PE-AGG is sent to UPE with first message, by UPE first message is sent to DSLAM again, thereby makes the message of winning diffuse to all UPE in PE-AGG downstream and the process of DSLAM.
Wherein, described multicast identifier is used for unique identification one multicast group; The multicast identifier difference of different multicast group correspondences.
Wherein, each network element has the bridge address of this network element of unique identification.
Alternatively, can also report the difference of described first quantity and described second quantity etc., not limit here.
Wherein, described second network element can be with described multicast identifier and the bridge reporting address NM server of self etc. to the network element equipment whether packet loss manages.
In the present embodiment, first network element carries multicast identifier to the issue of second network element, first message of zero-time and termination time, thereby first network element and second network element simultaneously to local reception to the designated multicast data message of multicast identifier correspondence add up, and by first network element first quantity of designated multicast data message of self statistics is distributed to each second network element, judge according to second quantity that described first quantity and this geo-statistic obtain whether self the packet loss of designated multicast data message takes place by second network element, thereby realized that second network element is to the whether detection of packet loss of designated multicast data message;
And first network element carries multicast identifier in first message of second network element issue, thereby can specify the multicast group of carrying out packet loss detection by first network element;
In addition, during the second network element generation packet loss, with described multicast identifier and the bridge reporting address NM server of self, thereby can in network, orient network element and the multicast group that packet loss has taken place fast.
Referring to Fig. 5, be the packet loss detection device first example structure figure of multicast service of the present invention, this device can be arranged in described first network element, and this device 500 comprises first transmitting element 510 and first statistic unit 520, wherein:
Described first transmitting element 510 is used for issuing first message to second network element, carries multicast identifier, zero-time and termination time in described first message;
Described first statistic unit 520 is used for first quantity of the designated multicast data message that arrives in the statistics first network element local reception to the termination time of described zero-time that described first message that described first transmitting element 510 sends carries; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; First quantity of described designated multicast data message is sent to described first transmitting element 510;
Described first transmitting element 510 also is used for: issue second message to described second network element, carry first quantity of described designated multicast data message in described second message, so as described second network element according to described first quantity determine the second network element local reception to the designated multicast data message whether packet loss takes place.
Alternatively, described first transmitting element 510 can also be used for: send before first message, to the local time parameter of second network element issue, so that second network element carries out clock alignment based on described time parameter.
In the present embodiment, described first transmitting element 510 is issued first message to described second network element, carries multicast identifier, zero-time and termination time in described first message; First statistic unit 520 is in first quantity of the described zero-time designated multicast data message that the statistics first network element local reception is arrived to the termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; First transmitting element 510 is issued second message to second network element, carry first quantity of described designated multicast data message in described second message, so as second network element according to described first quantity determine the second network element local reception to the designated multicast data message whether packet loss takes place.Thereby realized whether each first network element is taken place the detection of multicast data message packet loss.
And, comprise multicast identifier in first message of described first transmitting element 510 issues, thereby can specify each second network element that the multicast data message in a certain particular multicast group is carried out packet loss detection.
Here, described first network element can be the upstream network element of second network element, and second network element can be the downstream network element of first network element.Described first network element is issued first message to second network element and referred to: first network element is sent to first second network element of jumping with first message, by first second network element of jumping first message is sent to second second network element of jumping again, by that analogy, be sent to second network element of final jump until first message, thereby make the message of winning diffuse to the process of all second network elements in the first network element downstream.
Be example with networking structure shown in Figure 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM; Perhaps, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, when described second network element is UPE and DSLAM, described first network element is issued first message to second network element and referred to: PE-AGG is sent to UPE with first message, by UPE first message is sent to DSLAM again, thereby makes the message of winning diffuse to all UPE in PE-AGG downstream and the process of DSLAM.
Wherein, described multicast identifier is used for unique identification one multicast group; The multicast identifier difference of different multicast group correspondences.
Referring to Fig. 6, be the packet loss detection device second example structure figure of multicast service of the present invention, this device can be arranged in described second network element, and this device 600 comprises receiving element 610, second statistic unit 620 and determining unit 630, wherein:
Described receiving element 610 is used for receiving first message that first network element is issued, and carries multicast identifier, zero-time and termination time in described first message, and described multicast identifier, zero-time and termination time are sent to described second statistic unit 620;
Described second statistic unit 620 is used for second quantity of the designated multicast data message that arrives in the statistics second network element local reception to the termination time of described zero-time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; Described second quantity is sent to described determining unit 630;
Described receiving element 610 also is used for: receive second message of first network element issue, first quantity of carrying described designated multicast data message in described second message sends to described determining unit 630 with described first quantity;
Described determining unit 630, be used for according to described first quantity and described second quantity determine the second network element local reception to described designated multicast data message whether packet loss takes place.
Alternatively, determining unit 630 specifically can be used for:
Calculate the difference of described first quantity and described second quantity, judge 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 the second network element local reception is arrived;
If described difference less than difference threshold, determine the second network element local reception to described designated multicast data message packet loss does not take place.
Alternatively, described receiving element 610 can also be used for: receive before first message, receive the time parameter of first network element issue, described time parameter is sent to alignment unit;
Accordingly, described device 600 can also comprise: alignment unit is used for carrying out clock alignment according to described time parameter.
Alternatively, described device 600 can also comprise: report the unit, be used for reporting the bridge address of described multicast identifier and described second network element.
In the present embodiment, determining unit 630 according to described first quantity and described second quantity determine the second network element local reception to described designated multicast data message whether packet loss takes place, thereby realized whether taking place for network element the detection of multicast data message packet loss.
And, comprise multicast identifier in first message of first network element issue, thereby can specify each second network element that the multicast data message in a certain particular multicast group is carried out packet loss detection.
Here, described first network element can be the upstream network element of second network element, and second network element can be the downstream network element of first network element.Described first network element is issued first message to second network element and referred to: first network element is sent to first second network element of jumping with first message, by first second network element of jumping first message is sent to second second network element of jumping again, by that analogy, be sent to second network element of final jump until first message, thereby make the message of winning diffuse to the process of all second network elements in the first network element downstream.
Be example with networking structure shown in Figure 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM; Perhaps, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, when described second network element is UPE and DSLAM, described first network element is issued first message to second network element and referred to: PE-AGG is sent to UPE with first message, by UPE first message is sent to DSLAM again, thereby makes the message of winning diffuse to all UPE in PE-AGG downstream and the process of DSLAM.
Wherein, described multicast identifier is used for unique identification one multicast group; The multicast identifier difference of different multicast group correspondences.
Referring to Fig. 7, be the network element structural representation that the embodiment of the invention provides, network element 700 comprises: processor 710, memory 720, transceiver 730 and bus 740;
Processor 710, memory 720, transceiver 730 interconnect 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 expression, only represent with a thick line among Fig. 7, but do not represent only to have the bus of a bus or a type.
Memory 720 is used for depositing program.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Memory 720 may comprise the high-speed RAM memory, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Transceiver 730 is used for connecting other equipment, and communicates with other equipment.Concrete, transceiver 730 is used for: issue first message to second network element, carry multicast identifier, zero-time and termination time in described first message; Issue second message to second network element, carry first quantity of described designated multicast data message in described second message, so as second network element according to described first quantity determine the second network element local reception to the designated multicast data message whether packet loss takes place.
Described processor 710 is carried out described program code, is used for first quantity of the designated multicast data message that arrives in zero-time statistics first network element local reception to the termination time; Described designated multicast data message refers to the multicast data message in the multicast group of multicast identifier indication;
Alternatively, transceiver 730 can also be used for: to the local time parameter of second network element issue, so that second network element carries out clock alignment based on described time parameter.
In the present embodiment, transceiver 730 is issued first message to second network element, carries multicast identifier, zero-time and termination time in described first message; Described processor 710 is in first quantity of the described zero-time designated multicast data message that the statistics first network element local reception is arrived to the termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; Transceiver 730 is issued second message to second network element, carry first quantity of described designated multicast data message in described second message, so as second network element according to described first quantity determine the second network element local reception to the designated multicast data message whether packet loss takes place.Thereby realized whether each first network element is taken place the detection of multicast data message packet loss.
Here, described first network element can be the upstream network element of second network element, and second network element can be the downstream network element of first network element.Described first network element is issued first message to second network element and referred to: first network element is sent to first second network element of jumping with first message, by first second network element of jumping first message is sent to second second network element of jumping again, by that analogy, be sent to second network element of final jump until first message, thereby make the message of winning diffuse to the process of all second network elements in the first network element downstream.
Be example with networking structure shown in Figure 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM; Perhaps, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, when described second network element is UPE and DSLAM, described first network element is issued first message to second network element and referred to: PE-AGG is sent to UPE with first message, by UPE first message is sent to DSLAM again, thereby makes the message of winning diffuse to all UPE in PE-AGG downstream and the process of DSLAM.
Wherein, described multicast identifier is used for unique identification one multicast group; The multicast identifier difference of different multicast group correspondences.
Referring to Fig. 8, be another structural representation of embodiment of the invention network element, described network element 800 comprises: processor 810, memory 820 and transceiver 830;
Processor 810, memory 820, transceiver 830 interconnect 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 expression, only represent with a thick line among Fig. 8, but do not represent only to have the bus of a bus or a type.
Memory 820 is used for depositing program.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Memory 820 may comprise the high-speed RAM memory, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Described transceiver 830 is used for connecting other equipment, and communicates with other equipment.Concrete, transceiver 830 is used for: receive first message of first network element issue, carry multicast identifier, zero-time and termination time in described first message; Receive second message of first network element issue, first quantity of carrying described designated multicast data message in described second message;
Described processor 810 is carried out described program code, is used for second quantity of the designated multicast data message that arrives in the statistics second network element local reception to the termination time of described zero-time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; Also be used for according to described first quantity and described second quantity determine the second network element local reception to described designated multicast data message whether packet loss takes place.
Alternatively, described processor 810 can realize by the following method described according to described first quantity and described second quantity determine local reception to described designated multicast data message whether packet loss takes place: calculate the difference of described first quantity and described second quantity, judge 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 less than difference threshold, determine local reception to described designated multicast data message packet loss does not take place.
Described transceiver 830 can also be used for: receive before first message, receive the time parameter of first network element issue;
Accordingly, described processor 810 can also be used for: carry out clock alignment according to described time parameter.
Described transceiver 830 can also be used for: after the described designated multicast data message generation packet loss that described processor 810 definite local receptions are arrived, report the bridge address of described multicast identifier and described second network element.
In the present embodiment, described processor 810 according to described first quantity and described second quantity determine the second network element local reception to described designated multicast data message whether packet loss takes place, thereby realized whether taking place for network element the detection of multicast data message packet loss.
And, comprise multicast identifier in first message that receives, thereby can specify network element that the multicast data message in a certain particular multicast group is carried out packet loss detection.
Here, described first network element can be the upstream network element of second network element, and second network element can be the downstream network element of first network element.Described first network element is issued first message to second network element and referred to: first network element is sent to first second network element of jumping with first message, by first second network element of jumping first message is sent to second second network element of jumping again, by that analogy, be sent to second network element of final jump until first message, thereby make the message of winning diffuse to the process of all second network elements in the first network element downstream.
Be example with networking structure shown in Figure 1, described first network element can be PE-AGG, and described second network element can be UPE and DSLAM; Perhaps, described first network element can be UPE, and described second network element can be DSLAM.
When described first network element is PE-AGG, when described second network element is UPE and DSLAM, described first network element is issued first message to second network element and referred to: PE-AGG is sent to UPE with first message, by UPE first message is sent to DSLAM again, thereby makes the message of winning diffuse to all UPE in PE-AGG downstream and the process of DSLAM.
Wherein, described multicast identifier is used for unique identification one multicast group; The multicast identifier difference of different multicast group correspondences.
The technology that those skilled in the art can be well understood in the embodiment of the invention can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme in the embodiment of the invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM(Read Only Memory, read-only memory)/RAM(Random Access Memory, random asccess memory), magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses is difference with other embodiment.Especially, for system embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
In the embodiment of the invention, PE can be router or switch, and AGG can be router or switch, and network element can be router or switch.
Above-described embodiment of the present invention does not constitute the restriction to protection range of the present invention.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. the method for detecting packet loss of a multicast service is characterized in that, comprising:
First network element is issued first message to second network element, carries multicast identifier, zero-time and termination time in described first message, and described first network element is the upstream network element of second network element;
Described first network element is in first quantity of the described zero-time designated multicast data message that the described first network element local reception of statistics is arrived to the described termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication;
Described first network element is issued second message to described second network element, carries described first quantity in described second message.
2. method according to claim 1 is characterized in that, first network element also comprises before sending first message:
First network element is to the local time parameter of second network element issue.
3. the method for detecting packet loss of a multicast service is characterized in that, comprising:
Second network element receives first message of first network element issue, carries multicast identifier, zero-time and termination time in described first message, and described first network element is the upstream network element of second network element;
Described second network element is in second quantity of the described zero-time designated multicast data message that the described second network element local reception of statistics is arrived to the described termination time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication;
Described second network element receives second message of described first network element issue, first quantity of carrying described designated multicast data message in described second message;
Described second network element according to described first quantity and described second quantity determine the described second network element local reception to described designated multicast data message whether packet loss takes place.
4. method according to claim 3 is characterized 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 packet loss takes place comprises:
Calculate the difference of described first quantity and described second quantity, determine 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 the described second network element local reception is arrived;
If described difference less than difference threshold, determine the described second network element local reception to described designated multicast data message packet loss does not take place.
5. according to claim 3 or 4 described methods, it is characterized in that second network element receives before first message, also comprises:
Described second network element receives the time parameter of described first network element issue, carries out clock alignment according to described time parameter.
6. according to each described method of claim 3 to 5, it is characterized in that second network element is determined also to comprise after the described designated multicast data message generation packet loss that local reception arrives:
The bridge address of the described multicast identifier of described second reported by network elements and described second network element.
7. the packet loss detection device of a multicast service is characterized in that, comprising:
First transmitting element is used for issuing first message to second network element, carries multicast identifier, zero-time and termination time in described first message;
First statistic unit is used for first quantity of the designated multicast data message that arrives in the described first network element local reception of statistics to the described termination time of described zero-time that described first message that described first transmitting element sends carries; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; Described first quantity is sent to described first transmitting element;
Described first transmitting element also is used for: issue second message to described second network element, carry described first quantity in described second message, described first network element is the upstream network element of second network element.
8. device according to claim 7 is characterized in that, described first transmitting element also is used for: send before first message, to the local time parameter of described second network element issue.
9. the packet loss detection device of a multicast service is characterized in that, comprises receiving element, second statistic unit and determining unit, wherein:
Described receiving element, be used for receiving first message of first network element issue, carry multicast identifier, zero-time and termination time in described first message, described multicast identifier, described zero-time and described termination time are sent to described second statistic unit;
Described second statistic unit is used for second quantity of the designated multicast data message that arrives in the statistics second network element local reception to the described termination time of described zero-time; Described designated multicast data message refers to the multicast data message in the multicast group of described multicast identifier indication; Described second quantity is sent to described determining unit;
Described receiving element also is used for: receive second message of described first network element issue, first quantity of carrying described designated multicast data message in described second message sends to described determining unit with described first quantity;
Described determining unit, be used for according to described first quantity and described second quantity determine the described second network element local reception to described designated multicast data message whether packet loss takes place, described first network element is the upstream network element of second network element.
10. device according to claim 9 is characterized in that, determining unit specifically is used for:
Calculate the difference of described first quantity and described second quantity, judge 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 the described second network element local reception is arrived;
If described difference less than difference threshold, determine the described second network element local reception to described designated multicast data message packet loss does not take place.
11. according to claim 9 or 10 described devices, it is characterized in that described device also comprises alignment unit, wherein
Described receiving element also is used for: receive before described first message, receive the time parameter of described first network element issue, described time parameter is sent to described alignment unit;
Described alignment unit is used for carrying out clock alignment according to described time parameter.
12. according to each described device of claim 9 to 11, it is characterized in that, also comprise:
Report the unit, be used for reporting the bridge address of described multicast identifier and described second network element.
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 true CN103188120A (en) 2013-07-03
CN103188120B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579834A (en) * 2014-12-31 2015-04-29 武汉中元华电科技股份有限公司 Method for constructing forwarding routes in power system
CN104917641A (en) * 2014-03-11 2015-09-16 中国电信股份有限公司 Method, device and system for testing packet loss
CN105828218A (en) * 2016-04-19 2016-08-03 华为技术有限公司 Method for detecting transmission quality of multicast streams, device and system
CN108075941A (en) * 2016-11-17 2018-05-25 华为技术有限公司 Detect method, sending device and the system of service traffics performance
CN110572293A (en) * 2018-06-06 2019-12-13 华为技术有限公司 Data message detection method, equipment and system
CN112152898A (en) * 2019-06-28 2020-12-29 华为技术有限公司 Multicast tunnel detection method, device and system

Citations (3)

* 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
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 (3)

* 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
US20110267962A1 (en) * 2010-04-29 2011-11-03 HP Development Company LP Method and system for predictive designated router handover in a multicast network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917641A (en) * 2014-03-11 2015-09-16 中国电信股份有限公司 Method, device and system for testing packet loss
CN104917641B (en) * 2014-03-11 2019-06-25 中国电信股份有限公司 It is a kind of for testing the method, test equipment and system of packet loss
CN104579834A (en) * 2014-12-31 2015-04-29 武汉中元华电科技股份有限公司 Method for constructing forwarding routes in power system
CN104579834B (en) * 2014-12-31 2018-01-05 武汉中元华电科技股份有限公司 A kind of method that forward-path is constructed in power system
CN105828218A (en) * 2016-04-19 2016-08-03 华为技术有限公司 Method for detecting transmission quality of multicast streams, device and system
CN108075941A (en) * 2016-11-17 2018-05-25 华为技术有限公司 Detect method, sending device and the system of service traffics performance
CN110572293A (en) * 2018-06-06 2019-12-13 华为技术有限公司 Data message detection method, equipment and system
CN110572293B (en) * 2018-06-06 2023-02-14 华为技术有限公司 Data message detection method, equipment and system
CN112152898A (en) * 2019-06-28 2020-12-29 华为技术有限公司 Multicast tunnel detection method, device and system
CN112152898B (en) * 2019-06-28 2021-07-20 华为技术有限公司 Multicast tunnel detection method, device and system

Also Published As

Publication number Publication date
CN103188120B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN103188120A (en) Detection method for packet loss of multicast business and device thereof
US20180048633A1 (en) Perception-free authentication method and system, and control method and system based on the same
CN103248561A (en) Cross-platform and cross-terminal communication method and message system
CN105556916B (en) The information statistical method and device of network flow
EP2938144A1 (en) Service announcement message transmission method and device
US20190014035A1 (en) Information transmission method and device
US20170222953A1 (en) User packet forwarding control method and processing node
CN106301987B (en) Message loss detection method, device and system
CN106850424A (en) A kind of system of selection, the apparatus and system in IP layers of path
CN111436030A (en) Method, device and system for reporting data usage
CN104580013A (en) Network communication method and system capable of realizing fast access point selection
CN106656807A (en) Message forwarding method and SDN switch
CN107465621A (en) A kind of router finds method, SDN controllers, router and network system
CN109150711B (en) Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service
CN101969395B (en) Method for configuring code, method and system for detecting path and network equipment
CN103227733B (en) A kind of topology discovery method and system
CN106921534A (en) Data traffic monitoring and managing method and device
CN104468158B (en) The method and apparatus of state advertisement between a kind of node
CN103402144A (en) Method, device and system for automatically measuring multicast service performances
CN105009512B (en) Maintenance association MA setting methods, apparatus and system
CN113489613B (en) Message forwarding method and device
CN108900422A (en) Multicast forward method, device and electronic equipment
WO2018014882A1 (en) Method and device for acquiring router information, and router addressing apparatus and system
EP2728815A1 (en) Method and rbridge for avoiding esadi protocol packet storms
CN101848169B (en) Message forwarding method in cluster management and exchanger

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