CN106603558A - Registering method and registering device of multicast source in PIM-SM - Google Patents
Registering method and registering device of multicast source in PIM-SM Download PDFInfo
- Publication number
- CN106603558A CN106603558A CN201611257997.4A CN201611257997A CN106603558A CN 106603558 A CN106603558 A CN 106603558A CN 201611257997 A CN201611257997 A CN 201611257997A CN 106603558 A CN106603558 A CN 106603558A
- Authority
- CN
- China
- Prior art keywords
- multicast
- message
- list item
- multicast source
- switching message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000011144 upstream manufacturing Methods 0.000 claims abstract description 50
- 230000005540 biological transmission Effects 0.000 claims abstract description 14
- 230000032683 aging Effects 0.000 claims description 15
- 238000010276 construction Methods 0.000 claims description 8
- 238000005538 encapsulation Methods 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000013138 pruning Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/611—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a registering method and a registering device of a multicast source in PIM-SM, wherein the registering method and the registering device are applied to an RP in a multicast group G. The method comprises the steps of when a registering message which is transmitted by a DR at a multicast source S side is received, constructing a switching message based on the registering message, wherein the switching message carries RP address information, multicast source S address information and multicast group G address information; transmitting the switching message to an upstream PIM neighbor so that the upstream PIM neighbor updates local (S,G) items based on the switching message and forwards the switching message to the upstream PIM neighbor when the upstream PIM neighbor determines a fact that the switching message is not transmitted from the DR at the multicast source S side; and when a fact that the switching message is transmitted from the DR at the multicast source S side is determined, updating the local (S,G) items based on the switching message, setting a registration stopping mark for the (S,G) item for stopping transmission of the registering message to the local RP when the multicast message which is transmitted from the multicast source S to the multicast group G is received. The registering method and the registering device can prevent network congestion and multicast message transmission interruption.
Description
Technical field
The application is related to a kind of register method and device of multicast source under communication technical field, more particularly to PIM-SM.
Background technology
PIM is the abbreviation of Protocol Independent Multicast (Protocol Independent Multicast), and expression can be utilized
The unicast routing table that static routing or any unicast routing protocol are generated provides route for IP multicasts.According to forwarding mechanism
Difference, PIM can be divided into following two patterns: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).
Under PIM-SM, the DR (Designated Router, it is intended that router) of multicast source S sides is receiving multicast source S
When being sent to the multicast message of carrying multicast packet of multicast group G, if without corresponding (S, G) list item in local forward table,
Then the multicast message can be encapsulated as 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.Can touch after the RP of logon message arrival multicast group G
Send out and set up SPT (Shortest Path Tree, shortest path tree), be i.e. the RP of multicast group G can send to multicast source S hop-by-hops
(S, G) joins message, so that the multicast router passed through from the RP of multicast group G to multicast source S generates (S, G) list item.
After the completion of the SPT sets up, if the DR of multicast source S sides receives again multicast source S is sent to multicast group G
Multicast message, then the multicast message can be transmitted to the RP of multicast group G along the SPT;Additionally, the DR of multicast source S sides 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 multicast source S sides sends along the SPT
Mode of unicast to the DR of multicast source S sides sends stopped registration messages (Register-Stop Message), the DR of multicast source S sides
After the stopped registration messages are received, without the need for again the multicast message that multicast source S is sent to multicast group G being encapsulated as into logon message
The RP of multicast group G is sent to, and the multicast message only need to be transmitted to the RP of multicast group G along the SPT.
In these cases, complete when the SPT sets up, and the RP that the DR of multicast source S sides does not also receive multicast group G sends out
During the stopped registration messages sent, it is most likely that the problem of network congestion occur.
The content of the invention
In view of this, the application provides a kind of register method and device of multicast source under PIM-SM, to solve correlation technique
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, methods described is applied to PIM-SM
The RP of multicast group G in domain, methods described includes:
When the logon message that the DR for receiving multicast source S sides sends, based on logon message construction switching message;Its
In, address information, the address information of multicast source S, the address information of multicast group G of this RP are carried in the switching message;
The switching message is sent to into upstream PIM neighbours, so that the upstream PIM neighbours are not it is determined that it is multicast source
During the DR of S sides, local (S, G) list item is updated based on the switching message, and it is adjacent that the switching message is transmitted to into upstream PIM
Occupy;When the DR of multicast source S sides is determined that it is, local (S, G) list item is updated based on the switching message, and for (S, the G)
List item arrange registration stopping mark with receive stop when multicast source S is sent to the multicast message of multicast group G to this RP send
Logon message.
Second aspect, the application provides a kind of register method of multicast source under PIM-SM, and methods described is applied to PIM-SM
The DR of multicast source S sides in domain, methods described includes:
When the switching message that the RP for receiving multicast group G sends, local (S, G) table is updated based on the switching message
, and registration stopping mark is set for (S, the G) list item;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 forward the multicast message according to (S, the G) list item, reports without the need for again the multicast message being encapsulated as into registration
Text is sent to the RP.
The third aspect, the application provides 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 in domain, described device includes:
Structural unit, for when the logon message of DR transmissions of multicast source S sides is received, based on the logon message structure
Make switching message;Wherein, address information, the address information of multicast source S, multicast group G of this RP are carried in the switching message
Address information;
First transmitting element, for the switching message to be sent to into upstream PIM neighbours, so that the upstream PIM neighbours
When it is determined that it is not the DR of multicast source S sides, local (S, G) list item is updated based on the switching message, and switch report by described
Text is transmitted to upstream PIM neighbours;When the DR of multicast source S sides is determined that it is, local (S, G) table is updated based on the switching message
, and arrange registration stopping mark to receive multicast source S and be sent to the multicast message of multicast group G for (S, the G) list item
When stop to this RP send logon message.
Fourth aspect, the application provides a kind of register device of multicast source under PIM-SM, and described device is applied to PIM-SM
The DR of multicast source S sides in domain, described device includes:
Updating block, for when the switching message of RP transmissions of multicast group G is received, being updated based on the switching message
Local (S, G) list item, and registration stopping mark is set for (S, the G) list item;Wherein, carry 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 the multicast message is forwarded according to (S, the G) list item, without the need for again by the multicast message
It is encapsulated as logon message and is sent to the RP.
Analysis above-mentioned technical proposal understands, when the SPT between multicast source S and the RP of multicast group G sets up to be completed, multicast source
The DR of S sides is provided with registration and stops mark for (S, the G) list item in its forward table, is subsequently sent to receiving multicast source S
During the multicast message of multicast group G, only the multicast message can be transmitted to by multicast along the SPT according to (S, the G) list item
The RP of group G, without again the multicast message being encapsulated as into the RP that logon message is sent to multicast group G.Compared with correlation technique,
Using the technical program, the foundation of the SPT completes to stop for multicast message being encapsulated as logon message with the DR of multicast source S sides
Time difference is there's almost no between the RP for giving multicast group G, therefore network congestion can be avoided, be also not result in that multicast message is passed
Defeated interruption.
Description of the drawings
Fig. 1 is the networking diagram of the register method of multicast source under a kind of PIM-SM shown in the exemplary embodiment of the application one;
Fig. 2 is the flow chart of the register method of multicast source under a kind of PIM-SM shown in the exemplary embodiment of the application one;
Fig. 3 is the flow process of the register method of multicast source under another kind of PIM-SM shown in the exemplary embodiment of the application one
Figure;
Fig. 4 is the register device place equipment of multicast source under a kind of PIM-SM shown in the exemplary embodiment of the application one
Hardware structure diagram;
Fig. 5 is the register device place equipment of multicast source under another kind of PIM-SM shown in the exemplary embodiment of the application one
Hardware structure diagram;
Fig. 6 is the block diagram of the register device of multicast source under a kind of PIM-SM shown in the exemplary embodiment of the application one;
Fig. 7 is the block diagram of the register device of multicast source under another kind of PIM-SM shown in the exemplary embodiment of the application one.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the application.
It is, only merely for the purpose of description specific embodiment, and to be not intended to be limiting the application in term used in this application.
" one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and wrapped
Containing one or more associated any or all possible combinations for listing project.
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 for that same type of information is distinguished from each other out.For example, without departing from
In the case of the application scope, 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 linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Fig. 1 is refer to, is the register method of multicast source under a kind of PIM-SM shown in the exemplary embodiment of the application one
Networking diagram.Wherein, multicast source S can be server, and recipient can be terminal unit.Recipient 1, recipient 2 and recipient 3
It is added in multicast group G, the DR of multicast source S sides is responsible for sending logon message to the RP of multicast group G, the RP of multicast group G can be with
Multicast source S is sent to into the multicast message of multicast group G along RPT (Rendezvous Point Tree, shared tree or sink tree)
It is sent to recipient.
SPT in order to solve correlation technique between the multicast source S and RP of multicast group G sets up and completes, with multicast source S sides
DR receives the problem of existence time difference between the stopped registration messages that the RP of multicast group G sends, and is easier to it is envisioned that making multicast
The RP of group G receiving logon message, but when not yet receiving the multicast message sent along the SPT, i.e., to multicast source S sides
DR send stopped registration messages.But adopt in such a way, in fact it could happen that the SPT not yet sets up and completes, but multicast source S sides
DR have been received by the situation of the stopped registration messages.In this case, the DR of multicast source S sides both will not be by multicast message
The RP of multicast group G is transmitted to along the SPT, also multicast message the RP that logon message is sent to multicast group G will not be encapsulated as,
So as to cause multicast message Transmission.
Fig. 2 is refer to, is the register method of multicast source under a kind of PIM-SM shown in the exemplary embodiment of the application one
Flow chart, methods described can apply to the RP of multicast group G in pim-sm domain, comprise the following steps:
Step 201:When the logon message that the DR for receiving multicast source S sides sends, cut based on logon message construction
Change message;Wherein, address information, the address information of multicast source S, the ground of multicast group G of this RP are carried in the switching message
Location information.
In the present embodiment, it is similar to correlation technique, it is sent to multicast group G when the DR of multicast source S sides receives multicast source S
Multicast message when, if detected in local forward table without corresponding (S, G) list item, then the multicast message can be sealed
Fill as logon message, the RP of multicast group G is sent to by mode of unicast.
In this step, when the RP of multicast group G receives the logon message, can be constructed based on the logon message
Switching message, carries address information, the address information of multicast source S, the address letter of multicast group G of this RP in the switching message
Breath.
Step 202:By it is described switching message be sent to upstream PIM neighbours so that the upstream PIM neighbours it is determined that its not
For multicast source S sides DR when, local (S, G) list item is updated based on the switching message, and the switching message is transmitted to
Trip PIM neighbours;When the DR of multicast source S sides is determined that it is, local (S, G) list item is updated based on the switching message, and for institute
State (S, G) list item arrange registration stopping mark with receive stop when multicast source S is sent to the multicast message of multicast group G to this
RP sends logon message.
In the present embodiment, similar to correlation technique, in pim-sm domain, multicast router can periodically send
PIM Hello message, to find adjacent multicast router, i.e. PIM neighbours.Wherein, multicast is received with 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 adjacent by the RP of multicast group G after the switching message is constructed
Occupy.Upstream PIM neighbours can first detect that whether this equipment be the DR of multicast source S sides after the switching message is received.If
It is not the DR of multicast source S sides that upstream PIM neighbours determine it, then the switching message can be transmitted to it by upstream PIM neighbours
Upstream PIM neighbours, and address information, the address information of multicast group G based on the multicast source S carried in the switching message, and
The going out of the switching message, incoming interface information etc. update (S, the G) list item in local forward table.If upstream PIM neighbours determine
It is the DR of multicast source S sides, then the DR of multicast source S sides may be used also while local (S, G) list item is updated based on the switching message
Think that described (S, G) list item arranges registration stopping mark.Thus, the SPT between the RP of multicast group G and multicast source S sets up and completes.
Subsequently, the DR of multicast source S sides, 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 (S, G) list item multicast group G along the SPT.Additionally, the DR of multicast source S sides is in detection
When (S, the G) list item is provided with registration stopping mark, without the need for again the multicast message being encapsulated as into logon message group is sent to
Broadcast the RP of group G.
After the completion of the SPT sets up, in order to safeguard the SPT, the RP of multicast group G can be according to cycle regular hour
Continue up trip PIM neighbours and send the switching message, the time cycle can voluntarily be arranged by technical staff.If on this
It is not the DR of multicast source S sides that trip PIM neighbours determine it, then upstream PIM neighbours can reset when the switching message is received
Locally the list item ageing time of (S, G) list item is to prevent described (S, G) list item aging, and the switching message is transmitted to into its upstream
PIM neighbours.If upstream PIM neighbours determine that it is the DR of multicast source S sides, the DR of multicast source S sides is resetting local (S, G)
While the list item ageing 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 sets up to be completed, multicast source S sides
DR be provided with registration for (S, the G) list item in its forward table and stop mark, be subsequently sent to multicast receiving multicast source S
During the multicast message of group G, only the multicast message can be transmitted to by multicast group G along the SPT according to (S, the G) list item
RP, without again the multicast message being encapsulated as into the RP that logon message is sent to multicast group G.Compared with correlation technique, adopt
The technical program, the foundation of the SPT completes to stop for multicast message being encapsulated as logon message with the DR of multicast source S sides being sent to
Time difference is there's almost no between the RP of multicast group G, therefore network congestion can be avoided, in being also not result in multicast message transmission
It is disconnected.
Fig. 3 is refer to, is the register method of multicast source under another kind of PIM-SM shown in the exemplary embodiment of the application one
Flow chart, methods described can apply to the DR of multicast source S sides in pim-sm domain, comprises the following steps:
Step 301:When the switching message that the RP for receiving multicast group G sends, update local based on the switching message
(S, G) list item, and registration stopping mark is set for (S, the G) list item;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 multicast source S sides, can be according to the ground of the RP for wherein carrying when switching message is received
Whether the location infomation detection switching message is from the RP of multicast group G.When the address of the RP that the address information of the RP is multicast group G
Information, then the DR of multicast source S sides can determine RP of the switching message from multicast group G, such that it is able 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 locally
(S, G) list item is not preserved, then the DR of multicast source S sides can create (S, G) list item according to the switching message;If local preserve
There is (S, G) list item, then the DR of multicast source S sides can carry out correspondence modification to (S, the G) list item according to the switching message.Additionally,
The DR of multicast source S sides can be to arrange registration stopping mark when the switching message is received as described local (S, G) list item.
Step 302:When receiving multicast source S and being sent to the multicast message of multicast group G, if local (S, G) list item sets
Registration stopping mark is equipped with, then the multicast message is forwarded according to (S, the G) list item, without the need for again by multicast message encapsulation
The RP is sent to for logon message.
In the present embodiment, when the DR of multicast source S sides receives multicast source S and is sent to the multicast message of multicast group G, first
Can detect locally whether preserve corresponding (S, G) list item.When corresponding (S, G) list item is locally preserved, multicast is illustrated
SPT between the RP and multicast source S of group G sets up and completes, and the DR of multicast source S sides 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.Additionally, whether the DR of multicast source S sides can also detect (S, the G) list item
Registration stopping mark is provided with, if it has, then the DR of multicast source S sides sends out without the need for again the multicast message being encapsulated as into logon message
Give the RP of multicast group G.
After the completion of SPT between the RP and multicast source S of multicast group G sets up, in order to safeguard the SPT, the RP of multicast group G
Trip PIM neighbours being continued up according to cycle regular hour and sending the switching message, the time cycle can be by skill
Art personnel voluntarily arranged.If it is not the DR of multicast source S sides that upstream PIM neighbours determine it, upstream PIM neighbours can be
The list item ageing time of local (S, G) list item is reset when receiving the switching message to prevent described (S, G) list item aging, and will
The switching message is transmitted to its upstream PIM neighbours.If upstream PIM neighbours determine that it is the DR of multicast source S sides, multicast source
The DR of S sides can also reset the registration of described (S, G) list item while the list item ageing time of local (S, G) list item is reset
The mark of stopping mark is held time.Hold time when the mark and held time setting for the mark in advance in technical staff
Time-out time in when, the DR of multicast source S sides can keep the registration stopping mark of described (S, G) list item, so as to without the need for again will
Multicast source S is sent to the multicast message of multicast group G and is encapsulated as the RP that logon message is sent to multicast group G.
The DR of multicast source S sides holds time in the mark of the registration stopping mark for detecting described (S, G) list item and reaches institute
When stating time-out time, the registration stopping mark that described (S, G) list item is arranged can be cleared to.The DR of follow-up multicast source S sides is connecing
When receiving multicast source S and being sent to the multicast message of multicast group G, stop if detecting described (S, G) list item and being not provided with registration
Mark, then can be encapsulated as logon message by the multicast message again, and be sent to the RP of multicast group G by mode of unicast.
In large-scale pim-sm domain, in order to alleviate the burden of RP and optimize the topological structure of RPT, can be in PIM-SM
BSR (Boot Strap Router, BootStrap Router) and multiple C-RP (Candidate-RP, candidate RP) is configured in domain, is passed through
Bootstrap mechanism carrys out dynamic election RP, makes different RP serve different multicast groups.In this case, if there is multicast group
The problems such as RP failures 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 generally different, therefore, if the multicast router of multicast source S sides detects the RP's of multicast group G
Address information changes, then can be cleared to the registration stopping mark that described (S, G) list item is arranged.Follow-up multicast source S sides
DR is when receiving multicast source S and being sent to the multicast message of multicast group G, if detecting described (S, G) list item is not provided with note
Volume stopping mark, then can be encapsulated as logon message by the multicast message again, and be sent to multicast group G by mode of unicast
New RP.
When certain recipient no longer needs to receive the multicast message for being sent to multicast group G, the DR of the recipient side can send out
Play the beta pruning process of the RPT for multicast group G.After the beta pruning process terminates, the RP of multicast group G is without the need for again by 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 remain a need for receiving other multicast sources when being sent to the multicast message of multicast group G, the RP of multicast group G
Without again the multicast message that multicast source S is sent to multicast group G being transmitted to into the recipient.
If the RP of multicast group G detects the recipient that downstream does not have multicast group G, illustrate to continue to safeguard multicast
SPT between source S and the RP of multicast group G, the RP of multicast group G can stop upstream PIM neighbours and send the switching message, with
Further reduce message transmissions amount.It should be noted that when the RP of multicast group G receives the registration of the DR transmissions of multicast source S sides
During message, if detecting the recipient that downstream does not have multicast group G, it is also possible to which upstream PIM neighbours do not send the switching
Message.
As seen from the above-described embodiment, when the SPT between multicast source S and the RP of multicast group G sets up to be completed, multicast source S sides
DR be provided with registration for (S, the G) list item in its forward table and stop mark, be subsequently sent to multicast receiving multicast source S
During the multicast message of group G, only the multicast message can be transmitted to by multicast group G along the SPT according to (S, the G) list item
RP, without again the multicast message being encapsulated as into the RP that logon message is sent to multicast group G.Compared with correlation technique, adopt
The technical program, the foundation of the SPT completes to stop for multicast message being encapsulated as logon message with the DR of multicast source S sides being sent to
Time difference is there's almost no between the RP of multicast group G, therefore network congestion can be avoided, in being also not result in multicast message transmission
It is disconnected.
It is 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 multicast group G in pim-sm domain under the application PIM-SM
On the DR of multicast source S sides.Device embodiment can be realized by software, it is also possible to by hardware or the side of software and hardware combining
Formula is realized.As a example by implemented in software, used as the device on a logical meaning, being will be non-easy by the processor of its place equipment
Corresponding computer program instructions read what operation in internal memory was formed in the property lost memorizer.From for hardware view, such as Fig. 4 institutes
Show, be a kind of hardware structure diagram of the RP of register device place multicast group G 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 register device place multicast source S sides of multicast source under the application PIM-SM.Except Fig. 4 and Tu
Outside processor, internal memory, network interface and nonvolatile memory shown in 5, the equipment that device is located in embodiment is usual
According to the actual functional capability of the registration of multicast source under the PIM-SM, other hardware can also be included, this is repeated no more.
Fig. 6 is refer to, is the register device of multicast source under a kind of PIM-SM shown in the exemplary embodiment of the application one
Block diagram, the register device 600 of multicast source can apply in the RP of multicast group G shown in Fig. 4 under the PIM-SM, including:
Structural unit 601, for when the logon message of DR transmissions of multicast source S sides is received, being reported based on the registration
Text construction switching message;Wherein, address information, the address information of multicast source S, the multicast of this RP are carried in the switching message
The address information of group G;
First transmitting element 602, for the switching message to be sent to into upstream PIM neighbours, so that the upstream PIM is adjacent
Occupy it is determined that its for the DR of multicast source S sides when, local (S, G) list item is updated based on the switching message, and by the switching
Message is transmitted to upstream PIM neighbours;When the DR of multicast source S sides is determined that it is, updated local (S, G) based on the switching message
List item, and arrange registration stopping mark to receive multicast source S and be sent to the multicast report of multicast group G for (S, the G) list item
Stop sending logon message to this RP when literary.
In an optional embodiment, described device 600 can also include:
Second transmitting element 603, for after the switching message by construction is sent to upstream PIM neighbours, according to default
Time cycle continues up trip PIM neighbours and sends the switching message, so that the upstream PIM neighbours are not it is determined that it is multicast
During the DR of source S sides, the list item ageing time of local (S, G) list item is reset, and it is adjacent that the switching message is transmitted to into upstream PIM
Occupy;When the DR direct-connected with multicast source S is determined that it is, the list item ageing time of local (S, G) list item is reset, and reset described
The mark of the registration stopping mark of (S, G) list item is held time;
Stop element 604, for when detecting downstream and there is no the recipient of multicast group G, stopping upstream PIM neighbours
Send the switching message.
Fig. 7 is refer to, is the register device of multicast source under another kind of PIM-SM shown in the exemplary embodiment of the application one
Block diagram, the register device 700 of multicast source can apply in the DR of the multicast source S sides shown in Fig. 5 under the PIM-SM, including:
Updating block 701, for when the switching message of RP transmissions of multicast group G is received, based on the switching message
Local (S, G) list item is updated, and registration stopping mark is set for (S, the G) list item;Wherein, carry 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 the multicast message is forwarded according to (S, the G) list item, without the need for again by the multicast
Message is encapsulated as logon message and is sent to the RP.
In an optional embodiment, described device 700 can also include:
Time resets unit 703, for when the switching message of RP transmissions of multicast group G is received again, resetting
The local list item ageing time of (S, G) list item, and the mark of the registration stopping mark of (S, G) list item is held time described in resetting.
In another optional embodiment, described device 700 can also include:
Mark clearing cell 704, for when (S, the G) list item registration stopping mark mark hold time reach it is pre-
If time-out time when, be cleared to the registration stopping mark that described (S, G) list item is arranged;
Encapsulation unit 705, for when receiving multicast source S and being sent to the multicast message of multicast group G, if described (S,
G) list item is not provided with registration stopping mark, then again the multicast message is encapsulated as into logon message and is sent to the RP.
The function of unit and effect realizes that process specifically refers in said method correspondence step in said apparatus
Process is realized, be will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.Device embodiment described above is only schematic, wherein described as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit shows or can also
It is not physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to reality
Need the purpose for selecting some or all of module therein to realize application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application
Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
Claims (10)
1. under a kind of PIM-SM multicast source register method, it is characterised in that methods described is applied to Protocol Independent Multicast-dilute
The Rendezvous Point RP of multicast group G in thin pattern pim-sm domain, methods described includes:
When the logon message that the Designated Router DR for receiving multicast source S sides sends, switched based on logon message construction
Message;Wherein, address information, the address information of multicast source S, the address of multicast group G of this RP are carried in the switching message
Information;
The switching message is sent to into upstream PIM neighbours, so that the upstream PIM neighbours are not it is determined that it is multicast source S sides
DR when, local (S, G) list item is updated based on the switching message, and the switching message is transmitted to into upstream PIM neighbours;
When determining that it is the DR of multicast source S sides, local (S, G) list item is updated based on the switching message, and set for (S, the G) list item
Put registration stopping mark with receive stop when multicast source S is sent to the multicast message of multicast group G to this RP send registration report
Text.
2. method according to claim 1, it is characterised in that methods described also includes:
After the switching message by construction is sent to upstream PIM neighbours, according to the default time cycle trip PIM neighbours are continued up
The switching message is sent, so that the upstream PIM neighbours reset local (S, G) when it is determined that it is not the DR of multicast source S sides
The list item ageing time of list item, and the switching message is transmitted to into upstream PIM neighbours;It is direct-connected with multicast source S determining that it is
DR when, reset the list item ageing time of local (S, G) list item, and the mark of the registration stopping mark of (S, G) list item described in resetting
Will is held time;
When detecting downstream and there is no the recipient of multicast group G, stop upstream PIM neighbours and send the switching message.
3. under a kind of PIM-SM multicast source register method, it is characterised in that methods described is applied to multicast source S in pim-sm domain
The DR of side, methods described includes:
When the switching message that the RP for receiving multicast group G sends, 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 address information, the address information of multicast group G of source S;
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 stopped
Mark, then forward the multicast message according to (S, the G) list item, sends out without the need for again the multicast message being encapsulated as into logon message
Give the RP.
4. method according to claim 3, it is characterised in that methods described also includes:
If the switching message that the RP for receiving multicast group G again sends, the list item for resetting local (S, G) list item is aging
Time, and the mark of the registration stopping mark of (S, G) list item is held time described in resetting.
5. method according to claim 3, it is characterised in that methods described also includes:
If the mark of the registration stopping mark of (S, the G) list item is held time reaches default time-out time, then it is cleared to
The registration stopping mark that (S, the G) list item is arranged;
When receiving multicast source S and being sent to the multicast message of multicast group G, if (S, the G) list item is not provided with registration and stops
Mark, then be encapsulated as the multicast message logon message and be sent to the RP again.
6. under a kind of PIM-SM multicast source register device, it is characterised in that described device is applied to multicast group G in pim-sm domain
RP, described device includes:
Structural unit, for when the logon message of DR transmissions of multicast source S sides is received, being cut based on logon message construction
Change message;Wherein, address information, the address information of multicast source S, the ground of multicast group G of this RP are carried in the switching message
Location information;
First transmitting element, for the switching message to be sent to into upstream PIM neighbours, so that the upstream PIM neighbours are true
It is fixed its for the DR of multicast source S sides when, local (S, G) list item is updated based on the switching message, and the switching message is turned
Issue upstream PIM neighbours;When the DR of multicast source S sides is determined that it is, local (S, G) list item is updated based on the switching message,
And arrange registration stopping mark to stop receiving when multicast source S is sent to the multicast message of multicast group G for (S, the G) list item
Only send logon message to this RP.
7. device according to claim 6, it is characterised in that described device also includes:
Second transmitting element, for after the switching message by construction is sent to upstream PIM neighbours, according to the default time cycle
Continue up trip PIM neighbours and send the switching message, so that the upstream PIM neighbours are it is determined that it is not multicast source S sides
During DR, the list item ageing time of local (S, G) list item is reset, and the switching message is transmitted to into upstream PIM neighbours;It is determined that
When it is the DR direct-connected with multicast source S, the list item ageing time of local (S, G) list item, and (S, G) list item described in resetting are reset
The mark of registration stopping mark is held time;
Stop element, for when detecting downstream and there is no the recipient of multicast group G, stopping upstream PIM neighbours institute is sent
State switching message.
8. under a kind of PIM-SM multicast source register device, it is characterised in that described device is applied to multicast source S in pim-sm domain
The DR of side, described device includes:
Updating block, for when the switching message of RP transmissions of multicast group G is received, updating local based on the switching message
(S, G) list item, and registration stopping mark is set for (S, the G) list item;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 sets
Registration stopping mark is equipped with, then the multicast message is forwarded according to (S, the G) list item, without the need for again by multicast message encapsulation
The RP is sent to for logon message.
9. device according to claim 8, it is characterised in that described device also includes:
Time resets unit, for when the switching message that the RP for receiving multicast group G again sends, reset it is local (S,
G) the list item ageing time of list item, and the mark of the registration stopping mark of (S, G) list item is held time described in resetting.
10. device according to claim 8, it is characterised in that described device also includes:
Mark clearing cell, for holding time when the mark of the registration stopping mark of (S, the G) list item default surpassing is reached
When the time when, be cleared to the registration stopping mark that described (S, G) list item is arranged;
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
Registration is set and stops mark, then again the multicast message is encapsulated as into logon message and is sent to the RP.
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 true CN106603558A (en) | 2017-04-26 |
| CN106603558B 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) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113489642A (en) * | 2021-07-04 | 2021-10-08 | 芯河半导体科技(无锡)有限公司 | PIM-SM source registration optimization method |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1503507A (en) * | 2002-11-26 | 2004-06-09 | ��Ϊ��������˾ | A method for registering from a multicast source to a rendezvous 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 |
-
2016
- 2016-12-30 CN CN201611257997.4A patent/CN106603558B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1503507A (en) * | 2002-11-26 | 2004-06-09 | ��Ϊ��������˾ | A method for registering from a multicast source to a rendezvous 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 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113489642A (en) * | 2021-07-04 | 2021-10-08 | 芯河半导体科技(无锡)有限公司 | PIM-SM source registration optimization method |
| CN113489642B (en) * | 2021-07-04 | 2023-05-12 | 芯河半导体科技(无锡)有限公司 | PIM-SM source registration optimization method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106603558B (en) | 2019-08-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10693765B2 (en) | Failure protection for traffic-engineered bit indexed explicit replication | |
| EP3767881B1 (en) | Maximally redundant trees to redundant multicast source nodes for multicast protection | |
| US9059943B2 (en) | Method of routing multicast traffic | |
| RU2541940C2 (en) | Method of applying service instance to mpls network (versions) and mpls network | |
| US8743886B2 (en) | Managing active edge devices in VPLS using BGP signaling | |
| KR20220062335A (en) | Method, apparatus and system for establishing BIER forwarding table entry | |
| EP3151485A1 (en) | Egress node protection in evpn all-active topology | |
| CN109729009B (en) | Method and device for realizing multicast service | |
| EP2750327A1 (en) | Method and apparatus for computing alternate multicast/broadcast paths in a routed network | |
| EP2866377A1 (en) | Method, device, and system for establishing bi-directional multicast distribution tree based on interior gateway protocol | |
| CN110661712B (en) | Supporting multicast over a network domain | |
| RU2008109226A (en) | FAILURE-RESISTANT COMMUNICATION IN ROUTED NETWORKS | |
| CN102148700B (en) | Layer 2 multicast forwarding link failure positioning method and equipment | |
| US20060291444A1 (en) | Method and apparatus for automatically selecting an RP | |
| CN103685022A (en) | Message forwarding method and service provider network edge equipment | |
| US20140241351A1 (en) | Dynamic determination of the root node of an mldp tunnel | |
| CN107888493A (en) | The method for building up and device of a kind of label switched path | |
| CN109005109A (en) | Path establishing method and multicast networking | |
| CN106603558A (en) | Registering method and registering device of multicast source in PIM-SM | |
| CN104506369A (en) | Packet loss position detecting method and device | |
| CN108156066A (en) | Message forwarding method and device | |
| CN111327535B (en) | Message forwarding method and device and forwarding equipment | |
| CN108667731A (en) | A kind of processing and device based on BIER information | |
| EP3840310B1 (en) | Source-active community for improved multicasting | |
| CN110062058B (en) | Network address configuration method and 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 |