CN106603558B - The register method and device of multicast source under PIM-SM - Google Patents

The register method and device of multicast source under PIM-SM Download PDF

Info

Publication number
CN106603558B
CN106603558B CN201611257997.4A CN201611257997A CN106603558B CN 106603558 B CN106603558 B CN 106603558B CN 201611257997 A CN201611257997 A CN 201611257997A CN 106603558 B CN106603558 B CN 106603558B
Authority
CN
China
Prior art keywords
multicast
message
list item
sent
multicast source
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
CN201611257997.4A
Other languages
Chinese (zh)
Other versions
CN106603558A (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201611257997.4A priority Critical patent/CN106603558B/en
Publication of CN106603558A publication Critical patent/CN106603558A/en
Application granted granted Critical
Publication of CN106603558B publication Critical patent/CN106603558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast

Abstract

The application provides the register method and device of multicast source under a kind of PIM-SM, the RP applied to multicast group G, comprising: when the logon message that the DR for receiving the side multicast source S is sent, based on logon message construction switching message;Switch message and carries RP address information, multicast source S address information, multicast group G address information;Switching message is sent to upstream PIM neighbours, makes upstream PIM neighbours when determining it not is the DR of the side multicast source S, local (S, G) list item is updated based on switching message, and switching message is transmitted to upstream PIM neighbours;When determining that it is the DR of the side multicast source S, local (S is updated based on switching message, G) list item, and be (S, G) list item setting registration stopping mark to stop sending logon message to this RP when receiving multicast source S and being sent to the multicast message of multicast group G.Technical scheme can will not lead to multicast message Transmission to avoid network congestion.

Description

The register method and device of multicast source under PIM-SM
Technical field
This application involves the register methods and device of multicast source under field of communication technology more particularly to a kind of PIM-SM.
Background technique
PIM is the abbreviation of Protocol Independent Multicast (Protocol Independent Multicast), indicates can use Static routing or any unicast routing protocol unicast routing table generated provide routing for IP multicast.According to forwarding mechanism Difference, PIM can be divided into following two mode: PIM-DM (Protocol Independent Multicast-Dense Mode, Protocol Independent Multicast-dense mode) and PIM-SM (Protocol Independent Multicast-Sparse Mode, Protocol independent multicast-sparse mode).
At PIM-SM, the DR (Designated Router, Designated Router) of the side multicast source S is receiving multicast source S When being sent to the multicast message of carrying multicast packet of multicast group G, if there is no corresponding (S, G) list item in local forwarding table, The multicast message can be then encapsulated as to logon message (Register Message), and the logon message is passed through into mode of unicast It is sent to the RP (Rendezvous Point, Rendezvous Point) of multicast group G.It can be touched after the RP of logon message arrival multicast group G Hair is established SPT (Shortest Path Tree, shortest path tree), i.e. the RP of multicast group G can be sent to multicast source S hop-by-hop (S, G) joins message, so that the multicast router passed through from the RP to multicast source S of multicast group G be made to generate (S, G) list item.
After the completion of SPT foundation, if the DR of the side multicast source S receives multicast source S again is sent to multicast group G's The multicast message can be then transmitted to the RP of multicast group G by multicast message along the SPT;In addition, the DR of the side multicast source S is also The multicast message can be encapsulated as logon message, the RP of multicast group G is sent to by mode of unicast.
The RP of multicast group G can pass through in the multicast message that the DR for receiving the side multicast source S is sent along the SPT Mode of unicast sends stopped registration messages (Register-Stop Message) to the DR of the side multicast source S, the DR of the side multicast source S After receiving the stopped registration messages, the multicast message for no longer needing to for multicast source S being sent to multicast group G is encapsulated as logon message It is sent to the RP of multicast group G, and the multicast message need to be only transmitted to the RP of multicast group G along the SPT.
In these cases, it is completed when the SPT is established, and the DR of the side multicast source S does not receive the RP hair of multicast group G also When the stopped registration messages sent, it is most likely that the problem of network congestion occur.
Summary of the invention
In view of this, the application provides the register method and device of multicast source under a kind of PIM-SM, to solve the relevant technologies The network congestion problem that middle multicast source very likely occurs when registering to RP.
Specifically, the application is achieved by the following technical solution:
In a first aspect, the application provides a kind of register method of multicast source under PIM-SM, the method is applied to PIM-SM The RP of multicast group G in domain, which comprises
When the logon message that the DR for receiving the side multicast source S is sent, based on logon message construction switching message;Its In, the address information of this RP, the address information of multicast source S, the address information of multicast group G are carried in the switching message;
The switching message is sent to upstream PIM neighbours, so that the upstream PIM neighbours are determining that it is not multicast source When the DR of the side S, local (S, G) list item is updated based on the switching message, and the switching message is transmitted to upstream PIM neighbour It occupies;When determining that it is the DR of the side multicast source S, local (S, G) list item is updated based on the switching message, and be (S, the G) List item setting registration stopping mark when receiving multicast source S and being sent to the multicast message of multicast group G to stop sending to this RP Logon message.
Second aspect, the application provide a kind of register method of multicast source under PIM-SM, and the method is applied to PIM-SM The DR of the side multicast source S in domain, which comprises
When the switching message that the RP for receiving multicast group G is sent, local (S, G) table is updated based on the switching message , and be (S, G) the list item setting registration stopping mark;Wherein, the address letter of the RP is carried in the switching message Breath, the address information of multicast source S, the address information of multicast group G;
When receiving multicast source S and being sent to the multicast message of multicast group G, if local (S, G) list item is provided with registration Stopping mark, then (S, the G) list item according to forwards the multicast message, no longer needs to for the multicast message to be encapsulated as registration report Text is sent to the RP.
The third aspect, the application provide a kind of register device of multicast source under PIM-SM, and described device is applied to PIM-SM The RP of multicast group G, described device include: in domain
Structural unit, for being based on the logon message structure when receiving the logon message of DR transmission of the side multicast source S Make switching message;Wherein, the address information of this RP, the address information of multicast source S, multicast group G are carried in the switching message Address information;
First transmission unit, for the switching message to be sent to upstream PIM neighbours, so that the upstream PIM neighbours When determining it not is the DR of the side multicast source S, local (S, G) list item is updated based on the switching message, and the switching is reported Text is transmitted to upstream PIM neighbours;When determining that it is the DR of the side multicast source S, local (S, G) table is updated based on the switching message , and be (S, G) the list item setting registration stopping mark in the multicast message for receiving multicast source S and being sent to multicast group G When stop to this RP send logon message.
Fourth aspect, the application provide a kind of register device of multicast source under PIM-SM, and described device is applied to PIM-SM The DR of the side multicast source S, described device include: in domain
Updating unit, for being updated based on the switching message when receiving the switching message of RP transmission of multicast group G Local (S, G) list item, and be (S, G) the list item setting registration stopping mark;Wherein, it is carried in the switching message described The address information of RP, the address information of multicast source S, the address information of multicast group G;
Retransmission unit, for when receiving multicast source S and being sent to the multicast message of multicast group G, if local (S, G) table Item is provided with registration stopping mark, then (S, the G) list item according to forwards the multicast message, no longer needs to the multicast message It is encapsulated as logon message and is sent to the RP.
Analyze above-mentioned technical proposal it is found that when between multicast source S and the RP of multicast group G SPT establish complete when, multicast source The DR of the side S has been that (S, G) list item in its forwarding table is provided with registration and stops mark, subsequent to be sent to receiving multicast source S When the multicast message of multicast group G, only the multicast message can be transmitted to multicast along the SPT according to (S, the G) list item The RP of group G, without the multicast message is encapsulated as the RP that logon message is sent to multicast group G again.Compared with the relevant technologies, Using the technical program, the foundation of the SPT is completed to stop for multicast message being encapsulated as logon message hair with the DR of the side multicast source S Giving there's almost no the time difference between the RP of multicast group G, therefore multicast message can will not be caused to pass to avoid network congestion Defeated interruption.
Detailed description of the invention
Fig. 1 is the networking diagram of the register method of multicast source under a kind of PIM-SM shown in one exemplary embodiment of the application;
Fig. 2 is the flow chart of the register method of multicast source under a kind of PIM-SM shown in one exemplary embodiment of the application;
Fig. 3 is the process of the register method of multicast source under another PIM-SM shown in one exemplary embodiment of the application Figure;
Fig. 4 is equipment where the register device of multicast source under a kind of PIM-SM shown in one exemplary embodiment of the application Hardware structure diagram;
Fig. 5 is equipment where the register device of multicast source under another PIM-SM shown in one exemplary embodiment of the application Hardware structure diagram;
Fig. 6 is the block diagram of the register device of multicast source under a kind of PIM-SM shown in one exemplary embodiment of the application;
Fig. 7 is the block diagram of the register device of multicast source under another PIM-SM shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Referring to FIG. 1, for the register method of multicast source under a kind of PIM-SM shown in one exemplary embodiment of the application Networking diagram.Wherein, multicast source S can be server, and recipient can be terminal device.Recipient 1, recipient 2 and recipient 3 It is added in multicast group G, the DR of the side multicast source S is responsible for sending logon message to the RP of multicast group G, and the RP of multicast group G can be with Multicast source S is sent to the multicast message of multicast group G along RPT (Rendezvous Point Tree, shared tree or sink tree) It is sent to recipient.
Completion is established in order to solve the SPT between multicast source S and the RP of multicast group G in the related technology, with the side multicast source S There are problems that the time difference between the stopped registration messages that the RP that DR receives multicast group G is sent, is easier to it is envisioned that making multicast Group G RP receiving logon message, but not yet receive along the SPT send multicast message when, i.e., to the side multicast source S DR send stopped registration messages.But in this manner, in fact it could happen that the SPT not yet establishes completion, but the side multicast source S DR the case where having received the stopped registration messages.In this case, the DR of the side multicast source S both will not be by multicast message It is transmitted to the RP of multicast group G along the SPT, multicast message will not be encapsulated as to the RP that logon message is sent to multicast group G, So as to cause multicast message Transmission.
Referring to FIG. 2, for the register method of multicast source under a kind of PIM-SM shown in one exemplary embodiment of the application Flow chart, the method can be applied to the RP of multicast group G in pim-sm domain, comprising the following steps:
Step 201: when the logon message that the DR for receiving the side multicast source S is sent, being cut based on logon message construction Change message;Wherein, it is described switching message in carry the address information of this RP, the address information of multicast source S, multicast group G ground Location information.
In the present embodiment, similar to the relevant technologies, multicast group G is sent to when the DR of the side multicast source S receives multicast source S Multicast message when, if detecting does not have corresponding (S, G) list item in local forwarding table, then the multicast message can be sealed Dress is logon message, and the RP of multicast group G is sent to by mode of unicast.
In this step, it when the RP of multicast group G receives the logon message, can be constructed based on the logon message Switch message, it is described switching message in carry the address information of this RP, the address information of multicast source S, multicast group G address letter Breath.
Step 202: the switching message being sent to upstream PIM neighbours, so that the upstream PIM neighbours are determining it not For the side multicast source S DR when, local (S, G) list item is updated based on the switching message, and the switching message is transmitted to Swim PIM neighbours;When determining that it is the DR of the side multicast source S, local (S, G) list item is updated based on the switching message, and be institute (S, G) list item setting registration stopping mark is stated to stop when receiving multicast source S and being sent to the multicast message of multicast group G to this RP sends logon message.
In the present embodiment, similar to the relevant technologies, in pim-sm domain, multicast router can periodically be sent PIM Hello message, to find adjacent multicast router, i.e. PIM neighbours.Wherein, multicast is received on the multicast router The connected multicast router of the interface of message is upstream PIM neighbours.By taking Fig. 1 as an example, the upstream PIM neighbours of the RP of multicast group G are Router 1.
The switching message can be sent to its upstream PIM neighbour after constructing the switching message by the RP of multicast group G It occupies.Upstream PIM neighbours after receiving the switching message, can first detect this equipment whether be the side multicast source S DR.If Upstream PIM neighbours determine it not and are the DR of the side multicast source S, then the switching message can be transmitted to it by upstream PIM neighbours Upstream PIM neighbours, and the address information based on the multicast source S carried in the switching message, the address information of multicast group G, and The going out of the switching message, (S, G) list item in the updates local forwarding table such as incoming interface information.If upstream PIM neighbours determine It is the DR of the side multicast source S, then the DR of the side multicast source S may be used also while updating local (S, G) list item based on the switching message Think (S, G) the list item setting registration stopping mark.The SPT between the RP of multicast group G and multicast source S, which is established, as a result, completes.
Subsequent, the DR of the side multicast source S, can be according to institute when receiving multicast source S and being sent to the multicast message of multicast group G State the RP that the multicast message is transmitted to multicast group G by (S, G) list item along the SPT.In addition, the DR of the side multicast source S is being detected When (S, the G) list item is provided with registration stopping mark, no longer need to the multicast message being encapsulated as logon message to be sent to group Broadcast the RP of group G.
After the completion of the SPT is established, in order to safeguard the SPT, the RP of multicast group G can be according to period regular hour It continues up trip PIM neighbours and sends the switching message, the time cycle can be by technical staff's self-setting.If on this Trip PIM neighbours determine it not and are the DR of the side multicast source S, then upstream PIM neighbours can the clearing when receiving the switching message The switching message is transmitted to its upstream to prevent described (S, G) entry aging by the entry aging time of local (S, G) list item PIM neighbours.If upstream PIM neighbours determine that it is the DR of the side multicast source S, the DR of the side multicast source S is resetting local (S, G) While the entry aging time of list item, the mark that can also reset the registration stopping mark of described (S, G) list item is held time.
As seen from the above-described embodiment, when the SPT between multicast source S and the RP of multicast group G, which is established, to be completed, the side multicast source S DR be that (S, G) list item in its forwarding table is provided with registration and stops mark, it is subsequent to be sent to multicast receiving multicast source S When the multicast message of group G, only the multicast message can be transmitted to multicast group G's along the SPT according to (S, the G) list item RP, without the multicast message is encapsulated as the RP that logon message is sent to multicast group G again.Compared with the relevant technologies, use Multicast message is encapsulated as logon message with the DR stopping of the side multicast source S and is sent to by the technical program, the foundation completion of the SPT It there's almost no the time difference, therefore can will not cause in multicast message transmission between the RP of multicast group G to avoid network congestion It is disconnected.
Referring to FIG. 3, for the register method of multicast source under another PIM-SM shown in one exemplary embodiment of the application Flow chart, the method can be applied to the DR of the side multicast source S in pim-sm domain, comprising the following steps:
Step 301: when the switching message that the RP for receiving multicast group G is sent, being updated based on the switching message local (S, G) list item, and be (S, G) the list item setting registration stopping mark;Wherein, carry the RP's in the switching message Address information, the address information of multicast source S, the address information of multicast group G.
In the present embodiment, the DR of the side multicast source S, can be according to the ground of the RP wherein carried when receiving switching message The location infomation detection switching message whether the RP from multicast group G.When the address for the RP that the address information of the RP is multicast group G Information, then the DR of the side multicast source S can determine RP of the switching message from multicast group G, so as to according to the switching message The address information of the multicast source S of middle carrying and the address information of multicast group G update local (S, G) list item.Specifically, if it is local (S, G) list item is not preserved, then the DR of the side multicast source S can create (S, G) list item according to the switching message;If local save There is (S, G) list item, then the DR of the side multicast source S can carry out corresponding modification to (S, the G) list item according to the switching message.In addition, The DR of the side multicast source S can also be the local (S, G) list item setting registration stopping mark when receiving the switching message.
Step 302: when receiving multicast source S and being sent to the multicast message of multicast group G, if local (S, G) list item is set It is equipped with registration stopping mark, then (S, the G) list item according to forwards the multicast message, no longer needs to encapsulate the multicast message The RP is sent to for logon message.
In the present embodiment, when the DR of the side multicast source S receives multicast source S and is sent to the multicast message of multicast group G, first It can detecte and locally whether preserve corresponding (S, G) list item.When locally preserving corresponding (S, G) list item, illustrate multicast SPT between the RP and multicast source S of group G, which is established, to be completed, and the DR of the side multicast source S can be according to (S, the G) list item by the multicast Message is transmitted to the RP of multicast group G along the SPT.In addition, whether the DR of the side multicast source S can also detect (S, the G) list item It is provided with registration stopping mark, if so, then the DR of the side multicast source S no longer needs to for the multicast message to be encapsulated as logon message hair Give the RP of multicast group G.
After the completion of SPT between the RP of multicast group G and multicast source S is established, in order to safeguard the SPT, the RP of multicast group G Trip PIM neighbours can be continued up according to period regular hour and send the switching message, and the time cycle can be by skill Art personnel's self-setting.If upstream PIM neighbours determine it not be the side multicast source S DR, upstream PIM neighbours can be The entry aging time of local (S, G) list item is reset when receiving the switching message to prevent described (S, G) entry aging, and will The switching message is transmitted to its upstream PIM neighbours.If upstream PIM neighbours determine that it is the DR of the side multicast source S, multicast source The DR of the side S can also reset the registration of described (S, G) list item while resetting the entry aging time of local (S, G) list item The mark of stopping mark is held time.Hold time when the mark in technical staff is that the mark is held time setting in advance Time-out time in when, the DR of the side multicast source S can keep the registration stopping mark of described (S, G) list item, without again will The multicast message that multicast source S is sent to multicast group G is encapsulated as the RP that logon message is sent to multicast group G.
The DR of the side multicast source S holds time in the mark for the registration stopping mark for detecting described (S, G) list item reaches institute When stating time-out time, the registration stopping mark of (S, G) the list item setting can be cleared to.The DR of the side subsequent multicast source S is connecing When receiving multicast source S and being sent to the multicast message of multicast group G, if detecting that described (S, G) list item is not provided with registration and stops Mark, then can be encapsulated as logon message for the multicast message again, and the RP of multicast group G is sent to by mode of unicast.
It, can be in PIM-SM in order to alleviate the burden of RP and optimize the topological structure of RPT in large-scale pim-sm domain BSR (Boot Strap Router, BootStrap Router) and multiple C-RP (Candidate-RP, candidate RP) are configured in domain, are passed through Bootstrap mechanism dynamically elects RP, so that the different RP is served different multicast groups.In this case, if there is multicast group The problems such as RP failure of G, each multicast router in multicast group G can select new RP from numerous C-RP for multicast group G.Respectively The address information of C-RP is usually different, therefore, if the multicast router of the side multicast source S detects the RP's of multicast group G Address information changes, then can be cleared to the registration stopping mark of (S, G) the list item setting.The side subsequent multicast source S DR is when receiving multicast source S and being sent to the multicast message of multicast group G, if detecting that described (S, G) list item is not provided with note Volume stopping mark, then can be encapsulated as logon message for the multicast message again, and be sent to multicast group G by mode of unicast New RP.
When certain recipient, which no longer needs to receive, is sent to the multicast message of multicast group G, the DR of the recipient side can be sent out Play the beta pruning process of the RPT for multicast group G.After the beta pruning process, the RP of multicast group G no longer needs to send out multicast source S The multicast message for giving multicast group G is transmitted to the recipient.When certain recipient only no longer needs to receive to be sent to from multicast source S The multicast message of multicast group G, but there is still a need for receive other multicast sources be sent to the multicast message of multicast group G when, the RP of multicast group G Without the multicast source S multicast message for being sent to multicast group G is transmitted to the recipient again.
If the RP of multicast group G detects that the recipient of multicast group G is not present in downstream, illustrate without continuing to safeguard multicast The RP of SPT between source S and the RP of multicast group G, multicast group G can stop upstream PIM neighbours and send the switching message, with It is further reduced message transmissions amount.It should be noted that when the RP of multicast group G receives the registration of the DR transmission of the side multicast source S When message, if detecting that the recipient of multicast group G is not present in downstream, upstream PIM neighbours the switching can not also be sent Message.
As seen from the above-described embodiment, when the SPT between multicast source S and the RP of multicast group G, which is established, to be completed, the side multicast source S DR be that (S, G) list item in its forwarding table is provided with registration and stops mark, it is subsequent to be sent to multicast receiving multicast source S When the multicast message of group G, only the multicast message can be transmitted to multicast group G's along the SPT according to (S, the G) list item RP, without the multicast message is encapsulated as the RP that logon message is sent to multicast group G again.Compared with the relevant technologies, use Multicast message is encapsulated as logon message with the DR stopping of the side multicast source S and is sent to by the technical program, the foundation completion of the SPT It there's almost no the time difference, therefore can will not cause in multicast message transmission between the RP of multicast group G to avoid network congestion It is disconnected.
Corresponding with the embodiment of the register method of multicast source under aforementioned PIM-SM, present invention also provides PIM-SM the following groups Broadcast the embodiment of the register device in source.
The embodiment of the register device of multicast source can apply the RP of the multicast group G in pim-sm domain under the application PIM-SM On the DR of the side multicast source S.Installation practice can also pass through hardware or the side of software and hardware combining by software realization Formula is realized.Taking software implementation as an example, as the device on a logical meaning, being will be non-easy by the processor of equipment where it Corresponding computer program instructions are read into memory what operation was formed in the property lost memory.For hardware view, such as Fig. 4 institute Show, a kind of hardware structure diagram for being the RP of multicast group G where the register device of multicast source under the application PIM-SM, as shown in figure 5, For a kind of hardware structure diagram of the DR of the side multicast source S where the register device of multicast source under the application PIM-SM.In addition to Fig. 4 and figure Except processor, memory shown in 5, network interface and nonvolatile memory, the equipment in embodiment where device is usual According to the actual functional capability of the registration of multicast source under the PIM-SM, it can also include other hardware, this is repeated no more.
Referring to FIG. 6, for the register device of multicast source under a kind of PIM-SM shown in one exemplary embodiment of the application Block diagram, the register device 600 of multicast source can be applied in the RP of multicast group G shown in Fig. 4 under the PIM-SM, comprising:
Structural unit 601, for being reported based on the registration when receiving the logon message of DR transmission of the side multicast source S Text construction switching message;Wherein, the address information of this RP, the address information of multicast source S, multicast are carried in the switching message The address information of group G;
First transmission unit 602, for the switching message to be sent to upstream PIM neighbours, so that the upstream PIM is adjacent It occupies when determining it not is the DR of the side multicast source S, local (S, G) list item is updated based on the switching message, and by the switching Message is transmitted to upstream PIM neighbours;When determining that it is the DR of the side multicast source S, local (S, G) is updated based on the switching message List item, and be (S, G) the list item setting registration stopping mark in the group casting for receiving multicast source S and being sent to multicast group G Stop sending logon message to this RP when literary.
In an alternative embodiment, described device 600 can also include:
Second transmission unit 603, for after the switching message of construction is sent to upstream PIM neighbours, according to preset Time cycle continues up trip PIM neighbours and sends the switching message, so that the upstream PIM neighbours are determining that it is not multicast It when the DR of the source side S, resets the entry aging time of local (S, G) list item, and the switching message is transmitted to upstream PIM neighbour It occupies;When determining that it is the DR direct-connected with multicast source S, the entry aging time of local (S, G) list item is reset, and described in clearing The mark of the registration stopping mark of (S, G) list item is held time;
Stop unit 604, for stopping upstream PIM neighbours when detecting that the recipient of multicast group G is not present in downstream Send the switching message.
Referring to FIG. 7, for the register device of multicast source under another PIM-SM shown in one exemplary embodiment of the application Block diagram, the register device 700 of multicast source can be applied in the DR of the side multicast source S shown in fig. 5 under the PIM-SM, comprising:
Updating unit 701, for being based on the switching message when receiving the switching message of RP transmission of multicast group G Local (S, G) list item is updated, and is (S, G) the list item setting registration stopping mark;Wherein, it is carried in the switching message The address information of the RP, the address information of multicast source S, the address information of multicast group G;
Retransmission unit 702, for when receiving multicast source S and being sent to the multicast message of multicast group G, if local (S, G) list item is provided with registration stopping mark, then (S, the G) list item according to forwards the multicast message, no longer needs to the multicast Message is encapsulated as logon message and is sent to the RP.
In an alternative embodiment, described device 700 can also include:
Time resetting unit 703, for resetting when receiving the switching message of RP transmission of multicast group G again The entry aging time of local (S, G) list item, and the mark of the registration stopping mark of (S, G) list item described in clearing is held time.
In another alternative embodiment, described device 700 can also include:
Indicate clearing cell 704, the mark for the registration stopping mark when described (S, G) list item, which is held time, reaches pre- If time-out time when, be cleared to the registration stopping mark of (S, G) the list item setting;
Encapsulation unit 705, for when receiving multicast source S and being sent to the multicast message of multicast group G, if described (S, G) the not set registration of list item stops mark, then the multicast message is encapsulated as logon message again and is sent to the RP.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. the register method of multicast source under a kind of PIM-SM, which is characterized in that it is dilute that the method is applied to Protocol Independent Multicast- Dredge the Rendezvous Point RP of multicast group G in mode pim-sm domain, which comprises
When the logon message that the Designated Router DR for receiving the side multicast source S is sent, based on logon message construction switching Message;Wherein, it is described switching message in carry the address information of this RP, the address information of multicast source S, multicast group G address Information;
The switching message is sent to the upstream PIM neighbours of the RP, so that the upstream PIM neighbours are determining that it is not group When broadcasting the DR of the source side S, local (S, G) list item is updated based on the switching message, and the switching message is transmitted to upstream PIM Neighbours;When determining that it is the DR of the side multicast source S, local (S, G) list item is updated based on the switching message, and for described in (S, G) list item setting registration stopping mark when receiving multicast source S and being sent to the multicast message of multicast group G to stop sending out to this RP Send logon message.
2. the method according to claim 1, wherein the method also includes:
After the switching message that will be constructed is sent to the upstream PIM neighbours of the RP, continued up according to the preset time cycle It swims PIM neighbours and sends the switching message, so that the upstream PIM neighbours when determining it not is the DR of the side multicast source S, reset The entry aging time of local (S, G) list item, and the switching message is transmitted to upstream PIM neighbours;It is determining that it is and group When broadcasting the direct-connected DR of source S, the entry aging time of local (S, G) list item is reset, and the registration of (S, G) list item described in resetting stops The mark of mark is held time;
When detecting that the recipient of multicast group G is not present in downstream, stops upstream PIM neighbours and send the switching message.
3. the register method of multicast source under a kind of PIM-SM, which is characterized in that the method is applied to multicast source S in pim-sm domain The DR of side, which comprises
When the switching message that the RP for receiving multicast group G is sent, local (S, G) list item is updated based on the switching message, and For (S, the G) list item, registration stopping mark is set;Wherein, address information, the group of the RP are carried in the switching message Broadcast the address information of source S, the address information of multicast group G;
When receiving multicast source S and being sent to the multicast message of multicast group G, stop if local (S, G) list item is provided with registration Mark, then (S, the G) list item according to forwards the multicast message, no longer needs to for the multicast message to be encapsulated as logon message hair Give the RP.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
If the switching message that the RP for receiving multicast group G again is sent, resets the entry aging of local (S, G) list item Time, and the mark of the registration stopping mark of (S, G) list item described in clearing is held time.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
If the mark of the registration stopping mark of (S, the G) list item, which is held time, reaches preset time-out time, then it is cleared to The registration stopping mark of (S, G) the list item setting;
When receiving multicast source S and being sent to the multicast message of multicast group G, if the not set registration of (S, the G) list item stops Mark, then be encapsulated as logon message for the multicast message again and be sent to the RP.
6. the register device of multicast source under a kind of PIM-SM, which is characterized in that described device is applied to multicast group G in pim-sm domain RP, described device includes:
Structural unit, for being cut based on logon message construction when receiving the logon message of DR transmission of the side multicast source S Change message;Wherein, it is described switching message in carry the address information of this RP, the address information of multicast source S, multicast group G ground Location information;
First transmission unit, for the switching message to be sent to the upstream PIM neighbours of the RP, so that the upstream PIM Neighbours update local (S, G) list item when determining it not is the DR of the side multicast source S, based on the switching message, and cut described It changes message and is transmitted to upstream PIM neighbours;When determining that it is the DR of the side multicast source S, based on the switching message update local (S, G) list item, and be (S, G) the list item setting registration stopping mark in the multicast for receiving multicast source S and being sent to multicast group G Stop sending logon message to this RP when message.
7. device according to claim 6, which is characterized in that described device further include:
Second transmission unit, after being sent to the upstream PIM neighbours of the RP in the switching message that will be constructed, according to preset Time cycle continues up trip PIM neighbours and sends the switching message, so that the upstream PIM neighbours are determining that it is not multicast It when the DR of the source side S, resets the entry aging time of local (S, G) list item, and the switching message is transmitted to upstream PIM neighbour It occupies;When determining that it is the DR direct-connected with multicast source S, the entry aging time of local (S, G) list item is reset, and described in clearing The mark of the registration stopping mark of (S, G) list item is held time;
Stop unit sends institute for when detecting that the recipient of multicast group G is not present in downstream, stopping upstream PIM neighbours State switching message.
8. the register device of multicast source under a kind of PIM-SM, which is characterized in that described device is applied to multicast source S in pim-sm domain The DR of side, described device include:
Updating unit, for being updated based on the switching message local when receiving the switching message of RP transmission of multicast group G (S, G) list item, and be (S, G) the list item setting registration stopping mark;Wherein, carry the RP's in the switching message Address information, the address information of multicast source S, the address information of multicast group G;
Retransmission unit, for when receiving multicast source S and being sent to the multicast message of multicast group G, if local (S, G) list item is set It is equipped with registration stopping mark, then (S, the G) list item according to forwards the multicast message, no longer needs to encapsulate the multicast message The RP is sent to for logon message.
9. device according to claim 8, which is characterized in that described device further include:
Time resetting unit, when the switching message for being sent as the RP for receiving multicast group G again, reset it is local (S, G) the entry aging time of list item, and the mark of the registration stopping mark of (S, G) list item described in clearing is held time.
10. device according to claim 8, which is characterized in that described device further include:
Indicate clearing cell, the mark for the registration stopping mark when described (S, G) list item, which is held time, reaches preset super When the time when, be cleared to the registration stopping mark of (S, G) the list item setting;
Encapsulation unit, for when receiving multicast source S and being sent to the multicast message of multicast group G, if (S, the G) list item is not Setting registration stops mark, then the multicast message is encapsulated as logon message again and is sent to the RP.
CN201611257997.4A 2016-12-30 2016-12-30 The register method and device of multicast source under PIM-SM Active CN106603558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611257997.4A CN106603558B (en) 2016-12-30 2016-12-30 The register method and device of multicast source under PIM-SM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611257997.4A CN106603558B (en) 2016-12-30 2016-12-30 The register method and device of multicast source under PIM-SM

Publications (2)

Publication Number Publication Date
CN106603558A CN106603558A (en) 2017-04-26
CN106603558B true CN106603558B (en) 2019-08-06

Family

ID=58581456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611257997.4A Active CN106603558B (en) 2016-12-30 2016-12-30 The register method and device of multicast source under PIM-SM

Country Status (1)

Country Link
CN (1) CN106603558B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489642B (en) * 2021-07-04 2023-05-12 芯河半导体科技(无锡)有限公司 PIM-SM source registration optimization method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503507A (en) * 2002-11-26 2004-06-09 ��Ϊ�������޹�˾ Method for realizing registration from multicast source to collection point
CN101039264A (en) * 2007-03-22 2007-09-19 华为技术有限公司 Method, equipment and system for realizing designated router to register at convergence point
CN101547110A (en) * 2009-05-14 2009-09-30 杭州华三通信技术有限公司 Method, system and device for registering multicast source
EP2109260A1 (en) * 2007-02-05 2009-10-14 Huawei Technologies Co Ltd Multicast method and multicast routing method
CN103117935A (en) * 2013-02-28 2013-05-22 杭州华三通信技术有限公司 Multicast data forwarding method and multicast data forwarding device applied to multi-homing networking
CN103401788A (en) * 2013-07-30 2013-11-20 杭州华三通信技术有限公司 Method and equipment for establishing SPT (Shortest Path Tree)
CN105429878A (en) * 2015-11-10 2016-03-23 上海斐讯数据通信技术有限公司 Method for creating PIM-SM SPT

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503507A (en) * 2002-11-26 2004-06-09 ��Ϊ�������޹�˾ Method for realizing registration from multicast source to collection point
EP2109260A1 (en) * 2007-02-05 2009-10-14 Huawei Technologies Co Ltd Multicast method and multicast routing method
CN101039264A (en) * 2007-03-22 2007-09-19 华为技术有限公司 Method, equipment and system for realizing designated router to register at convergence point
CN101547110A (en) * 2009-05-14 2009-09-30 杭州华三通信技术有限公司 Method, system and device for registering multicast source
CN103117935A (en) * 2013-02-28 2013-05-22 杭州华三通信技术有限公司 Multicast data forwarding method and multicast data forwarding device applied to multi-homing networking
CN103401788A (en) * 2013-07-30 2013-11-20 杭州华三通信技术有限公司 Method and equipment for establishing SPT (Shortest Path Tree)
CN105429878A (en) * 2015-11-10 2016-03-23 上海斐讯数据通信技术有限公司 Method for creating PIM-SM SPT

Also Published As

Publication number Publication date
CN106603558A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN104270298B (en) Message forwarding method and device in a kind of VXLAN networks
CN105991432B (en) Provider edge router and method
US9118564B2 (en) Providing PIM-SM support for mRSVP-TE based multicast virtual private networks
CN109150580B (en) Protocol independent multicast join entropy
CN105900406B (en) For the technology of network service availability
EP2942905A1 (en) Method and device for registering multicast source and establishing multicast path
CN107040400A (en) Network equipment and method
CN105162704B (en) The method and device of multicast replication in Overlay network
US20110188499A1 (en) Point-to-multipoint path implementation in a multicast virtual private network
US20220286752A1 (en) Dynamic designated forwarder election per multicast stream for evpn all-active homing
EP2989755B1 (en) Efficient multicast delivery to dually connected (vpc) hosts in overlay networks
CN105490884B (en) A kind of VXLAN tunnel detection method and device
US20140003281A1 (en) Multicast Distribution Trees for mRSVP-TE Based Multicast Virtual Private Networks
US9525560B2 (en) Method, device, and system for transmitting multicast packet across layer 2 virtual network
US9160683B2 (en) Providing PIM-SSM support for MRSVP-TE based multicast virtual private networks
US20140086041A1 (en) System and method for providing n-way link-state routing redundancy without peer links in a network environment
CN103138955A (en) Managing IGMP multicast transmission using multiple queriers
CN106603558B (en) The register method and device of multicast source under PIM-SM
CN110120906B (en) Method and device for realizing dual active access TRILL park edge
US11516120B2 (en) Distance vector negative southbound topology information for routing in fat trees (RIFT) route
CN106027352A (en) Service message forwarding method and device
CN102857435B (en) Method and device for forwarding three-layer data flow in data center site
CN104683208B (en) The method for building up and communication equipment of stacking
CN102843303B (en) Multicast message processing method in PIM and device
WO2014199924A1 (en) Control device, communication system, and control method and program of relay device

Legal Events

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