CN101098287B - Apparatus and method for implementing IPV6 multicast filtering on EPON using hardware extended mode - Google Patents

Apparatus and method for implementing IPV6 multicast filtering on EPON using hardware extended mode Download PDF

Info

Publication number
CN101098287B
CN101098287B CN200610028200A CN200610028200A CN101098287B CN 101098287 B CN101098287 B CN 101098287B CN 200610028200 A CN200610028200 A CN 200610028200A CN 200610028200 A CN200610028200 A CN 200610028200A CN 101098287 B CN101098287 B CN 101098287B
Authority
CN
China
Prior art keywords
chip
cpu
onu
mac controller
ipv6 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.)
Expired - Fee Related
Application number
CN200610028200A
Other languages
Chinese (zh)
Other versions
CN101098287A (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.)
Shanghai B-Star Broadband Technology Co., Ltd.
Original Assignee
Shanghai B Star 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 B Star Co Ltd filed Critical Shanghai B Star Co Ltd
Priority to CN200610028200A priority Critical patent/CN101098287B/en
Publication of CN101098287A publication Critical patent/CN101098287A/en
Application granted granted Critical
Publication of CN101098287B publication Critical patent/CN101098287B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a device for realizing IPV6 multicast filter on EPON via hardware expansion and a relative method, wherein the device comprises an ONU chip, an exchange chip, and a MAC controller chip. The ONU chip comprises an embedded CPU and a control interface. The exchange chip comprises a CPU port and a control port, while the CPU port is connected with the MAC controller chip, the exchange chip is used to capture a MLD protocol report to be sent to the MAC controller chip. The MAC controller chip is used to send a received report to the embedded CPU of the ONU chip, while the embedded CPU is used to analyze the MLD protocol report and build multicast filter list, to realize IPV6 multicast filter. The invention via expanding MAC controller chip realizes MLD Snooping function on ONU chip, to reduce cost, which can realize IPV6 multicast filter on exchange chip, and realize IPv6 multicast filter on ONU chip, thereby saving UNI port descending data bandwidth of ONU chip.

Description

