CN104202174B - A kind of implementation method of precise relay IP specific source multicasting data - Google Patents

A kind of implementation method of precise relay IP specific source multicasting data Download PDF

Info

Publication number
CN104202174B
CN104202174B CN201410399650.8A CN201410399650A CN104202174B CN 104202174 B CN104202174 B CN 104202174B CN 201410399650 A CN201410399650 A CN 201410399650A CN 104202174 B CN104202174 B CN 104202174B
Authority
CN
China
Prior art keywords
multicast
source
forwarding
pon
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410399650.8A
Other languages
Chinese (zh)
Other versions
CN104202174A (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.)
Shandong Lianxin big data Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410399650.8A priority Critical patent/CN104202174B/en
Publication of CN104202174A publication Critical patent/CN104202174A/en
Application granted granted Critical
Publication of CN104202174B publication Critical patent/CN104202174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a kind of implementation method of precise relay IP specific source multicasting data, Hardware I P multicast forward tables can be safeguarded according to multicast forwarding list item or PON interface forwarding tables item respectively, pass through two-stage multicast list, the multicast data flow of particular source can be accurately controlled, solve because of the longest match principle of three layers of list item, cause EXCLUDE active forwarding the infirm problem of hardware multicast list item, and then realize the correct forwarding of multicast packet.

Description

