CN107370680A - A kind of multicast routing entry control method, device and communication system - Google Patents

A kind of multicast routing entry control method, device and communication system Download PDF

Info

Publication number
CN107370680A
CN107370680A CN201610316288.2A CN201610316288A CN107370680A CN 107370680 A CN107370680 A CN 107370680A CN 201610316288 A CN201610316288 A CN 201610316288A CN 107370680 A CN107370680 A CN 107370680A
Authority
CN
China
Prior art keywords
multicast routing
routing entry
control
address prefix
multicast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201610316288.2A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610316288.2A priority Critical patent/CN107370680A/en
Priority to PCT/CN2017/076692 priority patent/WO2017193694A1/en
Publication of CN107370680A publication Critical patent/CN107370680A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of multicast routing entry control method, device and communication system, this method includes:According to the address prefix of multicast routing entry, the match control strategy in accesses control list;The control strategy matched according to multicast routing entry, is controlled to multicast routing entry.Pass through the implementation of the present invention, when needing to carry out Multicast Routing control, all multicast routing entries are matched using accesses control list, these multicast routing entries are handled according to matching result, if do not handled, refusing, changing, when such repairing changes multicast routing entry, multicast protocol need not be reruned, also avoid the need for interrupting service, solve the problems, such as that existing multicast routing protocol does not propose that multicast routing entry is controlled and transformed, enhance the usage experience of user.

Description

