CN1921490A - Method and device for configuring protocol independent multicast rarefaction mode protocol confluence - Google Patents

Method and device for configuring protocol independent multicast rarefaction mode protocol confluence Download PDF

Info

Publication number
CN1921490A
CN1921490A CNA2006101272282A CN200610127228A CN1921490A CN 1921490 A CN1921490 A CN 1921490A CN A2006101272282 A CNA2006101272282 A CN A2006101272282A CN 200610127228 A CN200610127228 A CN 200610127228A CN 1921490 A CN1921490 A CN 1921490A
Authority
CN
China
Prior art keywords
multicast
address
router
candidate
multicast group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006101272282A
Other languages
Chinese (zh)
Other versions
CN100539596C (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou Huawei 3Com Technology 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 Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CNB2006101272282A priority Critical patent/CN100539596C/en
Publication of CN1921490A publication Critical patent/CN1921490A/en
Application granted granted Critical
Publication of CN100539596C publication Critical patent/CN100539596C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for setting irrelative multicast rate-mode protocol collecting point. Wherein, it comprises: the first jump route receives the multicast flow of multicast resource to judge if the IP address of multicast resource is in same network section as local interface address; when they are in same section, the first jump route uses itself as candidate collecting point RP of said multicast group. The invention also discloses a relative device, which comprises detector and RP dynamic setting unit. The invention can reduce the hand operation, to realize high flexibility.

Description

The method of configuring protocol independent multicast rarefaction mode protocol confluence and device
Technical field
The present invention relates to network communications technology field, relate to a kind of method and device of configuring protocol independent multicast rarefaction mode protocol confluence specifically.
Background technology
The safety engineering had obtained national great attention over the past two years, and dropped into huge fund in the needed safety guarantee engineering of this harmonious society of each urban construction.Supervisory control system is set up in key points such as each public institution, traffic main arteries in this each city of safety guarantee engine request, and uses the storage system storage recorded video data of magnanimity.The previous typical city of order safety engineering allocation plan is: city office has 20 branch offices under its command, and each branch office has 25 local police stations under its command, and each local police station is provided with 1000 cameras.Each camera is a multicast source, is assigned with a multicast group address, uses for observer's program request; Each camera also is a clean culture source simultaneously, is used for storage to memory device; Can check the picture that any one camera monitors between city office, each branch office, each local police station, this shows that the multicast group quantity that whole system is carried is very large.
The most frequently used multicast routing protocol is PIM SM (Protocol Independent Multicast Sparse Mode) agreement at present.The system of deployment PIM SM agreement is as shown in Figure 1 in network:
This system comprises multicast recipient 101, first multicast router 102 that links to each other with the multicast recipient, second multicast router 103 that links to each other with first multicast router, the RP that links to each other with second multicast router (PIM SM agreement point) router one 04, first hop router 105 that links to each other with the RP router is with the multicast source 106 that links to each other with first hop router.
Multicast recipient (such as video wall) will receive the monitored picture of certain multicast source (such as camera), it sends IGMP (member relation report message) to the multicast router that links to each other with the multicast recipient earlier, distribute to the multicast group of that multicast source with adding, wish to receive the multicast data flow of this multicast group.
Connection multicast recipient's multicast router sends PIM adding message to the RP router after receiving this IGMP member relation report message, wish to receive the multicast data flow of this multicast group, so to all multicast routers that connect between the multicast recipient, all can generate (*, G) multicast forwarding list item at the RP router.
After first hop router of connection multicast source (camera) is received the multicast data flow of multicast group, can send PIM Login message, tell RP that the multicast source of certain multicast group is arranged here by this message to the pairing RP router of this multicast group.
The RP router is seen oneself corresponding (*, G) behind the multicast forwarding list item, send PIM to first hop router that connects multicast source and add message, so on first hop router that connects multicast source and the all-router between the RP router, all generated (S, multicast forwarding list item G).
Since then, the multicast data flow of multicast group has just sent to the multicast recipient along these routers.If the multicast recipient does not think to receive the multicast data flow of this multicast group again, then send igmp leave message to multicast router; The multicast router that connects the multicast recipient can send PIM beta pruning message to the RP router, so on from the RP router to the all-router this multicast router (*, G) list item all can be worn out, about 3 minutes of ageing time; On from first hop router that connects multicast source to the all-router the RP router (S, G) list item also can revert to the state when not having the multicast recipient.
The classical group web frame of existing safety engineering is as shown in Figure 2:
The typical deployed mode of this network configuration is: city office 201 connects city office video wall 202, city's score of the game does not link to each other with traffic control center 203, functional government departments 205 and subordinate branch office 207 simultaneously, each subordinate's of branch office local police station 209 sets up a RP router, this RP router links to each other with encoder 211, multicast source 212 (camera) under encoder and the RP router links to each other, this RP router provides RP service for the multicast group of its subordinate's multicast source, and this RP router also is its nearest router of multicast source of pipe down simultaneously.
In the prior art, Control Server is by communicating by letter with the multicast group address that issues multicast source for encoder with encoder, this just requires local police station must know the multicast group address that encoder distributed that links to each other with its multicast source, and on the RP router multicast group address of these encoders of manual configuration.
This configuration mode has following shortcoming:
At first, the task amount of the multicast group address that the manual configuration encoder distributes is heavy, when the multicast group address that the encoder of hanging down when local police station distributes is relatively more discrete, just must on the RP router that local police station sets up, be its manual multicast group address that disposes these encoders one by one, for up to a hundred cameras, the task amount of configuration is heavy.
Secondly, the configuration of RP server lacks flexibility, when Control Server is the multicast group address change of encoder distribution, just needs the manual multicast group address that be modified in the encoder that disposes on the RP of the local police station router.
Summary of the invention
Main purpose of the present invention is to provide a kind of method of configuring protocol independent multicast rarefaction mode protocol confluence, mode workload with manual configuration multicast group address in the solution prior art is big, and the problem that lacks flexibility is simplified the configuration of RP router, improves its flexibility.
Another object of the present invention is to provide a kind of device of configuring protocol independent multicast rarefaction mode protocol confluence, to realize the complete dynamic-configuration of RP router, the flexibility that improves the RP configuration of routers.
For this reason, the invention provides following technical scheme:
A kind of method of configuring protocol independent multicast rarefaction mode protocol confluence comprises step:
Whether first hop router receives the IP address of judging multicast source after the multicast data flow that multicast source sends and local interface address at the same network segment;
When the IP address of described multicast source and local interface address during at the same network segment, first hop router is with self candidate's point RP as this multicast group.
Described method further comprises:
When the IP address of described multicast source and local interface address during not at the same network segment, described first hop router does not process.
Described method further comprises:
Described first hop router generates the mapping relations of candidate RP and this multicast group and by periodicity RP candidate announcement these mapping relations is sent in the BootStrap Router.
Described method further comprises:
When having the RP service of manual configuration on first hop router as candidate RP simultaneously, the RP service that first hop router will dispose in RP candidate notice message simultaneously automatically and the RP service of manual configuration send to BootStrap Router.
Described method further comprises:
BootStrap Router only in the buffer memory RP candidate announcement of receiving for the first time about the mapping relations of this multicast group and candidate RP;
After aging about the candidate information of this multicast group, BootStrap Router again in the follow-up RP candidate announcement of receiving of buffer memory about the mapping relations of this multicast group and candidate RP.
Described method further comprises:
Described first hop router is the interface IP address of winding port address or this RP router and other arbitrary router with behind self RP router as multicast group with the RP address setting.
Comprise the IP address of this multicast source and the IP address of multicast group in the multicast data flow that described multicast source sends.
Described method further comprises:
Described first hop router generates the multicast routing table item of the IP address of the IP address comprise multicast source and multicast group according to Protocol Independent Multicast Sparse Mode;
After described multicast routing table item reached ageing time, described first hop router was deleted this list item according to Protocol Independent Multicast Sparse Mode.
A kind of device of configuring protocol independent multicast rarefaction mode protocol confluence, described device comprises:
Detecting unit, the IP address of the multicast data flow multicast source that is used for checking that described device receives whether with the local interface address of this device at the same network segment;
RP dynamic-configuration unit, link to each other with described detecting unit, be used for carrying out the RP service configuration according to the testing result of detecting unit, if the local interface address of the IP address of multicast source and this device is at the same network segment, then the interface IP address that directly links to each other with the winding port address of this device or with multicast source of RP dynamic-configuration unit is as the RP address; If the local interface address of the IP address of multicast source and this device is not at the same network segment, then RP dynamic-configuration unit does not process.
Described device further comprises:
The mapping relations memory cell links to each other with described RP dynamic-configuration unit, is used for generating and storing according to the RP service of configuration the mapping relations of candidate RP and multicast group;
The candidate rp information transmitting element is used for periodically described mapping relations being sent in the BootStrap Router of network by RP candidate announcement.
Described device further comprises:
RP manual configuration unit links to each other with described mapping relations memory cell, is used for manual configuration RP service.
Described device further comprises:
The multicast routing table administrative unit, be used for generating the multicast routing table item of the IP address of the IP address comprise multicast source and multicast group according to Protocol Independent Multicast Sparse Mode, and after described multicast routing table item reaches ageing time, delete this list item according to Protocol Independent Multicast Sparse Mode.
By technical scheme provided by the invention as seen, the present invention has following characteristics and advantage:
The present invention adopts the mode of dynamic-configuration RP on first hop router that connects multicast source, the multicast data flow that multicast source will comprise its IP address and multicast group IP address sends on first hop router, when the local interface address of the IP address of this multicast source and first hop router during at the same network segment, first hop router is about to own candidate RP as this multicast group.Like this, when the multicast group address that the encoder of hanging down when local police station distributes is relatively more discrete, reduced a large amount of manual configuration work.When the present invention is applied in the safety engineering, can make complete network break away from the restriction of Control Server, needn't be concerned about the configuration of Control Server, make the configuration of RP have bigger flexibility.
If when on the first router that connects multicast source, having the RP service of manual configuration simultaneously and utilizing the RP service of dynamic-configuration of the present invention, by when sending candidate RP message, getting its union, the RP of dual mode configuration is independent of each other, therefore, the present invention can also be as the complementary scheme of original static configuration RP, to satisfy demand widely.
The present invention passes through only mode about the RP mapping relations of a certain multicast group of buffer memory of BootStrap Router, has prevented the security breaches of RP service effectively, has avoided the attack of malicious attacker simulation multicast data flow to network, has guaranteed the safety of network.
Description of drawings
Fig. 1 is a structure chart of disposing PIM SM agreement in the existing network;
Fig. 2 is the typical networking diagram of existing safety engineering;
Fig. 3 is the network structure that the present invention disposes the RP router;
Fig. 4 is the flow chart of a preferred embodiment of the inventive method;
Fig. 5 is the theory diagram of first embodiment of apparatus of the present invention;
Fig. 6 is the theory diagram of second embodiment of apparatus of the present invention;
Fig. 7 is the theory diagram that apparatus of the present invention are used in network;
Fig. 8 is the networking diagram that the present invention is applied to the safety engineering.
Embodiment
Core of the present invention is, the multicast data flow that first hop router that links to each other with multicast source in the network sends according to multicast source generates the multicast routing table item (S of the IP address G of the IP address S that comprises multicast source and multicast group, G), when the local interface address of the IP address of the multicast source in the multicast data flow and first hop router during at the same network segment, first hop router is with self candidate RP as this multicast group, and the RP address is the winding port address of this first hop router or the interface IP address of this first hop router and other arbitrary router.
In order to make those skilled in the art understand the present invention better, the present invention is further detailed explanation below in conjunction with accompanying drawing.
The present invention is based on PIM SM agreement, it is a most ripe present multicast routing protocol: the multicast recipient will add certain multicast group, and it sends the member relation report message to coupled multicast router earlier, wishes to receive the multicast data flow of this multicast group; Multicast router sends PIM adding message to the RP router after receiving this member relation report message, so all can generate (*, G) multicast forwarding list item at the RP router to all multicast routers that connect between the multicast recipient; And after first hop router that connects multicast source receives the multicast data flow of multicast group, can send PIM Login message to the RP router; The RP router is seen oneself corresponding (*, G) behind the multicast forwarding list item, send PIM to first hop router and add message, so on the all-router between first hop router and the RP router, all generated (S, G) multicast forwarding list item, multicast data flow sends to the multicast recipient along a little routers in this road.
The network configuration that the present invention disposes the RP router is as shown in Figure 3:
Comprise Control Server 301 in this network, the multicast source 302 that links to each other with Control Server, first hop router 303 that links to each other with multicast source, the multicast router 304 that links to each other with first hop router is with the video wall 305 that links to each other with multicast router.When Control Server is after multicast source issues the IP address of multicast group, multicast source begins to send multicast data flow to the first hop router of multicast group, comprise the IP address S of multicast source and the IP address G of this multicast group in this multicast data flow, first hop router generates corresponding multicast routing table item (S according to the IP address S of this multicast source and the IP address G of this multicast group, G), when first hop router judged that the IP address of the multicast source in the described multicast data flow and local interface address belong to the same network segment, first hop router was the interface IP address of winding port address or this RP router and other arbitrary router with self as the RP router of this multicast group G and with the RP address setting.
Fig. 4 shows the realization flow of a kind of preferred embodiment of the inventive method, may further comprise the steps:
Step 401: the multicast data flow that the first hop router receiving group source that links to each other with multicast source sends comprises the IP address of multicast source and the IP address of multicast group in this multicast data flow.
After Control Server in the network was the IP address of the multicast source multicast group of distributing this multicast source, multicast source began to send to first hop router multicast data flow of this multicast group, comprised the IP address of this multicast source and the IP address information of this multicast group in the multicast data flow.
Step 402: first hop router according to the information in the multicast data flow that receives generate corresponding multicast routing table item (S, G), wherein S represents the IP address of this multicast source, G represents the IP address of this multicast group.
Step 403: the IP address S that first hop router is judged multicast source whether with the local interface address at the same network segment.If then execution in step 404; Otherwise, execution in step 406.
Described local interface is meant the interface between the multicast source and first hop router.
Step 404: first hop router is with self candidate RP as this multicast group, and the cycle is to BootStrap Router transmission RP candidate notice message.
When the IP address S of multicast source and local interface address during at the same network segment, first hop router is own candidate RP as this multicast group, and uses the winding port address, and perhaps the address of this router and the direct-connected interface of multicast source is as the RP address.Usually using the winding port address, because the winding port address is three layer interfaces on the router, also is a kind of virtual interface, and it is in opening always, and priority is also the highest in whole router; All bind with physical port general IP address, if physical port breaks down, then this IP address is also just obstructed, and therefore the binding of winding port address discord physical port always is in opening.
First hop router generates the mapping relations of candidate RP and multicast group with behind self candidate RP as this multicast group in this router, and by RP candidate notice message these mapping relations is sent in the BootStrap Router in the network.
If during the RP service that on first hop router, has the RP service of manual configuration simultaneously and dispose automatically, first jumps by device RP service with this dual mode configuration when transmission RP candidate announces, be the mapping relations of RP and multicast group, send to BootStrap Router simultaneously.Like this, can make two kinds of configuration modes can be compatible, be independent of each other.Even the two all has the RP service at same multicast group, also only can select one as the RP router according to the selection mechanism (all-router in the network can elect the RP router of one as this multicast group according to same algorithm) of PIM SM.Wherein the selection mechanism of PIM SM specifically refers to by the RP router of a RP router in the Hash threshold algorithm selection network as this multicast group.
RP mapping relations about certain multicast group of a BootStrap Router buffer memory after the follow-up RP candidate announcement of receiving this multicast group, if the RP of corresponding RP and buffer memory is inconsistent, are not then admitted the follow-up RP mapping relations of receiving.Until according to 3 minutes timers, after original RP candidate information was aging, follow-up RP candidate announced just and can come into force, and BootStrap Router is follow-up candidate RP who receives of buffer memory and the mapping relations of multicast group again.
All-router is only admitted the RP of BootStrap Router issue and the mapping relations of multicast group.
Step 405: first hop router according to the aging deletion of PIM SM agreement multicast routing table item (S, G).
As multicast routing table item (S, G) reach ageing time after, first hop router comprises the multicast routing table item of IP address G of the IP address S of multicast source and multicast group, and (S G), cancels the RP router of first hop router as multicast group simultaneously according to PIM SM agreement deletion.It should be noted that the RP that just cancels this multicast group G dynamic-configuration at this.
Step 406: first hop router does not process.
The present invention realizes dynamic-configuration RP service on first hop router that connects multicast source, the RP service of this dynamic-configuration can be applied on the first nearest hop router of multicast source, also can cooperatively interact simultaneously with existing protocol, promptly can be compatible mutually with the scheme of static configuration RP in the prior art, be independent of each other.The RP of this dynamic-configuration service needs condition: when the IP address of multicast source and local interface address are applied in non-first hop router in the scheme of therefore serving as this dynamic-configuration RP on the same network segment, because non-first hop router can't satisfy this condition, therefore also just can't be implemented in dynamic-configuration RP router on non-first hop router.As seen, network can not conflict with the operation generation of existing protocol because of dynamic-configuration RP service of the present invention.
With reference to Fig. 5, Fig. 5 shows the theory diagram of first embodiment of apparatus of the present invention:
This device comprises: detecting unit S52 and RP dynamic-configuration unit 53.This device can be first hop router that links to each other with multicast source, like this, when this device receives after multicast source sends the multicast data flow of IP address of the IP address comprise multicast source and multicast group, the IP address that detecting unit S52 checks multicast source in this multicast data flow whether with the local interface address of this device at the same network segment.If at the same network segment, then notify RP dynamic-configuration unit 53 to carry out RP service configuration automatically, concrete configuration comprises: with the winding port address (the winding port address of first hop router) of this device or the interface IP address that directly links to each other with multicast source (interface IP address that first hop router and multicast source directly link to each other) as the RP address; If the local interface address of the IP address of multicast source and this device not at the same network segment, does not then need to notify RP dynamic-configuration unit 53, that is to say that RP dynamic-configuration unit 53 does not process.
After the RP service configuration is finished, that is to say that this device will be as the RP router in the network, for this multicast group address provides service.In order to make the BootStrap Router in these information informing networks that dispose automatically, can serve the mapping relations that generate and store candidate RP and multicast group according to the RP that disposes by the mapping relations memory cell 54 that links to each other with RP dynamic-configuration unit 53, periodically described mapping relations be announced in the BootStrap Router that sends in the network by the RP candidate by candidate rp information transmitting element 55 then.
For convenience this device application in different network environments can also be provided with a RP manual configuration unit in this device, with the compatibility of existing manual configuration RP mode.
The theory diagram of second embodiment of reference apparatus of the present invention shown in Figure 6:
Different with first embodiment shown in Figure 5 is to have increased the RP manual configuration unit 56 that links to each other with mapping relations memory cell 54, with when applied environment needs, by disposing the RP service by hand.
For realizing manual configuration RP and the compatibility that disposes RP automatically, mapping relations memory cell 54 not only will generate and store the mapping relations of candidate RP and multicast group according to the RP service of automatic configuration, but also need generate and store the mapping relations of candidate RP and multicast group according to the RP service of manual configuration.When sending candidate RP message, gets candidate rp information transmitting element 55 its union.Like this, even the two all has the RP service at same multicast group, also can only select one according to the selection mechanism of PIM-SM.
In addition, in this embodiment, also be provided with multicast routing table administrative unit 57, link to each other with detecting unit 502, detect the local interface address of the IP address of multicast source in the multicast data flow of reception and this device behind the same network segment at detecting unit, generate the multicast routing table item of the IP address of the IP address comprise multicast source and multicast group by Protocol Independent Multicast Sparse Mode, and after described multicast routing table item reaches ageing time, delete this list item according to Protocol Independent Multicast Sparse Mode.Certainly, also can be after this device receives multicast data flow, promptly generate the multicast routing table item of the IP address of the IP address that comprises multicast source and multicast group, and then the detection trigger unit is to the detection of the IP address of multicast source in the multicast data flow by multicast routing table administrative unit 57.
In order to prevent of the attack of malicious attacker simulation multicast data flow effectively to network, such as with the first different hop router that multicast source links to each other on the stream of the identical multicast group of simulation, thereby the execution RP that causes this multicast group constantly competes variation, consumption of network resources, can in existing BootStrap Router, increase a cache filter unit, be used to filter the RP candidate notice message that BootStrap Router is received, when the RP that stores in corresponding to the RP of same multicast group and buffer unit in the described RP candidate announcement is inconsistent, abandon this RP candidate notice message, through filtering, in the RP candidate announcement that a buffer memory BootStrap Router is received for the first time about the mapping relations of multicast group and candidate RP.
According to 3 minutes original RP candidate informations of timer aging after, the buffer memory follow-up RP candidate information of receiving, i.e. mapping relations of candidate RP and multicast group again.
With reference to Fig. 7, Fig. 7 shows the theory diagram that apparatus of the present invention are used in network:
Comprise in the network: Control Server 710, the multicast source 720 that links to each other with Control Server, first hop router 730 that links to each other with multicast source.Multicast receiving terminal 750 is by the multicast data flow in the router 750 receiving group sources 710 that link to each other with first hop router, and BootStrap Router 740 links to each other with router 750 with first hop router 730 respectively, is used for the mapping relations of storage networking candidate RP and multicast group.Apparatus of the present invention are positioned on first hop router 730.
When carrying out the RP dynamic-configuration, Control Server 710 is that multicast source 720 distributes the IP address of the multicast group of this multicast source; After multicast source 720 receives the IP address of the multicast group that Control Server distributes, send the multicast data flow of these multicast group, comprise the IP address of multicast source and the IP address information of this multicast group in the multicast data flow to first hop router 730.First hop router 730 generates the multicast routing table item (S of the IP address G of the IP address S that comprises multicast source and this multicast group according to the information in the multicast data flow that receives, G), and check that whether the IP address of multicast source and the first hop router local interface address are at the same network segment, the local interface address specifically refers to the interface between the multicast source and first hop router herein, if at the same network segment, then carry out the RP service configuration, be about to the candidate RP of first hop router as multicast group, the RP address can be other interface IP addresses of winding port address or this router, generate the mapping relations of this candidate RP and multicast group simultaneously, by RP candidate notice message these mapping relations are sent in the BootStrap Router 740 then.After BootStrap Router is received RP candidate notice message, buffer memory wherein candidate RP and the mapping relations of multicast group, any router in the network is only admitted the candidate RP of BootStrap Router issue and the mapping relations of multicast group.
If on first hop router simultaneously manual configuration the RP service, then first hop router when sending the RP candidate and announce with the RP service of manual configuration and according to the RP service of multicast data flow dynamic-configuration, be the mapping relations of RP and multicast group, send to BootStrap Router simultaneously.Like this, can make two kinds of configuration modes can be compatible, be independent of each other.Even the two all has the RP service at same multicast group, also only can select one as the RP router according to the selection mechanism of PIM SM.Wherein the selection mechanism of PIM SM specifically refers to by the RP router of a RP router in the Hash threshold algorithm selection network as this multicast group.
In order to prevent of the attack of malicious attacker simulation multicast data flow effectively to network, such as with the first different hop router that multicast source links to each other on the stream of the identical multicast group of simulation, thereby the execution RP that causes this multicast group constantly competes variation, consumption of network resources, in BootStrap Router, be provided with cache filter unit 741, be used to filter the RP candidate notice message that BootStrap Router is received, when the RP that stores in corresponding to the RP of same multicast group and buffer unit in the described RP candidate announcement is inconsistent, abandon this RP candidate notice message, through filtering, make in the RP candidate announcement that 742 buffer memory BootStrap Routers of buffer unit receive for the first time mapping relations about multicast group and candidate RP.
According to 3 minutes original RP candidate informations of timer aging after, buffer unit 742 is the buffer memory follow-up RP candidate information of receiving, i.e. mapping relations of candidate RP and multicast group again.
As multicast routing table item (S, G) reach ageing time after, first hop router 730 comprises the aging list item of IP address of the IP address S of multicast source and multicast group, and (S G), and cancels the candidate RP of first hop router as this multicast group according to PIM SM agreement deletion.It should be noted that the RP that just cancels this multicast group G dynamic-configuration at this.If there is the RP of manual configuration, then the RP of this manual configuration is still effective.
The present invention can be applicable to the safety engineering, its networking structure as shown in Figure 8:
City office router 810 connects city office video wall 811, branch office's router 820 of the subordinate of city office connects branch office's video wall 821, local police station's first hop router 830 of the subordinate of branch office connects local police station's video wall 831, local police station's first hop router links to each other with encoder 832, and encoder is connected with camera 833.
In this networking, by the Control Server (not shown) is that encoder 832 issues multicast ip address, encoder 832 begins to send multicast data flow after receiving this address information, deliver to local police station's first hop router 830, comprise the IP address of multicast source and the IP address information of multicast group in this multicast data flow, local police station's first hop router 830 generates multicast routing table item (S according to the information that comprises in the multicast data flow, G), and judge when being somebody's turn to do (S, when G) the IP address of multicast source and local interface address belong to the same network segment in the list item, with self candidate RP as multicast group, the interface IP address that the RP address can link to each other with other arbitrary router for winding port address or this RP router, be specifically as follows this RP router and branch office's router, or with local police station's video wall, or the interface IP address that links to each other with encoder.Multicast data flow just can send to local police station's video wall along this RP router, watch the picture that camera monitors for the related personnel of local police station, also can send to corresponding branch office's video wall in the local police station or city office video wall simultaneously and watch the picture that camera monitors for related personnel there.When the present invention is applied to the safety engineering, the IP address of the multicast group that pipe encoder is distributed under it needn't be known by local police station, dynamically trigger the RP router that local police station's first hop router is configured to corresponding multicast group by multicast data flow on local police station's first hop router, therefore need not manual on local police station's first hop router is corresponding multicast group (multicast group address of encoder) configuration RP service.
Only show the situation that a local police station is provided with a camera in Fig. 8, under the safety engineering configuring condition of the previous typical urban of order: city office has 20 branch offices under its command, and each branch office has 25 local police stations under its command, and each local police station is provided with 1K camera; Each camera is a multicast source, distributes a multicast group address, uses for observer's program request; Each camera also is simultaneously a clean culture source, is used for storage to memory device; Can check the picture that any one camera monitors between city office, each branch office, each local police station, utilize the present invention, can significantly reduce the workload of configuration RP service, and improve configuration flexibility.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1, a kind of method of configuring protocol independent multicast rarefaction mode protocol confluence is characterized in that, comprises step:
Whether first hop router receives the IP address of judging multicast source after the multicast data flow that multicast source sends and local interface address at the same network segment;
When the IP address of described multicast source and local interface address during at the same network segment, first hop router is with self candidate's point RP as this multicast group.
2, method according to claim 1 is characterized in that, described method further comprises:
When the IP address of described multicast source and local interface address during not at the same network segment, described first hop router does not process.
3, method according to claim 1 is characterized in that, described method further comprises:
Described first hop router generates the mapping relations of candidate RP and this multicast group and by periodicity RP candidate announcement these mapping relations is sent in the BootStrap Router.
4, method according to claim 3 is characterized in that, described method further comprises:
When having the RP service of manual configuration on first hop router as candidate RP simultaneously, the RP service that first hop router will dispose in RP candidate notice message simultaneously automatically and the RP service of manual configuration send to BootStrap Router.
5, according to claim 3 or 4 described methods, it is characterized in that described method further comprises:
BootStrap Router only in the buffer memory RP candidate announcement of receiving for the first time about the mapping relations of this multicast group and candidate RP;
After aging about the candidate information of this multicast group, BootStrap Router again in the follow-up RP candidate announcement of receiving of buffer memory about the mapping relations of this multicast group and candidate RP.
6, method according to claim 1 is characterized in that, described method further comprises:
Described first hop router is the interface IP address of winding port address or this RP router and other arbitrary router with behind self RP router as multicast group with the RP address setting.
7, method according to claim 1 is characterized in that,
Comprise the IP address of this multicast source and the IP address of multicast group in the multicast data flow that described multicast source sends.
8, method according to claim 7 is characterized in that, described method further comprises:
Described first hop router generates the multicast routing table item of the IP address of the IP address comprise multicast source and multicast group according to Protocol Independent Multicast Sparse Mode;
After described multicast routing table item reached ageing time, described first hop router was deleted this list item according to Protocol Independent Multicast Sparse Mode.
9, a kind of device of configuring protocol independent multicast rarefaction mode protocol confluence is characterized in that, described device comprises:
Detecting unit, the IP address of the multicast data flow multicast source that is used for checking that described device receives whether with the local interface address of this device at the same network segment;
RP dynamic-configuration unit, link to each other with described detecting unit, be used for carrying out the RP service configuration according to the testing result of detecting unit, if the local interface address of the IP address of multicast source and this device is at the same network segment, then the interface IP address that directly links to each other with the winding port address of this device or with multicast source of RP dynamic-configuration unit is as the RP address; If the local interface address of the IP address of multicast source and this device is not at the same network segment, then RP dynamic-configuration unit does not process.
10, device according to claim 9 is characterized in that, described device further comprises:
The mapping relations memory cell links to each other with described RP dynamic-configuration unit, is used for generating and storing according to the RP service of configuration the mapping relations of candidate RP and multicast group;
The candidate rp information transmitting element is used for periodically described mapping relations being sent in the BootStrap Router of network by RP candidate announcement.
11, device according to claim 10 is characterized in that, described device further comprises:
RP manual configuration unit links to each other with described mapping relations memory cell, is used for manual configuration RP service.
12, device according to claim 9 is characterized in that, described device further comprises:
The multicast routing table administrative unit, be used for generating the multicast routing table item of the IP address of the IP address comprise multicast source and multicast group according to Protocol Independent Multicast Sparse Mode, and after described multicast routing table item reaches ageing time, delete this list item according to Protocol Independent Multicast Sparse Mode.
CNB2006101272282A 2006-09-14 2006-09-14 The method of configuring protocol independent multicast rarefaction mode protocol confluence and device Active CN100539596C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101272282A CN100539596C (en) 2006-09-14 2006-09-14 The method of configuring protocol independent multicast rarefaction mode protocol confluence and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101272282A CN100539596C (en) 2006-09-14 2006-09-14 The method of configuring protocol independent multicast rarefaction mode protocol confluence and device

Publications (2)

Publication Number Publication Date
CN1921490A true CN1921490A (en) 2007-02-28
CN100539596C CN100539596C (en) 2009-09-09

Family

ID=37779060

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101272282A Active CN100539596C (en) 2006-09-14 2006-09-14 The method of configuring protocol independent multicast rarefaction mode protocol confluence and device

Country Status (1)

Country Link
CN (1) CN100539596C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808004A (en) * 2010-03-23 2010-08-18 中兴通讯股份有限公司 Method and system for realizing Anycast-RP mechanism
CN102045179A (en) * 2009-10-09 2011-05-04 杭州华三通信技术有限公司 Method and network address translation (NAT) equipment for realizing multicast intercommunication between local network and public network
CN102164052A (en) * 2011-05-24 2011-08-24 华为数字技术有限公司 Method and device for configuring parameters
CN101674248B (en) * 2009-10-21 2011-11-09 福建星网锐捷网络有限公司 Method for realizing layer-two forwarding of multicast flow, apparatus and system thereof
CN108600110A (en) * 2018-04-24 2018-09-28 新华三技术有限公司 A kind of PIM message processing methods and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045179A (en) * 2009-10-09 2011-05-04 杭州华三通信技术有限公司 Method and network address translation (NAT) equipment for realizing multicast intercommunication between local network and public network
CN102045179B (en) * 2009-10-09 2013-01-30 杭州华三通信技术有限公司 Method and network address translation (NAT) equipment for realizing multicast intercommunication between local network and public network
CN101674248B (en) * 2009-10-21 2011-11-09 福建星网锐捷网络有限公司 Method for realizing layer-two forwarding of multicast flow, apparatus and system thereof
CN101808004A (en) * 2010-03-23 2010-08-18 中兴通讯股份有限公司 Method and system for realizing Anycast-RP mechanism
CN101808004B (en) * 2010-03-23 2014-04-30 中兴通讯股份有限公司 Method and system for realizing Anycast-RP mechanism
CN102164052A (en) * 2011-05-24 2011-08-24 华为数字技术有限公司 Method and device for configuring parameters
CN108600110A (en) * 2018-04-24 2018-09-28 新华三技术有限公司 A kind of PIM message processing methods and device
CN108600110B (en) * 2018-04-24 2020-12-29 新华三技术有限公司 PIM message processing method and device

Also Published As

Publication number Publication date
CN100539596C (en) 2009-09-09

Similar Documents

Publication Publication Date Title
CN1878143A (en) Multicast network deploying method and multicast network
CN1232081C (en) Repeating method for multi-broadcast message in network communication
CN101035019A (en) Fast convergence method and device of the end-to-end service
CN101030939A (en) Method and apparatus for establishing and restoring label exchange path in automatic-exchange optical network
CN1816010A (en) Multicasting source filtering treatment method
CN1921457A (en) Network equipment and message transferring method based on multiple-core processor
CN1754353A (en) Method and device for protocol-independent realization of ip multicast
CN1265593C (en) Detecting method of reachability among IP network equipments and its application in public dialing network platform accessing backup
CN1780298A (en) System and method for a distributed server for peer-to-peer networks
CN1910881A (en) Packet communication network and packet communication method
CN101030943A (en) Method for transmitting message and route
CN1881931A (en) Multicast forwarding route aggregating method
CN1866806A (en) Method for realizing shared grid network recovery
CN1921490A (en) Method and device for configuring protocol independent multicast rarefaction mode protocol confluence
CN1848807A (en) Group broadcasting business realizing method
CN1747447A (en) IP group broadcasting method for supporting different service quality in specification service network domain
CN1878130A (en) Data forwarding method
CN1889477A (en) Method for raising group broadcasting requested broadcasting success rate and protocol extraneous group broadcasting routing device
CN1848820A (en) Method for realizing group broadcasting under fast generating tree ring network
CN1889448A (en) Method and system for crossing virtual local network group broadcasting under assigned source group broadcasting protocol extraneous group broadcasting mode
CN1722664A (en) Method for realizing high-usability of network security equipment under cluster mode
CN1588927A (en) Method for large scale multimedia cut-in net gate
CN1798098A (en) Method of differentiating multiple services for anti IP data stream in multicast to impact communication system
CN101052006A (en) Message up sending method and interface plate and router for realizing said method
CN1968178A (en) LSP establishing method

Legal Events

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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address