A kind of implementation method of precise relay IP specific source multicasting data
Technical field
The present invention relates to communication field, and in particular to a kind of implementation method of precise relay IP specific source multicasting data.
Background technology
IGMP (Internet group Management Protocol, IGMP) is TCP/IP (Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet Protocol) It is responsible for the agreement of IP multicast member managements in protocol suite, for being built between IP main frames and directly adjacent multicast router Stand, safeguard multicast group membership.IGMP V3 are the third editions of multicast protocol, in compatible and succession IGMP V1 and IGMP V2 On the basis of, add the control to multicast source.(filtered model includes the filtered model that IGMP V3 add for multicast source INCLUDE, EXCLUDE, wherein IN CLUDE are to be distinctly claimed to receive the multicast information from certain specific multicast source, or comprising Pattern;EXCLUDE is to be distinctly claimed multicast information of the refusal from certain specific multicast source, or excludes pattern), form multicast Member can be distinctly claimed the multicast information of reception or refusal from certain specific multicast source while certain multicast group is added.
In IGMP V1/V2, main frame is according to multicast group address, it is possible to receives the active multicast packet of the multicast group Stream.IGMP V3 agreements can filter to the multicast data flow of particular source, and the main frame with Source-Filtered Multicast function (SFM) uses The IGMP V3 report notifications upstream equipments main frame wants the multicast group added, while also notices the desired group received of the main frame Broadcast the address in source.The equipment for running IGMP V3 agreements, reported by handling the IGMP V3 received from upstream device to establish Multicast list, INCLUDE lists or EXCLUDE lists is included in multicast list, wherein the former defines connects desired by the main frame The address of the multicast source of receipts, and the latter defines the address that the main frame is not intended to the multicast source of reception, then, equipment is according to these Multicast list issues Hardware I P multicast forwarding list items, so as to correctly be forwarded to the multicast traffic stream of particular source.
IGMP V3 reports can include one or more groups and record.In each group record, include a group record class Type, multicast group address and multicast source address list, wherein group record type is divided into six types:
1st, IS_IN represents only to receive the multicast packet for being sent to the multicast group from the source list of designated multicast group;
2nd, the multicast source that IS_EX represents only to receive outside the source list of designated multicast group is sent to the multicast number of the multicast group According to;
3rd, TO_IN represents that the filtered model between multicast group and multicast source list is changed into INCLUDE by EXCLUDE;
4th, TO_EX represents that the filtered model between multicast group and multicast source list is changed into EXCLUDE by INCLUDE;
5th, ALLOW is represented on the basis of standing state, it is also desirable to from some multicast source receiving multicast datas.It is if current Filtered model be INCLUDE, then add these multicast sources into existing multicast source list;If current filtered model is EXCLUDE, then delete these multicast sources from existing multicast source list;
6th, BLOCK is represented on the basis of standing state, it is no longer necessary to from some multicast source receiving multicast datas.If work as Preceding filtered model is INCLUDE, then deletes these multicast sources from existing multicast source list;If current filtered model is EXCLUDE, then add these multicast sources into existing multicast source list.
The multicast list established according to the description of IGMP V3RFC documents, IGMP V3 agreements, carried out for all IGMP messages The result of COMPREHENSIVE CALCULATING, list item requirement meet the needs of upstream device is to multicast source to greatest extent, and so, upstream device is just It can be received to be not intended to receive, and other upstream devices require the data flow of the multicast source received, it is impossible to accomplish accurate control group Broadcast the forwarding of stream.
In existing technology, the multicast list of IGMP V3 protocol modules maintenance, is to each PON interfaces in PON equipment The information of the IGMP messages received is collected, it is desirable to which multicast list can meet all PON interfaces to multicast source to greatest extent Demand.Such as when the filtered model of multicast group is EXCLUDE, PON interfaces 1 require obstruction multicast source S1, and PON interfaces 2 are again The multicast data flow for receiving source S1 is sought, according to the handling process to message of agreement, then PON interfaces 1 and PON interfaces 2 can receive source S1 multicast source, therefore, existing technology can not be accurately controlled to multicast data flow.
Moreover, it is achieved that IGMP V3 agreements by establishing (multicast group, 0, PON mouth), it is necessary to be realized under EXCLUDE patterns Active multicast data flow in addition to blockage source list passes through.PON equipment matches (multicast first in forwarding multicasting flow data Group, multicast source, PON mouths) forwarding-table item carry out forwarding data, matching does not match (multicast group, 0, PON mouth) forward table then again .Therefore, when (multicast group, multicast source, PON mouths 1) and (multicast group, 0, PON mouth 2) two forwarding-table items be present, the source Multicast data flow can only forward from PON mouths 1, without from PON mouths 2 by, so, cannot meet IGMP V3 protocol functions will Ask.
The content of the invention
The present invention provides a kind of implementation method of precise relay IP specific source multicasting data according to the deficiencies in the prior art, Concrete scheme is as follows:
A kind of implementation method of precise relay IP specific source multicasting data, there is provided some PON interfaces, wherein, according to multicast Group forward table and PON interface forwarding tables are safeguarded to Hardware I P multicast lists;
Wherein, the multicast group forward table is comprehensive and safeguards the multicast group information collected from all PON interfaces, the multicast Group forward table includes:Multicast group address, multicast group filtered model, group timer, multicast source list, source timer and PON interfaces List;
The PON interface forwarding tables are used for the information for recording corresponding multicast group on each PON interfaces, and the PON connects Mouth forward table includes:Multicast group, PON interface filters pattern, multicast source list, multicast source timer.
Above-mentioned method, wherein, it is according to the mode that multicast group forward table is safeguarded to the Hardware I P multicast lists:
Increase the list item of forbidding of multicast source, and/or
That deletes multicast source forbids list item.
Above-mentioned method, wherein, the step of being safeguarded according to multicast group forward table to Hardware I P multicast lists is:
According to the IGMP messages of each PON interfaces, and the change of group timer and source timer, it is calculated Group record change, and Hardware I P multicast lists are safeguarded according to group record change.
Above-mentioned method, wherein, according to multicast source list change and multicast group filtered model/or multicast group filtered model Change to be safeguarded to Hardware I P multicast lists.
Above-mentioned method, wherein, when being safeguarded according to multicast source list change to Hardware I P multicast lists, if forbid Multicast source is changed into the multicast source of forwarding, then the hardware forwarding table item of the multicast source of remove ban.
Above-mentioned method, wherein, when being changed according to multicast source list to be safeguarded to Hardware I P multicast lists, if forwarding Multicast source be changed into the multicast source forbidden, then add the hardware forwarding table item of the multicast source of forwarding.
Above-mentioned method, wherein, when being safeguarded according to multicast group filtered model to Hardware I P multicast lists, if multicast group The group filtered model of forward table is comprising pattern, then does not add hardware multicast forwarding-table item.
Above-mentioned method, wherein, when being safeguarded according to multicast group filtered model to Hardware I P multicast lists, if multicast group The group filtered model of forward table is exclusion pattern, then for the null multicast source of source timer, adds hardware multicast forward table .
Above-mentioned method, wherein, when being safeguarded according to multicast group filtered model to Hardware I P multicast lists, if multicast group The group filtered model of forward table is exclusion pattern, according to the result of calculation of each PON interface forwarding tables of synthesis, can will be passed through originally Multicast data flow blocked, and add hardware multicast forwarding-table item;Otherwise, it is allowed to which the multicast data flow blocked originally is by and deleting Hardware multicast forwarding-table item.
Above-mentioned method, wherein, when being safeguarded according to the change of multicast group filtered model to Hardware I P multicast lists, if It is when the group filtered model of multicast group forward table is by being exclusion pattern comprising Mode change, then without any processing.
Above-mentioned method, wherein, when being safeguarded according to the change of multicast group filtered model to Hardware I P multicast lists, if When the group filtered model of multicast group forward table by exclusion Mode change is comprising pattern, active null group of the timer of institute is deleted Broadcast the Hardware I P multicast forwarding list items in source.
Above-mentioned method, wherein, it is according to the mode that PON interface forwarding tables are safeguarded to Hardware I P multicast lists:
Increase the forwarding-table item in specific multicast source, and/or
Delete the forwarding-table item in specific multicast source.
Above-mentioned method, wherein, the step of being safeguarded according to multicast group forward table to hardware multicast list item is:According to each The IGMP messages of the PON interfaces, and the change of group timer and source timer, safeguard the PON interfaces forwarding of itself Table, and Hardware I P multicast lists are safeguarded according to group record change.
Above-mentioned method, wherein, the multicast source list change in PON interface forwarding tables and multicast group filter module respectively Formula/or multicast group filtered model change to be safeguarded to hardware multicast list item.
Above-mentioned method, wherein, the multicast source list change in PON interface forwarding tables is carried out to hardware multicast list item When safeguarding, if the multicast source forbidden is changed into the multicast source of forwarding, travel through all in addition to the PON interfaces for receiving IGMP messages PON interfaces, when the multicast source of some other PON interfaces does not include the multicast source forbidden, then add the hardware group of the multicast source Broadcast forwarding-table item.
Above-mentioned method, wherein, the multicast source list change in PON interface forwarding tables is carried out to hardware multicast list item When safeguarding, if the multicast source of forwarding is changed into the multicast source forbidden, travel through all in addition to the PON interfaces for receiving IGMP messages PON interfaces, when the multicast source of some PON interface does not include the multicast source of forwarding, then the hardware multicast for deleting the multicast source turns Forwarding list item.
Above-mentioned method, wherein, the multicast group filtered model in PON interface forwarding tables is carried out to hardware multicast list item When safeguarding, when the PON interface filters pattern of PON interface forwarding tables is comprising pattern, then all multicasts in multicast source list are added The hardware multicast forwarding-table item in source.
Above-mentioned method, wherein, the multicast group filtered model in PON interface forwarding tables is carried out to hardware multicast list item When safeguarding, when the PON interface filters pattern of PON interface forwarding tables is exclusion pattern, then addition source timer is more than zero multicast The hardware multicast forwarding-table item in source, hardware multicast forwarding-table item is not added simultaneously for the null multicast source of source timer.
Above-mentioned method, wherein, after the PON interfaces for receiving IGMP messages are handled message, and need forwarding one During the multicast data flow of individual new multicast source, all PON interfaces in addition to the PON interfaces for receiving IGMP messages are traveled through first, if certain The filtered model of individual PON interfaces is exclusion pattern, and when the source list of the PON interfaces does not include the new multicast source, then addition should The hardware multicast forwarding-table item of PON interfaces, and finally addition receives the hardware multicast forwarding-table item of the PON interfaces of IGMP messages.
Above-mentioned method, wherein, after the PON interfaces source timer expiry of IGMP messages is received, and need to forbid forwarding During the multicast data flow in some specific multicast source, then other all PON in addition to the PON interfaces for receiving IGMP messages are traveled through first Interface, judge whether include the specific multicast source in the multicast source list of other PON interfaces, and the source timer of multicast source is It is no to be more than zero;
If the multicast source list of other PON interfaces includes the specific multicast source and the source timer of the multicast source is more than zero, The hardware multicast forwarding-table item of interface port is then directly deleted, otherwise, all PON interfaces are traveled through, when the mould of some PON interface When formula is exclusion pattern, then the hardware multicast forwarding-table item of the PON interfaces is deleted.
Above-mentioned method, wherein, the multicast group filtered model in PON interface forwarding tables changes to Hardware I P multicast tables When item is safeguarded, if receive the filtered model of the PON interfaces of IGMP messages by being exclusion pattern comprising Mode change, traversal All PON interfaces in addition to the PON interfaces for receiving IGMP messages, and obtain source timer and be more than zero and unduplicated multicast source The list of composition source, if the multicast source address in the list of source is not included in the source list for the PON interfaces for receiving IGMP messages, Hardware multicast forwarding-table item is added, finally, addition allows the hardware multicast forwarding-table item that all multicast sources pass through.
Above-mentioned method, wherein, the multicast group filtered model in PON interface forwarding tables changes to hardware multicast list item When being safeguarded, when it is comprising pattern to receive the filtered model of PON interfaces of IGMP messages by exclusion Mode change, traversal is removed Receive IGMP messages PON connect outside all PON interfaces, and obtain source timer more than zero and unduplicated multicast source form Source list, if the multicast source address in the list of source be not included in receive IGMP messages PON interfaces source list in, delete Except hardware multicast forwarding-table item, finally, deletion allows the hardware multicast forwarding-table item that all multicast sources pass through.
The present invention can enter according to multicast forwarding list item or PON interface forwarding tables item to Hardware I P multicast forward tables respectively Row is safeguarded, by two-stage multicast list, the multicast data flow of particular source can be accurately controlled, and is solved because of three layers of list item Longest match principle, cause EXCLUDE active forwarding the infirm problem of hardware multicast list item, and then realize multicast number According to correct forwarding.
Brief description of the drawings
By reading the detailed description made with reference to the following drawings to non-limiting example, the present invention and its feature, outside Shape and advantage will become more apparent upon.The identical mark instruction identical part in whole accompanying drawings.Not deliberately proportionally Draw accompanying drawing, it is preferred that emphasis is the purport of the present invention is shown.
Fig. 1 is the information schematic diagram included by hardware group forward table;
Fig. 2 is the information schematic diagram included by PON interface forwarding tables;
Fig. 3 is the information schematic diagram included by multicast group forward table;
Fig. 4 is the workflow diagram that the present invention updates hardware multicast forwarding-table item according to multicast group forward table;
Fig. 5 is operational flowchart of the present invention according to PON interface forwarding tables to hardware multicast forwarding-table item.
Embodiment
In the following description, a large amount of concrete details are given to provide more thorough understanding of the invention.So And it is obvious to the skilled person that the present invention can be able to without one or more of these details Implement.In other examples, in order to avoid obscuring with the present invention, do not enter for some technical characteristics well known in the art Row description.
In order to thoroughly understand the present invention, detailed step and detailed interface will be proposed in following description, so as to Explain technical scheme.Presently preferred embodiments of the present invention is described in detail as follows, but in addition to these detailed descriptions, this Invention can also have other embodiment.
The invention provides a kind of implementation method of precise relay IP specific source multicasting data, according to multicast group forward table and PON interface forwarding tables are safeguarded to Hardware I P multicast lists.In the present invention, hardware multicast forwarding-table item is divided into three species Type:The list item (multicast group address, multicast source address, 0) of multicast group obstruction particular source, multicast group allow all multicast sources to pass through spy The list item (multicast group address, 0, PON) and multicast group of fixed end mouth allow list item (multicast group of the specific multicast source by particular port Address, multicast source address, PON).
Therefore, the operation for hardware multicast forwarding-table item mainly includes two kinds of situations:Safeguarded according to multicast group forward table Multicast group forbids the list item of multicast source;Safeguard that multicast group forwards all multicast sources or specific multicast source according to PON interface forwarding tables List item.Because multicast forward table is the set of each PON interface forwarding tables, when the multicast group in the list item need not receive certain During individual multicast source, then it represents that all PON interfaces need not all forward the multicast data flow in the source, therefore, issue multicast group here Block the list item of the multicast source;PON interface forwarding tables, the multicast group state of the interface is reflected, is issued respectively according to the forward table The hardware multicast forwarding-table item of individual PON interfaces, mainly there is two kinds:Multicast group active all pass through the port and the spy of multicast group Determine source and pass through the port.
According to multicast group forward table, hardware multicast forwarding-table item mainly has two kinds of operations:Increase multicast source forbids list item Forbid list item (multicast group address, multicast source address, 0) with delete multicast source.According to PON interface forwarding tables, hardware multicast turns Forwarding list item mainly has four kinds of operations:Increase the forwarding-table item in specific multicast source and delete the forwarding-table item (multicast in specific multicast source Group address, multicast source address, PON mouths), and the forwarding-table item of all multicast sources of increase and the forward table for deleting all multicast sources Item (multicast group address, 0, PON mouth).
Shown in reference picture 1, hardware group forward table includes multicast group address, multicast source address and PON interfaces.Multicast group forwards Table is comprehensive and safeguards the multicast group information collected from all PON interfaces, and shown in reference picture 2, multicast group forward table includes:Multicast group Address, multicast group filtered model, group timer, multicast source list, source timer and PON interface lists.PON interface forwarding tables are used In the information for recording corresponding multicast group on each PON interfaces, shown in reference picture 3, PON interface forwarding tables include:Multicast group, PON Interface filter pattern, multicast source list, multicast source timer.
In an embodiment of the present invention, it is preferred that Hardware I P multicast lists are safeguarded according to multicast group forward table Mode is:Increase multicast source forbids list item, and/or that deletes multicast source forbid list item.
In an embodiment of the present invention, it is preferred that Hardware I P multicast lists are safeguarded according to multicast group forward table Step is:According to the IGMP messages of each PON interfaces, and the change of group timer and source timer, a group note is calculated Record change, and hardware multicast list item is safeguarded according to group record change.It is further preferred that become according to multicast source list Change and multicast group filtered model/or multicast group filtered model change to be safeguarded to Hardware I P multicast lists, can refer to Fig. 4 It is shown.
Specifically, when being safeguarded according to multicast source list change to Hardware I P multicast lists, if the multicast source forbidden turns It is changed into the multicast source of forwarding, then deletes the hardware forwarding table item (group address, source address, 0) of the multicast source forbidden.
Specifically, when being safeguarded according to multicast source list change to Hardware I P multicast lists, if the multicast source of forwarding turns It is changed into the multicast source forbidden, then adds the hardware forwarding table item (group address, source address, 0) of the multicast source of the forwarding.
Specifically, when being safeguarded according to multicast group filtered model to Hardware I P multicast lists, if multicast group forward table Group filtered model is comprising pattern, then does not add hardware multicast forwarding-table item.
Specifically, when being safeguarded according to multicast group filtered model to Hardware I P multicast lists, if multicast group forward table Group filtered model is exclusion pattern, then for the null multicast source of source timer, adds hardware multicast forwarding-table item (multicast group Address, multicast source address, 0).
Specifically, when being safeguarded according to multicast group filtered model to Hardware I P multicast lists, if multicast group forward table Group filtered model is exclusion pattern, according to the result of calculation of each PON interface forwarding tables of synthesis, the multicast data flow that can will pass through originally Blocked, and add hardware multicast forwarding-table item (multicast group address, multicast source address, 0);Otherwise, it is allowed to blocked originally Multicast data flow is by and deleting hardware multicast forwarding-table item (multicast group address, multicast source address, 0).
Specifically, when being safeguarded according to the change of multicast group filtered model to Hardware I P multicast lists, if multicast group turns It is when the group filtered model delivered is by being exclusion pattern comprising Mode change, then without any processing.
Specifically, when being safeguarded according to the change of multicast group filtered model to Hardware I P multicast lists, if multicast group turns The group filtered model delivered by exclusion Mode change be comprising pattern when, delete the null multicast source of active timer it is hard Part IP multicast forwardings list item (multicast group address, multicast source address, 0).
In an embodiment of the present invention, it is preferred that Hardware I P multicast lists are safeguarded according to PON interface forwarding tables Mode is:Increase the forwarding-table item in specific multicast source, and/or delete the forwarding-table item in specific multicast source.
In an embodiment of the present invention, it is preferred that the step safeguarded according to PON interface forwarding tables to hardware multicast list item Suddenly it is:According to the IGMP messages of each PON interfaces, and the change of group timer and source timer, safeguard that the PON of itself connects Mouth forward table, and Hardware I P multicast lists are safeguarded according to group record change.It is further preferred that respectively according to PON Multicast source list change and multicast group filtered model/or the change of multicast group filtered model in interface forwarding table come to hardware multicast List item is safeguarded, can refer to shown in Fig. 5.
Specifically, when the multicast source list change in PON interface forwarding tables is safeguarded to hardware multicast list item, if The multicast source forbidden is changed into the multicast source of forwarding, travels through all PON interfaces in addition to the PON interfaces for receiving IGMP messages, When the multicast source of some other PONi interfaces does not include the multicast source forbidden, then the hardware multicast forward table of the multicast source is added Item (group address, source address, PONi), finally add the hardware multicast forwarding-table item (group address, source address, PON) of the multicast source.
Specifically, when the multicast source list change in PON interface forwarding tables is safeguarded to hardware multicast list item, if The multicast source of forwarding is changed into the multicast source forbidden, and travels through all PON interfaces in addition to the PON interfaces for receiving IGMP messages, When the multicast source of some PONi interface does not include the multicast source of forwarding, then the hardware multicast forwarding-table item of the multicast source is deleted (group address, source address, PONi mouths), finally delete hardware multicast forwarding-table item (group address, source address, the PON of the multicast source Mouthful).
Specifically, when the multicast group filtered model in PON interface forwarding tables is safeguarded to hardware multicast list item, when The PON interface filters pattern of PON interface forwarding tables is that the hardware group of all multicast sources in multicast source list is then added comprising pattern Broadcast forwarding-table item (multicast group address, multicast source address, port).
Specifically, when the multicast group filtered model in PON interface forwarding tables is safeguarded to hardware multicast list item, when The PON interface filters pattern of PON interface forwarding tables is exclusion pattern, then adds the hardware group of multicast source of the source timer more than zero Forwarding-table item (multicast group address, multicast source address, PON mouths) is broadcast, is not added simultaneously for the null multicast source of source timer Hardware multicast forwarding-table item.
Specifically, after the PON interfaces for receiving IGMP messages are handled message, and need to forward a new multicast source Multicast data flow when, travel through first except receive IGMP messages PON interfaces in addition to all PON interfaces, if some PON [j] connects Mouthful filtered model be exclusion pattern, and when the source list of the PON interfaces does not include the new multicast source, then add the PON [j] and connect The hardware multicast forwarding-table item (multicast group address, multicast source address, PON [j] mouth) of mouth, and finally addition receives IGMP messages The hardware multicast forwarding-table item (multicast group address, multicast source address, PON mouths) of PON interfaces.
Specifically, after the PON interfaces source timer expiry of IGMP messages is received, and need to forbid forwarding some specific group When broadcasting the multicast data flow in source, then other all PON interfaces in addition to the PON interfaces for receiving IGMP messages are traveled through first, are judged The specific multicast source whether is included in the multicast source list of other PON interfaces, and whether the source timer of multicast source is more than zero; If the multicast source list of other PON interfaces includes the specific multicast source and the source timer of the multicast source is more than zero, directly delete Except the hardware multicast forwarding-table item (multicast group address, multicast source address, PON) of interface port, otherwise, travel through all PON and connect Mouthful, when the pattern of some PON [j] interface is exclusion pattern, then delete the hardware multicast forwarding-table item (group of PON [j] interface Broadcast group address, multicast source address, PON [j]).
Specifically, the multicast group filtered model change in PON interface forwarding tables is tieed up to Hardware I P multicast lists During shield, if receive the filtered model of the PON interfaces of IGMP messages by being exclusion pattern comprising Mode change, traversal is except reception All PON interfaces outside the PON interfaces of IGMP messages, and obtain source timer and be more than zero and unduplicated multicast source composition source List LISTA, if the multicast source address S [i] in source list LISTA is not included in the source for the PON interfaces for receiving IGMP messages In list, then hardware multicast forwarding-table item (multicast group address, S [i], PON) is added, finally, addition allows all multicast sources to pass through Hardware multicast forwarding-table item (multicast group address, 0, PON).
Specifically, the multicast group filtered model change in PON interface forwarding tables is safeguarded to hardware multicast list item When, when it is comprising pattern to receive the filtered model of PON interfaces of IGMP messages by exclusion Mode change, traversal is except reception IGMP The PON of message connect outside all PON interfaces, and obtain source timer more than zero and unduplicated multicast source form source list LISTA, if the multicast source address S [i] in source list LISTA is not included in the source list for the PON interfaces for receiving IGMP messages In, then hardware multicast forwarding-table item (multicast group address, S [i], PON) is deleted, finally, it is hard that deletion allows all multicast sources to pass through Part multicast forwarding list item (multicast group address, 0, PON).
In summary,, can be to particular source by two-stage multicast list due to present invention employs as above technical scheme Multicast data flow is accurately controlled, and is solved because of the longest match principle of three layers of list item, cause EXCLUDE active forwarding it is hard The infirm problem of part multicast list, and then realize the correct forwarding of multicast packet.
Presently preferred embodiments of the present invention is described above.It is to be appreciated that the invention is not limited in above-mentioned Particular implementation, wherein the equipment and interface be not described in detail to the greatest extent are construed as giving reality with the common mode in this area Apply;Any those skilled in the art, without departing from the scope of the technical proposal of the invention, all using the disclosure above Methods and technical content many possible changes and modifications are made to technical solution of the present invention, or be revised as equivalent variations etc. Embodiment is imitated, this has no effect on the substantive content of the present invention.Therefore, every content without departing from technical solution of the present invention, foundation The technical spirit of the present invention still falls within the present invention to any simple modifications, equivalents, and modifications made for any of the above embodiments In the range of technical scheme protection.