A kind of multicast routing entry control method, device and communication system
Technical field
The present invention relates to the communications field, more particularly to a kind of multicast routing entry control method, device and logical Letter system.
Background technology
Multicasting technology refers to that single sender corresponds to a kind of network communications technology of multiple recipients, multicast In technology by way of transmitting single part of traffic messages to multiple recipients, it is possible to reduce network traffic flow Amount.Router device realizes that multicast forwarding will run multicast routing protocol, is generated by multicast routing protocol Multicast routing table, the multicast message received in equipment are forwarded according to multicast routing table.
But the side that multicast routing protocol is controlled and transformed to multicast routing entry without proposition at present Method, therefore, in the prior art, if multicast environment change etc. is needed to multicast routing entry, just only Multicast protocol can be reruned, process is numerous and diverse, and user service can be caused to interrupt, and reduces making for user With experience.
In view of the above-mentioned problems, a kind of multicast routing entry control method is proposed, to solve existing Multicast Routing Agreement does not propose the problem of multicast routing entry is controlled and transformed, be those skilled in the art urgently Technical problem to be solved.
The content of the invention
It is existing to solve the invention provides a kind of multicast routing entry control method, device and communication system There is the problem of multicast routing protocol does not propose that multicast routing entry is controlled and transformed.
The invention provides a kind of multicast routing entry control method, it includes:
According to the address prefix of multicast routing entry, the match control strategy in accesses control list;
The control strategy matched according to multicast routing entry, is controlled to multicast routing entry.
Further, control strategy includes:Refusal and permission;Multicast routing entry is controlled including: If control strategy is refusal, multicast routing entry is filtered out;If control strategy calls road to allow Multicast routing entry is modified by mapping table.
Further, routeing mapping table includes increasing at least one increment outgoing interface, and/or reduces at least one Individual decrement outgoing interface;Call route mapping table multicast routing entry is modified including:In Multicast Routing The increment outgoing interface configured in the outgoing interface list of entry in addition route mapping table, and/or in Multicast Routing The decrement outgoing interface configured in route mapping table is removed in the outgoing interface list of entry.
Further, before the address prefix match control strategy according to multicast routing entry, in addition to: Allocating time section list, period list include at least one control time section;If current time belongs to control Period processed, then according to the address prefix match control strategy of multicast routing entry, if current time does not belong to In control time section, then do not handle.
Further, before accesses control list includes the source address that is made up of source address and source address mask The group address prefix sewed, and/or be made up of group address and group address mask;According to the ground of multicast routing entry Location prefix matching control strategy includes:Before the source address prefix and/or group address of multicast routing entry Sew, matched in accesses control list.
Further, according to the source address prefix of multicast routing entry and/or group address prefix, controlled accessing Matching is carried out in list processed to be included:Extract the source address prefix and/or group address prefix of multicast routing entry; If the source address prefix and/or group address prefix of multicast routing entry and any source of accesses control list When location prefix and/or identical group address prefix, the match is successful, control strategy corresponding to calling, if multicast path By the source address prefix and/or group address prefix of entry and any source address prefix of accesses control list and/ Or group address prefix, when being different from, it fails to match, does not handle.
The invention provides a kind of multicast routing entry control device, it includes:
Matching module, for the address prefix according to multicast routing entry, matched in accesses control list Control strategy;
Control module, for the control strategy matched according to multicast routing entry, to multicast routing entry It is controlled.
Further, control strategy includes:Refusal and permission;If control module is used for control strategy to refuse Absolutely, then multicast routing entry is filtered out;If control strategy calls route mapping table to multicast to allow Route entry is modified.
Further, routeing mapping table includes increasing at least one increment outgoing interface, and/or reduces at least one Individual decrement outgoing interface;Control module is used for the addition route mapping in the outgoing interface list of multicast routing entry The increment outgoing interface configured in table, and/or route mapping is removed in the outgoing interface list of multicast routing entry The decrement outgoing interface configured in table.
Further, address prefix match control of the control module in matching module according to multicast routing entry Before strategy, allocating time section list is additionally operable to, period list includes at least one control time section; If current time belongs to control time section, address prefix of the matching module according to multicast routing entry is triggered Match control strategy, if current time is not belonging to control time section, do not handle.
Further, before accesses control list includes the source address that is made up of source address and source address mask The group address prefix sewed, and/or be made up of group address and group address mask;Matching module is used for according to multicast The source address prefix and/or group address prefix of route entry, are matched in accesses control list.
Further, before source address prefix and/or group address of the matching module for extracting multicast routing entry Sew;If the source address prefix and/or group address prefix of multicast routing entry and any source of accesses control list When address prefix and/or identical group address prefix, the match is successful, control strategy corresponding to calling, if multicast The source address prefix and/or group address prefix of route entry and any source address prefix of accesses control list And/or group address prefix, when being different from, it fails to match, does not handle.
The invention provides a kind of communication system, and it includes multicast routing entry control dress provided by the invention Put.
Beneficial effects of the present invention:
The invention provides a kind of multicast routing entry control method, is needing to carry out Multicast Routing control When, all multicast routing entries are matched using accesses control list, handled according to matching result These multicast routing entries, if do not handled, refusing, changing, when such repairing changes multicast routing entry, Multicast protocol need not be reruned, also avoids the need for interrupting service, solves existing multicast routing protocol The problem of not proposing that multicast routing entry is controlled and transformed, enhance the usage experience of user. For example, it is downstream that router A, which is upstream, router B,;When keeper is not desired to send to router B During multicast data flow, flow is blocked using the present invention on router A, it is not necessary to done on router B any Operation;When keeper wants to send multicast data flow to router B, present invention addition is used on route A Outgoing interface, it is not necessary to router B is operated, even if B does not support to run multicast routing protocol, Also desired multicast data flow can be received.
Brief description of the drawings
Fig. 1 is the structural representation for the multicast routing entry control device that first embodiment of the invention provides;
Fig. 2 is the flow chart for the multicast routing entry control method that second embodiment of the invention provides;
Fig. 3 is the flow chart for the network element timing parameter collocation method that third embodiment of the invention provides;
Fig. 4 is the schematic diagram of the multicast network in third embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describing, it is clear that described embodiment is part of the embodiment in the present invention, and The embodiment being not all of.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out under the premise of creative work the every other embodiment obtained, belong to the scope of protection of the invention.
Further annotation explanation is now made to the present invention by way of embodiment combination accompanying drawing.
First embodiment:
Fig. 1 is the structural representation for the multicast routing entry control device that first embodiment of the invention provides, As shown in Figure 1, in the present embodiment, multicast routing entry control device provided by the invention includes:
Matching module 11, for the address prefix according to multicast routing entry, in accesses control list With control strategy;
Control module 12, for the control strategy matched according to multicast routing entry, to Multicast Routing bar Mesh is controlled.
In certain embodiments, the control strategy in above-described embodiment includes:Refusal and permission;Control mould If block 12 is used for control strategy for refusal, multicast routing entry is filtered out;If control strategy is permission, Route mapping table is then called to modify multicast routing entry.
In certain embodiments, the route mapping table in above-described embodiment goes out including increasing at least one increment Interface, and/or reduce at least one decrement outgoing interface;Control module 12 is used in multicast routing entry The increment outgoing interface configured in outgoing interface list in addition route mapping table, and/or in multicast routing entry The decrement outgoing interface configured in route mapping table is removed in outgoing interface list.
In certain embodiments, the control module 12 in above-described embodiment in matching module 11 according to multicast Before the address prefix match control strategy of route entry, allocating time section list, period row are additionally operable to Table includes at least one control time section;If current time belongs to control time section, matching module is triggered 11 according to the address prefix match control strategy of multicast routing entry, if current time is not belonging to control time Section, then do not handled.
In certain embodiments, the accesses control list in above-described embodiment is included by source address and source address The source address prefix of mask composition, and/or the group address prefix being made up of group address and group address mask; It is used for the source address prefix and/or group address prefix according to multicast routing entry with module 11, is controlled accessing Matched in list processed.
In certain embodiments, the matching module 11 in above-described embodiment is used to extract multicast routing entry Source address prefix and/or group address prefix;If the source address prefix and/or group address of multicast routing entry When prefix is identical with any source address prefix and/or group address prefix of accesses control list, the match is successful, Control strategy corresponding to calling, if the source address prefix of multicast routing entry and/or group address prefix are with accessing When any source address prefix and/or group address prefix of control list is different from, it fails to match, does not handle.
Corresponding, the invention provides a kind of communication system, and it includes Multicast Routing bar provided by the invention Mesh control device.
Second embodiment:
Fig. 2 is the flow chart for the multicast routing entry control method that second embodiment of the invention provides, by scheming 2 understand that in the present embodiment, multicast routing entry control method provided by the invention includes:
S201:According to the address prefix of multicast routing entry, the match control strategy in accesses control list;
S202:The control strategy matched according to multicast routing entry, is controlled to multicast routing entry.
In certain embodiments, the control strategy in above-described embodiment includes:Refusal and permission;To multicast Route entry be controlled including:If control strategy is refusal, multicast routing entry is filtered out;If control System strategy then calls route mapping table to modify multicast routing entry to allow.
In certain embodiments, the route mapping table in above-described embodiment goes out including increasing at least one increment Interface, and/or reduce at least one decrement outgoing interface;Route mapping table is called to carry out multicast routing entry Modification includes:The increment configured in the outgoing interface list of multicast routing entry in addition route mapping table goes out Interface, and/or the decrement configured in route mapping table is removed in the outgoing interface list of multicast routing entry and is gone out Interface.
In certain embodiments, the method in above-described embodiment is in the address prefix according to multicast routing entry Before match control strategy, in addition to:Allocating time section list, period list include at least one control Period processed;If current time belongs to control time section, according to the address prefix of multicast routing entry With control strategy, if current time is not belonging to control time section, do not handle.
In certain embodiments, the accesses control list in above-described embodiment is included by source address and source address The source address prefix of mask composition, and/or the group address prefix being made up of group address and group address mask;Root Include according to the address prefix match control strategy of multicast routing entry:According to the source address of multicast routing entry Prefix and/or group address prefix, are matched in accesses control list.
In certain embodiments, the source address prefix according to multicast routing entry in above-described embodiment and/ Or group address prefix, in accesses control list carrying out matching includes:With extracting the source of multicast routing entry Location prefix and/or group address prefix;If the source address prefix and/or group address prefix of multicast routing entry with When any source address prefix and/or group address prefix of accesses control list is identical, the match is successful, calling pair The control strategy answered, if the source address prefix of multicast routing entry and/or group address prefix arrange with access control When any source address prefix and/or group address prefix of table is different from, it fails to match, does not handle.
3rd embodiment:
Further annotation explanation is done to the present invention in conjunction with concrete application scene.
There are a variety of multicast routing protocols at present, wherein the most widely used is Protocol Independent Multicast (PIM), Protocol Independent Multicast is divided into both of which:Dense mode (PIM-SM) and sparse mode (PIM-DM), ietf standard Protocol Independent Multicast-Sparse Mode (PIM-SM):Protocol Specification (Revised) are described in detail to PIM-SM agreements, IETF Standard Protocol Independent Multicast-Dense Mode (PIM-DM):Protocol Specification (Revised) is described in detail to PIM-DM agreements.Multicast routing protocol also has The agreements such as MOSPF, these agreements are in real network using less.When multicast routing protocol generation group After broadcasting routing table, flux of multicast can be forwarded according to corresponding multicast routing table, the multicast path such as PIM The method for being controlled and being transformed to route entry without proposition by agreement.
Routing policy technology changes route issue, route using one or more policing rules on the router The parameter for receiving and routeing, so as to change the technology of unicast traffic forwarding.Router device realizes route Policy techniques are completed jointly by multiple components, including accesses control list, route mapping table, period row The components such as table.Existing route policy techniques only propose the method that policy control is carried out to singlecast router, do not have There are the method or system for proposing that policy control is carried out to Multicast Routing.It may be needed to multicast in communication network Routing table is transformed, such as blocks the Routing Protocol such as specific multicast flow, PIM on a link not have Have and propose this method being controlled to flux of multicast.The present invention proposes one kind and uses routing policy group Part carries out the method and system of policy control to multicast routing table, can be flexible according to various network demands Control flux of multicast forwarding.
The present embodiment proposes the method and system that controllable multicast forwarding is realized using routing policy component, carries Go out the method for several extensions of routing policy component and transformation, and propose multifarious multicast routing table Policy control method.The component of routing policy includes accesses control list (access control list), road By assembly modules such as mapping table (route-map), period lists (time-range).Retouch in detail below State the function of each component and to realize extension and transformation that the controllable multicast present invention is carried out to component.
1. accesses control list:
Accesses control list is that a kind of component of routing policy is realized on router.It can be used for setting route The access control rule that device is received or refused for singlecast router entry.Access control rule can be by source A variety of attribute compositions such as address, destination address, port numbers.Accesses control list by multiple set of serial numbers into, Each sequence number can define different access control policies.
The present invention carries out Function Extension to accesses control list, increases the access control to multicast routing entry System.Accesses control list set Multicast Routing match rule be:Permission/refusal+source address+source address Mask+group address+group address mask.Source address and source address mask defined in rule are with forming a source Location prefix, for the source address of multicast routing entry, prefix and the source address prefix one in rule of address Cause, then it is assumed that the match is successful.Before group address and group address mask defined in rule form a group address Sew, for the group address of multicast routing entry, the prefix of address is consistent with the group address prefix in rule, Then think that the match is successful.Source address mask or group address mask can be 0.0.0.0, and now rule is to any Source address or group address can be so that the match is successful.For a multicast routing entry, source address and group address are all Think that the match is successful for the route entry when the match is successful.
Accesses control list extended mode proposed by the present invention is a kind of concrete mode, is arranged using access control The change or replacement that table matching multicast routing table can readily occur in are within the scope of the present invention.This hair It is bright that different multicast routing entry access controls can be set in multiple sequence numbers of accesses control list Rule with realize multicast routing entry matching capacity lifting.
2. it route mapping table:
Route mapping table (route-map) is one kind in routing policy component, and route mapping table is by drawing The matching to singlecast router entry can be realized with accesses control list, and to meeting the road that the match is successful Filtering rule and routing property are set by entry.The routing property that can be set includes route outgoing interface, road By a variety of routing properties such as next hop address.Mapping table is route by multiple set of serial numbers into each sequence number Different filtering rules and routing property can be set.
The present invention carries out Function Extension to route mapping table, and increase by one can be configured in mapping table is route Or increment outgoing interface of multiple interfaces as multicast routing table, and it is one or more to configure reduction Decrement outgoing interface of the interface as multicast routing table.After extension, for the multicast routing entry that the match is successful The operation defined in route mapping table is performed, the addition route mapping table in multicast routing table outgoing interface list The increment outgoing interface of middle configuration, while remove in multicast routing table outgoing interface list and match somebody with somebody in route mapping table The decrement outgoing interface put.So route mapping table is just provided with the energy to multicast routing entry customization outgoing interface Power.
Set forth herein route mapping table extended mode be a kind of concrete mode, using route mapping table specify The change or replacement that rule reforming multicast routing table can readily occur in are within the scope of the present invention.
3. period list:
Period list (time-range) is one kind in routing policy component.Period list can be with List sets one or more periods.Period list can be other application industry by the period of setting Business provides wake-up/hypnosis service.The period that control list is set includes disposable single time section and week The circulation time section of phase property.Period list is typically used together with accesses control list, in access control Period list is quoted in list to be controlled to the entry-into-force time of access control list (ACL) regulations.
The present invention quotes the entry-into-force time of period list controls route mapping table in mapping table is route.When When router device system time is in the time range that period list is set, route mapping table defines Multicast routing table matched rule is come into force, and matching and rule execution are carried out to multicast routing table;Work as router The device systems time, route mapping table did not came into force, no when outside the time range that period list is set Multicast routing table is matched.The present invention is not extended and transformed to period list element.Use The tactful mode of list controls Multicast Routing forwarding time period is within the scope of the present invention.
The implementing procedure of the present invention is set to define an accesses control list first in accesses control list For the matched rule of Multicast Routing source address and group address, and the operation rule for routing table are set Then, operation rules is divided into permission and refusal.Then a Multicast Routing mapping table is defined, in Multicast Routing Accesses control list is quoted in mapping table, and increment outgoing interface and decrement are set according to real network demand Outgoing interface.
The flow of the present invention is as shown in figure 3, idiographic flow is:
S301-S303:Routing Protocol generation multicast routing table is run on the router, if opening of device Controllable multicast system proposed by the present invention, then conduct interviews control list match to multicast routing table.
(*, G) and (S, G) route of PIM-SM protocol generations should all use accesses control list Matched and transformed.The multicast routing protocols such as PIM-DM, MOSPF only generate (S, G) routing table, Accesses control list only needs to match (S, G) route.
S304-S312:If it fails to match in accesses control list for the source address and group address of routing table, This route entry is not handled then, be used directly to instruct flux of multicast to forward.
If the match is successful in accesses control list for the source address and group address of routing table, continue checking for visiting Ask the operation rules configured in control list.If operation rules is refusal, this multicast path is filtered out By entry, the entry no longer instructs flux of multicast to forward, that is, realizes the blocking to flux of multicast.If Operation rules is transformed routing table to allow according still further to the interface rules defined in route mapping table.
If route mapping table is configured with one or more increment outgoing interfaces, go out to connect in multicast routing entry Increase these interfaces in mouth list as route outgoing interface;If it is configured with one or more in route mapping table Individual decrement outgoing interface, then these decrement interface is removed in multicast routing table outgoing interface list.Work as multicast path When the decrement outgoing interface of mapping table configuration is route by being not present in table outgoing interface list, ignore the outgoing interface.
S313:After multicast routing table transformation is completed, flux of multicast is according to the multicast routing table after transformation Forwarded;Certainly, if multicast routing entry is forwarded without the match is successful using it.So It is achieved that and realizes the control to flux of multicast forwarding according to network demand.
In Fig. 4 application scenarios schematic diagrams, router device A connection multicast sources, router device B Connect user equipment 1 and user equipment 2, router device C connections user equipment 3.Router A, Router B and router C have run multicast routing protocol PIM-SM.
The embodiment party that controllable multicast system proposed by the present invention realizes multicast message forwarding control is explained in detail below Method.For convenience of description, it is (S, G, iif (interface-1), oif to define Multicast Routing sheet form (interface-2, interface-3 ...)), wherein S is multicast source address, and G is multicast group address, Iif is Multicast Routing incoming interface, and oif is Multicast Routing outgoing interface list, and a Multicast Routing can have more Individual outgoing interface.It is assumed that the source address of the flux of multicast in embodiment is S1, group address G1.
Embodiment 1, using controllable multicast system increase multicast routing entry outgoing interface:
On router A by PIM-SM protocol generations multicast routing table for (S1, G1, iif (fei-1), Oif (fei-2)), this multicast routing table is named as Mroute-A, passes through Mroute-A routers A Can be to router B forwarding multicasting messages.
When network need router A to router C forward (S1, G1) flux of multicast when, according to Controllable multicast method proposed by the present invention, the arranging access control list Macl-A on router A, if The route entry source address for putting matching is S1, group address G1.Route mapping table is configured in router A Mmap-A is named as, accesses control list Macl-A is quoted in Mmap-A, then in Mmap-A Middle setting Multicast Routing increment outgoing interface fei-3.
After the completion of configuration, used on router A by the multicast routing table of PIM-SM protocol generations Mmap-A is matched and transformed, and wherein (S1, G1) can the match is successful for route entry, then presses Outgoing interface fei-3 is increased to (S1, G1) according to the rule in Mmap-A, generates new multicast routing table (S1, G1, iif (fei-1) oif (fei-2, fei-3)), according to new multicast routing table, router A The flux of multicast to router C forwardings (S1, G1) can be realized.
Embodiment 2, using controllable multicast system reduce multicast routing entry outgoing interface:
By the multicast routing table of PIM-SM protocol generations it is (S1, G1, iif (fei-1) on router B Oif (fei-2, fei-3)), this multicast routing table is named as Mroute-B, passes through Mroute-B roads Can be to user 1 and the forwarding multicasting message of user 2 from device B.
For some reason, router B no longer needs to forward the multicast data flow of (S1, G1) to user 2 Amount, according to controllable multicast method proposed by the present invention, the arranging access control list on router B Macl-B, the route entry source address for setting matching are S1, group address G1.Configured in router B Multicast Routing mapping table is named as Mmap-B, and accesses control list Macl-A is quoted in Mmap-B, Then Multicast Routing is set to be reduced outgoing interface fei-3 in Mmap-A.
After the completion of configuration, used on router B by the multicast routing table of PIM-SM protocol generations Mmap-B is matched and transformed, and wherein (S1, G1) can the match is successful for route entry, then presses According to Mmap-B rule to (S1, G1) remove outgoing interface fei-3, generate new multicast routing table (S1, G1, iif (fei-1) oif (fei-2)), according to new multicast routing table, router B is only to 1 turn of user The flux of multicast of (S1, G1) is sent out, and no longer to the forwarding multicast flow of user 2.
Embodiment 3, using controllable multicast system block flux of multicast:
By the multicast routing table of PIM-SM protocol generations it is (S1, G1, iif (fei-1) on router C Oif (fei-2, fei-3)), this multicast routing table is named as Mroute-C, passes through Mroute-C roads Can be to user 3 and the forwarding multicast flow of user 4 from device C.
For some reason, router C no longer needs to forward the flux of multicast of (S1, G1).According to Controllable multicast method proposed by the present invention, the arranging access control list Macl-C on router C, if The route entry source address for putting refusal forwarding is S1, group address G1.Multicast path is configured in router B Mmap-C is named as by mapping table, accesses control list Macl-C is quoted in Mmap-C.
After the completion of configuration, the multicast routing table of PIM-SM protocol generations uses Mmap-C on router C Policy control is carried out, wherein (S1, G1) can the match is successful for route entry, due to Macl-C rule It is refusal to (S1, G1) strategy set in then, Mroute-C no longer instructs flux of multicast to forward, So it is achieved that on router C and the flow of (S1, G1) is blocked.
Embodiment 4, the method for routeing the entry-into-force time is controlled using controllable multicast system:
When router C need within the specified time block multicast entry (S1, G1) flux of multicast, When (S1, G1) flux of multicast is forwarded in other times, method proposed by the present invention can be used and be System.Implementation method is:On the basis of embodiment 3, a period list is defined on router C, T-range is named as, the entry-into-force time section being actually needed defined in T-range.Then mapped in route Period list T-range is quoted in table Mmap-C.
After the completion of configuration, the multicast routing table of PIM-SM protocol generations uses Mmap-C on router C Tactful transformation is carried out, first the rule in Macl-C matches to route, wherein (S1, G1) Can the match is successful, then according to T-range set period checked, when system time exists When within the period that T-range is set, (S1, G1) is changed according to the rule in Mmap-C Make, because the Mmap-C rules set are refusal forwardings, (S1, G1) no longer instructs forwarding, so Can blocks and the flow of (S1, G1) is forwarded on router C;When system time is set in T-range When outside the period put, (S1, G1) is not transformed, router C continue forwarding (S1, G1 flow).So router C is achieved that forwards (S1, G1) group according to the period of setting Broadcast flow.
In summary, by the implementation of the present invention, following beneficial effect at least be present:
The invention provides a kind of multicast routing entry control method, is needing to carry out Multicast Routing control When, all multicast routing entries are matched using accesses control list, handled according to matching result These multicast routing entries, if do not handled, refusing, changing, when such repairing changes multicast routing entry, Multicast protocol need not be reruned, also avoids the need for interrupting service, solves existing multicast routing protocol The problem of not proposing that multicast routing entry is controlled and transformed, enhance the usage experience of user. For example, it is downstream that router A, which is upstream, router B,;When keeper is not desired to send to router B During multicast data flow, flow is blocked using the present invention on router A, it is not necessary to done on router B any Operation;When keeper wants to send multicast data flow to router B, present invention addition is used on route A Outgoing interface, it is not necessary to router B is operated, even if B does not support to run multicast routing protocol, Also desired multicast data flow can be received.
It the above is only the embodiment of the present invention, any formal limit not done to the present invention Make, every any simple modification made according to technical spirit of the invention to embodiment of above, be equal Change, combination or modification, still fall within the protection domain of technical solution of the present invention.