Adopt the hardware expanding mode on EPON, to realize the apparatus and method of IPV6 multicast filtering
Technical field
The present invention relates on the EPON network, realize the method and the device of IPV6 multicast filtering.
Background technology
In network transmission process, IP multicast (sending identical packets of information to a plurality of destinations simultaneously) is more much higher than the efficient of clean culture (sending portion separately to each destination).If there is not certain type group Broadcast Control system in the network, network will be handled multicast as broadcasting, this means that the All hosts on the destination network all must be handled all multicasts that send to this network.In the more environment of multicast application type, this may need to grab the performance of cpu cycle of All hosts on the network, influences the transmission performance of network greatly.
IGMP snooping (intercept by the Internet igmpinternet, the technology of IPv4 multicast listener) and MLD snooping (the IPv6 multicast protocol is intercepted) technology on port, filter the unwanted multicast packet of this port in order to solve two-layer equipment exactly, prevent that multicast packets from spreading unchecked, save port effective bandwidth problem and the technology that produces.
IGMP Snooping is a technology that is used for the management and the control of multicast group.It uses the IGMP message.The IGMP agreement operates in network layer, and IGMP Snooping operates in link layer.As shown in Figure 1, IGMP Snooping allows the IGMP session between switch monitoring main frame (main frame 1, main frame 2, main frame 3) and the router four.When switch listens to after main frame 3 mails to the IGMP report (report) of certain group of adding of router four, the port numbering that switch connects this main frame 3 joins the forwarding list of this group, and (switch will be according to the multicast group address of the port correspondence of the switch that comprises in this forwarding list, decide the data of certain certain multicast address of sending from router to forward from which port), equally, when switch uppick IGMP leaves (leave) message, it is just deleted the port numbering that main frame 3 connects from forwarding list.If there is not member's report in a period of time, switch also can be with port deletion from group.After IGMP Snooping starts, multicast router sends the igmp querying message to all VLAN periodically, response of host query message under the VLAN, send to add or report message, so this main frame place port is added in the multicast forward table, its keyword is VLAN label and multicast mac address, when multicast packet, directly transmitting accordingly according to multicast forward table, is not to transmit to all of the port, therefore the bandwidth of having saved switch effectively.
The basic functional principle of MlD snooping is identical with IGMP snooping, and difference only is that MLD Snooping is a multicast packets of intercepting IPv6.And so-called MLD snooping, be meant that ONU equipment is mutual by the IPv6 multicast protocol message of intercepting between STB (set-top box) and the router (MLD agreement), can determine to be connected the multicast group of the current adding of STB of own certain port, thereby only transmit the multicast group data that this STB needs, filter out the function of all the other unwanted multicast group data.
In order in EPON, to realize MlD snooping function, EPON is except specifying the LLID (logical link ID) for the logical links of each point-to-point, also to define a general broadcasting LLID.OLT (optical line terminal) for downlink data packet, if unicast packet, just in address table, search corresponding LLID, if the LLID value of correspondence is inserted in the packet. this bag is a broadcast packet, so just use a general broadcasting LLID value. and ONU is after receiving downstream packets, not one's own Packet Filtering to be fallen. when a new downstream packets arrives, if this bag is a unicast packet, and the LLID of LLID and ONU is complementary, just receive this bag, otherwise just abandon this bag; If this bag is a broadcast packet, and LLID is general broadcasting LLID, just receives this bag.
As shown in Figure 2, the downlink port of ONU (optical network unit) is FE (100,000,000 Ethernet interface) mouthful, and the data rate of EPON mouth reaches 1G, if in the ONU side multicast that does not belong to this ONU subordinate terminal is not filtered, just is easy at this originating port congested.For realizing the multicast filtering function of ONU side, existing technical scheme is as follows:
Has the exchange chip of supporting MLD snooping function, after by hardware the MLD protocol massages in the data channel being caught, the CPU that CPU port from the exchange chip of its appointment delivers to ONU handles, go up the software analysis MLD agreement newspaper of operation by CPU, thereby generate IPv6 multicast filtering table, and control exchange chip according to this filter table and carry out the filtration of descending multicast packet, thereby on ONU, realize the function of MLD Snooping.
Though at present the commercial ONU chip of part is embedded CPU, but because embedded CPU does not provide the MAC network interface, therefore the MLD agreement newspaper that captures of exchange chip can't directly be delivered on the embedded CPU of ONU chip and handle, and therefore increasing a cpu chip with MAC network interface again realizes MLD Snooping function usually.As shown in Figure 3.
Exchange chip (as Marvell6061) carries out packet capturing to all up MLD protocol massages, and the CPU port of these data by it sent to the MAC network interface of the cpu chip that increases.The cpu chip that increases is set up the multicast filtering table according to the MLD protocol massages, and the control exchange chip is realized the IPv6 multicast filtering.
But adopt this method, needing increases a cpu chip, has increased the cost of equipment.
Summary of the invention
The object of the present invention is to provide a kind of method that adopts the hardware expanding mode on EPON, to realize the IPV6 multicast filtering.
For achieving the above object, the present invention adopts following technical scheme:
A kind of method that adopts the hardware expanding mode to realize the IPV6 multicast filtering on EPON is characterized in that may further comprise the steps:
1) after exchange chip is caught MLD protocol massages in the data channel, this message is issued the mac controller chip;
2) the mac controller chip with this message by sending to the built-in with CPU of ONU chip;
3) software on the built-in with CPU is set up IPv6 multicast filtering table by analyzing the MLD protocol massages, realizes the IPV6 multicast filtering.
Wherein, in the described step 1), described exchange chip is issued the mac controller chip by cpu port with this message;
Wherein, described step 2) in, the mac controller chip sends to this message by internal bus the built-in with CPU of ONU chip.
Wherein, IPv6 multicast filtering table is two, and wherein a multicast filtering of showing on the corresponding switching chip port is used to indicate the terminal use under which port to apply for which IPv6 multicast traffic stream; The multicast filtering of the corresponding ONU chip UNI mouth of another table is used to indicate which IPv6 multicast packet of downlink data direction to pass through from the UNI mouth.Built-in with CPU by calling ONU chip itself control interface API and the control interface API of exchange chip, each self-corresponding multicast filtering table information is write the relevant hardware register, reach filtering function to IPv6 multicast data flow on the data passage.
The present invention need not to increase a CPU separately, by the extended MAC controller chip, is implemented in the MLDSnooping function on the ONU chip, greatly reduces cost.In addition, prior art generally can only realize the IPv6 multicast filtering on exchange chip, and the present invention both can realize the IPv6 multicast filtering on exchange chip, can realize the IPv6 multicast filtering again on the ONU chip, thereby saved the UNI mouth downlink data bandwidth from the ONU chip.
Further specify the present invention below in conjunction with the drawings and the specific embodiments.
Description of drawings
Fig. 1 is that MLD and IGMP snooping realize schematic diagram;
Fig. 2 is the structure chart of existing passive optical-fiber network (PON);
Fig. 3 increase has the cpu chip of MAC network interface and realizes MLD snooping;
Fig. 4 the present invention adopts the hardware expanding mode to realize the device embodiment schematic diagram of IPV6 multicast filtering on EPON.
Embodiment
As shown in Figure 4, a kind of device that adopts the hardware expanding mode on EPON, to realize the IPV6 multicast filtering, comprise ONU chip (as PAS6201), support the exchange chip (as Marvell6061) of MLD snooping function and functionality of vlan, the mac controller chip (can be selected the mac controller chip of supporting memory bus (Memory Bus) access mode for use, LAN9115 as SMSC), described ONU chip comprises a built-in with CPU and control interface (management data input/output interface (MDIO)), described exchange chip comprises cpu port and control interface, the cpu port of described exchange chip links to each other with the mac controller chip
Described exchange chip is used for all up MLD protocol massages are carried out packet capturing, and this message data is sent to described mac controller chip by its cpu port (CPU port);
This message that described mac controller chip is used for receiving is sent to the built-in with CPU of ONU chip;
Described built-in with CPU is used to analyze this MLD protocol massages, and sets up the multicast filtering table, realizes the IPV6 multicast filtering.
Wherein, described multicast filtering table is two, correspond respectively to the multicast filtering of switching chip port and the multicast filtering of ONU chip UNI mouth, described built-in with CPU by calling the ONU chip control interface and the control interface of exchange chip, each self-corresponding multicast filtering table information is write respectively in exchange chip and the ONU chip hardware register.
Wherein, described ONU chip links to each other with the mac controller chip by internal bus (Local Bus), and described mac controller chip is delivered to built-in with CPU by internal bus with the MLD protocol massages.
In the said apparatus, the ONU chip can adopt the PAS6201 of Passav é company; Exchange chip can adopt the Marvell6061 of the Marvell company that supports MLD snooping function and functionality of vlan; The mac controller chip can be selected the mac controller chip of supporting memory bus (MemoryBus) access mode for use, as the LAN9115 of SMSC company.The embedded CPU of ONU chip then adopts the mode of visit SRAM to visit the mac controller chip.
A kind of method that adopts the hardware expanding mode to realize the IPV6 multicast filtering on EPON adopts said apparatus, may further comprise the steps:
1) after exchange chip is caught MLD protocol massages in the data channel, this message is issued the mac controller chip;
2) the mac controller chip with this message by sending to the built-in with CPU of ONU chip;
3) software on the built-in with CPU is set up IPv6 multicast filtering table by analyzing the MLD protocol massages, realizes the IPV6 multicast filtering.Built-in with CPU is sent back to the MLD protocol massages of catching in the data channel according to its original data flow.Thereby do not influence in the network original MLD protocol communication between the multicast router and main frame.
Wherein, in the described step 1), described exchange chip is issued the mac controller chip by cpu port with this message;
Wherein, described step 2) in, the mac controller chip sends to this message by internal bus the built-in with CPU of ONU chip.
Wherein, IPv6 multicast filtering table is two, and wherein a multicast filtering of showing on the corresponding switching chip port is used to indicate the terminal use under which port to apply for which IPv6 multicast traffic stream; The multicast filtering of the corresponding ONU chip UNI mouth of another table, be used to indicate which IPv6 multicast packet of downlink data direction to pass through from the UNI mouth. built-in with CPU by calling ONU chip itself control interface API and the control interface API of exchange chip, each self-corresponding multicast filtering table information is write the relevant hardware register, reaches filtering function IPv6 multicast data flow on the data passage.