Claims (10)

  1. A kind of 1. implementation method of precise relay IP specific source multicasting data, there is provided some PON interfaces, it is characterised in that according to Multicast group forward table and PON interface forwarding tables are safeguarded to Hardware I P multicast lists;
    Wherein, the multicast group forward table is comprehensive and safeguards the multicast group information collected from all PON interfaces, and the multicast group turns Deliver including:Multicast group address, multicast group filtered model, group timer, multicast source list, source timer and PON interface lists;
    The PON interface forwarding tables are used for the information for recording corresponding multicast group on each PON interfaces, and the PON interfaces turn Deliver including:Multicast group, PON interface filters pattern, multicast source list, multicast source timer;
    Multicast source list change and multicast group filtered model/in multicast forward table or the change of multicast group filtered model come Hardware I P multicast lists are safeguarded;
    When being safeguarded according to multicast group filtered model to Hardware I P multicast lists, if the group filtered model of multicast group forward table is Not comprising pattern, according to the result of calculation of each PON interface forwarding tables of synthesis, the multicast data flow that can pass through originally is blocked, And add hardware multicast forwarding-table item;Otherwise, it is allowed to which the multicast data flow blocked originally is by and deleting hardware multicast forwarding-table item;
    Multicast source list change and multicast group filtered model/or the change of multicast group filtered model in PON interface forwarding tables To be safeguarded to hardware multicast list item;
    After the PON interfaces for receiving IGMP messages are handled message, and when needing the multicast data flow of one new multicast source of forwarding, All PON interfaces in addition to the PON interfaces for receiving IGMP messages are traveled through first, if the filtered model of some PON interface is Not comprising pattern, and when the source list of the PON interfaces does not include the new multicast source, then the hardware multicast for adding the PON interfaces turns Forwarding list item, and finally addition receives the hardware multicast forwarding-table item of the PON interfaces of IGMP messages.
  2. 2. the method as described in claim 1, it is characterised in that entered according to multicast group forward table to the Hardware I P multicast lists Row safeguard mode be:
    Increase multicast source forbids list item, and/or that deletes multicast source forbid list item;
    The step of being safeguarded according to multicast group forward table to Hardware I P multicast lists be:
    According to the IGMP messages of each PON interfaces, and the change of group timer and source timer, a group note is calculated Record change, and Hardware I P multicast lists are safeguarded according to group record change.
  3. 3. method as claimed in claim 2, it is characterised in that carried out according to multicast source list change to Hardware I P multicast lists When safeguarding,
    If the multicast source forbidden is changed into the multicast source of forwarding, the hardware forwarding table item of the multicast source of remove ban;
    If the multicast source of forwarding is changed into the multicast source forbidden, the hardware forwarding table item of the multicast source of forwarding is added.
  4. 4. method as claimed in claim 2, it is characterised in that carried out according to multicast group filtered model to Hardware I P multicast lists When safeguarding,
    If the group filtered model of multicast group forward table is comprising pattern, hardware multicast forwarding-table item is not added;
    If the group filtered model of multicast group forward table is not comprising pattern, for the null multicast source of source timer, addition Hardware multicast forwarding-table item.
  5. 5. method as claimed in claim 2, it is characterised in that according to the change of multicast group filtered model to Hardware I P multicast tables When item is safeguarded,
    It is without any processing if the group filtered model of multicast group forward table is by being not comprising pattern comprising Mode change;
    If the group filtered model of multicast group forward table is by being comprising pattern not comprising Mode change, active timer of institute etc. is deleted In the Hardware I P multicast forwarding list items of zero multicast source.
  6. 6. the method as described in claim 1, it is characterised in that carried out according to PON interface forwarding tables to Hardware I P multicast lists The mode of maintenance is:
    Increase the forwarding-table item in specific multicast source, and/or delete the forwarding-table item in specific multicast source;
    Wherein, the step of being safeguarded according to multicast group forward table to hardware multicast list item be:
    According to the IGMP messages of each PON interfaces, and the change of group timer and source timer, itself is safeguarded PON interface forwarding tables, and Hardware I P multicast lists are safeguarded according to group record change.
  7. 7. method as claimed in claim 6, it is characterised in that the multicast source list change pair in PON interface forwarding tables When hardware multicast list item is safeguarded,
    If the multicast source forbidden is changed into the multicast source of forwarding, all PON in addition to the PON interfaces for receiving IGMP messages are traveled through Interface, when the multicast source of some other PON interfaces does not include the multicast source forbidden, then the hardware multicast for adding the multicast source turns Forwarding list item;
    If the multicast source of forwarding is changed into the multicast source forbidden, all PON in addition to the PON interfaces for receiving IGMP messages are traveled through Interface, when the multicast source of some PON interface does not include the multicast source of forwarding, then delete the hardware multicast forward table of the multicast source .
  8. 8. method as claimed in claim 6, it is characterised in that the multicast group filtered model pair in PON interface forwarding tables When hardware multicast list item is safeguarded,
    When the PON interface filters pattern of PON interface forwarding tables is comprising pattern, then all multicast sources in multicast source list are added Hardware multicast forwarding-table item;
    When the PON interface filters pattern of PON interface forwarding tables is not comprising pattern, then the multicast source that source timer is more than zero is added Hardware multicast forwarding-table item, do not add hardware multicast forwarding-table item simultaneously for the null multicast source of source timer.
  9. 9. method as claimed in claim 6, it is characterised in that after the PON interfaces source timer expiry of IGMP messages is received, And when needing to forbid forwarding the multicast data flow in some specific multicast source, then travel through first in addition to the PON interfaces for receiving IGMP messages Other all PON interfaces, judge the specific multicast source whether is included in the multicast source list of other PON interfaces, and group Whether the source timer for broadcasting source is more than zero;
    If the multicast source list of other PON interfaces includes the specific multicast source and the source timer of the multicast source is more than zero, directly The hardware multicast forwarding-table item for deleting interface port is connect, otherwise, all PON interfaces are traveled through, when the pattern of some PON interface is During not comprising pattern, then the hardware multicast forwarding-table item of the PON interfaces is deleted.
  10. 10. method as claimed in claim 6, it is characterised in that the multicast group filtered model in PON interface forwarding tables becomes When change is safeguarded to Hardware I P multicast lists,
    If receive the filtered model of the PON interfaces of IGMP messages by being not comprising pattern comprising Mode change, traversal is except reception All PON interfaces outside the PON interfaces of IGMP messages, and obtain source timer and be more than zero and unduplicated multicast source composition source List, if the multicast source address in the list of source is not included in the source list for the PON interfaces for receiving IGMP messages, addition is hard Part multicast forwarding list item, finally, addition allow the hardware multicast forwarding-table item that all multicast sources pass through;
    When receiving the filtered model of PON interfaces of IGMP messages by being comprising pattern not comprising Mode change, traversal is except reception The PON of IGMP messages connect outside all PON interfaces, and obtain source timer more than zero and unduplicated multicast forms in a steady stream Source list, if the multicast source address in the list of source is not included in the source list for the PON interfaces for receiving IGMP messages, delete Hardware multicast forwarding-table item, finally, deletion allow the hardware multicast forwarding-table item that all multicast sources pass through.