Claims (13)

  1. A kind of 1. multicast routing entry control method, it is characterised in that including:
    According to the address prefix of multicast routing entry, the match control strategy in accesses control list;
    The control strategy matched according to multicast routing entry, is controlled to multicast routing entry.
  2. 2. multicast routing entry control method as claimed in claim 1, it is characterised in that the control Strategy includes:Refusal and permission;It is described multicast routing entry is controlled including:If the control plan Slightly refuse, then filter out the multicast routing entry;If the control strategy calls road to allow The multicast routing entry is modified by mapping table.
  3. 3. multicast routing entry control method as claimed in claim 2, it is characterised in that the route Mapping table includes increasing at least one increment outgoing interface, and/or reduces at least one decrement outgoing interface;It is described Call route mapping table the multicast routing entry is modified including:In the multicast routing entry The increment outgoing interface configured in the route mapping table is added in outgoing interface list, and/or in the multicast path By removing the decrement outgoing interface configured in the route mapping table in the outgoing interface list of entry.
  4. 4. multicast routing entry control method as claimed in claim 1, it is characterised in that at described Before the address prefix match control strategy of multicast routing entry, in addition to:Allocating time section list, The period list includes at least one control time section;If current time belongs to the control time Section, then according to the address prefix match control strategy of multicast routing entry, if current time be not belonging to it is described Control time section, then do not handled.
  5. 5. the multicast routing entry control method as described in any one of Claims 1-4, it is characterised in that The accesses control list includes the source address prefix being made up of source address and source address mask, and/or by group Address and the group address prefix of group address mask composition;The address prefix according to multicast routing entry Include with control strategy:According to the source address prefix of the multicast routing entry and/or group address prefix, Matched in the accesses control list.
  6. 6. multicast routing entry control method as claimed in claim 5, it is characterised in that the basis The source address prefix and/or group address prefix of the multicast routing entry, enter in the accesses control list Row matching includes:Extract the source address prefix and/or group address prefix of the multicast routing entry;If multicast The source address prefix and/or group address prefix of route entry and any source address of the accesses control list When prefix and/or identical group address prefix, the match is successful, control strategy corresponding to calling, if Multicast Routing The source address prefix and/or group address prefix of entry and any source address prefix of the accesses control list And/or group address prefix, when being different from, it fails to match, does not handle.
  7. A kind of 7. multicast routing entry control device, it is characterised in that including:
    Matching module, for the address prefix according to multicast routing entry, matched in accesses control list Control strategy;
    Control module, for the control strategy matched according to multicast routing entry, to multicast routing entry It is controlled.
  8. 8. multicast routing entry control device as claimed in claim 7, it is characterised in that the control Strategy includes:Refusal and permission;If the control module is used for the control strategy for refusal, filter Fall the multicast routing entry;If the control strategy calls route mapping table to described group to allow Route entry is broadcast to modify.
  9. 9. multicast routing entry control device as claimed in claim 8, it is characterised in that the route Mapping table includes increasing at least one increment outgoing interface, and/or reduces at least one decrement outgoing interface;It is described Control module is used to add in the outgoing interface list of the multicast routing entry in the route mapping table The increment outgoing interface of configuration, and/or remove the route in the outgoing interface list of the multicast routing entry The decrement outgoing interface configured in mapping table.
  10. 10. multicast routing entry control device as claimed in claim 7, it is characterised in that the control Module is also used before the matching module is according to the address prefix match control strategy of multicast routing entry In allocating time section list, the period list includes at least one control time section;If current time Belong to the control time section, then trigger address prefix of the matching module according to multicast routing entry With control strategy, if current time is not belonging to the control time section, do not handle.
  11. 11. the multicast routing entry control device as described in any one of claim 7 to 10, its feature exist In, the accesses control list include the source address prefix that is made up of source address and source address mask and/ Or the group address prefix being made up of group address and group address mask;The matching module is used for according to described group The source address prefix and/or group address prefix of route entry are broadcast, the progress in the accesses control list Match somebody with somebody.
  12. 12. multicast routing entry control device as claimed in claim 11, it is characterised in that described It is used for the source address prefix and/or group address prefix for extracting the multicast routing entry with module;If multicast path Before the source address prefix and/or group address prefix of entry and any source address of the accesses control list Sew and/or when group address prefix is identical, the match is successful, control strategy corresponding to calling, if Multicast Routing bar Any source address prefix of purpose source address prefix and/or group address prefix and the accesses control list and/ Or group address prefix, when being different from, it fails to match, does not handle.
  13. 13. a kind of communication system, it is characterised in that including as described in any one of claim 7 to 12 Multicast routing entry control device.