Claims (1)

1. method that adopts the hardware expanding mode to realize the IPV6 multicast filtering on EPON is characterized in that may further comprise the steps:
1) after exchange chip is caught MLD protocol massages in the data channel, this message is issued the mac controller chip;
2) the mac controller chip with this message by sending to the built-in with CPU of ONU chip;
3) software on the built-in with CPU is set up IPv6 multicast filtering table by analyzing the MLD protocol massages, realizes the IPV6 multicast filtering;
In the described step 1), described exchange chip is issued the mac controller chip by cpu port with this message;
Described step 2) in, the mac controller chip sends to this message by internal bus the built-in with CPU of ONU chip;
Described step 2) the IPv6 multicast filtering table in is two, wherein a multicast filtering of showing on the corresponding switching chip port;
The multicast filtering of the corresponding ONU chip UNI mouth of another table, built-in with CPU by calling ONU chip itself control interface API and the control interface API of exchange chip, each self-corresponding multicast filtering table information is write the relevant hardware register, realize filtration IPv6 multicast data flow on the data passage.
CN200610028200A 2006-06-27 2006-06-27 Apparatus and method for implementing IPV6 multicast filtering on EPON using hardware extended mode Expired - Fee Related CN101098287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610028200A CN101098287B (en) 2006-06-27 2006-06-27 Apparatus and method for implementing IPV6 multicast filtering on EPON using hardware extended mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610028200A CN101098287B (en) 2006-06-27 2006-06-27 Apparatus and method for implementing IPV6 multicast filtering on EPON using hardware extended mode

Publications (2)

Publication Number Publication Date
CN101098287A CN101098287A (en) 2008-01-02
CN101098287B true CN101098287B (en) 2010-05-12

Family