CN201410399650.8A 2014-08-13 2014-08-13 A kind of implementation method of precise relay IP specific source multicasting data Active CN104202174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410399650.8A CN104202174B (en) 2014-08-13 2014-08-13 A kind of implementation method of precise relay IP specific source multicasting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410399650.8A CN104202174B (en) 2014-08-13 2014-08-13 A kind of implementation method of precise relay IP specific source multicasting data

Publications (2)

Publication Number Publication Date
CN104202174A CN104202174A (en) 2014-12-10
CN104202174B true CN104202174B (en) 2017-12-19

Family

ID=52087404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410399650.8A Active CN104202174B (en) 2014-08-13 2014-08-13 A kind of implementation method of precise relay IP specific source multicasting data

Country Status (1)

Country Link
CN (1) CN104202174B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302188A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 The multicast message transmission control method of a kind of switch device and device
CN105119834B (en) * 2015-07-17 2018-06-01 西安空间无线电技术研究所 A kind of source address destination address joint lookup method based on compound trie tree constructions

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744572A (en) * 2005-08-31 2006-03-08 杭州华为三康技术有限公司 Switchnig equipment and method for controlling multicasting data forwarding
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN101771611A (en) * 2009-12-31 2010-07-07 迈普通信技术股份有限公司 Method for precisely forwarding IP multicast data in VLAN and forward device
CN103812782A (en) * 2014-02-21 2014-05-21 上海斐讯数据通信技术有限公司 Achievement method of multicast member management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744572A (en) * 2005-08-31 2006-03-08 杭州华为三康技术有限公司 Switchnig equipment and method for controlling multicasting data forwarding
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN101771611A (en) * 2009-12-31 2010-07-07 迈普通信技术股份有限公司 Method for precisely forwarding IP multicast data in VLAN and forward device
CN103812782A (en) * 2014-02-21 2014-05-21 上海斐讯数据通信技术有限公司 Achievement method of multicast member management