CN201610316288.2A 2016-05-12 2016-05-12 A kind of multicast routing entry control method, device and communication system Withdrawn CN107370680A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610316288.2A CN107370680A (en) 2016-05-12 2016-05-12 A kind of multicast routing entry control method, device and communication system
PCT/CN2017/076692 WO2017193694A1 (en) 2016-05-12 2017-03-15 Multicast routing entry control method and device, and communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610316288.2A CN107370680A (en) 2016-05-12 2016-05-12 A kind of multicast routing entry control method, device and communication system

Publications (1)

Publication Number Publication Date
CN107370680A true CN107370680A (en) 2017-11-21

Family

ID=60266056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610316288.2A Withdrawn CN107370680A (en) 2016-05-12 2016-05-12 A kind of multicast routing entry control method, device and communication system

Country Status (2)

Country Link
CN (1) CN107370680A (en)
WO (1) WO2017193694A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104560A (en) * 2020-07-27 2020-12-18 深圳市风云实业有限公司 Method for customizing multicast path
WO2023092497A1 (en) * 2021-11-26 2023-06-01 Oppo广东移动通信有限公司 Groupcast message processing method and related apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881931A (en) * 2005-06-13 2006-12-20 中兴通讯股份有限公司 Multicast forwarding route aggregating method
CN1960313A (en) * 2005-11-03 2007-05-09 中兴通讯股份有限公司 Periphery devices of service provider of combining network address conversion, and method of application
CN101222346A (en) * 2008-01-22 2008-07-16 张建中 Method, apparatus and system for single-source multicast interaction and multi-source multicast interaction
CN101917434A (en) * 2010-08-18 2010-12-15 清华大学 Method for verifying intra-domain Internet protocol (IP) source address
CN102932371A (en) * 2012-11-20 2013-02-13 杭州华三通信技术有限公司 Method for realizing communication between IPv6 private network node and public network node and routing forwarding equipment
CN104426839A (en) * 2013-08-20 2015-03-18 中兴通讯股份有限公司 Router advertisement attack prevention method, apparatus and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325534A (en) * 2007-06-15 2008-12-17 上海亿人通信终端有限公司 Method for implementing access control list based on network processor
CN103036810B (en) * 2012-12-06 2016-02-03 杭州华三通信技术有限公司 The extranet access control method exported based on many outer nets and access device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881931A (en) * 2005-06-13 2006-12-20 中兴通讯股份有限公司 Multicast forwarding route aggregating method
CN1960313A (en) * 2005-11-03 2007-05-09 中兴通讯股份有限公司 Periphery devices of service provider of combining network address conversion, and method of application
CN101222346A (en) * 2008-01-22 2008-07-16 张建中 Method, apparatus and system for single-source multicast interaction and multi-source multicast interaction
CN101917434A (en) * 2010-08-18 2010-12-15 清华大学 Method for verifying intra-domain Internet protocol (IP) source address
CN102932371A (en) * 2012-11-20 2013-02-13 杭州华三通信技术有限公司 Method for realizing communication between IPv6 private network node and public network node and routing forwarding equipment
CN104426839A (en) * 2013-08-20 2015-03-18 中兴通讯股份有限公司 Router advertisement attack prevention method, apparatus and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104560A (en) * 2020-07-27 2020-12-18 深圳市风云实业有限公司 Method for customizing multicast path
WO2023092497A1 (en) * 2021-11-26 2023-06-01 Oppo广东移动通信有限公司 Groupcast message processing method and related apparatus