ID=39011815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610028200A Expired - Fee Related CN101098287B (en) 2006-06-27 2006-06-27 Apparatus and method for implementing IPV6 multicast filtering on EPON using hardware extended mode

Country Status (1)

Country Link
CN (1) CN101098287B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312830A (en) * 2012-03-15 2013-09-18 辽宁省电力有限公司大连供电公司 Device capable of realizing automatic filtering of frame categories and MAC (media access control) addresses
CN102868540B (en) * 2012-09-17 2015-11-25 华为技术有限公司 The method of generating table entry, printed circuit board (PCB) and the network equipment
CN108737217B (en) * 2018-06-01 2020-06-09 杭州迪普科技股份有限公司 Packet capturing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518289A (en) * 2003-01-17 2004-08-04 华为技术有限公司 Safety filtering method based on Ethernet exchanger
CN1578200A (en) * 2003-07-14 2005-02-09 三星电子株式会社 Multicast transmission method in gem mode in gigabit-capable passive optical network and method of processing frame
US7050430B2 (en) * 2000-06-09 2006-05-23 Broadcom Corporation Gigabit switch with fast filtering processor
CN2922305Y (en) * 2006-06-27 2007-07-11 上海未来宽带技术及应用工程研究中心有限公司 Apparatus for realizing IPV6 group broadcasting filtering on EPON utilizing hardware extending mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7050430B2 (en) * 2000-06-09 2006-05-23 Broadcom Corporation Gigabit switch with fast filtering processor
CN1518289A (en) * 2003-01-17 2004-08-04 华为技术有限公司 Safety filtering method based on Ethernet exchanger
CN1578200A (en) * 2003-07-14 2005-02-09 三星电子株式会社 Multicast transmission method in gem mode in gigabit-capable passive optical network and method of processing frame
CN2922305Y (en) * 2006-06-27 2007-07-11 上海未来宽带技术及应用工程研究中心有限公司 Apparatus for realizing IPV6 group broadcasting filtering on EPON utilizing hardware extending mode

Also Published As

Publication number Publication date
CN101098287A (en) 2008-01-02

Similar Documents

Publication Publication Date Title
CN101119290B (en) Ethernet supporting source specific multicast forwarding method and system
CN100435527C (en) Method for realizing efficient video multicasting in ethernet passive optical entwork system
CN100361470C (en) Method for realizing multicast by using secondary frame in access for digital subscriber line
CN100407704C (en) Method of dynamically learning address on MAC layer
WO2010072611A1 (en) Methods for managing multicast traffic between sources sending data and hosts requesting data and network equipment used to implement the methods
JP2004343243A (en) Multicast communication system and station side device in pon system
CN101094087A (en) Controllable multicast system under environment of passive optical network, and implementing method
CN100466606C (en) Unknown multicasting message processing method
JP2013503580A (en) Broadcast packet / multicast control message processing method and apparatus
WO2007059679A1 (en) A method for processing the abnormal multicast service and a network equipment thereof
JP4416170B2 (en) Multicast transfer method and multicast transfer apparatus in EPON
CN101262412B (en) A method and its access device for multicast recovery with minimal delay
CN103023769A (en) Method for forwarding two-layer broadcasting packets and untagged packets of ONU (optical network unit)
CN102055653A (en) Packet sniffing method and device in high-speed interconnection system
CN101098287B (en) Apparatus and method for implementing IPV6 multicast filtering on EPON using hardware extended mode
CN101184023A (en) Method of implementing multicast VLAN merger in GEPON, device and optical network unit
WO2007054006A1 (en) A base station of wideband wireless access system and a method for realizing group-broadcast service
CN102082720B (en) Method and device for forwarding multicast flow
CN2912126Y (en) Device for realizing IPV6 cluster broadcast filtration in EPON network by means of hardware loop
WO2015074423A1 (en) Data packet forwarding processing method in access gateway
WO2011006339A1 (en) Multicast processing method and apparatus
CN100512186C (en) Device and method for realizing IPV6 multicast filtering in EPON network via hardware loop mode
CN102694734B (en) Two-layer switching equipment realizes the method for multicast based on linux kernel bridge
CN2938596Y (en) Device for realizing IPV6 group broadcast filter in EPON network
CN101166084B (en) Secure method for preventing multicast user from attacking

Legal Events

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

Owner name: SHANGHAI FUTURE BROADBAND TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: SHANGHAI FUTURE BROADBAND TECHNOLOGY AND APPLICATION ENGINEERING RESEARCH CENTER CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 200336 Shanghai city Changning District Honggu Road No. 150

Patentee after: Shanghai B-Star Broadband Technology Co., Ltd.

Address before: 200336 Shanghai city Changning District Honggu Road No. 150

Patentee before: Shanghai B-STAR Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100512

Termination date: 20180627