Also Published As

Publication number Publication date
CN104202174A (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN100566282C (en) The Apparatus and method for of control transmitting multicast data
CN103618733B (en) A kind of data filtering system and method for being applied to mobile Internet
CN102902669B (en) Distributed information grasping means based on internet system
CN101771611B (en) Method for precisely forwarding IP multicast data in VLAN and forward device
CN104202174B (en) A kind of implementation method of precise relay IP specific source multicasting data
CN105991441B (en) The method and apparatus that route forwarding table is issued to BGP Route Selection
CN101340308A (en) Network rubbish information filtering architecture, Network rubbish information cleaning system and method thereof
CN105046567A (en) Community service system based on socialization
CN108154915A (en) For the back-end data processing system and method for hospital's wechat platform
CN105227471A (en) Method and the edge device of multicast forwarding list item is set up in a kind of EVI network
CN107547372A (en) One introduces a collection filters implementation method and device
CN102651722A (en) Mail attachment processing method, mail sending server and mail receiving server
CN105306356A (en) Method for realizing master-slave switching of multicast routing on distributed system
CN103763323A (en) Method and device for managing firewall rules
EP2981036A1 (en) Multicast communication method and aggregation switch
CN107547535A (en) The MAC address learning method, apparatus and the network equipment of attack protection
CN102595248A (en) Multicast forwarding table item maintaining method and protocol independent multicast router
CN104125546A (en) Short message subscription business type centralized management and control method and system
CN106302188A (en) The multicast message transmission control method of a kind of switch device and device
CN106131134A (en) A kind of message content merges De-weight method and system
CN100479371C (en) Method of broadcast transmitting message and an exchange equipment
CN106102124B (en) The method for improving the capacity of the extended MAC addresses forwarding table of working efficiency
CN105025247A (en) Video conference forwarding system
CN103957128A (en) Method and system for monitoring data flow direction in cloud computing environment
CN101917351A (en) Multicasting forwarding method on router and forwarding router thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201208

Address after: 313021 industrial function area of Donglin Town, Huzhou City, Zhejiang Province

Patentee after: ZHEJIANG YUANTE NEW MATERIAL Co.,Ltd.

Address before: 201620 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210518

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 313021 industrial functional zone, Donglin Town, Huzhou City, Zhejiang Province

Patentee before: ZHEJIANG YUANTE NEW MATERIAL Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211217

Address after: 276000 Longhu Software Park, 279 shuangyueyuan Road, high tech Industrial Development Zone, Linyi City, Shandong Province

Patentee after: Linyi Longruan Enterprise Management Consulting Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co., Ltd

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220607

Address after: 276000 2 / F, business building, Applied Science City, high tech Industrial Development Zone, Linyi City, Shandong Province

Patentee after: Shandong Lianxin big data Co.,Ltd.

Address before: 276000 Longhu Software Park, 279 shuangyueyuan Road, high tech Industrial Development Zone, Linyi City, Shandong Province

Patentee before: Linyi Longruan Enterprise Management Consulting Co.,Ltd.