Also Published As

Publication number Publication date
WO2017193694A1 (en) 2017-11-16

Similar Documents

Publication Publication Date Title
US8571028B2 (en) Methods and apparatus for managing multicast traffic
Cain et al. Internet group management protocol, version 3
US20130195107A1 (en) Method for Managing Multicast Traffic in a Data Netwrok and Network Equipment Using Said Method
WO2017143723A1 (en) Method, device, and system for controlling service quality
CN102598586A (en) Method and devices for dealing multicast
Cain et al. RFC3376: internet group management protocol, version 3
CN101771611B (en) Method for precisely forwarding IP multicast data in VLAN and forward device
US7609656B2 (en) Bridge device, method of controlling bridge device, and control program
CN101160791A (en) Method for processing the abnormal multicast service and a network equipment thereof
CN104113483B (en) A kind of method for multicast communication and convergence switch
CN107370680A (en) A kind of multicast routing entry control method, device and communication system
CN101005455A (en) Flow control method based on by-path interference
CN1996956A (en) L3 network device and method for multi-cast cross-VLAN forwarding
WO2017082773A1 (en) Method for grouped transmission of packets over software-defined networks
WO2016184028A1 (en) Multicast message forwarding control method and apparatus for switch device
CN101247541B (en) Method for implementing multimedia multicast service of mobile communications network
CN101909003A (en) Line speed shunt equipment and method
CN100421410C (en) Method for realizing mobile communication network multimedia enhancement service
CN101867518A (en) Message forwarding processing method, processing device and equipment for two-layer switching equipment
CN102394813B (en) Multicast routing table item management method and router
Giorgetti et al. First demonstration of SDN-based bit index explicit replication (BIER) multicasting
CN102843303B (en) Multicast message processing method in PIM and device
JP2011193261A (en) Communication system, switching hub, and router
CN101404586A (en) Control method and apparatus for multicast upstream port
RFC2236 et al. STATUS OF THIS MEMO

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171121